Brady Wetherington
7d136f9970
Initial rough stabs at prefix removal and SQL sanitization
2024-02-13 12:16:15 +00:00
Marcus Moore
5b181ecea7
Remove old comment
2024-02-12 16:29:34 -08:00
Marcus Moore
728aaaab20
Ensure accessory check in emails are not sent when the setting is disabled
2024-02-12 16:22:59 -08: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
Godfrey Martinez
9dcd14a712
Merge branch 'develop' into general-hook_fix
2024-02-08 14:59:25 -08: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
3b36372a66
Merge pull request #14222 from marcusmoore/tests/company-get-id-for-current-user
...
Added tests around getIdForCurrentUser method
2024-02-05 22:04:08 +00:00
Marcus Moore
9e6e2de71e
Add docblock
2024-02-05 12:49:29 -08: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
snipe
d965fe759a
Fixed #14211 - duplicate array key ldap_emp_num
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-05 12:28:24 +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
Godfrey M
0eabb147b2
adds google notif to consumable check out
2024-01-30 13:19:28 -08:00
Marcus Moore
2e0e39ccc8
Ensure notification is sent when consumable is checked out via api
2024-01-30 13:19:20 -08:00
spencerrlongg
63e733f0d6
changes from a note to a source
2024-01-30 15:14:59 -06:00
Godfrey M
2406d2cfdb
adds google notifs to license seats check in and out
2024-01-30 13:14:24 -08:00
Godfrey M
e074ca0bf9
adds google notifs to accessories check in and out
2024-01-30 12:57:45 -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
Godfrey M
22385a8e35
fix for general webhook not notifiying anymore
2024-01-30 10:47:18 -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
Godfrey M
e8159d97fa
changes
2024-01-29 11:12:25 -08:00
spencerrlongg
4cb804cf03
get rid of e()
on store and update
2024-01-26 11:56:02 -06:00
spencerrlongg
2b0dd8851c
probably needs more testing... but should work
2024-01-26 11:47:09 -06:00
Brady Wetherington
401e1842ee
Fixed pluralization bug due to dashed-locale names instead of underscored
...
Our locale directories are named things like 'en-US'. But the pluralization
code used by Laravel (through Symfony) requires locale names to be
in the format en_US. This change introduces a new Translator,
SnipeTranslator, which is a tiny set of changes against the built-in
one. It additionally adds a SnipeTranslationServiceProvider, which
loads up the new Translator.
2024-01-26 15:40:55 +00:00
spencerrlongg
2deba17d91
that's all of 'em
2024-01-25 20:04:02 -06:00
spencerrlongg
3574ef5bb9
a few more imports, component sample
2024-01-25 19:54:53 -06:00
spencerrlongg
abf13f1619
revert spacing
2024-01-25 19:37:59 -06:00
spencerrlongg
4a7df470f0
this works
2024-01-25 19:34:41 -06:00
spencerrlongg
c9101f4d97
initial work, not working yet
2024-01-25 18:18:24 -06:00
snipe
d6c61e1429
Removed attribute assigning blank EOL as 0
...
Signed-off-by: snipe <snipe@snipe.net>
2024-01-25 21:34:20 +00:00
snipe
85a158eaef
Merge pull request #14170 from uberbrady/saml_nonce_storage
...
Enforce SAML assertion ID uniqueness and notValidOnOrAfter attribute [FD-37019]
2024-01-25 20:14:40 +00:00
Brady Wetherington
b39b575fec
Add table-check; add command-description for Artisan command
2024-01-25 20:07:18 +00:00
Brady Wetherington
81b8243e1d
Enforce SAML assertion ID uniqueness and notValidOnOrAfter attribute
2024-01-25 19:53:24 +00:00
snipe
ab926f2e33
Merge pull request #14153 from Godmartinz/ms_teams_webhook
...
Added support for Microsoft Teams Notifications
2024-01-25 08:27:17 +00:00
Marcus Moore
f5dafc477a
Avoid unnecessary model hydration on asset model show page
2024-01-24 16:14:51 -08:00
Godfrey M
6e9a46e582
working on Chat integration test
2024-01-24 15:50:36 -08:00
Godfrey M
c65b32bcdb
removed translation fixed via method
2024-01-24 14:49:42 -08:00
Godfrey M
1d3124f89f
adding a test variable for test methods
2024-01-24 14:38:45 -08:00
snipe
105d4899f5
Removed debug line
...
Signed-off-by: snipe <snipe@snipe.net>
2024-01-24 20:33:13 +00:00
Godfrey M
ada1a593a4
add google placeholder
2024-01-24 11:29:32 -08:00
snipe
ba680126bc
Properly sort the results based on non-asset fields
...
Signed-off-by: snipe <snipe@snipe.net>
2024-01-24 19:09:06 +00:00
Godfrey M
00f07ac2ce
add translations, brush up code
2024-01-24 10:38:06 -08:00
snipe
165f9545ac
Merge pull request #13924 from snipe/bug/sc-20167
...
Set qty mutators
2024-01-24 18:21:06 +00:00
snipe
fff21416be
Merge pull request #14051 from akemidx/email_in_license_table
...
Email in License Seat Table
2024-01-24 15:37:43 +00:00
snipe
7668a6767d
Merge pull request #14102 from Godmartinz/seat-id-is-zero
...
Fixed license seats id turning to zero when sorting by department
2024-01-24 14:49:33 +00:00
snipe
661cc2b460
Merge pull request #14131 from Godmartinz/label_engine_translations
...
Adds translations for Label example
2024-01-24 13:36:40 +00:00
snipe
49dc1dd37a
Merge pull request #14132 from marcusmoore/chore/sc-24501
...
Improved radio button values in custom report form
2024-01-24 13:22:48 +00:00
Brady Wetherington
3bc1b9038d
Fix for LDAP syncing with base_dn and location_id and location
2024-01-24 11:54:29 +00:00
Godfrey M
49021d277c
if not location add default location
2024-01-23 13:33:57 -08:00
Godfrey M
f270672a3d
added a location check, to prevent notif blowing up
2024-01-23 13:05:39 -08:00
Godfrey M
7c529df49b
adds consumable checkout ms notification
2024-01-23 11:21:20 -08:00
Godfrey M
e969f8808c
adds licenses ms notifications
2024-01-23 11:10:04 -08:00
Godfrey M
5a46ef5d5b
adds Accessory Check in out Notifcations,
2024-01-22 15:30:15 -08:00
Godfrey M
f049cf5b06
adds Asset Check Out Notification
2024-01-22 10:57:22 -08:00
Godfrey M
befab608f2
cha cha cha changes
2024-01-17 17:59:20 -08:00
Godfrey M
cdcd868162
formats check in message for MS Teams
2024-01-17 17:31:23 -08:00
Godfrey M
ce02e43ab2
fixed integration link, added some conditionals
2024-01-17 16:30:27 -08:00
Godfrey M
9f2af40ef2
adds MS teams integration test
2024-01-17 13:41:45 -08:00
Godfrey M
93ef8317e8
added payload, new MS webhook test method
2024-01-17 11:49:31 -08:00
Marcus Moore
8aa5cf530b
Improve radio button values in custom report form
2024-01-16 12:33:16 -08:00
Godfrey M
74dc17b4b9
adds translations for Label example
2024-01-16 10:47:45 -08:00
snipe
adba2d5b6c
Remove 7 day padding for expected assets
...
Signed-off-by: snipe <snipe@snipe.net>
2024-01-15 16:11:31 +00:00
snipe
66c24e152f
Merge pull request #14114 from uberbrady/preserve_sort_in_label_generation
...
Fixed [FD-39640]: preserve sort order when generating asset labels
2024-01-11 21:46:01 +00:00
snipe
b94aaad9b5
Search on supplier name attached to maintenance
...
Signed-off-by: snipe <snipe@snipe.net>
2024-01-10 13:16:07 +00:00
Marcus Moore
423b636db9
Guard against non-integers being passed for company_id
2024-01-09 10:57:43 -08:00
Brady Wetherington
4b90f85372
Fixed [FD-39640]: preserve sort order when generating asset labels
2024-01-09 16:37:33 +00:00
snipe
8541a342cb
Merge pull request #14108 from Godmartinz/asset_maintenance_scope
...
Added supplier name as a searchable relation on the asset maintenance report
2024-01-08 22:25:55 +00:00
Godfrey M
4184b271f7
adds Supplier as a searchable relation on the asset maintenance report
2024-01-08 14:22:35 -08:00
snipe
2707c399ea
Check that the asset exists before trying to get properties
...
Signed-off-by: snipe <snipe@snipe.net>
2024-01-08 12:42:05 +00:00
snipe
f8a21bdb2d
Moved limit and offset to after additional qualifiers
...
Signed-off-by: snipe <snipe@snipe.net>
2024-01-05 11:59:31 +00:00
Godfrey M
43737263d4
removed that clause
2024-01-04 14:32:03 -08:00
Godfrey M
07eeaea3bf
adds an additional clause
2024-01-04 14:30:59 -08:00
Godfrey M
249ff868e5
removes empty seats when sorting by department
2024-01-04 14:26:07 -08:00
Marcus Moore
742e183b02
Add guard against adding null values to query
...
Since $request->filled(null) returns true
2024-01-04 14:04:00 -08:00
spencerrlongg
901b1b83d0
rm code, was probably fixed through rules at some point
2024-01-02 18:27:17 -06:00
Spencer Long
8546407083
Merge branch 'develop' into refactor/store_asset_form_request
2024-01-02 18:05:15 -06:00
snipe
8bc5f08da5
Fixed a few more small localization issues
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-24 20:14:49 +00:00
snipe
38bd530fae
Update en defaults for controllers
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-24 19:44:20 +00:00
snipe
ed9473c8ff
Update ResetSettings command to en-US vs en
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-24 18:32:21 +00:00
snipe
97ba023152
Moved return
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 20:47:06 +00:00
snipe
a5947b8109
Added warning in middleware
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 20:34:45 +00:00
snipe
4a0d4f5862
Moved static var up above
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 20:27:11 +00:00
snipe
1a0e1b5f6c
Added default to helper per @marcusmoore
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 20:23:11 +00:00
Brady Wetherington
12ed8800d1
Changed some spacing and added a comment as per Snipe
2023-12-19 20:06:48 +00:00
Brady Wetherington
82dd601661
Added back-migration for Big Locale Refactoring
2023-12-19 19:54:04 +00:00
snipe
db138479aa
Updated locale middleware for mapping
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 17:43:22 +00:00
snipe
081bd69d5a
Added helper method to map values
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 17:43:05 +00:00
snipe
2226bd2cd7
Implement 1D barcode for label "Tapes\Dymo\LabelWriter_30252" #13987
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 14:03:55 +00:00
snipe
fe51d0ef79
Merge pull request #14055 from snipe/bug/disallow_arrays_for_model_id_in_api_hardware_update
...
Make sure we're getting an object instead of a collection on Asset API for model_id
2023-12-19 13:30:54 +00:00
snipe
f9139e0f10
Changed to use instanceof
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 13:25:32 +00:00
snipe
79ad598673
Merge pull request #14050 from marcusmoore/add-logging-to-checking-alerts-command
...
Added log message for who is being sent expected checkin notifications
2023-12-19 13:14:04 +00:00
snipe
f13c1a53ef
Get an object instead of a collection
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 12:51:35 +00:00
snipe
f08ce34036
Fixed translation string in JSON
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 12:31:55 +00:00
akemidx
85bfbf8bc4
email in table, shows in export
2023-12-18 20:15:06 -05:00
Marcus Moore
1708897726
Add log message for who is being sent expected checkin notifications
2023-12-18 17:14:03 -08:00
akemidx
3fe3697a29
adding column, needs table join
2023-12-18 18:26:47 -05:00
snipe
e1d2fdcfb7
Merge pull request #14001 from Godmartinz/feature/sc-18577
...
Added Status Label names to Asset history/ Action log
2023-12-18 22:41:02 +00:00
snipe
444c41bedb
Fixed #14037 - record current time on accessory checkin
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-15 16:39:18 +00:00
snipe
130be26820
Merge pull request #14031 from snipe/bug/ldap_undefined_search_base
...
Fixed undefined $search_base
2023-12-15 13:33:34 +00:00
snipe
421802893e
Added new fields to action report
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-15 10:45:22 +00:00
snipe
7aabf94a35
Added comments
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-14 14:43:38 +00:00
snipe
f5f136b9b5
Added fields to history views
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-14 14:34:31 +00:00
snipe
a90b04c905
Allowed sorting on user_agent, etc
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-14 14:34:08 +00:00
snipe
40052e99a7
Added user agent to log method
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-14 14:33:39 +00:00
snipe
70303c2b2d
Added searchable fields, improved formatting
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-14 14:33:25 +00:00
snipe
5df6575c37
Fixed undefinted $search_base
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-14 00:11:02 +00:00
snipe
016ca1adc1
Fixed HTML for checkboxes
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-13 06:27:50 +00:00
snipe
b53a4c366e
Removed escaping on notes on checkout
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-12 13:26:41 +00:00
snipe
e894138fd4
Added $user->created_at to API user create method
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-12 12:26:02 +00:00
snipe
631dd58de1
Added model name and number to quickscan
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-12 04:23:04 +00:00
snipe
e7a9c7ec99
Merge pull request #14008 from akemidx/sc20532_change_log_level
...
Change log level on status label colors above 256
2023-12-08 09:01:28 +00:00
snipe
aa4aaf69b0
Fixed typo
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-08 08:58:45 +00:00
akemidx
f112e31b46
changing log level from ERROR to LOG
2023-12-07 17:56:10 -05:00
akemidx
dc83689553
changing log level from ERROR to LOG
2023-12-07 17:50:25 -05:00
snipe
778e45c9fd
Fixed maintenances patch endpoint
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-07 19:36:12 +00:00
Brady Wetherington
6bd351c5d8
Whoops, didn't even add changes - duh
2023-12-07 14:08:15 +00:00
Godfrey M
b90cfba796
adds status label id to line change
2023-12-05 11:56:54 -08:00
Godfrey M
49342a4542
added status names to asset history
2023-12-05 11:50:43 -08:00
snipe
1e46ecc2ee
Added eula-pdfs to allow-list
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-04 15:33:56 +00:00
spencerrlongg
2d57b9399c
more cleanup
2023-11-30 16:20:48 -06:00
spencerrlongg
6e5f296a13
gets rid of depreciate
2023-11-30 16:08:49 -06:00
spencerrlongg
68d85385a2
get rid of physical
2023-11-30 16:03:30 -06:00
spencerrlongg
88b6a541ee
removed references to archived
2023-11-30 15:59:03 -06:00
spencerrlongg
133c469e36
organization
2023-11-30 14:25:58 -06:00
spencerrlongg
7e780c1187
cleanup rules formatting
2023-11-30 12:20:02 -06:00
spencerrlongg
df954a3af2
return types
2023-11-30 12:06:58 -06:00
spencerrlongg
135b7bde7d
added some more check out assertions
2023-11-30 11:53:26 -06:00
spencerrlongg
d794608a09
note
2023-11-29 15:04:52 -06:00
spencerrlongg
c3492f1699
fixed eol, add calculated eol/eol explicit tests
2023-11-29 14:57:31 -06:00
spencerrlongg
9d8433bd6d
a couple quick things
2023-11-29 13:15:41 -06:00
snipe
3152df2c48
Created mutator for requestable attribute
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-29 10:07:47 +00:00
snipe
c35d234cde
Merge pull request #13959 from snipe/fixes/rebased_bulk_edit_fix
...
Fixed status and model in bulk edit
2023-11-29 09:40:03 +00:00
spencerrlongg
b17078fffd
a couple notes
2023-11-28 22:15:13 -06:00
spencerrlongg
c886fb555b
checkout on store tests almost done
2023-11-28 22:11:20 -06:00
spencerrlongg
15d11f7f4e
test checkout to user on store
2023-11-28 21:46:03 -06:00
spencerrlongg
cba5f869c0
standardize some of the validation rules, fix int/string issue
2023-11-28 21:19:19 -06:00
spencerrlongg
4aae82fa38
cleanup validation rules a little
2023-11-28 17:28:17 -06:00
spencerrlongg
75ac7f80b9
some refactor + tests
2023-11-28 15:17:46 -06:00
snipe
899890b224
Use update array nomenclature
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 16:25:35 +00:00
snipe
2d4a14d4bb
Fixed from rebase :(
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 15:55:41 +00:00
snipe
3b9f069627
Switched back to old version
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 15:54:42 +00:00
snipe
2c6b957fbe
Removed unused query
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 15:28:37 +00:00
snipe
6ae03a204b
Added the model info back in
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 15:21:14 +00:00
snipe
c91713e20a
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 15:14:55 +00:00
Brady Wetherington
c71726c83e
Whoops, left in some debug lines
2023-11-28 13:52:07 +00:00
Brady Wetherington
ca430ec9b3
Modified re-crypter to also work when given a CLI old-key
2023-11-28 13:49:58 +00:00
snipe
9d786d9386
Removed unused method
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 13:43:33 +00:00
snipe
4723cfd4ba
More refactoring
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 13:33:32 +00:00
snipe
f9d5c451bc
Committing this for now - not done
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 13:33:32 +00:00
snipe
5574218966
More FAFO - cleanup needed, but model_id works now
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 13:33:32 +00:00
snipe
c997ae44c2
FAFO troubleshooting
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-28 13:33:32 +00:00
snipe
1217bff4b6
Merge pull request #13947 from snipe/fixes/refactor_checkout_with_bad_category
...
Refactored checkout for items with bad or missing category
2023-11-23 16:59:51 +00:00
Brady Wetherington
8916c976e1
Merge branch 'develop' into scim_active_flag
2023-11-23 16:36:17 +00:00
Brady Wetherington
7b12d511f8
Force active flag to be returned as true or false
2023-11-23 16:34:03 +00:00
snipe
81b2273c37
Refactored checkout screen to redirect if invalid category
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-23 16:18:28 +00:00
snipe
31f429e1c4
Merge pull request #13934 from snipe/fixes/escaped_asset_tag_in_return_msg
...
Escape the asset tag before passing it to the view
2023-11-22 23:21:54 +00:00
snipe
1307ef19cf
Escape the asset tag before passing it to the view
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 23:20:47 +00:00
snipe
aed6b531cb
Derp. Extra return statement
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 23:05:38 +00:00
snipe
ba127be344
Use saveQuietly to prevent double entries
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 23:00:30 +00:00
snipe
f922d0518e
Added allow list - quiet the observer down for magical laravel things
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 22:35:34 +00:00
snipe
45d9119733
Removed debugging/comments
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 22:32:34 +00:00
snipe
e269415fec
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 21:55:44 +00:00
snipe
8481768c3d
Save quietly for login methods
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 21:42:21 +00:00
snipe
d3175b2ca4
Removed remember token from changed
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 21:39:06 +00:00
snipe
a8123db4fb
Fixed comments
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 21:35:12 +00:00
snipe
b1e782d2f0
Small nits picked to make Brady happy
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 21:34:39 +00:00
snipe
58679a13eb
Use updated icons for activity report
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 21:07:07 +00:00
snipe
22246dd099
Unset the specific arrays we don’t want to keep
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 20:50:46 +00:00
snipe
a7f76f9860
Hide certain fields from changelog
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 20:28:58 +00:00
snipe
8b79a8afdf
Added user observer
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 20:22:05 +00:00
snipe
20c0f687e9
Added restored to asset observer, removed manual logging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 20:09:10 +00:00
snipe
d06cfe6502
Changed verb to “restore” from “restored”
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 20:08:41 +00:00
snipe
e2d0136336
Fixed goofy translation
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 18:14:44 +00:00
snipe
6a3ab526de
Refactorer API controller restore methods
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 18:04:24 +00:00
snipe
19877244cd
Added/refactorerd isDeletable()
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 18:03:26 +00:00
snipe
f7ccef16e7
Refactorer controller restore methods
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 18:02:47 +00:00
snipe
2353c8199c
Set qty mutators
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 15:25:22 +00:00
snipe
0d29ac9856
Fixded gate return
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 13:48:20 +00:00
snipe
a08dcbdfdb
Quick revert for #13830
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 12:25:42 +00:00
snipe
d6a337a584
English hard
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 11:23:17 +00:00
snipe
83ee07cca1
Created mutator on category checkin_email
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 11:14:04 +00:00
snipe
68ac1aaae0
Additional comments
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 15:36:11 +00:00
snipe
6a2ab2cfb2
Removed line break
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 15:10:19 +00:00
snipe
590cd0c71f
Added Validator::replace() for friendlier interpretation of validation string
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 15:03:59 +00:00
snipe
766eee78b2
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 13:47:49 +00:00
snipe
2b9e4110bc
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 13:37:56 +00:00
snipe
4eb435e148
Use unique_undeleted instead of unique_serial
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 12:36:11 +00:00
snipe
b02c60c2ce
Merge pull request #13898 from Azooz2014/develop
...
Fixed #13850 : Too few arguments to function in App\Importer\UserImporter::fetchManager()
2023-11-20 15:41:04 +00:00
snipe
01fec1d6bb
Redirect back to the specific consumable for correction
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-20 15:39:39 +00:00
snipe
7c88601066
Grab the API
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-20 15:31:39 +00:00
snipe
fe2cfa0d38
Redirect if category is missing or invalid
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-20 15:28:44 +00:00
Abdelaziz Faki
2c62a7e78d
Fixing #13850 UserImporter bug
2023-11-19 19:59:01 +03:00
Godfrey Martinez
5569c2ba4a
Merge branch 'develop' into ldap_sync_bug
2023-11-16 10:02:56 -08:00
Godfrey M
2f12a9cfe2
add a conditional around location_id to fix bug
2023-11-16 09:52:44 -08:00
spencerrlongg
b1f75a3bb3
remove unused import
2023-11-15 13:20:17 -06:00
spencerrlongg
c7f90ad86d
tested, working
2023-11-15 12:50:40 -06:00
spencerrlongg
0924a53789
quick fix
2023-11-15 12:28:30 -06:00
Godfrey M
c9d46856a3
added name back
2023-11-14 15:00:11 -08:00
Godfrey M
6d65f6646f
allows validation to ignore self and update
2023-11-14 14:55:51 -08:00
snipe
73ebd9017f
Added default map back to the importer
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-14 14:37:48 +00:00
snipe
4546e87eb5
Merge pull request #13680 from marcusmoore/feature/sc-23769
...
Changed data source input to select in new label engine
2023-11-13 20:38:42 +00:00
snipe
9dc9834bcb
Merge pull request #13859 from inietov/fixes/attempt_to_read_id_on_boolean
...
Fixed ErrorExemption: Attempt to read property "id" on bool [sc-23945]
2023-11-13 20:22:52 +00:00
snipe
4ecce51b57
Merge pull request #13831 from Godmartinz/multi-sync-ldap-locations
...
Added multi location sync for ldap
2023-11-13 20:20:45 +00:00
snipe
000a28d648
Merge pull request #13830 from spencerrlongg/bug/sc-23921
...
Resolves Exceptions When An Array is Submitted and Exception Occurs Before Validation
2023-11-13 20:19:44 +00:00
snipe
0bae1a1f5e
Merge pull request #13853 from snipe/features/link_back_to_asset_on_create
...
Link back to asset on create
2023-11-13 16:37:35 +00:00
snipe
9e1cfac995
Merge pull request #13857 from akemidx/bug/sc-20532
...
Bug Fix: Undefined array key 266
2023-11-09 09:39:04 +00:00
Ivan Nieto Vivanco
7d30001ff8
Ignore the importer checkout if user is not found
2023-11-08 15:32:33 -06:00
Marcus Moore
49136a4d67
Add tests for color helper
2023-11-08 12:35:42 -08:00
akemidx
4382adce85
typo in error log message
2023-11-08 15:29:29 -05:00
akemidx
2051ac785d
adding in error logging and code comments
2023-11-08 13:44:46 -05:00
akemidx
9cc89911f7
possibilitieeeeeeeeessss
2023-11-08 13:29:32 -05:00
akemidx
495521b70e
adjusting for less than 0 possibility
2023-11-08 12:51:51 -05:00
snipe
ef10f2e50e
Use more correct route in redirect
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-08 14:40:38 +00:00
snipe
08153d418f
Use new alert box and linked string
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-08 14:40:18 +00:00
snipe
b3a6cc633b
Merge pull request #13769 from Godmartinz/location-dropdown-duplication
...
clarifies an address column under locations
2023-11-08 08:59:07 +00:00
snipe
bc9545ca96
Merge pull request #13823 from spencerrlongg/chore/sc-23922
...
New Translation Strings for Custom Asset Export
2023-11-08 08:57:20 +00:00
snipe
44d064f094
Merge pull request #13842 from marcusmoore/bug/sc-23932
...
Fixed notes not saving to action log when licenses are checked in/out
2023-11-08 08:53:00 +00:00
snipe
1171141904
Merge pull request #13848 from marcusmoore/bug/sc-23949
...
Fixed missing import
2023-11-08 08:50:31 +00:00
Marcus Moore
eceb69122c
Add missing import
2023-11-07 16:03:28 -08:00
akemidx
154e71de74
shifting wrap around logic back into 0-265
2023-11-07 17:43:51 -05:00
Marcus Moore
a08e0bd547
Ensure notes are saved to the action log when licenses are checked in and out
2023-11-06 12:20:13 -08:00
snipe
7a638e4a65
RB-17457 - Object of class Illuminate\Database\Eloquent\Collection could not be converted to int
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-03 14:06:27 +00:00
Godfrey M
3b6a0d6525
allows multi location sync for ldap
2023-11-02 16:50:19 -07:00
snipe
4d65d09306
Removed trim on manager ID
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-02 14:50:40 +00:00
Godfrey M
13d3f85c62
fixes ldap location sync
2023-11-01 12:26:58 -07:00
spencerrlongg
938ec75aa7
clarifying note
2023-11-01 14:09:03 -05:00
spencerrlongg
c9604b896a
nevermind
2023-11-01 13:46:32 -05:00
spencerrlongg
d167ec6dc0
unique undeleted recreated with laravel rule
2023-11-01 13:36:35 -05:00
spencerrlongg
e05af5216e
formatting
2023-11-01 12:14:46 -05:00
spencerrlongg
3f834cb88f
authorization tested in request
2023-11-01 11:43:53 -05:00
spencerrlongg
d971172cf3
rm unnecessary import
2023-11-01 11:34:15 -05:00
spencerrlongg
53bd5626c9
this works, need to write up pr
2023-11-01 11:33:29 -05:00
spencerrlongg
8f75bb8706
fix translation strings
2023-10-31 21:38:52 -05:00
spencerrlongg
b67b00dd82
this is a start, something up with asset_tag unique rule
2023-10-31 21:06:44 -05:00
spencerrlongg
d4b9f6a2a4
add not_array (not ready, doesn't catch for specific exception)
2023-10-31 21:00:22 -05:00
snipe
f822f8b186
More graceful failure if ldap_results JSON decode isn’t set
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-31 17:09:18 +00:00
snipe
e381bf978f
Merge pull request #13816 from snipe/bug/sc-23900
...
Fixed datetime displayed on license edit for fields that should be date
2023-10-31 16:59:12 +00:00
snipe
95e9002cd0
Merge pull request #13820 from inietov/fixes/attempt_to_read_property_fields
...
Fixed Attempt to read property fields on null [sc-23903]
2023-10-31 16:30:07 +00:00
Ivan Nieto Vivanco
9f9f8c173b
Add condition to only run trough custom fields if a custom fieldset exist
2023-10-31 10:00:36 -06:00
snipe
57372fc82a
Correctly call the validator in the response if it fails
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-31 15:30:38 +00:00
snipe
3495652827
Added checkboxes to intentionally remove field values in bulk user edit
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-31 12:52:53 +00:00
snipe
5779a63221
Undoing that thing I just did :(
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-31 12:28:57 +00:00
snipe
9fc1cbd7ae
Change cast to include format
...
https://laravel.com/docs/8.x/eloquent-mutators#date-casting - this doesn’t seem to work tho?
Signed-off-by: snipe <snipe@snipe.net>
2023-10-31 12:24:48 +00:00
snipe
96211cf73c
Add additional fields to Download All in Activity Report
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-31 09:43:47 +00:00
snipe
8e20071254
Merge pull request #13731 from snipe/improvements/trim_on_import
...
Added trim to import values
2023-10-30 14:17:37 +00:00
snipe
316c90c144
Update app/Importer/ItemImporter.php
...
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
2023-10-30 14:17:27 +00:00
spencerrlongg
90eb3b86cf
added user phone & address fields
2023-10-26 19:10:53 -05:00
spencerrlongg
f12d44509e
asset_eol_date should always be filled now
2023-10-26 14:39:02 -05:00
spencerrlongg
91b53bffa1
resolved
2023-10-26 14:23:31 -05:00
snipe
aab7eb4a85
Merge pull request #13800 from snipe/fixes/bulk_edit_assets
...
Fixed FD-38641 - Bulk asset edit unable to update model_id, misc other bugs
2023-10-26 15:56:47 +01:00
snipe
7b2f49644e
Use nothing instead of null to make it consistent
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 14:44:17 +01:00
snipe
305cd9b0b8
Use null instead of blank
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 14:42:49 +01:00
snipe
9bba0b764a
Added clearer comments
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 14:38:39 +01:00
snipe
9c90f03142
Updated comment
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 14:34:18 +01:00
snipe
64219da0b4
Merge branch 'develop' into Robert-Azelis-EOL_fix_improvements
2023-10-26 13:36:18 +01:00
snipe
7b9259274c
Merge pull request #13799 from inietov/fixes/unlogged_checkin_from_importer
...
Fixed #13795 Unlogged checkin action post updating the username of an asset through the CSV import
2023-10-26 13:33:51 +01:00
snipe
c1213e0abc
Nicer handling for empty custom fields
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 09:41:44 +01:00
snipe
05de8a5731
Re-added missing break
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 09:21:27 +01:00
snipe
ff72c4fbaa
Added nicer formatting for fields in log meta
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 09:17:28 +01:00
snipe
c4c47f2e8d
Updated comment
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 06:51:14 +01:00
snipe
0cebccac95
Removed extra logging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 06:51:07 +01:00
snipe
2695576968
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 04:21:20 +01:00
snipe
f25ddee857
Removed debugging, use new model rules if model has changed
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 04:21:14 +01:00
snipe
541ba0c0ba
Removed conditional add for model_id
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 04:20:52 +01:00
snipe
b87879f8e7
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 02:35:53 +01:00
snipe
6ebc01ca50
Bulk edit refactor
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-26 01:49:23 +01:00
Ivan Nieto Vivanco
ca1845efd7
Only log checkin event if the assigned_to property is not empty
2023-10-25 16:41:31 -06:00
Ivan Nieto Vivanco
7ed58a177b
Evaluate if the asset was assigned to a different user than current target to log a checkin event
2023-10-25 16:31:23 -06:00
snipe
d93e399295
Merge pull request #13797 from Godmartinz/employeeid_search_add
...
adds employee number as a searchable field to the asset table
2023-10-25 21:04:54 +01:00
Godfrey M
1b614c13fb
ugh
2023-10-25 13:03:42 -07:00
Godfrey M
56fd41eee4
removed erroneous code
2023-10-25 13:03:12 -07:00
Godfrey M
33b45898b1
adds to advancedsearch
2023-10-25 12:59:58 -07:00
snipe
7509d57bf6
Merge pull request #13796 from snipe/feature/sc-23880
...
Added optional custom fields to requestable assets page
2023-10-25 20:57:54 +01:00