Brady Wetherington
|
92434fa943
|
Revert "Revert "refactor and clean up attribute-changing logic for assets""
This reverts commit bdc737ce0c .
|
2022-03-03 15:45:54 -08:00 |
|
snipe
|
bdc737ce0c
|
Revert "refactor and clean up attribute-changing logic for assets"
This reverts commit 290baf1c8d .
Signed-off-by: snipe <snipe@snipe.net>
|
2022-03-02 14:45:14 -08:00 |
|
snipe
|
733b3a7550
|
Merge pull request #10682 from uberbrady/fix_bad_metadata_display
Fixed weird JSON-handling on log_meta updates
|
2022-03-02 14:36:38 -08:00 |
|
snipe
|
3339a691e1
|
Merge pull request #10721 from snipe/features/adds_users_consumables_endpoint
Added consumables endpoint to user API
|
2022-03-02 14:33:45 -08:00 |
|
snipe
|
50f55b4308
|
Fixes broken API throttling
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-24 13:10:10 -08:00 |
|
snipe
|
a8028e7dd0
|
Merge pull request #10727 from uberbrady/master
Fix for negative CORS/SAML interaction
|
2022-02-23 11:17:17 -08:00 |
|
Brady Wetherington
|
15abc84ab0
|
Migrate to Fruitcake/laravel-cors which has path-exclusion built-in
|
2022-02-23 11:06:19 -08:00 |
|
snipe
|
42fcd29200
|
Fixed #10436 on master, applies #10449
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-22 21:06:54 -08:00 |
|
snipe
|
dc2e6c2b06
|
Adds consumables endpoint to user API
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-22 20:44:34 -08:00 |
|
Brady Wetherington
|
64f83f9a5f
|
Move HandleCors middleware to be universal
|
2022-02-22 17:43:40 -08:00 |
|
snipe
|
d1b45a83b8
|
Blergh, one more linebreak
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:51:06 -08:00 |
|
snipe
|
01a8701a8c
|
Removed extra linebreaks
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:50:38 -08:00 |
|
snipe
|
67fe53e32a
|
Removed debugging, added comments
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:50:07 -08:00 |
|
snipe
|
7f6b8cc43d
|
Removed carbon, since we went with PHP's datetime instead
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:48:12 -08:00 |
|
snipe
|
5fe999eb02
|
Shored up the date math, updated the explanation
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:34:33 -08:00 |
|
snipe
|
ea429d650e
|
Initial audit date fix
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 20:19:38 -08:00 |
|
snipe
|
4f89dfee49
|
Merge pull request #10679 from snipe/fixes/timing_attack_mitigation_for_forgot_password
Added usleep random to forgotten password method to mitigate timing attacks
|
2022-02-16 11:17:00 -07:00 |
|
snipe
|
017534bc07
|
Added deleted_at to license transformer
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 09:33:28 -08:00 |
|
snipe
|
5540069cce
|
Be more specific with deleted license point
Require this value to be "true" speciically to get the deleted list
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 09:14:04 -08:00 |
|
snipe
|
1ad56760ce
|
Adds delete endpoint for licenses
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 09:08:50 -08:00 |
|
Brady Wetherington
|
290baf1c8d
|
refactor and clean up attribute-changing logic for assets
|
2022-02-15 18:29:45 -08:00 |
|
snipe
|
f878e0ad66
|
Fixes 2FA cookie -> user issue
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-15 18:29:23 -08:00 |
|
snipe
|
178e440951
|
Added usleep :(
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-15 18:09:58 -08:00 |
|
snipe
|
cab4fa1687
|
Fixes some conceptual gates
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-14 15:42:23 -08:00 |
|
snipe
|
4804e5b3ab
|
Added Asset edit/delete gates to maintenances
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-14 15:34:06 -08:00 |
|
snipe
|
d77a47765e
|
Adds gate to supplier
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-13 11:53:45 -07:00 |
|
snipe
|
2dad27eed6
|
Added additional gate for selectlists
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-11 11:46:14 -08:00 |
|
snipe
|
f5ffda8053
|
Ahem.
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-10 22:43:51 -08:00 |
|
snipe
|
70af10ae6c
|
Merge pull request #10640 from JonathonReinhart/10552-add-checkin-api-date
Fix #10552: Add checkin_at parameter to /hardware/:id/checkin API
|
2022-02-10 09:54:20 -08:00 |
|
snipe
|
b9a8d45c07
|
Better messaging
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-09 16:30:42 -08:00 |
|
snipe
|
7794c2f44b
|
Check that the fieldset exists before trying to detach it from the fieldset
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-09 16:16:16 -08:00 |
|
snipe
|
d06e3dd892
|
Merge branch 'master' of https://github.com/snipe/snipe-it
|
2022-02-09 14:40:33 -08:00 |
|
snipe
|
6b25b53462
|
Merge pull request #10628 from inietov/fixes/default_values_dont_allow_checkbox_radio
Fixes #10299 Default Values do not allow Checkbox/Radio Buttons
|
2022-02-09 14:39:46 -08:00 |
|
Ivan Nieto Vivanco
|
6d79c9f3e2
|
Save the default values for custom fields with same format than Assets do for actual values
|
2022-02-09 13:41:33 -06:00 |
|
Ivan Nieto Vivanco
|
a36957dd77
|
Finish the implementation of custom fields default values for checkboxes
|
2022-02-09 13:12:42 -06:00 |
|
Ivan Nieto Vivanco
|
2f3499e4b9
|
Show checkboxes a little less assy, actually save the data checked by them
|
2022-02-09 10:49:10 -06:00 |
|
Jonathon Reinhart
|
3536d08477
|
Add checkin_at parameter to /hardware/:id/checkin API
Fixes #10552
|
2022-02-08 20:23:09 -05:00 |
|
Brady Wetherington
|
9a66f6a254
|
Remove extraneous backslash
|
2022-02-08 12:09:40 -08:00 |
|
Brady Wetherington
|
5e94726ec1
|
Properly alert when invalid JSON is submitted to something that wants JSON
|
2022-02-08 12:05:05 -08:00 |
|
Jonathon Reinhart
|
cd963179fd
|
Fix /hardware/{id}/checkin API response on error
Fixes #10629
|
2022-02-08 01:08:42 -05:00 |
|
snipe
|
b3a0f86431
|
Temp fix for weird JSON format in history
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-07 18:27:55 -08:00 |
|
Ivan Nieto Vivanco
|
eac8e0bdba
|
Add a casting to a truthy/falsy that needs to be integer
|
2022-02-02 13:54:57 -06:00 |
|
Ivan Nieto Vivanco
|
2fec40d7df
|
Adds actionlog for bulk edits
|
2022-02-01 00:00:12 -06:00 |
|
snipe
|
aa3aa78204
|
Adds Lookup Asset by Custom Field via API [sc-18632]
Signed-off-by: snipe <snipe@snipe.net>
|
2022-01-28 09:08:48 -08:00 |
|
Ivan Nieto Vivanco
|
f510b9c2a9
|
Add query to filter non-deprecable assets when the Depreciation Report is called
|
2022-01-15 14:21:31 -06:00 |
|
snipe
|
984db1ef44
|
Apply personal API token fix to master
Signed-off-by: snipe <snipe@snipe.net>
|
2022-01-13 01:39:56 -08:00 |
|
Haxatron
|
bb095641c2
|
Update BulkAssetModelsController.php
https://huntr.dev/bounties/efdf2ead-f9d1-4767-9f02-d11f762d15e7
|
2022-01-06 09:50:11 +08:00 |
|
snipe
|
884b6b0270
|
Fixes format property on invalid custom field object
Signed-off-by: snipe <snipe@snipe.net>
|
2022-01-03 19:14:50 -08:00 |
|
snipe
|
2ee84c2675
|
Added a few more comments
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-30 18:33:28 -08:00 |
|
snipe
|
c6ce928567
|
Added allow list to modal view options
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-30 18:16:49 -08:00 |
|