Commit Graph

170 Commits

Author SHA1 Message Date
Nabeel Shahzad
759979fc10 Random cache prefix closes #374 2019-11-06 11:31:33 -05:00
Nabeel S
ae68550448
Move telemetry option into settings; checkbox in install refs #415 (#416) 2019-10-29 13:07:53 -04:00
Nabeel S
d68d8791bd
389 API Changes (#393)
* Update PHPUnit to 8

* Fix API endpoints closes #389

* Update pagination method in Repository contract to look at the page number closes #390

* Remove unused imports

* Fix tests in FlightTests

* Typecast page

* Don't register factories

* Remove Factory loading

* Remove unused imports
2019-09-13 11:21:40 -04:00
Nabeel S
bbec276da8
#355 Calculate distance button (#366)
* #355 Calculate distance button in add/edit Flight page

* Styling

* Move add/edit flight logic out of controller and into service layer

* Styling

* Formatting

* Run styleci against modules dir

* Styleci config

* Style fixes in /modules
2019-08-26 12:32:46 -04:00
Nabeel Shahzad
380c9d13b6 Error handling around reset install; clear cache 2019-08-08 13:42:43 -04:00
Nabeel S
ff6ba4c29a
Remove ext-cal from requirements list (#349)
* Remove ext-cal from requirements list

* Fix the travis phpunit config
2019-08-08 12:50:32 -04:00
Nabeel S
5cce1b3040
Multiple ticket crash fixes (#347)
* Fix for initial seed data not being run during install closes #346

* StyleCI keepin' me honest

* Tooltips for ranks
2019-08-07 12:32:49 -04:00
Nabeel S
9f3ba05880
Issue/329 refactor seeding (#337)
* Fix Contracts class names

* Refactoring of the file seeds so it's not a mess

* StyleCI fixes
2019-08-05 08:27:53 -04:00
Nabeel Shahzad
a9c5be1c70 Add opcache option; change detection during install for cache driver 2019-07-18 09:26:33 -04:00
Nabeel Shahzad
a720f12e0b Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
Nabeel Shahzad
8a4516f1ba Remove gmp requirement from installer 2019-06-21 19:29:25 -04:00
Nabeel Shahzad
b28ace970c Add interface to additional roles/permissions 2019-06-20 16:52:37 -04:00
Nabeel Shahzad
fb9c1c3681 Check for calendar extension in installer 2019-06-19 13:02:06 -04:00
Nabeel Shahzad
defd78e5c2 Add the avatars/files folders to the permissions check list 2019-05-12 23:45:07 -05:00
Nabeel Shahzad
27944b8235 don't create env/config files by default 2019-05-12 23:42:35 -05:00
Nabeel Shahzad
f0ef723854 Add blank env and config files, check those permissions in the installer 2019-05-12 18:36:41 -05:00
Nabeel Shahzad
889ed06acc Put note about permissions for directories 2019-05-12 18:33:22 -05:00
Nabeel Shahzad
a79f28caa4 Bump minimum required php version to 7.2 2019-05-12 11:40:03 -05:00
Nabeel Shahzad
fd96bb49f6 Add gmp to requirements in install #285 2019-04-07 22:36:17 -05:00
Nabeel Shahzad
29a578ea6a Move the MigrationService to the main package 2019-04-07 22:27:10 -05:00
Nabeel Shahzad
f14f7c1a5e Move the settings into a yml seed file and sync during install/update 2018-09-02 13:18:32 -04:00
Nabeel Shahzad
e95b3eb366 Code cleanup from inspection results 2018-08-26 13:50:08 -05:00
Nabeel Shahzad
9125cc3d87 Fix updater 2018-06-22 09:26:08 -05:00
Nabeel Shahzad
ee077ffa16 Add public/uploads to installer permissions check 2018-04-01 19:28:15 -05:00
Nabeel Shahzad
e366ca9375 More organization of web assets 2018-03-28 14:01:38 -05:00
Nabeel Shahzad
8ad83a5f9f asset cleanup 2018-03-27 14:46:32 -05:00
Nabeel Shahzad
06e1cd15c0 Fix database connection test in installer 2018-03-20 09:29:45 -05:00
Nabeel Shahzad
ccf56ddec1 Fix formatting and interfaces in nearly every file 2018-03-19 20:50:40 -05:00
Nabeel Shahzad
7feecb507d Add ability to pass in parameters to an Award class #155 2018-03-17 11:35:34 -05:00
Nabeel Shahzad
26f00ccaae Add the event listener for the awards #155 2018-03-17 00:55:39 -05:00
Nabeel Shahzad
7dd6a7e7f3 Awards base class and scaffolding #155 2018-03-16 23:59:53 -05:00
Nabeel Shahzad
92bb56e344 Add recaptcha implementation #212 2018-03-16 11:38:06 -05:00
Nabeel Shahzad
8076c2d8c1 Fixing XSS vulnerability by using the proper output tags 2018-03-12 17:58:12 -05:00
Nabeel Shahzad
f05e37767f Update skinning with more flexible theme module 2018-03-11 18:00:42 -05:00
Nabeel Shahzad
e7868868c4 Fix the module stubs and sample module for admin closes #201 2018-02-28 15:16:36 -06:00
Nabeel Shahzad
e03abc1a64 Moved away from the phpmoney library since it requires intl extension 2018-02-28 13:54:14 -06:00
Nabeel Shahzad
a6afcc944c Add Money composition class to Support 2018-02-27 21:38:05 -06:00
Nabeel Shahzad
4393523929 Fix some error conditions in installer; hide passwords in logs 2018-02-25 15:27:20 -06:00
Nabeel Shahzad
d9abaa2f06 Cleanup config files if the db setup fails 2018-02-25 15:13:04 -06:00
Nabeel Shahzad
88e4c26b8f db host placeholder 2018-02-25 15:02:50 -06:00
Nabeel Shahzad
82b5ff620d put a minimal config for installer into config dir 2018-02-25 11:12:27 -06:00
Nabeel Shahzad
62506a26a1 set country on the airline, in admin and installer #191 2018-02-12 10:51:04 -06:00
Nabeel Shahzad
d94294e3f6 Added new phpvms:dev-install command #176 2018-02-09 17:11:55 -06:00
Nabeel Shahzad
bcc6be0d29 Updates for addon/modules to make it easier to create APIs 2018-02-08 19:11:53 -06:00
Nabeel Shahzad
282421deb8 Add a /update to update an install #164 2018-02-05 16:16:24 -06:00
Nabeel Shahzad
9d46cee07a Bump minimum PHP version to 7.1; library cleanup #166 2018-02-05 11:29:50 -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
1020b28977 Use .stub file to write the env.php file #157 2018-01-28 18:50:43 -06:00
Nabeel Shahzad
4d98d446a7 fix next step name in installer 2018-01-20 10:11:06 -05:00
Nabeel Shahzad
6e12c00725 add mysql/db version to posted analytics 2018-01-18 22:59:09 -05:00
Nabeel Shahzad
7e09cf6c28 Add enums for the custom analytics fields 2018-01-18 22:32:50 -05:00
Nabeel Shahzad
a54ff2643f Some more updates to the installer and env file stuff 2018-01-18 21:40:25 -05:00
Nabeel Shahzad
467a1a1dc6 Add some Google analytics for the installer and then vaCentral connections 2018-01-18 20:24:06 -05:00
Nabeel Shahzad
fe4f39a5dc Cleanup Controller inheritance 2018-01-11 21:35:03 -06:00
Nabeel Shahzad
54a458d522 Forgot to call PDO driver detector :\ #132 2018-01-10 19:15:42 -06:00
Nabeel Shahzad
849e40d234 Some logging around the DB detection #132 2018-01-09 23:17:06 -06:00
Nabeel Shahzad
7e71b46e02 Enable ATTR_EMULATE_PREPARES for MariaDB specifically #132 2018-01-09 23:05:52 -06:00
Nabeel Shahzad
f16748167b Rewrite how mysql db is created to avoid external processes #132 2018-01-09 20:47:03 -06:00
Nabeel Shahzad
5e097e9d89 add the exit() to the env file in a better way, add some more htaccess rules to block the env file 2018-01-09 07:09:16 -06:00
Nabeel Shahzad
59ebe4e179 Add exit() to env stub to prevent leakage of sensitive info 2018-01-09 07:00:22 -06:00
Nabeel Shahzad
2c53f091b9 installer fixes; user's name 2017-12-31 12:09:23 -06:00
Nabeel Shahzad
2323330444 Add a setting for the admin email and set an initial value after the install 2017-12-30 20:27:12 -06:00
Nabeel Shahzad
7cd4bf5ffb Add user setup to installer 2017-12-29 16:56:46 -06:00
Nabeel Shahzad
88c1277461 Add cache option in repository layer 2017-12-27 10:44:41 -06:00
Nabeel Shahzad
9ad21e5c8e re-enable check for if not installed 2017-12-24 12:27:52 -06:00
Nabeel Shahzad
960cbc7cd1 have installer check db info again before writing out the env file 2017-12-24 12:10:31 -06:00
Nabeel Shahzad
e895501ca7 Placeholders for checkwx.com API key 2017-12-22 17:55:20 -06:00
Nabeel Shahzad
0375bb420f Major refactoring for PIREP statuses and states to accomodate ACARS/route data 2017-12-19 20:19:36 -06:00
Nabeel Shahzad
f2131093c4 Simple PIREP overview page (map not working atm) 2017-12-19 15:19:06 -06:00
Nabeel Shahzad
ddd92c8b37 Changes for shared hosting and numerous installer fixes 2017-12-17 16:58:53 -06:00
Nabeel Shahzad
abd2d8e8e2 Rewrite rules and block installed if it's already installed 2017-12-17 11:29:11 -06:00
Nabeel Shahzad
9105c45ad0 Convert .env file to env.php to mask critical info 2017-12-17 01:10:49 -06:00
Nabeel Shahzad
5bedbba2a7 use laratrust to replace entrust #78 2017-12-15 12:36:13 -06:00
Nabeel Shahzad
b97b47cd8c Add some error state pages and installer fixes 2017-12-15 11:22:46 -06:00
Nabeel Shahzad
9607c0a27f Check permissions and show error if the database setup fails 2017-12-15 10:41:52 -06:00
Nabeel Shahzad
b227090f54 Add notes to .env files 2017-12-15 08:59:41 -06:00
Nabeel Shahzad
7b08a25a1d Fix to session and cache driver, was preventing login 2017-12-15 08:56:14 -06:00
Nabeel Shahzad
24e5dec271 Add extra redirect before DB to stop race condition 2017-12-15 08:49:01 -06:00
Nabeel Shahzad
9ee1106659 Fix default mysql port 2017-12-15 08:06:40 -06:00
Nabeel Shahzad
aed09c2bf5 Add explicit pilot states 2017-12-14 23:51:57 -06:00
Nabeel Shahzad
80c69552f2 Run database create for sqlite 2017-12-14 22:32:52 -06:00
Nabeel Shahzad
1e866f8fa7 Some more cleanup 2017-12-14 22:22:33 -06:00
Nabeel Shahzad
9d2ee0e7df More installer fixes, creation and seeding works 2017-12-14 21:59:54 -06:00
Nabeel Shahzad
719d7c2bd5 Some fixes to the installer 2017-12-14 21:34:11 -06:00
Nabeel Shahzad
a7318b851b Set some defaults for the cache and queue drivers in the installer 2017-12-14 17:12:42 -06:00
Nabeel Shahzad
277a5f2d33 Rewrite installer without 3rd party installer lib. 2017-12-14 16:38:29 -06:00
Nabeel Shahzad
e7f13a5b7c Installer changes #1 2017-12-13 23:12:23 -06:00
Nabeel Shahzad
d1a761711a Cleanup Installer module scaffolding 2017-12-13 22:42:45 -06:00
Nabeel Shahzad
3e3f18fd0c Scaffolding for Installer module 2017-12-13 22:28:58 -06:00
Nabeel Shahzad
46b86cf3a6 rename module to uppercase to match json 2017-12-05 21:57:12 -06:00
Nabeel Shahzad
e604d5bb08 now try matching module.json to namespace 2017-12-05 21:55:45 -06:00
Nabeel Shahzad
c8905653f9 test renaming to lowercase/non-matching namespace 2017-12-05 21:54:21 -06:00
Nabeel Shahzad
c58b8fb787 re-add Sample module 2017-12-05 21:51:15 -06:00
Nabeel Shahzad
84935171eb add some vacentral configs 2017-12-05 21:51:01 -06:00
Nabeel Shahzad
3e85cf775b pare down the vacentral module 2017-12-05 21:49:07 -06:00
Nabeel Shahzad
4035d6b00b rename module 2017-12-05 21:42:45 -06:00
Nabeel Shahzad
67ccc34655 readd the vacentral module 2017-12-05 21:40:10 -06:00
Nabeel Shahzad
84f47a09c8 delete the old module 2017-12-05 21:19:05 -06:00
Nabeel Shahzad
6179cffc45 swap the modules 2017-12-05 21:17:16 -06:00
Nabeel Shahzad
0293346713 remove module temporarily 2017-12-05 21:15:16 -06:00