James Smith
|
1410438c3a
|
Only find subject if subject is actually set, otherwise leave it untouched
|
2026-02-24 21:58:02 +00:00 |
|
James Smith
|
20f2bc3663
|
refactor user matching into user object itself
|
2026-01-16 16:54:39 +00:00 |
|
James Smith
|
eccfaacd0b
|
refactor permittable user matching to use new shared method
|
2026-01-15 15:03:36 +00:00 |
|
James Smith
|
9561732dfa
|
refactor typed id generation and matching for groups
|
2026-01-06 12:16:42 +00:00 |
|
James Smith
|
63f1399176
|
add support for granting group permissions from forms
|
2025-12-10 23:05:40 +00:00 |
|
James Smith
|
e517ab4731
|
remove unused caber params method
|
2025-11-25 15:54:10 +00:00 |
|
James Smith
|
eb8e23c8fd
|
use and store user setting for sort if logged in
|
2025-11-05 15:15:04 +00:00 |
|
James Smith
|
315728ef08
|
Always paginate list pages
|
2025-11-05 14:26:18 +00:00 |
|
James Smith
|
8ed4a3ee7d
|
move order preference setting into concern
|
2025-11-05 09:38:10 +00:00 |
|
James Smith
|
5c0498bcf0
|
add "updated" sort option
|
2025-11-05 09:34:04 +00:00 |
|
James Smith
|
e65f2fb3a3
|
DRY up sorting into a concern
|
2025-11-05 09:33:41 +00:00 |
|
James Smith
|
bdae511a72
|
lint: Add blank lines after includes
|
2025-10-17 12:06:22 +01:00 |
|
James Smith
|
60a50bc113
|
use common folder name for model name after merge
|
2025-08-14 11:41:07 +01:00 |
|
James Smith
|
4f4b898bdb
|
remove remaining unused code in Filterable concern
|
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
|
2c68979c60
|
use FilterService#any? in logic checks
|
2025-07-29 14:37:51 +01:00 |
|
James Smith
|
c0ede97f62
|
refactor collection filtering into filter service
|
2025-07-29 13:59:26 +01:00 |
|
James Smith
|
9dbb026e9f
|
refactor filterable to use filter service
|
2025-07-29 13:50:05 +01:00 |
|
James Smith
|
23709481e1
|
add sync action to handle link sync clicks
|
2025-07-15 16:45:24 +01:00 |
|
James Smith
|
87209299f5
|
add choices for new model and model in common root
|
2025-07-03 15:10:32 +01:00 |
|
James Smith
|
3d676b1469
|
Create intermediate "configure merge" page to choose target if not specified
|
2025-07-03 12:45:38 +01:00 |
|
James Smith
|
344c40bbb5
|
refactor merge code into controller concern
keeps things tidier
|
2025-07-03 12:45:38 +01:00 |
|
James Smith
|
2b8497ff03
|
hide filtered tags on creator and collection lists when signed out
|
2025-06-23 16:46:04 +01:00 |
|
James Smith
|
a51658a217
|
fix insufficient permission checks on model menu options
|
2025-06-12 19:41:23 +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
|
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
|
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
|
98fec4f736
|
lint strong parameter calls; use expect instead of require/permit
|
2025-04-22 17:40:56 +01:00 |
|
James Smith
|
bd5daf35dd
|
fix filter on missing action error
|
2025-04-22 17:40:56 +01:00 |
|
James Smith
|
d7d65ae62d
|
optimise N+1 queries with bullet
|
2025-03-04 15:35:27 +00:00 |
|
James Smith
|
6662d26efb
|
remove unnecessary preloading of library
|
2025-03-04 15:21:39 +00:00 |
|
James Smith
|
d897db37b5
|
add missing policy_scope calls in controllers
|
2025-02-27 10:19:45 +00:00 |
|
j4c3
|
0a20dc9028
|
Add Creator field to Collections and allow Collections to be filtered by Creator
|
2025-02-23 04:26:05 +00:00 |
|
James Smith
|
5ab2d2c804
|
Safer preloading for model files
Resolves #3331 by removing the extra JOIN that causes incompatibility between permission check and JSON fields in ModelFile
|
2025-02-20 14:34:04 +00:00 |
|
James Smith
|
42eac303e0
|
Handle listing models for tags that include commas
resolves #3607
|
2025-02-19 16:37:14 +00:00 |
|
James Smith
|
013e5bd70e
|
Check adapter name rather than class in regex checks
resolves #3297
|
2024-12-10 13:44:28 +00:00 |
|
James Smith
|
adf042b1ad
|
move all model listing code into a concern
|
2024-10-21 09:14:13 +01:00 |
|
James Smith
|
2b10cc4fec
|
Fix search by removing preview_file preload
|
2024-10-03 16:16:36 +01:00 |
|
James Smith
|
48c20e387d
|
"order" parameter should not be in filter list
|
2024-09-23 15:51:41 +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
|
9cd5f61a59
|
Revert "Fix incorrect tag editing in bulk editor"
|
2024-09-09 15:57:54 +01:00 |
|
James Smith
|
3bf795460b
|
use more efficient pluck to get IDs
|
2024-09-06 14:15:28 +01:00 |
|
James Smith
|
35e58f914a
|
fix library filter
|
2024-09-05 14:20:32 +01:00 |
|
James Smith
|
4f4b148d84
|
fix use of Collection.tree_down with correct ID
|
2024-09-05 12:30:14 +01:00 |
|
James Smith
|
5880d2f163
|
handle public IDs on filtering
|
2024-09-05 12:30:14 +01:00 |
|