Commit Graph
37 Commits
Author SHA1 Message Date
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
James Smith 8236bbdd66 add tests and authorisation for creators 2024-03-15 18:17:58 +00:00
James Smith df4c48c596 add creators#index policy 2024-03-15 16:18:53 +00:00
James Smith 8bd44b4ce3 remove redundant "*.new.title" keys and replace with "*.general.new" 2024-02-08 23:25:51 +00:00
James Smith f2d12d90a0 i18n all controllers 2024-02-06 15:37:21 +00:00
James Smith e823ab99ea add notices and alerts for succes and failure of various site actiivities 2024-02-01 10:23:06 +00:00
James Smith 07dd56f825 refactor all card list pages to use nested layout 2023-08-05 12:04:33 +01:00
James Smith 62f99c7310 show all creators and collections if no filters are applied
partially resolves #1301
2023-06-28 20:39:34 +01:00
Don Eisele b525d7acc3 css compacted alert/notice area when empty
structured top/models/creators/collections into 2nd row menu: keeping filters active between the different "views"
pulled filters into a concern to share code between the different views
added tree-based sql queries for handling collection nesting display and searching
2023-03-30 21:15:28 -05:00
James Smith ae33f74bc6 rename excerpt to caption
self explanatory now, resolves #1001
2023-02-22 16:02:32 +00:00
James Smith a5afc6e0be Add redirect for creators to model list, so we can still link direct 2023-02-22 13:13:49 +00:00
James Smith 3e6c27d9f2 Remove show action for creators 2023-02-22 12:45:22 +00:00
Don Eisele 889042b465 add notes/excerpt on creators/models 2023-02-03 13:51:36 -06:00
James Smith 24b2e272b8 reorder controller methods 2022-12-12 16:41:11 +00:00
James Smith 4f7db304fe Add a list for models with no creator 2022-10-02 21:42:12 +01:00
James Smith 055bde6303 change to kaminari pagination to avoid conflicts with will_paginate 2022-06-24 13:55:02 +01:00
James Smith 347834d8d7 user user pagination settings instead of config file 2022-06-17 14:39:13 +01:00
Matthew Page f4e5846953 Make pagination default, add missing tests, and move all config into config files 2022-04-17 17:54:27 -07:00
Matthew Page b9d2d40b4e lint fixes 2022-04-15 10:38:06 -07:00
Matthew Page f96203ef47 add pagination to creators and fix tests for libraries 2022-04-08 15:51:17 -07:00
James Smith 6d85dcf810 automatically add the first empty URL field 2021-03-07 00:13:52 +00:00
James Smith 0fdd154602 set title tag to something helpful 2021-03-03 00:29:26 +00:00
James Smith f3b9389481 change creators to use Link model instead of IDs 2021-03-02 17:26:52 +00:00
James Smith 3e008a9446 show creator for model, and models for creator 2021-02-26 14:43:47 +00:00
James Smith 15d3e00a18 Add a simple creators controller 2021-02-26 11:01:00 +00:00