Nabeel S
98aa362935
Fix subfleets not returning proper fare counts #831 ( #846 )
...
Fix subfleets not returning proper fare counts #831
2020-09-29 13:21:24 -04:00
Nabeel S
bbb5f1d13c
Check for null values when checking pilot ID #760 ( #768 )
2020-07-14 22:02:35 -04:00
Nabeel Shahzad
b9aeda1cba
Enable logins using pilot ID #698
2020-05-16 11:52:05 -04:00
Nabeel S
dfbaa1afd3
Fix rowmapper generator, check for fields, map users #443 ( #583 )
...
* Fix rowmapper generator, check for fields, map users #443
* Formatting
* Remove value store at the end of the import
* Update the notes for the importer about users
* Uncomment importers disabled during testing
2020-02-23 19:48:28 -05:00
Nabeel S
a1d6fa17ad
Respect home hubs setting for registration #580 ( #581 )
...
Respect home hubs setting for registration #580
2020-02-23 17:21:26 -05:00
Nabeel Shahzad
66a1192739
Cleanup Model doc
2019-12-22 09:46:41 +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
aedb1f22b6
Don't allow cancels from certain states ( #396 )
...
* Don't allow cancels from certain states
* Unused imports
* Don't reset the state doubly
* Move SetUserActive into listener; code cleanup
* Unused imports
* Add missing files into htaccess
* Move Command contract to correct folder
2019-09-16 13:08:26 -04:00
Nabeel S
182aabf426
Refactor error handling internally to follow RFC7807 ( #362 )
...
* Refactor error handling internally to follow RFC7807
* style fixes
2019-08-21 08:17:44 -04:00
Nabeel S
dc51897314
Additional logging for the stats recalculation ( #358 )
...
* Additional logging for the stats recalculation
* style fix
2019-08-10 20:42:35 -04:00
Nabeel S
a08c9db284
Add setting to include transfer hours in calculations ( #350 )
...
* Add setting to include transfer hours in calculations
* Add some extra tests to check versions
* A couple of more version test cases
2019-08-08 12:50:43 -04:00
Nabeel S
95147e31bf
Fix issue where user stats aren't incremented on PIREP auto accept ( #335 )
...
* Fix issue where user stats aren't incremented on PIREP auto accept
* Formatting
2019-08-01 15:23:59 -04:00
Nabeel Shahzad
567ff91de0
Add pilot ID change fields to the admin screen
2019-07-17 09:48:20 -04:00
Nabeel Shahzad
80560ec20c
Formatting
2019-07-16 14:06:13 -04:00
Nabeel Shahzad
3e1d9080df
Backend changes separating id from pilot_id
2019-07-16 13:54:14 -04:00
Nabeel Shahzad
dd946d4cdd
Reorder imports
2019-07-15 15:51:35 -04:00
Nabeel Shahzad
a720f12e0b
Rename Interfaces to Contracts to better match Laravel conventions
2019-07-15 15:44:31 -04:00
Nabeel Shahzad
b28ace970c
Add interface to additional roles/permissions
2019-06-20 16:52:37 -04:00
Kevin Susanto
f46e5090ae
Fix SettingsController saving boolean value as 'on'
2018-09-04 16:11:51 +08:00
Nabeel Shahzad
1c1c0d55f4
Force truth state on pilot acceptance value #269
2018-09-02 10:47:37 -04:00
Nabeel Shahzad
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00:00
Nabeel Shahzad
66a9b361cb
Cosmetics
2018-08-20 09:48:39 -05:00
Nabeel Shahzad
89baf34824
Initial user stats recalculation #254
2018-08-20 09:42:54 -05:00
Nabeel Shahzad
46f9b3d9b9
Typo #96
2018-03-30 22:36:01 -05:00
Nabeel Shahzad
1275d7ebc4
Set user on ON_LEAVE automatically after days in settings() #96
2018-03-30 22:28:19 -05:00
Nabeel Shahzad
ccf56ddec1
Fix formatting and interfaces in nearly every file
2018-03-19 20:50:40 -05:00
Nabeel Shahzad
9f89447070
Add pilot pay to journals; cleanup payment code #130
2018-03-02 13:12:39 -06:00
Nabeel Shahzad
2c52a2f7e6
Post fares/expenses on PIREP to Airline journal #130
2018-03-01 16:20:13 -06:00
Nabeel Shahzad
3188f356eb
Add setting for home airport restriction #104
2018-02-28 15:27:46 -06:00
Nabeel Shahzad
6993cba55a
Don't change rank if it seems like it's been manually changed by an admin #196
2018-02-28 15:01:23 -06:00
Nabeel Shahzad
53b0bbd936
Convert errors into HttpException calls
2018-02-22 15:15:00 -06:00
Nabeel Shahzad
ea09a18956
Fixed formatting of almost every file
2018-02-20 22:33:09 -06:00
Nabeel Shahzad
4e43223f3a
Refuse pirep prefile is user not allowed to use aircraft #170
2018-02-20 12:59:49 -06:00
Nabeel Shahzad
c817d1ae4b
Installer fixes
2018-02-12 09:47:12 -06:00
Nabeel Shahzad
762544ea6f
don't change rank if it's not auto promoted #168
2018-02-10 17:53:25 -06:00
Nabeel Shahzad
7c70bb0971
add setting to disable user aircraft rank restriction #138
2018-01-19 12:46:30 -05:00
Nabeel Shahzad
bf4e164e0d
Add calls and API to get user's fleet, determined by rank #35
2018-01-10 18:40:01 -06:00
web541
08df20de19
Fixed a few field entries ( #116 )
...
* Stopped inheritance errors popping up
* Added fillable fields
These would not save otherwise.
* Added country fillable field
Wouldn’t save when importing from phpvms classic.
* Added more to classic importer
Change arguments to ask in terminal
Fixed table_prefix names in Importer.php
Added the ability to import users from phpvms classic (tested on
simpilot’s 5.5.x) and when importing, it will then reset the user’s
password to a temporary hash and then email it to the user to then
change when they first log in.
* Changes to ImporterService
2018-01-03 15:41:21 -06:00
Nabeel Shahzad
81e82629ac
Rename PilotState class to UserState
2017-12-30 20:40:32 -06:00
Nabeel Shahzad
7cd4bf5ffb
Add user setup to installer
2017-12-29 16:56:46 -06:00
Nabeel Shahzad
b382ad77eb
Pilot changed event fixed for new airport
2017-12-22 16:55:47 -06:00
Nabeel Shahzad
babdca627e
Fixes and cleanup for user pending/registration calls
2017-12-22 16:32:21 -06:00
Nabeel Shahzad
7103278bb8
Woops, re-add user state check
2017-12-22 13:54:25 -06:00
Nabeel Shahzad
1ebf2bd09c
Don't allow login if user is pending or rejected; some refactoring of the registration code
2017-12-22 13:38:24 -06:00
Nabeel Shahzad
161623c85e
Fixes for emails; send user registered/pending depending on state
2017-12-22 12:46:46 -06:00
Nabeel Shahzad
74316218bc
Add some event listeners and experiment with browser testing
2017-12-22 12:00:57 -06:00
Nabeel Shahzad
aed09c2bf5
Add explicit pilot states
2017-12-14 23:51:57 -06:00
Nabeel Shahzad
55250b8789
PIREP tests working, using minutes to track flight hours instead of seconds
2017-12-13 10:56:26 -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
5b25a464ba
Rename the PilotService to UserService
2017-12-12 14:48:03 -06:00