Commit Graph

506 Commits

Author SHA1 Message Date
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
Jianhui Zhao be1f20f2ce improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-02 18:51:07 +08:00
Jianhui Zhao 2124254952 database: use mysql
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-02 17:29:37 +08:00
Jianhui Zhao 091a5ba714 frontend: fix title in Sign up
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-02 17:16:19 +08:00
Jianhui Zhao 048ff5d04d style: fix
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-05-02 15:47:06 +08:00
Jianhui Zhao 5ba6a85222 fix: Sample configuration
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-04-27 22:39:24 +08:00
Jianhui Zhao 51d13a1686 fix: remove unused command line param
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-04-27 22:38:40 +08:00
Jianhui Zhao 50126dd78e feat: auto select an available port for web proxy
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-04-27 22:35:18 +08:00
Jianhui Zhao 42b9ab9523 improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-04-24 18:22:18 +08:00
Jianhui Zhao bd59b3c1d7 other: improve login
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-04-16 12:13:51 +08:00
dependabot[bot] 5c74de338d build(deps): bump elliptic from 6.5.3 to 6.5.4 in /frontend (#75)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 17:34:30 +08:00
Jianhui Zhao 7fed1bbdcd Improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-02-28 20:40:27 +08:00
Jianhui Zhao b5ecca7b7e feat: Local authentication is configurable
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-02-28 20:36:06 +08:00
Jianhui Zhao 2a08cb5a8f feat: store font size in database
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-02-28 20:30:43 +08:00
Jianhui Zhao 28305360dc fix: set/get font size of terminal
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-02-28 20:22:29 +08:00
Jianhui Zhao aae2651207 Merge branch 'master' of https://gitee.com/zhaojh329/rttys 2021-02-27 23:16:38 +08:00
Jianhui Zhao 1324911b10 fix: sign out
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-02-27 23:15:34 +08:00
Jianhui Zhao dd3fb3e9a7 feat: support user sign up
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-02-27 22:53:39 +08:00