Commit Graph

1439 Commits

Author SHA1 Message Date
Mihai Cozma
03119d88f3 Merge commit '4d7581' into RM-3426_MergeToMaster 2016-06-24 16:54:11 +03:00
Roxana Lucanu-Ghetu
88963c210d Merge branch 'feature-2.4/RM-3300' into 'release/V2.4'
Feature 2.4/rm 3300

Run code as system

See merge request !265
2016-06-24 14:46:38 +01:00
Roxana Lucanu-Ghetu
490bf686b9 Merge commit '019e9d637527b5592e8ee1854b6d2169a74d2fa4' into RM-3300_mergeToMaster
RM-3300
2016-06-24 13:47:15 +03:00
Roxana Lucanu-Ghetu
c8a05ad8f2 Merge commit 'd2b348b9d08465f9c202a9e0b1e9f211c3ccdf6c' into RM-3300_mergeToMaster
RM-3300
2016-06-24 13:45:50 +03:00
Roxana Lucanu-Ghetu
7a4d7d5b03 Merge commit 'cc5b9ee32d006f3e8c02010332411eadac101017' into RM-3300_mergeToMaster
RM-3300
2016-06-24 13:41:08 +03:00
Roxana Lucanu-Ghetu
d711ae1c1d Run the code as system, as some users may not have the rights to add the aspect. 2016-06-24 12:08:41 +03:00
Tom Page
4d7fcae9b9 RM-3566 Update security controls API.
Create a Java API to allow adding and removing specified security controls
without affecting other marks on the node.
2016-06-23 15:05:15 +01:00
Mihai Cozma
cdf9807aec RM-3293 RM Audit History does not log 2016-06-23 12:10:06 +03:00
Roxana Dina
e0db9fbb05 RM-3265 Add test for the Move action on a destroyed record folder. 2016-06-22 20:27:26 +03:00
Roxana Dina
f06ac4772f Merge remote-tracking branch 'origin/feature-2.4/RM-3265_NoOptionToMoveADestroyedRecordFolder' into release/V2.4 2016-06-17 17:28:17 +03:00
Roxana Dina
b9f6e58990 Change capability condition name. Add comments and version number. 2016-06-17 16:32:43 +03:00
Roxana Lucanu-Ghetu
6f99d94357 Changed check to throw exception when we try to create records from different types other than cm:folder 2016-06-17 12:25:22 +03:00
Roxana Lucanu-Ghetu
d97a6e3aa1 Merge branch 'feature-2.4/RM-3286' into 'release/V2.4'
Feature 2.4/rm 3286

Changed behavior:is not possible to create a record folder inside another record folder from IMAP client.
When adding emails with attachments from Outlook client a hidden folder is created inside the record folder, to store the attachments.

See merge request !214
2016-06-17 10:06:43 +01:00
Roxana Lucanu-Ghetu
a431e84f8e Created a property for AlfrescoRuntimeException instead ot the message. 2016-06-17 12:05:19 +03:00
Roxana Lucanu-Ghetu
7345f55384 Merge branch 'feature-2.4/RM-3060' into 'release/V2.4'
Feature 2.4/rm 3060 - Record linked to folder with the same disposition schedule couldn't be cut off

Added search by name for current disposition action; when the record has multiple disposition schedules the current disposition action may not be found by id.

See merge request !157
2016-06-17 08:25:27 +01:00
Roxana Lucanu-Ghetu
85b965dea9 Changed the test a bit and uncommented intial fix, as we agree it's an workaround for the moment. 2016-06-16 15:50:35 +03:00
Roxana Dina
9fda616251 rm-3265 Add new capability condition to deal with displaying the "Move" action. 2016-06-16 14:00:28 +03:00
Mihai Cozma
60d2a00644 RM-3293 RM Audit History does not log Cutoff 2016-06-15 15:42:11 +03:00
Roxana Lucanu-Ghetu
09beb08332 Merge branch 'feature-2.4/RM-3300' into 'release/V2.4'
Feature 2.4/rm 3300

On versioning, document can be declared as record if adding record and version aspect is done running as System.
I noticed that the aspect is added only like this in other places where it is used; and the method for creating new recorded version, where the aspect is added, is not used in other places such that changing behavior elsewhere.

See merge request !152
2016-06-15 10:19:48 +01:00
Roxana Lucanu-Ghetu
019e9d6375 Changed to BehaviourDrivenTest to be more obvious the steps and what is checked. 2016-06-15 12:01:47 +03:00
Roxana Lucanu-Ghetu
9964b70b52 Throw exception when trying to create records from different types other than cm:content 2016-06-14 12:27:17 +03:00
Roy Wetherall
563cae7555 Changes to integration to better reflect the scenario to be tested 2016-06-09 13:53:07 +10:00
Tom Page
1ea82ae380 Merge branch 'feature/WebScriptUtilsCapitalisation' into 'master'
Feature/web script utils capitalisation

Fix capitalisation in a few method names in WebScriptUtils.

This also provides an opportunity to test whether the mirroring script works, as this includes changes to community files.

See merge request !218
2016-06-08 17:16:57 +01:00
Mihai Cozma
c838cb2aaf Merge branch 'feature-2.4/RM-3341_Emails_can_be_added_to_the_HoldsTransfers' into 'release/V2.4'
Feature 2.4/rm 3341 emails can be added to the holds transfers

See merge request !217
2016-06-08 12:34:11 +01:00
Tom Page
fbc9c79ca2 Refactor WebScriptUtils to have consistent capitalisation of JSON.
Also fix capitalisation in putValuetoJSONObject (so that it's now
putValueToJSONObject).
2016-06-06 14:55:56 +01:00
Mihai Cozma
a5b59b4356 RM-3341 - Outlook Integrations:Emails can be added to the Holds
/Transfers from Outlook Integration
2016-06-06 11:21:51 +03:00
Roxana Lucanu-Ghetu
3d74c81abc Moved check for content to be done on commit. 2016-06-06 10:25:46 +03:00
Roxana Lucanu-Ghetu
c6c9edf306 Added check to allow creating only records inside a record folder. 2016-06-03 11:10:18 +03:00
Roxana Lucanu-Ghetu
e9bb18f9f5 Changed test class and commented initial fix. 2016-06-01 17:41:36 +03:00
Mihai Cozma
ac0a7e7016 Create Hold and Transfer container exception 2016-05-31 18:16:32 +03:00
Roxana Lucanu-Ghetu
f4ac24d41f Added integration test. 2016-05-31 14:50:27 +03:00
Tuna Aksoy
5b8a4b02ca RM-3426 (Number of artifacts for the RM Enterprise project - Update configuration) 2016-05-23 12:03:00 +01:00
Tom Page
8634250b78 Merge release/V2.4 into Merge2.4ToMaster.
Conflicts:
	rm-community/rm-community-repo/pom.xml
	rm-community/rm-community-share/pom.xml
	rm-enterprise/rm-enterprise-repo/pom.xml
	rm-enterprise/rm-enterprise-share/pom.xml
2016-05-20 11:53:58 +01:00
Tom Page
c40f5fe55a Merge release/V2.4 into Merge2.4ToMaster.
Conflicts:
	rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/dod5015/messages/dod5015-model_de.properties
2016-05-20 11:51:28 +01:00
Roxana Lucanu
d2b348b9d0 Added unit test 2016-05-17 12:13:42 +03:00
Tuna Aksoy
5013c3f88f Merge branch 'master' into feature/RM-2868_Create_Mark_Selection_Widget 2016-05-09 21:57:03 +01:00
David Webster
d20d4a5f8c Merge remote-tracking branch 'origin/release/V2.4' into feature-2.4/RM-3325_pom_descriptions 2016-05-09 10:53:43 +01:00
ccesarini
332ced249b DUTCH: Updated bundle for RM 2.4 based on EN-rev2016-05-06 ("Content Management System" has been translated) 2016-05-06 17:04:26 +01:00
ccesarini
61bf50d81c GERMAN: Updated bundle for RM 2.4 based on EN-rev2016-05-06 (some terms have been translated) 2016-05-06 16:45:00 +01:00
ccesarini
6c9dba3a80 GERMAN: Updated bundle for RM 2.5 based on EN-rev2016-05-04 (some terms have been translated) 2016-05-06 15:57:00 +01:00
ccesarini
38a4fceadb DUTCH: Updated bundle for RM 2.5 based on EN-rev2016-05-04 (Content Management System has been translated) 2016-05-06 15:21:27 +01:00
Tuna Aksoy
937219b9fb Merge branch 'master' into feature/RM-2868_Create_Mark_Selection_Widget 2016-05-05 11:31:47 +01:00
Tom Page
967a591e24 Merge branch 'xperimental/RM-2812_PublicAPITest' into 'master'
Xperimental/rm 2812 public api test

A unit test to look for compatibility issues within the classes marked public API. The test will fail if it finds any exposed references to Alfresco non-public API classes from those marked as @AlfrescoPublicApi. The test searches within method signatures, fields, constructors, superclasses, inner classes and interfaces of public API classes.

See merge request !158
2016-05-05 08:22:33 +01:00
Tom Page
b599e7d102 RM-2812 Incompatibility in deprecated methods is still a problem.
Remove the checks for deprecation, because deprecated methods/classes may
still be used.
2016-05-04 14:34:18 +01:00
Tom Page
93143fe5d6 RM-3345 Ensure the current user is not setting their own clearance.
Also add unit tests for admin losing clearance and guest gaining clearance.
2016-04-29 10:07:04 +01:00
Tuna Aksoy
7e15a0304b Merge branch 'master' into feature/RM-2868_Create_Mark_Selection_Widget 2016-04-28 15:39:12 +01:00
Tom Page
2a3b419ec1 RM-3344 Ensure we are not downgrading admin or upgrading guest.
This is a first pass at preventing changes to the clearance of admin or guest.
Previously we weren't allowing any changes to their clearance, but when
working with security markings, admin in particular needs to occasionally gain
a new mark when a custom group is created.  Currently that clearing is not
happening, but this change does not prevent it, if needed.

Also remove an unused method from the CaveatMarkingServiceImpl, as the class
is already very full.
2016-04-27 16:12:11 +01:00
Tuna Aksoy
54ad44883c RM-3276 (Edit and Application of Marks to a Single User) 2016-04-27 13:37:18 +01:00
Tom Page
3314b1737c Merge branch 'xperimental/RM-2812_MarkPublicAPIs' into 'master'
Xperimental/rm 2812 Mark Public APIs

First attempt to mark classes that should be part of the public API with \@AlfrescoPublicAPI.

I have also added a couple of \@deprecated annotations to classes where I thought it made sense, and
added comments to classes that I wanted to add to the public API but couldn't (due to their contract
being dependent on non-public API classes).

See merge request !138
2016-04-27 09:23:58 +01:00
Tom Page
0fcc2dd1af Public API consistency tests.
Check that the classes we've declared as AlfrescoPublicApi do not require
use of non-public API Alfresco classes.
2016-04-27 09:18:08 +01:00