Merge branch 'develop'

pull/142/MERGE v1.9.0
13621160019@163.com 2022-04-16 20:17:36 +08:00
commit 47d43c6792
9 changed files with 1827 additions and 1932 deletions

View File

@ -5,12 +5,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [Unreleased]
### Added ### Added
- None.
### Changed
- None.
### Fixed
- None.
### Removed
- None.
## [v1.9.0] - 2022-04-16
### Added
- added myems_production_db to database. - added myems_production_db to database.
- added column to `myems_production_db`.`tbl_teams` in database. - added column to `myems_production_db`.`tbl_teams` in database.
- added instruction for running myems-api with waitress on Windows. - added instruction for running myems-api with waitress on Windows.
- added nano to Dockfile. - added nano to Dockfile.
- added telnet to Dockerfile. - added telnet to Dockerfile.
-
### Changed ### Changed
- renamed folder admin to myems-admin, and folder web to myems-web. - renamed folder admin to myems-admin, and folder web to myems-web.
@ -786,7 +798,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Removed ### Removed
- None. - None.
[Unreleased]: https://github.com/MyEMS/myems/compare/v1.8.2...HEAD [Unreleased]: https://github.com/MyEMS/myems/compare/v1.9.0...HEAD
[v1.9.0]: https://github.com/MyEMS/myems/compare/v1.8.2...v1.9.0
[v1.8.2]: https://github.com/MyEMS/myems/compare/v1.8.1...v1.8.2 [v1.8.2]: https://github.com/MyEMS/myems/compare/v1.8.1...v1.8.2
[v1.8.1]: https://github.com/MyEMS/myems/compare/v1.8.0...v1.8.1 [v1.8.1]: https://github.com/MyEMS/myems/compare/v1.8.0...v1.8.1
[v1.8.0]: https://github.com/MyEMS/myems/compare/v1.7.2...v1.8.0 [v1.8.0]: https://github.com/MyEMS/myems/compare/v1.7.2...v1.8.0

View File

@ -1248,6 +1248,6 @@ USE `myems_system_db`;
INSERT INTO `myems_system_db`.`tbl_versions` INSERT INTO `myems_system_db`.`tbl_versions`
(`id`, `version`, `release_date`) (`id`, `version`, `release_date`)
VALUES VALUES
(1, '1.9.0', '2022-03-28'); (1, '1.9.0', '2022-04-16');
COMMIT; COMMIT;

View File

@ -72,6 +72,6 @@ CREATE INDEX `tbl_teams_index_1` ON `myems_production_db`.`tbl_teams` (`name`
-- UPDATE VERSION NUMBER -- UPDATE VERSION NUMBER
USE `myems_system_db` ; USE `myems_system_db` ;
UPDATE `myems_system_db`.`tbl_versions` SET version='1.9.0', release_date='2022-03-28' WHERE id=1; UPDATE `myems_system_db`.`tbl_versions` SET version='1.9.0', release_date='2022-04-16' WHERE id=1;
COMMIT; COMMIT;

View File

@ -1,5 +1,5 @@
<div class="footer-login"> <div class="footer-login">
<div> <div>
<strong>{{'MY_EMS_NAME' | translate}} v1.8.2 <a href="https://myems.io">https://myems.io</a> </strong> <strong>{{'MY_EMS_NAME' | translate}} v1.9.0 <a href="https://myems.io">https://myems.io</a> </strong>
</div> </div>
</div> </div>

View File

@ -3,6 +3,6 @@
<strong><a href="https://myems.io">https://myems.io</a></strong> <strong><a href="https://myems.io">https://myems.io</a></strong>
</div> </div>
<div> <div>
<strong>{{'MY_EMS_NAME' | translate}} v1.8.2</strong> <strong>{{'MY_EMS_NAME' | translate}} v1.9.0</strong>
</div> </div>
</div> </div>

View File

@ -15,8 +15,8 @@ class VersionItem:
@staticmethod @staticmethod
def on_get(req, resp): def on_get(req, resp):
result = {"version": 'MyEMS v1.8.2', result = {"version": 'MyEMS v1.9.0',
"release-date": '2022-03-16', "release-date": '2022-04-16',
"website": "https://myems.io"} "website": "https://myems.io"}
resp.text = json.dumps(result) resp.text = json.dumps(result)

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "myems", "name": "myems",
"version": "1.8.2", "version": "1.9.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^5.15.1", "@fortawesome/fontawesome-free": "^5.15.1",

View File

@ -1,4 +1,4 @@
export const version = '1.8.2'; export const version = '1.9.0';
export const navbarBreakPoint = 'xl'; // Vertical navbar breakpoint export const navbarBreakPoint = 'xl'; // Vertical navbar breakpoint
export const topNavbarBreakpoint = 'lg'; export const topNavbarBreakpoint = 'lg';
//export const APIBaseURL = 'http://127.0.0.1:8000'; //export const APIBaseURL = 'http://127.0.0.1:8000';