Commit graph

501 commits

Author SHA1 Message Date
030668e43b Fix plate number cleaning #168 2018-11-07 22:29:08 +08:00
2f32f9666d Adjust computation for services #167 2018-11-06 15:14:22 +08:00
fac78e558d Add plate number warranty API call #166 2018-11-06 01:55:51 +08:00
6771b86d6c Change APIController to abstract class from interface #166 2018-11-06 01:30:52 +08:00
d78e30c9c2 Add battery model and size to warranty and change warranty routes #166 2018-11-06 01:14:19 +08:00
2a24567c4c Merge branch '164-add-api-bundle' into 'master'
Resolve "Add API bundle"

Closes #164

See merge request jankstudio/resq!198
2018-10-25 17:00:23 +00:00
4867f1b6bb Finish warranty api calls #164 2018-10-26 00:58:32 +08:00
9fcae0f05b Add vehicle and battery apis #164 2018-10-25 13:35:27 +08:00
959d2c6efc Add warranty entity, refactor controller, and fix bugs #164 2018-10-24 22:20:45 +08:00
0d41b46ee9 Refactor api bundle to use security to handle authentication #164 2018-10-23 02:11:21 +08:00
28db60e92d Remove google maps distance and eta calculations #165 2018-10-18 21:39:39 +08:00
2b9499861b Add catalyst api bundle and test controller #164 2018-10-15 01:19:29 +08:00
77d6d146c0 Add CSAT field to form and entity #163 2018-10-03 01:08:08 +08:00
4df0e0e5ec Fix bug in rider report command #162 2018-09-28 10:31:07 +08:00
b2d680ae64 Support test phone number for iphone / android testing #162 2018-09-28 09:46:52 +08:00
89d6949015 Add resq inquiry ticket type #162 2018-09-23 15:53:38 +08:00
bad555fbd1 Change closest hub display limit to 50 #162 2018-09-23 15:08:59 +08:00
3a29f2250d Merge branch '162-phase-2-changes' into 'master'
Modify rider report to accept date range #162

Closes #162

See merge request jankstudio/resq!192
2018-09-17 15:25:39 +00:00
7e38f7a719 Modify rider report to accept date range #162 2018-09-17 12:34:37 +08:00
542a1de9c1 Merge branch '162-phase-2-changes' into 'master'
Add dispatch time to rider time report #162

Closes #162

See merge request jankstudio/resq!191
2018-09-14 08:00:34 +00:00
a0a1c664c2 Add dispatch time to rider time report #162 2018-09-14 15:59:51 +08:00
a7fa81e902 Merge branch '162-phase-2-changes' into 'master'
Limit rider time report to anything above september 5 #162

Closes #162

See merge request jankstudio/resq!190
2018-09-14 06:59:50 +00:00
7382b4333c Limit rider time report to anything above september 5 #162 2018-09-14 14:59:06 +08:00
fa55f0c1ed Merge branch '162-phase-2-changes' into 'master'
Add report:rider-time command #162

Closes #162

See merge request jankstudio/resq!189
2018-09-14 06:50:21 +00:00
9efb6ae20f Add report:rider-time command #162 2018-09-14 14:49:17 +08:00
49977c1501 Merge branch '162-phase-2-changes' into 'master'
Set closest hubs limit to 30 #162

Closes #162

See merge request jankstudio/resq!188
2018-09-12 23:32:32 +00:00
9d5f880a14 Set closest hubs limit to 30 #162 2018-09-13 07:29:39 +08:00
root
4464edc803 Support new rider app has_motolite and flag_coolant format 2018-09-10 00:08:38 +08:00
root
d84a156a02 Add support for has_motolite and flag_coolant in change service rider api call 2018-09-08 19:28:15 +08:00
9ca197f33f Fix assitance spelling #162 2018-09-07 21:29:09 +08:00
3ad32605fe Add support for coolant and non-coolant overheat service #162 2018-09-07 03:27:56 +08:00
1c53556713 Highlight mobile app sourced job orders in dispatch table #162 2018-09-03 15:57:03 +08:00
root
e7fd6cb9d1 Fix battery image issue for under warranty 2018-09-02 23:19:03 +08:00
root
45a84d1cc8 Fix edit invoice bug for rider api 2018-08-27 03:57:44 +08:00
63a3136d77 Have invoice creator recognize motolite batteries in vehicles and give free services for them 2018-08-20 04:01:38 +08:00
317ac19c52 Only allow ios push messages to go through APNS client service #162 2018-08-17 03:34:46 +08:00
30e08259db Add apple push notification service #162 2018-08-15 15:09:04 +08:00
e3a0e8e23c Have hub reassign and rider reassign send mqtt events to rider and user app #162 2018-08-15 12:59:57 +08:00
4b635631ba Change mqtt event when rider cancels to outlet_assign #162 2018-08-15 11:24:26 +08:00
f720ccd940 Add mqtt send for outlet_assign event #162 2018-08-15 10:43:54 +08:00
4bb2374d66 Make sure we only send to unique channels when sending user app events #162 2018-08-15 09:14:18 +08:00
dbe152598f Merge branch 'master' of gitlab.com:jankstudio/resq into 162-phase-2-changes 2018-08-14 23:58:41 +08:00
2aa765d186 Allow rating of -1 for cancel rating for rider rating user api call #162 2018-08-14 23:58:00 +08:00
root
bbeb3be10d Make sure batt_id is null in change service rider api call 2018-08-14 23:45:27 +08:00
root
0cc667dbec Merge branch 'master' of https://gitlab.com/jankstudio/resq
Conflicts:
	utils/mqtt_sender/mqtt_sender.py
2018-08-14 13:52:30 +08:00
b5c67f1c91 Revert typecasting for now #162 2018-08-13 14:50:44 +08:00
root
b3eb68346f Revert to regular json_encode because auto int conversion sucks 2018-08-13 14:34:47 +08:00
051521679e Disable sending of MQTT message to user app when user cancels via api #162 2018-08-13 05:08:09 +08:00
fa659226bc Mark JO as rider rated when post rider rating api call is used #162 2018-08-13 05:01:33 +08:00
f47e280b37 Display latest JO without rider rating in rider status api call #162 2018-08-13 04:49:21 +08:00