Commit Graph

33 Commits

Author SHA1 Message Date
NI
b87d5437e5 Send OPTIONS request to the WebSockets interface once per Timeout interval. This allows some deployment environment to correctly detect the status of the application 2021-04-29 14:02:52 +08:00
NI
5434ab03b2 Bump copyright date to 2021 2021-03-02 21:32:54 +08:00
NI
c6683b1311 Change the authentication workflow. This will allow Sshwifty to run on a multi-node autobalanced cluster. After deploy this version, users might have to reload the frontend page before continue using Sshwifty. 2021-03-02 20:54:58 +08:00
NI
706eb93150 Deploy the GitHub username change 2020-08-26 11:08:58 +08:00
NI
13542949c2 Make application/controller/static.go the source code generate trigger instead of application/controller/static_pages.go 2020-07-18 18:33:48 +08:00
NI
15497da408 Reformat static_page_generater/main.go 2020-07-16 09:50:19 +08:00
NI
c2da4491b0 Stop gzip more file types: Text, MD 2020-07-16 09:34:32 +08:00
NI
d8a599baf9 Separate invalid key and unmatched key error 2020-04-06 18:55:20 +08:00
NI
1009cd4284 Use a better method to reload command presets 2020-03-12 21:19:20 +08:00
NI
67c99e3092 Implemented the host name auto suggestion, and added Preset feature 2020-02-07 21:34:16 +08:00
NI
edc6aeab92 Stop gzipping image/*. They will be fully compressed by a image compresser 2019-12-30 18:41:51 +08:00
NI
b5ebe6759c Update copyright date to 2020. Happy new year! 2019-12-29 14:11:54 +08:00
NI
a5696d6b63 Don't gzip woff files, as they usually already compressed 2019-12-13 14:33:47 +08:00
NI
d3c569f68d Make browserconfig.xml to be root-url accessible (Can be accessed through /browserconfig.xml). 2019-12-08 17:00:03 +08:00
NI
2356a7c155 Change static assets and websocket interface to /sshwifty/assets and /sshwifty/socket. This should allow user to map Sshwifty to a subdirectory behind a reverse proxy 2019-12-06 19:05:36 +08:00
NI
4d0b689a7d Two changes to the static file generater: 1) It now imports source file data as literal string, saves runtime conversion cost; 2) image/x-icon will no longer be compressed 2019-10-18 22:33:42 +08:00
NI
da7f06f01b Adjust favicon a bit more 2019-10-01 16:44:58 +08:00
NI
128d24d92d Add the one missing blank line 2019-09-24 22:47:13 +08:00
NI
6349d1ede5 Fixed a bug: That 4096 bytes can all be used to buffer a AES-GCM block 2019-09-20 22:07:09 +08:00
NI
6aa585c228 Use more accurate size to verify payload length 2019-09-19 14:48:19 +08:00
NI
d03ab083d7 Statically save Content-Type in generated files as well. 2019-09-13 14:21:24 +08:00
NI
8fe5d677ec Add error.html 2019-08-27 17:24:37 +08:00
NI
6cfc5b0e07 Better HTTP caching 2019-08-27 15:43:38 +08:00
NI
0becf0d7fc Rename CommandConfiguration to Configuration 2019-08-19 21:34:25 +08:00
NI
929c3d4477 Add a delay inside the key verification process. 2019-08-14 17:25:00 +08:00
NI
1c3527a67a Memory usage should be reduced even a bit more, as unused buffer space is now been cut off of decoded static data. 2019-08-14 12:34:22 +08:00
NI
e6c68194ad Change cipherRWBufferSize to match the one on the client, so we don't run cipher that often (Adds overhead). 2019-08-14 08:15:01 +08:00
NI
f3336d61a0 Make DialTimeout configurable. 2019-08-12 23:50:24 +08:00
NI
639af4dba2 Use 128 bit key rather than 192 bit. Because Chrome says it don't support 192 bit AES key. 2019-08-12 11:05:53 +08:00
NI
ebd6a7ad66 Add warning description about the AES-GCM cipher. 2019-08-07 19:17:56 +08:00
NI
7f4cf7bef5 Remove files generated by go generate.
User should generate those files by thenselves during build proccess.
2019-08-07 16:39:21 +08:00
NI
122587c4bd Change word DEPENDENCES to DEPENDENCIES.
See? This is something would happen if you staring at a file that you created like a month ago and start to think "Hey, I wonder whether or not this is a valid English word"
2019-08-07 16:23:13 +08:00
NI
02f14eb14f Initial commit 2019-08-07 15:56:51 +08:00