Compare commits

..

98 Commits

Author SHA1 Message Date
alfresco-build
545ba61609 [maven-release-plugin][skip ci] prepare release 23.3.14.2 2025-09-11 17:33:30 +00:00
Eva Vasques
aedd04beb3 ACS-10042 - AGS Concurrent IPR Group Creation (#3566) (#3569) 2025-09-11 17:46:15 +01:00
alfresco-build
c6f271fc49 [maven-release-plugin][skip ci] prepare for next development iteration 2025-09-11 12:43:04 +00:00
alfresco-build
71b901d16f [maven-release-plugin][skip ci] prepare release 23.3.14.1 2025-09-11 12:43:02 +00:00
Eva Vasques
1819400ac0 [skip tests] Prepare version 23.3.14 (#3567) 2025-09-11 13:39:16 +01:00
alfresco-build
22d6f68c48 [maven-release-plugin][skip ci] prepare for next development iteration 2025-08-25 07:15:13 +00:00
alfresco-build
e18edd2c07 [maven-release-plugin][skip ci] prepare release 23.3.13.2 2025-08-25 07:15:10 +00:00
SatyamSah5
7229105b86 ACS-9991 Allow Content and Metadata extract even if thumbnails are di… (#3542) 2025-08-25 11:55:40 +05:30
alfresco-build
996809e3c2 [maven-release-plugin][skip ci] prepare for next development iteration 2025-08-12 13:12:37 +00:00
alfresco-build
bc76bedc4d [maven-release-plugin][skip ci] prepare release 23.3.13.1 2025-08-12 13:12:35 +00:00
Eva Vasques
179366c974 [skip tests] Prepare next version 23.3.13 (#3517) 2025-08-12 14:09:37 +01:00
alfresco-build
981b98ed88 [maven-release-plugin][skip ci] prepare for next development iteration 2025-08-07 20:45:10 +00:00
alfresco-build
b1469f4410 [maven-release-plugin][skip ci] prepare release 23.3.12.3 2025-08-07 20:45:08 +00:00
Eva Vasques
2e92dab995 MNT-24975 - Repeated IPR groups due to casing inconsistencies on creation (#3509) 2025-08-07 21:03:03 +01:00
alfresco-build
ffcd8973e3 [maven-release-plugin][skip ci] prepare for next development iteration 2025-08-07 13:35:05 +00:00
alfresco-build
b3dcb3ea35 [maven-release-plugin][skip ci] prepare release 23.3.12.2 2025-08-07 13:35:02 +00:00
Eva Vasques
7a49b4c331 ACS-9923 Removing an aspect needs to invoke onUpdateProperties (#3504) (#3505) 2025-08-07 13:50:57 +01:00
alfresco-build
dc0b1988ca [maven-release-plugin][skip ci] prepare for next development iteration 2025-07-30 12:48:19 +00:00
alfresco-build
378abdfe9b [maven-release-plugin][skip ci] prepare release 23.3.12.1 2025-07-30 12:48:17 +00:00
Eva Vasques
5efeeffe3c [skip tests] Prepare Version 23.3.12 (#3494) 2025-07-30 13:45:14 +01:00
alfresco-build
d15a71fddd [maven-release-plugin][skip ci] prepare for next development iteration 2025-07-29 12:22:49 +00:00
alfresco-build
0f2d7a857d [maven-release-plugin][skip ci] prepare release 23.3.11.2 2025-07-29 12:22:46 +00:00
Eva Vasques
e30707fd47 MNT-24975 - Repeated IPR groups due to casing inconsistencies (#3459) (#3492) 2025-07-29 12:27:45 +01:00
alfresco-build
373e0a2d35 [maven-release-plugin][skip ci] prepare for next development iteration 2025-07-28 11:33:07 +00:00
alfresco-build
e5443cf558 [maven-release-plugin][skip ci] prepare release 23.3.11.1 2025-07-28 11:33:04 +00:00
Eva Vasques
8badf8747a [skip tests] Prepare version 23.3.11 (#3490) 2025-07-28 12:29:44 +01:00
alfresco-build
f4274f6900 [maven-release-plugin][skip ci] prepare for next development iteration 2025-06-24 12:29:12 +00:00
alfresco-build
5184a95d5f [maven-release-plugin][skip ci] prepare release 23.3.10.1 2025-06-24 12:29:09 +00:00
Tiago Salvado
80c79a45b7 [skip tests] Prepare version 23.3.10 2025-06-24 13:23:34 +01:00
alfresco-build
d1a67e2773 [maven-release-plugin][skip ci] prepare for next development iteration 2025-06-06 10:24:46 +00:00
alfresco-build
881b8f05c9 [maven-release-plugin][skip ci] prepare release 23.3.9.2 2025-06-06 10:24:44 +00:00
Gerard Olenski
e74ec9425c ACS-9690 Fix unstable AddToHoldsBulkV1Tests (#3382)
Co-authored-by: Belal Ansari <belal.ansari@hyland.com>
2025-06-06 11:29:52 +02:00
alfresco-build
f855bda65c [maven-release-plugin][skip ci] prepare for next development iteration 2025-05-20 17:52:48 +00:00
alfresco-build
27406cda19 [maven-release-plugin][skip ci] prepare release 23.3.9.1 2025-05-20 17:52:46 +00:00
Eva Vasques
e5b3afc560 [skip tests] Prepare version 23.3.9 (#3362) 2025-05-20 18:46:48 +01:00
alfresco-build
f13a0480dc [maven-release-plugin][skip ci] prepare for next development iteration 2025-05-13 14:44:35 +00:00
alfresco-build
68c0aea1f5 [maven-release-plugin][skip ci] prepare release 23.3.8.1 2025-05-13 14:44:33 +00:00
Eva Vasques
9e91d28ade [skip tests] Prepare version 23.3.8 2025-05-13 15:40:53 +01:00
alfresco-build
8f1175de64 [maven-release-plugin][skip ci] prepare for next development iteration 2025-04-18 04:57:40 +00:00
alfresco-build
7d4b74cab7 [maven-release-plugin][skip ci] prepare release 23.3.7.4 2025-04-18 04:57:37 +00:00
SatyamSah5
b51374532e [MNT-24623] fix for unzipping zip files having accent chars (#3321) 2025-04-18 09:45:21 +05:30
alfresco-build
6e5b64be12 [maven-release-plugin][skip ci] prepare for next development iteration 2025-04-10 13:05:46 +00:00
alfresco-build
67195f6dda [maven-release-plugin][skip ci] prepare release 23.3.7.3 2025-04-10 13:05:44 +00:00
Belal Ansari
d060c548b3 Fix/MNT-24891 backport to 23.3 (#3312)
Co-authored-by: Kacper Magdziarz <kacper.magdziarz@hyland.com>
2025-04-10 17:31:27 +05:30
alfresco-build
9de39009a7 [maven-release-plugin][skip ci] prepare for next development iteration 2025-04-07 10:48:45 +00:00
alfresco-build
b920670ebd [maven-release-plugin][skip ci] prepare release 23.3.7.2 2025-04-07 10:48:43 +00:00
Kacper Magdziarz
94fd1f4c98 [ACS-9490] Backport: Use FixedThreadPool for ExecutorService (#3301) (#3302) 2025-04-04 12:42:17 +02:00
alfresco-build
5a04dabd72 [maven-release-plugin][skip ci] prepare for next development iteration 2025-04-02 10:03:21 +00:00
alfresco-build
00eef170ef [maven-release-plugin][skip ci] prepare release 23.3.7.1 2025-04-02 10:03:20 +00:00
Tiago Salvado
43dd274b6c [skip tests] Prepare version 23.3.7 2025-04-02 11:00:10 +01:00
alfresco-build
842687e25d [maven-release-plugin][skip ci] prepare for next development iteration 2025-03-31 14:42:53 +00:00
alfresco-build
3306879d8c [maven-release-plugin][skip ci] prepare release 23.3.6.2 2025-03-31 14:42:51 +00:00
Tiago Salvado
8276344ce6 [MNT-24992] Add method to force renditions content hash code (#3288) (#3291) 2025-03-31 15:00:23 +01:00
alfresco-build
bb534040a1 [maven-release-plugin][skip ci] prepare for next development iteration 2025-03-13 11:05:08 +00:00
alfresco-build
b14526e7e1 [maven-release-plugin][skip ci] prepare release 23.3.6.1 2025-03-13 11:05:05 +00:00
Tiago Salvado
7c7c2548aa [skip tests] Prepare version 23.3.6 2025-03-13 11:01:54 +00:00
alfresco-build
f0daad17fe [maven-release-plugin][skip ci] prepare for next development iteration 2025-03-12 17:53:59 +00:00
alfresco-build
b2044531db [maven-release-plugin][skip ci] prepare release 23.3.5.3 2025-03-12 17:53:57 +00:00
Tiago Salvado
09cc78f4f3 [MNT-24938] Added fallback method to obtain deployment category in order to check if workflow is secure (#3236) (#3259) 2025-03-12 17:10:22 +00:00
alfresco-build
b734eb6f78 [maven-release-plugin][skip ci] prepare for next development iteration 2025-03-12 07:41:51 +00:00
alfresco-build
069f886b1f [maven-release-plugin][skip ci] prepare release 23.3.5.2 2025-03-12 07:41:49 +00:00
Gerard Olenski
cdfa16093d ACS-9394 Backport MNT-24807 to the release/23.3 branch (#3255)
Co-authored-by: Cezary Witkowski <cezary.witkowski@hyland.com>
2025-03-11 15:48:44 +01:00
alfresco-build
5474d91dae [maven-release-plugin][skip ci] prepare for next development iteration 2025-01-16 10:01:47 +00:00
alfresco-build
42d07fe59c [maven-release-plugin][skip ci] prepare release 23.3.5.1 2025-01-16 10:01:45 +00:00
Tiago Salvado
231ac79977 [skip tests] Prepare version 23.3.5 2025-01-16 09:57:04 +00:00
alfresco-build
8fcdac6d1f [maven-release-plugin][skip ci] prepare for next development iteration 2025-01-10 20:48:45 +00:00
alfresco-build
534b6f444f [maven-release-plugin][skip ci] prepare release 23.3.4.2 2025-01-10 20:48:43 +00:00
Tiago Salvado
31f9883cc8 Trigger CI 2025-01-10 20:06:10 +00:00
Tiago Salvado
130e4ff363 Trigger CI 2025-01-10 20:02:31 +00:00
Eva Vasques
5ae22f75d0 Trigger CI 2025-01-10 19:50:12 +00:00
Eva Vasques
1e386f9d98 Update license headers (#3138) 2025-01-10 19:45:05 +00:00
Tiago Salvado
5d4a859617 Revert "Update license headers (#3136)"
This reverts commit fd0f50d7c9.
2025-01-10 15:31:37 +00:00
Tiago Salvado
01b4859b73 Trigger CI 2025-01-10 13:54:05 +00:00
Tiago Salvado
fd0f50d7c9 Update license headers (#3136) 2025-01-10 13:46:31 +00:00
alfresco-build
afff08edfb [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-23 16:51:03 +00:00
alfresco-build
84c83a1d3f [maven-release-plugin][skip ci] prepare release 23.3.4.1 2024-12-23 16:51:01 +00:00
Eva Vasques
df5607e11b [skip tests] Prepare version 23.3.4 (#3109) 2024-12-23 16:46:56 +00:00
alfresco-build
8ff1f976f1 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-18 14:34:18 +00:00
alfresco-build
24dee74d77 [maven-release-plugin][skip ci] prepare release 23.3.3.1 2024-12-18 14:34:15 +00:00
Eva Vasques
99db3f275c [skip tests] Prepare version 23.3.3 (#3103) 2024-12-18 14:31:10 +00:00
alfresco-build
fd8744af7f [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-17 19:31:07 +00:00
alfresco-build
bce301d392 [maven-release-plugin][skip ci] prepare release 23.3.1.5 2024-12-17 19:30:52 +00:00
Eva Vasques
f397daf9f1 Revert "[MNT-24137] Audit Issue Internal Server Error fix (#2786)" (#3099)
* Revert "[MNT-24137] Audit Issue Internal Server Error fix (#2786)"

This reverts commit cabc38b386.

* Pre-commit changes
2024-12-17 18:05:25 +00:00
Aleksandra Onych
4b549bf474 [ACS-8862] Bump Keycloak to 25.0.6 (#2993) 2024-10-11 15:05:39 +02:00
alfresco-build
e7a8cc2b2b [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-07 12:33:27 +00:00
alfresco-build
386c33c3c0 [maven-release-plugin][skip ci] prepare release 23.3.1.4 2024-10-07 12:33:24 +00:00
Tom Page
45d6a114c6 Merge pull request #2970 from Alfresco/feature/PrecommitChecks_23.3
Add precommit for secret scanning, formatting and license header checking.
2024-10-07 12:51:36 +01:00
Tom Page
3f2f654ac9 Add precommit for secret scanning, formatting and license header checking. (#2938)
* Add precommit for secret scanning, formatting and license header checking.

* Turn off bash debug logging.

* Skip precommit checks that apply to all files.

There are too many violations to run against all files.

(cherry picked from commit b00e11cb6f)
2024-10-07 11:53:26 +01:00
alfresco-build
27e955e947 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-24 12:43:18 +00:00
alfresco-build
91a8d6deb2 [maven-release-plugin][skip ci] prepare release 23.3.1.3 2024-09-24 12:43:16 +00:00
Tiago Salvado
c9b0389533 [MNT-24590] Bump spring-webscripts to 9.3 (#2922) (#2930)
* [MNT-24590] Bump spring-webscripts to 9.3

* Removed duplicated property: dependency.webscripts.version

(cherry picked from commit d17c11b8ad)
2024-09-24 13:04:13 +01:00
alfresco-build
27177f6ea3 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-03 14:25:27 +00:00
alfresco-build
1c7fb4fa32 [maven-release-plugin][skip ci] prepare release 23.3.1.2 2024-09-03 14:25:25 +00:00
Aleksandra Onych
ae63f29c1f ACS-8670 Deal with upcoming GitHub Actions deprecations (#2877)
Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>
2024-09-03 15:48:03 +02:00
alfresco-build
252f177d8e [maven-release-plugin][skip ci] prepare for next development iteration 2024-08-28 11:00:17 +00:00
alfresco-build
5df64264ed [maven-release-plugin][skip ci] prepare release 23.3.1.1 2024-08-28 11:00:15 +00:00
Domenico Sibilio
656f5e29a5 PRODDEL-8304 Bump API Explorer to 23.3.0 (#2882) 2024-08-28 12:12:29 +02:00
mpichura
58cb8bf389 Creating hotfix branch release/23.3 for 23.3.0 ACS release [skip ci] 2024-08-23 17:07:54 +02:00
7204 changed files with 991222 additions and 1020206 deletions

View File

@@ -42,12 +42,17 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v8.16.0
- uses: actions/checkout@v4
with:
fetch-depth: 0
- id: changed-files
uses: Alfresco/alfresco-build-tools/.github/actions/github-list-changes@v6.1.0
with:
write-list-to-env: true
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v6.1.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Prepare maven cache and check compilation"
@@ -102,16 +107,12 @@ jobs:
run: |
bash ./scripts/ci/init.sh
bash ./scripts/ci/build.sh
- name: "Remove excluded files"
run: |
mkdir temp-dir-for-sast
bash ./scripts/ci/remove-sast-exclusions.sh ./packaging/war/target/alfresco.war temp-dir-for-sast/reduced.war
- name: "Run SAST Scan"
uses: veracode/Veracode-pipeline-scan-action@v1.0.16
with:
vid: ${{ secrets.VERACODE_API_ID }}
vkey: ${{ secrets.VERACODE_API_KEY }}
file: "temp-dir-for-sast/reduced.war"
file: "packaging/war/target/alfresco.war"
fail_build: true
project_name: alfresco-community-repo
issue_details: true
@@ -129,8 +130,6 @@ jobs:
with:
name: Veracode Pipeline-Scan Results (Human Readable)
path: readable_output.zip
- name: "Remove temporary directory"
run: rm -rfv temp-dir-for-sast
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
@@ -147,7 +146,7 @@ jobs:
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/ya-pmd-scan@v4.1.0
- uses: Alfresco/ya-pmd-scan@v4.0.0
with:
classpath-build-command: "mvn test-compile -ntp -Pags -pl \"-:alfresco-community-repo-docker\""
@@ -268,7 +267,6 @@ jobs:
- name: "Set transformers tag"
run: echo "TRANSFORMERS_TAG=$(mvn help:evaluate -Dexpression=dependency.alfresco-transform-core.version -q -DforceStdout)" >> $GITHUB_ENV
- name: "Set up the environment"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile ${{ matrix.compose-profile }} up -d
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
@@ -333,7 +331,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ['10.5', '10.6']
version: ['10.2.18', '10.4', '10.5']
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
@@ -394,8 +392,8 @@ jobs:
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
repository_mariadb_10_11_tests:
name: "Repository - MariaDB 10.11 tests"
repository_mariadb_10_6_tests:
name: "Repository - MariaDB 10.6 tests"
runs-on: ubuntu-latest
needs: [prepare]
if: >
@@ -412,10 +410,10 @@ jobs:
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run MariaDB 10.11 database"
- name: "Run MariaDB 10.6 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile mariadb up -d
env:
MARIADB_VERSION: 10.11
MARIADB_VERSION: 10.6
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
@@ -511,7 +509,7 @@ jobs:
RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }}
run: |
eval "args=($RP_OPTS)"
mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.driver=com.mysql.cj.jdbc.Driver -Ddb.name=alfresco -Ddb.url=jdbc:mysql://localhost:3307/alfresco -Ddb.username=alfresco -Ddb.password=alfresco "${args[@]}"
mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.driver=com.mysql.jdbc.Driver -Ddb.name=alfresco -Ddb.url=jdbc:mysql://localhost:3307/alfresco -Ddb.username=alfresco -Ddb.password=alfresco "${args[@]}"
continue-on-error: true
- name: "Update GitHub Step Summary"
if: github.ref_name == 'master'
@@ -536,8 +534,8 @@ jobs:
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
repository_postgresql_14_15_tests:
name: "Repository - PostgreSQL 14.15 tests"
repository_postgresql_13_12_tests:
name: "Repository - PostgreSQL 13.12 tests"
runs-on: ubuntu-latest
needs: [prepare]
if: >
@@ -553,10 +551,10 @@ jobs:
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run PostgreSQL 14.15 database"
- name: "Run PostgreSQL 13.12 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile postgres up -d
env:
POSTGRES_VERSION: 14.15
POSTGRES_VERSION: 13.12
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
@@ -606,16 +604,16 @@ jobs:
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
repository_postgresql_15_10_tests:
name: "Repository - PostgreSQL 15.10 tests"
repository_postgresql_14_9_tests:
name: "Repository - PostgreSQL 14.9 tests"
runs-on: ubuntu-latest
needs: [prepare]
if: >
(((github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && github.event_name != 'pull_request' &&
!contains(github.event.head_commit.message, '[skip db]')) ||
contains(github.event.head_commit.message, '[db]')) &&
!contains(github.event.head_commit.message, '[skip tests]') &&
!contains(github.event.head_commit.message, '[force')
!contains(github.event.head_commit.message, '[skip db]')) ||
contains(github.event.head_commit.message, '[db]')) &&
!contains(github.event.head_commit.message, '[skip tests]') &&
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
@@ -623,10 +621,10 @@ jobs:
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run PostgreSQL 15.10 database"
- name: "Run PostgreSQL 14.9 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile postgres up -d
env:
POSTGRES_VERSION: 15.10
POSTGRES_VERSION: 14.9
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
@@ -676,8 +674,8 @@ jobs:
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
repository_postgresql_16_6_tests:
name: "Repository - PostgreSQL 16.6 tests"
repository_postgresql_15_4_tests:
name: "Repository - PostgreSQL 15.4 tests"
runs-on: ubuntu-latest
needs: [prepare]
if: >
@@ -693,10 +691,10 @@ jobs:
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run PostgreSQL 16.6 database"
- name: "Run PostgreSQL 15.4 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile postgres up -d
env:
POSTGRES_VERSION: 16.6
POSTGRES_VERSION: 15.4
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
@@ -877,7 +875,6 @@ jobs:
echo "HOSTNAME_VERIFICATION_DISABLED=false" >> "$GITHUB_ENV"
fi
- name: "Set up the environment"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile ${{ matrix.compose-profile }} up -d
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
@@ -979,7 +976,6 @@ jobs:
bash ./scripts/ci/init.sh
bash ./scripts/ci/build.sh
- name: "Set up the environment"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
${{ env.TAS_SCRIPTS }}/start-compose.sh ${{ env.TAS_ENVIRONMENT }}/docker-compose-minimal+transforms.yml
${{ env.TAS_SCRIPTS }}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
@@ -1057,7 +1053,7 @@ jobs:
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run Postgres 16.6 database"
- name: "Run Postgres 15.4 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile postgres up -d
- name: "Prepare Report Portal"
if: github.ref_name == 'master'

View File

@@ -35,7 +35,7 @@ jobs:
with:
persist-credentials: false
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- name: "Init"
run: bash ./scripts/ci/init.sh
@@ -64,7 +64,7 @@ jobs:
with:
persist-credentials: false
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- name: "Init"
run: bash ./scripts/ci/init.sh

View File

@@ -1,32 +0,0 @@
name: Pre-Commit formatter
on:
push:
branches:
- precommit/**
jobs:
format-code:
name: "Reformat code"
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[reformat code]')
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.9"
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
continue-on-error: true
with:
extra_args: --all-files
- name: Update secrets baseline
run: pip install detect-secrets && detect-secrets scan --baseline .secrets.baseline
- uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.16.0
with:
username: ${{ secrets.BOT_GITHUB_USERNAME }}
add-options: -u
commit-message: "Apply Pre-Commit code formatting"
skip-if-no-changes: true
- name: Push changes
run: git push

View File

@@ -133,21 +133,21 @@
"filename": ".github/workflows/ci.yml",
"hashed_secret": "b86dc2f033a63f2b7b9e7d270ab806d2910d7572",
"is_verified": false,
"line_number": 295
"line_number": 293
},
{
"type": "Secret Keyword",
"filename": ".github/workflows/ci.yml",
"hashed_secret": "1bfb0e20f886150ba59b853bcd49dea893e00966",
"is_verified": false,
"line_number": 370
"line_number": 368
},
{
"type": "Secret Keyword",
"filename": ".github/workflows/ci.yml",
"hashed_secret": "128f14373ccfaff49e3664045d3a11b50cbb7b39",
"is_verified": false,
"line_number": 904
"line_number": 901
}
],
".github/workflows/master_release.yml": [
@@ -247,7 +247,7 @@
"filename": "core/src/main/java/org/alfresco/encryption/AlfrescoKeyStore.java",
"hashed_secret": "a718763bca0f328b0e7ce2a98d9e79fc271bf827",
"is_verified": false,
"line_number": 34,
"line_number": 35,
"is_secret": false
}
],
@@ -257,7 +257,7 @@
"filename": "core/src/main/java/org/alfresco/httpclient/HttpClientFactory.java",
"hashed_secret": "5d3c708390e5f51413e414393d4ad2a6d0e59a45",
"is_verified": false,
"line_number": 128,
"line_number": 126,
"is_secret": false
}
],
@@ -423,7 +423,7 @@
"filename": "packaging/tests/tas-cmis/src/main/java/org/alfresco/cmis/AuthParameterProviderFactory.java",
"hashed_secret": "a28cecdb5056cf30135809b921e38a84deb6c345",
"is_verified": false,
"line_number": 100,
"line_number": 102,
"is_secret": false
},
{
@@ -431,7 +431,7 @@
"filename": "packaging/tests/tas-cmis/src/main/java/org/alfresco/cmis/AuthParameterProviderFactory.java",
"hashed_secret": "5e39d8e2991ef9705998de26b33f11be0f3cdcde",
"is_verified": false,
"line_number": 101,
"line_number": 103,
"is_secret": false
}
],
@@ -539,7 +539,7 @@
"filename": "packaging/tests/tas-restapi/src/main/java/org/alfresco/rest/model/RestSitePersonMembershipRequestModelsCollection.java",
"hashed_secret": "8b30a14989d7b8093ac29462fe29423d836625b4",
"is_verified": false,
"line_number": 33,
"line_number": 39,
"is_secret": false
}
],
@@ -623,7 +623,7 @@
"filename": "remote-api/src/main/java/org/alfresco/repo/web/scripts/tenant/AbstractTenantAdminWebScript.java",
"hashed_secret": "889d2688743fdce6115117a5ba7dbc5f33e0ce03",
"is_verified": false,
"line_number": 39,
"line_number": 38,
"is_secret": false
}
],
@@ -633,7 +633,7 @@
"filename": "remote-api/src/main/java/org/alfresco/web/app/servlet/AlfrescoX509ServletFilter.java",
"hashed_secret": "43d52295ed5cb7e2b772f2b8be9695ddde971c49",
"is_verified": false,
"line_number": 60,
"line_number": 62,
"is_secret": false
},
{
@@ -641,7 +641,7 @@
"filename": "remote-api/src/main/java/org/alfresco/web/app/servlet/AlfrescoX509ServletFilter.java",
"hashed_secret": "1bd5147ff91b8b1220d2f1ffde850ebabbc5ec8c",
"is_verified": false,
"line_number": 61,
"line_number": 63,
"is_secret": false
}
],
@@ -671,7 +671,7 @@
"filename": "remote-api/src/test/java/org/alfresco/repo/remoteticket/RemoteAlfrescoTicketServiceTest.java",
"hashed_secret": "a926a50b320cea0d6c008a04322627400fe33f55",
"is_verified": false,
"line_number": 73,
"line_number": 74,
"is_secret": false
}
],
@@ -681,7 +681,7 @@
"filename": "remote-api/src/test/java/org/alfresco/repo/web/scripts/node/NodeWebScripTest.java",
"hashed_secret": "a926a50b320cea0d6c008a04322627400fe33f55",
"is_verified": false,
"line_number": 96,
"line_number": 95,
"is_secret": false
}
],
@@ -691,7 +691,7 @@
"filename": "remote-api/src/test/java/org/alfresco/repo/web/scripts/servlet/RemoteAuthenticatorFactoryAdminConsoleAccessTest.java",
"hashed_secret": "4ffa743f28fc949c19e65ab045d7906d0609a2c2",
"is_verified": false,
"line_number": 268,
"line_number": 269,
"is_secret": false
}
],
@@ -701,7 +701,7 @@
"filename": "remote-api/src/test/java/org/alfresco/repo/web/scripts/solr/SOLRAuthenticationFilterTest.java",
"hashed_secret": "76ed0a056aa77060de25754586440cff390791d0",
"is_verified": false,
"line_number": 59,
"line_number": 63,
"is_secret": false
}
],
@@ -711,7 +711,7 @@
"filename": "remote-api/src/test/java/org/alfresco/repo/webdav/LockMethodTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 108,
"line_number": 109,
"is_secret": false
}
],
@@ -731,7 +731,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/AbstractBaseApiTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 111,
"line_number": 120,
"is_secret": false
}
],
@@ -741,7 +741,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/RepoService.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 412,
"line_number": 418,
"is_secret": false
}
],
@@ -751,7 +751,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/TestCMIS.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 175,
"line_number": 182,
"is_secret": false
}
],
@@ -761,7 +761,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/TestPeople.java",
"hashed_secret": "e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4",
"is_verified": false,
"line_number": 595,
"line_number": 592,
"is_secret": false
},
{
@@ -769,7 +769,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/TestPeople.java",
"hashed_secret": "53dad674827218e94c8fe9c1984c8dd9db512a17",
"is_verified": false,
"line_number": 731,
"line_number": 728,
"is_secret": false
},
{
@@ -777,7 +777,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/TestPeople.java",
"hashed_secret": "be66cf01c56d963de61462f37a43df2305367216",
"is_verified": false,
"line_number": 1434,
"line_number": 1429,
"is_secret": false
},
{
@@ -785,7 +785,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/TestPeople.java",
"hashed_secret": "283d47a9338ed1100b5fe2a5aff2d1f7c799bfd0",
"is_verified": false,
"line_number": 1435,
"line_number": 1430,
"is_secret": false
},
{
@@ -793,7 +793,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/TestPeople.java",
"hashed_secret": "425a715491af2bbec1eef2def6fa8d79c3050401",
"is_verified": false,
"line_number": 1457,
"line_number": 1452,
"is_secret": false
}
],
@@ -883,7 +883,7 @@
"filename": "repository/src/main/java/org/alfresco/heartbeat/jobs/LockingJob.java",
"hashed_secret": "b003370e1497c5003e21f1ec5da89e3d2d819506",
"is_verified": false,
"line_number": 59,
"line_number": 60,
"is_secret": false
},
{
@@ -891,7 +891,7 @@
"filename": "repository/src/main/java/org/alfresco/heartbeat/jobs/LockingJob.java",
"hashed_secret": "fc99e6a90240c45f46ed33a4d96a3dbecef41c60",
"is_verified": false,
"line_number": 60,
"line_number": 61,
"is_secret": false
}
],
@@ -901,7 +901,7 @@
"filename": "repository/src/main/java/org/alfresco/heartbeat/jobs/NonLockingJob.java",
"hashed_secret": "b003370e1497c5003e21f1ec5da89e3d2d819506",
"is_verified": false,
"line_number": 54,
"line_number": 52,
"is_secret": false
}
],
@@ -911,7 +911,7 @@
"filename": "repository/src/main/java/org/alfresco/repo/admin/patch/impl/AdminUserPatch.java",
"hashed_secret": "87a754b00f7ee047d496808125d6259104e9382a",
"is_verified": false,
"line_number": 62,
"line_number": 60,
"is_secret": false
}
],
@@ -931,7 +931,7 @@
"filename": "repository/src/main/java/org/alfresco/repo/remoteconnector/RemoteConnectorServiceImpl.java",
"hashed_secret": "a172ffc990129fe6f68b50f6037c54a1894ee3fd",
"is_verified": false,
"line_number": 205,
"line_number": 204,
"is_secret": false
},
{
@@ -939,7 +939,7 @@
"filename": "repository/src/main/java/org/alfresco/repo/remoteconnector/RemoteConnectorServiceImpl.java",
"hashed_secret": "a172ffc990129fe6f68b50f6037c54a1894ee3fd",
"is_verified": false,
"line_number": 205,
"line_number": 204,
"is_secret": false
}
],
@@ -949,7 +949,7 @@
"filename": "repository/src/main/java/org/alfresco/repo/security/authentication/ResetPasswordServiceImpl.java",
"hashed_secret": "e25df0eeed8d8eb4e198c3464c7bf747bc26eff8",
"is_verified": false,
"line_number": 91,
"line_number": 92,
"is_secret": false
}
],
@@ -959,7 +959,7 @@
"filename": "repository/src/main/java/org/alfresco/repo/security/authentication/SimpleAcceptOrRejectAllAuthenticationComponentImpl.java",
"hashed_secret": "304de25a3d73b68ad408ca3843356b5cf67f6f14",
"is_verified": false,
"line_number": 89,
"line_number": 93,
"is_secret": false
}
],
@@ -969,7 +969,7 @@
"filename": "repository/src/main/java/org/alfresco/repo/transfer/TransferServiceImpl2.java",
"hashed_secret": "9ae9f2be7702b726809545808a8a9ba2e5a38410",
"is_verified": false,
"line_number": 129,
"line_number": 130,
"is_secret": false
}
],
@@ -1303,7 +1303,7 @@
"filename": "repository/src/test/java/org/alfresco/filesys/FTPServerTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 86,
"line_number": 88,
"is_secret": false
},
{
@@ -1311,7 +1311,7 @@
"filename": "repository/src/test/java/org/alfresco/filesys/FTPServerTest.java",
"hashed_secret": "c464af817287343305cbd6493c593885695df531",
"is_verified": false,
"line_number": 90,
"line_number": 92,
"is_secret": false
},
{
@@ -1319,7 +1319,7 @@
"filename": "repository/src/test/java/org/alfresco/filesys/FTPServerTest.java",
"hashed_secret": "8ad8572a0b3fc4cb3afc1baaebc97a2cae58eb8c",
"is_verified": false,
"line_number": 91,
"line_number": 93,
"is_secret": false
},
{
@@ -1327,7 +1327,7 @@
"filename": "repository/src/test/java/org/alfresco/filesys/FTPServerTest.java",
"hashed_secret": "915692b4d7465b0084354173d552ac90145dc315",
"is_verified": false,
"line_number": 92,
"line_number": 94,
"is_secret": false
}
],
@@ -1337,7 +1337,7 @@
"filename": "repository/src/test/java/org/alfresco/filesys/repo/ContentDiskDriverTest.java",
"hashed_secret": "8c85434f6f339a24b808810bd95629d0f5856355",
"is_verified": false,
"line_number": 1257,
"line_number": 1280,
"is_secret": false
}
],
@@ -1347,7 +1347,7 @@
"filename": "repository/src/test/java/org/alfresco/opencmis/CMISTest.java",
"hashed_secret": "9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684",
"is_verified": false,
"line_number": 4001,
"line_number": 4134,
"is_secret": false
}
],
@@ -1357,7 +1357,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/coci/CheckOutCheckInServiceImplTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 141,
"line_number": 140,
"is_secret": false
}
],
@@ -1367,7 +1367,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/i18n/MessageServiceImplTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 101,
"line_number": 102,
"is_secret": false
}
],
@@ -1377,7 +1377,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/imap/ImapMessageTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 116,
"line_number": 118,
"is_secret": false
}
],
@@ -1387,7 +1387,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/imap/ImapServiceImplCacheTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 66,
"line_number": 68,
"is_secret": false
}
],
@@ -1397,7 +1397,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/imap/ImapServiceImplTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 111,
"line_number": 116,
"is_secret": false
}
],
@@ -1407,7 +1407,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/imap/LoadTester.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 79,
"line_number": 80,
"is_secret": false
}
],
@@ -1417,7 +1417,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/imap/RemoteLoadTester.java",
"hashed_secret": "678721c0433c8cf5c9069a0e70784cf1839e866b",
"is_verified": false,
"line_number": 55,
"line_number": 58,
"is_secret": false
}
],
@@ -1427,7 +1427,27 @@
"filename": "repository/src/test/java/org/alfresco/repo/invitation/site/InviteSenderTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 108,
"line_number": 109,
"is_secret": false
}
],
"repository/src/test/java/org/alfresco/repo/lock/LockBehaviourImplTest.java": [
{
"type": "Secret Keyword",
"filename": "repository/src/test/java/org/alfresco/repo/lock/LockBehaviourImplTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 112,
"is_secret": false
}
],
"repository/src/test/java/org/alfresco/repo/lock/LockServiceImplTest.java": [
{
"type": "Secret Keyword",
"filename": "repository/src/test/java/org/alfresco/repo/lock/LockServiceImplTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 103,
"is_secret": false
}
],
@@ -1463,7 +1483,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/model/filefolder/FileFolderServiceImplTest.java",
"hashed_secret": "9e10e28cb9c3e381c13d13fa97dd97148982cdaa",
"is_verified": false,
"line_number": 590,
"line_number": 595,
"is_secret": false
}
],
@@ -1473,7 +1493,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/notification/NotificationServiceImplSystemTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 75,
"line_number": 74,
"is_secret": false
}
],
@@ -1483,7 +1503,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/oauth1/OAuth1CredentialsStoreServiceTest.java",
"hashed_secret": "c60646de4c4893cf860a12ecb7ba4f5317b1a1d0",
"is_verified": false,
"line_number": 62,
"line_number": 61,
"is_secret": false
},
{
@@ -1491,7 +1511,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/oauth1/OAuth1CredentialsStoreServiceTest.java",
"hashed_secret": "c60646de4c4893cf860a12ecb7ba4f5317b1a1d0",
"is_verified": false,
"line_number": 62,
"line_number": 61,
"is_secret": false
},
{
@@ -1499,7 +1519,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/oauth1/OAuth1CredentialsStoreServiceTest.java",
"hashed_secret": "ad8a621976e9a19cc78af501a84638a04fca9b83",
"is_verified": false,
"line_number": 66,
"line_number": 65,
"is_secret": false
}
],
@@ -1509,7 +1529,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/oauth2/OAuth2CredentialsStoreServiceTest.java",
"hashed_secret": "c60646de4c4893cf860a12ecb7ba4f5317b1a1d0",
"is_verified": false,
"line_number": 64,
"line_number": 70,
"is_secret": false
}
],
@@ -1519,7 +1539,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/rendition2/AbstractRenditionIntegrationTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 128,
"line_number": 130,
"is_secret": false
}
],
@@ -1529,7 +1549,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/replication/ReplicationServiceIntegrationTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 1317,
"line_number": 1328,
"is_secret": false
}
],
@@ -1539,7 +1559,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/AuthenticationServiceImplTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 69,
"line_number": 68,
"is_secret": false
}
],
@@ -1549,7 +1569,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/AuthenticationTest.java",
"hashed_secret": "607e729c2f77c4e821e68e26b4c1f5a4398624e9",
"is_verified": false,
"line_number": 2121,
"line_number": 2129,
"is_secret": false
}
],
@@ -1559,7 +1579,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/AuthorizationTest.java",
"hashed_secret": "9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684",
"is_verified": false,
"line_number": 36,
"line_number": 37,
"is_secret": false
}
],
@@ -1569,7 +1589,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/CompositePasswordEncoderTest.java",
"hashed_secret": "4360136f24381dcec1d35d79fbf7dac4b54dfe97",
"is_verified": false,
"line_number": 310,
"line_number": 301,
"is_secret": false
}
],
@@ -1579,7 +1599,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceFacadeFactoryBeanTest.java",
"hashed_secret": "c4b66dbe168ad1d2b19119494a0da063801bc3bb",
"is_verified": false,
"line_number": 82,
"line_number": 83,
"is_secret": false
},
{
@@ -1587,7 +1607,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceFacadeFactoryBeanTest.java",
"hashed_secret": "c5aad1895e1dcff195992938f1bcc9954d575ac9",
"is_verified": false,
"line_number": 91,
"line_number": 92,
"is_secret": false
}
],
@@ -1597,7 +1617,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/LazyInstantiatingIdentityServiceFacadeUnitTest.java",
"hashed_secret": "12e59296b0d17c1ceb345a7adca98574c835ba24",
"is_verified": false,
"line_number": 46,
"line_number": 45,
"is_secret": false
}
],
@@ -1607,7 +1627,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/SpringBasedIdentityServiceFacadeUnitTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 47,
"line_number": 46,
"is_secret": false
}
],
@@ -1627,7 +1647,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/transfer/HttpClientTransmitterImplTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 73,
"line_number": 75,
"is_secret": false
}
],
@@ -1637,7 +1657,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/transfer/TransferServiceCallbackTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 658,
"line_number": 664,
"is_secret": false
}
],
@@ -1647,7 +1667,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/transfer/TransferServiceImplTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 202,
"line_number": 203,
"is_secret": false
},
{
@@ -1655,7 +1675,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/transfer/TransferServiceImplTest.java",
"hashed_secret": "ad782ecdac770fc6eb9a62e44f90873fb97fb26b",
"is_verified": false,
"line_number": 512,
"line_number": 513,
"is_secret": false
},
{
@@ -1663,7 +1683,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/transfer/TransferServiceImplTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 3593,
"line_number": 3687,
"is_secret": false
}
],
@@ -1673,7 +1693,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/transfer/TransferServiceToBeRefactoredTest.java",
"hashed_secret": "8be3c943b1609fffbfc51aad666d0a04adf83c9d",
"is_verified": false,
"line_number": 2510,
"line_number": 2682,
"is_secret": false
},
{
@@ -1681,7 +1701,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/transfer/TransferServiceToBeRefactoredTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 3517,
"line_number": 3772,
"is_secret": false
}
],
@@ -1691,7 +1711,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/transfer/manifest/ManifestIntegrationTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 114,
"line_number": 115,
"is_secret": false
}
],
@@ -1701,7 +1721,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/transfer/manifest/TransferManifestTest.java",
"hashed_secret": "5395ebfd174b0a5617e6f409dfbb3e064e3fdf0a",
"is_verified": false,
"line_number": 126,
"line_number": 127,
"is_secret": false
}
],
@@ -1711,7 +1731,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/version/BaseVersionStoreTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 144,
"line_number": 149,
"is_secret": false
}
],
@@ -1731,7 +1751,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/version/VersionServiceImplTest.java",
"hashed_secret": "dee17075a8c96d9c57c15d56b1f64e5abc1caf0b",
"is_verified": false,
"line_number": 121,
"line_number": 122,
"is_secret": false
}
],
@@ -1741,7 +1761,7 @@
"filename": "repository/src/test/java/org/alfresco/util/test/junitrules/AlfrescoTenant.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 73,
"line_number": 67,
"is_secret": false
}
],
@@ -1751,7 +1771,7 @@
"filename": "repository/src/test/java/org/alfresco/util/test/testusers/TestUserComponentImpl.java",
"hashed_secret": "f73e110427648014568f7144031a6d48060eab0a",
"is_verified": false,
"line_number": 63,
"line_number": 55,
"is_secret": false
}
],
@@ -1868,5 +1888,5 @@
}
]
},
"generated_at": "2025-03-17T14:00:53Z"
"generated_at": "2025-03-31T12:42:09Z"
}

View File

@@ -10,9 +10,7 @@ pre-commit install
When you make a commit then these hooks will run and check the modified files. If it makes changes then you can review them and then `git commit` again to accept the changes.
#### Code Quality
This project uses `spotless` that enforces `alfresco-formatter.xml` to ensure code quality.
The code style definition file is taken always form the `master` branch of `alfresco-community-repo`.
All downstream projects use this code style definition file as well.
This project uses `spotless` that enforces `alfresco-formatter.xml` to ensure code quality.
To check code-style violations you can use:
```bash

View File

@@ -126,3 +126,4 @@ Please use [**this guide**](CONTRIBUTING.md) to make a contribution to the proje
- [Alfresco Content Services Documentation](https://docs.alfresco.com/content-services/latest/)
- [Alfresco Platform](https://www.hyland.com/en/products/alfresco-platform)

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-amps</artifactId>
<version>25.2.0.2</version>
<version>23.3.14.2</version>
</parent>
<modules>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-community-parent</artifactId>
<version>25.2.0.2</version>
<version>23.3.14.2</version>
</parent>
<modules>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-automation-community-repo</artifactId>
<version>25.2.0.2</version>
<version>23.3.14.2</version>
</parent>
<build>
@@ -98,7 +98,7 @@
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java</artifactId>
<version>3.4.0</version>
<version>3.3.6</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>

View File

@@ -127,7 +127,7 @@ public abstract class BaseAPI
/**
* Helper method to extract the property value for the given nodeRef and property name
*
*
* @param result
* @param nodeRef
* @param propertyName

View File

@@ -28,7 +28,7 @@ package org.alfresco.rest.rm.community.model.user;
/**
* Constants for RM user capabilities
*
*
* @author Kristijan Conkas
* @since 2.6
*/

View File

@@ -40,7 +40,7 @@ import org.alfresco.rest.core.v0.BaseAPI;
/**
* The v0 REST API for nodes
*
*
* @author jcule
* @since 2.7EA1
*/
@@ -58,7 +58,7 @@ public class NodeAPI extends BaseAPI
/**
* Get the node metadata using the using the node data webscript: Document List v2 Component
*
*
* @param username
* @param password
* @param nodeId

View File

@@ -142,7 +142,7 @@ public class SearchAPI extends BaseAPI
/**
* Search as a user for nodes on site "rm" matching query, using SearchAPI.RM_DEFAULT_RECORD_FILTERS and sorted by sortby and returns the property value for the given nodeRef and property name
*
*
* @param username
* @param password
* @param query
@@ -238,7 +238,7 @@ public class SearchAPI extends BaseAPI
/**
* Helper method to extract list of names from search result.
*
*
* @param searchResult
* @return list of document or record names in search result
* @throws FileNotFoundException
@@ -249,7 +249,7 @@ public class SearchAPI extends BaseAPI
*/
/**
* Helper method to extract list of names from search result.
*
*
* @param searchResult
* @return
*/
@@ -260,7 +260,7 @@ public class SearchAPI extends BaseAPI
/**
* Helper method to extract list of property values from search result for the given nodeRef.
*
*
* @param searchResult
* @param nodeRef
* @param propertyName

View File

@@ -134,6 +134,16 @@ public class AddToHoldsBulkV1Tests extends BaseRMRestTest
.until(() -> getRestAPIFactory().getSearchAPI(null).search(searchRequest).getPagination()
.getTotalItems() == NUMBER_OF_FILES);
RestRequestQueryModel ancestorReq = getContentFromFolderAndAllSubfoldersQuery(rootFolder.getNodeRefWithoutVersion());
SearchRequest ancestorSearchRequest = new SearchRequest();
ancestorSearchRequest.setQuery(ancestorReq);
STEP("Wait until paths are indexed.");
// to improve stability on CI - seems that sometimes during big load we need to wait longer for the condition
await().atMost(120, TimeUnit.SECONDS)
.until(() -> getRestAPIFactory().getSearchAPI(null).search(ancestorSearchRequest).getPagination()
.getTotalItems() == NUMBER_OF_FILES);
holdBulkOperation = HoldBulkOperation.builder()
.query(queryReq)
.op(HoldBulkOperationType.ADD).build();

View File

@@ -23,7 +23,7 @@ Recorded content can be explicitly destroyed whilst maintaining the original nod
* License: Alfresco Community
* Issue Tracker Link: [JIRA RM](https://issues.alfresco.com/jira/projects/RM/summary)
* Contribution Model: Alfresco Closed Source
* Documentation: [docs.alfresco.com (Records Management)](https://support.hyland.com/r/Alfresco/Alfresco-Governance-Services-Community-Edition/23.4/Alfresco-Governance-Services-Community-Edition/Introduction)
* Documentation: [docs.alfresco.com (Records Management)](http://docs.alfresco.com/rm2.4/concepts/welcome-rm.html)
***

View File

@@ -21,18 +21,18 @@ RM is split into two main parts - a repository integration and a Share integrati
* [Community License](../LICENSE.txt)
* [Enterprise License](../../rm-enterprise/LICENSE.txt) (this file will only be present in clones of the Enterprise repository)
* [Issue Tracker Link](https://issues.alfresco.com/jira/projects/RM)
* [Community Documentation Link](https://support.hyland.com/r/Alfresco/Alfresco-Governance-Services-Community-Edition/23.4/Alfresco-Governance-Services-Community-Edition/Introduction)
* [Enterprise Documentation Link](https://support.hyland.com/r/Alfresco/Alfresco-Governance-Services/23.4/Alfresco-Governance-Services/Introduction)
* [Community Documentation Link](http://docs.alfresco.com/rm-community/concepts/welcome-rm.html)
* [Enterprise Documentation Link](http://docs.alfresco.com/rm/concepts/welcome-rm.html)
* [Contribution Model](../../CONTRIBUTING.md)
***
### Prerequisite Knowledge
An understanding of Alfresco Content Services is assumed. The following pages from the [developer documentation](https://support.hyland.com/r/Alfresco/Alfresco-Content-Services-Community-Edition/23.4/Alfresco-Content-Services-Community-Edition/Develop) give useful background information:
An understanding of Alfresco Content Services is assumed. The following pages from the [developer documentation](http://docs.alfresco.com/5.2/concepts/dev-for-developers.html) give useful background information:
* [ACS Architecture](https://support.hyland.com/r/Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/Software-Architecture)
* [Platform Extensions](https://support.hyland.com/r/Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/Extension-Points-Overview)
* [Share Extensions](https://support.hyland.com/r/Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/Share-UI-Extension-Points)
* [ACS Architecture](http://docs.alfresco.com/5.2/concepts/dev-arch-overview.html)
* [Platform Extensions](http://docs.alfresco.com/5.2/concepts/dev-platform-extensions.html)
* [Share Extensions](http://docs.alfresco.com/5.2/concepts/dev-extensions-share.html)
***
@@ -44,12 +44,12 @@ The RM Share module communicates with the repository module via REST APIs. Inter
* A DAO layer responsible for CRUD operations against the database.
#### REST API
The REST API endpoints fall into two main types - v0 (Webscripts) and v1. The [v0 API](https://support.hyland.com/r/Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/In-Process-Platform-Extension-Points/Web-Scripts) is older and not recommended for integrations. The [v1 API](https://support.hyland.com/r/Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/REST-API-Guide) is newer but isn't yet feature complete. If you are running RM locally then the GS API Explorer will be available at [this link](http://localhost:8080/gs-api-explorer/).
The REST API endpoints fall into two main types - v0 (Webscripts) and v1. The [v0 API](http://docs.alfresco.com/5.2/references/dev-extension-points-webscripts.html) is older and not recommended for integrations. The [v1 API](http://docs.alfresco.com/5.1/pra/1/topics/pra-welcome-aara.html) is newer but isn't yet feature complete. If you are running RM locally then the GS API Explorer will be available at [this link](http://localhost:8080/gs-api-explorer/).
Internally the GS v1 REST API is built on the [Alfresco v1 REST API framework](https://community.alfresco.com/community/ecm/blog/2016/10/11/v1-rest-api-part-1-introduction). It aims to be consistent with this in terms of behaviour and naming.
#### Java Public API
The Java service layer is fronted by a [Java Public API](https://support.hyland.com/r/Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/Reference/Java-Foundation-API), which we will ensure backward compatible with previous releases. Before we remove any methods there will first be a release containing that method deprecated to allow third party integrations to migrate to a new method. The Java Public API also includes a set of POJO objects which are needed to communicate with the services. It is easy to identify classes that are part of the Java Public API as they are annotated `@AlfrescoPublicApi`.
The Java service layer is fronted by a [Java Public API](http://docs.alfresco.com/5.2/concepts/java-public-api-list.html), which we will ensure backward compatible with previous releases. Before we remove any methods there will first be a release containing that method deprecated to allow third party integrations to migrate to a new method. The Java Public API also includes a set of POJO objects which are needed to communicate with the services. It is easy to identify classes that are part of the Java Public API as they are annotated `@AlfrescoPublicApi`.
Each Java service will have at least four beans defined for it:
@@ -61,7 +61,7 @@ Each Java service will have at least four beans defined for it:
#### DAOs
The DAOs are not part of the Java Public API, but handle CRUD operations against RM stored data. We have some custom queries to improve performance for particularly heavy operations.
We use standard Alfresco [data modelling](https://support.hyland.com/r/Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/In-Process-Platform-Extension-Points/Content-Model-Extension-Point) to store RM metadata. We extend the [Alfresco patching mechanism](https://support.hyland.com/r/Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/In-Process-Platform-Extension-Points/Patches) to provide community and enterprise schema upgrades.
We use standard Alfresco [data modelling](http://docs.alfresco.com/5.2/references/dev-extension-points-content-model.html) to store RM metadata. We extend the [Alfresco patching mechanism](http://docs.alfresco.com/5.2/references/dev-extension-points-patch.html) to provide community and enterprise schema upgrades.
***

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-community-parent</artifactId>
<version>25.2.0.2</version>
<version>23.3.14.2</version>
</parent>
<modules>

View File

@@ -1,3 +1,3 @@
SOLR6_TAG=2.0.15
POSTGRES_TAG=16.6
SOLR6_TAG=2.0.11
POSTGRES_TAG=15.4
ACTIVEMQ_TAG=5.18.3-jre17-rockylinux8

View File

@@ -119,6 +119,11 @@ rm.patch.v35.holdNewChildAssocPatch.batchSize=1000
rm.haspermissionmap.read=Read
rm.haspermissionmap.write=WriteProperties,AddChildren,ReadContent
# Extended Permissions
# Enable matching the given username with the correct casing username when retrieving an IPR group.
# Only needs to be used if there are owners that don't have the username in the correct casing.
rm.extendedSecurity.enableUsernameNormalization=false
#
# Extended auto-version behaviour. If true and other auto-version properties are satisfied, then
# a document will be auto-versioned when its type is changed.

View File

@@ -33,9 +33,9 @@ function main()
{
// Log debug message
logger.log("Record " + node.name + " has been superseded. Sending notification");
// Send notification
rmService.sendSupersededNotification(node);
}
main();
main();

View File

@@ -35,4 +35,4 @@ function main()
logger.log("Sample RM script. No-op run on node " + node.name);
}
main();
main();

View File

@@ -110,4 +110,4 @@
${transferNode.properties["declaredOn"]?string(message("file.report.date.format"))?html}
</#if>
</div>
</#macro>
</#macro>

View File

@@ -611,6 +611,7 @@
<property name="authorityService" ref="authorityService"/>
<property name="permissionService" ref="permissionService"/>
<property name="transactionService" ref="transactionService"/>
<property name="enableUsernameNormalization" value="${rm.extendedSecurity.enableUsernameNormalization}" />
</bean>
<bean id="ExtendedSecurityService" class="org.springframework.aop.framework.ProxyFactoryBean">

View File

@@ -24,4 +24,4 @@
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L%
-->
<#include "classes.get.json.ftl">
<#include "classes.get.json.ftl">

View File

@@ -24,4 +24,4 @@
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L%
-->
<#include "properties.get.json.ftl">
<#include "properties.get.json.ftl">

View File

@@ -24,4 +24,4 @@
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L%
-->
{}
{}

View File

@@ -24,4 +24,4 @@
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L%
-->
{}
{}

View File

@@ -27,4 +27,4 @@
{
"responsestatus" : "${responsestatus?json_string}",
"message" : "${message?json_string}"
}
}

View File

@@ -24,4 +24,4 @@
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L%
-->
<#include "actionconditiondefinitions.get.json.ftl">
<#include "actionconditiondefinitions.get.json.ftl">

View File

@@ -24,4 +24,4 @@
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L%
-->
<#include "actiondefinitions.get.json.ftl">
<#include "actiondefinitions.get.json.ftl">

View File

@@ -27,4 +27,4 @@
{
"responsestatus" : "${responsestatus?json_string}",
"message" : "${message?json_string}"
}
}

View File

@@ -99,10 +99,10 @@ function main()
{
version = versionHistory[i];
p = getPerson(version.creator);
recordNodeRef = version.getVersionProperty("recordNodeRef");
isRecordedVersionDestroyed = version.getVersionProperty("RecordedVersionDestroyed");
versions[versions.length] =
{
nodeRef: version.node.nodeRef.toString(),
@@ -148,4 +148,4 @@ function main()
model.versions = versions;
}
main();
main();

View File

@@ -45,4 +45,4 @@
}<#if (v_has_next)>,</#if>
</#list>
]
</#escape>
</#escape>

View File

@@ -30,4 +30,4 @@
{
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
}
</#escape>
</#escape>

View File

@@ -30,4 +30,4 @@
{
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
}
</#escape>
</#escape>

View File

@@ -30,4 +30,4 @@
{
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
}
</#escape>
</#escape>

View File

@@ -41,4 +41,4 @@ function existsTitle(caveatConfig, title)
}
return alreadyExists;
}
}

View File

@@ -26,19 +26,19 @@
*/
/**
* Delete the rm constraint list
*/
*/
function main()
{
// Get the shortname
var shortName = url.extension;
// Get the constraint
var constraint = caveatConfig.getConstraint(shortName);
if (constraint != null)
{
caveatConfig.deleteConstraintList(shortName);
// Pass the constraint name to the template
model.constraintName = shortName;
}
@@ -50,4 +50,4 @@ function main()
}
}
main();
main();

View File

@@ -26,15 +26,15 @@
*/
/**
* Get the detail of the rm constraint
*/
*/
function main()
{
// Get the shortname
var shortName = url.extension;
// Get the constraint
var constraint = caveatConfig.getConstraint(shortName);
if (constraint != null)
{
// Pass the constraint detail to the template
@@ -48,4 +48,4 @@ function main()
}
}
main();
main();

View File

@@ -31,4 +31,4 @@
"data": <@rmconstraintLib.constraintJSON constraint=constraint />
}
</#escape>
</#escape>

View File

@@ -34,4 +34,4 @@
"message" : "${msg(errorMessage, title)}"
</#if>
}
</#escape>
</#escape>

View File

@@ -26,14 +26,14 @@
*/
/**
* List the names of the rm constraints
*/
*/
function main()
{
var wel = true;
var withEmptyLists = args["withEmptyLists"];
// Pass the information to the template
if (withEmptyLists != null && withEmptyLists === 'false')
{
{
model.constraints = caveatConfig.constraintsWithoutEmptyList;
}
else
@@ -42,4 +42,4 @@ function main()
}
}
main();
main();

View File

@@ -34,4 +34,4 @@
"message" : "${msg(errorMessage, title)}"
</#if>
}
</#escape>
</#escape>

View File

@@ -78,4 +78,4 @@ function main()
model.constraint = caveatConfig.createConstraint(name, title, allowedValues);
}
main();
main();

View File

@@ -26,15 +26,15 @@
*/
/**
* Get the detail of the rm constraint
*/
*/
function main()
{
var urlElements = url.extension.split("/");
var shortName = urlElements[0];
// Get the constraint
var constraint = caveatConfig.getConstraint(shortName);
if (constraint != null)
{
// Pass the constraint detail to the template
@@ -48,4 +48,4 @@ function main()
}
}
main();
main();

View File

@@ -30,4 +30,4 @@
{
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
}
</#escape>
</#escape>

View File

@@ -30,4 +30,4 @@
{
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
}
</#escape>
</#escape>

View File

@@ -26,33 +26,33 @@
*/
/**
* Update the details of a value in an rm constraint
*/
*/
function main()
{
var urlElements = url.extension.split("/");
var shortName = urlElements[0];
var values = null;
if (json.has("values"))
{
values = json.getJSONArray("values");
}
if (values == null)
{
status.setCode(status.STATUS_BAD_REQUEST, "Values missing");
return;
}
// Get the constraint
var constraint = caveatConfig.getConstraint(shortName);
if (constraint != null)
{
constraint.updateValues(values);
constraint.updateValues(values);
model.constraint = caveatConfig.getConstraint(shortName);
model.constraintName = shortName;
model.constraintName = shortName;
}
else
{
@@ -62,4 +62,4 @@ function main()
}
}
main();
main();

View File

@@ -26,13 +26,13 @@
*/
/**
* Delete the rm constraint list
*/
*/
function main()
{
var urlElements = url.extension.split("/");
var shortName = urlElements[0];
var authorityName = urlElements[1];
if (shortName == null)
{
status.setCode(status.STATUS_BAD_REQUEST, "shortName missing");
@@ -43,16 +43,16 @@ function main()
status.setCode(status.STATUS_BAD_REQUEST, "value missing");
return;
}
// Get the constraint
var constraint = caveatConfig.getConstraint(shortName);
if (constraint != null)
{
caveatConfig.deleteRMConstraintListValue(shortName, valueName);
var constraint = caveatConfig.getConstraint(shortName);
// Pass the constraint name to the template
model.constraint = constraint;
}
@@ -64,4 +64,4 @@ function main()
}
}
main();
main();

View File

@@ -30,4 +30,4 @@
{
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
}
</#escape>
</#escape>

View File

@@ -26,28 +26,28 @@
*/
/**
* Get the detail of the rm constraint
*/
*/
function main()
{
var urlElements = url.extension.split("/");
var shortName = decodeURIComponent(urlElements[0]);
var valueName = decodeURIComponent(urlElements[2])
// Get the constraint
var constraint = caveatConfig.getConstraint(shortName);
if (constraint != null)
{
// Pass the constraint detail to the template
var value = constraint.getValue(valueName);
if(value == null)
{
// Return 404
status.setCode(404, "Constraint List: " + shortName + " value: " + valueName + "does not exist");
return;
}
model.value = value;
model.constraint = constraint;
}
@@ -59,4 +59,4 @@ function main()
}
}
main();
main();

View File

@@ -30,4 +30,4 @@
{
"data": <@rmconstraintLib.constraintWithValueJSON constraint=constraint value=value/>
}
</#escape>
</#escape>

View File

@@ -24,4 +24,4 @@
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L%
-->
{}
{}

View File

@@ -31,4 +31,4 @@
"data":
<@rmEventLib.eventJSON event=event />
}
</#escape>
</#escape>

View File

@@ -34,4 +34,5 @@
"eventType":"${event.type}"
}
</#escape>
</#macro>
</#macro>

View File

@@ -31,4 +31,4 @@
"data":
<@rmEventLib.eventJSON event=event />
}
</#escape>
</#escape>

View File

@@ -32,4 +32,4 @@
<@rmEventLib.eventJSON event=event />
}
}
</#escape>
</#escape>

View File

@@ -24,4 +24,4 @@
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L%
-->
{}
{}

View File

@@ -31,4 +31,4 @@
"data":
<@rmRoleLib.roleJSON role=role />
}
</#escape>
</#escape>

View File

@@ -31,4 +31,4 @@
"data":
<@rmRoleLib.roleJSON role=role />
}
</#escape>
</#escape>

View File

@@ -31,4 +31,4 @@
"data":
<@rmRoleLib.roleJSON role=role />
}
</#escape>
</#escape>

View File

@@ -28,4 +28,4 @@
{
"success": ${success?string}
}
</#escape>
</#escape>

View File

@@ -28,4 +28,4 @@
{
"success": ${success?string}
}
</#escape>
</#escape>

View File

@@ -28,4 +28,4 @@
{
"success": ${success?string}
}
</#escape>
</#escape>

View File

@@ -31,4 +31,4 @@
"customProperty": "${propertyqname}"
}
}
</#escape>
</#escape>

View File

@@ -30,4 +30,4 @@
"url": "${url!""}",
"message": "${errorMessage!""}"
}
</#escape>
</#escape>

View File

@@ -30,4 +30,4 @@
"url": "${url!""}",
"message": "${errorMessage!""}"
}
</#escape>
</#escape>

View File

@@ -28,4 +28,4 @@
{
"success": ${success?string}
}
</#escape>
</#escape>

View File

@@ -29,4 +29,4 @@
"refId": "${refId}",
"url": "${url}"
}
</#escape>
</#escape>

View File

@@ -29,4 +29,4 @@
"success": ${success?string},
"message": "${message}"
}
</#escape>
</#escape>

View File

@@ -24,4 +24,4 @@
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L%
-->
<#include "dispositionschedule.get.json.ftl">
<#include "dispositionschedule.get.json.ftl">

View File

@@ -42,4 +42,4 @@
"eligibleOnFirstCompleteEvent": ${action.eligibleOnFirstCompleteEvent?string}
}
</#escape>
</#macro>
</#macro>

Some files were not shown because too many files have changed in this diff Show More