Commit Graph

61 Commits

Author SHA1 Message Date
NI
fc9121e5c2 Don't clear the launcher string if the connection was not a success. 2019-08-15 14:53:08 +08:00
NI
929c3d4477 Add a delay inside the key verification process. 2019-08-14 17:25:00 +08:00
NI
104b3ea4de Don't save information about the travis environment (owner and group) into the generated tar.gz file. 2019-08-14 17:02:05 +08:00
NI
aa1ad8115d I messed up the css compression, now it been fixed. 2019-08-14 13:13:35 +08:00
NI
88d9a409bb Add the missing "less", and make the message easier to read. 2019-08-14 12:57:40 +08:00
NI
eaaef9ea28 Move imagemin-webpack-plugin to devDependencies, instead of dependencies 2019-08-14 12:45:18 +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
0c12aedbae Increase connection history record to 64 max. 2019-08-14 12:14:07 +08:00
NI
6ddcb00b24 Image compression has caused some issue in the busy.svg. The problem still waiting to be resolved, but I modified the image to ease the damage. 2019-08-14 12:09:54 +08:00
NI
3bb8ffe659 Save more data into sshwifty.png, to help the image compression. 2019-08-14 12:09:12 +08:00
NI
dee9a66800 Compress image, so the final binary data will be smaller, reduce memory usage in runtime. 2019-08-14 12:08:44 +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
65e35460df Typo, grammar error should be bug of the application. 2019-08-13 21:46:37 +08:00
NI
5e6a774bd8 Fixed typo Passpharse => Passphrase #2
Thanks for reporting.
2019-08-13 17:37:06 +08:00
NI
36ee034bcf Use ReadTimeout*0.8 as max heartBeatTimeout rather than ReadTimeout/2.
Heartbeat is usually returned very quickly, no need to force two heartbeat within one read timeout period.

User can change the configuration to bring back the setting if needed.
2019-08-13 10:55:48 +08:00
NI
9c051758a9 Add description about SSHWIFTY_DIALTIMEOUT env var 2019-08-13 10:51:51 +08:00
NI
8ad02ed2db Miliseconds => Milliseconds 2019-08-13 10:46:26 +08:00
NI
c6d4c78b8f Change package name so at least I don't get editor warning. 2019-08-13 10:45:42 +08:00
NI
0d5fa2e910 Typo fix, change secrects to secrets
https://www.reddit.com/r/golang/comments/cp8h41/hey_i_made_a_web_ssh_client_with_go_js_and_vue/ewpgog3?utm_source=share&utm_medium=web2x
2019-08-13 07:53:12 +08:00
NI
66446bedde Clearfy the unit of timeout settings in README.md 2019-08-12 23:53:32 +08:00
NI
f3336d61a0 Make DialTimeout configurable. 2019-08-12 23:50:24 +08:00
NI
db633f59bd Adjust maxTimeDiff to 30s, and change the time warning message. 2019-08-12 17:09:04 +08:00
NI
0d635e967b Change wording. 2019-08-12 15:21:56 +08:00
NI
0f1c6b99a1 Change wording. 2019-08-12 14:57:40 +08:00
NI
d4c297e9ca Remote connection failure should not effect host connection (Returning error will trigger the termination of the host connection) 2019-08-12 12:19:30 +08:00
NI
8d0ac9f559 Ask travis not to build unless it's tagged, and only build the tagged. 2019-08-12 11:22:21 +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
a6ad921ecd Change message text for red delay. 2019-08-12 11:05:28 +08:00
NI
9f5b2364c7 Added copy & paste hot key (Control+Shift+C / Control+Shift+V). Only work on supported web broswers. 2019-08-12 11:04:02 +08:00
NI
cb702baeb2 Fixed a bug: Don't remove "landing" twice. 2019-08-12 09:46:34 +08:00
NI
652d043c31 Fix .travis.yml 2019-08-11 18:33:49 +08:00
NI
5a82c1baf9 Add heroku.yml 2019-08-11 12:39:54 +08:00
NI
88122811d9 Formating, everything should be running as before. 2019-08-11 12:17:27 +08:00
NI
ee7a6a4703 Support SSHWIFTY_ENV_RENAMED: prefix. When the value of an environment variable is prefixed with SSHWIFTY_ENV_RENAMED:, read another environment variable. For example: if SSHWIFTY_LISTENPORT = SSHWIFTY_ENV_RENAMED:PORT, the final value will be read from $PORT.
This is useful if the application is running on a cloud platform which force application to use their environment variables.
2019-08-11 12:12:44 +08:00
NI
2f670d625a Better value calculation, prevents the zero HeartbeatTimeout problem. 2019-08-10 15:41:22 +08:00
NI
6b524593b6 Add Dockerfile. 2019-08-10 15:26:04 +08:00
NI
8a9a483dd6 Add Direct configuration loader 2019-08-10 15:02:57 +08:00
NI
fa48b6aa34 Better message 2019-08-10 15:01:11 +08:00
NI
4f0d899346 Calculate HeartbeatTimeout configuration in the right way. 2019-08-10 14:54:18 +08:00
NI
28df57b3d7 Add .dockerignore, I'm still testing Dockerfile, it take awhile because my Internet is not that good (Otherwise, why do I pay my time to build Sshwifty? :)). 2019-08-09 20:15:49 +08:00
NI
748927cb27 Name of the deploy package should include version number, so it will. 2019-08-09 20:14:27 +08:00
NI
2f5d7f9fbe Change wording 2019-08-09 20:14:10 +08:00
NI
6c3e681d8b Bootup message between HTTP and HTTPS server are now different. One will display "Serving", other one will display "Serving TLS" 2019-08-09 16:27:16 +08:00
NI
5e9e308d8a Fixed a bug causing .WithDefault to reset settings: I forgot to assign values. 2019-08-09 16:25:56 +08:00
NI
508f5faebf Ask Travis to also include sshwifty.conf.example.json to the final build packages (.tar.gz files), so user don't have to look around for config files. 2019-08-09 09:48:48 +08:00
NI
50f1869548 Add Travis CI badge. 2019-08-09 08:48:19 +08:00
NI
f140390e42 Travis should printout the hash of files which generated during building. This way we can verify whether or not the deployed file is actually generated by Travis CI. 2019-08-09 08:44:35 +08:00
NI
0fd02a3e42 Add fixed .travis.yml 2019-08-09 08:27:45 +08:00
NI
8070ef5cba Change wording. 2019-08-08 21:26:05 +08:00
NI
4e1371ee94 Replace favicons-webpack-plugin to webapp-webpack-plugin 2019-08-08 13:25:10 +08:00