Commit Graph
30 Commits
Author SHA1 Message Date
James Smith 60fe567222 Adjust naming of test folders in path parser 2026-03-11 12:49:58 +00:00
James Smith 6a8d728c70 refactor path parser tests to remove SiteSettings dependency 2026-03-10 15:40:56 +00:00
James Smith fbb0ee5cd3 add owner filtering to FilterService 2025-11-04 13:32:58 +00:00
James Smith 18fee5753b use contain_exactly for array comparison to avoid ordering problems 2025-09-19 16:11:53 +01:00
James Smith 452c12a129 fix some db-dependent autonumbering expectations in tests 2025-09-19 13:15:52 +01:00
James Smith ca48853d46 refactor filterable controller code into a filter service object 2025-07-29 11:53: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 f37917d447 update tests 2025-05-20 10:05:32 +01:00
James Smith 36bd958caa Fix random search test failure caused by fake captions 2025-05-19 11:59:12 +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 088d3ca0ad Match model filenames for search 2025-05-17 23:41:52 +01:00
James Smith 003d7331b7 add tests for searching inside notes and captions 2025-05-17 23:35:11 +01:00
James Smith 66fe84f5a2 add specific search criteria for creator and collection names 2025-05-17 17:58:53 +01:00
James Smith 589d7583b7 use scoped_search syntax directly 2025-05-17 17:54:37 +01:00
James Smith 64bd15b0d6 add pending search tests for advanced features (tag search, MUST and MUST NOT) 2025-05-16 15:21:34 +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 352c41f943 remove repeated tests 2025-05-15 21:30:55 +01:00
James Smith f79693e82b check that special characters work in searches 2025-05-15 21:23:40 +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 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 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 5a918d5455 extract path parsing into service object 2025-04-02 21:16:47 +01:00