Skip to content

Conversation

@Limraj
Copy link
Collaborator

@Limraj Limraj commented Oct 17, 2025

No description provided.

Patrykb0802 and others added 30 commits November 22, 2024 19:16
- Fixed create Data Source in new UI;
- Fixed update Meta Data Point in new UI;
- Fixed Legend report;
- revert Legend report;
…_name_in_legend_report_for_escape_characters

#3049 Fixed visible point name in legend report for escape characters:
…event_XSS_for_REST_API_by_escape_String_content2

# Conflicts:
#	src/com/serotonin/mango/vo/report/SeriesIdentifier.java
- Using class XssProtectUtils (use Spring) instead of Security class from dwr;
_ Rename classes: XssProtectHtmlUtils to XssProtectUtils, XssUtils to XssValidatorUtils;
- Changed private on public no args constructor for class XssProtectUtils;
- Added Data Point information to console log in ScriptExecutor.convertContext;
- Created css class formLongFieldSizing;
- Added attribute title and css class formLongFieldSizing in pointProperties.jsp for name fields;
- Set width 60%/40% in dataPointEdit.jsp;
- Use c:out in pointProperties.jsp for name and description fields;
- Removed unuse import in PointProperties\index.vue;
- Added @XssProtect annotation to fields deviceName, datasourceName, dataSourceXid in DataPointJson, to fields oid, binary0Value in SnmpPointLocatorJson, to fields updateCronPattern in MetaPointLocatorJson, to fields charset in ModbusIpPointLocatorJson;
…T_API_by_escape_String_content2

#2985 Prevent XSS for REST API by escape String content:
…oint_properties_page_has_a_limited_visible_length

#3036 point name in point properties page has a limited visible length
- removed deprecated methods:
DataPointService.save(User user, String value, String xid, int pointValueType);
setPoint(User user, DataPointVO point, String valueStr)
saveAPI(User user, String value, String xid)
- moved TestUtils to utils package;
- Refactoring ValidationUtils.isCyclicDependency
…n_Cyclic_dependency_for_Meta_Data_Point

#3055 Added validation Cyclic dependency for Meta Data Point:
…ces list view

Added details for BACnet data points in description field on data source list view
fix/#3061_Fixed_missing_column_typeId_for_event_handlers
Added option to set modbus data point slave id to range from 0 to 255 instead of range from 1 to 255
Changed selector in data point edit view as well as in point links view and publisher edit view
…_of_list_of_points_in_BacNet_source_in_data_sources_list_view

#3058 Improve content of list of points in BacNet source in data sources list view
Limraj and others added 23 commits July 31, 2025 11:50
- Corrected scadalts.security.js.access;
- upgrade gradle version to 8.14.3
- wrapper --gradle-version=8.14.3
- use gradle/actions/setup-gradle with gradle-version: '8.14.3'
- use gradle/actions/setup-gradle with gradle-version: '8.14.3' in: build.yml, master.yml
…rsion_in_Github_Action

#3182 Force Gradle version in Github Action:
- Hide users for ImportTask, hide password toString;
- Corrected UserService.populateUserPermissions - when assigning permissions, the permissions set in the user and in the profile are taken into account, so it does not change the behavior of this mechanism;
- Corrected encoding: editAsciiFile.jsp, editNodaveS7.jsp;
- Change logging level form info to warn in SetUnreliableDataPointsAction.call;
- Used tag spring:message in eventList.jsp, img.tag;
- Removed gradle-wrapper.properties, corrected gradle.properties;
- Corrected SendUtils.java;
- Corrected validation activeValueToSet, inactiveValueToSet in EventHandlerVO.validate;
- Corrected get watchlists with access in WatchListController;
- Set ERROR for recursiveLoggingLevel;
- Corrected configuration Gradle; (using the wrapper according to the recommendations of the gradle creators)
- Corrected BACnetIPDataSourceRT in subscription mode;
- No sorted points on watchlist; (depending on user order config)
@Limraj Limraj changed the title merge develop to master merge into master from develop Oct 17, 2025
@github-actions
Copy link

Java Script Mocha Unit Test Results

268 tests   268 ✅  3s ⏱️
 70 suites    0 💤
  1 files      0 ❌

Results for commit 1cfaed4.

@github-actions
Copy link

Java JUnit Test Results

3 220 tests   3 220 ✅  51s ⏱️
  128 suites      0 💤
  128 files        0 ❌

Results for commit 1cfaed4.

@semgrep-app
Copy link

semgrep-app bot commented Oct 17, 2025

Semgrep found 1 ssc-aff5e8de-c638-4356-8a93-120597e35ce9 finding:

Risk: Affected versions of @babel/traverse, babel-traverse, @babel/plugin-transform-runtime, @babel/preset-env, @babel/helper-define-polyfill-provider, babel-plugin-polyfill-corejs2, babel-plugin-polyfill-corejs3, babel-plugin-polyfill-es-shims, and babel-plugin-polyfill-regenerator are vulnerable to Incomplete List Of Disallowed Inputs. An attacker can exploit a vulnerability in the internal Babel methods path.evaluate() or path.evaluateTruthy() by compiling specially crafted code, potentially resulting in arbitrary code execution during compilation. babel-traverse does not have a fix version. If you are using babel-traverse, switch to @babel/traverse.

Manual Review Advice: A vulnerability from this advisory is reachable if you use Babel to compile untrusted JavaScript

Fix: Upgrade this library to at least version 7.23.2 at Scada-LTS/scadalts-ui/package-lock.json:1253.

Reference(s): GHSA-67hx-6x53-jw92, CVE-2023-45133

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Comment on lines +17 to +26
name: semgrep/ci
runs-on: ubuntu-latest
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v4
- run: semgrep ci

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 4 months ago

To fix this problem, the best practice is to explicitly define a minimal set of permissions for the job, restricting the GITHUB_TOKEN to only those access types required for the workflow's actions. In this case, setting permissions: contents: read at the job (semgrep) or workflow root ensures that the token can only read repository contents and does not have unnecessary write access.

  • Insert a permissions: block with contents: read at the same indentation as runs-on: and other job properties (under jobs.semgrep).
  • No other imports, methods, or definitions required.
Suggested changeset 1
.github/workflows/semgrep.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml
--- a/.github/workflows/semgrep.yml
+++ b/.github/workflows/semgrep.yml
@@ -15,6 +15,8 @@
 jobs:
   semgrep:
     name: semgrep/ci
+    permissions:
+      contents: read
     runs-on: ubuntu-latest
     env:
       SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
EOF
@@ -15,6 +15,8 @@
jobs:
semgrep:
name: semgrep/ci
permissions:
contents: read
runs-on: ubuntu-latest
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
Copilot is powered by AI and may make mistakes. Always verify output.
@Limraj Limraj merged commit ae388ed into master Oct 17, 2025
33 checks passed
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