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.5.4 #2563

Merged
merged 101 commits into from
Aug 7, 2023
Merged

Release/2.7.5.4 #2563

merged 101 commits into from
Aug 7, 2023

Conversation

Limraj
Copy link
Collaborator

@Limraj Limraj commented Jun 12, 2023

No description provided.

Limraj and others added 19 commits May 25, 2023 12:23
…e_System_event_alarm_User_Login

#806 Unable to disable System event alarm User Login
…on_details_while_initializing_MangoContextListener

#2557 Logging expcetion details while initializing MangoContextListener
…corrected template for comment_list_by_eventid cache; added ability change logging level for Spring Cache; added field typeKey in UserComment (UserComment not serializable); refactor PendingEventsDAO - moved high level abstraction methods from PendingEventsDAO to PendingEventService; added method in UserCommentCachable.findByEventAll(), IUserCommentDAO.getEventComments(); use caching UserComment type event in EventDAO; removed deprecated method UserCommentDAO.deleteUserCommentEvent; removed deprecated class PointEventDetectorCacheEntry
…_in_the_AlarmLevelController

#2559 Using the cache in the AlarmLevelController
…ment_type_event

#2560 Fixed cache UserComment type event - added comment_list cache; …
@Limraj Limraj added this to the 2.7.5.4 milestone Jun 12, 2023
})
void removeByEvent(long eventId);
void removeByEvent(int eventId);

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'eventId' is never used.
@github-actions
Copy link

github-actions bot commented Jun 12, 2023

Java Script Mocha Unit Test Results

268 tests   268 ✔️  6s ⏱️
  70 suites      0 💤
    1 files        0

Results for commit a936ae4.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jun 12, 2023

Java JUnit Test Results

2 083 tests   2 083 ✔️  29s ⏱️
     90 suites         0 💤
     90 files           0

Results for commit a936ae4.

♻️ This comment has been updated with latest results.

Limraj and others added 7 commits June 12, 2023 16:05
…_after_logged

#2544 Fixed 'not logged in' after logged
- Added class: EmailValidator used in User.validate
- Added test for MailValidator: EmailValidatorTest.java
- Validation fix, currently lets emails starting with a capital letter through
- Added detailed tests output
- removed unnecesary comments
…on_in_users_details

Fix/#623 fixed email validation in users details
…emoved commented definition for databaseSource bean in applicationContext.xml
} catch (EmptyResultDataAccessException ex) {
LOG.warn("name: " + name + ", usersProfileId: " + usersProfileId + ", msg: " + ex.getMessage());

Check failure

Code scanning / CodeQL

Log Injection

This log entry depends on a [user-provided value](1). This log entry depends on a [user-provided value](2).
@@ -353,13 +381,15 @@
}, keyHolder);
return keyHolder.getKey().intValue();
} catch (EmptyResultDataAccessException ex) {
LOG.warn("usersProfileXid: " + usersProfileXid + ", usersProfileName: " + usersProfileName + ", msg: " + ex.getMessage());

Check failure

Code scanning / CodeQL

Log Injection

This log entry depends on a [user-provided value](1).
Limraj and others added 4 commits July 7, 2023 08:34
…protection (problem with chrome, macos); added security definition for websocket: /event/update, /queue/errors, /session, /listusers, /websocketStats; change exception type from IllegalStateException on PermissionException in AuthenticationUtils.authenticateLocalRaiseEvent; removed unuse import com.serotonin.util.StringUtils in LoginAuthenticationSuccessHandler;
…_in_Publisher

#2611 Fixed event message in Publisher -
LOG.debug("process[" + user + "]" + "message: " + message);
userEventServiceWebSocket.sendEventUpdate(principal.getUser(), WsEventMessage.reset());
return "user: " + user + ", message: " + message;
public String process(String message, UsernamePasswordAuthenticationToken principal, StompHeaderAccessor accessor) {

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'accessor' is never used.
Limraj and others added 21 commits July 13, 2023 17:09
…cache in env.properties (abilit.cacheEnable=false); added parameter 'Event Pending Limit' configure from System Settings on new and old ui, in env.properties (event.pending.limit); deprecated class: EventDao; deprecated methods: EventService.getPendingSimpleEvents, EventDAO.getEventsForDataPoint, EventDAO.getPendingEvents, EventDAO.getPendingEvents; deprecated field: SystemSettingsDAO.DELETE_USERS; added methods: MangoEvent.isXidUnique, MangoEvent.getPendingEventsAlarmLevelMin, MangoEvent.getPendingEventsAlarmLevelMin, PendingEventsDAO.getPendingEvents with limit, EventDAO.getPendingEventsLimitAlarmLevelMin, EventDAO.getEventsForDataPointLimit, EventDAO.getPendingEventsLimit, EventDAO.getPendingEventsLimit; separation config old and new cache for PointEventDetectorCacheable in env.properties (eventdetector.cache.enabled), removed unless for selectPointEventDetectors;
…rgument on forceDisabledCache in method EventService.getPendingEventsAlarmLevelMin; fixed EventsController.getData
Resetting the alarm for multiple requests at once
- Added if condition in changeContentText.jsp which checks if point that is being edited is in Point Detail Menu.
- Added hideClosingHint flag for model to use it in if condition
- Small fix with translation
- Placed model.put("hideClosingHint", true); function under if condition to reduce amount of function calls
…er 'Enabled Event Pending Cache' to System Settings old and new ui;
…o_close_inside_datapoint_details_without_need

#2521 Text "double click to close" inside datapoint details without need
…numeric data point - getSourceDescriptionKey - added Unknown key
…r_has_occured_in_Point_details_menu_on_alphanumeric_data_point

#2621 Fixed A server error has occured in Point details menu on alpha…
…d/libs folder is empty/deleted

- Added task in build.gradle that checks for .war file in build/libs every time 'deployTeomcat' task is used
…d/libs folder is empty/deleted

- Added task in build.gradle that checks for .war file in build/libs every time 'deployTeomcat' task is used
…eployTomcat_doesnt_return_error_when_build_libs_folder_is_empty_deleted

#2623 Fixed Gradle task 'deployTomcat' doesn't return error when build/libs folder is empty/deleted
enabling Semgrep (https://semgrep.dev/) scanning
* deprecated class CustomSQLEroorCodesTranslator;
* fixed get value for disabled column from database;
…eckbox_Disabled_in_Maintenance_event

#2555 Fixed error save checkbox Disabled in Maintenance events -
…t_Detectors

#2625 Fixed validate Event Detectors - extends key cache to eventDete…
…ity_for_a_large_number_of_events

#2618 Improved stability for a large number of events - disabled old …
…ased_lock

#2634 Fix possible Unreleased lock - Lock outside the try block
@Limraj Limraj merged commit 55fceb9 into develop Aug 7, 2023
18 checks passed
This pull request was closed.
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.

4 participants