Commit Graph
208 Commits
Author SHA1 Message Date
James Smith 16f97d040b Test that removing a thing that is listed removes the ListItem 2026-03-03 13:02:25 +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 f38859da76 Refresh derivatives when files are moved 2026-02-25 08:28:43 +00:00
James Smith db019e2a55 set sensible length for dedupe suffix 2026-02-23 12:39:49 +00:00
James Smith 4d50b04334 Improve count efficiency with one? 2026-02-06 10:02:35 +00:00
James Smith 7b7afd659c improve count efficiency using #exists? 2026-02-06 09:45:48 +00:00
James Smith d382d21bd0 add model validation contexts for multi and single upload 2025-11-03 23:33:22 +00:00
James Smith 9450428dee Only share content with FASPs if public and indexable 2025-09-15 22:19:27 +01:00
James Smith fe1ee08b6f configure FASP lifecycle sharing for model/creator/collection 2025-09-12 10:12:44 +01:00
James Smith 3fc44b0902 only validate license if field exists 2025-08-21 14:04:53 +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 9b1d3c3d82 add search by path 2025-07-28 11:31:46 +01:00
James Smith 714b9b8a28 add tests for adding new files from URL 2025-07-21 13:46:40 +01:00
James Smith 1183fbf634 unify creation and update of files from URL 2025-07-21 12:34:45 +01:00
James Smith 7b6f0e7875 in model, create OR update file from URL each time 2025-07-21 12:19:56 +01:00
James Smith a1da746ae1 Throw validation errors during file downloading 2025-07-16 12:54:19 +01:00
James Smith 7f10fcfbf5 accept creator attributes via models 2025-07-16 12:27:21 +01:00
James Smith 88e6a39d4c preserve thingiverse download folder structure 2025-07-09 14:37:27 +01:00
James Smith 61cd0f0366 import images from MyMiniFactory links 2025-07-09 14:07:26 +01:00
James Smith 794d7ab63c handle file conflicts during merge 2025-07-03 16:56:24 +01:00
James Smith 652f27b795 combine metadata when merging 2025-07-03 15:57:38 +01:00
James Smith 87209299f5 add choices for new model and model in common root 2025-07-03 15:10:32 +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 cc30a566fc support and test merging disjoint models 2025-07-03 12:33:28 +01:00
James Smith 139b40565f DRY up file adoption code from split and merge methods 2025-07-03 12:33:27 +01:00
James Smith 20b41e2c1f add methods for finding common paths in models 2025-07-03 12:33:27 +01:00
James Smith 9e2937f2bb Make split permission copying compatible with change to auto-assign 2025-06-27 13:40:25 +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 ce7320e75d autopublish model creator if being made public 2025-06-17 16:21:59 +01:00
James Smith 5a23aff002 Refactor split! to do fewer writes, and thus work better with permission validation 2025-06-16 22:58:13 +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 52243e0de7 post appropriate jobs on creator, collection changes, and other updates 2025-06-06 14:51:41 +01:00
James Smith 53563e3917 post model published comment if created publicly 2025-06-06 14:49:47 +01:00
James Smith 815b2f6cce use after_x_commit callbacks for activity posting 2025-06-06 14:49:17 +01:00
James Smith 44425d71ba rename CreatorAddedModelJob to ModelPublishedJob 2025-06-06 14:16:32 +01:00
James Smith fb29ee891a Enqueue prepare download jobs from CLI on low-priority queue 2025-05-20 11:43:21 +01:00
James Smith 4c41dc1e55 add ability to search on library name 2025-05-20 09:34:58 +01:00
James Smith 07fa8d813a only search notes and filenames if explicitly specified 2025-05-20 09:27:50 +01:00
James Smith 860f6e1717 change notes/description to an alias so both can be specified 2025-05-20 09:26:07 +01:00
James Smith ddb8626235 alias "notes" internal field to "description" in search 2025-05-18 17:49:33 +01:00
James Smith 088d3ca0ad Match model filenames for search 2025-05-17 23:41:52 +01:00
James Smith 27170e1989 Include model notes and caption in search 2025-05-17 18:06:33 +01:00
James Smith 66fe84f5a2 add specific search criteria for creator and collection names 2025-05-17 17:58:53 +01:00
James Smith 589d7583b7 use scoped_search syntax directly 2025-05-17 17:54:37 +01:00