spencerrlongg
7e4a0eedf0
rm dumb note
2024-03-25 10:46:26 -05:00
Godfrey M
633249b08a
user assets get updated when a user changes location
2024-03-21 15:15:40 -07:00
Godfrey M
21c3b1fbd2
rename declined message to note, increased width of textarea
2024-03-21 14:03:25 -07:00
snipe
828b84084d
Added validation for last_audit_date and next_audit_date
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-21 18:29:38 +00:00
snipe
c4b7e77498
Merge pull request #14089 from spencerrlongg/bug/escaped_quotes_in_listbox
...
Use `htmlentities()` instead of `htmlspecialcharacters()` on Custom Field Listbox Values
2024-03-21 12:55:25 +00:00
snipe
91c7180bfd
Merge pull request #14469 from snipe/feature/sc-19515/2fa_reset_log
...
Added 2FA reset log entry
2024-03-21 12:52:22 +00:00
snipe
7c39f516b9
Merge pull request #14421 from marcusmoore/fixes/add-minimal-validation-around-asset-tags
...
Adds a minimal amount of validation around asset_tags in AssetsController
2024-03-21 00:04:44 +00:00
snipe
5ed2bd0fb7
Skip the normal edit observer
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 23:52:22 +00:00
snipe
2067b1138a
Added the log item
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 23:43:58 +00:00
snipe
321414f6e3
Updated comment
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:38:48 +00:00
snipe
7787fe42c8
Added avif to helpers
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:30:28 +00:00
snipe
3b66912742
Fixed #14460 - added support for avif
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:25:02 +00:00
Godfrey M
62745923cf
fixes API location delete
2024-03-19 15:25:28 -07:00
Godfrey M
090466123f
add withCount to query instead
2024-03-19 15:18:18 -07:00
Godfrey M
38a3e36cd6
fixes translation usage
2024-03-19 14:32:21 -07:00
Godfrey M
e8dc634a40
fixes translation usage
2024-03-19 14:30:53 -07:00
Godfrey M
b9986033cc
removed abbr. of variable, changed variable types in migration
2024-03-18 16:03:40 -07:00
Godfrey M
57f5d4a570
deleted_msg saves to db
2024-03-18 10:45:47 -07:00
Godfrey M
4588393b76
adds declined msg to mail notif, updates lang files and checkout acceptance controller
2024-03-18 10:25:55 -07:00
snipe
7bae4c39c6
Merge pull request #14401 from uberbrady/fix_locale_warning
...
Fix [sc-25008] - correct and improve legacy language warnings
2024-03-14 15:42:28 +00:00
snipe
cce8cb4f5e
Move requestable scope below sorting, etc
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-14 13:24:22 +00:00
Marcus Moore
0fcf223960
Add minimal validation for asset_tags
2024-03-12 12:00:10 -07:00
Brady Wetherington
a2e70dd6b2
Fix [sc-25008] - correct and improve legacy language warnings
...
The legacy language warning was misfiring when a user's language
didn't match the APP_LOCALE from .env.
Additionally, we weren't properly warning when the legacy-language
came from Settings or from the user themselves. Both of which should
be impossible but still probably not a bad idea to warn on it, anyways
2024-03-08 14:04:21 +00:00
snipe
5cf10cec34
Remloved unneeded validation message
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-07 23:40:30 +00:00
Marcus Moore
f270f30728
Redirect if no assets are returned from query
2024-03-07 12:30:08 -08:00
snipe
4231058aa1
Merge pull request #14371 from Godmartinz/RB17900_notification_bug
...
Adds User email check when sending Asset acceptance reminder
2024-03-07 10:18:19 +00:00
Godfrey M
c9d54baa10
bulk actions are handled before sorting
2024-03-05 15:47:52 -08:00
Godfrey M
6c3a668400
checks to see if a user has an email before sending them a reminder email.
2024-03-05 10:30:24 -08:00
spencerrlongg
ad0f873ece
rm validation stuff
2024-03-05 11:58:00 -06:00
snipe
19e0fb7955
Reverting CSP change
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-01 12:25:14 +00:00
snipe
93e69ab0c6
Removed unsafe-inline and unsafe-eval
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-01 11:44:49 +00:00
snipe
aaae952acb
Use SVG cleaner on favicons
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-01 10:17:57 +00:00
akemidx
eb0657c953
Merge branch 'develop' into bug/sc-24812
2024-02-28 17:22:16 -05:00
snipe
7c3d8b896b
Updated asset transformers/presenters to display requestable status
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 14:59:55 +00:00
snipe
a4941031cb
Merge pull request #14260 from marcusmoore/chore/sc-24808
...
Added tests around asset check in and added missing actions to the api controller action
2024-02-28 13:34:12 +00:00
snipe
9fd6aea325
Merge pull request #14281 from Godmartinz/preview-label-fields
...
Added better label previews with the new label engine
2024-02-28 11:48:05 +00:00
snipe
a52181c995
Merge pull request #14283 from akemidx/bug/sc-24788
...
FIXED: Checked in Assets Did Not Show in Custom Report when Selecting a Valid Checked Out Date
2024-02-28 11:47:46 +00:00
snipe
ee75df0f0a
Merge pull request #14346 from snipe/feature/sc-18728
...
Added `min_amt` functionality to licenses
2024-02-28 11:26:25 +00:00
snipe
a059a42799
Added use Auth to API controller
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 11:14:48 +00:00
snipe
4ffb7790df
Added min_amt to API transformer/presenter
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 11:07:18 +00:00
snipe
92b7c4b5ec
Allow sorting on min_amt
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 11:05:13 +00:00
snipe
9efbcbbd5e
Added min_amt to licenses
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 11:04:42 +00:00
snipe
31fa0a7044
Removed logging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 11:04:32 +00:00
snipe
0bd27d61b0
Added created_by to groups table
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 08:15:59 +00:00
Marcus Moore
5084e5d3ef
Improve variable type
2024-02-27 12:23:26 -08:00
Marcus Moore
a5516e3511
Improve trait name
2024-02-27 12:06:29 -08:00
Marcus Moore
0e460baf82
Improve readability
2024-02-27 12:03:36 -08:00
snipe
a184b4e67c
Nicer UI for history importer
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-23 11:40:10 +00:00
Marcus Moore
4caadcfa19
Clear pending checkout acceptances when checking in asset via api
2024-02-22 13:33:16 -08:00
Marcus Moore
dba837b1d2
Move location migration logic to trait
2024-02-22 13:21:52 -08:00
Marcus Moore
714fc63050
Have legacy locations updated upon api asset checkin
2024-02-22 13:14:30 -08:00
Marcus Moore
2df026bcb5
Allow updating asset default location when checking in asset via api
2024-02-22 12:40:14 -08:00
spencerrlongg
14358651e4
pushing to test other branches
2024-02-22 13:28:23 -06:00
snipe
f04aeb9f2b
Fixed spacing
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-22 18:31:02 +00:00
snipe
dc902e7a5a
Fixed return type
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-22 18:30:23 +00:00
snipe
4fc66e19bb
Check for activeFile before trying to get header
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-22 18:28:01 +00:00
snipe
cb78451d6c
Made website searchable on users table
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-22 16:13:54 +00:00
snipe
e8ad8a7448
Added email, phone icons
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-22 14:48:01 +00:00
snipe
3351998efd
Only send notification if the item is assigned to a person
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-22 12:03:07 +00:00
spencerrlongg
20dbacd22f
store good, update needs work
2024-02-21 21:33:34 -06:00
Marcus Moore
aa2632fe46
Merge branch 'develop' into chore/sc-24808
2024-02-21 12:33:06 -08:00
Godfrey M
14c86d447b
added filter to collectifunction
2024-02-21 11:38:03 -08:00
Godfrey M
bee016e0be
keeps example values in the example preview, fixes indent
2024-02-21 09:31:01 -08:00
snipe
54552fc95c
Merge pull request #14192 from inietov/fixes/api_issue_checkin_licenses
...
Fixed #14183 API /hardware/:id/checkin doesn't return Licenses
2024-02-21 11:35:06 +00:00
snipe
04891c7c61
Eager load relations to determine
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 22:25:00 +00:00
spencerrlongg
26728a85ad
this seems to work for patches
2024-02-20 13:18:40 -06:00
spencerrlongg
c6d85a1b0b
allows arrays on checkbox values
2024-02-20 12:23:24 -06:00
snipe
71610fb20f
Merge pull request #14304 from snipe/feature/sc-24018
...
Added ability to bulk delete locations
2024-02-20 18:14:51 +00:00
snipe
1797480128
Few more translations
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 17:27:56 +00:00
snipe
972b198248
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 17:27:16 +00:00
snipe
c3f21d9292
Removed new checkbox selectability on users and assets - more complicated work to be done
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 16:41:58 +00:00
snipe
9b146ae1d2
Formatting for API response
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 16:40:51 +00:00
snipe
a32c679519
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 16:40:31 +00:00
snipe
1e602793b2
Added manager ID to filter
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 16:40:23 +00:00
Brady Wetherington
a6dfd67cd7
Clean up the file extension on image file uploads
2024-02-19 16:51:23 +00:00
snipe
30f9acfcf3
Disallow uploads in demo mode
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-19 16:11:17 +00:00
snipe
cb5b691ec1
Check that the model exists before trying to access properties
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-19 15:34:57 +00:00
snipe
8f8edd4126
Added /backups/latest endpoint
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-19 14:35:09 +00:00
snipe
10bb844087
Added comment
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-19 14:34:51 +00:00
snipe
ba3baabb50
Fixed @return
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-19 14:34:36 +00:00
snipe
c76fbe4edb
Return 404 if download file isn’t found
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-19 13:05:44 +00:00
snipe
9847934de9
Better handle large downloads on backup API
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-19 12:20:37 +00:00
snipe
db73f80058
Starting off
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-16 18:57:50 +00:00
akemidx
4dd479dad7
formatting
2024-02-15 19:59:26 -05:00
akemidx
d01e1e8eeb
query works, but still only shows the asset once even if it's been checked out multiple times
2024-02-15 19:56:08 -05:00
akemidx
e3ef737ac4
query first go
2024-02-15 19:15:27 -05:00
Godfrey M
69317fb403
Marcus is a beast and condensed everything into 4 lines
2024-02-15 13:26:47 -08:00
Godfrey M
1b80c8938a
removed unnecessary if statement
2024-02-15 13:04:00 -08:00
Godfrey M
dc77c01fd3
removes spacing
2024-02-15 13:00:38 -08:00
Godfrey M
83474d6e59
moves the array manipulation up the page where it should be
2024-02-15 12:59:47 -08:00
Godfrey M
529310c93a
fixed typo in comment
2024-02-15 12:41:31 -08:00
Godfrey M
70f26f33a5
does a collect and map instead of a for loop for the array solution
2024-02-15 12:34:09 -08:00
Godfrey M
414bc10c40
removes the double for loop with a better solution
2024-02-15 12:02:08 -08:00
Godfrey M
250b0a7afb
gives a better example with custom fields in label preview
2024-02-15 11:50:41 -08:00
snipe
d8b1eec91b
Merge pull request #14197 from inietov/fixes/component_licenses_checkouts_not_displayed_in_asset_history
...
Fixes #14010 Adds Components and Licenses logs to Assets history view
2024-02-15 09:57:46 +00:00
snipe
13d2af2155
Fixed ambiguous query on supplier_id in maintenances
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-15 09:51:14 +00:00
akemidx
232fad0145
query and progress notes
2024-02-14 20:00:23 -05:00
Godfrey M
5cbcac28b1
adds custom fields as an example in label settings
2024-02-14 16:53:38 -08:00
spencerrlongg
115e0fc119
implode submitted arrays to save
2024-02-14 13:15:23 -06:00
Marcus Moore
d7aed2edc9
Remove unneeded code
2024-02-14 11:10:45 -08:00
Marcus Moore
7bfd02054b
Remove duplicate authorization check
2024-02-14 10:48:41 -08:00
spencerrlongg
1ceb703129
rm var
2024-02-14 12:44:09 -06:00
spencerrlongg
d9c61fdb02
validation msg
2024-02-14 11:52:25 -06:00
snipe
638071dadd
Check the asset is not deleted when creating the permissions array
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-14 10:14:38 +00:00
snipe
8a4c90ade8
Check that the asset is not deleted
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-14 10:14:25 +00:00
snipe
35a70988cb
Added sorting by status label
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-14 09:58:39 +00:00
snipe
abc9ee22c6
Added serial and status to transformer
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-14 09:48:02 +00:00
snipe
e5ee9760c0
I don’t think we use these anyore because of the modifiers on date
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-14 09:47:33 +00:00
snipe
7868a8c174
Added serial for API controller
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-14 09:47:13 +00:00
spencerrlongg
25241542d2
progress, going to sleep
2024-02-14 02:12:31 -06:00
akemidx
c5e8d1c276
custom report tinker
2024-02-13 17:09:51 -05:00
akemidx
4093327b7f
adding in Last Checkin Date to Hardware view and index
2024-02-13 16:52:12 -05:00
akemidx
4a57cfaf3e
commenting out the nulling of last checkout date on checkin page and API
2024-02-13 16:21:18 -05:00
snipe
a76a69d085
Fixed incorrect string for location not existing
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-13 20:23:32 +00:00
spencerrlongg
d55358652b
cleanup for pr
2024-02-13 13:45:56 -06:00
snipe
111daffc17
Merge pull request #14188 from spencerrlongg/bug/14146
...
Fixes Default Location Being Set During Asset Creation and Checkout
2024-02-10 11:47:46 +00:00
snipe
3868e711f4
Return null if asset was hard-deleted/purged
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-09 21:08:07 +00:00
snipe
479abd5231
Do not try to return a serial if the item doesn’t exist
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-09 20:53:33 +00:00
snipe
55b3050ca8
Re-applied previous withTrashed PR
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-09 20:37:18 +00:00
snipe
84f8eee869
Revert "Fixed barcodes crashing if asset was deleted"
2024-02-09 20:35:45 +00:00
snipe
fa47707974
Use withTrashed() to get the barcode on deleted assets
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-09 20:26:49 +00:00
Brady Wetherington
9bb191f29f
Fixes file upload XSS vulnerability [sc-24156]
2024-02-08 14:30:40 +00:00
spencerrlongg
bcfa913450
condition makes this work, needs more testing
2024-02-07 20:03:37 -06:00
spencerrlongg
43d8474caa
a note to remember this tomorrow
2024-02-06 17:45:46 -06:00
snipe
bf674a0f4d
Removed backticks
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-06 15:58:36 +00:00
snipe
b170755c3d
Switch to bulk updating to handle audit interval updates
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-06 15:52:46 +00:00
snipe
a43183ff96
Increased chunk
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-06 09:09:27 +00:00
snipe
b49935701b
Chunk data to reduce memory on large datasets when updating next_audit_date
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-05 20:48:24 +00:00
snipe
7b4020c5e9
Updated string paths for URL
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-05 19:09:16 +00:00
snipe
32c360f032
Re-added UI for load_remote
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-05 18:23:52 +00:00
snipe
1a480435de
Merge pull request #14190 from marcusmoore/bug/sc-24685
...
Fixed consumable checkout via API not sending notification
2024-02-05 17:16:57 +00:00
snipe
650aa25659
Merge pull request #14191 from Godmartinz/googlechat_webhook
...
Added support for Google Chat notifications
2024-02-05 17:10:54 +00:00
snipe
f52b00256d
Merge pull request #14213 from snipe/fixes/orientate_on_exif
...
Fixed FD-40296 - mobile uploads sometimes uploading with incorrect orientation
2024-02-05 16:22:03 +00:00
snipe
5882d71f9b
Fix company asset counts for dashboard widget
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-05 15:55:53 +00:00
snipe
3b948c7b7e
Add orientate to image upload
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-05 14:29:43 +00:00
Ivan Nieto Vivanco
5e4a3379a9
Adds Components and Licenses logs to Assets history view
2024-02-01 01:35:25 -06:00
Godfrey M
8a5b469ff8
adds # to webhook channel trigger
2024-01-31 12:54:30 -08:00
Godfrey M
ed06f32a7a
adds # to webhook channel trigger
2024-01-31 12:53:56 -08:00
Godfrey M
a876703f8f
spacing
2024-01-31 10:48:48 -08:00
Godfrey M
01bb8d8c9a
spacing
2024-01-31 10:48:23 -08:00
Godfrey M
f452204d62
applies a conditional to have the the integration test button function properly
2024-01-31 10:47:25 -08:00
Ivan Nieto Vivanco
51ae485f20
When asset is checked-in the assigned licenses also are taken from the user
2024-01-30 19:44:38 -06:00
Marcus Moore
2e0e39ccc8
Ensure notification is sent when consumable is checked out via api
2024-01-30 13:19:20 -08:00
Marcus Moore
13c37e708f
Implement tests around consumable checkout
2024-01-30 12:43:20 -08:00
Godfrey M
87bce0c097
adds google notifs for asset check in and out
2024-01-30 12:38:17 -08:00
spencerrlongg
d0a82adc3f
changed condition
2024-01-29 20:44:26 -06:00
Marcus Moore
42ec2548c9
Fire event when accessory checked out via API
...
Brings behavior in line with GUI controller
2024-01-29 17:03:19 -08:00
Marcus Moore
7d45cfff2c
Ensure accessory available when checking out via api
2024-01-29 16:49:09 -08:00
Godfrey M
dfa33f651a
webhook test works
2024-01-29 12:58:09 -08:00
Godfrey M
30c2927987
merged develope
2024-01-29 11:21:00 -08:00