snipe
9d9ad86dd5
Added mutators and accessors for dates
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
afe4e5d62e
Added date parser
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
52950f1322
Refactored date parsing
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
026c80992e
Pull the log reference
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
0ee2b74ff3
Added date parsers for new date fields
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
3a0f7eca54
Put asset EOL date back in the Item Importer
...
I have no idea why this is necessary
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
4ccbfb56a4
Make sure the status label is deployable
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
d02904c9a3
Added new fields
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
c8279c0b99
Moved asset-only date stuff into the asset importer
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
f4f184e115
Removed noisy debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
b2a86e312b
Added last_checkout and last_checkin as fillable
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 10:28:35 +01:00
snipe
de7b8940fe
Merge pull request #14828 from fe80/fix/controller-signature-s3
...
fix(ActionlogController): add missin class Illuminate\Support\Facades…
2024-06-05 09:58:03 +01:00
snipe
09e94ec176
Reordered withTrashed() and find()
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 09:57:24 +01:00
fe80
ea7c3c8485
fix(ActionlogController): add missing class Illuminate\Support\Facades\Storage
2024-06-05 10:55:27 +02:00
snipe
bc36c8074e
Merge pull request #14807 from bryanlopezinc/AddTestToCheckEnvVisibility
...
Added test for .env visibility for setup page
2024-06-05 09:50:54 +01:00
snipe
9fccafa3ac
Merge pull request #14816 from uberbrady/hotfix_autoincrement_workaround
...
Don't save next autoincrement base if it's going to fail, next
2024-06-05 09:47:40 +01:00
snipe
a742105c21
Merge pull request #14827 from fe80/fix/controller-signature-s3
...
fix(ActionlogController): correct signature image for s3 bucket
2024-06-05 09:40:21 +01:00
fe80
7a76ec9e02
fix(ActionlogController): correct signature image for s3 bucket
2024-06-05 10:08:15 +02:00
Marcus Moore
99439f0a5c
Define property
2024-06-04 16:14:07 -07:00
Marcus Moore
5eb5742b3d
Define property
2024-06-04 15:49:39 -07:00
Marcus Moore
296cf3e34b
Update OauthClients component
2024-06-04 15:37:41 -07:00
snipe
6229d0c616
Merge pull request #14758 from U-H-T/features/add_logo_support_for_Brother_TZe24
...
add logo support for Brother TZe24mm labels
2024-06-03 17:02:18 +01:00
snipe
877adb082c
Fixed translation string
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-03 16:40:52 +01:00
Brady Wetherington
90818bb147
Don't save next autoincrement base if it's going to fail, next
2024-06-03 15:58:57 +01:00
snipe
67fb3f10d5
Tightened up tests with better checks
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-01 04:24:47 +01:00
snipe
cff382605c
Fixed some missing strings and checks
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-01 04:01:04 +01:00
snipe
03b0268dc2
Fixed typo
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-01 03:00:45 +01:00
snipe
b156264684
Tidied up scoping to be better for testing
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 23:10:53 +01:00
snipe
3f9a80942e
Removed manual companyable from non-API views
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 23:10:23 +01:00
snipe
dc62e393c3
Hotfix for user permissions
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 21:22:21 +01:00
snipe
a15ed6eaee
Wrap disabled <a> links in a span for tooltips
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 19:29:29 +01:00
snipe
cf45e7536f
Redirect with error if model is invalid
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 18:51:58 +01:00
snipe
ca8d478e87
Redirect if model is invalid
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 18:46:32 +01:00
bryanlopezinc
c63c17d49f
Added test for .env visibility for setup page
2024-05-31 17:33:57 +01:00
snipe
801e58d52e
Removed manual scoping
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 06:58:15 +01:00
snipe
06e9625c64
Use hasUser() to avoid table collisions and infinite loop
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 06:58:07 +01:00
snipe
5800e8d8e9
Added companyable trait
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 06:57:34 +01:00
snipe
623aa58163
Removed unused statement
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-31 06:57:25 +01:00
Marcus Moore
1736bf5510
Merge branch 'develop' into chore/sc-23725/livewire3
...
# Conflicts:
# app/Livewire/LoginForm.php
# package.json
# resources/views/livewire/login-form.blade.php
2024-05-30 16:56:50 -07:00
Marcus Moore
1a1b891309
Remove unused Login Livewire component
2024-05-30 16:49:05 -07:00
snipe
5a5d171ba2
Put session facade back - derp
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-30 14:15:08 +01:00
snipe
aadee068b3
Merge pull request #14740 from Godmartinz/redirect_back_to_asset
...
Added Redirect options to asset check in/out
2024-05-30 14:14:04 +01:00
snipe
a46e2ebfd8
Small tweaks to user export, user view translations
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-30 13:59:00 +01:00
snipe
f710b1aac3
Merge pull request #14614 from akemidx/feature/sc-19796
...
ADDED: Export User Permissions (Superuser & Admin)
2024-05-30 13:41:26 +01:00
snipe
f6fe6e70b9
Merge branch 'develop' into redirect_back_to_asset
2024-05-30 13:38:11 +01:00
Scarzy
f48c5ee252
Fix an error message
2024-05-29 22:32:45 +01:00
Scarzy
98a94dec29
Change some errors to be 404
...
The asset or file was not found, so 500 wasn't the best choice of error
code
2024-05-29 22:17:36 +01:00
Scarzy
45329912e6
Give a better response to listing no files on an asset
...
HTTP500 was never a good choice. Now it sends back an empty array
2024-05-29 22:01:49 +01:00
Scarzy
bb0a614c39
Update some comments
2024-05-29 22:01:48 +01:00
Scarzy
f11ea79406
Add some sanity checks that the asset actually exists
2024-05-29 22:01:48 +01:00
Scarzy
e817b20840
Fix some responses to be more appropriate
...
Error/success was mixed up
2024-05-29 22:01:48 +01:00
Scarzy
516f766a44
Remove some debug code
2024-05-29 22:01:48 +01:00
Scarzy
f5791c79a5
Change the returns to be API appropriate
2024-05-29 22:01:48 +01:00
Scarzy
194853d860
Remove a redundant line
2024-05-29 22:01:48 +01:00
Scarzy
92670d5711
Add the ability to list files for an asset
2024-05-29 22:01:48 +01:00
Scarzy
8a2ea971e1
Add an API assets files controller
...
Based heavily on the Assets assets files controller.
Added errors related to to the files management.
Added the API endpoints for file upload and show, but only upload is
currently tested/works.
2024-05-29 22:01:48 +01:00
Marcus Moore
17f0ac1eae
Set view correctly
2024-05-29 12:57:43 -07:00
Marcus Moore
8ff639913d
Migrate away from dispatchBrowserEvent()
2024-05-29 12:17:36 -07:00
Marcus Moore
b52380f376
Migrate to new namespace
2024-05-29 12:07:48 -07:00
snipe
12e107a71b
Merge pull request #13062 from ak-piracha/feature/snipe-12892-bulk-consumable-checkout
...
Bulk Consumable Checkout
2024-05-29 19:42:25 +01:00
snipe
df1cef59d5
Fixes path for redirect response
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 18:01:40 +01:00
snipe
92ba889cae
Updated/removed facades
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:53:51 +01:00
snipe
f17162c2e2
Use artisan facade
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:40:05 +01:00
snipe
fb233c0aa4
Cleaned up facade names and references
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:38:15 +01:00
bryanlopezinc
5d01a06245
Reduce IDE errors in App\Http\Controllers\SettingsController
2024-05-29 08:07:49 +01:00
Marcus Moore
4c78da3bbf
Re-add json encoding of permissions
2024-05-28 13:03:09 -07:00
snipe
8ac3937bf4
Commented model loading on asset model
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 18:03:19 +01:00
snipe
1c1729854e
Use statics for location, supplier, etc
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 18:02:22 +01:00
snipe
14c78d9065
Use static for custom fields
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 18:02:09 +01:00
snipe
b1cb9259da
Re-use total to avoid duplicate count
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 18:01:47 +01:00
snipe
03b5c2e246
Fixed bad translation string
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 15:21:28 +01:00
snipe
3df2a4a70b
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 15:16:44 +01:00
snipe
6b41970e97
Check that selected is an array
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 15:15:31 +01:00
snipe
92eb6eb1b6
Add unique constraint to name
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 15:09:31 +01:00
Brady Wetherington
8df9007a8e
Merge branch 'snipeit_v7_laravel10' into develop
2024-05-27 18:08:27 +01:00
snipe
485caf1d92
Merge pull request #14755 from marcusmoore/chore/sc-25103/add-tests-around-asset-checkout
...
Added tests around asset checkout
2024-05-25 11:33:33 +01:00
Godfrey M
442903ea5e
trying to get link to work, fixed up markup and url
2024-05-23 16:08:18 -07:00
spencerrlongg
8ce577db37
adds @snipe's rules for undeleted assigned targets
2024-05-23 15:51:26 -05:00
Godfrey M
d3ab152d30
adds reminder notification constructor and updates markdown
2024-05-23 12:47:02 -07:00
Spencer Long
cdb1140f10
Merge branch 'develop' into bug/sc-24884
2024-05-23 13:53:00 -05:00
U-H-T
2777ac96cc
add logo support for Brother TZe24mm labels
2024-05-23 11:10:23 +02:00
snipe
8b3ff5a82d
Handle potentially deleted admin users in license export
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-23 08:39:15 +01:00
Marcus Moore
8d74a976a1
Merge branch 'develop' into chore/sc-25103/add-tests-around-asset-checkout
2024-05-22 16:09:27 -07:00
Marcus Moore
6d104251b3
Remove todo
2024-05-22 15:40:54 -07:00
Marcus Moore
f16c79bb9a
Improve event assertions
2024-05-22 15:38:23 -07:00
Marcus Moore
c7fa2c04ad
Add scenario
2024-05-22 13:33:12 -07:00
Marcus Moore
8ca882d1c8
Complete a scenario
2024-05-22 13:23:49 -07:00
Brady Wetherington
4adbd7af4c
Merge branch 'develop' into snipeit_v7_laravel10
2024-05-22 21:02:11 +01:00
snipe
4bb7c1701f
Fiddled with storage facade a little more
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-22 17:44:49 +01:00
snipe
5fd0f56258
Use proper storage facade for checking if the file exists
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-22 17:38:49 +01:00
snipe
37d7e89e93
Fixed error message
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-22 17:29:43 +01:00
snipe
3ab197075a
Nicer handling of erroring when filename+log do not match
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-22 17:20:03 +01:00
snipe
bb96a190fd
Moved validator
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-22 12:34:48 +01:00
Godfrey M
f2693ee957
conditionally fixed redirect select option
2024-05-21 14:08:35 -07:00
Godfrey M
69c2cf2c4f
fixed assetcheckin test, created redirect option test
2024-05-21 13:13:25 -07:00
Godfrey M
8a0afae90f
fixed query, fixed no email logic, needs new markdown
2024-05-21 09:42:00 -07:00
snipe
34f1ea1c0e
Re-order gating and refactor group syncing
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-21 10:00:49 +01:00
Godfrey M
a53f89cd2c
remove license checkout changes p2
2024-05-20 10:26:45 -07:00
Godfrey M
280c03dcad
remove license checkout changes
2024-05-20 10:25:59 -07:00
Godfrey M
e70fb42f87
remove license redirects
2024-05-20 10:22:01 -07:00
Brady Wetherington
f633dbba64
Merge branch 'develop' into snipeit_v7_laravel10
2024-05-20 12:55:29 +01:00
snipe
771c85e347
Translated account save message
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-20 11:19:31 +01:00
snipe
ca1555d962
Fixed #14664 - allow additional urls in env for CSP
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 22:19:18 +01:00
snipe
54b24434e1
Set file name variable
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 19:56:58 +01:00
snipe
88d131666c
Sets purchase date as date (versus datetime) in labels
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 18:40:49 +01:00
snipe
eb0fd2f519
Removed stricter validation :(
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 16:29:11 +01:00
snipe
81efaa7481
Merge branch 'develop' into fixes/add_next_audit_date_to_assets_form
2024-05-16 16:13:21 +01:00
snipe
6b3346d90c
Only attempt to decrypt if there is a value
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 15:28:25 +01:00
snipe
312ce51de6
Removed more debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 15:25:57 +01:00
snipe
09914f508f
Removed more debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 15:16:52 +01:00
snipe
45eda0f611
Removed debug lines
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 15:09:27 +01:00
snipe
de088d452f
Merge pull request #14451 from Godmartinz/add_decline_note_to_acceptance
...
Adds a note text area to asset acceptances/declines
2024-05-16 15:06:05 +01:00
Godfrey M
fb9a5f928f
removed license changes
2024-05-15 16:39:26 -07:00
Godfrey M
c658a0fcb4
fixes description
2024-05-15 13:20:05 -07:00
Godfrey M
f40284c413
adds acceptance reminder command
2024-05-15 13:04:58 -07:00
snipe
55281313d8
Merge pull request #14474 from Godmartinz/asset-location-update-bug
...
Fixed user assets not updating when a user changes location
2024-05-15 19:20:14 +01:00
Godfrey M
786799225c
remove dd
2024-05-15 10:37:07 -07:00
snipe
c137fafa97
Updated language
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-15 18:10:43 +01:00
snipe
cb22a3d556
Updated comments again :-/
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-15 17:52:50 +01:00
snipe
c7accb4599
Added comments
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-15 17:38:42 +01:00
snipe
c1d5b8713b
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-15 16:33:48 +01:00
snipe
8310b91e00
Use UploadFileRequest for audit files
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-15 16:33:48 +01:00
snipe
71b5bf2eef
Added visual on the hardware view screen
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-15 16:33:48 +01:00
snipe
bdbfb0f2a1
Added accessor and mutator for next_audit_date
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-15 16:33:47 +01:00
snipe
e5653eaa93
Save new data
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-15 16:33:47 +01:00
snipe
3c4098038d
Fail early if no tag
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-15 16:33:47 +01:00
snipe
eb09a99eb0
Merge pull request #14707 from spencerrlongg/bug/sc-24912
...
Bulk Edit Tests and Tweaks
2024-05-15 11:22:31 +01:00
Godfrey M
dc418a7033
need to make variables names uniform
2024-05-14 14:09:54 -07:00
Godfrey M
15cc4345ab
adds dynamic redirects to Assets
2024-05-14 13:25:52 -07:00
Godfrey Martinez
5272824d85
Merge branch 'develop' into asset-location-update-bug
2024-05-13 10:47:25 -07:00
snipe
9bce0f2ff7
Format fix
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-13 18:19:14 +01:00
snipe
d2e7e11dca
Removed debug line
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-13 12:48:28 +01:00
Jeremy Price
2adc4ffa96
Fix memory-hog query in AssetCountForSidebar middleware
...
https://github.com/snipe/snipe-it/pull/14702/files introduced a bug
where instead of doing a quick `select count(*)` of assets, it did a `select *` of
assets, moving the count from the database to the PHP process.
This caused OOM issues in memory-constrained environments with lots of
assets, and also presented a speed issue even when memory limited were
increased.
Additionally, given this populates the sidebar, this was likely an issue
on every page load that included the sidebar.
The fix is simply removing the `all()->`, ending up with Asset::count(),
which yields the desired `select count(*)` DB query.
2024-05-10 12:54:40 -07:00
snipe
46779ca865
Merge pull request #14697 from snipe/bug/sc-25502/disable_delete_if_not_deletable_user
...
Fixed UI where delete button was not disabled even if the user couldn't be deleted
2024-05-08 12:06:33 +01:00
Tobias Regnery
b2a5d86e30
Fixes #14701 - wrong total asset count
...
The total asset count in the sidenav shows the ready to deploy count instead of the total count.
Fix this by adjusting the query to all assets. Also respect the setting for archived assets.
Add a default value for total assets, since we are now using the settings-variable, which is not available during the setup process.
While at it, move the block for total assets before the ready to deploy assets to match the ordering of the sidenav.
Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
2024-05-08 09:34:35 +02:00
spencerrlongg
ad2ba252ee
two new test
2024-05-07 15:11:33 -05:00
spencerrlongg
17ef20ea92
alright, in a working place
2024-05-07 14:08:47 -05:00
snipe
8c327e6523
Handle user not found properly
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 19:16:56 +01:00
snipe
a7aa178f24
Used localized strings
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 17:56:07 +01:00
snipe
97bc4a092f
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 17:40:48 +01:00
snipe
d942b8f1fb
Fixed alias names
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 17:40:35 +01:00
snipe
49dc9767b6
Added debugging :(
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 15:54:43 +01:00
snipe
482965197d
Added users, locations to presenter, transformer
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 12:07:41 +01:00
snipe
410b547f3c
Added users and locatipon count to API
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 12:07:28 +01:00
snipe
f769e8247f
Added ManagedUsers method, additional checks in isDeletable()
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 12:07:15 +01:00
snipe
4f12c86e74
Fixes #14692 - set default variables for sidebar totals
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 08:34:22 +01:00
Marcus Moore
7e9c8ba290
Remove duplicate settings call
2024-05-06 17:08:16 -07:00
Marcus Moore
6f639f7bf0
Load settings properly in SendUpcomingAuditReport command
2024-05-06 16:44:14 -07:00
Brady Wetherington
5b02a43957
Merge branch 'develop' into snipeit_v7_laravel10
2024-05-06 18:44:03 +01:00
Godfrey M
c94a7613ca
dropdown redirect options, helper function and session variable added
2024-05-02 12:16:20 -07:00
snipe
dab5874fd7
Merge pull request #14391 from snipe/features/add_Brother_188mm_tape_label
...
Added Brother 18mm label type
2024-05-02 13:14:04 +01:00
snipe
4850227c04
Merge pull request #14655 from snipe/feature/sc-25381/simpler_overdue_endpoints
...
Refactored due/overdue for audit, added due/overdue for checkin API endpoint and GUI
2024-05-02 13:11:51 +01:00
snipe
eb9a654cc3
Moved settings call higher
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-02 12:37:41 +01:00
snipe
4224bc0c43
Removed extra settings param
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-02 12:36:57 +01:00
Robert-Azelis
3ea5d4ee40
Update BulkAssetsController.php
...
Fix for bulk updarte of purchase date to calculate new EOL
2024-05-02 12:55:17 +02:00
spencerrlongg
e177993bcc
notes and some playing around, push for eod
2024-05-01 16:57:11 -05:00
spencerrlongg
25480293dc
change keys to values, add test
2024-04-30 18:03:26 -05:00
snipe
19cff25300
Merge pull request #14651 from marcusmoore/bug/sc-25402
...
Fixed `purchase_cost` not being allowed to be a string when creating asset via api
2024-04-27 03:39:10 +01:00
snipe
848e1fe1f6
Refactored audit alerts
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 21:26:00 +01:00
snipe
fe147adec3
Refactor checkin alert
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 21:10:54 +01:00
snipe
103809b65f
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 21:01:43 +01:00
snipe
a398496dd4
Added comments
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 21:01:27 +01:00
snipe
839db8ef44
Refactored due-or-overdue methods
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 20:59:27 +01:00
snipe
50d8b02f8b
Removed unused scope
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 19:23:27 +01:00
snipe
860764a436
Use totals for sidebar
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 19:12:21 +01:00
snipe
52d6a8990a
Check that the asset is not already checked in
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 19:06:46 +01:00
snipe
3f04afee5c
Removed unused method
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 19:01:26 +01:00
snipe
2117f61e8c
More view sharing for sidebar
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 19:01:15 +01:00
snipe
d40604b574
Removed debugging, added date cast
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 19:01:05 +01:00
snipe
6dc9ccffcd
Refactor api for handling audit/expected checkins
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 18:56:57 +01:00
snipe
bf058bd5c6
Use updated scopes
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 14:02:56 +01:00
snipe
dfaf01e8aa
Updated asset counters
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 14:02:47 +01:00
snipe
2e92ee8eee
Switch to whereBetween so tests run on sqlite
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 14:02:23 +01:00
Marcus Moore
2a71877bec
Add additional condition
2024-04-25 17:04:07 -07:00
Marcus Moore
30bd920497
Add conditional
2024-04-25 16:24:12 -07:00
Marcus Moore
1d5b48b88d
Add comment and improve method
2024-04-25 16:22:15 -07:00
spencerrlongg
03f091a77f
ammended note, got real rule in there
2024-04-25 17:17:42 -05:00
Marcus Moore
3a2eeaea7a
WIP: Future-proof rules being converted to array syntax
2024-04-24 17:40:40 -07:00
Marcus Moore
12418ae91b
WIP: allow EU style purchase cost via api
2024-04-24 17:18:29 -07:00
Brady Wetherington
3f5c5cbe82
Merge branch 'develop' into snipeit_v7_laravel10
2024-04-24 16:24:43 +01:00
snipe
2439758ef3
Merge pull request #14587 from Godmartinz/License-export-button
...
Added a License Export function and button
2024-04-24 04:42:56 +01:00
spencerrlongg
8696a423b0
another option
2024-04-23 17:38:40 -05:00
spencerrlongg
107f8db9bc
another option
2024-04-23 17:35:33 -05:00
spencerrlongg
b11c900a4c
fix bracket, + overwrite required rulesets
2024-04-23 16:29:07 -05:00
akemidx
ac4aa97103
develop reheading
2024-04-23 17:05:50 -04:00
akemidx
0bc93c6a1e
space
2024-04-23 15:31:37 -04:00
Spencer Long
53ccd196d7
Merge branch 'develop' into bug/sc-24884
2024-04-23 13:57:59 -05:00
snipe
685f1cbfb8
Merge pull request #14499 from Godmartinz/remove_encrpyt_from_labels
...
Removed encrypted fields from label options
2024-04-23 13:31:38 +01:00
snipe
bdd43b7134
Merge pull request #14602 from uberbrady/fix_saving_encrypted_custom_fields
...
Re-enabled updating encrypted custom fields via API [sc-41465]
2024-04-23 10:20:55 +01:00
Godfrey M
96b3af7cbc
fixed view from sending all custom fields
2024-04-22 18:27:34 -07:00
Godfrey M
5fc6771543
adds licenses available, updated teranslations
2024-04-22 17:58:49 -07:00
akemidx
0d049a0be7
conflict resolution
2024-04-22 20:09:40 -04:00
akemidx
01c24ab4cd
translating text
2024-04-22 19:16:14 -04:00
Godfrey M
14ddf36d46
removed two duplicate translations
2024-04-22 10:43:11 -07:00
Godfrey M
25f1167c9d
adds company scoping to license export
2024-04-22 10:38:55 -07:00
Godfrey M
420225c2d5
Merge branch 'refs/heads/develop' into License-export-button
2024-04-22 10:33:30 -07:00
snipe
2aa3ce15bd
Removed escaping on notes for file uploads
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-22 14:55:02 +01:00
snipe
8dd71f99cc
Added ico, image/x-icon,image/vnd.microsoft.icon to favicon validation
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-22 13:54:19 +01:00
snipe
424cbd3248
Removed noisy debug
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-18 14:25:54 +01:00
akemidx
e8d9701a26
array key existing
2024-04-17 19:16:25 -04:00
snipe
6f195cb8ec
Merge pull request #14591 from snipe/bug/sc-25258/naive_fix_for_user_scoping
...
First fix for user FMCS scoping
2024-04-17 21:49:53 +01:00
snipe
4450351b75
Only sync groups if API user is superadmin
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-17 11:06:50 +01:00
snipe
9bb15aaf1b
Added individual gates to keep response consistent with other company-ed things
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-17 10:57:49 +01:00
snipe
65dd729e19
Additional gates
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-17 10:57:20 +01:00
snipe
5e8c129c7f
Revert accidental commit
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-17 09:26:50 +01:00
snipe
ab3b5ca4ef
Fixed tests
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-17 09:26:07 +01:00
snipe
a8d48b758e
Merge pull request #14594 from marcusmoore/bug/sc-25314/multiple-label-fields-on-one-row
...
Fixed label fields only showing first option
2024-04-15 18:53:03 +01:00
Brady Wetherington
67a8e0b5c6
This re-enables the ability to update encrypted custom fields via the API
2024-04-15 18:46:11 +01:00
snipe
7b7d424962
Merge pull request #13880 from Godmartinz/department-validation-bug
...
Fixed department validation to allow updates
2024-04-12 10:50:26 +01:00
Marcus Moore
a4e959818a
Add comment
2024-04-11 17:23:28 -07:00
Marcus Moore
c3a71cc182
Improve variable names and add comment
2024-04-11 16:44:13 -07:00
Marcus Moore
da03cfdbe5
Formatting
2024-04-11 16:39:29 -07:00
Marcus Moore
2b137d76fa
Trim string to avoid leading whitespace if label is empty
2024-04-11 16:38:22 -07:00
Marcus Moore
81b8c111ca
Allow multiple fields to be displayed in one row
2024-04-11 15:00:14 -07:00
snipe
c604f08749
Small tweaks for troubleshooting :(
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-11 18:47:55 +01:00
snipe
da21424416
Merge pull request #14581 from marcusmoore/bug/sc-25237
...
Fixed assigned to field in new label engine
2024-04-11 15:36:18 +01:00
snipe
0d23d28a65
Added comments
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-11 15:15:56 +01:00
snipe
710370ac24
Added scoping for destroy
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-11 14:58:25 +01:00
snipe
ed0a441e4d
Refactor destroy method
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-11 14:52:03 +01:00
snipe
24e87cc0bb
Updated comment
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-11 14:51:49 +01:00
snipe
460693c153
Added comment
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-11 14:40:13 +01:00
snipe
f54a94bd4c
Refactorered methods
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-11 14:40:00 +01:00
snipe
a19b86add0
Re-ordered scoping for admins, added comments
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-11 14:39:37 +01:00
Marcus Moore
5567a1e9ac
Formatting
2024-04-10 17:37:11 -07:00
Marcus Moore
f28a82de71
Implement some tests, scaffold others
2024-04-10 17:27:07 -07:00
Marcus Moore
7c2fae7b9d
Scaffold api test cases
2024-04-10 17:08:45 -07:00
Marcus Moore
4434de6241
Add test case
2024-04-10 15:47:26 -07:00
Godfrey M
a2bca0e358
fixed comments
2024-04-10 15:05:21 -07:00
Marcus Moore
6d572424ac
Add validation around dates
2024-04-10 14:02:25 -07:00
Marcus Moore
7dbf8a8a8e
Add tests for asset and location check out
2024-04-10 13:28:52 -07:00
Godfrey M
0849262243
fixed notes
2024-04-10 12:19:34 -07:00
Godfrey M
17095feb33
fix typo
2024-04-10 12:15:48 -07:00
Godfrey M
f42ae46338
exports all licenses
2024-04-10 12:14:44 -07:00
Godfrey M
e2679852ce
added export button, half the logic for export method
2024-04-10 11:31:30 -07:00
Marcus Moore
deaba46e1c
Merge branch 'develop' into chore/sc-25103/add-tests-around-asset-checkout
2024-04-10 11:01:35 -07:00
snipe
989dab6259
Moved company scoping methods to group them together
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-10 14:35:13 +01:00
snipe
adacdc038d
Apply company scoping for users
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-10 12:34:32 +01:00
Marcus Moore
1aeaa0094a
Fix assigned to in labels
2024-04-09 13:52:54 -07:00
spencerrlongg
99d7155729
translation strings
2024-04-07 19:50:53 -05:00
spencerrlongg
f30439a544
small refactor, pretty much good to go now though
2024-04-07 17:07:46 -05:00
spencerrlongg
997eddfed1
cleanup + notes for monday
2024-04-04 18:23:03 -05:00
Godfrey M
d548b800d5
nullifies location after ldap user sync
2024-04-04 15:43:33 -07:00
spencerrlongg
52340aca78
just about wrapped up
2024-04-04 17:41:10 -05:00
spencerrlongg
e1fb446888
this is a pretty good start, need to know about other PR
2024-04-04 14:20:03 -05:00
snipe
e11287ec25
Redirect on checkin if the asset is already checked in
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-04 15:00:55 +01:00
snipe
a72d4e5dc1
Fixed ambiguous id clause in custom report
...
Signed-off-by: snipe <snipe@snipe.net>
2024-04-04 14:23:58 +01:00
spencerrlongg
0a90df2b14
alright conflicts resolved
2024-04-03 14:40:14 -05:00
Spencer Long
4ab75c1c03
Merge branch 'develop' into bug/sc-24884
2024-04-03 14:08:41 -05:00
Godfrey M
08f9aae8ae
adds note to log listener and checkout accept notif
2024-04-03 11:59:47 -07:00
Godfrey M
ce1d677cdc
adds note to acceptance
2024-04-03 11:36:03 -07:00
Godfrey M
bb2c73348d
only grabs custom Fields that are not encrpyted
2024-04-03 11:03:58 -07:00
Godfrey M
4327653d70
remove db cleaner for encrypted selections
2024-04-03 10:57:41 -07:00
Brady Wetherington
65e21faa3e
Merge branch 'develop' into snipeit_v7_laravel10
...
Hopefully, last merge?
2024-04-02 20:34:04 +01:00
steve@degga.net
bf10fd0cf0
Rename dynamicUrl() method
2024-03-31 22:37:41 -04:00
steve@degga.net
f7bbec6be4
Makes all manufacturer URLs dynamic, not just warranty lookup.
2024-03-31 22:18:44 -04:00
snipe
f42e5d5292
Reverting the store/update asset API responses for now
...
This currently breaks the Jamf integration - need a better longer term plan.
Signed-off-by: snipe <snipe@snipe.net>
2024-03-28 21:58:49 +00:00
akemidx
721902c2d4
committed for later
2024-03-28 16:44:44 -04:00
snipe
1f2d30ebf4
Check that the array key exists
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-28 12:25:29 +00:00
akemidx
e6b366020a
lots of attempts and syntax, but no go
2024-03-27 19:05:59 -04:00
snipe
0d3d172108
Make last_checkin searchable and fillable
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-27 20:37:40 +00:00
snipe
86677b5f13
Make last_checkin sortable
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-27 20:37:25 +00:00
spencerrlongg
cec84b857b
fixed last audit date + test
2024-03-27 14:39:23 -05:00
Robert Spadaro
ccd00caa70
Wrap where logic in additional where statement to protect appended params
2024-03-27 15:36:00 -04:00
spencerrlongg
1d4a7a7b02
added audit dates
2024-03-27 14:05:30 -05:00
snipe
545a185614
Merge pull request #14262 from akemidx/bug/sc-24812
...
Last Checkin Date added to Hardware View and Index
2024-03-27 19:02:25 +00:00
spencerrlongg
701411c1b9
get rid of a couple unnecessary changes
2024-03-27 13:53:57 -05:00
Spencer Long
013463aafc
Merge branch 'develop' into bug/sc-24884
2024-03-27 12:45:45 -05:00
snipe
8bc9688d71
Added ability to filter on category ID and model ID from user’s asset API
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-27 16:04:00 +00:00
spencerrlongg
39c15b2868
reformat array
2024-03-27 10:35:25 -05:00
Godfrey M
aa8af2220c
trying to remove an encrypted field but not all fields
2024-03-26 16:10:08 -07:00
snipe
ae403da8c1
Merge pull request #14502 from marcusmoore/bug/sc-25004/pwd_secure_complexity-validation
...
Added validation around `pwd_secure_complexity`
2024-03-26 20:05:04 +00:00
snipe
850f85ff59
Merge pull request #14369 from spencerrlongg/bug/sc-24343
...
Add new validator for custom field checkboxes and fix asset model default updates
2024-03-26 19:22:29 +00:00
snipe
3ced85080a
Fixed #14495 - Allow user_id to be passed to limit to only specific admins
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-26 14:45:20 +00:00
Phil J R
afe1cb8234
Create LabelWriter_1933081.php
...
Added a longer version of the existing label (25 x 54mm vs. 25 x 89mm) due to better availability and to support longer asset names.
2024-03-26 08:29:47 +00:00
Phil J R
f836342194
Rename Label_Writer_2112283.php to LabelWriter_2112283.php
...
Fix the name of LabelWWriter_2112283 to be consistent with the existing one.
2024-03-26 08:16:00 +00:00
spencerrlongg
5cf1a6c300
new validator for radio buttons
2024-03-25 21:03:13 -05:00
Marcus Moore
5815607924
Add validation for pwd_secure_complexity
2024-03-25 17:45:41 -07:00
Marcus Moore
57d1c036ec
Improve method name
2024-03-25 13:53:30 -07:00
Marcus Moore
71722b753d
Little bit of clean up
2024-03-25 13:49:03 -07:00
Marcus Moore
a2625c889a
Improve comment
2024-03-25 13:48:32 -07:00
Marcus Moore
c98b9da612
Pass last_audit_date through for model level validation if not a date
2024-03-25 13:47:24 -07:00
Marcus Moore
5f4c964309
Account for last_audit_date
not being provided
2024-03-25 12:45:11 -07:00
Marcus Moore
66ba96d531
Set last_audit_date to valid format in StoreAssetRequest
2024-03-25 12:38:12 -07:00
Phil J R
e45fd4088f
Created Dymo LabelWriter Label 2112283
...
I have added the layout for the Dymo LabelWriter 2112283 Labels.
They are: DYMO 2112283 DURABLE SMALL MULTI PURPOSE LABELS (160 LABELS) - 25 X 54MM
2024-03-25 16:31:20 +00:00
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
e9e6f925bf
Updated validation
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-21 18:34:39 +00: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
spencerrlongg
be282dd038
resolve a couple issues
2024-03-21 09:26:45 -05: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
bc908b854d
Added icon
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 23:44:47 +00:00
snipe
2067b1138a
Added the log item
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 23:43:58 +00:00
Marcus Moore
530291f81c
Implement some tests
2024-03-20 14:28:27 -07:00
snipe
de18e449a6
Merge pull request #14464 from snipe/features/toggle_all_columns
...
Added "toggle all" to column selector
2024-03-20 21:26:23 +00:00
snipe
dce19e0bea
Set names and actions to switchable = false
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 21:25:50 +00:00
spencerrlongg
e7b9903341
delete some extra lines
2024-03-20 15:29:06 -05:00
spencerrlongg
e3e01e07b1
final cleanup
2024-03-20 15:23:45 -05:00
spencerrlongg
d18aa1db98
some more cleanup + tests
2024-03-20 15:18:15 -05:00
spencerrlongg
fdf0be09db
all tests passing
2024-03-20 13:43:01 -05:00
Spencer Long
b4b4927370
Merge branch 'develop' into bug/sc-24884
2024-03-20 12:36:39 -05: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
snipe
278a25c63b
Added toggle all to column selector
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:14:41 +00:00
snipe
417caae589
Added translation
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:07:18 +00:00
spencerrlongg
0ffceb9691
some notes and a little progress
2024-03-20 00:07:52 -05:00
spencerrlongg
1e810d2426
most tests now passing, still one broken
2024-03-19 19:47:26 -05:00
spencerrlongg
c0110e7f29
some more tests and refinement
2024-03-19 19:27:35 -05: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
0d0984a400
Bulk Delete Locations does not work [sc-25100]
2024-03-19 14:26:40 -07:00
Godfrey M
b9986033cc
removed abbr. of variable, changed variable types in migration
2024-03-18 16:03:40 -07:00
Godfrey M
01afa9a749
declined notes are reflected in the action logs
2024-03-18 10:50:15 -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
spencerrlongg
f6ab0f8f46
lots of cleanup to do, but this DOES work
2024-03-13 15:57:10 -05:00
spencerrlongg
f01b205486
some changes
2024-03-13 15:10:51 -05:00
spencerrlongg
8962ced038
push to switch branches
2024-03-13 10:40:50 -05:00
spencerrlongg
04d7884af8
some more testing stuff
2024-03-12 23:17:40 -05:00
spencerrlongg
6732b6601e
some cool progress, but something with unique not working
2024-03-12 18:33:59 -05:00
Marcus Moore
0fcf223960
Add minimal validation for asset_tags
2024-03-12 12:00:10 -07:00
snipe
3f5cc2507d
Used updated_at instead
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-10 16:39:49 +00:00
snipe
5a85424295
Added created_at to license pivot
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-10 16:33:04 +00:00
snipe
a289dfaf88
Cleanup
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-10 14:33:53 +00:00
snipe
cde5502f94
Handle blank labels on asset label fields
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-10 14:03:21 +00:00
spencerrlongg
eb8f1dd553
some cleanup
2024-03-09 12:29:26 -06:00
spencerrlongg
c8341d9dc4
aha, got it working.
2024-03-08 19:48:47 -06:00
spencerrlongg
b239b3a4db
some good progress, lots of testing needs to be done on the new inclusion of SubstituteBindings
2024-03-08 18:24:41 -06:00
snipe
37dfecf098
Fixed uninitialized offset in labels
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-08 16:46:56 +00: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
112ddaf55b
Merge pull request #14394 from marcusmoore/fixes/check-endpoint-is-set-for-checkout-in-notifications
...
Ensure Chat and Teams endpoints are not blank before attempting to send webhook on checkout and check in
2024-03-08 08:44:52 +00:00
Marcus Moore
4b0bfc52b4
Ensure webhook endpoint is set before attempting to send to google or microsoft
2024-03-07 18:10:10 -08:00
snipe
e8be178ac7
Merge pull request #14393 from marcusmoore/bug/sc-24862
...
Guard against checking require acceptance on non-existent relationship in accessory model
2024-03-08 01:04:26 +00:00
Marcus Moore
695428cd44
Guard against unrelated category
2024-03-07 16:59:01 -08:00
snipe
5cf10cec34
Remloved unneeded validation message
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-07 23:40:30 +00:00
snipe
7939c691f7
Added Brother 18mm label type
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-07 22:04:12 +00:00
snipe
c66267a0f9
Merge pull request #14389 from Godmartinz/remove-pdf-for-old-labels
...
old engine works as intended
2024-03-07 21:06:57 +00:00
Godfrey M
d83974e07f
old engine works as intended
2024-03-07 13:03:10 -08:00
Marcus Moore
f270f30728
Redirect if no assets are returned from query
2024-03-07 12:30:08 -08:00
snipe
d64ee42ec3
Wrapped in a transaction
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-07 15:04:08 +00:00
snipe
fe08f39900
Fixed typo
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-07 14:43:06 +00:00
snipe
5123ab57c9
Added console command to encrypt previously unencrypted fields
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-07 14:40:52 +00:00
snipe
4b13fa45c5
Merge pull request #14320 from Godmartinz/default_label_bug
...
Default label setup with custom fields
2024-03-07 10:33:43 +00: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
ff7d25c0f2
simplified 1dbarcode logic
2024-03-06 15:30:53 -08:00
Godfrey M
5f0b7f328c
if statement order change
2024-03-06 15:24:03 -08:00
Godfrey M
6559581bad
conditions 1dbarcode to populate based on settings
2024-03-06 15:10:42 -08:00
Godfrey M
d78262f52b
resolved merge conflicts
2024-03-06 14:48:47 -08:00
snipe
a85e2f7aad
Merge pull request #14372 from snipe/bug/sc-24158
...
Added route parameter
2024-03-06 19:45:33 +00:00
Godfrey M
c9d54baa10
bulk actions are handled before sorting
2024-03-05 15:47:52 -08:00
Godfrey M
940f54dab1
revert some changes
2024-03-05 15:45:35 -08:00
Godfrey M
d83827a44e
bulk actions are handled before sorting
2024-03-05 15:43:41 -08:00
snipe
23f8e35716
Added route parameter
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-05 20:39:56 +00:00
Brady Wetherington
5b9120ba6c
Merge branch 'develop' into snipeit_v7_laravel10
2024-03-05 19:22:37 +00: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
spencerrlongg
eac01868ca
not all working, but pushing to work on something else
2024-03-05 11:02:55 -06:00
Godfrey M
95ef3a336b
Merge branch 'develop' into default_label_bug
2024-03-04 12:03:54 -08:00
Godfrey M
e926db76a0
fixes inconsistencies with generating labels
2024-03-04 10:26:38 -08: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
4ab7112988
Added validation and fillable attributes for min_amt
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 11:08:47 +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
dff7c43aed
Added minimum account check for licenses
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 11:05:02 +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
Godfrey M
ef52777ffb
removed conditional
2024-02-27 11:33:00 -08:00
Godfrey M
b67ceab849
fields appear in preview, but not bulk generate labels
2024-02-27 11:29:19 -08:00
akemidx
5ffade663a
unstash
2024-02-26 18:41:58 -05:00
spencerrlongg
c025e25839
just the basics and notes, pushing to keep track
2024-02-26 14:32:50 -06: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
spencerrlongg
b6fa6cba22
note before switching tasks
2024-02-22 15:01:14 -06:00
Marcus Moore
2df026bcb5
Allow updating asset default location when checking in asset via api
2024-02-22 12:40:14 -08:00
Godfrey M
6ee24a7527
remove unnecessary code reformat
2024-02-22 12:36:27 -08:00
Godfrey M
e2dcee1959
cleans up dead code
2024-02-22 12:26:57 -08:00
Godfrey M
4fbea9512f
puts textY inside of the forloop
2024-02-22 12:08:47 -08:00
Godfrey M
b7850ab839
puts textY outside of the forloop
2024-02-22 12:08:04 -08:00
Godfrey M
c0215baca5
minor changes
2024-02-22 11:41:04 -08:00
Godfrey M
c62758c5b5
adds custom field select to default label view
2024-02-22 11:36:39 -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
Brady Wetherington
8f2843bfcf
Merge branch 'develop' into snipeit_v7_laravel10
...
Had to re-generate composer.lock, and re-do package.json and rebuild assets as well.
2024-02-21 20:22:28 +00: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
akemidx
9397372f87
permissions, but they are now all in their own column because reasons???
2024-02-20 18:48:17 -05:00
akemidx
8bbf6da052
user block, trying to pick out ONLY permissions we wanna see
2024-02-20 18:25:41 -05:00
snipe
ffa7d25fc0
Merge pull request #14308 from snipe/fixes/eager_load_relations_on_locations
...
Eager load relations to determine deletability on locations
2024-02-20 22:28:39 +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
d67ff54f4b
temporary decrypt, almost there
2024-02-20 16:20:03 -06:00
Marcus Moore
ccec190985
Set label title properly
2024-02-20 13:59:50 -08: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
b2c8fbf349
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 16:42:04 +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
snipe
a6a65b7523
Fixed locations isDeletable check
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 16:40:09 +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
aef45a90b2
Merge pull request #14278 from uberbrady/allowlist_and_db_prefix_for_restore
...
Allowlist and db prefix for restore
2024-02-15 14:50:44 +00:00
Brady Wetherington
6a78706a3e
New 'sanitize' version of backup-restore tool. Optional.
2024-02-15 13:27:18 +00:00
snipe
8adfa8dd83
Change exceptions to warnings
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-15 12:28:12 +00:00
snipe
6c9001df09
Changed log level in checkoutable listener to info
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-15 12:20:14 +00: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
b871813cfd
Merge pull request #14172 from spencerrlongg/bug/sc-23514
...
Resolve Duplicate Activity Logs for Imports
2024-02-15 09:54:43 +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
fb28882f65
trim potential spaces
2024-02-14 11:59:14 -06:00
spencerrlongg
d9c61fdb02
validation msg
2024-02-14 11:52:25 -06:00
spencerrlongg
72c118a70f
cleanup
2024-02-14 11:41:46 -06:00
Godfrey M
b136e9e29d
fix the listener to fire when checking in
2024-02-14 09:16:20 -08: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
71ebade641
Added serial and status to searchable relations
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-14 09:59:10 +00:00
snipe
b86b05c4fc
Added serial and status fields to presenter
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-14 09:58:55 +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
snipe
03df4cec45
Fixed typo
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-14 09:46:43 +00:00
spencerrlongg
25241542d2
progress, going to sleep
2024-02-14 02:12:31 -06:00
spencerrlongg
57a75e68b9
maybe i do the inverse here?
2024-02-14 00:52:50 -06:00
spencerrlongg
dcf2168454
initial stuff, need to switch branches
2024-02-13 19:35:37 -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
Brady Wetherington
955f75f733
Fixes for the prefix-guessing and sanitizing.
2024-02-13 16:45:24 +00:00
Brady Wetherington
70ef904951
Actually got this pretty close to being able to do a restore
2024-02-13 12:16:15 +00:00
Brady Wetherington
fcf023e3d2
WIP: trying to get prefixing and sanitization working
2024-02-13 12:16:15 +00:00
Brady Wetherington
8c882ddead
Starting to abstract out the SQL Streaming logic into its own class
2024-02-13 12:16:15 +00:00
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
akemidx
f7d0cecdac
permissions query starto
2024-02-12 19:01:06 -05: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
Brady Wetherington
8a2f3405d5
Merge branch 'develop' into snipeit_v7_laravel10
...
A lot of changes here, but hopefully this works?
2024-01-29 22:12:58 +00: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
Brady Wetherington
f734e196e5
Merge branch 'develop' into snipeit_v7_laravel10
2024-01-08 18:57:55 +00: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
spencerrlongg
f93e7b91ff
that's all folks
2023-12-06 16:20:30 -06:00
spencerrlongg
18720b3302
safety stuff
2023-12-05 20:36:59 -06:00
spencerrlongg
12e546e63a
everything working, cleanup
2023-12-05 20:22:20 -06:00
spencerrlongg
c28936fefb
almost there... problem with update button
2023-12-05 17:39:35 -06:00
spencerrlongg
080d196138
buttons work now after style tags removed
2023-12-05 16:41:25 -06:00
spencerrlongg
d3967b37cd
this is a start, buttons not working?
2023-12-05 14:52:14 -06: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
0089ea2321
Merge pull request #13882 from marcusmoore/fixes/jquery-validation
...
Fix client side validation in the v7 branch
2023-12-05 17:26:48 +00:00
snipe
3f35124838
Merge pull request #13888 from spencerrlongg/chore/sc-16907
...
Convert Vue Personal Access Tokens to Livewire
2023-12-05 16:45:16 +00: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