James Smith
f5aa8138cb
redirect edits back to the library list rather than the model list
2026-03-11 10:35:55 +00:00
James Smith
d06b03144d
Allow folder settings when saving forms
2026-03-11 09:46:50 +00:00
James Smith
4a90fc3927
improve count efficiency with empty?
2026-02-06 10:02:10 +00:00
James Smith
a2c39ac5bf
replace deprecated unprocessable_entity
2025-08-21 20:05:17 +01:00
James Smith
bbd2db113a
update scan message strings
2025-07-28 14:23:23 +01:00
James Smith
95cc965eef
add filters to CheckAllJob (currently just search q)
2025-07-28 13:43:04 +01:00
James Smith
4fa6690d36
extract orphan problem prune out of CheckAllJob
2025-07-28 13:39:42 +01:00
James Smith
c1b12da48c
fix failure http codes across various controllers
2025-06-12 12:00:56 +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
82c47ad713
refactor change detection into detect_filesystem_changes_later call
2025-04-02 14:30:24 +01:00
James Smith
52d439b8a8
refactor library default checks into Library model
2025-03-25 15:39:27 +00:00
James Smith
12306c2cfe
add default library option to form
2025-03-25 15:34:39 +00:00
James Smith
7f0d563826
reset default library if default library is destroyed
2025-03-25 15:34:38 +00:00
James Smith
2e505464d9
set default library on creation if there is only one library
2025-03-25 15:34:38 +00:00
James Smith
53522c0923
handle shrine error after library deletion
2025-03-18 15:36:37 +00:00
James Smith
536cd2f96c
disable UsePolicyScope for first-use checks
2025-02-27 10:19:46 +00:00
Matthew Badeau
f7b2561b6c
Adjust checkbox to only appear when creating a library
2025-02-17 20:44:58 +09:00
James Smith
a3e79068ef
Fix path-style parameter filtering
2025-01-21 11:20:32 +00:00
James Smith
6cb0807c59
remove use of bare libraries path
2024-11-20 11:07:21 +00:00
James Smith
f4f33bb552
split admin settings into separate pages
2024-11-19 17:32:20 +00: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
d5a6e39fb9
remove unnecessary uses of #id
2024-09-05 12:30:12 +01:00
James Smith
b23434bacb
lookup models from URLs by public_id
2024-09-05 12:30:12 +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
8e2a9958ff
set up granular access policy for Library
2024-03-21 22:58:17 +00:00
James Smith
52655d3a28
authorization for library controller
2024-03-15 23:48:01 +00:00
James Smith
82f8175f04
add policy for library show and index actions
2024-03-15 16:18:53 +00:00
James Smith
343b33d0ba
use instance variable for library in show
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
0ff3752fb8
can't use alert on render, need to use flash explicitly
2024-02-01 10:49:04 +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
7bf0b7be23
redirect back to some previous pages correctly, for things like scans, problem changes, etc.
2024-02-01 10:17:24 +00:00
James Smith
4a8ac033cc
disable library create/edit/destroy in demo mode
2024-01-26 11:33:10 +00:00
James Smith
ac6c1a3301
lint: use find_each instead of all.each in ActiveRecord models
2023-10-10 19:54:04 +01:00
James Smith
ac32cd3089
change all objects to IDs in jobs
...
to allow soft-failure if an object is missing by the time it's processed
2023-08-24 22:19:00 +01:00
James Smith
3b99eb93e1
Rename LibraryScanJob to DetectFilesystemChangesJob and remove integrity checks
...
now they can be run separately
2023-08-21 15:28:33 +01:00
James Smith
e6df976567
add check_all job which runs analysis and integrity checks on all existing content
2023-07-11 22:56:01 +01:00
Don Eisele
2514dcfeba
Change icon per-library in app menu
2023-03-07 16:05:01 -06:00
Don Eisele
fe640a20c8
lint
2023-03-06 10:31:25 -06:00
Don Eisele
880e7ee9a1
Add search for missing tags in library (settings UI still needs some tweaking)
2023-03-06 10:21:30 -06:00
Don Eisele
7f8cc306fc
Add name/notes/caption to library.
2023-03-04 00:02:08 -06:00
James Smith
ab1fafb3c8
move library scans to their own actions
2023-02-22 17:12:41 +00:00
Don Eisele
0d47880e84
Fix tests to match previous commit. Put a redirect in for /libraries/1 to go to /models?library=1
2023-01-31 21:39:24 -06:00
Don Eisele
bc29a2129e
Restructure:
...
Moved model group actions from libraries#show to models#index (and bulkedit/update)
Features added:
filter models#index by libary
filter models#index by multiple tags at once
filter models#index collection
filter models#index by search query
All four above filters are logically anded together
Bulk editor modified to operate logically the same way for filter sets
Models added in header
Quick Search box added in header
Limits box added in models view
Tags are greyed out if they would result in 0 models if added to current filters.
Helper added:
params_passthrough() Grabs current filters from params() to be able to pass through or merge for use in buttons/links
2023-01-31 19:30:14 -06:00
James Smith
a3c32e1930
lint: don't use find_by_x
2022-12-12 16:38:50 +00:00
James Smith
9b118dd838
refactor fetching of all tags into a Library method
2022-11-19 10:45:40 +00:00