Commit Graph
74 Commits
Author SHA1 Message Date
James Smith 5faf02e565 add form creator 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 f52182ed88 fix creator update not happening for API requests 2025-04-11 23:19:50 +01:00
James Smith ebbdd03992 add create and update methods for creators 2025-04-11 17:49:01 +01:00
James Smith 0fc50627ad add creator#delete API endpoint 2025-04-11 13:02:49 +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 e25203f3d0 use olsd slug if validation fails 2025-03-25 09:53:18 +00:00
James Smith 423a9245a4 add failure handling for creator updates 2025-03-25 09:53:18 +00:00
James Smith 9ed182a62b make slug editable 2025-03-25 09:53:18 +00:00
James Smith 71420217b7 add basic creator endpoint and serializer 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 1ed195b444 add additional filters (not shown in sidebar) for creator profile page 2024-10-21 10:43:14 +01:00
James Smith 14c2540bf0 render model list on creator URL 2024-10-21 09:14:13 +01: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 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 f4306c9e1d make object ordering case-insensitive 2024-09-23 11:01:49 +01:00
James Smith 2c7c0b00ff rename to find_param 2024-09-22 19:43:34 +01:00
James Smith 2f093774dd use DRYer from_param instead of find_by all over the place 2024-09-22 12:04:57 +01:00
James Smith 52930c7691 raise exceptions as expected for failed finds 2024-09-17 17:18:07 +01:00
James Smith 7e4287a662 rename return_to option 2024-09-13 12:58:29 +01:00
James Smith 005fb333a0 return to URL from session after creation 2024-09-13 12:38:48 +01:00
James Smith a0283cf7ef Link tags on model page to list
resolves #1554
2024-09-13 10:36:29 +01:00
James Smith 95bcca3ecf fix distinct queries 2024-09-07 10:53:01 +01:00
James Smith 9d15e4b089 only show tags used by public models when logged out 2024-09-05 17:34:16 +01:00
James Smith b23434bacb lookup models from URLs by public_id 2024-09-05 12:30:12 +01:00
James Smith 7fc774dc82 use default pagination settings if there is no current user 2024-09-03 16:58:38 +01:00
James Smith 006b2db874 lint 2024-09-03 15:47:53 +01:00
James Smith 6cf1bd5e7b refactor permittable parameters checks into concern and share across models/creators/collections 2024-09-03 15:28:47 +01:00
James Smith c15bb3b936 sharing for creator and collection forms 2024-09-03 12:13:39 +01:00
James Smith 6d342182fe move key-value tag calculations out of view 2024-08-05 22:20:37 +01:00
James Smith 8efaa20de6 move tag list stuff into its own concern 2024-08-05 22:19:13 +01:00
James Smith dada8dcb92 rename ModelFilters concern to Filterable 2024-08-05 17:11:06 +01:00
James Smith cd0c61d50e improve tag performance a bit by only getting count and name when building the list 2024-08-05 17:11:05 +01:00
James Smith 03556774d4 rename process_filters to filter_models and combine 2024-07-24 12:08:56 +01:00
James Smith 575cb52d99 rename process_filters_init to be clearer 2024-07-24 11:59:23 +01:00
James Smith 49919356df exclude filtered tags earlier 2024-07-24 10:35:58 +01:00
James Smith 50296ea0f0 remove unused process_filters_tags_fetchall 2024-07-24 10:28:10 +01:00
James Smith b91038ccbf apply sorting and thresholding to tag list 2024-07-24 10:26:47 +01:00
James Smith 905b4ceb05 restore count of unrelated tags 2024-07-24 10:12:05 +01:00
James Smith 37f230d80d generate tag list from filtered models 2024-07-24 10:10:08 +01:00
James Smith 36a23652ad remove @commontags 2024-07-24 09:54:20 +01:00
James Smith 07ca11d0a1 eager load creator data and enable strict loading 2024-04-24 11:25:45 +01:00