snipe
|
8c1cd87831
|
Added slacksettingsrequest as use statement
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-08 15:56:22 -08:00 |
|
snipe
|
3debe78574
|
Merge pull request #10350 from inietov/fixes/trim_custom_fields_names
Apply trim() function when storing Custom Fields names
|
2021-11-24 19:42:04 -08:00 |
|
snipe
|
830d07f84f
|
Removed escaping on input save for asset checkout on creation
Signed-off-by: snipe <snipe@snipe.net>
|
2021-11-24 19:19:32 -08:00 |
|
Ivan Nieto Vivanco
|
1ca770895a
|
Apply trim() function when storing Custom Fields names
|
2021-11-22 18:43:21 -06:00 |
|
Brady Wetherington
|
3ea209a507
|
Escape asset_tag attribute at controller level for consumption in bulk checkout
|
2021-11-08 20:27:43 -08:00 |
|
snipe
|
2f9e5f79af
|
Merge pull request #10139 from FliegenKLATSCH/patch-1
API: Do not include deleted items per default on lookup by serial
|
2021-10-28 17:09:20 -07:00 |
|
snipe
|
17bf899a17
|
Set default_label to 0 instead of null in API
Signed-off-by: snipe <snipe@snipe.net>
|
2021-10-25 20:14:01 -07:00 |
|
FliegenKLATSCH
|
24c484303e
|
Do not include deleted assets by default when doing lookup by serial
This commit introduces a new query parameter `deleted`, which can be set to `true` to include deleted assets in the response.
|
2021-10-09 08:56:31 +02:00 |
|
snipe
|
5d94b99035
|
Switched to 5 in one minute
Signed-off-by: snipe <snipe@snipe.net>
|
2021-10-08 15:53:32 -07:00 |
|
snipe
|
0674ef5a3d
|
Fixed number to 1 (for minutes)
Signed-off-by: snipe <snipe@snipe.net>
|
2021-10-08 15:43:32 -07:00 |
|
snipe
|
702791210e
|
Throttle password reset requests to 5 every 60 seconds
Signed-off-by: snipe <snipe@snipe.net>
|
2021-10-08 14:26:30 -07:00 |
|
snipe
|
ccd430ce07
|
Switched back down to debug level
Signed-off-by: snipe <snipe@snipe.net>
|
2021-10-06 12:38:21 -07:00 |
|
snipe
|
f306401e7e
|
Fixed SVG XSS vuln
Signed-off-by: snipe <snipe@snipe.net>
|
2021-10-06 12:26:45 -07:00 |
|
snipe
|
34eab88b7e
|
Removed debugging
Signed-off-by: snipe <snipe@snipe.net>
|
2021-10-04 20:25:31 -07:00 |
|
snipe
|
b20c841a89
|
Fixed asset models restore
Signed-off-by: snipe <snipe@snipe.net>
|
2021-10-04 19:29:13 -07:00 |
|
snipe
|
52ea172e5d
|
Fix ID array
Signed-off-by: snipe <snipe@snipe.net>
|
2021-10-04 17:18:07 -07:00 |
|
Brady Wetherington
|
f3338667c7
|
Create new ParseCurrency helper and use it in the appropriate controllers
|
2021-09-28 18:20:39 -07:00 |
|
Brady Wetherington
|
f380da3f19
|
Try to ensure all currency output is formatted correctly.
|
2021-09-28 16:45:47 -07:00 |
|
snipe
|
2f9582ee5c
|
Switched to loadMissing for performance
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-23 17:31:19 -07:00 |
|
snipe
|
3b7ce0091c
|
Load components in the assets API if components=true in API request
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-23 17:23:53 -07:00 |
|
snipe
|
3862b6476b
|
Merge pull request #10122 from inietov/fixes/api_issue_when_component_checkout
Fixes API Issue when checking out a component
|
2021-09-23 13:21:48 -07:00 |
|
Ivan Nieto Vivanco
|
7dfab3a6e2
|
Change the condition to 'bigger or equal' instead of just 'bigger than' in ComponentsController checkout api
|
2021-09-23 15:02:39 -05:00 |
|
snipe
|
a6b3aa5f04
|
Don't try to delete the file if there is no log entry
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-22 19:04:25 -07:00 |
|
snipe
|
0763c76a4e
|
Fixed scoping with leftjoin
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-21 20:54:24 -07:00 |
|
snipe
|
5d32c17a2e
|
Removed comments
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-21 20:01:36 -07:00 |
|
snipe
|
10ca7cffc3
|
Fixes for query scoping, ordering, and nicer readability
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-21 19:59:23 -07:00 |
|
snipe
|
61176335d7
|
Improved category_type with strtolower() to make it case insensitive
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-21 15:51:41 -07:00 |
|
snipe
|
8a93e1e796
|
Remove asset call on depreciation report controller method
We ajax this in now, so no need for it
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-15 13:49:53 -07:00 |
|
snipe
|
d96f877aa4
|
Default show_in_nav to 0
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-15 11:33:13 -07:00 |
|
snipe
|
80175cffdc
|
Fixed #9969 - added color, show_in_nav, and default_label to status labels API
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-10 20:44:49 -07:00 |
|
snipe
|
2f25eb598b
|
Allow the Assets API controller to handle depreciation reports
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-01 17:33:39 -07:00 |
|
snipe
|
4293674f4a
|
Added a few more fields to the users API
Signed-off-by: snipe <snipe@snipe.net>
|
2021-08-31 12:36:06 -07:00 |
|
snipe
|
aeae681326
|
Fixecd copypasta from state to zip
Signed-off-by: snipe <snipe@snipe.net>
|
2021-08-31 12:28:20 -07:00 |
|
snipe
|
4794f93224
|
Added additional fields for user search
Signed-off-by: snipe <snipe@snipe.net>
|
2021-08-31 12:24:53 -07:00 |
|
snipe
|
f58ed6bd1f
|
Merge pull request #9982 from Shankschn/master
Fixes: When using API CheckIn assets, there will be two CheckIn records in the Activity Report log for each asset.
|
2021-08-31 11:08:52 -07:00 |
|
Ivan Nieto Vivanco
|
d917ae51b7
|
Remove e() function from other input fields
|
2021-08-31 04:01:20 -05:00 |
|
Ivan Nieto Vivanco
|
e7470b5545
|
Remove e() function from the saved notes when updating an asset maintenance
|
2021-08-31 03:50:57 -05:00 |
|
snipe
|
085be16966
|
Merge remote-tracking branch 'origin/develop'
|
2021-08-25 14:45:41 -07:00 |
|
Ivan Nieto Vivanco
|
4a79c77630
|
Add a condition to checkin licenses assigned to Assets
|
2021-08-25 16:38:34 -05:00 |
|
snipe
|
4abb9baa95
|
Merge remote-tracking branch 'origin/develop'
|
2021-08-24 15:29:41 -07:00 |
|
Shanks
|
961e80404a
|
Update AssetsController.php
Fix:When using API CheckIn assets, there will be two CheckIn records in the Activity Report log for each asset.
|
2021-08-24 16:39:58 +08:00 |
|
snipe
|
70f6753f50
|
Merge pull request #9979 from uberbrady/add_client_side_ldap_certs
Add client side ldap certs
|
2021-08-23 16:30:46 -07:00 |
|
snipe
|
9285697611
|
Merge remote-tracking branch 'origin/develop'
|
2021-08-20 17:30:52 -07:00 |
|
snipe
|
9687bcb41c
|
Fixed issue where consumables model number was not searchable
Signed-off-by: snipe <snipe@snipe.net>
|
2021-08-20 17:30:35 -07:00 |
|
snipe
|
24af2ab67a
|
Merge remote-tracking branch 'origin/develop'
|
2021-08-18 14:31:53 -07:00 |
|
snipe
|
7b447a2f16
|
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
|
2021-08-18 14:31:38 -07:00 |
|
Ivan Nieto Vivanco
|
f04e23cacb
|
Add a small refactor so we not repeat logic
|
2021-08-18 15:22:53 -05:00 |
|
Ivan Nieto Vivanco
|
4207858a14
|
Fix the count in StatuslabelsController@getAssetsCountByStatuslabel() function that allows it to pass the correct index
Also edit the default color for assets with the Pending label, so it match the color in the docs
|
2021-08-18 14:08:35 -05:00 |
|
snipe
|
b88fde5dae
|
Nicer comment formatting
Signed-off-by: snipe <snipe@snipe.net>
|
2021-08-18 12:07:09 -07:00 |
|
Brady Wetherington
|
4d4badf830
|
Got the client-side LDAP setup working well enough for sync!
|
2021-08-17 14:43:36 -07:00 |
|
James Emanuel
|
98285001ac
|
Fixing Typo on creating Depreciation
|
2021-08-16 15:33:17 +03:00 |
|
snipe
|
ef687fdc7b
|
Fixed typo
Signed-off-by: snipe <snipe@snipe.net>
|
2021-08-14 14:07:04 -07:00 |
|
snipe
|
45caa8a90d
|
Added restore functionalty to asset API
Signed-off-by: snipe <snipe@snipe.net>
|
2021-08-14 14:06:15 -07:00 |
|
Godfrey M
|
01037cf9cb
|
initial commit: adds migration, input area and transformer modifications for depreciation minimum value [ch15358]
|
2021-08-10 18:26:43 -07:00 |
|
snipe
|
cdc4940338
|
Merge pull request #9881 from inietov/fixes/integrity_constraint_violation__emailing_password_reset
Fixes Integrity constraint violation when emailing password reset.
|
2021-07-30 16:01:53 -07:00 |
|
Ivan Nieto Vivanco
|
27cdfbc579
|
Edit the log message
|
2021-07-29 16:14:52 -05:00 |
|
Ivan Nieto Vivanco
|
405545cd88
|
Add exception handling in the ForgotPasswordController
|
2021-07-29 16:02:45 -05:00 |
|
snipe
|
593e1234a5
|
Merge pull request #9797 from markbrule/fixes/search_parameter_checkedout_api
Fixed #9671: wrap OR queries in sub-condition in checkedout search
|
2021-07-27 14:39:10 -07:00 |
|
Ivan Nieto Vivanco
|
38a2a0c1ee
|
Add the pertinent filters in Accessories and Consumables controllers
|
2021-07-26 12:59:15 -05:00 |
|
snipe
|
5f842d02ef
|
Fixed namespace
Signed-off-by: snipe <snipe@snipe.net>
|
2021-07-15 13:24:40 -07:00 |
|
Petri Asikainen
|
febf1ec20f
|
Support legacy image_source property
|
2021-07-14 13:09:50 +03:00 |
|
Petri Asikainen
|
7b12668af4
|
Merge branch 'develop' of github.com:snipe/snipe-it into feature/api-image-uploads
|
2021-07-13 17:23:44 +03:00 |
|
snipe
|
f785c3e759
|
Default to 1 if no qty is passed
Signed-off-by: snipe <snipe@snipe.net>
|
2021-07-08 16:04:52 -07:00 |
|
Petri Asikainen
|
41deabf998
|
hand legacy image_source field
|
2021-07-07 09:33:48 +03:00 |
|
Petri Asikainen
|
7a424649c8
|
convert image_source field
This reverts commit b2d3ba7410 .
|
2021-07-07 09:24:24 +03:00 |
|
Petri Asikainen
|
b2d3ba7410
|
Revert "Handle image_source with ConvertBase64ToFiles"
This reverts commit 168d7f7004 .
|
2021-07-07 09:20:38 +03:00 |
|
Petri Asikainen
|
168d7f7004
|
Handle image_source with ConvertBase64ToFiles
|
2021-07-07 09:08:37 +03:00 |
|
Mark Brule
|
f706c87cbc
|
wrap OR queries in sub-condition
|
2021-07-06 20:43:17 +00:00 |
|
Petri Asikainen
|
e275c9ee90
|
Fixed case again
|
2021-07-06 07:10:03 +03:00 |
|
Petri Asikainen
|
347e742e88
|
merged current upstream/develop
|
2021-06-30 12:02:05 +03:00 |
|
snipe
|
868419b35b
|
Components checkin/checkout via API
Signed-off-by: snipe <snipe@snipe.net>
|
2021-06-30 01:02:44 -07:00 |
|
Petri Asikainen
|
6048acc95d
|
fixed capitalization
|
2021-06-30 06:36:12 +03:00 |
|
Petri Asikainen
|
b0aa26e6cb
|
Support images and multipart requests
|
2021-06-29 14:25:20 +03:00 |
|
Petri Asikainen
|
b49733832c
|
Support images and multipart requests
|
2021-06-29 12:29:17 +03:00 |
|
Petri Asikainen
|
8c0be3aa87
|
Support images and multipart requests
|
2021-06-29 12:29:07 +03:00 |
|
Petri Asikainen
|
a936744e2e
|
Support images and multipart requests
|
2021-06-29 12:28:52 +03:00 |
|
Petri Asikainen
|
f9da83bc46
|
Support images and multipart requests
|
2021-06-29 12:28:42 +03:00 |
|
Petri Asikainen
|
fc8498972e
|
Support images and multipart requests
|
2021-06-29 12:28:32 +03:00 |
|
Petri Asikainen
|
4ba75291e4
|
Support images and multipart requests
|
2021-06-29 12:27:18 +03:00 |
|
Petri Asikainen
|
a7b1e31776
|
Support images and multipart requests
|
2021-06-29 12:27:08 +03:00 |
|
Petri Asikainen
|
604a0b6df1
|
Support images and multipart requests
|
2021-06-29 12:26:59 +03:00 |
|
Petri Asikainen
|
4ed9788a0e
|
Support images and multipart requests
|
2021-06-29 12:26:45 +03:00 |
|
Petri Asikainen
|
e8a4059db9
|
Support images and multipart requests
|
2021-06-29 12:26:24 +03:00 |
|
Petri Asikainen
|
aa402bf896
|
Support images and multipart requests
|
2021-06-29 12:26:15 +03:00 |
|
Petri Asikainen
|
8d4219759e
|
Support images and multipart requests
|
2021-06-29 12:25:47 +03:00 |
|
snipe
|
a4fd0c9c6d
|
Fixed #9745 - added searchable, sortable notes field to status labels
Signed-off-by: snipe <snipe@snipe.net>
|
2021-06-28 11:52:57 -07:00 |
|
Petri Asikainen
|
e0c5205e9b
|
save images
|
2021-06-28 08:11:33 +03:00 |
|
Petri Asikainen
|
695bf1e15f
|
save images
|
2021-06-28 07:58:08 +03:00 |
|
Petri Asikainen
|
0e2efb6573
|
Merge branch 'develop' of github.com:snipe/snipe-it into feature/api-image-uploads
|
2021-06-27 14:38:55 +03:00 |
|
snipe
|
e44a25126d
|
Merge pull request #9676 from inietov/fixes/asset_checkin_api_doesnt_send_notification
Fixes #9666 Asset checkin via api doesn't send notification.
|
2021-06-23 14:35:07 -07:00 |
|
Petri Asikainen
|
491a788cd0
|
testing image upload via api
|
2021-06-23 11:22:41 +03:00 |
|
Travis Miller
|
4f6b1bb12d
|
Fixed #9680: Use Eloquent’s withCount method to count Statuslabel assets
|
2021-06-09 11:52:04 -05:00 |
|
Ivan Nieto Vivanco
|
bb227cafb2
|
Added event to trigger the notification.
|
2021-06-08 13:16:13 -05:00 |
|
Ivan Nieto Vivanco
|
9f944ad497
|
Added the 'required' attribute to the input file n the upload file form modal. Added a validation for the UserFilesController if the user doesn't select any file to upload [ch16471].
|
2021-05-27 15:48:13 -05:00 |
|
snipe
|
9f2b4c721d
|
Allow password reset from user profile
Signed-off-by: snipe <snipe@snipe.net>
|
2021-05-26 15:32:23 -07:00 |
|
kcoyo
|
cee6f0d579
|
Update LoginController.php
Fixed #9607 - Sessions expire for SAML/RemoteUser/LDAP
|
2021-05-25 16:37:34 -07:00 |
|
Marc Leuser
|
4030789786
|
fix LicenseSeatsController method documentation (#9584)
in an attempt to get the automatic API reference generation to work
|
2021-05-14 16:14:32 -07:00 |
|
Ivan Nieto Vivanco
|
36a43642d8
|
Changed the orderBy clause inside the custom reports function that forms the CSV to be 'id' so making it a unique value and don't causes repeated items. [ch14587] (#9535)
|
2021-05-04 23:50:02 -07:00 |
|
markbrule
|
6c1553167d
|
issue #9422 - pivot ID was being used as a user_id (#9512)
|
2021-05-04 22:27:01 -07:00 |
|
Tom Misilo
|
a6bbe1fec3
|
Delete file from assets folder, not just the ref. (#9525)
|
2021-05-04 22:18:22 -07:00 |
|