James Smith
|
3d42a695c8
|
Automatically strip whitespace from library paths
Resolves #5326
|
2026-01-15 16:04:28 +00:00 |
|
James Smith
|
331e0698f0
|
Add more permission checks during library setup
|
2026-01-13 11:27:22 +00:00 |
|
James Smith
|
b098aaf8b0
|
don't try to autocreate empty library paths
|
2025-11-09 11:36:41 +00:00 |
|
James Smith
|
bb9d142b5e
|
Rename LibraryUploader to ModelFileUploader
|
2025-09-22 14:19:23 +01:00 |
|
James Smith
|
3f7fbd971a
|
Remove ransack model configuration
|
2025-08-01 15:11:42 +01:00 |
|
James Smith
|
02d59dbf93
|
Fix behaviour of default library setting when libraries are destroyed
Resolves #4447
|
2025-07-23 10:51:08 +01:00 |
|
James Smith
|
3eb2499e4c
|
update serialize method to include coder
Array was implicitly using the YAML coder in v7.x: https://api.rubyonrails.org/v7.0/classes/ActiveRecord/AttributeMethods/Serialization/ClassMethods.html#method-i-serialize
|
2025-04-22 17:40:55 +01:00 |
|
James Smith
|
901c95b558
|
Prevent the creation of libraries inside other library folders
|
2025-04-17 15:05:53 +01:00 |
|
James Smith
|
cf9047cec0
|
rename and namespace CreateModelFromPathJob
|
2025-04-02 14:30:26 +01:00 |
|
James Smith
|
c28cd1838b
|
namespace DetectFilesystemChangesJob
|
2025-04-02 14:30:26 +01:00 |
|
James Smith
|
ba9b5d037d
|
refactor model creation into create_model_from_path_later call
|
2025-04-02 14:30:24 +01:00 |
|
James Smith
|
82c47ad713
|
refactor change detection into detect_filesystem_changes_later call
|
2025-04-02 14:30:24 +01:00 |
|
James Smith
|
fa7bb269be
|
make default library nil
|
2025-03-25 16:14:45 +00:00 |
|
James Smith
|
9080f78106
|
change default library to integer ID not public ID string
|
2025-03-25 15:44:20 +00:00 |
|
James Smith
|
52d439b8a8
|
refactor library default checks into Library model
|
2025-03-25 15:39:27 +00:00 |
|
Matthew Badeau
|
f6ed137710
|
Apply suggestions for better error exception handling
|
2025-02-19 21:25:45 +09:00 |
|
Matthew Badeau
|
f7b2561b6c
|
Adjust checkbox to only appear when creating a library
|
2025-02-17 20:44:58 +09:00 |
|
Matthew Badeau
|
761b1e0749
|
Undoing some changes and fixing tests
|
2025-02-08 10:35:30 +09:00 |
|
Matthew Badeau
|
67b66e73bd
|
Add error catching to model to account for access denied errors
|
2025-02-08 10:16:58 +09:00 |
|
Matthew Badeau
|
62345da69a
|
Adding tests for libraries
|
2025-02-07 23:02:59 +09:00 |
|
Matthew Badeau
|
b4cd79f8ba
|
Add feature to create path if it does not exist on disk
|
2025-02-07 20:21:08 +09:00 |
|
James Smith
|
8a8298aa16
|
Order libraries by name, by default
|
2025-01-24 09:30:42 +00:00 |
|
James Smith
|
5aced18b74
|
Add s3_path_style option to libraries
|
2025-01-21 11:06:51 +00:00 |
|
James Smith
|
106b41efc9
|
rename some more block variables to ease future updates
|
2025-01-15 11:56:47 +00:00 |
|
James Smith
|
6f4dde2ba0
|
Fix scan failure when library path contains a space
|
2025-01-06 10:47:56 +00:00 |
|
James Smith
|
5df98b5fcd
|
remove old Library#all_tags
|
2024-11-05 16:07:00 +00:00 |
|
James Smith
|
ea337a3b4c
|
refactor problem relationship into a concern
|
2024-11-04 14:58:20 +00:00 |
|
James Smith
|
9fc8e2bb9b
|
register storage only after commit
|
2024-09-27 16:54:11 +01:00 |
|
James Smith
|
0bc91049cd
|
handle permission fail in path normalization
|
2024-09-20 16:48:05 +01:00 |
|
James Smith
|
0487546cab
|
add path normalization for library paths
|
2024-09-20 16:42:48 +01:00 |
|
James Smith
|
30752ba081
|
check that library paths are writable
|
2024-09-20 16:10:52 +01:00 |
|
James Smith
|
f2ab4e8dcc
|
forbid important top-level directories in library paths
|
2024-09-20 15:56:15 +01:00 |
|
James Smith
|
75f112d690
|
Move all Shrine plugin configuration into our custom class
|
2024-09-18 11:04:12 +01:00 |
|
James Smith
|
6a40e4a0c3
|
storage key should be a symbol
|
2024-09-17 11:14:40 +01:00 |
|
James Smith
|
8b3ca67264
|
move public_id stuff into concern
|
2024-09-05 12:30:13 +01:00 |
|
James Smith
|
ba9706d603
|
add public id to ransackable attributes
|
2024-09-05 12:30:13 +01:00 |
|
James Smith
|
cfd59493dd
|
add cool_id to models
|
2024-09-05 12:30:12 +01:00 |
|
James Smith
|
51b6310969
|
move file-on-disk ignore check into Llibrary#list_files
|
2024-08-21 12:17:01 +01:00 |
|
James Smith
|
d5563dd3c8
|
fix storage_service issue when migrating from nothing
|
2024-07-09 22:14:24 +01:00 |
|
James Smith
|
eddcac9566
|
auto-set Library filters from ransackable
|
2024-07-08 11:30:55 +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
|
3daf51eaf3
|
enable transfer acceleration for official S3 endpoints
|
2024-07-05 13:15:28 +01:00 |
|
James Smith
|
d02876fc34
|
memoize storage client creation
|
2024-07-05 10:23:28 +01:00 |
|
James Smith
|
4ad134e473
|
more efficient list_files for s3
|
2024-07-04 13:32:55 +01:00 |
|
James Smith
|
da8fd754dd
|
handle array glob patterns in s3 list_files
|
2024-07-04 13:32:55 +01:00 |
|
James Smith
|
9b2664e476
|
implementation of list_files globbing for s3
|
2024-07-04 13:32:55 +01:00 |
|
James Smith
|
894685a57d
|
s3 needs special treatment for has_folder?
|
2024-07-04 13:32:25 +01:00 |
|
James Smith
|
c2045ee985
|
implement s3 last_modified
|
2024-07-04 13:32:25 +01:00 |
|
James Smith
|
72e0cec5ba
|
use path-style access for custom endpoints
|
2024-07-04 13:32:25 +01:00 |
|
James Smith
|
9aad2a6a04
|
storage existence check for s3
|
2024-07-04 13:32:24 +01:00 |
|