fleetmap-reports 1.0.287 → 1.0.291
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/codeStyles/Project.xml +7 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/jsLibraryMappings.xml +6 -0
- package/package.json +1 -1
- package/src/index.test.js +3 -43
- package/src/speeding-report.js +9 -2
- package/.idea/runConfigurations.xml +0 -10
- package/.idea/shelf/Uncommitted_changes_before_Update_at_13_01_2022,_12_06_[Changes]/shelved.patch +0 -111
- package/.idea/shelf/Uncommitted_changes_before_Update_at_13_01_2022__12_06__Changes_.xml +0 -4
- package/.idea/workspace.xml +0 -515
package/package.json
CHANGED
package/src/index.test.js
CHANGED
|
@@ -1,60 +1,20 @@
|
|
|
1
1
|
const {getReports} = require("./tests");
|
|
2
2
|
|
|
3
|
-
describe('
|
|
3
|
+
describe('speedingReport', function() {
|
|
4
4
|
this.timeout(500000)
|
|
5
5
|
it('test speeding', async () => {
|
|
6
6
|
const report = await getReports()
|
|
7
7
|
const userData = await report.getUserData()
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
await report.speedingReport(new Date(2021, 2, 30, 0, 0, 0, 0),
|
|
10
10
|
new Date(2021, 2, 30, 23, 59, 59, 0),
|
|
11
11
|
userData)
|
|
12
|
-
|
|
13
|
-
console.log(reportData)
|
|
14
|
-
|
|
15
|
-
})
|
|
16
|
-
it('test trip report', async () => {
|
|
17
|
-
const report = await getReports()
|
|
18
|
-
const userData = await report.getUserData()
|
|
19
|
-
userData.byGroup = true
|
|
20
|
-
const reportData = await report.tripReport(new Date(2021, 2, 30, 0, 0, 0, 0),
|
|
21
|
-
new Date(2021, 2, 30, 23, 59, 59, 0),
|
|
22
|
-
userData)
|
|
23
|
-
|
|
24
|
-
console.log(reportData)
|
|
25
|
-
|
|
26
|
-
})
|
|
27
|
-
it('test event report', async () => {
|
|
28
|
-
const report = await getReports()
|
|
29
|
-
const userData = await report.getUserData()
|
|
30
|
-
userData.eventTypes = []
|
|
31
|
-
const reportData = await report.eventsReport(new Date(2021, 10, 20, 0, 0, 0, 0),
|
|
32
|
-
new Date(2021, 10, 30, 23, 59, 59, 0),
|
|
33
|
-
userData)
|
|
34
|
-
|
|
35
|
-
console.log(reportData)
|
|
36
|
-
|
|
37
12
|
})
|
|
38
13
|
it('test kmsReport by day', async () => {
|
|
39
14
|
const reports = await getReports()
|
|
40
15
|
const userData = await reports.getUserData()
|
|
41
16
|
userData.groupByDay = true
|
|
42
|
-
|
|
43
|
-
userData)
|
|
44
|
-
|
|
45
|
-
console.log(reportData)
|
|
46
|
-
|
|
47
|
-
await reports.kmsReportToPDF(userData, reportData[0])
|
|
48
|
-
})
|
|
49
|
-
it('test locationReport by day', async () => {
|
|
50
|
-
const reports = await getReports()
|
|
51
|
-
const userData = await reports.getUserData()
|
|
52
|
-
userData.groupByDay = true
|
|
53
|
-
const reportData = await reports.locations(new Date(2021, 10, 1), new Date(2021, 10, 3),
|
|
17
|
+
await reports.kmsReport(new Date(2021, 9), new Date(2021, 10),
|
|
54
18
|
userData)
|
|
55
|
-
|
|
56
|
-
console.log(reportData)
|
|
57
|
-
|
|
58
|
-
await reports.kmsReportToPDF(userData, reportData[0])
|
|
59
19
|
})
|
|
60
20
|
})
|
package/src/speeding-report.js
CHANGED
|
@@ -19,7 +19,6 @@ const fileName = 'SpeedingReport'
|
|
|
19
19
|
const eventTypes = ['deviceOverspeed']
|
|
20
20
|
|
|
21
21
|
async function createSpeedingReport(from, to, reportUserData, traccar) {
|
|
22
|
-
console.log('Create SpeedingReport')
|
|
23
22
|
traccarInstance = traccar
|
|
24
23
|
userData = reportUserData
|
|
25
24
|
const reportData = []
|
|
@@ -34,7 +33,7 @@ async function createSpeedingReport(from, to, reportUserData, traccar) {
|
|
|
34
33
|
const allData = await createSpeedingReportByGroup(from, to)
|
|
35
34
|
reportData.push(...allData)
|
|
36
35
|
} else {
|
|
37
|
-
console.log("
|
|
36
|
+
console.log("createSpeedingReportByDevice")
|
|
38
37
|
const allData = await createSpeedingReportByDevice(from, to, userData.devices)
|
|
39
38
|
reportData.push(allData)
|
|
40
39
|
}
|
|
@@ -239,6 +238,10 @@ async function getHereEvents(devices, routes, threshold){
|
|
|
239
238
|
const events = []
|
|
240
239
|
for (const d of devices) {
|
|
241
240
|
const positions = routes.filter(p => p.deviceId === d.id)
|
|
241
|
+
if (!positions.length) {
|
|
242
|
+
console.log('no positions on device', d.name)
|
|
243
|
+
continue
|
|
244
|
+
}
|
|
242
245
|
try {
|
|
243
246
|
const results = await here.routeMatch(positions)
|
|
244
247
|
const hereAlerts = results.filter(r => r.currentSpeedKmh > (parseInt(r.speedLimit) + threshold)).map(r => {
|
|
@@ -252,6 +255,10 @@ async function getHereEvents(devices, routes, threshold){
|
|
|
252
255
|
attributes: {speedLimit: r.speedLimit, speed: r.currentSpeedKmh / 1.85200}
|
|
253
256
|
}
|
|
254
257
|
})
|
|
258
|
+
if (!hereAlerts) {
|
|
259
|
+
console.log('empty array after filter on device', d.name)
|
|
260
|
+
continue
|
|
261
|
+
}
|
|
255
262
|
const reduced = hereAlerts.reduce((acc, cur, idx, src) => {
|
|
256
263
|
if (idx === 1) {
|
|
257
264
|
return [cur]
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="RunConfigurationProducerService">
|
|
4
|
-
<option name="ignoredProducers">
|
|
5
|
-
<set>
|
|
6
|
-
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
|
7
|
-
</set>
|
|
8
|
-
</option>
|
|
9
|
-
</component>
|
|
10
|
-
</project>
|
package/.idea/shelf/Uncommitted_changes_before_Update_at_13_01_2022,_12_06_[Changes]/shelved.patch
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
Index: lang/enGB.js
|
|
2
|
-
IDEA additional info:
|
|
3
|
-
Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP
|
|
4
|
-
<+>module.exports = {\n route: {\n map: 'Map',\n dashboard: 'Dashboard',\n reports: 'Reports',\n report: 'Report',\n report_trip_title: 'Trip Report',\n report_location_title: 'Location Report',\n report_zone_crossing: 'Zone Report',\n report_speeding: 'Relatório de Excessos de Velocidade',\n report_speeding_beta: 'Relatório de Excessos de Velocidade BETA',\n report_tolls: 'Relatório de Portagens',\n settings: 'Settings',\n duration: 'Duration'\n },\n map: {\n geofence_create_title: 'New geofence',\n geofence_create_name: 'Please enter the name of this geofence...',\n geofence_created: 'Geofence created sucessfully!',\n geofence_create_canceled: 'Input canceled',\n poi_create_title: 'New POI',\n poi_create_name: 'Please enter the name of this POI...',\n poi_created: 'POI created sucessfully!',\n poi_create_canceled: 'Input canceled',\n create_confirm: 'OK',\n create_cancel: 'Cancel',\n loading: 'Loading',\n totalDistance: 'Distância total'\n },\n vehicleList: {\n title: 'Vehicle',\n search: 'Search...',\n column_name: 'Name',\n column_speed: 'Km/h',\n column_lastUpdate: 'Last update'\n },\n vehicleTable: {\n immobilize: 'Immobilize',\n de_immobilize: 'De-Immobilize',\n send_immobilization: 'Send immobilization command?',\n send_de_immobilization: 'Send de-immobilization command?',\n all_vehicles: 'All',\n moving_vehicles: 'Moving',\n idle_vehicles: 'Idle',\n stopped_vehicles: 'Stopped',\n disconnected_vehicles: 'Disconnected'\n },\n vehicleDetail: {\n show_route: 'Show route'\n },\n poiTable: {\n showPOIs: 'Show POIs',\n edit_poi: 'Edit',\n delete_poi: 'Delete'\n },\n dashboard: {\n startdate: 'Start date',\n enddate: 'End Date',\n period_lastweek: 'Last week',\n period_lastmonth: 'Last month',\n period_last3month: 'Last 3 months'\n },\n navbar: {\n profile: 'Profile',\n notifications: 'Notifications',\n settings: 'Settings',\n logout: 'Log Out'\n },\n login: {\n login_user: 'Email',\n login_password: 'Password',\n login_button: 'Login',\n login_password_warn: 'The password can not be less than 6 digits'\n },\n profile: {\n user_account: 'Account',\n user_name: 'Name',\n user_email: 'E-mail',\n user_password: 'Password',\n user_phone: 'Phone',\n user_language: 'Language',\n user_timezone: 'Timezone',\n user_update_button: 'Update',\n user_updated: 'User information has been updated successfully.',\n user_name_required: 'Name field is required',\n user_email_required: 'Please input a valid email',\n user_password_lengh: 'The password can not be less than 6 digits'\n },\n settings: {\n map: 'Map',\n vehicles: 'Vehicles',\n title: 'Settings',\n route_match: 'Route match',\n alerts: 'Alerts',\n alerts_type: 'Type',\n alerts_notificators: 'Notificators',\n alert_ignitionOff: 'Ignition Off',\n alert_ignitionOn: 'Ignition On',\n alert_geofenceEnter: 'Geofence Enter',\n alert_geofenceExit: 'Geofence Exit',\n alert_deviceOverspeed: 'Device Overspeed',\n alert_deleted: 'Alert has been deleted',\n alert_delete_info: 'Do you want to delete the alert ',\n alert_delete_title: 'Delete Alert',\n alert_edit_confirm: 'Confirm',\n alert_edit_cancel: 'Cancel',\n alert_created: 'Alert created sucessfully!',\n alert_updated: 'Alert updated sucessfully!',\n alert_add: 'Add Alert',\n alert_edit: 'Edit Alert',\n alert_delete: 'Delete Alert',\n alert_overspeed_warning: 'Vehicle without defined top speed',\n alert_geofences_warning: 'Vehicle without associated geofences',\n alert_associate_geofences: 'Associate Geofences',\n alert_form_type: 'Type:',\n alert_form_type_placeholder: 'Select alert type',\n alert_form_vehicles: 'Vehicles:',\n alert_form_geofences: 'Geofences:',\n alert_form_all_vehicles: 'All vehicles',\n alert_form_vehicles_placeholder: 'Select vehicles',\n alert_form_notificator_web: 'Web',\n alert_form_notificator_email: 'E-mail',\n alert_form_notificator_sms: 'SMS',\n alert_form_confirm: 'Save',\n alert_form_cancel: 'Cancel',\n alert_form_geofences_placeholder: 'Select geofences',\n vehicle_edit: 'Edit Vehicle',\n vehicle_name: 'Name',\n vehicle_licenseplate: 'License Plate',\n vehicle_model: 'Model',\n vehicle_speed_limit: 'Speed Limit',\n vehicle_form_cancel: 'Cancel',\n vehicle_form_confirm: 'Save',\n vehicle_form_name: 'Name',\n vehicle_form_model: 'Model',\n vehicle_form_speed_limit: 'Speed Limit (Km/h)',\n vehicle_updated: 'Vehicle updated sucessfully!'\n },\n geofence: {\n showGeofences: 'Show Geofences',\n geofence_name: 'Name',\n geofence_edit: 'Edit',\n geofence_delete: 'Delete',\n geofence_deleted: 'Geofence has been deleted',\n geofence_delete_info: 'Do you want to delete geofence ',\n geofence_delete_title: 'Delete Geofence',\n geofence_edit_title: 'Edit Geofence',\n geofence_edit_name: 'Please enter the name of this geofence...',\n geofence_edit_confirm: 'Confirm',\n geofence_edit_cancel: 'Cancel',\n geofence_edit_canceled: 'Edit canceled',\n geofence_edited: 'Geofence edited sucessfully!',\n poi_delete_info: 'Do you want to delete POI ',\n poi_delete_title: 'Delete POI',\n poi_edited: 'POI edited sucessfully!',\n poi_deleted: 'POI has been deleted',\n poi_edit_title: 'Edit POI',\n poi_edit_name: 'Please enter the name of this POI...',\n searchGeofence: 'Search geofence',\n edit_geofence: 'Edit',\n delete_geofence: 'Delete'\n },\n report: {\n temperature: 'Temperatura',\n select_vehicles: 'Select vehicles',\n select_vehicles_placeholder: 'Vehicles',\n select_geofences: 'Select geofences',\n select_geofences_placeholder: 'Geofences',\n select_period: 'Select period',\n period: 'Period',\n date_start: 'Start date',\n date_end: 'End date',\n generate_report: 'Generate report',\n validate_period: 'Por favor seleccione o período',\n user: 'User',\n titleTripReport: 'Trip Report',\n titleLocationReport: 'Locations Report',\n titleSpeedingReport: 'Overspeed Report',\n titleZoneReport: 'Zone Report',\n titleRefuelReport: 'Refueling Report',\n titleFuelDropReport: 'Fuel Drop Report',\n titleEventsReport: 'Events Report',\n titleActivityReport: 'Activity Report',\n titleKmsReport: 'Kms Report',\n titleIdleReport: 'Idle Report',\n from: 'From',\n to: 'to',\n headerStartAddress: 'Start address',\n headerDistance: 'Distance',\n headerDrivingTime: 'Driving Time',\n headerMaxSpeed: 'Max Speed',\n date: 'Date',\n start: 'Start',\n end: 'End',\n endAddress: 'Destination',\n tripTime: 'Duration',\n idleTime: 'Idle',\n stopTime: 'Stop',\n distance: 'Distance',\n speed: 'Speed',\n roadSpeedLimit: 'Limite da estrada',\n overspeed: 'Alert On',\n avgSpeed: 'Avg Speed',\n maxSpeed: 'Max Speed',\n driver: 'Driver',\n group: 'Group',\n address: 'Address',\n ignition: 'Ignition',\n ignitionOn: 'On',\n ignitionOff: 'Off',\n enter: 'Enter',\n exit: 'Exit',\n geofence: 'Geofence',\n duration: 'Duration',\n vehicles: 'Vehicles',\n vehicle: 'Vehicle',\n licensePlate: 'License Plate',\n odometer: 'Odometer',\n startOdometer: 'Start (Km)',\n endOdometer: 'End (Km)',\n spentFuel: 'Spent Fuel',\n engineHours: 'Use (H:m)',\n driverHours: 'Driving Time (H:m)',\n refueling: 'Refueling',\n totalRefueled: 'Total Refueled',\n totalFuelDrops: 'Total Fuel Drops',\n totalFuelDropLiters: 'Total Fuel Lost',\n speedLimit: 'Speed Limit',\n eventType: 'Event',\n info: 'Information',\n event_ignitionOff: 'Ignition Off',\n event_ignitionOn: 'Ignition On',\n event_deviceOverspeed: 'Device Overspeed',\n event_geofenceEnter: 'Geofence Enter',\n event_geofenceExit: 'Geofence Exit',\n event_deviceFuelDrop: 'Fuel Drop',\n event_driverChanged: 'Driver Changed',\n event_sos: 'SOS',\n event_powerOn: 'Power TakeOff',\n event_powerCute: 'Power Cut',\n monday: 'Monday',\n tuesday: 'Tuesday',\n wednesday: 'Wednesday',\n thursday: 'Thursday',\n friday: 'Friday',\n saturday: 'Saturday',\n sunday: 'Sunday',\n weekDay: 'Week Day',\n unsubscribeTripReport: 'If you no longer wish to receive these emails, please go to %url% and remove the option \"Trip report\" in the settings in the \"Reports\" section.',\n unsubscribeLocationsReport: 'If you no longer wish to receive these emails, please go to %url% and remove the option \"Locations report\" in the settings in the \"Reports\" section.',\n unsubscribeSpeedingReport: 'If you no longer wish to receive these emails, please go to %url% and remove the option \"Overspeed report\" in the settings in the \"Reports\" section.',\n unsubscribeZoneReport: 'If you no longer wish to receive these emails, please go to %url% and remove the option \"Zone report\" in the settings in the \"Reports\" section.',\n unsubscribeRefuelingReport: 'If you no longer wish to receive these emails, please go to %url% and remove the option \"Refueling report\" in the settings in the \"Reports\" section.',\n unsubscribeFuelDropReport: 'If you no longer wish to receive these emails, please go to %url% and remove the option \"Fuel drop report\" in the settings in the \"Reports\" section.'\n },\n layout: {\n deviceOnline: 'Device Online',\n deviceMoving: 'Device Moving',\n deviceStopped: 'Device Stopped',\n ignitionOff: 'Ignition Off',\n ignitionOn: 'Ignition On',\n deviceOverspeed: 'Device Overspeed',\n geofenceEnter: 'Geofence Enter',\n geofenceExit: 'Geofence Exit',\n deviceFuelDrop: 'Fuel Drop',\n driverChanged: 'Driver Changed',\n test: 'Test Notification',\n sos: 'Panic',\n powerOn: 'Power Take-Off',\n device: 'Device',\n time: 'Time',\n address: 'Address',\n driver: 'Driver',\n group: 'Group',\n in: 'in',\n fuelDropInfo: 'Fuel drop greater than '\n }\n};\n
|
|
5
|
-
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
6
|
-
<+>UTF-8
|
|
7
|
-
===================================================================
|
|
8
|
-
diff --git a/lang/enGB.js b/lang/enGB.js
|
|
9
|
-
--- a/lang/enGB.js (revision 72e03f900c10baae4125ede3213c2bf41b831443)
|
|
10
|
-
+++ b/lang/enGB.js (date 1642075508634)
|
|
11
|
-
@@ -198,7 +198,7 @@
|
|
12
|
-
stopTime: 'Stop',
|
|
13
|
-
distance: 'Distance',
|
|
14
|
-
speed: 'Speed',
|
|
15
|
-
- roadSpeedLimit: 'Limite da estrada',
|
|
16
|
-
+ roadSpeedLimit: 'Road Speed Limit',
|
|
17
|
-
overspeed: 'Alert On',
|
|
18
|
-
avgSpeed: 'Avg Speed',
|
|
19
|
-
maxSpeed: 'Max Speed',
|
|
20
|
-
Index: package.json
|
|
21
|
-
IDEA additional info:
|
|
22
|
-
Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP
|
|
23
|
-
<+>{\n \"name\": \"fleetmap-reports\",\n \"version\": \"1.0.276\",\n \"description\": \"\",\n \"main\": \"src/index.js\",\n \"scripts\": {\n \"test\": \"jest\"\n },\n \"keywords\": [],\n \"author\": \"\",\n \"license\": \"ISC\",\n \"dependencies\": {\n \"axios\": \"^0.21.1\",\n \"axios-cookiejar-support\": \"^1.0.1\",\n \"fleetmap-partners\": \"^1.0.42\",\n \"json-as-xlsx\": \"^1.2.1\",\n \"jspdf\": \"^2.3.1\",\n \"jspdf-autotable\": \"^3.5.14\",\n \"moment\": \"^2.29.1\",\n \"tough-cookie\": \"^4.0.0\",\n \"traccar-api\": \"^1.0.5\",\n \"turf\": \"^3.0.14\",\n \"turf-point\": \"^2.0.1\",\n \"wkt\": \"^0.1.1\"\n },\n \"devDependencies\": {\n \"axios-debug-log\": \"^0.8.4\",\n \"mocha\": \"^9.0.3\",\n \"webpack\": \"^5.24.3\",\n \"webpack-cli\": \"^4.5.0\"\n }\n}\n
|
|
24
|
-
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
25
|
-
<+>UTF-8
|
|
26
|
-
===================================================================
|
|
27
|
-
diff --git a/package.json b/package.json
|
|
28
|
-
--- a/package.json (revision 72e03f900c10baae4125ede3213c2bf41b831443)
|
|
29
|
-
+++ b/package.json (date 1642075597358)
|
|
30
|
-
@@ -1,6 +1,6 @@
|
|
31
|
-
{
|
|
32
|
-
"name": "fleetmap-reports",
|
|
33
|
-
- "version": "1.0.276",
|
|
34
|
-
+ "version": "1.0.277",
|
|
35
|
-
"description": "",
|
|
36
|
-
"main": "src/index.js",
|
|
37
|
-
"scripts": {
|
|
38
|
-
Index: src/index.test.js
|
|
39
|
-
IDEA additional info:
|
|
40
|
-
Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP
|
|
41
|
-
<+>const {getReports} = require(\"./tests\");\n\ndescribe('speedingReport', function() {\n this.timeout(500000)\n it('test speeding', async () => {\n const report = await getReports()\n const userData = await report.getUserData()\n\n await report.speedingReport(new Date(2021, 2, 30, 0, 0, 0, 0),\n new Date(2021, 2, 30, 23, 59, 59, 0),\n userData)\n })\n it('test kmsReport by day', async () => {\n const reports = await getReports()\n const userData = await reports.getUserData()\n userData.groupByDay = true\n await reports.kmsReport(new Date(2021, 9), new Date(2021, 10),\n userData)\n })\n})\n
|
|
42
|
-
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
43
|
-
<+>UTF-8
|
|
44
|
-
===================================================================
|
|
45
|
-
diff --git a/src/index.test.js b/src/index.test.js
|
|
46
|
-
--- a/src/index.test.js (revision 72e03f900c10baae4125ede3213c2bf41b831443)
|
|
47
|
-
+++ b/src/index.test.js (date 1640795031637)
|
|
48
|
-
@@ -1,20 +1,60 @@
|
|
49
|
-
const {getReports} = require("./tests");
|
|
50
|
-
|
|
51
|
-
-describe('speedingReport', function() {
|
|
52
|
-
+describe('Reports', function() {
|
|
53
|
-
this.timeout(500000)
|
|
54
|
-
it('test speeding', async () => {
|
|
55
|
-
const report = await getReports()
|
|
56
|
-
const userData = await report.getUserData()
|
|
57
|
-
|
|
58
|
-
- await report.speedingReport(new Date(2021, 2, 30, 0, 0, 0, 0),
|
|
59
|
-
+ const reportData = await report.speedingReport(new Date(2021, 2, 30, 0, 0, 0, 0),
|
|
60
|
-
+ new Date(2021, 2, 30, 23, 59, 59, 0),
|
|
61
|
-
+ userData)
|
|
62
|
-
+
|
|
63
|
-
+ console.log(reportData)
|
|
64
|
-
+
|
|
65
|
-
+ })
|
|
66
|
-
+ it('test trip report', async () => {
|
|
67
|
-
+ const report = await getReports()
|
|
68
|
-
+ const userData = await report.getUserData()
|
|
69
|
-
+ userData.byGroup = true
|
|
70
|
-
+ const reportData = await report.tripReport(new Date(2021, 2, 30, 0, 0, 0, 0),
|
|
71
|
-
new Date(2021, 2, 30, 23, 59, 59, 0),
|
|
72
|
-
userData)
|
|
73
|
-
+
|
|
74
|
-
+ console.log(reportData)
|
|
75
|
-
+
|
|
76
|
-
+ })
|
|
77
|
-
+ it('test event report', async () => {
|
|
78
|
-
+ const report = await getReports()
|
|
79
|
-
+ const userData = await report.getUserData()
|
|
80
|
-
+ userData.eventTypes = []
|
|
81
|
-
+ const reportData = await report.eventsReport(new Date(2021, 10, 20, 0, 0, 0, 0),
|
|
82
|
-
+ new Date(2021, 10, 30, 23, 59, 59, 0),
|
|
83
|
-
+ userData)
|
|
84
|
-
+
|
|
85
|
-
+ console.log(reportData)
|
|
86
|
-
+
|
|
87
|
-
})
|
|
88
|
-
it('test kmsReport by day', async () => {
|
|
89
|
-
const reports = await getReports()
|
|
90
|
-
const userData = await reports.getUserData()
|
|
91
|
-
userData.groupByDay = true
|
|
92
|
-
- await reports.kmsReport(new Date(2021, 9), new Date(2021, 10),
|
|
93
|
-
+ const reportData = await reports.kmsReport(new Date(2021, 10, 1), new Date(2021, 10, 3),
|
|
94
|
-
userData)
|
|
95
|
-
+
|
|
96
|
-
+ console.log(reportData)
|
|
97
|
-
+
|
|
98
|
-
+ await reports.kmsReportToPDF(userData, reportData[0])
|
|
99
|
-
+ })
|
|
100
|
-
+ it('test locationReport by day', async () => {
|
|
101
|
-
+ const reports = await getReports()
|
|
102
|
-
+ const userData = await reports.getUserData()
|
|
103
|
-
+ userData.groupByDay = true
|
|
104
|
-
+ const reportData = await reports.locations(new Date(2021, 10, 1), new Date(2021, 10, 3),
|
|
105
|
-
+ userData)
|
|
106
|
-
+
|
|
107
|
-
+ console.log(reportData)
|
|
108
|
-
+
|
|
109
|
-
+ await reports.kmsReportToPDF(userData, reportData[0])
|
|
110
|
-
})
|
|
111
|
-
})
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<changelist name="Uncommitted_changes_before_Update_at_13_01_2022,_12_06_[Changes]" date="1642075622603" recycled="true" deleted="true">
|
|
2
|
-
<option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_13_01_2022,_12_06_[Changes]/shelved.patch" />
|
|
3
|
-
<option name="DESCRIPTION" value="Uncommitted changes before Update at 13/01/2022, 12:06 [Changes]" />
|
|
4
|
-
</changelist>
|
package/.idea/workspace.xml
DELETED
|
@@ -1,515 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ChangeListManager">
|
|
4
|
-
<list default="true" id="eb665c86-c893-4333-bd2a-721dc27980b9" name="Changes" comment="en translation">
|
|
5
|
-
<change beforePath="$PROJECT_DIR$/src/index.test.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.test.js" afterDir="false" />
|
|
6
|
-
<change beforePath="$PROJECT_DIR$/src/speeding-report.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/speeding-report.js" afterDir="false" />
|
|
7
|
-
</list>
|
|
8
|
-
<option name="SHOW_DIALOG" value="false" />
|
|
9
|
-
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
10
|
-
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
11
|
-
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
12
|
-
</component>
|
|
13
|
-
<component name="FileTemplateManagerImpl">
|
|
14
|
-
<option name="RECENT_TEMPLATES">
|
|
15
|
-
<list>
|
|
16
|
-
<option value="JavaScript File" />
|
|
17
|
-
</list>
|
|
18
|
-
</option>
|
|
19
|
-
</component>
|
|
20
|
-
<component name="Git.Settings">
|
|
21
|
-
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
22
|
-
</component>
|
|
23
|
-
<component name="GitSEFilterConfiguration">
|
|
24
|
-
<file-type-list>
|
|
25
|
-
<filtered-out-file-type name="LOCAL_BRANCH" />
|
|
26
|
-
<filtered-out-file-type name="REMOTE_BRANCH" />
|
|
27
|
-
<filtered-out-file-type name="TAG" />
|
|
28
|
-
<filtered-out-file-type name="COMMIT_BY_MESSAGE" />
|
|
29
|
-
</file-type-list>
|
|
30
|
-
</component>
|
|
31
|
-
<component name="ProjectId" id="20NIxbej0qfi8RaO3jr1XOU0xol" />
|
|
32
|
-
<component name="ProjectViewState">
|
|
33
|
-
<option name="hideEmptyMiddlePackages" value="true" />
|
|
34
|
-
<option name="showLibraryContents" value="true" />
|
|
35
|
-
</component>
|
|
36
|
-
<component name="PropertiesComponent">
|
|
37
|
-
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
|
38
|
-
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
|
39
|
-
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
40
|
-
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
41
|
-
<property name="nodejs.mocha.mocha_node_package_dir" value="$PROJECT_DIR$/node_modules/mocha" />
|
|
42
|
-
<property name="nodejs_package_manager_path" value="npm" />
|
|
43
|
-
<property name="settings.editor.selected.configurable" value="Errors" />
|
|
44
|
-
<property name="ts.external.directory.path" value="$APPLICATION_HOME_DIR$/plugins/JavaScriptLanguage/jsLanguageServicesImpl/external" />
|
|
45
|
-
<property name="vue.rearranger.settings.migration" value="true" />
|
|
46
|
-
</component>
|
|
47
|
-
<component name="RunManager" selected="Mocha.Reports.test event report">
|
|
48
|
-
<configuration name="Reports.test event report" type="mocha-javascript-test-runner" temporary="true" nameIsGenerated="true">
|
|
49
|
-
<node-interpreter>project</node-interpreter>
|
|
50
|
-
<node-options />
|
|
51
|
-
<mocha-package>$PROJECT_DIR$/node_modules/mocha</mocha-package>
|
|
52
|
-
<working-directory>$PROJECT_DIR$</working-directory>
|
|
53
|
-
<pass-parent-env>true</pass-parent-env>
|
|
54
|
-
<envs>
|
|
55
|
-
<env name="email" value="jppenas@gmail.com" />
|
|
56
|
-
<env name="password" value="penas46881" />
|
|
57
|
-
</envs>
|
|
58
|
-
<ui>bdd</ui>
|
|
59
|
-
<extra-mocha-options />
|
|
60
|
-
<test-kind>TEST</test-kind>
|
|
61
|
-
<test-file>$PROJECT_DIR$/src/index.test.js</test-file>
|
|
62
|
-
<test-names>
|
|
63
|
-
<name value="Reports" />
|
|
64
|
-
<name value="test event report" />
|
|
65
|
-
</test-names>
|
|
66
|
-
<method v="2" />
|
|
67
|
-
</configuration>
|
|
68
|
-
<configuration name="Reports.test trip report" type="mocha-javascript-test-runner" temporary="true" nameIsGenerated="true">
|
|
69
|
-
<node-interpreter>project</node-interpreter>
|
|
70
|
-
<node-options />
|
|
71
|
-
<mocha-package>$PROJECT_DIR$/node_modules/mocha</mocha-package>
|
|
72
|
-
<working-directory>$PROJECT_DIR$</working-directory>
|
|
73
|
-
<pass-parent-env>true</pass-parent-env>
|
|
74
|
-
<envs>
|
|
75
|
-
<env name="email" value="jppenas@gmail.com" />
|
|
76
|
-
<env name="password" value="penas46881" />
|
|
77
|
-
</envs>
|
|
78
|
-
<ui>bdd</ui>
|
|
79
|
-
<extra-mocha-options />
|
|
80
|
-
<test-kind>TEST</test-kind>
|
|
81
|
-
<test-file>$PROJECT_DIR$/src/index.test.js</test-file>
|
|
82
|
-
<test-names>
|
|
83
|
-
<name value="Reports" />
|
|
84
|
-
<name value="test trip report" />
|
|
85
|
-
</test-names>
|
|
86
|
-
<method v="2" />
|
|
87
|
-
</configuration>
|
|
88
|
-
<configuration name="speedingReport.test kmsReport by day" type="mocha-javascript-test-runner" temporary="true" nameIsGenerated="true">
|
|
89
|
-
<node-interpreter>project</node-interpreter>
|
|
90
|
-
<node-options />
|
|
91
|
-
<mocha-package>$PROJECT_DIR$/node_modules/mocha</mocha-package>
|
|
92
|
-
<working-directory>$PROJECT_DIR$</working-directory>
|
|
93
|
-
<pass-parent-env>true</pass-parent-env>
|
|
94
|
-
<envs>
|
|
95
|
-
<env name="email" value="jppenas@gmail.com" />
|
|
96
|
-
<env name="password" value="penas46881" />
|
|
97
|
-
</envs>
|
|
98
|
-
<ui>bdd</ui>
|
|
99
|
-
<extra-mocha-options />
|
|
100
|
-
<test-kind>TEST</test-kind>
|
|
101
|
-
<test-file>$PROJECT_DIR$/src/index.test.js</test-file>
|
|
102
|
-
<test-names>
|
|
103
|
-
<name value="speedingReport" />
|
|
104
|
-
<name value="test kmsReport by day" />
|
|
105
|
-
</test-names>
|
|
106
|
-
<method v="2" />
|
|
107
|
-
</configuration>
|
|
108
|
-
<configuration name="speedingReport.test speeding" type="mocha-javascript-test-runner" temporary="true" nameIsGenerated="true">
|
|
109
|
-
<node-interpreter>project</node-interpreter>
|
|
110
|
-
<node-options />
|
|
111
|
-
<mocha-package>$PROJECT_DIR$/node_modules/mocha</mocha-package>
|
|
112
|
-
<working-directory>$PROJECT_DIR$</working-directory>
|
|
113
|
-
<pass-parent-env>true</pass-parent-env>
|
|
114
|
-
<envs>
|
|
115
|
-
<env name="email" value="jppenas@gmail.com" />
|
|
116
|
-
<env name="password" value="penas46881" />
|
|
117
|
-
</envs>
|
|
118
|
-
<ui>bdd</ui>
|
|
119
|
-
<extra-mocha-options />
|
|
120
|
-
<test-kind>TEST</test-kind>
|
|
121
|
-
<test-file>$PROJECT_DIR$/src/index.test.js</test-file>
|
|
122
|
-
<test-names>
|
|
123
|
-
<name value="speedingReport" />
|
|
124
|
-
<name value="test speeding" />
|
|
125
|
-
</test-names>
|
|
126
|
-
<method v="2" />
|
|
127
|
-
</configuration>
|
|
128
|
-
<configuration name="test reports" type="mocha-javascript-test-runner" temporary="true" nameIsGenerated="true">
|
|
129
|
-
<node-interpreter>project</node-interpreter>
|
|
130
|
-
<node-options />
|
|
131
|
-
<mocha-package>$PROJECT_DIR$/node_modules/mocha</mocha-package>
|
|
132
|
-
<working-directory>$PROJECT_DIR$</working-directory>
|
|
133
|
-
<pass-parent-env>true</pass-parent-env>
|
|
134
|
-
<envs>
|
|
135
|
-
<env name="email" value="jppenas@gmail.com" />
|
|
136
|
-
<env name="password" value="penas46881" />
|
|
137
|
-
</envs>
|
|
138
|
-
<ui>bdd</ui>
|
|
139
|
-
<extra-mocha-options />
|
|
140
|
-
<test-kind>SUITE</test-kind>
|
|
141
|
-
<test-file>$PROJECT_DIR$/src/index.test.js</test-file>
|
|
142
|
-
<test-names>
|
|
143
|
-
<name value="test reports" />
|
|
144
|
-
</test-names>
|
|
145
|
-
<method v="2" />
|
|
146
|
-
</configuration>
|
|
147
|
-
<list>
|
|
148
|
-
<item itemvalue="Mocha.test reports" />
|
|
149
|
-
<item itemvalue="Mocha.speedingReport.test kmsReport by day" />
|
|
150
|
-
<item itemvalue="Mocha.speedingReport.test speeding" />
|
|
151
|
-
<item itemvalue="Mocha.Reports.test trip report" />
|
|
152
|
-
<item itemvalue="Mocha.Reports.test event report" />
|
|
153
|
-
</list>
|
|
154
|
-
<recent_temporary>
|
|
155
|
-
<list>
|
|
156
|
-
<item itemvalue="Mocha.Reports.test event report" />
|
|
157
|
-
<item itemvalue="Mocha.Reports.test trip report" />
|
|
158
|
-
<item itemvalue="Mocha.speedingReport.test speeding" />
|
|
159
|
-
<item itemvalue="Mocha.speedingReport.test kmsReport by day" />
|
|
160
|
-
<item itemvalue="Mocha.test reports" />
|
|
161
|
-
</list>
|
|
162
|
-
</recent_temporary>
|
|
163
|
-
</component>
|
|
164
|
-
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
165
|
-
<component name="TaskManager">
|
|
166
|
-
<task active="true" id="Default" summary="Default task">
|
|
167
|
-
<changelist id="eb665c86-c893-4333-bd2a-721dc27980b9" name="Changes" comment="" />
|
|
168
|
-
<created>1635878866368</created>
|
|
169
|
-
<option name="number" value="Default" />
|
|
170
|
-
<option name="presentableId" value="Default" />
|
|
171
|
-
<updated>1635878866368</updated>
|
|
172
|
-
<workItem from="1635878870054" duration="105000" />
|
|
173
|
-
<workItem from="1635943211865" duration="371000" />
|
|
174
|
-
<workItem from="1636030918716" duration="808000" />
|
|
175
|
-
<workItem from="1636366400735" duration="3018000" />
|
|
176
|
-
<workItem from="1636371409243" duration="45000" />
|
|
177
|
-
<workItem from="1636371621773" duration="4750000" />
|
|
178
|
-
<workItem from="1636623371114" duration="675000" />
|
|
179
|
-
<workItem from="1636624396937" duration="1987000" />
|
|
180
|
-
<workItem from="1636627666406" duration="1616000" />
|
|
181
|
-
<workItem from="1636647112207" duration="1748000" />
|
|
182
|
-
<workItem from="1636981640447" duration="4315000" />
|
|
183
|
-
<workItem from="1637009407292" duration="1470000" />
|
|
184
|
-
<workItem from="1637012863006" duration="5376000" />
|
|
185
|
-
<workItem from="1637087797229" duration="5701000" />
|
|
186
|
-
<workItem from="1637227826845" duration="1275000" />
|
|
187
|
-
<workItem from="1637441942952" duration="4543000" />
|
|
188
|
-
<workItem from="1637670815688" duration="2973000" />
|
|
189
|
-
<workItem from="1637674107929" duration="13419000" />
|
|
190
|
-
<workItem from="1637756665591" duration="4742000" />
|
|
191
|
-
<workItem from="1637841765985" duration="10197000" />
|
|
192
|
-
<workItem from="1637868513425" duration="1650000" />
|
|
193
|
-
<workItem from="1637928687573" duration="37000" />
|
|
194
|
-
<workItem from="1637931438656" duration="621000" />
|
|
195
|
-
<workItem from="1637952151523" duration="17766000" />
|
|
196
|
-
<workItem from="1638270786569" duration="6960000" />
|
|
197
|
-
<workItem from="1638455902437" duration="120000" />
|
|
198
|
-
<workItem from="1638486745343" duration="4126000" />
|
|
199
|
-
<workItem from="1638792860278" duration="2140000" />
|
|
200
|
-
<workItem from="1638839462028" duration="50000" />
|
|
201
|
-
<workItem from="1638840110567" duration="597000" />
|
|
202
|
-
<workItem from="1638888787940" duration="19894000" />
|
|
203
|
-
<workItem from="1639074912454" duration="257000" />
|
|
204
|
-
<workItem from="1639090037682" duration="2514000" />
|
|
205
|
-
<workItem from="1639135460686" duration="3092000" />
|
|
206
|
-
<workItem from="1639151097761" duration="13703000" />
|
|
207
|
-
<workItem from="1639246310204" duration="628000" />
|
|
208
|
-
<workItem from="1639247624979" duration="13040000" />
|
|
209
|
-
<workItem from="1639489940902" duration="18224000" />
|
|
210
|
-
<workItem from="1639591829775" duration="681000" />
|
|
211
|
-
<workItem from="1639592539998" duration="27141000" />
|
|
212
|
-
<workItem from="1639766010908" duration="4991000" />
|
|
213
|
-
<workItem from="1639872937953" duration="1438000" />
|
|
214
|
-
<workItem from="1639954341221" duration="11986000" />
|
|
215
|
-
<workItem from="1640272520380" duration="2253000" />
|
|
216
|
-
<workItem from="1640789226071" duration="1935000" />
|
|
217
|
-
<workItem from="1640794844118" duration="10128000" />
|
|
218
|
-
<workItem from="1640866364417" duration="67000" />
|
|
219
|
-
<workItem from="1640866782794" duration="123000" />
|
|
220
|
-
<workItem from="1640866964393" duration="1022000" />
|
|
221
|
-
<workItem from="1640870147277" duration="8236000" />
|
|
222
|
-
<workItem from="1641321068227" duration="14805000" />
|
|
223
|
-
<workItem from="1641387675790" duration="32947000" />
|
|
224
|
-
<workItem from="1641509412324" duration="41000" />
|
|
225
|
-
<workItem from="1641510744190" duration="1404000" />
|
|
226
|
-
<workItem from="1641526151665" duration="1679000" />
|
|
227
|
-
<workItem from="1641640203903" duration="5320000" />
|
|
228
|
-
<workItem from="1641740608739" duration="1844000" />
|
|
229
|
-
<workItem from="1641775506363" duration="646000" />
|
|
230
|
-
<workItem from="1641819557952" duration="1678000" />
|
|
231
|
-
<workItem from="1641910746496" duration="1819000" />
|
|
232
|
-
<workItem from="1641921254910" duration="614000" />
|
|
233
|
-
<workItem from="1641991863387" duration="626000" />
|
|
234
|
-
<workItem from="1641992769870" duration="96000" />
|
|
235
|
-
<workItem from="1641992912450" duration="1734000" />
|
|
236
|
-
<workItem from="1642001918030" duration="2950000" />
|
|
237
|
-
<workItem from="1642028703547" duration="9503000" />
|
|
238
|
-
<workItem from="1642073677104" duration="1399000" />
|
|
239
|
-
<workItem from="1642077505676" duration="5779000" />
|
|
240
|
-
</task>
|
|
241
|
-
<task id="LOCAL-00001" summary="Fix getStyle">
|
|
242
|
-
<created>1636983717385</created>
|
|
243
|
-
<option name="number" value="00001" />
|
|
244
|
-
<option name="presentableId" value="LOCAL-00001" />
|
|
245
|
-
<option name="project" value="LOCAL" />
|
|
246
|
-
<updated>1636983717385</updated>
|
|
247
|
-
</task>
|
|
248
|
-
<task id="LOCAL-00002" summary="Fix getStyle in all reports">
|
|
249
|
-
<created>1637020728356</created>
|
|
250
|
-
<option name="number" value="00002" />
|
|
251
|
-
<option name="presentableId" value="LOCAL-00002" />
|
|
252
|
-
<option name="project" value="LOCAL" />
|
|
253
|
-
<updated>1637020728356</updated>
|
|
254
|
-
</task>
|
|
255
|
-
<task id="LOCAL-00003" summary="try catch on pdf addImage">
|
|
256
|
-
<created>1637247013210</created>
|
|
257
|
-
<option name="number" value="00003" />
|
|
258
|
-
<option name="presentableId" value="LOCAL-00003" />
|
|
259
|
-
<option name="project" value="LOCAL" />
|
|
260
|
-
<updated>1637247013211</updated>
|
|
261
|
-
</task>
|
|
262
|
-
<task id="LOCAL-00004" summary="Kms report grouped by day">
|
|
263
|
-
<created>1637715473148</created>
|
|
264
|
-
<option name="number" value="00004" />
|
|
265
|
-
<option name="presentableId" value="LOCAL-00004" />
|
|
266
|
-
<option name="project" value="LOCAL" />
|
|
267
|
-
<updated>1637715473149</updated>
|
|
268
|
-
</task>
|
|
269
|
-
<task id="LOCAL-00005" summary="Fix pdf logo">
|
|
270
|
-
<created>1637849206762</created>
|
|
271
|
-
<option name="number" value="00005" />
|
|
272
|
-
<option name="presentableId" value="LOCAL-00005" />
|
|
273
|
-
<option name="project" value="LOCAL" />
|
|
274
|
-
<updated>1637849206762</updated>
|
|
275
|
-
</task>
|
|
276
|
-
<task id="LOCAL-00006" summary="kms report with parallel requests">
|
|
277
|
-
<created>1637858604089</created>
|
|
278
|
-
<option name="number" value="00006" />
|
|
279
|
-
<option name="presentableId" value="LOCAL-00006" />
|
|
280
|
-
<option name="project" value="LOCAL" />
|
|
281
|
-
<updated>1637858604089</updated>
|
|
282
|
-
</task>
|
|
283
|
-
<task id="LOCAL-00007" summary="Kms Report - Calculate distance with traccar trips">
|
|
284
|
-
<created>1638179219255</created>
|
|
285
|
-
<option name="number" value="00007" />
|
|
286
|
-
<option name="presentableId" value="LOCAL-00007" />
|
|
287
|
-
<option name="project" value="LOCAL" />
|
|
288
|
-
<updated>1638179219256</updated>
|
|
289
|
-
</task>
|
|
290
|
-
<task id="LOCAL-00008" summary="fix speeding report">
|
|
291
|
-
<created>1638186780966</created>
|
|
292
|
-
<option name="number" value="00008" />
|
|
293
|
-
<option name="presentableId" value="LOCAL-00008" />
|
|
294
|
-
<option name="project" value="LOCAL" />
|
|
295
|
-
<updated>1638186780967</updated>
|
|
296
|
-
</task>
|
|
297
|
-
<task id="LOCAL-00009" summary="refactor speeding and trip report">
|
|
298
|
-
<created>1638288337133</created>
|
|
299
|
-
<option name="number" value="00009" />
|
|
300
|
-
<option name="presentableId" value="LOCAL-00009" />
|
|
301
|
-
<option name="project" value="LOCAL" />
|
|
302
|
-
<updated>1638288337135</updated>
|
|
303
|
-
</task>
|
|
304
|
-
<task id="LOCAL-00010" summary="Kms report with time period">
|
|
305
|
-
<created>1639057192380</created>
|
|
306
|
-
<option name="number" value="00010" />
|
|
307
|
-
<option name="presentableId" value="LOCAL-00010" />
|
|
308
|
-
<option name="project" value="LOCAL" />
|
|
309
|
-
<updated>1639057192382</updated>
|
|
310
|
-
</task>
|
|
311
|
-
<task id="LOCAL-00011" summary="kms report - show every selected day">
|
|
312
|
-
<created>1639139696407</created>
|
|
313
|
-
<option name="number" value="00011" />
|
|
314
|
-
<option name="presentableId" value="LOCAL-00011" />
|
|
315
|
-
<option name="project" value="LOCAL" />
|
|
316
|
-
<updated>1639139696408</updated>
|
|
317
|
-
</task>
|
|
318
|
-
<task id="LOCAL-00012" summary="speeding report with customSpeed">
|
|
319
|
-
<created>1639238286381</created>
|
|
320
|
-
<option name="number" value="00012" />
|
|
321
|
-
<option name="presentableId" value="LOCAL-00012" />
|
|
322
|
-
<option name="project" value="LOCAL" />
|
|
323
|
-
<updated>1639238286382</updated>
|
|
324
|
-
</task>
|
|
325
|
-
<task id="LOCAL-00013" summary="fix speeding report">
|
|
326
|
-
<created>1639248407781</created>
|
|
327
|
-
<option name="number" value="00013" />
|
|
328
|
-
<option name="presentableId" value="LOCAL-00013" />
|
|
329
|
-
<option name="project" value="LOCAL" />
|
|
330
|
-
<updated>1639248407782</updated>
|
|
331
|
-
</task>
|
|
332
|
-
<task id="LOCAL-00014" summary="Trip and activity report with time period">
|
|
333
|
-
<created>1639873766070</created>
|
|
334
|
-
<option name="number" value="00014" />
|
|
335
|
-
<option name="presentableId" value="LOCAL-00014" />
|
|
336
|
-
<option name="project" value="LOCAL" />
|
|
337
|
-
<updated>1639873766072</updated>
|
|
338
|
-
</task>
|
|
339
|
-
<task id="LOCAL-00015" summary="Fix trips distance because imported positions generate trips with 0 kms">
|
|
340
|
-
<created>1640000462824</created>
|
|
341
|
-
<option name="number" value="00015" />
|
|
342
|
-
<option name="presentableId" value="LOCAL-00015" />
|
|
343
|
-
<option name="project" value="LOCAL" />
|
|
344
|
-
<updated>1640000462825</updated>
|
|
345
|
-
</task>
|
|
346
|
-
<task id="LOCAL-00016" summary="Fix reports by driver">
|
|
347
|
-
<created>1640274171902</created>
|
|
348
|
-
<option name="number" value="00016" />
|
|
349
|
-
<option name="presentableId" value="LOCAL-00016" />
|
|
350
|
-
<option name="project" value="LOCAL" />
|
|
351
|
-
<updated>1640274171902</updated>
|
|
352
|
-
</task>
|
|
353
|
-
<task id="LOCAL-00017" summary="location report - check if it's running on client side">
|
|
354
|
-
<created>1640795243287</created>
|
|
355
|
-
<option name="number" value="00017" />
|
|
356
|
-
<option name="presentableId" value="LOCAL-00017" />
|
|
357
|
-
<option name="project" value="LOCAL" />
|
|
358
|
-
<updated>1640795243288</updated>
|
|
359
|
-
</task>
|
|
360
|
-
<task id="LOCAL-00018" summary="timezone - check if it's running on client side">
|
|
361
|
-
<created>1640825795052</created>
|
|
362
|
-
<option name="number" value="00018" />
|
|
363
|
-
<option name="presentableId" value="LOCAL-00018" />
|
|
364
|
-
<option name="project" value="LOCAL" />
|
|
365
|
-
<updated>1640825795053</updated>
|
|
366
|
-
</task>
|
|
367
|
-
<task id="LOCAL-00019" summary="calculate avg speed">
|
|
368
|
-
<created>1640867522437</created>
|
|
369
|
-
<option name="number" value="00019" />
|
|
370
|
-
<option name="presentableId" value="LOCAL-00019" />
|
|
371
|
-
<option name="project" value="LOCAL" />
|
|
372
|
-
<updated>1640867522438</updated>
|
|
373
|
-
</task>
|
|
374
|
-
<task id="LOCAL-00020" summary="fix activity report by driver">
|
|
375
|
-
<created>1640872780966</created>
|
|
376
|
-
<option name="number" value="00020" />
|
|
377
|
-
<option name="presentableId" value="LOCAL-00020" />
|
|
378
|
-
<option name="project" value="LOCAL" />
|
|
379
|
-
<updated>1640872780968</updated>
|
|
380
|
-
</task>
|
|
381
|
-
<task id="LOCAL-00021" summary="activity report by driver grouped by day">
|
|
382
|
-
<created>1640878664617</created>
|
|
383
|
-
<option name="number" value="00021" />
|
|
384
|
-
<option name="presentableId" value="LOCAL-00021" />
|
|
385
|
-
<option name="project" value="LOCAL" />
|
|
386
|
-
<updated>1640878664617</updated>
|
|
387
|
-
</task>
|
|
388
|
-
<task id="LOCAL-00022" summary="fix kms-report by driver and fix activity report with time period">
|
|
389
|
-
<created>1641348028566</created>
|
|
390
|
-
<option name="number" value="00022" />
|
|
391
|
-
<option name="presentableId" value="LOCAL-00022" />
|
|
392
|
-
<option name="project" value="LOCAL" />
|
|
393
|
-
<updated>1641348028566</updated>
|
|
394
|
-
</task>
|
|
395
|
-
<task id="LOCAL-00023" summary="Refactor trip and speeding reports">
|
|
396
|
-
<created>1641511586537</created>
|
|
397
|
-
<option name="number" value="00023" />
|
|
398
|
-
<option name="presentableId" value="LOCAL-00023" />
|
|
399
|
-
<option name="project" value="LOCAL" />
|
|
400
|
-
<updated>1641511586537</updated>
|
|
401
|
-
</task>
|
|
402
|
-
<task id="LOCAL-00024" summary="check if weekDays parameter is set">
|
|
403
|
-
<created>1641527800168</created>
|
|
404
|
-
<option name="number" value="00024" />
|
|
405
|
-
<option name="presentableId" value="LOCAL-00024" />
|
|
406
|
-
<option name="project" value="LOCAL" />
|
|
407
|
-
<updated>1641527800170</updated>
|
|
408
|
-
</task>
|
|
409
|
-
<task id="LOCAL-00025" summary="fix trip report">
|
|
410
|
-
<created>1641664506677</created>
|
|
411
|
-
<option name="number" value="00025" />
|
|
412
|
-
<option name="presentableId" value="LOCAL-00025" />
|
|
413
|
-
<option name="project" value="LOCAL" />
|
|
414
|
-
<updated>1641664506679</updated>
|
|
415
|
-
</task>
|
|
416
|
-
<task id="LOCAL-00026" summary="fix kms report by group">
|
|
417
|
-
<created>1641820626240</created>
|
|
418
|
-
<option name="number" value="00026" />
|
|
419
|
-
<option name="presentableId" value="LOCAL-00026" />
|
|
420
|
-
<option name="project" value="LOCAL" />
|
|
421
|
-
<updated>1641820626240</updated>
|
|
422
|
-
</task>
|
|
423
|
-
<task id="LOCAL-00027" summary="fix convert date to localeString">
|
|
424
|
-
<created>1641912050985</created>
|
|
425
|
-
<option name="number" value="00027" />
|
|
426
|
-
<option name="presentableId" value="LOCAL-00027" />
|
|
427
|
-
<option name="project" value="LOCAL" />
|
|
428
|
-
<updated>1641912050985</updated>
|
|
429
|
-
</task>
|
|
430
|
-
<task id="LOCAL-00028" summary="Fix activity and kms report by driver inside a time period">
|
|
431
|
-
<created>1641994017219</created>
|
|
432
|
-
<option name="number" value="00028" />
|
|
433
|
-
<option name="presentableId" value="LOCAL-00028" />
|
|
434
|
-
<option name="project" value="LOCAL" />
|
|
435
|
-
<updated>1641994017220</updated>
|
|
436
|
-
</task>
|
|
437
|
-
<task id="LOCAL-00029" summary="Add idle report">
|
|
438
|
-
<created>1642039915131</created>
|
|
439
|
-
<option name="number" value="00029" />
|
|
440
|
-
<option name="presentableId" value="LOCAL-00029" />
|
|
441
|
-
<option name="project" value="LOCAL" />
|
|
442
|
-
<updated>1642039915132</updated>
|
|
443
|
-
</task>
|
|
444
|
-
<task id="LOCAL-00030" summary="Add idle report">
|
|
445
|
-
<created>1642040031235</created>
|
|
446
|
-
<option name="number" value="00030" />
|
|
447
|
-
<option name="presentableId" value="LOCAL-00030" />
|
|
448
|
-
<option name="project" value="LOCAL" />
|
|
449
|
-
<updated>1642040031237</updated>
|
|
450
|
-
</task>
|
|
451
|
-
<task id="LOCAL-00031" summary="en translation">
|
|
452
|
-
<created>1642075797776</created>
|
|
453
|
-
<option name="number" value="00031" />
|
|
454
|
-
<option name="presentableId" value="LOCAL-00031" />
|
|
455
|
-
<option name="project" value="LOCAL" />
|
|
456
|
-
<updated>1642075797777</updated>
|
|
457
|
-
</task>
|
|
458
|
-
<option name="localTasksCounter" value="32" />
|
|
459
|
-
<servers />
|
|
460
|
-
</component>
|
|
461
|
-
<component name="TypeScriptGeneratedFilesManager">
|
|
462
|
-
<option name="version" value="3" />
|
|
463
|
-
</component>
|
|
464
|
-
<component name="Vcs.Log.History.Properties">
|
|
465
|
-
<option name="COLUMN_ID_ORDER">
|
|
466
|
-
<list>
|
|
467
|
-
<option value="Default.Root" />
|
|
468
|
-
<option value="Default.Author" />
|
|
469
|
-
<option value="Default.Date" />
|
|
470
|
-
<option value="Default.Subject" />
|
|
471
|
-
<option value="Space.CommitStatus" />
|
|
472
|
-
</list>
|
|
473
|
-
</option>
|
|
474
|
-
</component>
|
|
475
|
-
<component name="Vcs.Log.Tabs.Properties">
|
|
476
|
-
<option name="TAB_STATES">
|
|
477
|
-
<map>
|
|
478
|
-
<entry key="MAIN">
|
|
479
|
-
<value>
|
|
480
|
-
<State />
|
|
481
|
-
</value>
|
|
482
|
-
</entry>
|
|
483
|
-
</map>
|
|
484
|
-
</option>
|
|
485
|
-
<option name="oldMeFiltersMigrated" value="true" />
|
|
486
|
-
</component>
|
|
487
|
-
<component name="VcsManagerConfiguration">
|
|
488
|
-
<MESSAGE value="Fix pdf logo" />
|
|
489
|
-
<MESSAGE value="kms report with parallel requests" />
|
|
490
|
-
<MESSAGE value="Kms Report - Calculate distance with traccar trips" />
|
|
491
|
-
<MESSAGE value="refactor speeding and trip report" />
|
|
492
|
-
<MESSAGE value="Kms report with time period" />
|
|
493
|
-
<MESSAGE value="kms report - show every selected day" />
|
|
494
|
-
<MESSAGE value="speeding report with customSpeed" />
|
|
495
|
-
<MESSAGE value="fix speeding report" />
|
|
496
|
-
<MESSAGE value="Trip and activity report with time period" />
|
|
497
|
-
<MESSAGE value="Fix trips distance because imported positions generate trips with 0 kms" />
|
|
498
|
-
<MESSAGE value="Fix reports by driver" />
|
|
499
|
-
<MESSAGE value="location report - check if it's running on client side" />
|
|
500
|
-
<MESSAGE value="timezone - check if it's running on client side" />
|
|
501
|
-
<MESSAGE value="calculate avg speed" />
|
|
502
|
-
<MESSAGE value="fix activity report by driver" />
|
|
503
|
-
<MESSAGE value="activity report by driver grouped by day" />
|
|
504
|
-
<MESSAGE value="fix kms-report by driver and fix activity report with time period" />
|
|
505
|
-
<MESSAGE value="Refactor trip and speeding reports" />
|
|
506
|
-
<MESSAGE value="check if weekDays parameter is set" />
|
|
507
|
-
<MESSAGE value="fix trip report" />
|
|
508
|
-
<MESSAGE value="fix kms report by group" />
|
|
509
|
-
<MESSAGE value="fix convert date to localeString" />
|
|
510
|
-
<MESSAGE value="Fix activity and kms report by driver inside a time period" />
|
|
511
|
-
<MESSAGE value="Add idle report" />
|
|
512
|
-
<MESSAGE value="en translation" />
|
|
513
|
-
<option name="LAST_COMMIT_MESSAGE" value="en translation" />
|
|
514
|
-
</component>
|
|
515
|
-
</project>
|