Commit graph

70 commits

Author SHA1 Message Date
3e88272277
Always add error stack when an endpoint fails. 2025-03-24 01:41:46 +01:00
21a6ffb717
Added TOC to README 2025-03-24 00:59:18 +01:00
7516ac97f5
Extended README 2025-03-24 00:56:45 +01:00
aa26b3751b
 New README screenshot 2025-03-24 00:10:55 +01:00
42840236b0
 Fixed two type errors. 2025-03-23 23:51:40 +01:00
d49f8ec013
Fixed preRequestHandler route setup.
The map is a static object defined on the root `Route` class.

This means that any changes made by its derived classes (e.g. by
specifying the `@authenticate` annotation on some methods) will impact
the object for all the other derived classes too.

To prevent clashes, the structure of the map has been changed from:

```
method -> preRequestHandler
```

to:

```
RouteClass.name -> method -> preRequestHandler
```
2025-03-23 23:44:20 +01:00
595d9528d5
Added dynamic SVG map marker. 2025-03-23 23:43:39 +01:00
2f51d3843c
 Set favicon 2025-03-23 23:41:43 +01:00
53a9a2afeb
Support description for location points. 2025-03-23 20:23:26 +01:00
eb9e6abd22
Simplified and better documented .env.example options. 2025-03-10 18:57:49 +01:00
89d2e83298
Fixed Typescript errors 2025-03-10 02:33:16 +01:00
b5b1e03e35
UI for removing points 2025-03-10 02:26:33 +01:00
2dd3a54a8a
Increased API body size to 10MB. 2025-03-10 01:34:27 +01:00
0d7e199e37
Added POST/DELETE /gpsdata endpoints.
Also, added deviceId to location_history table.
2025-03-10 01:33:33 +01:00
dced03fd5a
Fixed migration file for Postgres 2025-03-10 01:31:40 +01:00
95925b0289
Added support for API tokens. 2025-03-09 14:04:41 +01:00
5f39251acc
Fixed Typescript build errors. 2025-03-09 11:13:20 +01:00
7e6ac7583d
Frontend support for user devices. 2025-03-09 10:59:39 +01:00
3d01aed1c5
Backend support for user devices. 2025-03-09 10:58:40 +01:00
4d7f60236f
Added unique constraints to db schema. 2025-03-09 10:57:16 +01:00
0e5a08cc49
Split common.scss into multiple style files. 2025-03-09 10:56:09 +01:00
ac327e2d4c
 Extracted Header component from main App view 2025-03-08 01:29:14 +01:00
703b12428b
 Added support for dropdowns 2025-03-08 01:28:18 +01:00
ecbe472acc
 Handle onUpdate/onDelete cascade constraints 2025-03-08 01:28:02 +01:00
e9f4a78784
A more robust way to detect umzug migration files via glob. 2025-03-07 22:49:08 +01:00
eb4e92c53c
[Dockerfile] Cleanup dev dependencies after build 2025-03-07 22:48:28 +01:00
2dd6c9f6b4
Moved db and migrations management to umzug. 2025-03-07 22:07:59 +01:00
55083bb1b3
Simplify return payload of /auth.
Return only `.token` instead of `.session.token`.
2025-03-07 01:50:56 +01:00
a837ae06bd
Added Docker support. 2025-03-07 00:19:45 +01:00
bb0da62ea0
A more robust logic to parse user roles on setRoles. 2025-03-06 23:55:49 +01:00
06566f504b
Added Remember me checkbox on login page. 2025-03-06 23:55:27 +01:00
1e1da54087
Always clear cookies on logout / auth failure. 2025-03-06 23:53:46 +01:00
61f2cde690
Sync db tables before initializing the constraints. 2025-03-06 23:51:12 +01:00
9c5db733fd
Apply default value for location_history table. 2025-03-06 23:50:43 +01:00
99de342af3
Support for users and authentication [frontend]. 2025-03-06 00:42:54 +01:00
c4e0c67e34
Support for users and authentication [backend]. 2025-03-04 21:29:05 +01:00
533ebe960f
Refactored backend.
- Add versioning to API endpoints.
- Refactored $db and $repos as global variables.
- Extracted routes into separate components with deferred registration.
- Support for a different db URL for location data than the one used by
  the application.
- Added sqlite and passport dependencies (passport will soon be used to
  handle authentication).
2025-03-01 11:45:13 +01:00
f349b2c5be
Added separate Makefile for frontend 2025-02-28 02:26:55 +01:00
1d8d748a0a
Split Makefile tasks into backend and frontend 2025-02-28 01:56:20 +01:00
962858c053
apk add make to the Docker image used for the build. 2025-02-28 01:45:39 +01:00
bba4055774
Fixed build execution in Makefile 2025-02-28 01:44:53 +01:00
56f8557d15
[CI/CD] Added build step. 2025-02-28 01:39:02 +01:00
0703c7ac40
Fixed tsc type error. 2025-02-28 01:28:28 +01:00
fa313c8f53
Made points resolution configurable. 2025-02-28 01:16:34 +01:00
37d518a177
Added build state to README 2025-02-28 00:29:48 +01:00
704f4f09d6
Added LICENSE 2025-02-28 00:17:37 +01:00
86a27a07e0
Added Drone CI/CD pipelines (for Github sync) 2025-02-28 00:17:08 +01:00
e68fd8303c
Fixed yAxisID for altitude. 2025-02-27 23:57:54 +01:00
2e6f1b9d53
Round up altitude on PointInfo. 2025-02-27 23:49:32 +01:00
ffa2b6e5a6
Support for distance and speed metrics on the timeline. 2025-02-27 23:03:11 +01:00