snipe
e256bdc9f7
Clearer version in footer
2016-07-21 21:39:23 -07:00
snipe
2e6e0e8911
Fixed versioning path
2016-07-21 21:30:49 -07:00
snipe
52425f62c5
Set default values for status labels in import
2016-07-19 15:49:04 -07:00
Daniel Meltzer
68d8e6a3a9
Importer again ( #2260 )
...
* Quote item names when displaying in error table.
* Remove the danger class as well as the warning class when uploading a file. Fixes a display error if a file is successful after a file fails upload.
2016-07-18 15:46:03 -07:00
snipe
8d71e6b268
Fixed indenting
2016-07-09 18:20:57 -07:00
Daniel Meltzer
25b916afeb
Show the name of the item with errors in the table.
2016-06-22 17:09:04 -04:00
snipe
4ed8ff5576
Formatting fixes for coding standards
2016-06-22 12:27:41 -07:00
snipe
8942e085c3
Merge pull request #2189 from dmeltzer/importer-improvements
...
Two more importer fixes.
2016-06-22 12:20:13 -07:00
Daniel Meltzer
eba6574047
Add a space to the signature to make the --soft option work.
2016-06-22 15:13:43 -04:00
Daniel Meltzer
43e64a5f8c
Store a list of errors associated with each field instead of overwriting the error if multiple occur. Also Adjust the importer to extract the asset tag earlier in the process so all asset related errors are associated with the asset tag rather than some being tied to the name.
2016-06-22 15:13:01 -04:00
snipe
49bf9f8b5b
Switch null to lowercase for code style adherence
2016-06-21 11:06:53 -07:00
Daniel Meltzer
d6dd449445
Only show importer progress if on command line. It broke error display from web.
2016-06-20 00:09:17 -04:00
Daniel Meltzer
8c00bad6d0
Add a check to ensure custom fields exist before iterating through them
2016-06-20 00:09:17 -04:00
Daniel Meltzer
4715cc6447
Pass user id to importer. This shows items imported through web interface as created by the appropriate user. Also save warranty_months to item, not just read it from csv. Fixes #2175
2016-06-20 00:09:17 -04:00
snipe
b4d6842a7c
Minor formatting changes, added DB call for custom fields
2016-06-13 21:45:52 -07:00
snipe
f3e42384c5
Hardcoded higher PHP execution limits
2016-06-13 21:41:09 -07:00
snipe
6fa4d1252d
Fixes purchase date if no purchase date given
2016-06-10 05:00:49 -07:00
snipe
bbb116f29c
Fixes #2142
2016-06-09 12:25:51 -07:00
Daniel Meltzer
6ba37a3a8d
Add a 'soft' delete option to the pave tool. This leaves db structure and migrations in place but removes everything inside the db except the first user.
2016-06-05 10:24:42 -05:00
snipe
9f6eb02afc
Don't purge users where show_in_list = 1
...
This is necessary so hosted customers can't hard-delete my account :-/
2016-06-03 12:13:59 -07:00
Daniel Meltzer
da01591ab8
Case insensitive string comparison for items when comparing with existing items. Fixes some false errors. Also remove stray characters from manufacturer logging.
2016-06-01 19:31:24 -05:00
Daniel Meltzer
a729038ccd
Fix typo.
2016-05-31 19:00:11 -05:00
Daniel Meltzer
dab2a50982
Only display errors in import table if things actually prevent the asset from being created. Also some table formatting improvements.
2016-05-31 18:04:01 -05:00
Daniel Meltzer
004c63cd5d
Improve web imported. Show a list of all items with that were not imported correctly after import. Modify ObjectImporter and add a web-import parameter that causes it to spit out json errors exclusively. Long term I want to separate the console command and the logic so we aren't calling the console command directly, but rather a class that does everything. This would allow for easier progress reports and ajaxification.
2016-05-26 21:29:29 -05:00
Daniel Meltzer
891c37b2ed
Add warranty months. Also fix a merge issue where things reverted back to comment instead of log.
2016-05-25 21:13:26 -05:00
Daniel Meltzer
e353df588f
Importer improvements. If user real name doesn't exist don't try to create the user.
2016-05-25 20:47:46 -05:00
Daniel Meltzer
fd0d04eba4
Import status labels.
2016-05-25 20:46:01 -05:00
Daniel Meltzer
22c6f32e92
Instead of a field in the csv, set whether assets, consumables, or accessories are generated by an option on the command line. Also Adjustconsumables/accessories to function smoother.
2016-05-25 20:37:19 -05:00
Daniel Meltzer
04428d2d07
Replace console output in ObjectImporter with a logging mechanism. Also track all model/validation errors and output them at the end of the import, rather than inline.
2016-05-25 20:37:19 -05:00
snipe
64d818e56e
Fixed License and LicenseSeat namespaces for importer
2016-05-24 02:17:10 -07:00
snipe
d6715914e1
Fixed supplier namespace
2016-05-24 02:13:28 -07:00
snipe
f10b3b7cdb
Fix for license importer
2016-05-24 01:51:47 -07:00
snipe
2b1bf9f7f3
Merge branch 'v3' of github.com:snipe/snipe-it into v3
2016-05-19 19:34:11 -07:00
snipe
15eb6df1db
Add settings for alert interval threshold and inventory threshold
2016-05-19 19:33:53 -07:00
Daniel Meltzer
592ce4c2de
Readd sample.csv. Also port away from Sentry in the importer to be laravel5 compliant.
2016-05-18 23:33:18 -05:00
Daniel Meltzer
4f70fa88d9
Rename to snipeit:import
2016-05-18 22:40:02 -05:00
Daniel Meltzer
173c3de36a
Add the asset to the cache after creating it as well.
2016-05-18 22:40:02 -05:00
Daniel Meltzer
2a56148ec2
Remove extraneuous htmlentities() calls, now that we call it in array_smart_fetch
2016-05-18 22:40:02 -05:00
Daniel Meltzer
df749f26f5
Add the company/suppliers to the cache. This fixes some issues with duplicate items existing
2016-05-18 22:40:02 -05:00
Daniel Meltzer
191ae110d0
* Alphabetize the createOrFetch methods
...
* Move the html escaping to array_smart_fetch to avoid duplication
* Ensure string comparisons have === everywhere
2016-05-18 22:40:02 -05:00
Daniel Meltzer
5821127a79
Update/port ObjectImportComandd to work with v3. Also change to do one big transactional commit instead of writing to db after each item. Went from a 2 minute import to a 5 second import for a 2000 item file. I still need to do some more santization of the input and work on error handling, but this seems to be in decent shape.
2016-05-18 22:40:02 -05:00
snipe
beed74c0d0
Add extra tables for drop
2016-05-14 15:04:51 -07:00
snipe
252b114b5f
Fixed case sensitive model for status labels
2016-05-12 17:23:51 -07:00
snipe
b9b8149234
Minor backups fixes
2016-05-12 16:20:23 -07:00
snipe
8dc0dc0a07
Update permissions for cli user tool
2016-04-28 20:56:27 -07:00
snipe
7b489ad1ec
Ability to suppress users from checkoutable list
2016-04-28 20:19:22 -07:00
snipe
32c193b9bf
[Bugfix] Fixed Mail namespace
2016-04-23 04:02:52 -07:00
snipe
c3b7332e3b
[Bugfix] Fixed Mail namespace
2016-04-23 04:02:40 -07:00
snipe
599066cbde
Use error method to highlight errors in import console
2016-04-19 04:36:25 -07:00
snipe
49c09dd356
Added ability to purge soft-deletes from admin
2016-04-19 04:36:07 -07:00
snipe
18869550a7
Fixed stray quotes
2016-04-19 02:28:54 -07:00
snipe
9de2725de0
More purge fixes
2016-04-19 01:38:11 -07:00
snipe
a8ff632740
Fixes asset purge
2016-04-19 01:27:04 -07:00
snipe
74400eb9a1
Purge function to delete all soft-deleted items
2016-04-19 00:47:54 -07:00
snipe
4161a8af29
Change snipe-it commands to use common namespace
2016-04-19 00:47:32 -07:00
snipe
f1ad5461d8
Feature: Artisan command to allow you to disable LDAP in case you lock yourself out.
2016-04-14 11:59:01 -07:00
snipe
2b74fd86cb
Trying to fix backup script
...
This is still broken, but I will come back to it
2016-03-25 17:21:01 -07:00
snipe
fe00b0e401
Version 3 - hold onto your butts
2016-03-25 01:18:05 -07:00