Commit Graph
1143 Commits
Author SHA1 Message Date
James Smith 8dd5bd1a4e update test to make sure data is invalid 2026-01-22 22:57:29 +00:00
James Smith f63723f69a add tests for user invitation on group add 2026-01-22 16:11:52 +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 f199f8d16d Support email and fedi address in group API 2026-01-16 17:04:59 +00:00
James Smith 7736229a61 Add users to permission lists and groups by fediverse address 2026-01-16 13:27:50 +00:00
James Smith 0aba2f2957 Remove adding users to groups by ID, to avoid enumeration
This was only ever a temporary capability until we had email.
2026-01-16 11:25:36 +00:00
James Smith 5fff99c7bd Ignore hidden subdirectories when doing library permission check
Resolves #5321
2026-01-15 16:47:15 +00:00
James Smith 3d42a695c8 Automatically strip whitespace from library paths
Resolves #5326
2026-01-15 16:04:28 +00:00
James Smith f870c34247 improve permittable tests for role granting 2026-01-15 15:03:12 +00:00
James Smith 4a5d49c141 Allow matching users by email when adding to group 2026-01-15 15:02:22 +00:00
James Smith e8698508f0 Randomise username lengths in tests
should avoid conflicts and random test failures
2026-01-14 11:36:18 +00:00
James Smith 742a94c839 Merge pull request #5272 from manyfold3d/dependabot/bundler/rubocop-rspec-3.9.0
Bump rubocop-rspec from 3.8.0 to 3.9.0
2026-01-13 12:44:10 +00:00
James Smith 8433f31bc5 disable lint line 2026-01-13 12:31:42 +00:00
James Smith 9d75a26fc6 update tests to use a real storage location 2026-01-13 12:27:27 +00:00
James Smith 331e0698f0 Add more permission checks during library setup 2026-01-13 11:27:22 +00:00
James Smith 8642a6f1c1 Merge pull request #5276 from manyfold3d/groups-api
API endpoints for user group management
2026-01-09 14:26:07 +00:00
James Smith c84431f7c7 test user addition/removal 2026-01-09 12:38:32 +00:00
James Smith 5c4244bc1b add tests for member addition and removal 2026-01-09 11:59:27 +00:00
James Smith 65f00c8bc2 Add member list to group GET 2026-01-09 11:56:20 +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 d3e82bb50d improve wording in API spec for groups 2026-01-08 08:21:55 +00:00
James Smith 02f23c3f23 POST groups shouldn't have a page parameter! 2026-01-08 08:17:46 +00:00
James Smith 4983439b3e add group update API 2026-01-07 23:35:58 +00:00
James Smith 20cde50c22 Add API for creating groups 2026-01-07 23:32:32 +00:00
James Smith a40270ac94 Add group deletion API 2026-01-07 23:24:45 +00:00
James Smith b725abe7a7 add API for getting group details 2026-01-07 23:22:40 +00:00
James Smith a031a2a334 add group in/out schema defs 2026-01-07 23:21:19 +00:00
James Smith 83d28330ce Add API for listing a creator's groups 2026-01-07 22:59:23 +00:00
James Smith 06905a1980 Allow saving tour state without validations 2026-01-07 13:17:01 +00:00
James Smith 5c2752277f remove show tests 2026-01-06 12:16:43 +00:00
James Smith 9561732dfa refactor typed id generation and matching for groups 2026-01-06 12:16:42 +00:00
James Smith 74736832b1 add tests for tour attribute state 2026-01-06 10:22:09 +00:00
James Smith f3620af81b add tests for database detector, including connection leakage 2025-12-22 14:47:47 +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 a379a21d89 Add a startup job to fix stale attachment data
Part of #4951
2025-12-17 11:36:22 +00:00
James Smith 884611862b make preview test data more realistic 2025-12-17 11:08:59 +00:00
James Smith 3ef012d811 refactor backfill image job and add tests 2025-12-17 11:08:58 +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 12422d8e04 (Hopefully) Fix Load Errors on uploaded files 2025-12-12 12:38:36 +00:00
James Smith 67391fce58 Fix test artefact tidying up 2025-12-12 08:39:05 +00:00
James Smith 8acd5cab84 Add group description field 2025-12-11 16:45:48 +00:00
James Smith 4965a546a1 add test for sharing by email address 2025-12-10 23:05:40 +00:00
James Smith 63f1399176 add support for granting group permissions from forms 2025-12-10 23:05:40 +00:00
James Smith c82582d623 add check for permission username granting 2025-12-10 23:05:39 +00:00
James Smith 73d65f788b delegate permissions to groups memberships in default policy 2025-12-10 23:05:39 +00:00
James Smith ca2e5cdea5 controller support for adding and removing group members 2025-12-10 23:05:39 +00:00
James Smith 1e3036f1ae groups have names! 2025-12-10 23:05:39 +00:00