Tweaks to showing new version available

- Added frontend translation for english
- Moved frontend api logic to hook and backend api space
- Added swagger schema for the new api endpoint
- Moved backend logic to its own internal file
- Added user agent header to github api check
- Added cypress integration test for version check api
- Added a memory cache item from github check to avoid hitting it too
  much
This commit is contained in:
Jamie Curnow committed 2025-11-13 11:20:31 +10:00
1 parent 8838dabe8a
commit cf7306e766
15 files changed
+200 -95

No files matched your search

+1
View File
@@ -197,6 +197,7 @@
"streams.tcp": "TCP",
"streams.udp": "UDP",
"test": "Test",
"update-available": "Update Available: {latestVersion}",
"user": "User",
"user.change-password": "Change Password",
"user.confirm-password": "Confirm Password",
+3
View File
@@ -593,6 +593,9 @@
"test": {
"defaultMessage": "Test"
},
"update-available": {
"defaultMessage": "Update Available: {latestVersion}"
},
"user": {
"defaultMessage": "User"
},