Commit Graph
63 Commits
Author SHA1 Message Date
James Smith a191432f5d add test for model creation rate limit 2025-11-26 17:42:12 +00:00
James Smith 457c19c9ba add tests for setting permissions when editing objects 2025-11-25 15:54:09 +00:00
James Smith fabb5d0dc6 Sanitize upload filenames to prevent path traversal 2025-11-25 12:09:12 +00:00
James Smith 65a5ef0bd7 prevent downloading files with only preview access 2025-11-18 11:15:03 +00:00
James Smith 329b550409 update test form params 2025-11-04 00:59:10 +00:00
James Smith a80c58d9b1 standardise on tag_list 2025-11-04 00:48:49 +00:00
James Smith 01c462a0f0 fix tags in upload 2025-11-04 00:04:10 +00:00
James Smith 40820e215c If not all files are archives, enqueue only a single processing job to create a single model with all files. 2025-10-22 15:10:18 +01:00
James Smith 199f10b814 Add test to check name isn't sent to unzip upload jobs 2025-10-22 12:55:43 +01:00
James Smith 24aa2b7028 refactor common file creaion params into separate var 2025-10-22 12:43:24 +01:00
James Smith ef0f68b77f Allow name to be specified during model upload 2025-10-22 12:19:07 +01:00
James Smith 88e6007497 add test for uploading multiple archives 2025-10-22 10:41:40 +01:00
James Smith 31f1ee9cb7 update tests to reflect new parameter 2025-10-10 13:16:08 +01:00
James Smith 18fee5753b use contain_exactly for array comparison to avoid ordering problems 2025-09-19 16:11:53 +01:00
James Smith 3392192da9 fix another db-sort-dependent test 2025-09-19 15:35:42 +01:00
James Smith 67e51b2c46 fix more database-dependent tests 2025-09-19 15:22:29 +01:00
James Smith 5853510006 remove old organize test 2025-08-19 16:53:43 +01:00
James Smith 60a50bc113 use common folder name for model name after merge 2025-08-14 11:41:07 +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 8bd7750d6a handle form-encoded model selections in merge action
So that we can handle data from bulk edit directly
2025-07-03 12:33:29 +01:00
James Smith 919944d845 show target selection form on merge if necessary 2025-07-03 12:33:29 +01:00
James Smith e3dba5d7c9 refactor merge controller method 2025-07-03 12:33:28 +01:00
James Smith d857eb6df8 move model merge action to model route collection instead of member 2025-07-03 12:33:28 +01:00
James Smith c03f113cfe remove client-provided size and type from upload APIs, not required any more 2025-06-26 10:37:41 +01:00
James Smith ab60338f53 add test expectations for process upload jobs 2025-06-25 17:15:11 +01:00
James Smith cb86a1e40e Change from JSON to normal form encoded params for uploading 2025-06-25 17:15:11 +01:00
James Smith c21a5129a4 set indexable data for models 2025-06-20 13:21:26 +01:00
James Smith ce7320e75d autopublish model creator if being made public 2025-06-17 16:21:59 +01:00
James Smith 58e2ec5751 Change "check all models" scan to "rescan all models", which will also re-parse metadata 2025-04-23 13:00:21 +01:00
James Smith 247ae43806 update tests for newer factory tag default 2025-04-15 17:50:08 +01:00
James Smith f2b9b0c657 add :after_first_run metadata for test setup 2025-04-09 21:27:38 +01:00
James Smith d032041a12 refactor model check job into _later method 2025-04-02 14:30:23 +01:00
James Smith 56d064bead add tests for models in multiuser mode 2025-03-20 10:26:16 +00:00
James Smith 4d4b577569 Change Pundit authorization tests in requests specs to check proper return codes 2025-03-10 15:41:25 +00:00
James Smith 40f6782f87 add public & non-public model tests 2025-03-10 15:12:49 +00:00
James Smith c45f6ca36a update test for change in param 2025-01-20 16:32:54 +00:00
Stef Louwers 5d9c4707a1 Add tests for model bulk edit operations. 2025-01-18 15:49:06 +01:00
James Smith 6dd588a1a4 re-add block parameters for Ruby 3.3 compat
This was changed for the new `it` in Ruby 3.4, but linuxserver images
can't use 3.4 yet, so we re-add the parameter name (as it) for 3.3.
2025-01-15 11:48:42 +00:00
James Smith 3f65dd8988 replace single-arg block parameters with it 2025-01-08 10:06:14 +00:00
James Smith 6cb0807c59 remove use of bare libraries path 2024-11-20 11:07:21 +00:00
James Smith 761e9af50b DRY up tests to make linter happy 2024-09-13 13:24:01 +01:00
James Smith 6253f5279c set return session param on model editing pages 2024-09-13 12:58:52 +01:00
James Smith 4615594b78 fix bulk update tests 2024-09-05 12:30:15 +01:00
James Smith 01442fccb3 replace .id with .to_param in remaining places 2024-09-05 12:30:13 +01:00
James Smith 1e9cc21dec expect public IDs in URLs 2024-09-05 12:30:13 +01:00
James Smith e714985f94 update request tests to use to_param instead of explicit id 2024-09-05 12:30:12 +01:00
James Smith c4eae3c070 rename viewer role to member 2024-08-30 17:13:53 +01:00
James Smith 02213b615c rename "editor" role to "moderator" for clarity 2024-08-30 17:13:52 +01:00
James Smith a3acb966d8 remove path nesting of models inside libraries 2024-07-30 19:13:17 +01:00
James Smith 33dd6d5472 add some basic smoke tests for search queries 2024-07-25 11:09:21 +01:00