Commit Graph
302 Commits
Author SHA1 Message Date
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
James Smith 02d59dbf93 Fix behaviour of default library setting when libraries are destroyed
Resolves #4447
2025-07-23 10:51:08 +01:00
James Smith b3da1dc02c Make sure derivative files aren't included in scans 2025-07-22 13:08:07 +01:00
James Smith 9f418456ec fix missing save in update_from_url 2025-07-22 11:46:07 +01:00
James Smith 36a24f5161 add tests for existing files syncing to remote, both changed and unchanged 2025-07-21 13:46:40 +01:00
James Smith 714b9b8a28 add tests for adding new files from URL 2025-07-21 13:46:40 +01:00
James Smith 622c6ae0c9 add scope for finding objects by link 2025-07-16 11:34:03 +01:00
James Smith 794d7ab63c handle file conflicts during merge 2025-07-03 16:56:24 +01:00
James Smith 8009ff70e6 Add tests for merging duplicate files and filenames 2025-07-03 16:56:24 +01:00
James Smith 868bcbbca8 ignore long example 2025-07-03 16:00:17 +01:00
James Smith 652f27b795 combine metadata when merging 2025-07-03 15:57:38 +01:00
James Smith cb7dba8401 check that models in different libraries don't have a common root 2025-07-03 12:45:39 +01:00
James Smith b2b1659810 allow merging of enumerable lists 2025-07-03 12:33:28 +01:00
James Smith 27c3bdc988 refactor merge methods to be more flexible 2025-07-03 12:33:28 +01:00
James Smith 31ea0decbf test common-root model merging 2025-07-03 12:33:28 +01:00
James Smith cc30a566fc support and test merging disjoint models 2025-07-03 12:33:28 +01:00