Commit graph

23 commits

Author SHA1 Message Date
595d9528d5
Added dynamic SVG map marker. 2025-03-23 23:43:39 +01:00
53a9a2afeb
Support description for location points. 2025-03-23 20:23:26 +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
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
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
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
bb0da62ea0
A more robust logic to parse user roles on setRoles. 2025-03-06 23:55:49 +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
78fbf45bd6 Support for paginated results. 2025-02-24 00:28:59 +01:00
0a1e6fcf19 Advanced filters form + split Map component into functional mixins. 2025-02-23 20:43:03 +01:00
3cb0a371a6 Support more filters and sorting options on the backend. 2025-02-22 20:51:46 +01:00
5dfde74ccf Major bootstrap.
- Migrated frontend to Vue.

- Migrated frontend map to OL API.

- Extended environment variables.

- README.

- Country information/flag integration.

- Implemented generic db/repo.
2025-02-22 16:31:43 +01:00