Commit Graph

38 Commits

Author SHA1 Message Date
nabeelio
d94d754961 Block user if they're not active #1066 2021-03-08 11:24:09 -05:00
nabeelio
9abfbd6c8c Remove unneeded import #1066 2021-03-08 11:21:55 -05:00
nabeelio
97fc1dd43d Don't block API logins #1066 2021-03-08 11:19:31 -05:00
Nabeel Shahzad
5046d26032 Explicitly set theme in error handler, refactor middleware #715 2020-05-23 09:05:38 -04:00
Nabeel Shahzad
09cd7adb6b Apply theme globally; add mail templates into theme folder #715 2020-05-22 19:00:54 -04:00
Nabeel Shahzad
b1e745844a Restore theme db lookup 2020-03-04 08:54:55 -05:00
Nabeel S
89481b5fa1
HTTP/HTTPS mixed content errors #612 (#613)
* Configure TrustProxies middleware
* Add trusted proxies to deps
* Replace jquery request with axios request code
* Trust current user IP for forwarded headers
* Update dependencies
* Downgrade self-updater package for PHP 7.2
2020-03-03 10:20:13 -05:00
Nabeel Shahzad
83a0007b7d Return response from middleware 2020-03-02 15:58:53 -05:00
Nabeel S
4a14e83c88
Performance improvements #602 (#607)
* Update gitignore

* Save theme to the session to avoid a lookup #602

* Formatting

* Move routes into main service provider

* Move Observers into their own service provider
2020-03-01 15:51:00 -05:00
Nabeel S
d4da0a6d6a
491 Installation Error (#495)
* Disable CSRF token

* Add error handling around looking up the theme and set a default

* Note about logs in issue template

* Formatting
2020-01-14 13:55:24 -05:00
Nabeel S
74052e4542
Return the flight fares if there are no subfleet fares #488 (#489)
* Return the flight fares if there are no subfleet fares #488

* Formatting

* Formatting
2020-01-06 13:44:43 -05:00
Nabeel S
50dc79bc8d
Refactor and add importer to Installer module #443 (#444)
* Refactor and add importer to Installer module #443

* Refactor for finances to use in import

* Import groups into roles

* Formatting

* Formatting

* Add interface in installer for import

* Notes about importing

* Check for installer folder

* Formatting

* Fix pirep->user mapping

* Unused import

* Formatting
2019-11-27 09:19:20 -05:00
Nabeel S
bffa5ebde2
Refactor the upgrade pending check to see if there are settings/permissions yaml changes (#438) 2019-11-19 10:54:42 -05:00
Nabeel S
ec4f10d43a
359 Select theme in settings (#423)
* Update composer package versions

* Laravel version

* Change theme in the admin settings page closes #359

* Fix comment
2019-10-30 09:05:18 -04:00
Nabeel Shahzad
b2cf7acfb6 Middleware to detect is update is pending; move Routes into HTTP 2019-07-18 10:51:05 -04:00
Nabeel Shahzad
e95b3eb366 Code cleanup from inspection results 2018-08-26 13:50:08 -05:00
Nabeel Shahzad
9596d88b48 Apply fixes from StyleCI 2018-08-26 16:40:04 +00:00
Nabeel Shahzad
ccf56ddec1 Fix formatting and interfaces in nearly every file 2018-03-19 20:50:40 -05:00
Nabeel Shahzad
ea09a18956 Fixed formatting of almost every file 2018-02-20 22:33:09 -06:00
Nabeel Shahzad
f660af5c3b Add config.php at root; include configuration overhaul and then fixes to the installer #156 2018-01-29 13:16:39 -06:00
Nabeel Shahzad
265fb235f2 Deny user API access if they're not ACTIVE #119 2018-01-04 20:50:57 -06:00
Nabeel Shahzad
6d2f705b40 fix api auth problem 2018-01-02 14:37:52 -06:00
Nabeel Shahzad
7700bd6683 Add tests for the duplicate PIREP via prefile/API 2018-01-02 14:31:00 -06:00
Nabeel Shahzad
5e32bcc52d Change header from Authorization to X-API-KEY to avoid Apache issues 2017-12-30 13:31:11 -06:00
Nabeel Shahzad
caac722a72 update check for api key 2017-12-30 13:02:22 -06:00
Nabeel Shahzad
c4573b02a8 Fix auth header check 2017-12-30 12:40:36 -06:00
Nabeel Shahzad
aba90ea2d9 add some more details on api key error 2017-12-30 11:58:34 -06:00
Nabeel Shahzad
a5c5518a12 Add middleware to set Content-type to application/json on all API requests 2017-12-28 22:50:07 -06:00
Nabeel Shahzad
ddd92c8b37 Changes for shared hosting and numerous installer fixes 2017-12-17 16:58:53 -06:00
Nabeel Shahzad
ff2ec20e37 remove the project files 2017-12-16 12:12:26 -06:00
Nabeel Shahzad
5bc8dab6f8 Add check to see that we're installed, and remove the .env that's created 2017-12-16 12:01:21 -06:00
Nabeel Shahzad
5bedbba2a7 use laratrust to replace entrust #78 2017-12-15 12:36:13 -06:00
Nabeel Shahzad
248a8d1488 Add more API resources; user bid management and tests #35 #36 2017-12-12 16:58:27 -06:00
Nabeel Shahzad
2fca28993e don't cache for now #36 2017-12-11 22:10:48 -06:00
Nabeel Shahzad
0f18e60fd9 #36 Add authentication for API; generate API key 2017-12-11 22:05:22 -06:00
Nabeel Shahzad
69cb55582c damn you travis. fixed multiple define 2017-08-14 18:41:55 -05:00
Nabeel Shahzad
bc94772ce2 intitial work on rest api 2017-08-14 18:26:20 -05:00
Nabeel Shahzad
106d6a6798 laravel base files 2017-06-08 13:28:26 -05:00