diff --git a/CHANGELOG.md b/CHANGELOG.md index 85f659c7..44bf62f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,76 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Removed - None. +## [v1.1.2] - 2021-04-23 +### Added +- added assoicated parameters data to excel exporter of shopfloorstatistics in API +- added associated parameters data to excel exporter of shopfloorsaving in API +- added associated parameters data to excel exporter of shopfloorload in API +- added associated parameters data to excel exporter of shopfloorenergyitem in API +- added associated parameters data to excel exporter of shopfloorenergycategory in API +- added associated parameters data to excel exporter of shopfloorcost in API +- added associated parameters data to excel exporter of storestatistics in API +- added associated parameters data to excel exporter of storesaving in API +- added associated parameters data to excel exporter of storeload in API +- added associated parameters data to storeenergyitem in API +- added associated parameters data to excel exporter of storeenergycategory in API +- added associated parameters data to excel exporter of storecost in API +- added associated parameters data to excel exporter of spacestatistics in API +- added associated parameters data to excel exporter of spacesaving in API +- added associated parameters data to excel exporter of spaceoutput in API +- added associated parameters data to excel exporter of spaceload in API +- added associated parameters data to excel exporter of spaceincome in API +- added associated parameters data to excel exporter of spaceenergyitem in API +- added associated parameters data to excel exporter of spaceenergycategory in API +- added associated parameters data to excel export of spacecost in API +- added associated parameters data to excel exporter of metertrend in API +- added associated parameters data to excel exporter of meterenergy in API +- added associated parameters data to excel exporter of metersubmetersbalance in API +- added parameters data to excel exporter of metercost in API +- added associated parameters data to excel exporter of tenantstatistics in API +- added associated paramters data to excel exporter of tenantsaving in API +- added associated paramters data to excel exporter of tenantload in API +- added associated paramters data to excel exporter of tenantenergyitem in API +- added associated parameters data to excel exporter of tenantenergycategory in API +- added associated parameters data to excel exporter of tenantcost in API +- added associated parameters data to excel exporter of combinedequipmentstatistics in API +- added associated paramters data to combinedequipmentsaving in API +- added associated parameters data to combinedequipmentload in API +- added associated parameters data to combinedequipmentoutput in API +- added associated parameters data to combinedequipmentincome in API +- added associated parameters data to combinedequipmentenergyitem in API +- added associated parameters data to combinedequipmentenergycategory in API +- added associated parameters data to combinedequipmentcost in API +- added quickmode to HTTP request parameters of MeterTrend report in API +- added paramter data to excel exporter of EquipmentStatistics in API +- added parameter data to excel exporter of EquipmentSaving in API +- added paramter data to excel exporter of EquipmentOutput in API +- added parameter data to excel exporter of EquipmentLoad in API +- added paramters data to excel exporter of EquipmentEnergyItem in API +- added parameters data to excel exporter of EquipmentEnergyCategory in API + +### Changed +- updated README +- updated excel exporter of metersubmetersbalance in API +- updated excel exporter of meterenergy in API +- updated excel exporter of metercost in API +- updated panel width and height of costcenter in Admin UI +- updated panel width and height of combinedequipment view in Admin UI +- updated panel width and height of equipment view in Admin UI +- changed query form column width from auto to xs={6} sm={3} in Web UI + +### Fixed +- fixed issues in excel exporters of combinedequipment in API +- added parameters validator to statistics_hourly_data_by_period in API +- added code to validate parameters of averaging_hourly_data_by_period in API +- fixed issue in excel exporter of equipmentincome in API +- fixed unit issue in CombinedEquipmentCost report in API + + +### Removed +- deleted slim-scroll from and added maxheight to panel of views in Admin UI + + ## [v1.1.1] - 2021-03-31 ### Added - added associated equipment data to CombinedEquipmentCost report in API @@ -157,7 +227,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Removed - None. -[Unreleased]: https://github.com/MyEMS/myems/compare/v1.1.0...HEAD +[Unreleased]: https://github.com/MyEMS/myems/compare/v1.1.2...HEAD +[v1.1.2]: https://github.com/MyEMS/myems/compare/v1.1.1...v1.1.2 [v1.1.1]: https://github.com/MyEMS/myems/compare/v1.1.0...v1.1.1 [v1.0.8]: https://github.com/MyEMS/myems/compare/v1.0.8...v1.1.0 [v1.0.8]: https://github.com/MyEMS/myems/compare/v1.0.7...v1.0.8 diff --git a/admin/app/api.js b/admin/app/api.js index 89aa9e28..2e928445 100644 --- a/admin/app/api.js +++ b/admin/app/api.js @@ -1,6 +1,6 @@ //Switch Classes Function function getAPI(){ - //return "http://127.0.0.1:8000/"; + return "http://127.0.0.1:8000/"; // to avoid CORS issue, use Nginx to proxy myems-api to path /api with the same ip and port as myems-web - return window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/api/"; + //return window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/api/"; } diff --git a/admin/views/common/footer-login.html b/admin/views/common/footer-login.html index 52ee27ab..d2d24904 100644 --- a/admin/views/common/footer-login.html +++ b/admin/views/common/footer-login.html @@ -1,5 +1,5 @@ diff --git a/admin/views/common/footer.html b/admin/views/common/footer.html index eca7f5fa..46dd5b4c 100644 --- a/admin/views/common/footer.html +++ b/admin/views/common/footer.html @@ -3,6 +3,6 @@ https://myems.io
- {{'MY_EMS_NAME' | translate}} v1.1.1 + {{'MY_EMS_NAME' | translate}} v1.1.2
diff --git a/database/myems_system_db.sql b/database/myems_system_db.sql index 264a2930..568a40d8 100644 --- a/database/myems_system_db.sql +++ b/database/myems_system_db.sql @@ -2249,6 +2249,6 @@ USE `myems_system_db`; INSERT INTO `myems_system_db`.`tbl_versions` (`id`, `version`, `release_date`) VALUES -(1, '1.1.1', '2021-03-31'); +(1, '1.1.2', '2021-04-23'); COMMIT; diff --git a/database/upgrade1.1.2.sql b/database/upgrade1.1.2.sql new file mode 100644 index 00000000..ff3a983c --- /dev/null +++ b/database/upgrade1.1.2.sql @@ -0,0 +1,3 @@ + +-- UPDATE VERSION NUMBER +UPDATE myems_system_db.tbl_versions SET version='1.1.2', release_date='2021-04-23' WHERE id=1; diff --git a/myems-api/core/version.py b/myems-api/core/version.py index 5485cf60..701f3e7c 100644 --- a/myems-api/core/version.py +++ b/myems-api/core/version.py @@ -14,8 +14,8 @@ class VersionItem: @staticmethod def on_get(req, resp): - result = {"version": 'MyEMS 1.1.1', - "release-date": '202103031', + result = {"version": 'MyEMS v1.1.2', + "release-date": '202104023', "website": "https://myems.io"} resp.body = json.dumps(result) diff --git a/web/package.json b/web/package.json index dec8b75d..bbdd1119 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "myems", - "version": "1.1.1", + "version": "1.1.2", "private": true, "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.28", diff --git a/web/src/config.js b/web/src/config.js index bb793630..c1bdd22f 100644 --- a/web/src/config.js +++ b/web/src/config.js @@ -1,4 +1,4 @@ -export const version = '1.1.1'; +export const version = '1.1.2'; export const navbarBreakPoint = 'xl'; // Vertical navbar breakpoint export const topNavbarBreakpoint = 'lg'; //export const APIBaseURL = 'http://127.0.0.1:8000';