Commit Graph

34002 Commits

Author SHA1 Message Date
Travis CI User
5d441cd526 [maven-release-plugin][skip ci] prepare release 11.66 11.66 2021-06-18 09:15:26 +00:00
evasques
630cd99067 MNT-21837 License expires 23h earlier (#541)
* MNT-21837 - License expires 23h earlier
* Original problem is that the remaining time to license expires is calculated in days (long, not double) and anything less then 24h computes to 0 days. The validation for license being valid is that the remaining days is more than zero.
* Added method calculateMs in DateUtil class to return the interval in ms considering 2 given dates and respective timezones
* Changed the validation to use the remaining milliseconds value instead of remaining days
* Added unit test where license expires 6 hours from now - repo is not supposed to enter read-only mode
* Added unit test where license expired 1 minute ago - repo is supposed to enter read-only mode

* Removed unused import
2021-06-18 09:28:03 +01:00
Travis CI User
401437fec6 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-17 18:37:27 +00:00
Travis CI User
eb1350f0d9 [maven-release-plugin][skip ci] prepare release 11.65 11.65 2021-06-17 18:37:22 +00:00
alandavis
bd860bd145 Use alfresco/alfresco-base-tomcat:9.0.45-java-11-centos-8 2021-06-17 17:50:09 +01:00
Travis CI User
111e41418c [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-17 16:19:59 +00:00
Travis CI User
caf83dd13b [maven-release-plugin][skip ci] prepare release 11.64 11.64 2021-06-17 16:19:54 +00:00
Alan Davis
88b4ce155c MNT-22388 [Security] multiple pdfbox vulnerabilities (Repo) (#539)
* Remove pdfbox jars as they should no longer be needed.
* Reintroduce tests that use Tika to 'guess' mimetypes as it was the tika parse that was pulling in the pdfbox libraries.

Classes that use Tika:
* HTMLRenderingEngine - removed as it is no longer used
* RemoteConnectorResponseImpl - called tika utility toByteArray so not using pdfbox
* TikaCharsetFinder - called to identify the charset not mimetype so not using pdfbox
* MimetypeMap - main use of Tika. Used to detect mimetypes. Might have been using pdfbox.
2021-06-17 16:08:21 +01:00
Travis CI User
89f82cc991 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-17 08:47:37 +00:00
Travis CI User
545ebc9d3f [maven-release-plugin][skip ci] prepare release 11.63 11.63 2021-06-17 08:47:31 +00:00
Alexandru-Eusebiu Epure
d18c737b5d ATS-936 : bump T-engines to version 2.5.0 (#535) 2021-06-17 09:34:27 +03:00
Travis CI User
4c0a069e8d [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-16 15:25:21 +00:00
Travis CI User
162bb7e251 [maven-release-plugin][skip ci] prepare release 11.62 11.62 2021-06-16 15:25:16 +00:00
evasques
d7ec130756 MNT-20500 - Admin console breaks with serialised objects (#536)
* In node browser:
** Added macro convertToJSON to recursively parse hashes and enumerables
** Added attempt/recover in macros to handle errors and not break the page
** Changed the output of serialized objects to JSON format
* In both admin console and node browser:
** Adjusted consistency of the ouput when an error occurs
** Validate the depth of each hash. When we find a hash with over 1000 elements, we throw an error instead of displaying the object. Used the stop tag to effectively force an abort of the template processing preventing performance or security issues regarding very large objects.
2021-06-16 15:41:34 +01:00
Travis CI User
2fbfa123e5 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-16 11:14:53 +00:00
Travis CI User
21438e247e [maven-release-plugin][skip ci] prepare release 11.61 11.61 2021-06-16 11:14:47 +00:00
Tom Page
0404395c27 RM-7171 Remove reference to http://swagger.io/v2/schema.json to avoid downloading schema. (#534)
This prevents the unit tests from failing when the webpage is unavailable. It has the side
effect of not picking up any updates to the schema.
2021-06-16 11:31:05 +01:00
alandavis
2a268c5b7e Revert "Bump maven-war-plugin from 3.2.2 to 3.3.1 (#481)"
This reverts commit f6423903d7.

This was causing the tomcat dev environment to fail to start with a
ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
2021-06-15 15:48:57 +01:00
Travis CI User
65249bd53a [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-15 13:06:39 +00:00
Travis CI User
ac0641defa [maven-release-plugin][skip ci] prepare release 11.60 11.60 2021-06-15 13:06:32 +00:00
Alexandru-Eusebiu Epure
804c70d7f2 RM-7169 : Disposition Lifecycle job runs in a infinite loop (#528)
batchSize will default to 500 if the given value is smaller than 1
   added unit test.
2021-06-12 11:17:53 +03:00
Travis CI User
9aee1567b4 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-11 16:06:09 +00:00
Travis CI User
e4771e9523 [maven-release-plugin][skip ci] prepare release 11.59 11.59 2021-06-11 16:06:03 +00:00
Angel Borroy
f1a5425f62 SEARCH-2909 Return Http Status Code 501 (Not Implemented) in REST API… (#519)
* SEARCH-2909 Return Http Status Code 501 (Not Implemented) in REST API for invocations to Search Services that are not supported.

* SEARCH-2909 Refactor exception mapping to simplify QueryParserException.

* SEARCH-2909 Add unit tests for postQuery.

This includes a test for the status code replacement with unsupported operations.

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

Also add copyright header to test class.

Co-authored-by: Tom Page <thomas.page@alfresco.com>
2021-06-11 16:03:55 +01:00
Travis CI User
29d5093c93 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-11 10:24:08 +00:00
Travis CI User
dc67a004cc [maven-release-plugin][skip ci] prepare release 11.58 11.58 2021-06-11 10:24:02 +00:00
dependabot-preview[bot]
474702a026 Bump mockito-core from 3.9.0 to 3.11.0 (#516) 2021-06-10 22:17:00 +00:00
Travis CI User
b2022f0e20 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-10 19:52:51 +00:00
Travis CI User
3581a1eea9 [maven-release-plugin][skip ci] prepare release 11.57 11.57 2021-06-10 19:52:45 +00:00
Alan Davis
3dd5fecd8f ACS-1646 Reduce time to buid AGS jobs in repo projects (#526)
Having added AGS to the community repo project two of the build jobs were take a long time to run in comparison to others:

    AGS Unit & Integration Tests (MySQL) ~ 1hr
    AGS Unit & Integration Tests (PostgreSQL) ~ 45mins

Having split the jobs in this commit, the individual job times are now comparable to the other jobs and the total build time is reduced by ~30 mins.

The same number of integration tests (418) are run 196+127+95 across the three jobs for each database.
2021-06-10 16:05:15 +01:00
Travis CI User
98a30df09b [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-10 14:20:39 +00:00
Travis CI User
80d233992a [maven-release-plugin][skip ci] prepare release 11.56 11.56 2021-06-10 14:20:34 +00:00
dependabot-preview[bot]
93a090440e Bump dependency.webscripts.version from 8.18 to 8.19 (#405) 2021-06-10 13:08:29 +00:00
dependabot-preview[bot]
54564e3a82 Bump dependency.bouncycastle.version from 1.68 to 1.69 (#523) 2021-06-10 12:03:56 +00:00
Travis CI User
b599952986 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-09 02:57:09 +00:00
Travis CI User
7f457f0ca5 [maven-release-plugin][skip ci] prepare release 11.55 11.55 2021-06-09 02:57:03 +00:00
dependabot-preview[bot]
9267a518e2 Bump dependency.jackson.version from 2.12.2 to 2.12.3 (#521) 2021-06-09 01:45:41 +00:00
dependabot-preview[bot]
0046ce775f Bump jackson-databind from 2.12.2 to 2.12.3 (#400) 2021-06-09 00:43:27 +00:00
dependabot-preview[bot]
d35d913fea Bump dependency.cxf.version from 3.4.3 to 3.4.4 (#520) 2021-06-08 23:41:59 +00:00
Travis CI User
c9a5db2e77 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-07 12:17:47 +00:00
Travis CI User
5917167eca [maven-release-plugin][skip ci] prepare release 11.54 11.54 2021-06-07 12:17:41 +00:00
cturlica
aa235bf78f ACS-1648: update dejavu-fonts version from 2.35-6.el8 to 2.35-7.el8 2021-06-07 14:06:46 +03:00
Travis CI User
81f898c8e0 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-03 10:59:07 +00:00
Travis CI User
d7c6c44661 [maven-release-plugin][skip ci] prepare release 11.53 11.53 2021-06-03 10:59:01 +00:00
alandavis
3ae9a2207b Revert "Bump mariadb-java-client from 2.7.2 to 2.7.3 (#514)"
Also added dependabot messages to the PR to reopen. Created ACS-1640

This reverts commit 5b8ab36b85.
2021-06-03 10:48:13 +01:00
Eliza Stan
80a38947a1 APPS-491 - [AGS] Value saved for Retention Parameter is different (#502)
* APPS-491 - [AGS] Value saved for Retention Parameter is different than the one introduced in UI
2021-06-03 11:02:49 +03:00
dependabot-preview[bot]
5b8ab36b85 Bump mariadb-java-client from 2.7.2 to 2.7.3 (#514) 2021-06-02 23:30:59 +00:00
Travis CI User
fbee6f1f37 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-02 11:35:53 +00:00
Travis CI User
a51f60e938 [maven-release-plugin][skip ci] prepare release 11.52 11.52 2021-06-02 11:35:49 +00:00
Cristian Turlica
5009249fb1 Revert "Bump mariadb-java-client from 2.7.2 to 2.7.3 (#451)" (#513)
This reverts commit 8b7e78b2a3.
2021-06-02 13:22:53 +03:00