308 Commits
Author SHA1 Message Date
James Smith 5fe347a255 enforce creator/collection permissions in model bulk update 2026-09-21 17:51:27 +01:00
James Smith 718e912224 remove empty attributes in model creation 2026-09-21 17:25:43 +01:00
James Smith 91c81a9abe update model tests for creator scope resolution 2026-09-21 17:02:36 +01:00
James Smith 66357304c3 Update API responses to use pagy 2026-09-03 14:53:03 +01:00
James Smith 2510eb2e97 update page checks for unassigned creator/collection card 2026-09-03 13:28:50 +01:00
James Smith 86acddb0a3 Change pagination code to pagy 2026-09-03 13:28:49 +01:00
James Smith 8439149d9b fix file name fetch 2026-07-09 17:33:58 +01:00
James Smith bacc994589 redirect to model if only a single zip is uploaded 2026-07-09 17:04:23 +01:00
James Smith 6fb69f404d update model creation API call to get model location for single-model creations 2026-07-09 16:23:34 +01:00
James Smith 4543043341 Send unmodified tus upload params into AddUploadedFileToModelJob 2026-07-09 15:37:12 +01:00
James Smith e5edd553a3 Only autoextract zips if doing multi-zip upload as before
Control passes all the way out now though, so we could have an option for it on other files.
2026-07-09 13:38:29 +01:00
James Smith 6d95625426 rename ProcessUploadedFileJob to AddUploadedFileToModelJob 2026-07-09 12:06:10 +01:00
James Smith 2e8c17de7d Move model creation out of background job into controller 2026-07-09 12:03:57 +01:00
James Smith 37eae6d745 combine SupportedMimeTypes and MediaType into one 2026-06-25 15:36:54 +01:00
James Smith 7134e611bc remove explicit "it" block parameters 2026-06-15 09:02:24 +01:00
James Smith ace718f423 hide alternative format related files 2026-06-01 13:18:53 +01:00
James Smith 856bc2d506 update code to hide presupported versions 2026-05-22 17:18:15 +01:00
James Smith fd07330ba3 remove preload of presupported relation 2026-05-22 14:53:36 +01:00
James Smith aab624b22a use landing_page_path instead of root_path in redirects and after login 2026-05-13 17:48:25 +01:00
James Smith 4aed088cd8 Fix page error when "uploading" with no actual files
Resolves #6094
2026-05-11 16:05:48 +01:00
James Smith 56e6cce5ff Only sdd collection if not already related 2026-05-10 15:32:58 +01:00
James Smith 46a1bd408a Fix extraneous redirection to model edit form after creating creator or collection
resolves #6045
2026-05-05 22:38:54 +01:00
James Smith bd5efc5263 fix upload test 2026-04-25 00:41:53 +01:00
James Smith 380325cecc habtm collections working in bulk editor 2026-04-25 00:27:46 +01:00
James Smith 0b12c570cf set multiple collections on upload 2026-04-25 00:00:45 +01:00
James Smith 34a76950cd add collection when returning from new collection form to model edit form 2026-04-25 00:00:45 +01:00
James Smith 2203a20284 update model bulk editor to show multiple collections 2026-04-25 00:00:44 +01:00
James Smith 9395f4d32f Rename Model#collection to #deprecated_collection 2026-04-24 17:04:48 +01:00
James Smith bb226efbea nope, move i18n-tasks-use OUT of erb files 2026-04-13 23:11:52 +01:00
James Smith 4d50b04334 Improve count efficiency with one? 2026-02-06 10:02:35 +00:00
James Smith 04b42c0b1e pass record to deserializers to check permissions 2025-11-25 15:54:09 +00:00
James Smith 8318030266 pass current user to form and API deserializers 2025-11-25 13:45:14 +00:00
James Smith 1e6e5c4534 Add another layer of path sanitization with zaru 2025-11-25 12:12:21 +00:00
James Smith fabb5d0dc6 Sanitize upload filenames to prevent path traversal 2025-11-25 12:09:12 +00:00
James Smith 65a5ef0bd7 prevent downloading files with only preview access 2025-11-18 11:15:03 +00:00
James Smith 315728ef08 Always paginate list pages 2025-11-05 14:26:18 +00:00
James Smith eca2bdd137 remove compact 2025-11-04 00:49:16 +00:00
James Smith a80c58d9b1 standardise on tag_list 2025-11-04 00:48:49 +00:00
James Smith 01c462a0f0 fix tags in upload 2025-11-04 00:04:10 +00:00
James Smith e010f5870d run model validations on upload 2025-11-03 23:34:34 +00:00
James Smith 40820e215c If not all files are archives, enqueue only a single processing job to create a single model with all files. 2025-10-22 15:10:18 +01:00
James Smith 9772bf15dd DRY up file data creation 2025-10-22 13:08:21 +01:00
James Smith 24aa2b7028 refactor common file creaion params into separate var 2025-10-22 12:43:24 +01:00
James Smith ef0f68b77f Allow name to be specified during model upload 2025-10-22 12:19:07 +01:00
James Smith c713e1b4bd Select and apply permission preset during upload 2025-10-10 12:04:03 +01:00
James Smith df45386dd6 Add links to other search methods in search help
resolves #4717
2025-09-17 14:09:43 +01:00
James Smith a2c39ac5bf replace deprecated unprocessable_entity 2025-08-21 20:05:17 +01:00
James Smith fdd3805208 remove organize option from bulk editor 2025-08-15 17:37:01 +01:00
James Smith ad10c170bf use filter object directly instead of concern method 2025-07-29 14:37:52 +01:00
James Smith c7f1a69426 use filter service params in various view partials 2025-07-29 14:37:51 +01:00