Commit graph

98 commits

Author SHA1 Message Date
9ac36dec3e Use vite-plugin-pwa to initialize the PWA 2025-03-31 13:44:34 +02:00
62be99a5b0 The pwabuilder-sw.js script should be in the root level of the domain 2025-03-31 12:26:29 +02:00
5af6ab1045
Added PWA builder 2025-03-31 12:24:10 +02:00
e629584830
Fixed thin mobile font.
The `Inter` default font-family makes fonts look thin and barely legible
on mobile.
2025-03-31 12:12:26 +02:00
55f429ccb0
Added speed information to PointInfo, if available 2025-03-31 12:05:59 +02:00
d3abc352aa
Refresh the map after the point resolution has been changed 2025-03-31 12:05:09 +02:00
b517e5463d
Added accuracy info to map 2025-03-31 11:04:55 +02:00
3eaf721ffd
Added battery info to frontend 2025-03-30 22:10:01 +02:00
aca1aeead4
[UI] Show battery level on PointInfo component 2025-03-30 16:18:44 +02:00
da9ce2fd73
Added battery+accuracy+speed columns to location history 2025-03-30 16:03:19 +02:00
23942224d4
Added asc/desc sort toggle in the filter form 2025-03-30 14:26:28 +02:00
76a01f9f47
Fixed type errors and warnings 2025-03-30 12:15:12 +02:00
6b7e984817
Moved pagination management to Timeline component 2025-03-30 12:01:10 +02:00
282828df0b
Several UI improvements and features.
- Added support for filtering location data in a certain area.

- Made date range selection optional.

- A more robust way to detect changes in the location filter.

- Let the timeline graph set the default time ticks.
2025-03-29 23:53:49 +01:00
35821dbccd
 Fixed type errors 2025-03-26 22:23:46 +01:00
a319e1517c
Increased default number of location points returned on /gpsdata.
250 -> 500
2025-03-26 22:16:11 +01:00
41a659be66
󰏘 Changed altitude icon in timeline.
This is to be consistent with the icon displayed in the `PointInfo` modal.
2025-03-26 22:12:58 +01:00
6ad0c424ff
󰏘 Applied application style to OSM elements 2025-03-26 22:12:02 +01:00
1607b4993e
 Fixed potential null reference 2025-03-26 22:11:31 +01:00
87f1da7688
 Support filtering points by deviceId on the UI.
Also, display the broadcasting device when clicking on a point on the map.
2025-03-26 22:10:29 +01:00
70ba053016
 Support filtering location points by deviceId 2025-03-26 22:08:37 +01:00
71b954d51d
Added HTTP request files to gitignore 2025-03-26 22:08:05 +01:00
6e692ecb62
Fixed login/logout glitches 2025-03-25 18:03:36 +01:00
c80a953890
Merge pull request from blacklight/dependabot/npm_and_yarn/frontend/npm_and_yarn-6507dfe0dd
Bump the npm_and_yarn group across 1 directory with 2 updates
2025-03-25 12:08:54 +01:00
dependabot[bot]
b2a9e9dbcb
Bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the /frontend directory: [esbuild](https://github.com/evanw/esbuild) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `esbuild` from 0.24.2 to 0.25.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.24.2...v0.25.1)

Updates `vite` from 6.1.1 to 6.2.3
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.3/packages/vite)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-25 11:08:10 +00:00
954d7cc1fa
Create dependabot.yml 2025-03-25 12:07:43 +01:00
c6d1aef24a
Restrict GET /gpsdata to location history points associated to devices owned by the current user. 2025-03-24 01:59:55 +01:00
fe336be258
 Added foreign key definitions to Sequelize models.
We need the constraints to be explicitly defined on the table
definitions too, otherwise JOINs won't work.
2025-03-24 01:57:55 +01:00
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