Rodica Sutu
b42ef56d9e
minor updates for getHighestClassificationLevelFromImmediateChildren() implementation
...
unit tests & integration tests created
2018-01-29 18:16:15 +02:00
Rodica Sutu
4e69149d1e
Merge branch 'feature/RM-6006_SQL_Query' into 'master'
...
feature/RM-6006_SQL_Query
See merge request records-management/records-management!794
2018-01-29 08:10:56 +00:00
Rodica Sutu
d5af9932f9
review updates - minor formatting, update java docs
2018-01-29 09:29:08 +02:00
Rodica Sutu
975b2fe323
updates after review:
...
update the getChildrenPropertyValues return type
update the existing tests from RecordsManagementQueryDAOImplTest that test getChildrenPropertyValues() method
2018-01-26 16:48:38 +02:00
Rodica Sutu
547bb407da
modify the hasChildrenWithPropertyValues to getChildrenPropertyValues in order to return the query result
...
update the implementation where the modified method is used
update tests
2018-01-26 10:57:49 +02:00
Rodica Sutu
cbeebaedc0
change the old query select_CountChildrenWithPropertyValues to return the list of distinct property values from children
...
update the implementation were the updated query is used
2018-01-24 15:22:10 +02:00
Tom Page
4d1c8624cf
Merge branch 'feature/TimeZoneFixUnitTest_no' into 'master'
...
Revert changes to getStartOfDay.
See merge request records-management/records-management!780
2018-01-19 08:14:25 +00:00
Sara Aspery
ee6c2a0251
Merge branch 'feature/RM-5927_v20PatchesRunWhenV22Upgrade' into 'master'
...
RM-5927 Add appliesToVersion to v20 v21 patches
See merge request records-management/records-management!764
2018-01-18 15:36:41 +00:00
Tom Page
3b983d013f
Revert changes to getStartOfDay.
...
Sonar suggested using the Java 8 method Instant.truncatedTo, as it is faster than
DateUtils.truncate. However it has different handling of TimeZones, and the old
version of this code only works when the server is set to use UTC. In order to fix
this 'properly' we need code like:
date = (date == null ? new Date() : date);
return Date.from(date.toInstant().atZone(ZoneId.systemDefault()).truncatedTo(ChronoUnit.DAYS).toInstant());
which is significantly less readable than just using DateUtils.truncate. Given that
this code hasn't ever been highlighted by our profiling, I suggest we revert back
to the older code.
2018-01-18 16:13:20 +01:00
Sara Aspery
d691d343d6
RM-5927 Changes from review
2018-01-18 11:41:02 +00:00
cagache
49232e9118
automated test cases for edit classification sources
2018-01-18 10:12:48 +02:00
Sara Aspery
2d075e14d1
RM-5927 Check installed vs current version
2018-01-18 02:58:38 +00:00
cagache
bcef117386
revert last change
2018-01-17 13:05:54 +02:00
cagache
eb086c5d89
updated selectors based on review
2018-01-17 13:01:56 +02:00
Sara Aspery
a196d2b8c3
RM-5927 Check version nbrs and remove appliesTo
2018-01-17 06:47:24 +00:00
Tom Page
4c94d1573b
Merge release/V2.6 into master.
2018-01-16 13:14:22 +00:00
Tom Page
98765ca22c
Updating license header to 2018
2018-01-16 12:31:06 +00:00
Tom Page
0acdf8f060
Record-only merge V2.6.0.x into V2.6
2018-01-16 12:26:25 +00:00
Tom Page
b431447c68
Updating license header to 2018
2018-01-16 12:26:10 +00:00
Tom Page
8dc17d6bde
Record-only merge V2.5 into V2.6
2018-01-16 12:21:25 +00:00
Tom Page
1cda9176a5
Updating license header to 2018
2018-01-16 12:21:10 +00:00
Tom Page
f4aefe8c33
Record-only merge V2.5.2.x into V2.5
2018-01-16 12:17:24 +00:00
Tom Page
33b879c071
Updating license header to 2018
2018-01-16 12:17:11 +00:00
Tom Page
8db9884b64
Record-only merge V2.5.1.x into V2.5
2018-01-16 12:13:26 +00:00
Tom Page
b1b9e2cf7b
Updating license header to 2018
2018-01-16 12:13:12 +00:00
Tom Page
4da7eca576
Record-only merge V2.5.0.x into V2.5
2018-01-16 12:09:35 +00:00
Tom Page
491b1236bb
Updating license header to 2018
2018-01-16 12:09:20 +00:00
Tom Page
ca23231913
Record-only merge V2.4 into V2.5
2018-01-16 12:05:53 +00:00
Tom Page
69ea393e63
Updating license header to 2018
2018-01-16 12:05:38 +00:00
Tom Page
50008360b5
Record-only merge V2.4.0.x into V2.4
2018-01-16 12:02:53 +00:00
Tom Page
8cdd6861db
Updating license header to 2018
2018-01-16 12:02:40 +00:00
Tom Page
5c8dc36663
Merge branch 'feature/VariousSonarFixes' into 'master'
...
Various fixes based on issues found by Sonar
See merge request records-management/records-management!773
2018-01-15 15:49:27 +00:00
Sara Aspery
f9a08391e9
RM-5927 Fix v21 appliesFromVersion to 2.0
2018-01-13 01:01:54 +00:00
Tom Page
acae374a35
Add debug log message if exceptions are swallowed.
...
Fix a couple of minor issues in DynamicAuthoritiesGet webscript.
2018-01-12 15:25:56 +00:00
Tom Page
bc07bbfb44
Replace a few RuntimeExceptions with AlfrescoRuntimeExceptions.
2018-01-12 14:54:51 +00:00
Tom Page
965d86508e
A couple of minor fixes.
...
Fix method signature to refer to the precise exception thrown.
Use Instant from Java 8 rather than DateUtils.truncate.
2018-01-12 14:13:05 +00:00
Brian Remmington
c4b5dee64e
RM-5996: Removed empty pages for clarity.
2018-01-12 09:03:46 +00:00
Sara Aspery
f7e0c28eb5
RM-5927 Fix appliesToVersion to 2.0.999
2018-01-11 14:57:33 +00:00
Sara Aspery
97f7ca3b64
RM-5927 Fix appliesToVersion to 2.x.999
2018-01-11 14:56:34 +00:00
Brian Remmington
72a0ff4c8a
RM-5996: Added component diagram to the overview page.
2018-01-11 13:29:13 +00:00
Brian Remmington
337627d5dc
RM-5996: Removed design docs for security marks and content classification from the community code.
2018-01-11 13:16:41 +00:00
Brian Remmington
1f2b2dca52
A fairly dumb initial copy of RM-related design information from the Architecture Map
2018-01-11 12:23:09 +00:00
Tom Page
f7e98b5df2
Simplify inequality check as suggested in code review.
2018-01-08 08:34:42 +00:00
Tom Page
496b2ca208
Fix some issues raised by Sonar.
...
Avoid NPE if calculateListOfEmptyFolders returns null in ScheduleXRecordLoaders.
Fix equals method of a few classes to check against the other instance.
Make synchonisation consistent in AppliedSourceServiceImpl and also remove a
redundant null check.
Use Arrays.toString to make a more readable string representation of an array.
Combine a few if statement branches that do the same thing.
2018-01-05 16:19:33 +00:00
Sara Aspery
2bc9c284e7
RM-5927 Add appliesToVersion to v20 v21 patches
2018-01-05 11:41:19 +00:00
Jelena Cule
ffca8d3dc1
Merge branch 'feature/RM-5917_ClassificationSourceReference_API_TESTS_2' into 'master'
...
Merge RM-5917 ClassificationSourceReference API TESTS to master
See merge request records-management/records-management!731
2018-01-05 10:41:35 +00:00
Jelena Cule
1ee4e1d5aa
Merge RM-5917 ClassificationSourceReference API TESTS to master
2018-01-05 10:41:35 +00:00
Tom Page
1ea0b9fccf
Merge branch 'feature/RM-5344_DODAuditQuery_fp' into 'master'
...
RM-5344 Only gather DOD audit entries if there is a DOD RM site.
See merge request records-management/records-management!759
2018-01-05 08:19:57 +00:00
Tom Page
00517a13c4
RM-5344 Handle case where site with id "rm" doesn't exist.
...
This is not possible normally, but it does happen with the integration tests.
Also fix some whitespace in the test class.
2018-01-04 14:38:57 +00:00
Tom Page
db72233b70
RM-5344 Only gather DOD audit entries if there is a DOD RM site.
...
This creates an edge case where DOD audit entries are no longer displayed
if a DOD RM site is deleted and then a standard RM site is created to
replace it. However this seems like an unlikely use case, and there is a
workaround of exporting the audit log before deleting the DOD RM site.
Two audit queries are still made for DOD RM sites because DOD sites cause
some standard audit entries to be created (e.g. the holds container
created event, etc.).
2018-01-04 12:08:01 +00:00