Commit graph

8 commits

Author SHA1 Message Date
Marc Durdin
1b2c213658 chore(developer): disable upload for server except localhost
Fixes #6299.

Moved some of the init to test.js from packages.js. If not on localhost,
then the UI for upload is disabled -- note that backend for upload is
already disabled for non-localhost.

This is necessary to prevent non-local site users uploading arbitrary
files to the cache, which could lead to security bypass.
2022-02-28 15:44:26 +11:00
Marc Durdin
6228c87d60 chore(developer): cleanup from code review 2022-01-21 12:02:50 +11:00
Marc Durdin
86112cabf0 feat(developer): polish Keyman Developer Server
Not worth splitting all this polish into separate commits, I think...

1. Add frames for other device types
2. Reorganise menus including burger menu
3. Highlight button after upload to show where file is accessible
4. Fix cropped device frame images, scrolling
5. Improve device menu
6. Add Keyman Developer logo and watermark
7. Add status box with current keyboard, model and device
8. Cleanup z-indexing
9. Add About dialog
10. Add Help links
11. Report version in About dialog, title on logo hover
12. Ensure keyboard reloads after change
13. Support loading models over https
2022-01-19 11:06:23 +11:00
Marc Durdin
7b904969cb chore(developer): update icon and fix link 2021-12-23 07:25:07 +11:00
Marc Durdin
bfcdb5ac57 feat(developer): last-use and expire old resources 2021-12-22 14:48:24 +11:00
Marc Durdin
a858c5166c feat(developer): sentry integration into server
This also tidies up the mkver.sh script and adds the
replaceVersionStrings() function to build-utils.sh for use globally.
2021-12-22 11:16:33 +11:00
Marc Durdin
e35d4e83a6 chore(developer): polish web debug display on mobile 2021-12-22 09:33:34 +11:00
Marc Durdin
2c01b19f69 chore: cleanup
1. Renamed form UfrmNGrokOptions to UfrmServerOptions
2. Renamed kmdev-server to just plain server
3. Tidied up npm versioning to use VERSION_WITH_TAG

This last point should help avoid confusion as now only CI release
builds will ever generate a package.json with a.b.c, a.b.c-alpha or
a.b.c-beta. Local and test builds will always have the corresponding
-test or -local environment appended. This also helps avoid issues if
we accidentally publish an incorrect version.
2021-12-22 06:25:22 +11:00