Commit Graph

48 Commits

Author SHA1 Message Date
lordwilbur
ba8a819c7d - fixed an error on finance in admin panel
- flight ident now use this format: VA IATA(if empty ICAO) + Flight Number + - + Flight Code (without C) + - + Flight Leg (without L)
- added function __trans_choice in helpers.php for translation
- fixed error in flight edit/insert panel not showing/inserting Tuesday in days
- fixed an error occurring when metar retrieved is empty
- edited now-ui-kit.css to align login fields correctly
- added /public/assets/frontend/js/core/jquery-3.3.1.min.js to fix a missed resource error in authentication pages
- added translations file for en and it locales
- translated all the frontend templates
2018-05-21 09:53:08 -05:00
Nabeel Shahzad
c8a9ebd26d Data cleanup; set flight ident in response 2018-05-13 16:59:35 -05:00
Nabeel Shahzad
531e86f5e7 Fix flight duplicate detection in add/edit/import; fix active checkbox 2018-04-25 11:53:32 -05:00
Nabeel Shahzad
9d3d284df7 Check start/end/days of week in cron and active/deactivate flights accordingly 2018-04-12 16:12:32 -05:00
Nabeel Shahzad
e1c8174b3f More styling fixes in admin/flight add/edit form 2018-04-09 19:32:38 -05:00
Nabeel Shahzad
217da07007 Fix column headers 2018-03-30 20:57:30 -05:00
Nabeel Shahzad
0bf1286c3a Fix error in flight importer 2018-03-29 11:47:37 -05:00
Nabeel Shahzad
1161106d9c Fix airport field row being inserted and check against airport ID 2018-03-23 12:27:28 -05:00
Nabeel Shahzad
7105e82922 Add days of week to flights table; add to import/export for flights 2018-03-22 21:21:35 -05:00
Nabeel Shahzad
fbfd71adcf Cleanup Exporter; use firstOrCreate for any missing data we can infer/setup defaults for 2018-03-22 12:43:58 -05:00
Nabeel Shahzad
276b93fc57 Export flights to CSV in admin #194 2018-03-21 17:07:30 -05:00
Nabeel Shahzad
bb5bb4d4c7 Fixed scoping rules in Model classes 2018-03-20 19:40:19 -05:00
Nabeel Shahzad
5d5565e5a8 rename flight subfleet join table 2018-03-20 16:11:24 -05:00
Nabeel Shahzad
485c6e86bb add separate flight_fields table and move over to flight_field_values 2018-03-20 13:06:06 -05:00
Nabeel Shahzad
a9454c319a Add helper field() method to Pirep model 2018-03-20 11:46:48 -05:00
Nabeel Shahzad
712cb185b4 Add a helper method in the Flight model to more easily get a custom value 2018-03-20 11:36:28 -05:00
Nabeel Shahzad
ccf56ddec1 Fix formatting and interfaces in nearly every file 2018-03-19 20:50:40 -05:00
Nabeel Shahzad
36ea12e135 Move the model callbacks into Observables; reduce caching since it held balances incorrectly 2018-03-18 20:37:35 -05:00
Nabeel Shahzad
f13c961863 Fix flight page errors and some naming fixes 2018-03-08 08:51:36 -06:00
Nabeel Shahzad
baccf7e3ad Fix the flight time not showing closes #199 2018-02-27 13:37:29 -06:00
Nabeel Shahzad
ea09a18956 Fixed formatting of almost every file 2018-02-20 22:33:09 -06:00
Nabeel Shahzad
bac829b425 Shrink decimal field sizes as they're overly large 2018-02-20 15:57:31 -06:00
Nabeel Shahzad
2f8a69b774 Undo casting time types to Time object #189 2018-02-11 20:50:48 -06:00
Nabeel Shahzad
61af5fe226 Cleanup column types and assign Time class to fields #189 2018-02-11 20:38:56 -06:00
Nabeel Shahzad
fd4407a798 Move internal unit definitions to config file #189 2018-02-11 20:19:02 -06:00
Nabeel Shahzad
d5c2d25c74 finally fixed serialization of conversions #189 2018-02-10 22:49:08 -06:00
Nabeel Shahzad
a8e06c6cc6 base conversion classes for units #189 2018-02-10 21:16:32 -06:00
Nabeel Shahzad
a5f51f6264 Add first pass of pirep import; additional fields in flight/pirep tables #114 2018-01-29 18:14:55 -06:00
Nabeel Shahzad
cd61c999e7 Cleanup default value field migrations; flight fields 2018-01-23 21:58:13 -06:00
Nabeel Shahzad
110d742714 cleanup model relationship references 2018-01-08 09:22:12 -06:00
Nabeel Shahzad
7e45291b27 Add pivot table for flight_fare to override fare #125 2018-01-07 09:19:46 -06:00
Nabeel Shahzad
507ce5f24f Add flights to the importer, added a few missing columns with output 2018-01-03 21:40:05 -06:00
Nabeel Shahzad
7180bfb111 cleanup validation rules 2017-12-30 14:37:10 -06:00
Nabeel Shahzad
3bd97b4d37 add PIREP pre-file and ACARS updates; removing caching from ACARS/Pirep/User repositories; adjust PirepState enum values; add additional columns 2017-12-25 15:19:34 -06:00
Nabeel Shahzad
6c546b5094 Add flight route map; algorithm for picking from multiple nav points; some tests 2017-12-20 19:12:39 -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
248a8d1488 Add more API resources; user bid management and tests #35 #36 2017-12-12 16:58:27 -06:00
Nabeel Shahzad
a5cf130176 add a has_bid column to the flights table 2017-12-12 13:59:05 -06:00
Nabeel Shahzad
e05976a982 Add additional settings; Use pilot id length from setting 2017-12-12 12:43:58 -06:00
Nabeel Shahzad
b817760276 move traits into their own namespace 2017-08-12 12:24:00 -05:00
Nabeel Shahzad
4f2f08af62 #48 Model/relationships for custom flight fields 2017-07-10 19:06:06 -05:00
Tim
acd5da56ce Change flight number to integer 2017-07-07 22:41:02 +02:00
Nabeel Shahzad
ba57cef0a7 #34 Generate UUID on seeder/models 2017-06-24 13:20:24 -05:00
Nabeel Shahzad
ca74afacd8 formatting 2017-06-23 17:38:32 -05:00
Nabeel Shahzad
c3e417429a #32 assign aircraft to subfleets, and aircraft to subfleets 2017-06-23 17:33:18 -05:00
Nabeel Shahzad
381a713882 more schema adjustments to tighten up column types and constraints 2017-06-21 11:40:08 -05:00
Nabeel Shahzad
c732476f6d Rename 'Airlines' model to 'Airline' 2017-06-19 11:50:25 -05:00
Nabeel Shahzad
f4e7eef40c #14 initial scaffolding for adding flights/schedules 2017-06-17 17:25:36 -05:00