Godfrey M
0fc79ec936
fixes conflicts
2023-08-23 00:40:59 -07:00
Godfrey M
ffe1b11419
merged develop
2023-08-23 00:38:58 -07:00
Godfrey M
27488c1009
adds soft deletes to eager loading
2023-08-23 00:34:09 -07:00
Godfrey M
ce60db009c
adds soft deletes to eager loading
2023-08-23 00:32:43 -07:00
Marcus Moore
bee680683d
Add withTrashed to asset model query
2023-08-22 17:05:06 -07:00
Godfrey M
92ddf8fc67
removed dead space
2023-08-22 12:38:50 -07:00
Godfrey M
1019287c76
retarget key
2023-08-22 12:36:43 -07:00
Godfrey M
9e438c3ed0
eager loaded changedInfo queries, reworked encrypted data change log changes
2023-08-22 12:34:45 -07:00
Godfrey M
c7f2acf2c6
removes encrypted info from change log, renames asset_eol_date in the change log
2023-08-22 11:39:38 -07:00
snipe
79b330f492
Merge pull request #13400 from inietov/fixes/asset_acceptance_user_error
...
Fixed Asset acceptance error when user company and asset company don't match
2023-08-22 15:49:56 +01:00
snipe
a48762c64d
Merge pull request #13496 from snipe/features/setting_for_name_order
...
Fixed #13495 added setting for name order
2023-08-22 12:50:58 +01:00
snipe
aafb7668f5
Merge pull request #13453 from inietov/fixes/accessories_declined_issue
...
Fixed #13317 Accessories declined by user remain assigned
2023-08-22 12:42:55 +01:00
snipe
fea11ec7f1
Merge pull request #12761 from spencerrlongg/bulk_edit_custom_fields
...
Bulk Editing Custom Fields
2023-08-22 12:40:18 +01:00
snipe
303b45c9e9
Merge pull request #13485 from Godmartinz/history_info_clean_up
...
Added better handling of information of asset history
2023-08-22 12:25:17 +01:00
Marcus Moore
4e2ef4f056
Default to using the current date if last check in end date is not provided
2023-08-21 14:35:15 -07:00
snipe
79a4d915db
Merge pull request #13456 from marcusmoore/fixes/auto-incrementing-on-74
...
Fixed passing invalid argument to `strpos()`
2023-08-21 22:25:52 +01:00
Marcus Moore
c332b98456
Add last checkin options to report front end
2023-08-21 13:44:49 -07:00
Godfrey M
b54aaefefb
adds some spacing
2023-08-21 13:43:06 -07:00
Godfrey M
5076b45a0d
adds id to history info
2023-08-21 13:40:39 -07:00
snipe
bfd674b622
Switched to getFullNameAttribute() from fullName() in User Presenter
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-21 20:12:25 +01:00
snipe
354550b52e
Removed getCompleteNameAttribute(), modified getFullNameAttribute()
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-21 20:11:17 +01:00
snipe
f3460b5a4f
Switch to getFullNameAttribute() in user transformer
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-21 20:10:48 +01:00
snipe
474c03e3fc
Added name order to settings save controller method
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-21 20:10:03 +01:00
Marcus Moore
489d30c685
Set last_checkin in ui and api controllers
2023-08-21 11:57:33 -07:00
snipe
45898deb1a
Don’t 500 if the 1D barcode doesn’t match the format requested - log an error instead
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-18 22:18:38 +01:00
snipe
ffc7c4e99a
use number format to constrain large number displays
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-18 22:18:09 +01:00
snipe
1e82c2bfad
Changed example asset name
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-18 22:17:54 +01:00
snipe
d12f4564e1
Added Dymo Labelwriter template
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-18 21:44:12 +01:00
snipe
1dcca14c37
Values are not sortable, so don’t show them as sortable
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-18 21:21:54 +01:00
snipe
d56c671410
Removed the black label from around the default labels
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-18 18:39:00 +01:00
snipe
0cb76a049a
Make sure the columns and rows can never be 0
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-18 18:13:16 +01:00
snipe
da2f22d504
Fixed #13487 - include supplier url in listing
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-18 15:31:15 +01:00
Godfrey M
a62876d4bc
Adds readable asset history in the action log transformer
2023-08-17 16:14:01 -07:00
snipe
0ee032a10d
Merge pull request #13391 from Godmartinz/ldap_sync_field_clear_bug
...
Fixed Ldap sync field clear bug
2023-08-17 17:45:03 +01:00
snipe
03a01c02c4
Merge pull request #13483 from inietov/fixes/default_locations_advanced_search
...
Fixed #13359 Advanced search by Default Location does not work
2023-08-17 15:15:21 +01:00
Ivan Nieto Vivanco
b607a59875
Add query to search default locations in advanced search
2023-08-16 15:04:17 -06:00
snipe
34f2221b02
Merge pull request #13471 from inietov/fixes/components_search
...
Fixed #13409 Search in component detail view not working
2023-08-16 21:59:40 +01:00
Brady Wetherington
852e9ff311
Accessory checkin via API reported wrong target user
2023-08-16 13:03:37 +01:00
Ivan Nieto Vivanco
92df32dfaa
Move a couple assignation of variables inside an else to only execute once
2023-08-15 21:10:48 -06:00
snipe
027afa71f1
Check that there is a company before trying to get name property
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-16 01:09:22 +01:00
Ivan Nieto Vivanco
993918f47c
Add query to search into the per-component view
2023-08-15 15:31:36 -06:00
snipe
01ab360ef3
Fixed accessory clone typo
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-15 20:39:09 +01:00
snipe
9af850dbaa
Re-apply a change that was dropped
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-15 20:27:47 +01:00
snipe
64342838fd
Return the user to the labels page on save
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-15 18:48:12 +01:00
snipe
443adc50da
Fixed unclosed brace
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-15 18:12:25 +01:00
snipe
e41368daac
Merge pull request #12050 from cram42/develop
...
New Label Engine
2023-08-15 17:58:57 +01:00
Godfrey M
d1efca2ae1
fixes conflicts
2023-08-15 09:28:42 -07:00
snipe
c56f664811
Merge pull request #13442 from Robert-Azelis/Robert-Azelis-patch-add_email_to_companies
...
Add email to companies
2023-08-15 13:26:20 +01:00
Marcus Moore
dc1a8840f1
Ensure empty string is not passed to strpos()
2023-08-14 16:40:34 -07:00
Ivan Nieto Vivanco
96440834bd
Move the declinedCheckout function so it don/'t separate the class properties
2023-08-14 16:16:28 -06:00
snipe
12e9d2adeb
Fixed #13450 - remove escaping on saveing new custom fields
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-14 22:21:41 +01:00
Ivan Nieto Vivanco
8da2a8a79c
Allows to save signature for declined items
2023-08-14 14:58:10 -06:00
Ivan Nieto Vivanco
4796598bb6
Add declinedCheckout method to Accessory model
2023-08-14 14:35:31 -06:00
Robert-Azelis
30d33310ae
Update CompanyPresenter.php
2023-08-13 17:23:33 +02:00
Robert-Azelis
bbb8ecfee4
Update Company.php
2023-08-13 17:21:55 +02:00
Robert-Azelis
8988a5dfc3
Update CompaniesTransformer.php
2023-08-13 17:20:15 +02:00
Robert-Azelis
ed5b4ca0a2
Update CompaniesController.php
2023-08-13 17:18:25 +02:00
Robert-Azelis
07bafa9508
Update CompaniesController.php
2023-08-13 17:15:20 +02:00
snipe
df8f6a8d2b
Correctly call the route for accessory index
...
Signed-off-by: snipe <snipe@snipe.net>
2023-08-11 09:40:49 +01:00
Marcus Moore
e0b464dcec
Merge branch 'develop' into feature/custom-report-scoping
2023-08-09 13:03:05 -07:00
snipe
a6a742d8d8
Merge pull request #13407 from marcusmoore/feature/sc-23465
...
Added messaging to category edit page to improve clarity around when users will be emailed
2023-08-09 10:36:19 +01:00
Marcus Moore
c32f099053
Remove unneeded call to Company::scopeCompanyables
2023-08-08 17:22:15 -07:00
Brady Wetherington
6afbf1b152
Re-add the option for asset_eol_date as an import field
2023-08-08 17:45:33 +01:00
Marcus Moore
ae9cf1e5b6
Formatting
2023-08-02 18:24:32 -07:00
Ivan Nieto Vivanco
053d3fc9ed
Prevent asset to be checked out if full company support is enabled and companies not match
2023-08-02 19:23:28 -06:00
Ivan Nieto Vivanco
9ca163e8cf
Stop asset acceptances from shown to user if full company support is enabled and companies not match
2023-08-02 19:22:35 -06:00
Marcus Moore
3fd0853fd0
Ensure eula field enabled when not using default eula
2023-08-02 18:02:56 -07:00
Marcus Moore
896f038054
Set send email back to original value when eulas cleared
2023-08-02 17:03:56 -07:00
Marcus Moore
48979ce177
Disable send email when it should not be modified
2023-08-02 16:52:56 -07:00
Marcus Moore
e12935f7fa
Disable eula textarea when using global eula
2023-08-02 16:18:57 -07:00
Marcus Moore
6400034435
Improve variable name
2023-08-02 16:06:59 -07:00
Marcus Moore
269414e4f2
Automatically check the send email to user checkbox in certain conditions
2023-08-02 16:04:01 -07:00
Marcus Moore
dee6ebf8e0
Scaffold component test
2023-08-02 12:58:07 -07:00
Marcus Moore
105c94aea9
Implement toggling message when email will be sent
2023-08-02 11:36:20 -07:00
Brady Wetherington
0af205dade
Put guard around assigning location via LDAP
2023-08-02 15:01:14 +01:00
Marcus Moore
6349d52803
WIP: migrate to livewire
2023-08-01 17:29:23 -07:00
Godfrey M
8a24a47475
removed unnecessary code
2023-08-01 09:45:48 -07:00
Godfrey M
fb52038e7c
applies a check if a sync field is designated
2023-08-01 09:39:58 -07:00
snipe
ffb605a37c
Merge pull request #13309 from inietov/fixes/checkout_range_doesnt_include_today
...
Fixed #13300 Custom Asset Report, Checkout date range never includes current day
2023-07-31 15:04:22 +01:00
snipe
2e1c3fb51b
Merge pull request #13295 from inietov/fixes/admins_cannot_view_encrypted_fields
...
Fixed #11794 Admins Cannot View Encrypted Field
2023-07-31 13:08:28 +01:00
Grant Le Roux
b1464e028c
Merge branch 'develop' into develop
2023-07-31 07:57:29 +08:00
Ivan Nieto Vivanco
0a841ddbb8
Change component validator to the correct asset id we're passing in the API call
2023-07-27 20:22:13 -06:00
Ivan Nieto Vivanco
c015264181
Adjust the license offset if it exceeds the total of license seats
2023-07-25 16:23:33 -06:00
snipe
a01cb26aac
Merge pull request #12940 from akemidx/delete_asset_from_view_page
...
Delete button on asset view page
2023-07-25 12:11:35 +01:00
Ivan Nieto Vivanco
cb4ed92639
Use Carbon date objects instead of casting using DB::raw()
2023-07-20 16:17:06 -06:00
snipe
540b09c506
Possible alternative to fixing #13296 - custom report failing when the model is busted
...
Related: https://github.com/snipe/snipe-it/pull/13297
Signed-off-by: snipe <snipe@snipe.net>
2023-07-20 17:45:45 +01:00
snipe
1e09320ebe
Check that $this->get_depreciation() returns
...
Signed-off-by: snipe <snipe@snipe.net>
2023-07-20 16:30:07 +01:00
snipe
d7ac8ef618
Added manufacturer to licenses
...
Signed-off-by: snipe <snipe@snipe.net>
2023-07-20 14:02:54 +01:00
snipe
244e4ec11f
Added manufacturer back into license importer
...
Signed-off-by: snipe <snipe@snipe.net>
2023-07-20 13:48:51 +01:00
Tobias Franzius
90a344af0b
Fixes #13341 Clean up correct seats on license delete
...
Before this, we checked for the `id` collumn in the `license_seats` table, insteasd of
using `license_id` for this.
This way, we ensure that we only alter seats belonging to the correct license.
2023-07-20 13:48:57 +02:00
Ivan Nieto Vivanco
ecf522243b
Add the new rule to proper views and also in the Asset Transformer
2023-07-19 19:52:03 -06:00
Ivan Nieto Vivanco
705411eb4d
Create the Gate that goes with the permission
2023-07-19 19:44:59 -06:00
snipe
a19a508a80
Merge pull request #13197 from akemidx/current_value_for_assets
...
Current value added to asset index page
2023-07-19 19:06:15 +01:00
akemidx
9e2987e680
changing book value to be NOT searchable or sortable
2023-07-19 13:44:31 -04:00
snipe
a0a5ca1f40
Added strtolower for category type
...
Signed-off-by: snipe <snipe@snipe.net>
2023-07-19 08:56:17 +01:00
snipe
18e2ec4dad
Merge pull request #13310 from marcusmoore/bug/sc-23478
...
Fixed the inability to load location select when editing profile
2023-07-18 13:26:30 +01:00
snipe
6f8c3ca167
Merge pull request #13322 from uberbrady/fix_ldap_location_3
...
Fix to ldap_location attribute
2023-07-18 13:24:59 +01:00
Brady Wetherington
051830dff4
Fix to ldap_location attribute
2023-07-17 20:42:02 +01:00
Ivan Nieto Vivanco
88c40c9c14
Change the field name to the same the model uses
2023-07-17 12:08:10 -06:00
snipe
3078cab7ee
Added ability to show/hide custom fields in list views by default
...
Signed-off-by: snipe <snipe@snipe.net>
2023-07-14 09:09:43 +01:00