Commit Graph
95 Commits
Author SHA1 Message Date
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 315728ef08 Always paginate list pages 2025-11-05 14:26:18 +00:00
James Smith e65f2fb3a3 DRY up sorting into a concern 2025-11-05 09:33:41 +00:00
James Smith 53d5074f58 set owner using new attribute 2025-10-10 10:24:45 +01:00
James Smith a2c39ac5bf replace deprecated unprocessable_entity 2025-08-21 20:05:17 +01:00
James Smith 849dc49269 remove @filter_tags var 2025-07-29 14:37:52 +01:00
James Smith ad10c170bf use filter object directly instead of concern method 2025-07-29 14:37:52 +01:00
James Smith 2c68979c60 use FilterService#any? in logic checks 2025-07-29 14:37:51 +01:00
James Smith 23709481e1 add sync action to handle link sync clicks 2025-07-15 16:45:24 +01:00
James Smith c1291b68f1 don't include current collection in parent collection select box 2025-06-29 22:08:10 +01:00
James Smith 2b8497ff03 hide filtered tags on creator and collection lists when signed out 2025-06-23 16:46:04 +01:00
James Smith 8527183664 add indexable meta for creators and collections 2025-06-20 14:23:04 +01:00
James Smith e316e75d6f set default creator var if there's only one 2025-06-13 10:38:15 +01:00
James Smith 811aea57ba Only display local creators and collections in form selections 2025-06-13 10:26:42 +01:00
James Smith f27aaad54a add validate and failure state to collection edit/create 2025-06-12 12:00:55 +01:00
James Smith 3b2b266302 DRY up view prep for collections form 2025-06-12 12:00:55 +01:00
James Smith 15c085aeeb Only show editable creators and collections in edit forms 2025-06-02 16:54:19 +01:00
James Smith 885253cf3f Remove no longer needed allow_api_access method 2025-05-02 15:55:40 +01:00
James Smith 23d975edbc shortcut filtering if no filters are specified 2025-05-01 22:37:55 +01:00
James Smith d3cc0654f6 add collection form deserializer 2025-04-12 17:04:46 +01:00
James Smith 570e191caa get 422 responses working correctly 2025-04-11 23:28:05 +01:00
James Smith 03d52b3670 get params from API requests correctly 2025-04-11 23:22:34 +01:00
James Smith ca3ba3e33e added update method (patch) for collections 2025-04-11 17:48:35 +01:00
James Smith 68401dd67f include created collection in 201 response 2025-04-11 17:10:53 +01:00
James Smith 85925766cd fix incorrect serializer 2025-04-11 17:10:29 +01:00
James Smith 8522add2e3 add create action for collections 2025-04-11 16:35:56 +01:00
James Smith 2fde9c1615 Added simple collection deserializer 2025-04-11 16:18:23 +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 6f700558e4 Hide "unassigned" creator/collection if empty 2025-03-25 20:39:54 +00:00
James Smith 4ca19f846b add basic collection API 2025-03-20 09:25:59 +00:00
James Smith e4f839687a add API for creator and collection lists 2025-03-20 09:25:59 +00:00
James Smith e871dc6658 add oembed responses for creator and collection 2025-03-10 14:19:48 +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 79806a51e1 dry up creator list fetch 2025-02-25 14:08:56 +00:00
James Smith 47a968e1a1 enforce policy scope on parent collection list 2025-02-25 14:08:42 +00:00
James Smith 5ccbf890be remove old code 2025-02-25 14:08:13 +00:00
j4c3 0a20dc9028 Add Creator field to Collections and allow Collections to be filtered by Creator 2025-02-23 04:26:05 +00:00
James Smith 809ad78eb4 reuse creator display for collections (including follow button) 2025-01-29 21:38:13 +00:00
James Smith 0f7597b7fb set owner at creation time for creator and collection
resolves #2744
2024-10-11 10:08:00 +01:00
James Smith fb64035480 Fix error browsing collections with library filter
resolves #2847
2024-10-03 15:50:54 +01:00
James Smith 7f5c46c78f sort objects in lists by lowercase name 2024-09-24 13:31:37 +01:00
James Smith 6feb5019f4 remove default scopes to avoid errors on PostgreSQL 2024-09-23 19:10:16 +01:00
James Smith 7123abb616 fix error when showing nested collections 2024-09-23 18:52:27 +01:00
James Smith f4306c9e1d make object ordering case-insensitive 2024-09-23 11:01:49 +01:00