773 Commits

Author SHA1 Message Date
Jianhui Zhao 79f88f5671 chore: remove redundant code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-10-12 04:14:21 +00:00
Jianhui Zhao 21a1a7081b feat: it's configurable whether log caller
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-27 23:43:04 +08:00
Jianhui Zhao cc5e8b7896 fix: panic: send on closed channel
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-22 11:58:41 +00:00
Jianhui Zhao 45486898f8 chore: bump version 4.0.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-22 09:36:49 +00:00
Jianhui Zhao de28788e42 fix: panic: send on closed channel
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-22 05:47:30 +00:00
Jianhui Zhao 289f4a1979 perf: ui: rewrite with view-design and fix some bug
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-22 03:27:20 +00:00
Jianhui Zhao 342bd9d37e chore: improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-20 00:00:09 +08:00
Jianhui Zhao 33ed98e253 perf: improve http proxy
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-19 23:40:09 +08:00
Jianhui Zhao 9141dd3ab3 perf: Write file data to local while transferring
Before, the download was started after all file data were sent from the device to the browser.
Now, the download starts when the file data begins to transfer.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-19 03:27:32 +08:00
Jianhui Zhao 6f4b25159c perf: Use flow control
For more details please refer to: https://xtermjs.org/docs/guides/flowcontrol/

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-17 01:39:37 +08:00
Jianhui Zhao e26337f3ea chore: improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-16 11:53:15 +00:00
Jianhui Zhao a690e3a54a feat: upload/download file support per tty
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-16 10:44:47 +00:00
Jianhui Zhao d00831af35 perf: improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-16 16:56:09 +08:00
Jianhui Zhao 80885c6165 docs: update
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-15 14:28:49 +00:00
Jianhui Zhao a58a798090 chore: database source default to "sqlite3://rttys.db"
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-15 14:24:47 +00:00
Jianhui Zhao c9eb0af81c ci: only build linux amd64
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-15 14:21:19 +00:00
Jianhui Zhao 59b1d337da refactor: Match the protocol version between rtty and rttys
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-15 08:31:47 +00:00
Jianhui Zhao fa2cbd14b1 refactor: change the login process to improve stability
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-15 06:46:54 +00:00
Jianhui Zhao b860073afc chore: bump version 3.7.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-15 06:21:17 +00:00
Jianhui Zhao 2291340776 perf: gzip ui asserts
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-14 16:01:55 +00:00
Jianhui Zhao 29a925d4a9 chore: improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-11 02:13:32 +08:00
Jianhui Zhao f7813ce574 perf: improve write message to device
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-09 15:13:23 +00:00
Jianhui Zhao 86ad5e5a1b fix: Msgf call has arguments but no formatting directives
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-09 15:06:08 +00:00
Jianhui Zhao 54359e99e0 chore: improve code style
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-09 14:47:22 +00:00
Jianhui Zhao 2fc4c7796b chore: improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-08 12:26:20 +00:00
Jianhui Zhao 187b9e36ad chore: update all go modules to latest
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-08 11:52:41 +00:00
Jianhui Zhao 1541bdc9e6 chore: use go 1.17
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-08 11:43:42 +00:00
Jianhui Zhao d18dfb16ab chore: remove .travis.yml
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-08 11:36:57 +00:00
Jianhui Zhao c857cc305b chore: rename go module to rttys
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-08 10:33:47 +00:00
Jianhui Zhao a0c4f76dcb perf: disconnect early when an invalid message was received
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-08 10:11:58 +00:00
Jianhui Zhao c4a64067b6 chore: change config comment
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-08 09:36:07 +00:00
Jianhui Zhao deb5377437 chore: rename frontend to ui
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-08 09:34:29 +00:00
dependabot[bot] ba8dd6e1f9 build(deps): bump path-parse from 1.0.6 to 1.0.7 in /frontend (#90)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-17 11:36:17 +08:00
dependabot[bot] 5cc96bd664 build(deps): bump dns-packet from 1.3.1 to 1.3.4 in /frontend (#82)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-29 13:45:38 +08:00
dependabot[bot] 386652802d build(deps): bump ws from 6.2.1 to 6.2.2 in /frontend (#84)
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-29 13:45:29 +08:00
dependabot[bot] d5067096e8 build(deps): bump github.com/gin-gonic/gin from 1.5.0 to 1.7.0 (#89)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.5.0 to 1.7.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.5.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-29 13:45:19 +08:00
dependabot[bot] 664da3f8fe build(deps): bump postcss from 7.0.35 to 7.0.36 in /frontend (#85)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-29 13:45:04 +08:00
jiajian0611 9527ae775c Adjust the database configuration format of the configuration file to support the selection of MySQL and SQLite3. (#88)
Signed-off-by: zhou_jiajian <zhou_0611@163.com>
2021-07-29 13:44:01 +08:00
Jianhui Zhao 90990613f0 chore: Bump version 3.6.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-28 21:21:06 +08:00
Jianhui Zhao e7e74254e4 feat: support delete offline devices
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-28 21:19:06 +08:00
Jianhui Zhao 0c86278ce0 perf: Clarer logs
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-24 23:40:57 +08:00
Jianhui Zhao 7c6ec42d66 fix: previous device was removed due to a ID conflict
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-23 19:28:41 +08:00
Jianhui Zhao af7e60fdad ci: fix get version
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-22 00:10:25 +08:00
dependabot[bot] 4a0eb3d7e3 build(deps): bump lodash from 4.17.19 to 4.17.21 in /frontend (#80)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-21 23:45:49 +08:00
dependabot[bot] 4ec2c73a73 build(deps): bump ssri from 6.0.1 to 6.0.2 in /frontend (#79)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-21 23:45:40 +08:00
dependabot[bot] 7a6f373da7 build(deps): bump y18n from 4.0.0 to 4.0.1 in /frontend (#77)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-21 23:45:31 +08:00
Jianhui Zhao 4755008fb7 ci: use marvinpinto/action-automatic-releases
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-21 23:43:09 +08:00
Jianhui Zhao 51adecf540 chore: clarer logs
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-21 22:13:00 +08:00
Jianhui Zhao ffecc1e545 Merge branch 'admin'
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-02 19:08:03 +08:00
Jianhui Zhao 7bc0542dea feat: device management
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-02 19:01:46 +08:00