Commit Graph
402 Commits
Author SHA1 Message Date
James Smith 99bcfd01a2 swap flipper checks for SiteSettings checks 2024-08-09 11:26:18 +01:00
James Smith 32cacb9891 fix add/remove tags in bulk edit 2024-08-06 13:55:01 +01:00
James Smith 36fcb787dc use single quotes in LIKE 2024-08-06 11:29:08 +01:00
James Smith 6d342182fe move key-value tag calculations out of view 2024-08-05 22:20:37 +01:00
James Smith 2cbd11b3c2 remove modelfilters include from home controller 2024-08-05 22:19:14 +01:00
James Smith ce61a58f03 move more optimal tag select into concern 2024-08-05 22:19:13 +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 ec2f67b76f Extract local timeline generation into its own module 2024-08-05 15:06:40 +01:00
James Smith e6cdd17933 show all activities on home feed
... for now, until we get individual and instance following sorted.
2024-08-02 16:17:21 +01:00
James Smith aa98c56e9b generate homepage feed from activities, not just recent models 2024-08-02 12:55:31 +01:00
James Smith dd640b1951 simple activity feed for front page 2024-08-02 12:55:31 +01:00
James Smith 33185cfdab add policy for following 2024-08-01 11:39:15 +01:00
James Smith 6fd09cdc3d implement controller for follow concern 2024-07-31 14:09:32 +01:00
James Smith a35a1ac950 add follows controller and routing concern 2024-07-31 14:09:31 +01:00
James Smith a3acb966d8 remove path nesting of models inside libraries 2024-07-30 19:13:17 +01:00
James Smith cec0466fce extract list features into concerns and test 2024-07-26 23:22:12 +01:00
James Smith af1be7e868 Fix error during search
Postgres doesn't like including all the conditions for this inside another query, so we split the query and get just a list of model IDs.
2024-07-25 12:23:46 +01:00
James Smith d07604aba3 lint 2024-07-25 11:11:21 +01:00
James Smith 56f5923287 replace free text search with a prebuilt ransack query 2024-07-25 11:09:43 +01:00
James Smith 3993639f00 refactor filtered_models into testable parts 2024-07-24 12:47:08 +01:00
James Smith 53d9589f39 reduce side effects in filtered_models method 2024-07-24 12:13:31 +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 ad20320edb lint 2024-07-24 11:04:36 +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 36a37dc267 remove UI option for hiding unrelated tags
it's just too expensive to make it optional
2024-07-24 09:57:08 +01:00
James Smith 36a23652ad remove @commontags 2024-07-24 09:54:20 +01:00
James Smith d013d6d35e Merge pull request #2433 from manyfold3d/addtags-efficiency
Remove an unnecessary tag calculation used for bulk editing
2024-07-24 09:38:06 +01:00
James Smith e9fe30ba33 only need @addtags in bulk edit 2024-07-24 09:34:31 +01:00
James Smith 26fd6bb710 fix scout CSP 2024-07-24 09:30:09 +01:00
James Smith 1d2f08378f Use fonts from CDN instead of local to avoid asset path problems at non-root URLs 2024-07-19 09:30:52 +01:00
James Smith 4ba937e366 auto-login admin on first run in multiuser mode 2024-07-16 17:35:36 +01:00
James Smith 845973fae9 update regexp syntax check to work for MySQL 2024-07-08 17:37:48 +01:00
James Smith f4c7d9c94d switch regexp syntax properly 2024-07-08 16:49:13 +01:00
James Smith 9d73e5363d lazily set content security policy so we can include the library domains 2024-07-05 16:03:23 +01:00
James Smith d8469b4b91 use redirect-to-presigned-url instead of reading the whole thing from an S3 store. 2024-07-05 13:35:07 +01:00
James Smith fe3bb1dd40 add simple s3 fields to new library form 2024-07-04 13:32:03 +01:00
James Smith 7c801c4dd0 allow storage engine to be set in controller 2024-07-01 15:52:25 +01:00
James Smith 6d85881b47 move archive extraction into a background job 2024-06-28 14:59:54 +01:00
James Smith 8f2613bf0d include all subfolders in models created from ZIPs 2024-06-28 14:03:25 +01:00
James Smith c960a578ff scan newly created models immediately 2024-06-28 12:55:44 +01:00
James Smith 4324c09627 add upload endpoint tests
though I'm not sure they work usefully with the routes.rb authentication block
2024-06-28 11:59:59 +01:00
James Smith 95a8ef027e file size is enforced by upload endpoint now 2024-06-28 11:51:44 +01:00
James Smith 1b2eec2337 fix test and handle empty upload data 2024-06-28 11:50:31 +01:00