Commit Graph
48 Commits
Author SHA1 Message Date
James Smith 640c1c551c fix remaining activerecord connection usage 2025-12-22 14:54:31 +00:00
James Smith e0621d77bf DRY up connection type check 2025-12-22 13:38:13 +00:00
James Smith d6bdc39f24 move creator filtering into filterservice, and apply owner filter 2025-11-04 15:27:45 +00:00
James Smith 68981923a9 Add owner filter into collection filter 2025-11-04 15:27:45 +00:00
James Smith fbb0ee5cd3 add owner filtering to FilterService 2025-11-04 13:32:58 +00:00
James Smith cfc7252a09 add ability to filter lists by owner 2025-11-04 13:31:03 +00:00
James Smith bb9d142b5e Rename LibraryUploader to ModelFileUploader 2025-09-22 14:19:23 +01:00
James Smith 4663beb617 remove duplicated tags method 2025-07-29 14:37:52 +01:00
James Smith 849dc49269 remove @filter_tags var 2025-07-29 14:37:52 +01:00
James Smith c0ede97f62 refactor collection filtering into filter service 2025-07-29 13:59:26 +01:00
James Smith 5fc17a77e9 Use filter service in Scan::CheckAllJob 2025-07-29 12:41:49 +01:00
James Smith ca48853d46 refactor filterable controller code into a filter service object 2025-07-29 11:53:01 +01:00
James Smith 689f4cdfaf Ignore activities that attempt to update local objects 2025-07-01 00:09:01 +01:00
James Smith 27f7f3610a exclude non-indexable remote items from searches
resolves #4379
2025-06-23 11:09:34 +01:00
James Smith fb29ee891a Enqueue prepare download jobs from CLI on low-priority queue 2025-05-20 11:43:21 +01:00
James Smith a4aa3aefac fix where clause in ModelSearchService on postgres 2025-05-19 09:35:37 +01:00
James Smith 6409ecd94e Use DISTINCT ON for joining tables during search on PostgreSQL 2025-05-19 00:41:16 +01:00
James Smith cd31806c0d remove parslet-based search syntax
This experiment might come back one day, but for now we're using scoped_search syntax directly.
2025-05-17 23:49:26 +01:00
James Smith 4ff0d3af16 remove direct ransack dependency and code 2025-05-17 23:47:37 +01:00
James Smith 589d7583b7 use scoped_search syntax directly 2025-05-17 17:54:37 +01:00
James Smith dc91e3a27f change search to use scoped_search instead of ransack 2025-05-16 15:22:22 +01:00
James Smith 6f1baca0c9 extract ransack search into service and test 2025-05-16 10:28:04 +01:00
James Smith 3e208d59b2 move search services into module 2025-05-16 10:27:53 +01:00
James Smith 5110a06452 handle quoted strings in ransack search 2025-05-15 19:59:12 +01:00
James Smith 3d4948bfb7 add quoted term support to parser 2025-05-15 17:15:01 +01:00
James Smith 8024dc2b93 add search term prefixes to support stuff like specific tags in future 2025-05-15 16:59:11 +01:00
James Smith db87c7c61d Add credit for query parser tutorial 2025-05-15 16:20:36 +01:00
James Smith 6b16cb256a add parse support for + and - operators 2025-05-15 16:16:30 +01:00
James Smith f01f3c5a1a Move ransack query building into Transformer class 2025-05-15 16:14:37 +01:00
James Smith 9adc5cd43a rename ransack transformer to more generic name 2025-05-15 14:32:58 +01:00
James Smith 2694a6d249 create parslet transformer 2025-05-15 14:29:50 +01:00
James Smith 7126edb2d6 space-separate query terms 2025-05-15 13:11:40 +01:00
James Smith 71f82be9d9 Convert parser to simple parslet grammar 2025-05-15 13:07:52 +01:00
James Smith 12a5e07e90 refactor query building to separate parser and engine-specific transformer
Excessive for now, but we need the structure to build upon.
2025-05-15 13:05:09 +01:00
James Smith c37f720459 sanitize model slug before using in filename 2025-05-08 22:06:30 +01:00
James Smith 688c1ff094 calculate filenames on the fly for downloader 2025-05-08 17:44:07 +01:00
James Smith ba6dd5f93e option to pregenerate downloads when models change 2025-05-08 17:23:28 +01:00
James Smith 15a6f3c348 move downloads to their own shrine storage area 2025-05-08 14:33:08 +01:00
James Smith 7d3a09da64 immediately touch temp file when preparation starts 2025-05-08 10:39:22 +01:00
James Smith ef785a7a26 Move download archive creation into background job 2025-05-07 22:45:47 +01:00
James Smith aa317c8993 fix potential nil error in ArchiveDownloadService 2025-05-07 16:33:49 +01:00
James Smith aaa7f465ad clearer param sanitization 2025-05-02 18:52:46 +01:00
James Smith 8ed332714b use sha256 2025-05-02 18:51:39 +01:00
James Smith c87915d181 refactor archive downloads into a download creation service object 2025-05-02 17:34:55 +01:00
James Smith 5a918d5455 extract path parsing into service object 2025-04-02 21:16:47 +01:00
James Smith 430c7ae8b0 don't store incoming activities 2025-03-31 15:51:17 +01:00
James Smith 273ec5da0a configure callback on new report to send mail 2025-03-26 16:52:38 +00:00
James Smith be1e1116bb handle update to remote actors and push changes up to Manyfold 2025-02-11 15:32:33 +00:00