Commit Graph

512 Commits

Author SHA1 Message Date
MichalKinas
f737c3ef3c ACS-5506 Test fix 2024-02-08 11:39:17 +01:00
MichalKinas
5e85b8149b ACS-5506 Cleanup and test fixes 2024-02-08 11:12:30 +01:00
MichalKinas
11030f52fa ACS-5506 Add temporary logging 2024-02-06 21:15:14 +01:00
MichalKinas
c537166f68 ACS-5506 Add temporary logging 2024-02-06 20:36:42 +01:00
tiagosalvado10
71b69529c6 [MNT-24072] Retain users/groups (who are already exist and are part of AUTH.ALF zone) so parent associations can be created (#2414)
* [MNT-24072] Retain existent users and groups so parent associations can be created

* [MNT-24072] Using person/authority 'exists' methods instead

* [MNT-24072] Added code to rezone users/groups (who already exist and are part of AUTH.ALF zone) that have parent associations to create

* [MNT-24072] PMD scan changes

* [MNT-24072] Added a validation to prevent an authority from being added to zones where already is
2024-02-06 11:58:23 +00:00
MichalKinas
9ffe27f028 ACS-5506 Update properties correctly 2024-02-06 11:39:45 +01:00
MichalKinas
197acb3a7b ACS-5506 Add allowed methods 2024-02-05 12:55:37 +01:00
MichalKinas
12d1ecdefa ACS-5506 CR fixes applied 2024-02-02 18:22:14 +01:00
MichalKinas
605c3a6ccd ACS-5506 Add missing annotations, hasSubgroups not required 2024-01-31 00:51:45 +01:00
MichalKinas
d3c7342f05 ACS-5506 Description handling rework 2024-01-31 00:08:26 +01:00
MichalKinas
ecfeb77fb0 ACS-5506 Add PMD fixes 2024-01-30 15:26:39 +01:00
MichalKinas
925a4f4a6a ACS-5506 Add properties to authority service 2024-01-30 15:26:39 +01:00
Eva Vasques
d62423f378 [MNT-24085] - Fixed ACL Updater job is updating the cm:modifier details (#2406)
* Disabled audibled and versionable behaviour on add and remove pending acl aspect and properties
* Added validations to the unit test to assert modification date is not changed
2024-01-18 09:36:30 +00:00
Maciej Pichura
835aba686b ACS-6406: Bumping down version.schema to 19100 for ACS 23.2 (#2396) 2024-01-03 17:51:01 +01:00
Damian Ujma
06c35ea379 MNT-23880 Integrate the Alfresco Admin Console with the IDS (#2362)
* MNT-23880 Integrate IDS with the Admin Console

* MNT-23880 Remove diamond expressions

* MNT-23880 Refactor

* MNT-23880 Move requesting authentication

* MNT-23880 Fix comment

* MNT-23880 Check if AdminConsoleAuthenticator is active

* MNT-23880 Fix DefaultAdminConsoleAuthenticator + PMD issues

* MNT-23880 Fix PMD issues

* MNT-23880 Refactor

* MNT-23880 Refactor RemoteUserAuthenticatorFactory
2023-12-14 11:30:53 +01:00
Damian Ujma
a660109b73 ACS-6303 Add seamless ACS JIT user provisioning (#2336)
* ACS-6303 Implement JIT User Provisioning

* ACS-6303 Fix AuthenticationsTest

* ACS-6303 Add IT test

* ACS-6303 Fix syntax

* ACS-6303 Revert local change

* ACS-6303 Update IDS version

* ACS-6303 Fix JITProvisioning IT test execution

* ACS-6303 Add new IT scenario

* ACS-6303 Remove AppContext05TestSuite-setup.sh + optimize calling UserInfoEndpoint

* ACS-6303 Fix PMD issues

* ACS-6303 Fix property name

* ACS-6303 Change getUserInfo return type

* Apply suggestions from code review

Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>

* ACS-6303 Move var declaration + use lambda+diamond operator

* ACS-6303 Add a small optimisation

---------

Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>
2023-11-30 12:50:24 +01:00
Domenico Sibilio
9f4ec29f9c ACS-6329 Move generate-hazelcast-config.py to community-repo (#2328) 2023-11-20 16:20:08 +01:00
Tom Page
63ef313ad5 ACS-5993 Add classpath support to PMD. (#2301) 2023-11-17 11:42:33 +00:00
Eva Vasques
a3ccafb035 MNT-23927 Handle JsonMappingException and JsonGenerationException (#2289)
* Throw JSON exceptions as IO exceptions to be properly handled
* Log null prop keys
* Fix test to have the mocked response different than null
2023-11-08 14:58:08 +00:00
Alfresco Build
19840563e4 ACS-6188 Remove usage of deprecated constructors (#2295)
* Apply org.openrewrite.staticanalysis.PrimitiveWrapperClassConstructorToValueOf recipe

* ACS-6188 Update copyright headers

* ACS-6188 Update copyright header

* ACS-6188 Clean-up

---------

Co-authored-by: dsibilio <24280982+dsibilio@users.noreply.github.com>
Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>
2023-11-08 13:05:00 +01:00
tiagosalvado10
3bd3689d80 [MNT-23478] AsynchronousExtractor - Fix rendition obtaining (#2288)
* [MNT-23478] AsynchronousExtractor - Fix rendition obtaining

* [MNT-23478] Only use default options if no rendition is found. PMD scan change.
2023-11-06 13:06:52 +00:00
tiagosalvado10
964b09251b [MNT-23152] Changed the way how facet pivot value is parsed to prevent error and allow pivots to be built (#2290)
* [MNT-23152] Changed the way how facet pivot value is parsed to prevent error and allow pivots to be built
2023-11-06 10:56:51 +00:00
mpichura
93bee49246 Update Master branch to 23.2.0 2023-10-31 19:37:12 +01:00
Piotr Żurek
582fc8ec2d ACS-6121 MNT-24007 Use issuer URI from the IdP (#2250) 2023-10-13 14:48:35 +02:00
Marcin Strankowski
eebacd0a5f MNT-23891: Change configuration for UpgradePasswordHashJob to one recommended, it has been tested locally and indeed runs proper code. A wrong class was called for the good parameters given, probably a copy/paste typo. (#2234) 2023-10-10 12:35:55 +02:00
Manish Kumar
637cdd4f3b [ACS-4778] Added usr:user nodeType for exclusion in property file (#2232) 2023-10-09 14:39:18 +05:30
Krystian Dabrowski
395d7ded57 ACS-5471: Secondary path support (#2213)
* ACS-5471: Secondary path support

* ACS-5471: Secondary path support

* ACS-5471: Secondary path support

* ACS-5471: Secondary path support

* ACS-5471: Secondary path support

* ACS-5471: Secondary path support

* ACS-5471: Secondary path support

* ACS-5471: Secondary path support
- fixed test method name

* ACS-5471: Secondary path support
- trying to fix failing on CI DispositionScheduleLinkedRecordsTest

* ACS-5471: Secondary path support
- trying to fix failing on CI DispositionScheduleLinkedRecordsTest

* ACS-5471: Secondary path support
- trying to fix failing CI due to DispositionScheduleLinkedRecordsTest

* ACS-5471: Test adjustment to follow same behavior as introduced by ACS-5325

* ACS-5471: Fixing docker issues

---------

Co-authored-by: mpichura <maciej.pichura@hyland.com>
2023-10-06 15:36:46 +02:00
Damian Ujma
456adc2aa2 ACS-5325 Invoke required policy (#2215)
---------

Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>
2023-10-03 13:28:15 +02:00
Piotr Żurek
d1585e4578 ACS-6057 Gytheio removal (#2206) 2023-09-25 17:31:36 +02:00
evasques
ddd0fac97e MNT-23953 - PropTablesCleaner v3 Skip IDs (#2181)
* Configure v3 to skip ids per table. Added unit test
2023-09-06 17:13:36 +01:00
dependabot[bot]
08e67aa004 Bump org.aspectj:aspectjrt from 1.9.19 to 1.9.20.1 (#2176)
* Bump org.aspectj:aspectjrt from 1.9.19 to 1.9.20.1

Bumps [org.aspectj:aspectjrt](https://github.com/eclipse/org.aspectj) from 1.9.19 to 1.9.20.1.
- [Release notes](https://github.com/eclipse/org.aspectj/releases)
- [Commits](https://github.com/eclipse/org.aspectj/commits)

---
updated-dependencies:
- dependency-name: org.aspectj:aspectjrt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Get rid of the aspectj warnings

* Switch to the maintained aspectj-maven-plugin

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pzurek <Piotr.Zurek@hyland.com>
2023-09-05 14:01:06 +02:00
Piyush Joshi
0800c0e42a Merge pull request #2164 from Alfresco/MNT-23107_NullPointer_ScriptLocation
[MNT-23107] The scriptLocation property is not picked up when set in a bean definition
2023-09-01 15:46:49 +05:30
Krystian Dabrowski
9207fde808 ACS-5451: Toggle for direct Event sending (#2156)
* ACS-5451: Toggle for direct Event sending
- fixing failing tests in enterprise-repo
2023-08-31 12:27:33 +02:00
pjoshi31
03fe795fba Added null check 2023-08-30 06:13:41 +05:30
pjoshi31
557292982a Added null check 2023-08-29 18:46:00 +05:30
Piotr Żurek
b884580688 ACS-5770 Restore activmq Camel support (#2159) 2023-08-25 12:19:18 +02:00
Krystian Dabrowski
a483159269 ACS-5706: ES: Sorting by mimetype, size and modifier doesn't work (#2146)
* ACS-5706: ES: Sorting by cm:content.mimetype, cm:content.size and cm:modifier doesn't work
2023-08-24 18:04:28 +02:00
kcichonczyk
72ad6232f9 [ACS-5856] bump jakarta-transaction-api version, replace javax.transaction with jakarta.transaction imports 2023-08-24 09:06:53 +02:00
pardhukota-pk
468003d798 Feature/acs 4880 (#2157)
* update hazelcast merge-policy

* update hazelcast merge-policy

---------

Co-authored-by: Kota Pardhu <Kota.Pardhu@hyland.com>
2023-08-23 20:37:35 +05:30
pardhukota-pk
c7fc821b74 update hazelcast merge-policy (#2151)
Co-authored-by: Kota Pardhu <Kota.Pardhu@hyland.com>
2023-08-23 11:22:59 +05:30
Piyush Joshi
b700e7518b Merge pull request #2138 from Alfresco/MNT-23476_UNZIP_FILENAME_ACCENT
MNT-23476 Unable to unzip files in Share if it contains a document with a filename containing an accent
2023-08-22 13:36:09 +05:30
Krystian Dabrowski
e8a27dd68d ACS-5451: Toggle for direct Event sending (#2082)
* ACS-5451: Toggle for direct Event sending
- added new bean allowing direct event sending and a toggle (switch) property
- refactored EventGenerator logic related with creating and sending events
- refactored consolidators - renamed EventConsolidator -> NodeEventConsolidator, and moved common logic to new abstract EventConsolidator
- added integration tests
- added JavaDoc
- refactored events related tests
2023-08-22 08:30:05 +02:00
Kacper Magdziarz
d10cbc2ad8 [ACS-5805] Remove common switch form MTLS (#2149) 2023-08-21 10:30:04 +02:00
Kacper Magdziarz
6d33166e24 [ACS-5805] Split configuration for Transform and Shared File Store (#2142)
* [ACS-5805] Split configuration for Transform and Shared File Store and create common switch for MTLS.

* [ACS-5805] Add explicit error logging.
2023-08-17 14:08:23 +02:00
tiagosalvado10
27186a56b8 [MNT-23509] Add lock callback to refreshLock method (#2030)
* [MNT-23509] Add lock callback to refreshLock method

* [MNT-23509] Added unit test

* [MNT-23509] PMD scan improvements
2023-08-16 17:34:54 +01:00
pjoshi31
3a7dd08122 Changing accent character to english alphabet 2023-08-16 18:17:07 +05:30
pjoshi31
a3dffd36fe Changing accent character to english alphabet 2023-08-16 18:03:36 +05:30
pjoshi31
cb6257bf88 unrecogonized characters patterns replaced with underscore 2023-08-16 17:12:35 +05:30
Piotr Żurek
af5738c7c2 ACS-5659 Jakarta Migration (#1983)
Co-authored-by: kcichonczyk <kamil.cichonczyk@hyland.com>
Co-authored-by: Sara Aspery <sara.aspery@alfresco.com>
Co-authored-by: kcichonczyk <88378534+kcichonczyk@users.noreply.github.com>
Co-authored-by: Kacper Magdziarz <95610011+kmagdziarz@users.noreply.github.com>
Co-authored-by: kmagdziarz <Kacper.Magdziarz@hyland.com>
Co-authored-by: Marcin Strankowski <74721865+mstrankowski@users.noreply.github.com>
2023-08-09 17:48:47 +02:00
canpan14
48e4b0b48f Add file name to DirectAccessUrl (#2081)
* Add file name to DirectAccessUrl

This will cause it to be returned in the response

* Only set file name if direct url is enabled

* Fix bad mock and protect null pointer

* Update data-model/src/main/java/org/alfresco/service/cmr/repository/DirectAccessUrl.java

null safe comparison

Co-authored-by: Piotr Żurek <Piotr.Zurek@hyland.com>

---------

Co-authored-by: Piotr Żurek <Piotr.Zurek@hyland.com>
2023-08-09 14:58:45 +02:00