Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/2.7.7_old #2778

Closed
wants to merge 118 commits into from
Closed

Release/2.7.7_old #2778

wants to merge 118 commits into from

Conversation

Limraj
Copy link
Collaborator

@Limraj Limraj commented Nov 17, 2023

No description provided.

Patrykb0802 and others added 30 commits July 20, 2023 15:59
In point.vue:
- Added validateScript() method
- Added 'Run script' button to  Meta Data Point editing
- Added alert that shows result of working script
- Modified script textarea to run validateScript method
- Added new rule that is checking if script is correct

- Added script.runScript translation key to en.json
- Added correct error message when creating new data point and script field is empty

- Added delayed validation, so requests for validation are not send every letter typed

- Added handling of error when field for script is empty and you press "run script", now when field is empty and you press "run script" nothing happens

- Deleted duplicated property key dox.newUISettings
- Added validation in validateScript() method for empty text area of script

- Added script validation when focusing out of the script text area

- Added script validation when changing data point type so there is no possibility of saving with incorrect script
corrected en.json
- Added validation after adding context datapoint for script

- Added validation after editing text fields like data point name, datapoint export ID and description
- Moved error messages to alert component

- Added valdiation on removing context datapoint
- Removed validation on focus out for textareas: Data point name, export ID, description
- Added rules validation on load for data point creation form
- Added while() which checks if the specified id has already occurred and provides a new one.

- Changed removeDatapoint() function, now it checks for key of datapoint.pointLocator.context when deleting context points
- Added initialState variable that stores initial values of datapoint fields

- Added for loop that sets the initialState values back to the datapoint variable
- Added maxlength="50" parameter to Export ID (XID) field
- Added maxlength="50" parameter to Export ID (XID) for every event detector

- Added 'if' in validate function inside DataPointEditController.java that checks if XID is longer than 50 characters, if it is than saving breaks and notification pops up

- Added new key for translations (validate.ped.xidTooLong=XID cannot be longer than 50 characters)
- Added two public static validatesXid methods in XidUtils.java:

validateXid(Map<String, String> errors, ResourceBundle resourceBundle, PointEventDetectorVO ped) and

validateXid(DwrResponseI18n response, String xid)

- Replace code that was using similar validation to methods mentioned above with validateXid method
Patrykb0802 and others added 24 commits February 14, 2024 10:54
Moved xid validations to validate() method for each component:
- Compound Event
- Event Handler
- Mailing List
- Maintenance Event
- Point Link
- Scheduled Event
Removed unused imports left from previous commits
…r datapoint #2769

- Added similar duplicate removal system for event text renderers as for text renderers
- Using xid and id instead of getXid() and getId() in validateXid() methods
…n_error_handling

#2758 Fixed xid validation error handling
…ange_formats_when_applying_format_from_another_datapoint

Fix/ Risk of duplicate range formats when applying format from another datapoint #2769
…operties_Examples

Feature/#2815 update point properties examples
…ificationException_in_MonitoredValues

#2628 Fixed ConcurrentModificationException in MonitoredValues:
- corrected includeTestsMatching from ImageChartUtilsTestSuite to ImageChartUtilsTestsSuite (build.gradle)
- corrected tests, added cases, and renamed: CalculateLinesImageChartUtilsTest, CalculateLinesImageChartUtilsExceptionTest, and corrected tests, added cases for: TruncateStringUtilsExceptionTest, TruncateStringUtilsTest and renamed test: ReplaceMacroStringUtilsTest;
- refactoring, corrected method ImageChartUtils.calculateHeightConsolidatedChart, renamed on calculateHeightChart, removed throws IllegalArgumentException, extracted method calculateLinesNumber for calculate only lines number, corrected algorithm;
- corrected state: LINE_LENGTH_IN_LEGEND_LIMIT=156, and DATA_POINT_EXTENDED_NAME_LENGTH_LIMIT=54;
- renamed state: IMAGE_WIDTH_PIXELS, IMAGE_HEIGHT_PIXELS, POINT_LABEL_HEIGHT_IN_LEGEND_PIXELS, LINE_LENGTH_IN_LEGEND_LIMIT, DATA_POINT_EXTENDED_NAME_LENGTH_LIMIT, POINT_IMAGE_WIDTH_PIXELS, POINT_IMAGE_HEIGHT_PIXELS;
- corrected method ReportChartCreator.createContent;
- not use deprecated method reportInstancePointDAO.insert;
- corrected method StringUtils.truncate;
- corrected test TruncateStringUtilsTest
…ch_space_in_reports_screen2' into fix/#2726_Legend_occupies_too_much_space_in_reports_screen2
- removed MangoPointValuesWithChangeOwner from imports in PointValueService; (this import appeared in conflict resolution)
- change error on debug logging level in ImageChartUtils.calculateLinesNumber;
- separate logic and app cases: CalculateLinesImageChartUtilsAppCaseTest, CalculateLinesImageChartUtilsLogicCaseTest;
- added cases to test TruncateStringUtilsExceptionTest
- change error on debug logging level in ImageChartUtils.calculateLinesNumber;
- separate logic and app cases: CalculateLinesImageChartUtilsAppCaseTest, CalculateLinesImageChartUtilsLogicCaseTest;
- added cases to test TruncateStringUtilsExceptionTest
…een2' of https://github.com/SCADA-LTS/Scada-LTS into fix/#2726_Legend_occupies_too_much_space_in_reports_screen2
- corrected  DataPointSynchronizedRT;
- corrected PointValueStateUtils.isSetPoint include source: User, PointLinkSetPointSource, RestApiSource;
- corrected PointValueCacheTest;
- The currently entered name from the view edit and new form is retained after when clicking the "Upload Image" or "Reset Image" button, what causes changes are made in the background view.
- Corrected ViewControllerUtils.getOrEmptyView.
…_after_loading_the_background_file

#1075 Reset the view name after loading the background file
…_much_space_in_reports_screen2

#2726 Legend occupies too much space in reports screen
…nnotation_Change_Point_Value_By_User

#2798 Corrected History Annotation Change Point Value By User
@Limraj Limraj modified the milestones: 2.7.7, 2.7.7.1 Feb 29, 2024
@Limraj Limraj changed the title Release/2.7.7 Release/2.7.7.1 Feb 29, 2024
@Limraj Limraj closed this Mar 4, 2024
@Limraj Limraj changed the title Release/2.7.7.1 Release/2.7.7_old Mar 4, 2024
@Limraj Limraj removed this from the 2.7.7.1 milestone Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants