Commit Graph

157 Commits

Author SHA1 Message Date
Ana Bozianu
950c0028f3 RM-4619 - updated unit tests 2017-02-27 16:17:22 +02:00
Ana Bozianu
7e08ee2f98 RM-4619 - convert the folder nodes before setting identifier 2017-02-27 12:41:39 +02:00
Ana Bozianu
161ec4eaee RM-4619 - replaced unit tests with integration tests 2017-02-07 16:24:10 +02:00
Ana Bozianu
257880cb62 Revert "RM-4619 - added the fileplan component check back but in different place"
This reverts commit e1b0e994a1.
2017-01-30 16:53:58 +02:00
Ana Bozianu
40b61c5c62 RM-4619 - doing the conversion at first event 2017-01-30 14:35:23 +02:00
Ana Bozianu
e1b0e994a1 RM-4619 - added the fileplan component check back but in different place 2017-01-30 12:54:37 +02:00
Ana Bozianu
6ff8dd5846 RM-4619 - added cm:folder as accepted type and do the conversion onCommit - request doesn't have full info 2017-01-30 12:05:48 +02:00
Ana Bozianu
088c870141 RM-4619 - moved code to existing onCommit method 2017-01-29 17:37:05 +02:00
Ana Bozianu
ca88921955 RM-4619 - fixed unit tests 2017-01-26 12:16:54 +02:00
Tom Page
b74b84ab07 MNT-16881 Fix typo in unit test.
Due to the lack of ordering in hash sets, this was passing locally but
failing on Bamboo with a NPE.
2017-01-24 11:45:39 +00:00
Tom Page
3b6204873b MNT-16881 Fix unit test and write an additional one. 2017-01-24 11:30:26 +00:00
Ana Bozianu
bbba5ff777 RM-4436 and RM-4549 - unit tests for record api 2017-01-04 17:57:10 +02:00
Tuna Aksoy
a80d4a523e Updated license headers 2017-01-01 11:52:56 +00:00
Ana Bozianu
4f95c905a6 RM-4436 - implemented file record
RM-4429 - implemented declare record
-renamed the nodes package into fileplancomponents
2016-12-17 23:22:12 +02:00
Tuna Aksoy
b6fdb18124 RM-4399 (Update Alfresco dependency for RM Community to 5.2.b) 2016-11-23 19:43:25 +00:00
Ana Bozianu
f487877b1c RM-4376 - create RM relative path + unit tests 2016-11-21 17:11:37 +02:00
Ana Bozianu
28026941c3 RM-4357 - return null when allowableOperations is empty 2016-11-17 14:50:17 +02:00
Ana Bozianu
c8f6bfe333 RM-4357 - updated test for fileplan create operation check 2016-11-17 13:01:25 +02:00
Ana Bozianu
3bb40fb88c Merge master into feature/RM-4357_and_RM_4373 2016-11-17 11:37:04 +02:00
Silviu Dinuta
9f7d772ac5 Merge remote-tracking branch 'origin/master' into feature/RM-4293_RM_special_containers_can_be_deleted 2016-11-17 11:10:28 +02:00
Ana Bozianu
45cbc77ef3 Revert "Revert "Merge branch 'feature/RM-4357_AllowableOperations' into 'master'""
This reverts commit 54717418e1.
2016-11-17 11:07:14 +02:00
Silviu Dinuta
b660169e6a Merge master into feature/RM-4293_RM_special_containers_can_be_deleted 2016-11-17 10:53:25 +02:00
Ana Bozianu
54717418e1 Revert "Merge branch 'feature/RM-4357_AllowableOperations' into 'master'"
This reverts commit ab93e7b9c0, reversing
changes made to 0e74642b32.
2016-11-17 10:52:40 +02:00
Ana Bozianu
ab93e7b9c0 Merge branch 'feature/RM-4357_AllowableOperations' into 'master'
Feature/rm 4357 allowable operations

RM-4357 - fileplanComponent's allowable actions don't reflect RM security

RM's capabilities overrides core's security so it is enough to test the capabilities. Please see the table from the issue's comment.

See merge request !624
2016-11-17 07:33:42 +00:00
Ana Bozianu
2248e99b67 RM-4357 - updated unit tests 2016-11-16 16:19:16 +02:00
Silviu Dinuta
51f99f1846 RM-4293: prevent filePlan and unfiled Record container from behaviour
beans, also removed deleteNode method from RMNodesImpl and some unit
tests
2016-11-15 19:00:48 +02:00
Ana Bozianu
a867a9618a RM-4357 - change addChildren capability and updated unit tests 2016-11-14 18:16:04 +02:00
Silviu Dinuta
e8fd663859 Merge master into feature/RM-4327 2016-11-14 14:08:09 +02:00
Silviu Dinuta
dd3117bdaa RM-4367: restricted types created under record category and added unit
tests for RecordCategoryType
2016-11-14 10:20:00 +02:00
Silviu Dinuta
ce0a3e54ae RM-4327: changed exception type on RecordFolderType and added unit tests
for the changes
2016-11-11 17:39:01 +02:00
Tom Page
cf6e32ff7e RM-4247 Merge master into RM-4247_UpdateDispositionProperty. 2016-11-11 08:21:58 +00:00
Silviu Dinuta
9b0aa770f9 RM-4327: changed InvalidParameterException with IntegrityException 2016-11-10 16:58:05 +02:00
Tom Page
bae6ca0338 RM-4247 Re-add changes that were meant to be merged from release/V2.5.
The merge in '5f75e3' missed the changes from RM-4247, so this commit adds
them back in.
2016-11-10 13:14:33 +00:00
Silviu Dinuta
94ec27b0de RM-4326 : added some more unit tests for RmSiteType and did some code
cleanup in this class
2016-11-10 11:04:34 +02:00
Silviu Dinuta
0e93c1dcbe RM-4326: renamed rm site type unit test class 2016-11-09 16:52:17 +02:00
Silviu Dinuta
1d7f8673bb RM-4326: added unit tests for RmSiteType class 2016-11-09 16:35:51 +02:00
Silviu Dinuta
49cb2f59ae RM-4326: undo some formatting 2016-11-09 12:51:14 +02:00
Silviu Dinuta
7e06083595 RM-4326: removed checkPostPermission method and changed RmSyteType to
handle allowed created types
2016-11-09 12:44:19 +02:00
Silviu Dinuta
03174c61c4 RM-4326: allow creation under hold type only from HoldServiceImpl 2016-11-08 20:40:51 +02:00
Silviu Dinuta
6d1fa3408e RM-4326: allow creation in transfer only from TransferServiceImpl 2016-11-08 18:41:15 +02:00
Silviu Dinuta
0836e9682b RM-4326: allow creation in transfer only from TransferServiceImpl 2016-11-08 18:38:35 +02:00
Silviu Dinuta
517e3286b2 RM-4326: adjusted unit test name for transferContainerType 2016-11-08 17:42:06 +02:00
Silviu Dinuta
fce705ff72 RM-4326: allow creation in transfer container only from
TransferServiceImpl
2016-11-08 17:26:07 +02:00
Silviu Dinuta
c28e0d5338 RM-4326: restricted permission for post request on Transfer Container,
Transfer Folder type and Hold folder type and added unit tests for the
changes
2016-11-08 14:16:15 +02:00
Silviu Dinuta
b3aa001eb0 RM-4326: added restriction for types that are accepted to be create in
unfiled record folder
2016-11-08 11:42:58 +02:00
Silviu Dinuta
670511aa87 RM-4312: added comments to unit tests 2016-11-07 10:47:10 +02:00
Silviu Dinuta
a4feae7485 RM-4312: changed implementation after review 2016-11-04 18:05:05 +02:00
Silviu Dinuta
ab59884d72 Merge master into
feature/RM-4312_ConstraintForCreatingRecordFolderInSpecialContainers
2016-11-04 15:42:37 +02:00
Ana Bozianu
793bdd64da RM-4296 - removed redundant parent type checked 2016-11-04 15:36:55 +02:00
Ana Bozianu
d05b7a71e0 RM-4296 - whitelisted the accepted types, added unit tests 2016-11-04 14:15:11 +02:00