Commit Graph
29 Commits
Author SHA1 Message Date
James Smith 8c9d387851 Allow customisation of site name, tagline and logo 2024-10-16 10:44:59 +01:00
James Smith 8b36ec7c4b show documents and videos in model file lists and views 2024-10-08 22:42:35 +01:00
James Smith bab0d6111f don't handle pundit errors in test, so we can check them 2024-09-17 17:18:28 +01:00
James Smith f3add57813 redirect to login if authorisation fails
resolves #2695
2024-09-17 16:58:08 +01:00
James Smith 60d3f1b69e restore autologin in single user mode 2024-09-05 15:31:47 +01:00
James Smith a9c6140a60 fix first use authentication 2024-09-04 23:38:34 +01:00
James Smith af5716696e remove requirement for authenticated access on every action 2024-09-03 23:10:09 +01:00
James Smith 26fd6bb710 fix scout CSP 2024-07-24 09:30:09 +01:00
James Smith 1d2f08378f Use fonts from CDN instead of local to avoid asset path problems at non-root URLs 2024-07-19 09:30:52 +01:00
James Smith 9d73e5363d lazily set content security policy so we can include the library domains 2024-07-05 16:03:23 +01:00
James Smith cedff3719f mitigate timing attacks on session/registration/password creation methods
so that attackers can't enumerate accounts that exist as easily.
2024-06-18 16:06:13 +01:00
James Smith 17ad8707bf show an alert if running as root 2024-06-12 11:59:10 +01:00
James Smith 85f8ad1f10 lint and normalize 2024-04-23 12:19:59 +01:00
James Smith 8a2e14ca59 switch locale by user preference if set 2024-04-23 12:15:37 +01:00
James Smith 9ff7be621c check scan queue size using sidekiq instead of delayed job 2024-04-18 11:58:22 +01:00
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