Nabeel Shahzad
7cba92d420
move toc files
2018-05-21 10:28:50 -05:00
Nabeel Shahzad
3288467aa1
Move user files
2018-05-21 09:58:31 -05:00
Nabeel Shahzad
2b074ee894
Move widgets/home
2018-05-21 09:58:31 -05:00
Nabeel Shahzad
bd84877f0e
Move airports into separate file
2018-05-21 09:58:21 -05:00
Nabeel Shahzad
1258b87671
Move profile into separate file
2018-05-21 09:57:49 -05:00
Nabeel Shahzad
ba1bf4581d
Move flights into separate file
2018-05-21 09:57:48 -05:00
Nabeel Shahzad
440a0c5425
Move dashboard into separate file
2018-05-21 09:57:46 -05:00
Nabeel Shahzad
74b53b4ba7
Move PIREPs to separate file
2018-05-21 09:57:45 -05:00
Nabeel Shahzad
1a3065b1ca
Reformat error and auth translations
2018-05-21 09:57:43 -05:00
Nabeel Shahzad
b63c9a8cd4
Move frontend.auth.* to auth.*
2018-05-21 09:57:41 -05:00
Nabeel Shahzad
203b6496fc
Move frontend.global.* to common.*
2018-05-21 09:57:40 -05:00
Nabeel Shahzad
ba9c64f420
Remove airplane image and restore original homepage for now
2018-05-21 09:57:38 -05:00
lordwilbur
06f8322eeb
- 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:57:34 -05:00
lordwilbur
81c148fc4d
More translations
2018-05-21 09:57:10 -05:00
lordwilbur
a346b0df2e
frontend translation + other stuff
2018-05-21 09:54:18 -05:00
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
lordwilbur
650d9884b0
removed tabs
...
added setting
corrected code
2018-05-19 02:03:06 +02:00
lordwilbur
0d53c5487d
pilot unable to place bids on flight if pilots.only_flights_from_current = true and departure airport is not the same pilot's current airport.
2018-05-19 00:55:08 +02:00
Nabeel Shahzad
da0a7cbe81
Add ACARS live time/coords/default zoom into admin settings
2018-05-16 10:54:01 -05:00
Nabeel Shahzad
63897a5666
More cleanup of admin template
2018-05-11 16:02:43 -05:00
Nabeel Shahzad
9332f64284
Cleanup admin pirep form and read-only state
2018-05-11 13:53:24 -05:00
Nabeel Shahzad
df88cb141a
Allow draft for PIREPs, separate out the save/submit and delete functionality
2018-05-10 10:35:10 -05:00
Nabeel Shahzad
0cd7b3b71f
live map updates
2018-05-04 13:59:47 -05:00
Nabeel Shahzad
23f1a8225a
update livemap to use rivets.js bindings for data updates
2018-05-03 15:07:16 -05:00
José Bustos
4bc7d7735d
Src avatar
...
Changed src call for user avatar, this will return the correct url based on avatar attribute of User Model
2018-05-02 18:59:57 -05:00
José Bustos
8aa629fc56
Grammar Error
...
corrected string
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
06d767279b
Added input fields to upload avatar.
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
ecf2307542
Allow files upload in edit profile form for avatar file.
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
24a2467338
Added avatar src in case of avatar exists, else will show default gravatar.
2018-05-02 18:59:57 -05:00
Nabeel Shahzad
4f9c028676
Map fixes/updates
2018-05-02 15:28:57 -05:00
Nabeel Shahzad
5dff563c75
Fixes for API and live map
2018-05-02 15:14:18 -05:00
Nabeel Shahzad
b96f1cd7c4
api fixes/updates
2018-05-01 20:58:05 -05:00
Nabeel Shahzad
50abda71cb
Fix if submitted_at blank
2018-04-30 17:51:18 -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
9502dd9835
Fix active/inactive check on flight page
2018-04-24 11:16:16 -05:00
Nabeel Shahzad
203ee72052
google font api from ssl
2018-04-24 11:02:02 -05:00
Nabeel Shahzad
2c2b569c6c
Fix setting the subfleet pay
2018-04-23 10:36:11 -05:00
Nabeel Shahzad
e668a5089e
Fix create pirep errors
2018-04-10 07:22:21 -05:00
Nabeel Shahzad
f54f19100c
Add a PIREP flag for ready_only; some more METAR cleanup
2018-04-09 22:04:59 -05:00
Nabeel Shahzad
e109e00aa8
More styling, banner when nothing is added
2018-04-09 20:04:21 -05:00
Nabeel Shahzad
e1c8174b3f
More styling fixes in admin/flight add/edit form
2018-04-09 19:32:38 -05:00
Nabeel Shahzad
0986cddae1
admin styling
2018-04-09 15:16:01 -05:00
Nabeel Shahzad
86d28aafd6
added a few columns for scheduling, styling in admin
2018-04-08 20:51:27 -05:00
Nabeel Shahzad
f842e86885
styling fixes
2018-04-08 16:00:22 -05:00
Nabeel Shahzad
c102a0d858
Refactor all of the unit conversion code
2018-04-07 20:52:12 -05:00
Nabeel Shahzad
eae5989845
Replace METAR data with custom class
2018-04-07 09:05:06 -05:00
Nabeel Shahzad
f4f41cd900
Fix check for block_off_time
2018-04-06 17:25:57 -05:00
Nabeel Shahzad
12a442970e
PIREP form styling and improvments
2018-04-06 17:10:45 -05:00
Nabeel Shahzad
129c551fa0
Reorganized PIREP page
2018-04-04 17:42:43 -05:00
Nabeel Shahzad
d8dad44e43
Add compositional interface for METAR parser class
2018-04-04 17:14:46 -05:00
Nabeel Shahzad
9ff3c1ab10
remove single entry for pagination testing
2018-04-03 22:45:45 -05:00
Nabeel Shahzad
a0422899a5
redesigning the pirep page a bit
2018-04-03 22:44:11 -05:00
Nabeel Shahzad
6fb66a1d80
Fixing some styling on the frontend
2018-04-03 19:21:42 -05:00
Nabeel Shahzad
af28156498
Add user balance to dashboard
2018-04-03 12:06:06 -05:00
Nabeel Shahzad
99555539a7
Fix timezone/country not being saved on register #223
2018-04-03 09:43:32 -05:00
Nabeel Shahzad
717118cfb4
Add METAR interface and use local library for decoding
2018-04-02 22:35:25 -05:00
Nabeel Shahzad
3dba586f83
Add downloads page
2018-04-02 18:37:41 -05:00
Nabeel Shahzad
9e1e0142e9
Route downloads through controller; file IDs as hash to prevent guessing; download count; download list on airport page
2018-04-02 12:55:37 -05:00
Nabeel Shahzad
3ddee56359
Add description field for files
2018-04-02 11:46:33 -05:00
Nabeel Shahzad
bbfad3a0ef
Allow uploads for top level airline
2018-04-02 11:08:38 -05:00
Nabeel Shahzad
026a83591d
Fixes to file uploading; include disk name, remove clunky redirect code
2018-04-02 11:04:32 -05:00
Nabeel Shahzad
6c516cf4bf
metar template change #61
2018-04-02 07:11:02 -05:00
Nabeel Shahzad
c000034cab
Some changes to WX template layout and cache the API call out #61
2018-04-02 07:06:00 -05:00
Nabeel Shahzad
bb73af3806
Add weather to the dashboard for the current airport
2018-04-02 06:47:05 -05:00
Nabeel Shahzad
e358b8706f
Backend for file uploads attached to any generic model, initially on aircraft and airports #226
2018-04-01 18:02:12 -05:00
Nabeel Shahzad
793b3e7134
change ref_class to ref_model
2018-04-01 14:32:01 -05:00
Nabeel Shahzad
0bed38c78b
Add airport overview page and links to it #225
2018-03-31 15:57:30 -05:00
Nabeel Shahzad
70e5ccda6f
Add IATA and ZFW to aircraft import/export and tables
2018-03-30 20:21:18 -05:00
Nabeel Shahzad
777167f46e
Fix flag icons not showing
2018-03-30 19:05:15 -05:00
Nabeel Shahzad
35fb6f0e52
Fix 404 for airport lookup
2018-03-30 08:12:11 -05:00
Nabeel Shahzad
36063e2ca6
Fix api call to airport lookup
2018-03-29 20:32:08 -05:00
Nabeel Shahzad
2ab4db3a2e
Add edit for flight type; block_on_time and block_off_time for PIREP API
2018-03-29 14:10:49 -05:00
Nabeel Shahzad
cf43685740
Add/implement subfleet cost_block_hour and block_time for PIREP API
2018-03-29 13:42:16 -05:00
Nabeel Shahzad
95fed87ad4
Fix js deps and airport lookup
2018-03-28 23:04:53 -05:00
Nabeel Shahzad
d5452d6517
split out some more vendor files
2018-03-28 15:51:44 -05:00
Nabeel Shahzad
e366ca9375
More organization of web assets
2018-03-28 14:01:38 -05:00
Nabeel Shahzad
226c3d0ce2
more asset file cleanup
2018-03-27 18:45:25 -05:00
Nabeel Shahzad
a1a8c6f141
strip unnecessary imports from js app files
2018-03-27 18:18:25 -05:00
Nabeel Shahzad
999b11deb5
Move sass files out of public to resources/sass
2018-03-27 16:34:37 -05:00
Nabeel Shahzad
30a8028827
delete extra files and pull into vendor file
2018-03-27 15:46:54 -05:00
Nabeel Shahzad
8ad83a5f9f
asset cleanup
2018-03-27 14:46:32 -05:00
Nabeel Shahzad
504b33ba2a
Add AirspaceMap widget; airport overview page
2018-03-27 11:40:37 -05:00
Nabeel Shahzad
02ae2353d4
Stylesheet changes
2018-03-25 09:38:58 -05:00
Nabeel Shahzad
0671742703
Load subfleet page first, can add aircraft from there #217
2018-03-23 20:30:31 -05:00
Nabeel Shahzad
eb64f268d3
Fix flight field bugs
2018-03-23 15:02:26 -05:00
Nabeel Shahzad
f8f5a71564
Move subfleet add/remove to fleet service for a flight
2018-03-23 14:10:18 -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
112a72ac6f
Subfleet exporter #194
2018-03-22 17:59:10 -05:00
Nabeel Shahzad
46d8fb125a
Add fare import/exporter #194
2018-03-22 17:48:57 -05:00
Nabeel Shahzad
a44204b185
Import/export expenses #194
2018-03-22 17:17:37 -05:00
Nabeel Shahzad
4e3a9fd9ea
Export airports
2018-03-22 13:04:13 -05:00
Nabeel Shahzad
d4f79b1331
Add aircraft export
2018-03-22 12:55:56 -05:00
Nabeel Shahzad
276b93fc57
Export flights to CSV in admin #194
2018-03-21 17:07:30 -05:00
Nabeel Shahzad
b9beb6c804
Add importers in console and admin for flights/aircraft/subfleets and airport #194
2018-03-20 19:17:11 -05:00
Nabeel Shahzad
25a299fb74
Add flight fields for templated fields on edit flight #213
2018-03-20 13:47:47 -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
4e59bd0442
view flight bids in flights screen #203
2018-03-20 11:28:06 -05:00
Nabeel Shahzad
3c39aeee43
Change rank field from image_link to image_url for consistency
2018-03-17 12:19:26 -05:00
Nabeel Shahzad
e9baf4acb5
Add/edit the award class in Admin #155
2018-03-17 12:17:38 -05:00
Nabeel Shahzad
45a22e26be
Merge #154 Awards into dev
2018-03-17 00:03:17 -05:00
Nabeel Shahzad
92bb56e344
Add recaptcha implementation #212
2018-03-16 11:38:06 -05:00
Nabeel Shahzad
58fbbd98a4
url param was missing
2018-03-14 19:54:58 -05:00
Nabeel Shahzad
2aae789e2a
Make sure inline scripts in admin all have the full base url
2018-03-14 18:14:35 -05:00
Nabeel Shahzad
e5ff927f7d
Add bid was missing url() call to put the URL correctly
2018-03-14 10:40:57 -05:00
Nabeel Shahzad
57cddee3fd
Cleanup the api_key and csrf_token setters
2018-03-13 01:55:14 -05:00
Nabeel Shahzad
684ee545cf
include csrf token and fix escaping for admin scripts
2018-03-13 01:48:47 -05:00
Nabeel Shahzad
bff80c2dc7
Change user bid to POST
2018-03-13 01:26:27 -05:00
Nabeel Shahzad
acb289f6d0
Make sure login uses Form to get the csrf token
2018-03-12 22:17:58 -05:00
Nabeel Shahzad
1896e1cc35
Configure axios library and read the api-key dynamically
2018-03-12 20:14:55 -05:00
Nabeel Shahzad
0f9ce8bbb9
Frontend maps to use the commonjs compiled files
2018-03-12 18:10:35 -05:00
Nabeel Shahzad
8076c2d8c1
Fixing XSS vulnerability by using the proper output tags
2018-03-12 17:58:12 -05:00
Nabeel Shahzad
17f9464208
first pass splitting js into commonjs modules
2018-03-12 17:30:52 -05:00
Nabeel Shahzad
843cf26140
Add Axios dependency
2018-03-12 11:00:12 -05:00
Nabeel Shahzad
f05e37767f
Update skinning with more flexible theme module
2018-03-11 18:00:42 -05:00
Nabeel Shahzad
724daabc5a
Fix error with adding rank
2018-03-09 10:24:22 -06:00
Nabeel Shahzad
f13c961863
Fix flight page errors and some naming fixes
2018-03-08 08:51:36 -06:00
Nabeel Shahzad
a325470b8f
Aircraft can have its own expenses #130
2018-03-06 17:32:56 -06:00
Nabeel Shahzad
453ca5b180
Cleanup the transaction memos
2018-03-06 06:17:45 -06:00
Nabeel Shahzad
db10ebf807
Add expenses on airports as well #130 #136
2018-03-05 22:10:00 -06:00
Nabeel Shahzad
88a8fd2bbd
Remove subfleet_expenses and combine into main expenses table; select expense type on subfleet #130 #136
2018-03-05 21:24:49 -06:00
Nabeel Shahzad
505931736c
Finance overview page added to admin with monthly breakdown #130
2018-03-05 19:55:48 -06:00
Nabeel Shahzad
01af6f6855
finance link on menu
2018-03-05 14:36:14 -06:00
Nabeel Shahzad
53e4bf533f
Add finance controller; morphable expense type so they can be applied to any model #130
2018-03-05 14:18:54 -06:00
Nabeel Shahzad
33c2ee702b
Cleanup subfleet expense name; reload page on recalculate #130
2018-03-05 13:15:47 -06:00
Nabeel Shahzad
a7a70ce423
Added refresh finances button to transactions list #130
2018-03-05 13:07:10 -06:00
Nabeel Shahzad
96e8fbfa78
Add subfleet specific expenses, fixed bug for pirep fares #130 #136
2018-03-05 12:21:38 -06:00
Nabeel Shahzad
2df09c533b
show transactions in pirep
2018-03-02 16:09:48 -06:00
Nabeel Shahzad
284db21a3a
Hide API key from admin
2018-03-02 09:26:25 -06:00
Nabeel Shahzad
92a18448eb
YAML table exporter
2018-03-01 21:59:58 -06:00
Nabeel Shahzad
448a9846c9
Implement airport hub restriction closes #104
2018-02-28 15:37:24 -06:00
Nabeel Shahzad
bb4fdc5b7f
cleanup if on table
2018-02-27 14:30:31 -06:00
Nabeel Shahzad
dfa6d6da51
Split rank pay rate into separate rates for acars and manual flights
2018-02-27 14:29:45 -06:00
Nabeel Shahzad
baccf7e3ad
Fix the flight time not showing closes #199
2018-02-27 13:37:29 -06:00
Nabeel Shahzad
97764866f2
Rename user_bids table to bids
2018-02-27 13:25:32 -06:00
Nabeel Shahzad
d61ade4482
move currency to config file; change units to their own group in settings
2018-02-26 20:23:48 -06:00
Nabeel Shahzad
e6d78f3e22
cleanup some templates
2018-02-26 19:23:22 -06:00
Nabeel Shahzad
cdd5fc749c
Add the acars and manual payrates in the rank/subfleet forms
2018-02-26 19:14:10 -06:00
Nabeel Shahzad
f6ec647eb6
Add base payrate field for ranks
2018-02-26 17:56:30 -06:00
Nabeel Shahzad
4a73a5a6b3
Add table/models and admin for expenses #136
2018-02-26 15:16:12 -06:00
Nabeel Shahzad
3bbcd2a20d
fix pirep ids in sample; rename navs to flight reports
2018-02-24 16:05:00 -06:00
Nabeel Shahzad
58e0f50c48
specify fares, js to dynamically change fare form; get applicable fares for the flight/pirep #125
2018-02-24 15:38:25 -06:00
Nabeel Shahzad
910c0e0eab
Convert aircraft active to more detailed status #134
2018-02-23 16:37:10 -06:00
Nabeel Shahzad
db94f5b405
Add a ground_handling_multiplier to the subfleet table #134
2018-02-23 16:00:14 -06:00
Nabeel Shahzad
4142d5d28a
Add ground_handling_cost to airport #134
2018-02-23 15:48:50 -06:00
Nabeel Shahzad
b8b4fe7a8a
Add percentages as part of sample data #125
2018-02-23 15:34:14 -06:00
Nabeel Shahzad
b2d91ba4c9
Show how pirep was filed in list/edit
2018-02-22 15:29:25 -06:00
Nabeel Shahzad
3748ab77d2
Fix aircraft active/inactive states
2018-02-22 14:59:09 -06:00
Nabeel Shahzad
8931f4e271
Change pirep action colors
2018-02-22 14:55:42 -06:00
Nabeel Shahzad
10b0798a30
Cleanup info callouts into components
2018-02-22 14:21:00 -06:00
Nabeel Shahzad
67f6dfc2f4
Cleanup of icons and removed ones not used #195
2018-02-22 13:28:12 -06:00