3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-09 09:58:44 +00:00

117 Commits

Author SHA1 Message Date
92bb1df82e Removed error log in test 2026-03-07 11:05:33 +00:00
261231c09e Fix method and variable names 2026-03-05 15:55:59 -08:00
20eab1f403 Fixed updated route names 2025-12-07 14:37:22 +00:00
aa959fbe92 Added filter form request to validate JSON 2025-11-22 14:03:58 +00:00
a1e6f01fe9 Fixed updating notes in bulk edit 2025-10-16 14:33:21 +01:00
ee499c1385 Fix base64-encoded image files for asset creation; add test 2025-10-07 16:00:16 +01:00
ef0a6aa25e Add failing condition 2025-10-02 13:53:19 -07:00
8a667b20c2 Merge branch 'develop' into fixes/17956-handle-force-deleted-model-in-asset-edit 2025-10-01 11:09:40 +01:00
636fccbf97 Add failing test 2025-09-30 12:18:51 -07:00
272385db6c Add failing test 2025-09-30 11:27:38 -07:00
73e0628124 Populate test 2025-09-15 15:26:30 -07:00
7393c4170b Apply first pass and scaffold additional test 2025-09-15 15:22:35 -07:00
73e185bf9d Scaffold route and tests 2025-09-15 15:12:05 -07:00
6504ee37bd Remove dump 2025-09-09 13:09:52 -07:00
ab7bd86336 Improve assertions 2025-09-09 13:01:59 -07:00
eada0b0bb5 Implement test 2025-09-09 11:58:43 -07:00
f221f9f22a Implement test 2025-09-09 11:50:41 -07:00
a7c5899c16 Implement test 2025-09-09 11:33:54 -07:00
80b02635a9 Add test stub 2025-09-09 10:10:53 -07:00
324070f345 Begin to build out test 2025-09-08 17:20:22 -07:00
e1aa843b6d Scaffold test 2025-09-08 17:05:14 -07:00
739980aa09 Merge pull request #16947 from Godmartinz/add-require-serial-to-models
Adds require serial as Asset Model option
2025-09-03 14:53:15 +01:00
b702e3e2de Merge pull request #17492 from ischooluw/17448-feature-notes-api-endpoints
Fixes #17448: feat(api) - API endpoint for Adding Ad-Hoc Notes to Assets
2025-08-26 12:40:52 +01:00
d91598a25e Merge pull request #17540 from marcusmoore/fixes/asset-serial-validation
Fixed 500 when sending non-string for serial property
2025-08-07 20:53:07 +01:00
860a117567 Remove dump in test 2025-08-07 12:50:02 -07:00
b8fe3b18d4 Add "string" to serial rules for asset 2025-08-07 12:27:48 -07:00
8516856d37 Merge pull request #17456 from spencerrlongg/9511-validation-always-fails-on-encrypted-custom-fields
Fixed #9511 - Validation For Encrypted Custom Fields
2025-08-05 17:45:38 +01:00
c94a8c42f4 Changed NotesController::getList() to NotesController::index() & reordered methods for consistency 2025-07-28 16:57:46 -07:00
16fdb16a56 Changed over to route model binding and simplified logic & gates 2025-07-28 16:55:11 -07:00
b264bbf69f feat(api): Add API endpoints for managing asset history notes
- Add POST endpoint to create a history note attached to an asset
- Add GET endpoint to retrieve history notes for an asset
- Add ActionLog factory state for manual notes
- Implement controller methods with authorization checks
- Add feature tests for note creation, retrieval, and access control
- Register new API routes for these endpoints

Supports automation by enabling programmatic asset history note management.
2025-07-28 15:55:37 -07:00
8a40d7e35c tests added, regex validation working 2025-07-23 16:12:19 -05:00
0cc47aacbe Got tests to pass by making them match our current reality, rather than wishes 2025-07-18 16:14:32 +01:00
7c5110ed5d Add more action logs tests everywhere I can think of it. 2025-07-16 16:20:06 +01:00
0a474f48ad WIP: Adding various tests of the contents of ActionLogs for lots of events 2025-07-16 16:20:06 +01:00
b8239e8ed9 use laravel validation methods, email works 2025-07-15 14:17:49 -05:00
aafc8996c1 phpcbf fixes
Signed-off-by: snipe <snipe@snipe.net>
2025-06-27 12:18:54 +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
59db38524b Merge pull request #17094 from spencerrlongg/snipe-it-17051
Fixes #17051 - Nulling Custom Fields In Bulk Asset Updates
2025-06-11 10:31:28 +01:00
246f1373a8 Merge pull request #16948 from marcusmoore/bug/sc-29181
Require assigned_x to be integer on asset model
2025-06-06 07:57:20 +01:00
ed817dc414 Merge branch 'develop' into snipe-it-17051 2025-06-05 11:37:17 +01:00
12d5e4f7d2 cleanup and test 2025-06-03 19:07:02 -05:00
55cf5877c4 Updated tests
Signed-off-by: snipe <snipe@snipe.net>
2025-06-03 05:28:45 +01:00
4b95790e2f WIP: new tests for checkin/checkout counters
note that the test isnt going to work

More WIP for checkout counters

Got all tests passing
2025-05-23 12:37:29 +01:00
2a2acf6d1c Add failing test 2025-05-14 14:09:48 -07:00
8c0281bf70 adds tests for requiring serial to asset model 2025-05-14 12:31:27 -07:00
38e5bf71bc Fixed tests
Signed-off-by: snipe <snipe@snipe.net>
2025-05-06 16:36:09 +01:00
ee0a9e834a Fixed BulkDeleteAssetsTest test
Signed-off-by: snipe <snipe@snipe.net>
2025-05-05 22:12:08 +01:00
a67b320cae Merge pull request #15907 from uberbrady/protect_assigned_to_assigned_type_rebased
Rebased version of #15629 - prevent setting assigned_to without setting assigned_type
2025-05-05 20:42:46 +01:00
71d8f1eb89 Merge pull request #16701 from grokability/repo-move
Update references to the repo to reflect move to Grokability org
2025-04-15 19:54:08 +01:00
cd10cd34f4 location update bug fix and test 2025-04-10 14:46:52 -04:00