3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 11:15:42 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
713a719aeb Merge branch 'develop' into up/stable-uploaded-files-sort 2026-08-06 15:31:07 +01:00
5d36aef1d2 Fixed FD-56789 - better handle failed writes 2026-08-02 12:45:43 +01:00
ae8e700948 Switched to methods on the base controller to quiet Codacy 2026-07-29 05:21:30 +01:00
ed2c8ae5b2 Switched self:: to parent:: to make Codacy shush 2026-07-29 05:02:30 +01:00
1149c96b2a Small follow-up to #19236 2026-07-28 22:20:54 +01:00
9c66339da7 fix(api): stable secondary sort on uploaded-files listing
The files index sorted only by the chosen column (created_at by default),
so files uploaded within the same second came back in an engine-defined
order — non-deterministic, which flakes LicenseUploadTest and any caller
that assumes upload order. Add a secondary orderBy('id') tiebreaker.
2026-07-27 23:54:15 -07:00
14d73edb52 File Uploades: Fixed FD-56588 - tighter controls on model files 2026-07-20 13:30:36 +01:00
e929b31f0b File uploads: Fixed FD-56333 - tighten mime-types for inline display 2026-07-01 14:35:36 +01:00
1252681d55 API pagination: Fixed #19155 - API not paginating correctly with page=x, added tests 2026-06-08 14:03:47 +01:00
e3b53c8fa2 Use newer files permission 2026-04-01 10:13:39 +01:00
ede406c904 Fixed #18573 - Removed extra slash in files controllers 2026-03-27 15:44:27 +00:00
280d16637a Added file-specific policies 2026-03-26 17:40:49 +00:00
1e5d426e70 Apply pint to API controllers 2026-03-13 16:38:23 +00:00
676a995889 Use update check for files controller api 2026-03-10 10:22:39 +00:00
8bc7d50e35 Updated to check gate on object 2026-02-26 16:03:57 +00:00
8ff34baafa wrap $files in isset to avoid null errors 2026-01-26 15:44:23 -06:00
406951fc84 Set $files only if there are results 2026-01-05 22:17:06 +00:00
0f215bbcf8 fix: replace deprecated Symfony Request::get() usage 2025-12-17 18:44:04 -08:00
4bbbd786cd Constrain to "uploaded" action_type 2025-10-01 14:37:36 -07:00
52140dbe06 Log upload deletion
Signed-off-by: snipe <snipe@snipe.net>
2025-09-03 08:37:42 +01:00
7bd3a791a1 Added withTrashed() to allow viewing files on deleted objects
Signed-off-by: snipe <snipe@snipe.net>
2025-09-02 13:39:35 +01:00
7a9d2454d4 Move the object type mapping and such to the base controller to de-dupe
Signed-off-by: snipe <snipe@snipe.net>
2025-08-10 16:30:32 +01:00
9e8eead71e Renamed routes and method names
Signed-off-by: snipe <snipe@snipe.net>
2025-08-10 13:29:48 +01:00
e7488d19e9 Fixed name for uploaded files controller
Signed-off-by: snipe <snipe@snipe.net>
2025-08-08 12:55:48 +01:00
5c2dbe438b Added maintenances
Signed-off-by: snipe <snipe@snipe.net>
2025-08-07 18:23:57 +01:00
ee5f89f70d Fixed pagination
Signed-off-by: snipe <snipe@snipe.net>
2025-07-29 22:58:00 +01:00
f3613d7103 Fixed typo
Signed-off-by: snipe <snipe@snipe.net>
2025-07-28 23:35:45 +01:00
1adc9f1aa9 Attempt to fix flaky tests
Signed-off-by: snipe <snipe@snipe.net>
2025-07-21 22:18:15 +01:00
0972c4e340 Re-added /hardware/ as viable route for API file uploads
Signed-off-by: snipe <snipe@snipe.net>
2025-07-10 13:06:22 +01:00
e0f5663bf4 Requested changes
Signed-off-by: snipe <snipe@snipe.net>
2025-06-27 12:37:11 +01:00
aafc8996c1 phpcbf fixes
Signed-off-by: snipe <snipe@snipe.net>
2025-06-27 12:18:54 +01:00
128da40cbf Added comments
Signed-off-by: snipe <snipe@snipe.net>
2025-06-27 12:03:12 +01:00
d8e7123576 Added uploaded files API controllers and presenters
Signed-off-by: snipe <snipe@snipe.net>
2025-06-27 11:37:31 +01:00