snipe-it/app/Http
Daniel Meltzer 2a95a95e00 Company to logs (#2717)
* Fix the actionlog/companyables problem by adding a company_id to all actionlogs and scoping directly on that.  Works around bugs in laravel where trying to hunt down the polymorphic relationship would lead to an infinite loop

* Scope companyables in getactivityreport.  Also eager load.

* Improve reportscontroller, work on seeder to test this.

* Only show company users in checkout dialogs

* If no admin associated with log, it might be a request.  Leave blank instead of saying deleted admin

* When injecting company_id, use target instead of user if user is a superadmin

* Build up the seeder to generate users, companies, and logs.

* Eager load the log, don't scope the users log because the log should already include things only related to the user.
2016-09-29 22:20:49 -07:00
..
Controllers Company to logs (#2717) 2016-09-29 22:20:49 -07:00
Middleware Allow X-Frame-Options to be disabled via env if necessary 2016-08-29 22:57:29 -07:00
Requests Remove last name requirement in save user request 2016-08-30 06:47:38 -07:00
Traits Putting uniqueUndeleted into a trait for use across models 2016-07-26 01:39:30 -07:00
Kernel.php Use custom maintenance middleware 2016-08-11 19:22:26 -07:00
routes.php Added Ajax reporting view 2016-09-19 23:52:01 -07:00