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

270 Commits

Author SHA1 Message Date
525a3a517f Query optimization for location scoping 2026-07-30 19:56:27 +01:00
42a98fc355 Fixed FD-56673 - added custom field helper with gate 2026-07-29 14:35:28 +01:00
5478c671ab Fixes #10387, #12460, and #19389 - better validation for text files
Files whose sniff yields nothing usable (empty, octet-stream, INI-shaped) now pass.
2026-07-28 21:16:39 +01:00
d30b73d9c8 Harden internal URL redirect safety 2026-07-28 13:06:20 +01:00
283a59cb1d Added sameOriginUrl helper 2026-07-28 11:56:52 +01:00
482e8a72b8 Alert Menu: Switch to Livewire + kill low-inventory N+1 2026-07-25 13:00:56 +01:00
27369e04b3 Merge pull request #19341 from grokability/fmcs-require-company-if-floater-is-off
FMCS+Floater: Fixed #19192 - make company required if floater is disabled
2026-07-22 16:24:51 +01:00
48f3309c89 Redirects: Fixed #15214 - return to index page with query string 2026-07-22 14:49:00 +01:00
b9672dc238 Accoutn for deliberate null company pseudo company 2026-07-22 11:45:31 +01:00
b8018c5b5e FMCS+Floater: Fixed #19192 - make company required 2026-07-22 11:17:55 +01:00
843ad8e4a9 Added a null guard at the top of Helper::checkIfRequired in app/Helpers/Helper.php:1098 — returns false when no model is passed 2026-07-17 21:50:12 +01:00
a971a7aff2 Allowed text label to be ANY/NONE 2026-07-17 14:17:13 +01:00
44354bb072 Added maxlength helper 2026-07-13 22:18:25 +01:00
5f28292cac Switched <= to < for min qty remaining remaining alerts 2026-07-11 15:27:59 +01:00
b2d5247ebe Merge remote-tracking branch 'origin/develop' into _parent-company-functionality
# Conflicts:
#	public/js/dist/all.js
#	public/js/dist/all.js.map
#	public/mix-manifest.json
2026-07-03 13:36:54 +01:00
2ee97645e4 Small fixes 2026-06-26 15:22:50 +01:00
000bf71342 Added paginateCollection() helper
This is used by locations and companies to show the indenting. (A lot of code for indenting tbh. Grr.)
2026-06-25 16:29:27 +01:00
45d6a491cb Localization: Fixed #19173 - use translatoon string for depreciation helper 2026-06-13 18:02:00 +01:00
6fc2ff7252 FMCS console checker: added test 2026-06-10 12:15:28 +01:00
9f89dffaae FMCS: update the helper that checks for location-scoping 2026-06-10 11:23:14 +01:00
2af0c237a9 Security+SAML: Check the redirect option for host validation 2026-06-08 20:29:59 +01:00
df0ee6020a Fixed FD-55803 - escape links 2026-06-08 16:36:17 +01:00
8f98c8a862 Accessory checkouts: Fixed #19154 - get checkout company by way of parent accessory 2026-06-08 14:38:49 +01:00
356a0d4c12 Fixed RB-20978 - Header may not contain more than a single header, new line detected
When edit() is called, it stores url()->previous() (the Referer header) as url.intended. When update() is called after, getRedirectOption() pulls that URL out of the session and uses it as a Location header. If that URL ever contains a \n or \r\n - whether from a crafted Referer header, a stale SAML RelayState, or a proxy quirk - PHP's header() function raises this exception as a header injection safeguard.
2026-06-03 20:38:50 +01:00
780fb76af8 Added jfif to extension list in config 2026-06-01 17:29:02 +01:00
ade07b411b Added helper and CSS 2026-05-29 17:37:12 +01:00
01b18513f1 Safe redirect if request is weird 2026-04-16 12:49:02 +01:00
64f346a5f0 Aaaand pint 2026-04-02 09:12:03 +01:00
0ac63a8ac6 Codacy tweaks 2026-04-02 09:11:50 +01:00
67ccb5e6d9 Make a generic formatter for class names 2026-04-01 14:51:10 +01:00
c4b20a16ce use full width if no field label present on TZe_24mm_E 2026-03-24 10:30:58 -07:00
ccf6856143 Apply pint to Helpers 2026-03-13 16:37:19 +00:00
e376492128 Use intended() for redirect options 2026-03-12 13:57:50 +00:00
546c8ce7d5 Quick fix for alert menu 1001 queries 2026-02-19 14:52:01 +00:00
90e6e309f9 Removed redundant icon helper 2026-02-18 14:03:53 +00:00
2a1a4a1c72 Added some withCount() params to tweak the 'minimum number of assets' notification 2026-02-12 21:32:30 +00:00
aaf9372474 move helper query to eager load in the asset api 2026-01-22 11:12:49 -08:00
c074fae885 Merge pull request #18459 from Godmartinz/moar_label_fixes
Fixes #18353 Label title scales with label fields. adjusted label row allotment.
2026-01-21 19:58:32 +00:00
10cfe6d37a remove duplicate parameter 2026-01-20 16:23:36 -08:00
3718ce9749 if label is null make room for value 2026-01-20 16:18:13 -08:00
61bc570d59 add title to layout helper, update lw2112283 2026-01-20 15:59:40 -08:00
949f65b210 Merge pull request #18356 from Godmartinz/add-first-checkout-to-asset
Adds #17210 1st checkout to asset view and index
2026-01-20 20:36:21 +00:00
05c998227a Fixed #18449 - small sidenav improvements for selected contexts 2026-01-16 12:48:28 +00:00
dbc1e7d6ab remove scaling from label title 2026-01-15 12:03:45 -08:00
b0b1829426 add Helper function for label layout, applied to 1933081 2112283" 2026-01-13 11:50:14 -08:00
a3a79a696f adds first checkout to asset view and index 2025-12-16 08:48:08 -08:00
f6461a755a revert again 2025-12-03 13:22:46 -08:00
39cf5ce66e revert some changes 2025-12-03 13:22:03 -08:00
c68d9892b5 fix threshold bug, include minimum to available 2025-12-03 13:20:01 -08:00
1f79776b8f Pull HTML tags out before converting markdown 2025-09-16 19:21:39 +01:00