Commit Graph
317 Commits
Author SHA1 Message Date
James Smith d98b213d37 update path builder to use library fields instead of site-wide 2026-03-10 15:55:15 +00:00
James Smith 76ec6db079 make permission check test more explicit, as everyone now has lists as well 2026-03-06 11:32:09 +00:00
James Smith af5bc05c63 Add special lists 2026-03-06 09:40:34 +00:00
James Smith 16f97d040b Test that removing a thing that is listed removes the ListItem 2026-03-03 13:02:25 +00:00
James Smith a06dcc4068 generate public IDs for lists 2026-03-02 16:08:00 +00:00
James Smith 4f5389d25a Add permissions to lists 2026-03-02 15:30:36 +00:00
James Smith 302915fa1b Add basic List model and operations 2026-03-02 12:44:02 +00:00
James Smith 0f7fabc2bd Limit names to a reasonable length
Also slugs and usernames
2026-02-25 15:05:13 +00:00
James Smith 10325265b5 check that followup jobs are sent correctly 2026-02-23 18:03:28 +00:00
James Smith b30c2d53b4 try to reduce race conditions in tests 2026-02-23 18:03:27 +00:00
James Smith 6658f28931 small test refactor 2026-02-23 18:03:27 +00:00
James Smith aea36b99fe fix derivative deletion in tests 2026-02-23 18:03:27 +00:00
James Smith ff7b8c672f update tests to check for auto and manual derivative generation 2026-02-23 18:03:27 +00:00
James Smith 343dca3cb1 Add test to make sure model is touched when files are updated 2026-02-23 18:03:27 +00:00
James Smith ff7d3f9d70 Don't touch updated_at when saving derivatives 2026-02-23 18:03:27 +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 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 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 8acd5cab84 Add group description field 2025-12-11 16:45:48 +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 ddb2378b56 let groups have permissions on things 2025-12-10 23:05:39 +00:00
James Smith fe589480f0 Add group memberships 2025-12-10 23:05:38 +00:00
James Smith 025a5fe8b2 add user -> group association 2025-12-10 23:05:38 +00:00
James Smith 9cb9e28b45 add group model that belongs to user 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 7433a58f3b add method to match permissions back to presets 2025-10-23 23:46:10 +01:00
James Smith 0e9a2d7144 check that owner relation isn't overwritten by presets 2025-10-23 17:24:53 +01:00
James Smith 0335087af4 make sure public validations are applied when using presets 2025-10-23 17:21:13 +01:00
James Smith 6bafa9ef4f Allow permission presets to be used during normal updates 2025-10-23 17:00:18 +01:00
James Smith 6f55216dd3 Ignore all links to the local hostname
If we do need to link between models, we will do it with proper relationships.
2025-10-15 15:49:24 +01:00
James Smith 0a9112469c simplify path in test for readability 2025-10-14 22:02:33 +01:00
James Smith b561219a2a add tests for permission_preset 2025-10-10 10:24:45 +01:00
James Smith 53d5074f58 set owner using new attribute 2025-10-10 10:24:45 +01:00
James Smith e93ff33708 update tests to specify private default role explicitly 2025-10-10 09:53:20 +01:00
James Smith 8cdf4919d6 Add option to make models public by default 2025-10-08 15:53:21 +01:00
James Smith bb9d142b5e Rename LibraryUploader to ModelFileUploader 2025-09-22 14:19:23 +01:00
James Smith 18fee5753b use contain_exactly for array comparison to avoid ordering problems 2025-09-19 16:11:53 +01:00
James Smith 67e51b2c46 fix more database-dependent tests 2025-09-19 15:22:29 +01:00
James Smith 452c12a129 fix some db-dependent autonumbering expectations in tests 2025-09-19 13:15:52 +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 2f22d26d01 use assimp to find object bounding box 2025-07-31 00:24:30 +01:00
James Smith bad08bc041 refactor tests for file analysis 2025-07-31 00:17:46 +01:00
James Smith 22429455ff Further fix to mtime/ctime for filles 2025-07-25 08:32:11 +01:00