Commit Graph
103 Commits
Author SHA1 Message Date
James Smith ba1849eacc fix finder scope for invited users 2026-01-22 17:44:52 +00:00
James Smith a644e7cf20 refactor user invitation into match method 2026-01-22 16:11:33 +00:00
James Smith 96afbf7217 auto-set random usernames when invites are sent 2026-01-22 12:29:04 +00:00
James Smith 61b0322158 Alter group notification to have specific content for invited users 2026-01-22 11:34:05 +00:00
James Smith 94481c2f1c add invitation fields to User 2026-01-20 14:53:05 +00:00
James Smith 8b64187de3 A user can have many notifications 2026-01-19 22:13:01 +00:00
James Smith 20f2bc3663 refactor user matching into user object itself 2026-01-16 16:54:39 +00:00
James Smith da11ee233e skip deeper user validation if only saving simple user preferences 2026-01-08 17:33:08 +00:00
James Smith 06905a1980 Allow saving tour state without validations 2026-01-07 13:17:01 +00:00
James Smith 3bf19602ba use string key in default tour state 2026-01-06 10:10:15 +00:00
James Smith de1cdf723b Extract tour state default into a constant 2026-01-05 15:03:13 +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 ecf4a155c0 Add a custom JSON serializer that will handle differences loading from MariaDB 2025-12-15 11:13:09 +00:00
James Smith 73d65f788b delegate permissions to groups memberships in default policy 2025-12-10 23:05:39 +00:00
James Smith 41b6ca646a groups are owned by creators, not users 2025-12-10 23:05:39 +00:00
James Smith 025a5fe8b2 add user -> group association 2025-12-10 23:05:38 +00:00
James Smith 9378c93078 OIDC: Don't match accounts by unverified emails 2025-11-26 15:40:18 +00:00
James Smith 3db029601a add User#owns? convenience method 2025-11-25 16:16:32 +00:00
James Smith a364053137 declare attribute explicitly so as not to break old migrations 2025-11-05 15:17:23 +00:00
James Smith 98cb887177 Add field to user table for sort order 2025-11-05 15:15:04 +00:00
James Smith 05a35ca2e6 DRY up first use check 2025-10-28 11:23:46 +00:00
James Smith a4ab0e6ed2 add tour state field for users 2025-10-27 17:11:39 +00:00
James Smith 9bc7dbaff3 lint: remove redundant escapes in regexes 2025-10-17 12:07:29 +01:00
James Smith 97fa102e6c fix migration errors caused by validating fields that don't exist yet 2025-08-21 12:25:36 +01: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 b3ee8b3e2a make uniqueness checks punctuation-insensitive 2025-08-14 15:38:18 +01:00
James Smith 3f7fbd971a Remove ransack model configuration 2025-08-01 15:11:42 +01:00
James Smith 95fbc6d69a check autocreate creator request, and autoset user username 2025-06-13 15:15:01 +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 2b16914528 Applying suggestions to remove unnecessary lines 2025-04-22 18:05:16 +09: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 c5f95f2a7d Small fixes 2025-04-15 20:02:44 +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
Matthew Badeau de1b818437 Merge branch 'main' into feature/user_quota_tracking 2025-04-09 20:05:23 +09:00
James Smith 14b60da89f remove unnecessary inverse_of 2025-04-08 16:49:46 +01:00
James Smith b941588f80 applications are owned by users 2025-04-08 16:27:29 +01:00
James Smith 7a2543cc37 link doorkeeper tables to user model 2025-04-08 16:27:28 +01:00
James Smith 3065efcaa2 add upgrade job for disambiguating usernames 2025-03-25 14:04:26 +00:00
James Smith ec66d72a71 switch fedi username for user to username
What a confusing sentence.
2025-03-24 21:11:48 +00:00
James Smith fef6ac50d6 add multimodel uniqueness constraint across all fediverse actor usernames 2025-03-24 16:54:03 +00:00
James Smith 64f26c2955 allow one and two character usernames 2025-03-05 17:02:27 +00:00
James Smith 536cd2f96c disable UsePolicyScope for first-use checks 2025-02-27 10:19:46 +00:00
James Smith 1f1146c769 don't use policy_scope for user count method 2025-02-27 10:19:45 +00:00
Matthew Badeau 15037cf657 First steps towards user quotas 2025-02-11 23:07:32 +09:00
James Smith aeb3fee545 add comments about actor type choice 2025-01-28 19:47:28 +00:00
James Smith 4e9620d905 give users a public? method 2025-01-28 15:03:25 +00:00