Commit Graph
93 Commits
Author SHA1 Message Date
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 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
James Smith 20b41e2c1f add methods for finding common paths in models 2025-07-03 12:33:27 +01:00
James Smith 2d0043d852 make split relation count check more explicit in case of other problems 2025-06-27 13:01:36 +01:00
James Smith 398d95bada delegate indexer flags via creator (and parent collection for Collections) 2025-06-20 17:55:33 +01:00
James Smith 915115e100 add indexable and ai_indexable query methods for all actors and files 2025-06-20 12:38:10 +01:00
James Smith cec632b1f3 test that model makes creators public 2025-06-17 16:22:30 +01:00
James Smith 273f829586 make sure creator is public 2025-06-16 21:30:10 +01:00
James Smith 03b757555b check that license and creator are valid for models before publishing 2025-06-16 21:28:19 +01:00
James Smith 9ae14cf0ad copy permissions when splitting models
resolves #4343
2025-06-16 12:39:22 +01:00
James Smith bc5463f1e3 Check that only noteworthy changes are posted about 2025-06-06 16:14:59 +01:00
James Smith 240b1b2597 post publish activity when permissions change 2025-06-06 15:33:58 +01:00
James Smith cc4e133d29 fix creator change publish job 2025-06-06 14:51:00 +01:00
James Smith db923d4546 post normal updates if creator or collection are changed to a private one 2025-06-06 14:50:21 +01:00
James Smith 918e9035ad Add tests for model comment posting 2025-06-06 14:18:39 +01:00
James Smith 44425d71ba rename CreatorAddedModelJob to ModelPublishedJob 2025-06-06 14:16:32 +01:00
James Smith aca0695ea8 Don't write datapackages if model didn't change 2025-04-25 14:44:14 +01:00
James Smith bd93bc729c automatically reject duplicate links when assigning 2025-04-25 12:54:10 +01:00
James Smith 247ae43806 update tests for newer factory tag default 2025-04-15 17:50:08 +01:00
Matthew Badeau abca3ca3a7 Remove leading and trailing backslashes when saving tags 2025-04-05 11:43:40 +09:00
James Smith 06a0b0e1ab remove ModelFile including_special scope 2025-03-18 12:44:57 +00:00
James Smith caba69c6dd remove files when required 2025-03-17 17:22:17 +00:00
James Smith cc3ff5ce16 update test mock 2025-03-04 22:55:32 +00:00
James Smith de20ee3026 organiZe 2024-11-20 09:47:09 +00:00
James Smith b3aaba2543 Refactor and simplify old file removal code 2024-11-07 12:07:53 +00:00
James Smith 12d45d1171 Fix model supported/unsupported detection 2024-10-23 10:25:15 +01:00
James Smith d5855e8ca4 Stop files being accidentally deleted during merge
resolves #2496
2024-10-11 14:20:35 +01:00
James Smith 7a6810471a fix job queue expectations in model 2024-10-11 00:42:04 +01:00
James Smith f47542fc75 run creator-added-model job after update as well if creator was changed 2024-10-09 14:10:30 +01:00
James Smith ce1d119cd8 queue creator-added-model job after model creation 2024-10-09 14:10:30 +01:00
James Smith f7535113e3 models, creators, and collections can have comments 2024-10-08 10:43:23 +01:00
James Smith f7a2cdb2af Fix missing tags when splitting a model
resolves #2865
2024-10-05 12:11:59 +01:00
James Smith c114400518 update preview files for model splitting 2024-10-04 14:16:56 +01:00
James Smith 63996c92d5 add Model#split! 2024-10-03 23:20:41 +01:00
James Smith 6e7caa86c9 refactor organize! into its own method
not a transient attribute any more
2024-09-27 21:24:27 +01:00
James Smith 3418b908ce DRY up sluggable tests 2024-09-04 09:53:53 +01:00