Commit Graph
24 Commits
Author SHA1 Message Date
James Smith da11ee233e skip deeper user validation if only saving simple user preferences 2026-01-08 17:33:08 +00:00
James Smith 470f9a61dd Move JSON defaults out of migrations into user model
For MySQL compatibility
2025-12-19 10:20:27 +00:00
James Smith ec4c23884a test oidc sanitization of @ symbols
not actually the problem here, but more tests are always nice.
2025-12-18 15:36:52 +00:00
James Smith 519e59f51a test back-and-forth serialization for user JSON fields 2025-12-15 11:21:26 +00:00
James Smith 6795f1efbf Test correct serialization of JSON fields 2025-12-12 17:23:32 +00:00
James Smith 9378c93078 OIDC: Don't match accounts by unverified emails 2025-11-26 15:40:18 +00:00
James Smith 9d3879cb14 allow some punctuation in usernames, and filter OIDC usernames to match 2025-08-14 17:02:25 +01:00
James Smith 4adf4da256 add nested creator attributes for user 2025-06-13 15:15:00 +01:00
James Smith 9ce276f107 add creators relation to users
owned creators only
2025-06-13 15:14:59 +01:00
James Smith 1361e53f69 assign default signup role on user creation 2025-06-10 15:10:25 +01:00
Matthew Badeau 13c6eeed13 Fix tests, fix linting errors, and update migration 2025-04-16 20:03:53 +09:00
Matthew Badeau ac8628936c More additions to quotas feature
- Adds fields for user settings view
- Allows user settings to be on per-user basis
- Users can have exceptions to server wide setting
- Adds tests
- Tweaks logic behing quotas on user
2025-04-16 19:25:21 +09:00
Matthew Badeau 3cbe2f2363 WIP on quotas
Adds forms to site settings
Reverts db/data_schema.rb change
Fixes migration to allow field to be null
Changes user model to account for nil quota field
2025-04-15 18:15:35 +09:00
Matthew Badeau 42e82711cd Refactor quota related settings and add tests 2025-04-09 22:15:42 +09:00
James Smith 64f26c2955 allow one and two character usernames 2025-03-05 17:02:27 +00:00
James Smith 60a6e5b98c merge existing accounts with OIDC logins 2024-10-19 21:37:53 +01:00
James Smith c4eae3c070 rename viewer role to member 2024-08-30 17:13:53 +01:00
James Smith 4000da163d Add test to make sure models and users have caber permissions 2024-08-30 14:45:19 +01:00
James Smith 1e8b5e8c45 make creator, collection and model followable (and remove from user) 2024-07-31 14:09:33 +01:00
James Smith 6cd4b5e73c Add followable/follower concern and tests
just user->user for now, that will change when federails gets a polymorphic relationship there
2024-07-31 10:45:36 +01:00
James Smith c520031a74 give users the viewer role by default 2024-03-21 14:38:18 +00:00
James Smith 239ba27373 make sure usenames are alphanumeric only 2024-03-05 23:29:46 +00:00
James Smith c308a45d7b lint: remove redundant test types 2022-12-12 17:44:21 +00:00
James Smith 9bbaecbae4 create basic User model, just with authentication capability, nothing else 2022-06-14 22:03:24 +01:00