snipe
e33f73fe9f
Fixed comment text
...
Signed-off-by: snipe <snipe@snipe.net >
2025-06-05 11:56:14 +01:00
snipe
6291389df5
Fixed #16934 - update asset by ID in importer
...
Signed-off-by: snipe <snipe@snipe.net >
2025-06-05 11:53:57 +01:00
Marcus Moore
b82d835f4f
Remove created_by since it is not available
2025-04-10 13:59:28 -07:00
Marcus Moore
d593365c9c
Create pending default status label if none exists
2025-04-10 13:38:30 -07:00
snipe
4363e8b34c
Updated importer
...
Signed-off-by: snipe <snipe@snipe.net >
2024-09-19 16:20:42 +01:00
snipe
1582d81e5b
Change user_id to created_by
...
Signed-off-by: snipe <snipe@snipe.net >
2024-09-17 22:16:41 +01:00
snipe
3ae4a5caf0
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net >
2024-08-16 22:53:27 +01:00
snipe
7658f7c41d
First shot
...
Signed-off-by: snipe <snipe@snipe.net >
2024-08-16 20:29:53 +01:00
snipe
793cf27318
Fixed use statement
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-19 22:50:24 +01:00
snipe
ae9085b11f
Modernize use statements, switch to auth()
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-04 20:49:22 +01:00
snipe
45dbe5cb77
Return the id, not the entire status label
...
Signed-off-by: snipe <snipe@snipe.net >
2024-06-20 15:05:38 +01:00
snipe
a1ff35f6ce
Possible fix for #14915
...
Signed-off-by: snipe <snipe@snipe.net >
2024-06-20 14:47:46 +01:00
snipe
71c9b03779
Fixed incorrect field name
...
Signed-off-by: snipe <snipe@snipe.net >
2024-06-19 11:05:22 +01:00
snipe
52950f1322
Refactored date parsing
...
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
4ccbfb56a4
Make sure the status label is deployable
...
Signed-off-by: snipe <snipe@snipe.net >
2024-06-05 10:28:35 +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
spencerrlongg
3574ef5bb9
a few more imports, component sample
2024-01-25 19:54:53 -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
Ivan Nieto Vivanco
7d30001ff8
Ignore the importer checkout if user is not found
2023-11-08 15:32:33 -06: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
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
758d3aadb4
Added trim to import values
...
Signed-off-by: snipe <snipe@snipe.net >
2023-10-10 11:52:35 +01:00
spencerrlongg
3e3bb594ea
some import stuff
2023-09-11 17:34:04 -05:00
spencerrlongg
3fb62874f0
quick push to check something else
2023-09-11 17:22:46 -05:00
spencerrlongg
c66804bcee
a little cleanup
2023-09-11 17:22:46 -05:00
slong753
27bea2abb9
just some more wip on the importer
2023-09-11 17:21:51 -05:00
slong753
78c400e948
fix conflicts
2023-09-11 17:21:50 -05:00
slong753
41b65bd9a2
small changes
2023-09-11 17:15:25 -05:00
slong753
17a83129b9
this all needs to be tested tediously
2023-09-11 17:15:25 -05:00
Ivan Nieto Vivanco
67e47a7d8b
Add guard clause to obtain the default ID of imported asset's status label
2023-06-22 13:53:58 -06:00
snipe
47fa490e8a
More translations
...
Signed-off-by: snipe <snipe@snipe.net >
2023-05-23 19:28:23 -07:00
snipe
61d5bd8567
Removed comment
...
Signed-off-by: snipe <snipe@snipe.net >
2023-05-23 14:57:15 -07:00
snipe
3296716dfa
Added EOL date to importer
...
Signed-off-by: snipe <snipe@snipe.net >
2023-05-16 19:06:35 -07:00
Marcus Moore
4cbe683a1a
Explicitly cast asset tag to string when querying
2023-03-29 11:28:04 -07:00
Marcus Moore
c80595e05c
Ensure asset name is maintained when importing assets that are checked out
2023-03-07 11:09:25 -08:00
snipe
a34cb8b862
Check for boolean on requestable
...
Signed-off-by: snipe <snipe@snipe.net >
2023-03-06 17:11:08 -08:00
snipe
304ccaa30e
Added byod to asset importer
...
Signed-off-by: snipe <snipe@snipe.net >
2023-03-06 14:28:24 -08:00
Ivan Nieto Vivanco
9f0ecba9b9
Add autoincrementing asset tags to the import if the CSV column is empty
2022-08-03 12:48:48 -05:00
Ivan Nieto Vivanco
52901f50eb
Add date to checkout action when importing assets
2022-05-19 17:38:10 -05:00
Ivan Nieto Vivanco
cdc0805fc4
Sanitize dates input in the importer before saving
2022-03-10 12:07:07 -06:00
snipe
b876d0abb0
Merge remote-tracking branch 'origin/master' into develop
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# .env.example
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Kernel.php
# app/Http/Transformers/ActionlogsTransformer.php
# app/Importer/AssetImporter.php
# app/Models/Accessory.php
# app/Models/Consumable.php
# app/Presenters/AccessoryPresenter.php
# app/Presenters/ComponentPresenter.php
# app/Presenters/ConsumablePresenter.php
# app/Providers/AuthServiceProvider.php
# composer.json
# composer.lock
# config/app.php
# config/cors.php
# config/version.php
# package-lock.json
# public/js/build/app.js
# public/js/build/app.js.LICENSE.txt
# public/js/dist/all.js
# public/mix-manifest.json
# resources/views/accessories/view.blade.php
# resources/views/consumables/view.blade.php
# resources/views/settings/saml.blade.php
# routes/api.php
2022-03-03 21:59:38 -08:00
Ivan Nieto Vivanco
64fa7e23fc
Separate notes on assets and asset models
2022-02-24 16:05:03 -06:00
Ivan Nieto Vivanco
577dc6b02c
Separate notes on assets and asset models
2022-02-24 15:50:59 -06:00
Ivan Nieto Vivanco
949fe2a14a
Adds last_audit_date and next_audit_date in the asset importer
2022-01-13 15:14:20 -06:00
Laravel Shift
934afa036f
Adopt Laravel coding style
...
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.
You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started.
[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
2021-06-10 20:15:52 +00:00
Ivan Nieto Vivanco
90a24539b0
Fixes/cli importer issue ( #9199 )
...
* Added logic to handle the CLI importer.
* Fix bug introduced with the commit previous to the regression.
* Adds a validation for variable when is null, add comments to clarify where the class variable came from.
* Add support for when variable is an instance of User class.
2021-04-05 19:28:31 -07:00
snipe
5754f0aa3f
Revert "Added logic to handle the CLI importer. ( #9088 )"
...
This reverts commit 2e2d087639 .
2021-02-18 14:21:19 -08:00