@lone-cloud has kindly rewritten the FMD Server web UI in React, using Vite and TailwindCSS.
In addition to a nice modern UI, the new web frontend brings the following improvements:
- Light mode. And a setting to switch between theme modes.
- Ability to view the map in fullscreen.
- Ability to pass a message when locking the device (
fmd lock <message>).
- Setting to switch between metric and imperial units.
- The command list is much longer, making nearly all commands available in the web UI. The commands now also have a description.
- The UI now automatically refreshes the location shown on the map.
(Currently by polling after alocatecommand was sent. In the future maybe with WebSocket push.)
- If you select "Remember me" during login, the access token and the private keys will now be stored in the browser's local storage.
This means you don't need to log in again when you reload the page.
Other changes:
- Enable WAL (write-ahead-logging) in sqlite. (!159)
- Limit request body size to 15 MB. (!164)
- Reduce default MaxSavedLoc from 1000 to 500. (!170)