aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More passing tests - some for pdfresources.HEADmasterMatthew Lemon2024-12-152-16/+35
|
* Improve category tests with authentication and unique dataMatthew Lemon2024-12-152-4/+8
| | | | Added user login in setup to simulate admin access for tests. Ensured unique category names in creation tests to prevent conflicts. Updated category fixture data to reflect more distinct values.
* ResourceType tests now passMatthew Lemon2024-12-151-3/+8
|
* Add `is_admin` attribute to user fixturesMatthew Lemon2024-12-151-0/+2
| | | | This update includes an `is_admin` attribute for the `one` and `two` user fixtures in the test data. It ensures tests can account for admin-specific functionality.
* Simplify session param structure in tests and controller.Matthew Lemon2024-12-152-2/+2
| | | | | | Fixes bug with passing the password Replaced nested session hash with direct email and password params in test setup, aligning with the updated `SessionsController`. This ensures consistency between test code and actual implementation.
* Refactor user session handling and UI enhancements.Matthew Lemon2024-12-156-8/+16
| | | | Updated logout redirection with a success notice and improved UI feedback on the home page. Enhanced navbar logic to reflect user authentication state, modified page titles, and adjusted access permissions for various controllers. Fixed admin access control for PDF resources index action.
* wip: fixing testsMatthew Lemon2024-12-133-2/+9
|
* Adds guard before deleting temp filesMatthew Lemon2024-12-131-5/+7
|
* Adds a new home page and more_info pageMatthew Lemon2024-11-236-5/+124
|
* Adds nicer title to list pageMatthew Lemon2024-11-211-4/+10
|
* Tweak to kamal file againMatthew Lemon2024-11-211-3/+3
|
* Adds a users controller to fix sign-up bugMatthew Lemon2024-11-202-1/+23
|
* Renew the READMEMatthew Lemon2024-11-191-21/+2
|
* tweak the kamal proxyMatthew Lemon2024-11-151-3/+3
|
* Updates kamal bitsMatthew Lemon2024-11-152-9/+6
|
* Adds category model but not wired up to resource yetMatthew Lemon2024-11-1420-1/+319
|
* Tidied up the cards on the index pageMatthew Lemon2024-11-142-83/+33
|
* Fixed the positioning of the three featured cards on index pageMatthew Lemon2024-11-142-7/+13
|
* Improved the feature slot handling - can now remove feature_slot valueMatthew Lemon2024-11-142-4/+14
|
* Adds ResourceType modelMatthew Lemon2024-11-1424-10/+314
|
* Adds credits and cleaner handling of page count using rubyMatthew Lemon2024-11-146-17/+43
|
* Adds nice reminders on the edit page re pdfs and thumbnailsMatthew Lemon2024-11-142-16/+51
|
* Adds Edit and Delete buttons to the show page for adminMatthew Lemon2024-11-142-3/+15
|
* First attempt at properly formatting the resource show pageMatthew Lemon2024-11-141-12/+44
|
* Adds credits to resource and required asterisks on formMatthew Lemon2024-11-146-9/+29
|
* Ensuring the image processing cli tools are in the DockerfileMatthew Lemon2024-11-141-1/+11
|
* Refactored validation lines in modelMatthew Lemon2024-11-141-1/+1
|
* Big refactoring of the PDF snapshotting - into service fileMatthew Lemon2024-11-142-51/+133
|
* Adds Resources link to navbarMatthew Lemon2024-11-141-2/+5
|
* snapshot jpg filename is now includes resource nameMatthew Lemon2024-11-141-1/+2
|
* pdf snapshotting now reduces size of imageMatthew Lemon2024-11-142-2/+8
|
* wip: reducing quality of snapshotsMatthew Lemon2024-11-131-21/+35
|
* Rough rendition of pdf snapshotter worksMatthew Lemon2024-11-136-47/+98
|
* Listing files missing on edit formMatthew Lemon2024-11-131-35/+33
|
* Adds some validation and further work on the formMatthew Lemon2024-11-137-82/+108
|
* Very ghetto resource featured card layoutMatthew Lemon2024-11-133-26/+29
|
* Adds basic navbarMatthew Lemon2024-11-123-2/+30
|
* Tidying up the resource formMatthew Lemon2024-11-124-23/+46
|
* Adds is_admin to the User model and ensures only admin users can add new ↵Matthew Lemon2024-11-115-2/+17
| | | | resource
* Cosmetic tweaks to resource list pageMatthew Lemon2024-11-111-3/+3
|
* Adds ghetto log out buttonMatthew Lemon2024-11-112-1/+3
|
* Can now sign upMatthew Lemon2024-11-112-1/+15
|
* More tweaking of sign-up formMatthew Lemon2024-11-112-8/+11
|
* wip: sign in formMatthew Lemon2024-11-112-4/+13
|
* Adds a Create new account page and part way through configging the formMatthew Lemon2024-11-114-0/+55
|
* Adds first pdfresource modelMatthew Lemon2024-11-1120-2/+516
|
* initial after migrationMatthew Lemon2024-11-11126-0/+3156