[1.12] JavaScript update - dynamic time formatting
You can now specify your preferred time format in the account settings! You can find screenshots and more information here: #7
Full Changelog: 1.11...1.12
Technical stuff
- Big feature: dynamic loading and listing of JS files on every page.
As an example, take a look at server-time-to-local.js. It formats the time into a specific format that the user can select on the /account or /update-account routes (settings page).
You can also add any number of JS files to /assets/js/ folder and they will all be loaded on every page (which at the same time is a limitation of this particular method).
Every JS file is embedded into a virtual file system and then served from there to the client in a separate request.
- Updated the Dockerfile to use more modern Go.
- Added pre-go-generated files, too.