Commit graph

3891 commits

Author SHA1 Message Date
Daniel Meltzer
49d95892e3 Port asset history importer to league/csv9 (#5972) 2018-07-26 12:04:21 -07:00
snipe
9618878023 Restrict users asset listing to just assets checked out to users 2018-07-25 21:40:33 -07:00
snipe
b267b34762 Make sure there is a settings value 2018-07-25 19:02:35 -07:00
snipe
a5daee811b Split out custom_css from custom_header color 2018-07-25 19:00:03 -07:00
snipe
1fd0b14b98 Removed ide-helper config 2018-07-25 12:07:50 -07:00
snipe
ce44744dc6 Yoinked ide-helper 2018-07-25 12:07:03 -07:00
snipe
c90dee4cf4 Added barryvdh/laravel-ide-helper 2018-07-25 11:58:00 -07:00
snipe
373885ebd1 Use Storage for file uploads (not model images) 2018-07-25 11:57:49 -07:00
snipe
a9fd9c9e59 Moved gates to individual controller methods to fix “This action is unauthorized” in route:list 2018-07-25 10:45:32 -07:00
snipe
9535c68dfe Fixed base path in local file driver 2018-07-25 10:44:37 -07:00
snipe
63bf71b071 Use Storage methods for asset/license files 2018-07-25 09:48:50 -07:00
snipe
2e92ef7d77 Removed HTML colspan for bootstrap table in files display 2018-07-25 07:40:04 -07:00
snipe
068ae5805b Set base path for storage default on local disk 2018-07-25 07:39:47 -07:00
snipe
054de06522 Added cache variables to S3 2018-07-25 07:29:23 -07:00
snipe
9a99626b9e Added SFTP to filesystem config 2018-07-25 07:27:31 -07:00
snipe
7a9a78ec53 Make Codacy happy by reversing the signature params 2018-07-25 07:14:16 -07:00
snipe
684a892e8b Removed rackspace for now 2018-07-25 06:59:58 -07:00
snipe
91a9e410df Fixed weird whereNULL 2018-07-25 06:46:06 -07:00
snipe
e64e1207cf Reordered PHP versions because anal-retentive 2018-07-25 05:36:54 -07:00
snipe
999c4e781d Update version of PHP for travis 2018-07-25 05:33:28 -07:00
snipe
3df19d267f Fixed Ziggy routes 2018-07-25 03:00:27 -07:00
snipe
501f096a2c Updated spatie backup config file for their latest version 2018-07-25 01:36:30 -07:00
snipe
47ed328f0e Change fire() to handle() for Laravel 5.5 2018-07-25 01:28:44 -07:00
snipe
4cc7ed9ec7 Backup updates 2018-07-25 01:28:30 -07:00
snipe
7af633177a Fixed filledFile back to hasFile 2018-07-24 22:52:49 -07:00
snipe
86c1f11bec Change $request->has to $request->filled unilaterally 2018-07-24 22:51:31 -07:00
snipe
0714ac4248 Update withCounts because Laravel 5.5 :( 2018-07-24 22:40:05 -07:00
snipe
e6dd90e055 Added footer settings to settings reset 2018-07-24 22:21:16 -07:00
snipe
b2968ea6c6 Fixed paths to Aurhorizable/Authenticatable contracts 2018-07-24 21:29:08 -07:00
snipe
d81975e168 Laravel 5.6 requirement for filip/whoops 2018-07-24 21:28:37 -07:00
snipe
24c949c886 Bumped version to v5.0.0-pre 2018-07-24 21:13:02 -07:00
snipe
de84e1bd88 Added hashing config 2018-07-24 21:13:02 -07:00
snipe
60c4fa1d90 Updated trustedproxy w/config 2018-07-24 21:13:02 -07:00
snipe
3d3ed6ab03 Logging updates for 5.6 2018-07-24 21:13:02 -07:00
snipe
14735057a8 New spatie config file 2018-07-24 21:13:02 -07:00
snipe
75b3c66908 Spatie backup lang updates 2018-07-24 21:13:02 -07:00
snipe
52bd7e4dfb Added language file for spatie 2018-07-24 21:13:02 -07:00
snipe
b58314493a Use array for db dump configs 2018-07-24 21:13:02 -07:00
snipe
6ebc653620 Sparie backups config upgrade 2018-07-24 21:13:02 -07:00
snipe
f69e34f6ca Applying @dmeltzer’s changes from afc8ac5e720187c236509dcc015f842e3029df7a 2018-07-24 21:13:02 -07:00
snipe
7bb50a61a7 Applying @dmeltzer’s changes from afc8ac5e720187c236509dcc015f842e3029df7a 2018-07-24 21:13:02 -07:00
snipe
6b31e2aca9 php7 composer 2018-07-24 21:13:02 -07:00
Antti
a55a9ca4cd Fix: Made migration run original command for mysql (#5915)
* Fix: Made migration run original command for mysql

* Added sqlite_testing migration

* Review suggested fix
2018-07-24 20:57:47 -07:00
snipe
e332442132 Bumped version 2018-07-24 19:45:23 -07:00
Daniel Meltzer
64d649be7f Monster: Cleanup/Refactor http controllers. (#5916)
* Extract a handlesimages trait to centralize logic for parsing/storing images on upload in create/edit methods.

* Use same image upload/layout in accessories as consum+components.

* Monster: Cleanup/Refactor http controllers.

This cleans up docblocks, pulls most non-crudy actions into their own
controllers, and does general cleanup/logic refactoring.  There /should/
be no functional changes, but we all know how should works..

Extract checkin/checkout functions to a separate controller for accessories.

Move controllers to subdirectory.

Cleanup AssetModelsController

Extract component checkin/checkout

Assorted cleanups/doc/formatting in controllers.

Refactor LicenseController.

Refactor UsersController

Update viewassetscontroller.

* Codacy cleanups

* More codacy cleanups.  Extract a LicenseCheckout Form request as well.

* A bit more refactor/cleaning of the license checkout method.

* Review Related Cleanups

* Fix most of the item_not_found translations.  In many cases, the
string being generated did not even use the id parameter.  Where it
does, pass it as id instead of as a different value.

* Remove some old $data arrays from when we manually sent emails from
the controllers.  This has been superseeded by the notification system
(yay!)

* Bugfix: Only log the checkin of an accessory if the checkin completes sucessfully.
2018-07-24 19:35:26 -07:00
snipe
e320d2ba05
Fixed #5944 - added logo option for print-assets page (#5950) 2018-07-24 13:37:02 -07:00
snipe
ed78a4b8a0 Fixed activated issue for strict mode 2018-07-24 13:28:59 -07:00
snipe
376eb52f00 Fixed #5938 - added “self location edit” as permission 2018-07-24 12:42:16 -07:00
snipe
8ecceeacda Fixed weird display for self options 2018-07-24 12:41:58 -07:00
snipe
f4cfb31bf4 Use request object 2018-07-24 12:10:02 -07:00