Commit Graph
14 Commits
Author SHA1 Message Date
James Smith 7408de76b1 use path method instead of hardcoding 2024-03-23 16:12:34 +00:00
James Smith 6fc5465eea redirect to user edit page if this is the first use, to set up admin credentials 2024-03-22 23:49:59 +00:00
James Smith 575eb966ce change admin status and checks to use new rolify role instead of boolean flag 2024-03-21 14:53:58 +00:00
James Smith aa3e96c21f set up authorization for sessions controller and move autologin into there 2024-03-18 16:12:00 +00:00
James Smith b0b52ba783 add activeadmin authorization exemption
it handles it internally
2024-03-15 16:18:55 +00:00
James Smith 5cb642ae13 ensure that pundit policies are being used 2024-03-15 16:18:52 +00:00
James Smith 90c24b38d6 add feature flag for multiuser support 2024-03-06 12:16:37 +00:00
James Smith b5a76ae330 small refactor for single user mode check 2024-03-05 12:32:43 +00:00
James Smith 61f5cf6416 add default pundit policy 2024-01-26 10:59:14 +00:00
James Smith 0fa5357ded Add order parameter for library model lists 2022-09-30 23:24:47 +01:00
James Smith 5b380b7947 Move scan button into navigation bar 2022-08-01 13:04:29 +01:00
James Smith 76ba4381ac add and bootstrap activeadmin 2022-06-24 13:54:52 +01:00
James Smith 147b4122d6 require login, but automatically log in if there is a single user with no password
this is so that in the default single-user case, it all happens behind the scenes and the user doesn't need to know about passwords, etc.
2022-06-14 22:54:47 +01:00
James Smith 7bc89d0df7 new rails app woohoo
Generated with railsnew.io:
`rails new van_dam --skip-action-mailbox --skip-action-text --skip-system-test --skip-test --template https://www.railsbytes.com/script/zyvso6`
2021-01-30 18:23:33 +00:00