Commit Graph

34014 Commits

Author SHA1 Message Date
Gloria Camino
c97c001b82 LOC-312 FIXED - Updated UI in 16 languages including the AGS amps files in 5 new languages. Also a fix to l10n.properties to exclude the dictionary-model.properties from localisation. (#551)
Updated UI files in 15 languages
2021-06-22 11:23:34 +01:00
Travis CI User
f0ed195668 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-22 00:19:34 +00:00
Travis CI User
bb3d488e40 [maven-release-plugin][skip ci] prepare release 11.69 11.69 2021-06-22 00:19:29 +00:00
dependabot-preview[bot]
5638f092fa Bump mockito-core from 3.11.0 to 3.11.2 (#550) 2021-06-21 23:29:42 +00:00
dependabot-preview[bot]
b9197e9d6d Bump spring-security-core from 5.5.0 to 5.5.1 (#549) 2021-06-21 23:21:25 +00:00
Travis CI User
a10c29125c [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-21 18:11:01 +00:00
Travis CI User
30b14a1848 [maven-release-plugin][skip ci] prepare release 11.68 11.68 2021-06-21 18:10:55 +00:00
evasques
6e1d25a8f0 MNT-21837 - License expires 23h earlier - correction (#544)
* period.getMillis() (joda lib) returns an int instead of a long, so on larger periods (like 30days) we get an error that the value cannot fit in an int
* Changed the validation to only calculate the remaining milliseconds in the edge case of the remaining days being zero (as both 23h before and 23h after correspond to 0 remaining days)
* Added a unit test that validates the usage 60 days up from the licence expiring to validate the problem stops occurring
Added a unit test that validates the usage 30 days after the licence expiring to cover all use cases
2021-06-21 15:17:39 +01:00
Travis CI User
f703626a69 [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-19 00:10:02 +00:00
Travis CI User
189b6dc7a6 [maven-release-plugin][skip ci] prepare release 11.67 11.67 2021-06-19 00:09:56 +00:00
dependabot-preview[bot]
0430d281ff Bump restapi from 1.58 to 1.60 (#546) 2021-06-18 23:22:49 +00:00
Travis CI User
b39086a6bd [maven-release-plugin][skip ci] prepare for next development iteration 2021-06-18 09:15:32 +00:00
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