snipe-it/app
Daniel Meltzer 638a7b2d91 Assetcontroller cleanup (#5858)
* Extract method/cleanup

* Remove apiStore method that is unusued since api controllers.

* Use proper model exception

* Remove old user importer.  This is now supported by the general importer framework.

* Refactor AssetsController methods.

This is a giant diff without many functional changes, mostly cosmetic.
I've pulled a number of methods out of assetscontroller, preferring
instead to create some more targetted controllers for related actions.
I think this cleans up the file some, and suggests some places for
future targetted improvement.

Fix weird missing things.

* Fix Unit test failing after date changes.

* Pass valid string to be translated.

* Some method cleanup for codacy.

* Extract trait for common checkout uses and codacy fixes.
2018-07-16 17:44:03 -07:00
..
Console Check for > 0 expected assets 2018-05-21 15:41:19 -07:00
Events Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Exceptions Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
Helpers Remove old helpers (#5843) 2018-07-16 14:22:25 -07:00
Http Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
Importer Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
LegacyEncrypter First stab at a recrypter for legacy mcrypt conversion 2017-08-21 22:30:56 -07:00
Listeners Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Models Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Notifications Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
Observers Fixed #4652 - asset not correctly checking out to user on creation 2018-01-17 12:10:28 -08:00
Policies Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00
Presenters Update my email address across files. (#5716) 2018-06-20 01:59:59 -07:00
Providers Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00