updated version number to v1.3.3

pull/77/MERGE
13621160019@163.com 2021-10-30 16:11:12 +08:00
parent 0d2da7535f
commit 70151b020f
10 changed files with 9532 additions and 9094 deletions

View File

@ -16,6 +16,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Removed ### Removed
- None. - None.
## [v1.3.3] - 2021-10-30
### Added
- added missing rule_id in myems_fdd_db.
### Changed
- updated package.json in web ui
- updated README and database test procedure
- added validation of offline meter hourly values to myems-normalization service
- updated offline meter data template file
- added new period type 'weekly' to meterenergy and aggregate_hourly_data_by_period in API
- updated comments in aggregate_hourly_data_by_period of API
- updated myems-api installation.
### Fixed
- fixed NoneType error in myems-cleaning service
- fixed warnings in myems-aggregation service
- fixed detailed data sort issues in Web UI
### Removed
- removed duplicate entry in i18n of Web UI
- removed unused import from API.
## [v1.3.2] - 2021-10-22 ## [v1.3.2] - 2021-10-22
### Added ### Added
- added associated equipments data to combinedequipmentefficiency report. - added associated equipments data to combinedequipmentefficiency report.
@ -504,7 +526,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.3.2...HEAD [Unreleased]: https://github.com/MyEMS/myems/compare/v1.3.3...HEAD
[v1.3.3]: https://github.com/MyEMS/myems/compare/v1.3.2...v1.3.3
[v1.3.2]: https://github.com/MyEMS/myems/compare/v1.3.1...v1.3.2 [v1.3.2]: https://github.com/MyEMS/myems/compare/v1.3.1...v1.3.2
[v1.3.1]: https://github.com/MyEMS/myems/compare/v1.3.0...v1.3.1 [v1.3.1]: https://github.com/MyEMS/myems/compare/v1.3.0...v1.3.1
[v1.3.0]: https://github.com/MyEMS/myems/compare/v1.2.3...v1.3.0 [v1.3.0]: https://github.com/MyEMS/myems/compare/v1.2.3...v1.3.0

View File

@ -1,5 +1,5 @@
<div class="footer-login"> <div class="footer-login">
<div> <div>
<strong>{{'MY_EMS_NAME' | translate}} v1.3.2 <a href="https://myems.io">https://myems.io</a> </strong> <strong>{{'MY_EMS_NAME' | translate}} v1.3.3 <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.3.2</strong> <strong>{{'MY_EMS_NAME' | translate}} v1.3.3</strong>
</div> </div>
</div> </div>

View File

@ -1243,6 +1243,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.3.2', '2021-10-22'); (1, '1.3.3', '2021-10-30');
COMMIT; COMMIT;

View File

@ -7,4 +7,4 @@ ALTER TABLE myems_fdd_db.tbl_wechat_messages_outbox ADD rule_id BIGINT NOT NULL
-- UPDATE VERSION NUMBER -- UPDATE VERSION NUMBER
UPDATE myems_system_db.tbl_versions SET version='1.3.3', release_date='2021-10-29' WHERE id=1; UPDATE myems_system_db.tbl_versions SET version='1.3.3', release_date='2021-10-30' WHERE id=1;

View File

@ -15,8 +15,8 @@ class VersionItem:
@staticmethod @staticmethod
def on_get(req, resp): def on_get(req, resp):
result = {"version": 'MyEMS v1.3.2', result = {"version": 'MyEMS v1.3.3',
"release-date": '2021-10-22', "release-date": '2021-10-30',
"website": "https://myems.io"} "website": "https://myems.io"}
resp.body = json.dumps(result) resp.body = json.dumps(result)

2
web/README.md vendored
View File

@ -29,7 +29,7 @@ npx -v
* Download all the necessary dependencies into the node_modules directory. * Download all the necessary dependencies into the node_modules directory.
```bash ```bash
cd myems/web cd myems/web
sudo npm i --unsafe-perm=true --allow-root sudo npm i --unsafe-perm=true --allow-root --legacy-peer-deps
``` ```
* If you modified any scss files then you need to compile SCSS, else you can safely ignore this step. * If you modified any scss files then you need to compile SCSS, else you can safely ignore this step.
Run below command in your project directory to compile scss. Run below command in your project directory to compile scss.

18583
web/package-lock.json generated vendored

File diff suppressed because it is too large Load Diff

2
web/package.json vendored
View File

@ -1,6 +1,6 @@
{ {
"name": "myems", "name": "myems",
"version": "1.3.2", "version": "1.3.3",
"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.3.2'; export const version = '1.3.3';
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';