Commit Graph
220 Commits
Author SHA1 Message Date
James Smith bd5daf35dd fix filter on missing action error 2025-04-22 17:40:56 +01:00
Matthew Badeau e16cc997d7 Fixes multiple successive downloads race condition 2025-04-18 21:20:18 +09:00
James Smith dcfc6819d3 refactor mtime and ctime into modelfile, to handle errors 2025-04-16 20:10:53 +01:00
James Smith 7b4d2544f8 use attachment mtime and ctime in zip if available 2025-04-16 18:41:58 +01:00
James Smith 77a318b569 set file modification and creation times in generated zipfiles 2025-04-16 17:25:42 +01:00
James Smith 056a6499cf add model and modelfile form deserializers 2025-04-12 17:04:46 +01:00
James Smith add82e5efb add model update endpoint 2025-04-11 23:52:11 +01:00
James Smith 40b89f5116 delete APIs for collections, files, and models 2025-04-11 13:12:09 +01:00
James Smith 71349674de Change API to use vendor-specific content type, including version 2025-04-11 12:14:28 +01:00
James Smith c07541ce4d Support public scope, where there is no authenticated resource owner 2025-04-10 13:48:21 +01:00
James Smith 9196e9aa18 refactor API auth to allow per-action setting of scope 2025-04-10 13:31:07 +01:00
James Smith f999507d85 refactor organize job into organize_later call 2025-04-02 14:30:24 +01:00
James Smith d032041a12 refactor model check job into _later method 2025-04-02 14:30:23 +01:00
James Smith f00d0f83c8 Don't include "JSON files only" as a download option 2025-03-30 23:11:15 +01:00
James Smith d6f40524fa only show library selection in upload form if show libraries is enabled
overrides library as well so that default is always used
2025-03-25 17:19:56 +00:00
James Smith 82bd4bf352 basic model API 2025-03-20 09:25:59 +00:00
James Smith b737c6a33e Add JSON-LD response for model list 2025-03-20 09:25:58 +00:00
James Smith e87251f754 filter special files out of UI but use them everywhere else 2025-03-18 12:49:14 +00:00
James Smith 06a0b0e1ab remove ModelFile including_special scope 2025-03-18 12:44:57 +00:00
James Smith d2754833ea handle maxwidth and maxheight params 2025-03-06 19:12:08 +00:00
James Smith 0ec1c89645 Add oembed serializer class 2025-03-06 16:00:28 +00:00
James Smith 9f06a0a310 Stub oembed response for models 2025-03-06 14:16:41 +00:00
James Smith 4e0d8e8861 remove redundant joins 2025-03-05 15:09:39 +00:00
James Smith d7d65ae62d optimise N+1 queries with bullet 2025-03-04 15:35:27 +00:00
James Smith d897db37b5 add missing policy_scope calls in controllers 2025-02-27 10:19:45 +00:00
James Smith 6aaf72af9b include datapackage in downloads 2025-02-26 15:12:03 +00:00
James Smith 9551558410 improve regex 2025-01-27 13:20:48 +00:00
James Smith 59dc930264 entering fediverse username in main search redirects to follow page 2025-01-27 12:56:22 +00:00
James Smith a86b5d263e name the "update all" submit button 2025-01-20 16:27:57 +00:00
Stef Louwers 73c206cfd3 Add "Update All Models" functionality to bulk edit feature 2025-01-18 11:59:49 +01:00
James Smith 6dd588a1a4 re-add block parameters for Ruby 3.3 compat
This was changed for the new `it` in Ruby 3.4, but linuxserver images
can't use 3.4 yet, so we re-add the parameter name (as it) for 3.3.
2025-01-15 11:48:42 +00:00
James Smith 8cce39f5fc change to tus uploader 2025-01-10 16:27:05 +00:00
James Smith 3f65dd8988 replace single-arg block parameters with it 2025-01-08 10:06:14 +00:00
James Smith 6cb0807c59 remove use of bare libraries path 2024-11-20 11:07:21 +00:00
James Smith ec92086dad restore tag sorting by name in dropdowns 2024-11-05 22:52:11 +00:00
James Smith 301cc943eb use same tag list for individual model editing 2024-11-05 16:06:25 +00:00
James Smith cf75b90481 generate available tag list for uploader 2024-11-05 16:02:45 +00:00
James Smith 25167a7b7f only show tags that are on models we're allowed to see 2024-11-05 16:02:30 +00:00
James Smith 319d50a88e don't need @remove_tags any more 2024-11-05 15:57:04 +00:00
James Smith 5e25dc41b7 add pagination for bulk model editing page 2024-11-05 15:15:21 +00:00
James Smith b6beba20e6 move merge_all_children into model 2024-11-04 14:58:22 +00:00
James Smith d8ed26158b improve temp filenames to avoid clashes 2024-10-23 15:59:26 +01:00
James Smith c8181e82e2 create and download ZIP file 2024-10-22 17:08:17 +01:00
James Smith 6edc9f24d0 add download button on model page, with file selection options 2024-10-22 14:38:16 +01:00
James Smith adf042b1ad move all model listing code into a concern 2024-10-21 09:14:13 +01:00
James Smith e5d8d23998 editing for sensitive content flag 2024-10-17 11:49:09 +01:00
James Smith 8b36ec7c4b show documents and videos in model file lists and views 2024-10-08 22:42:35 +01:00
James Smith 48be4c916d fix background organize jobs 2024-09-28 01:03:01 +01:00
James Smith 48e8a5ddd2 move synchronous organize! calls into background runner 2024-09-27 21:33:45 +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