Commit Graph

11502 Commits

Author SHA1 Message Date
Andrei Zapodeanu
55ac90be3c REPO-4155 (#342)
6.2: MNT-20296 Notification Email when 'following' a user displays incorrectly in Japanese
2019-02-11 16:25:56 +02:00
alfresco-build
b081937092 [maven-release-plugin] prepare for next development iteration 2019-02-08 08:41:24 +00:00
alfresco-build
88b23a4acb [maven-release-plugin] prepare release alfresco-repository-7.47 2019-02-08 08:41:17 +00:00
dependabot[bot]
f1fc7f2618 Bump license-maven-plugin from 1.16 to 1.17 (#341) 2019-02-06 09:20:41 +00:00
Ancuta Morarasu
3f17503507 Fix typo for pdf mimetype 2019-02-04 16:33:38 +02:00
Alex Mukha
d4c5d68411 Remove bsh lib as not used (#338) 2019-02-04 11:56:54 +00:00
Cristian Turlica
d9e944f8a7 REPO-4102: MNT-20213: Unable to run using Java 8 (#337)
- explicit cast for compatibility with covariant return type on JDK 9's ByteBuffer
2019-02-04 12:02:43 +02:00
eknizat
28e4df5a1a REPO-3962: Remove context refresh from testOpenCloseOpenCloseFull (#336)
* REPO-3962: Remove context refresh from testOpenCloseOpenCloseFull
* The refreshing of minimal context does not work with Spring version greater than 5.1.0
* We don't need to test refreshing the core application context as that never happens, only the subsystem application contexts are refreshed

* REPO-3962: Add test for application context refresh
* Test is disabled for now until the bug in Spring is fixed
2019-02-04 10:02:26 +00:00
eliaporciani
4ce947ab05 SEARCH-799 filtered results db (#290)
* [SEARCH-799] Added WeakFilteringSetResult class. This type of filtering does not concerns permissions and allows to access to the tolal number of elements.

* [SEARCH-799] Added nested filter in. The inner one is for permission filtering and the outer one if for count filtering.
The change concerns the case of optimisePermissionsCheck=true.

* [SEARCH-799] Implemented double filtering when optimizePermission=false. Code refactoring.

* [SEARCH-799] Fix problem in resultSet.length() resulted in org.alfresco.opencmis.CMISTest#testQueryNodesWithCorruptedIndexes test.

* [SEARCH-799] Added unit test for pagination result.

* Syntax fixes.

* Removed import *.

* Set back system user as current user.

* [SEARCH-799] added Javadoc and some useful description in test methods.

* [SEARCH-799] Added javadoc

* [SEARCH-799] Code refactoring and some comments.

* [SEARCH-799] Code refactoring.
2019-01-28 19:33:42 +01:00
dependabot[bot]
b6ab9be731 Bump httpclient-cache from 4.5.6 to 4.5.7 (#334) 2019-01-28 09:38:55 +00:00
alfresco-build
c360ea7028 [maven-release-plugin] prepare for next development iteration 2019-01-23 20:47:45 +00:00
alfresco-build
59d715b707 [maven-release-plugin] prepare release alfresco-repository-7.46 2019-01-23 20:47:38 +00:00
Ancuta Morarasu
9f739a53d5 REPO-4132: User 'System' cleanup follow-up (Revert changes in REPO-3743) (#330)
* Reverted changes for REPO-3743 #276
* Changes in PersonService to ensure a consistent behaviour for the System case:
- PersonService.createPerson() throws now an AlfrescoRuntimeException when trying to create a person for the username 'System'
- PersonService.getPerson("System") throws NoSuchPersonException
- PersonService.personExists("System") returns false
* Remove StandardRenditionLocationResolverTest tests from the suite - the RenditionService deprecated, so related tests won't be maintained
* Fixes for the System user case in ImapService
* Update alfresco-data-model 8.27
2019-01-23 20:45:01 +02:00
alfresco-build
e93effbf13 [maven-release-plugin] prepare for next development iteration 2019-01-19 17:12:28 +00:00
alfresco-build
5e084211c4 [maven-release-plugin] prepare release alfresco-repository-7.45 2019-01-19 17:12:21 +00:00
dependabot[bot]
03f528b967 Bump dependency.camel.version from 2.23.0 to 2.23.1 (#332)
Bumps `dependency.camel.version` from 2.23.0 to 2.23.1.

Updates `camel-spring` from 2.23.0 to 2.23.1

Updates `camel-amqp` from 2.23.0 to 2.23.1

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-19 16:33:51 +00:00
dependabot[bot]
9f51ee1f09 Bump alfresco-data-model from 8.25 to 8.26 (#331)
Bumps [alfresco-data-model](https://github.com/Alfresco/alfresco-data-model) from 8.25 to 8.26.
- [Release notes](https://github.com/Alfresco/alfresco-data-model/releases)
- [Commits](https://github.com/Alfresco/alfresco-data-model/compare/8.25...8.26)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-19 16:33:32 +00:00
Alex Mukha
5cfb494b74 Update core 7.9 (#333) 2019-01-19 16:05:38 +00:00
Alex Mukha
e7f7b3c38e Add joda-time dependency (#328)
Also upgrades it to 2.10.1
2019-01-18 16:28:15 +00:00
Alex Mukha
9e14bc5ca1 Add JTA dependency (#326) 2019-01-18 16:11:04 +00:00
Ancuta Morarasu
3b7849bbdb ACE-5943 / REPO-4132: Rejecting a record in RM doesn't work with 6.1.0-RC4 (#323)
The reject action in RM triggers an email notification from repo. Code in EMailNotificationProvider.buildTemplateModel(...) requests for the person associated with the current authenticated user.
Potentially another bug in Repository.getPerson() (next call in the stack trace), considers the current user to be AuthenticationUtil.getRunAsUser(), instead of the fully authenticated one. This calls, down the line, for the retrieval of the person for the username System, which ends up in trying to actually create the user System (which is not permitted), hence the exception.

The most simple (and safe) fix was to add a check for username System, in the low-level method PersonServiceImpl.getPersonImpl(...), and return null or throw NoSuchPersonException.

2 tests were added, for the Person service and for the email notification generation.
2019-01-17 13:28:13 +00:00
Alex Mukha
ec09aaae6f Revert "Bump dependency.keycloak.version from 4.5.0.Final to 4.6.0.Final (#275)"
This reverts commit 9caa6bd5c5.
2019-01-16 18:52:59 +00:00
Alex Mukha
71f10bd282 Revert "Bump dependency.keycloak.version from 4.6.0.Final to 4.8.2.Final (#315)"
This reverts commit 42ea54dbbd.
2019-01-16 18:52:46 +00:00
dependabot[bot]
42ea54dbbd Bump dependency.keycloak.version from 4.6.0.Final to 4.8.2.Final (#315) 2019-01-16 18:29:00 +00:00
dependabot[bot]
cc25a1a3ba Bump dependency.camel.version from 2.22.2 to 2.23.0 (#314) 2019-01-16 18:28:16 +00:00
dependabot[bot]
13da627e8a Bump spring-security-core from 5.1.2.RELEASE to 5.1.3.RELEASE (#320) 2019-01-16 18:27:40 +00:00
dependabot[bot]
b89b8c08a4 Bump dependency.spring.version from 5.1.3.RELEASE to 5.1.4.RELEASE (#317) 2019-01-16 18:27:18 +00:00
dependabot[bot]
59c6afe114 Bump FastInfoset from 1.2.15 to 1.2.16 (#318) 2019-01-16 18:26:17 +00:00
alfresco-build
15f6b8925d [maven-release-plugin] prepare for next development iteration 2019-01-14 09:11:15 +00:00
alfresco-build
b4131a5aea [maven-release-plugin] prepare release alfresco-repository-7.44 2019-01-14 09:11:06 +00:00
Tom Page
b2a25d29a3 RM-6141: RM_support_for_the_Insight_Engine (#301)
* RM-6141: RM_support_for_the_Insight_Engine

Pass filter queries in SQL requests to the Insight Engine.

* SEARCH-1351 Add unit tests for SolrSQLHttpClient.

This involved changing the return type of postSolrQuery. The cast
taking place in this file did not make sense to me, since the two
types are not in the same type hierarchy. However it is obviously
working at the moment, so I have simply moved the location of the
cast. I couldn't find any references to the protected method anyway,
so it did not seem risky to update.

* SEARCH-1351 Add new unit test file to suite.

* SEARCH-1351 Remove unused test variables and fix logging.
2019-01-14 08:21:43 +00:00
Alex Mukha
15e0f0b601 Add cache for maven in Travis (#316) 2019-01-09 17:44:04 +00:00
alfresco-build
6f32f7f91e [maven-release-plugin] prepare for next development iteration 2019-01-08 20:32:12 +00:00
alfresco-build
68ff38182c [maven-release-plugin] prepare release alfresco-repository-7.43 2019-01-08 20:32:00 +00:00
dependabot[bot]
001c81a986 [Security] Bump guava from 24.0-jre to 27.0.1-jre (#296)
Bumps [guava](https://github.com/google/guava) from 24.0-jre to 27.0.1-jre. **This update includes security fixes.**
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-08 15:38:31 +00:00
dependabot[bot]
9caa6bd5c5 Bump dependency.keycloak.version from 4.5.0.Final to 4.6.0.Final (#275) 2019-01-08 14:41:40 +00:00
dependabot[bot]
abc92e6ba1 Bump dependency.camel.version from 2.22.1 to 2.22.2 (#273)
Bumps `dependency.camel.version` from 2.22.1 to 2.22.2.

Updates `camel-spring` from 2.22.1 to 2.22.2

Updates `camel-amqp` from 2.22.1 to 2.22.2

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-08 14:38:34 +00:00
dependabot[bot]
cd7cff9310 Bump commons-fileupload from 1.3.3 to 1.4 (#309) 2019-01-08 14:37:15 +00:00
dependabot[bot]
3a5de00840 Bump dependency.activemq.version from 5.15.7 to 5.15.8 (#277) 2019-01-07 17:59:08 +00:00
dependabot[bot]
6a09a9d6c9 Bump cglib from 3.2.9 to 3.2.10 (#295) 2019-01-07 17:57:06 +00:00
Ancuta Morarasu
6a17208f9a REPO-4132: After upgrade the repository is empty (related to system user cleanup) (#312) 2019-01-07 15:00:20 +02:00
Stefan Kopf
79d5a84ba5 Update identity-service configuration to match AIS 1.0 defaults (#311)
The default values for `realm` and `resource` have been changed in the 1.0 release of AIS. The DBP Charts currently need to overwrite these values. See
177e0fb57c/charts/incubator/alfresco-dbp/values.yaml (L52)
2019-01-04 12:57:20 +01:00
alfresco-build
12e082acdb [maven-release-plugin] prepare for next development iteration 2019-01-02 16:23:49 +00:00
alfresco-build
8b90cf6ccb [maven-release-plugin] prepare release alfresco-repository-7.42 2019-01-02 16:23:42 +00:00
Alex Mukha
6975a5c1ce REPO-4090 Disable failing test (Oracle) (#310) 2019-01-02 15:53:52 +00:00
alfresco-build
f9dd26d84b [maven-release-plugin] prepare for next development iteration 2019-01-02 11:28:04 +00:00
alfresco-build
8465e94ba7 [maven-release-plugin] prepare release alfresco-repository-7.41 2019-01-02 11:27:56 +00:00
eknizat
04e9c6cab8 REPO-4002: Upgrade MariaDB to 2.2.5 (#308) 2019-01-02 10:40:49 +00:00
Alex Mukha
f7235b183c REPO-4090 People canned query tests (#307) 2018-12-21 16:18:23 +00:00
alfresco-build
9d451c215b [maven-release-plugin] prepare for next development iteration 2018-12-21 13:53:14 +00:00