snipe-it/app/Http/Middleware
Daniel Meltzer f7dbda4ed3 Disable broken tests (#5073)
* Work towards a functional travis.  Step 1: Disable broken unit tests.

* Fix functional tests

This updates the login information and model factories to work with
changes to source.

* Importer name/full name fixes.

Fix a bug where "name" was used ambigously and mapping "item name" to
"name" would confuse the importer into thinking it should also be a user
name.  Now we default to "full name" for the users name, and "item name"
for the item name.  These are still both configurable through the custom
mapping.

Also update sample csvs and remove an outdated sample.

* Max length of supplier notes is 191, not 255, as per default laravel string length.  Might make sense to change this to a text field in the future to match other places.

* Use sqlite/different db setup for unit tests.

* Fix assets api test.

* Fix Components API test.

* increase travis memory limit for functional tests.

* Use travis config for api tests as well.

* Fix memory limit file.

* Disable ApiComponentsAssetsCest until it's fixed.
2018-02-22 21:46:58 -08:00
..
Authenticate.php
CheckForDebug.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
CheckForSetup.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
CheckForTwoFactor.php Get settings in middleware, makr available in views 2016-11-28 22:53:16 -08:00
CheckLocale.php Use getSettings() to check for locale to take advantage of cached value 2016-11-29 00:21:58 -08:00
CheckPermissions.php Fixes #106 - adds Google Authenticator support (#2842) 2016-10-29 05:50:55 -07:00
ContentSecurityPolicyHeader.php Removed nonce for now 2017-11-02 10:57:05 -07:00
EncryptCookies.php
FrameGuard.php Allow X-Frame-Options to be disabled via env if necessary 2016-08-29 22:57:29 -07:00
NosniffGuard.php
RedirectIfAuthenticated.php Fixes #2448 - redirect to intended page 2016-10-29 07:32:48 -07:00
ReferrerPolicyHeader.php Added referrer-policy header 2017-09-28 17:12:58 -07:00
VerifyCsrfToken.php
XssProtectHeader.php Removed space in XSS header because safari was getting angry 2017-09-28 18:45:54 -07:00