124236 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2) (PARTIAL MERGE)
124190 amorarasu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124132 arebegea: MNT-15573 : Site finder slow for a user who's member of many sites
- added a new method to InvitationService to make use of the limit in the searchInvitation
- sent and used the 200 limit from the site-finder.get.js in the script/ScriptInvitationService.java and passed the new parameter
- for searchModeratedInvitations and searchNominatedInvitations methods of InvitationServiceImpl.java I added the use of the limit parameter
- added some comments on ActivitiWorkflowEngine.java and TaskComponent.java to inform developers about the performance issues and possible improvement
- added junit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124190 amorarasu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124132 arebegea: MNT-15573 : Site finder slow for a user who's member of many sites
- added a new method to InvitationService to make use of the limit in the searchInvitation
- sent and used the 200 limit from the site-finder.get.js in the script/ScriptInvitationService.java and passed the new parameter
- for searchModeratedInvitations and searchNominatedInvitations methods of InvitationServiceImpl.java I added the use of the limit parameter
- added some comments on ActivitiWorkflowEngine.java and TaskComponent.java to inform developers about the performance issues and possible improvement
- added junit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@124236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
123502 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
123484 adavis: MNT-14295 TransformerConfigLimits Behavior Differs on Java 7 vs 8
- Fixed TransformerPropertyNameExtractor so that it discarded limit or
max properties if its sibling max or limit value is supplied and has
a lower value (i.e. it should be used).
- Cleaned up TransformerConfigLimits.setTransformationLimitsFromProperties
- This has been a problem since 4.2.
- The problem only came to light with the switch to Java 8, as the order in which
transformer properties are loaded changed. They were being loaded in MapEntry order.
The problem did not show up in the unit tests, because they too were impacted by
the MapEntry order and ironically loaded the properties in the same order.
- Added unit tests that are supply both max an limit values.
- Enhanced the debug and toString methods in order to trace the problem.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
123484 adavis: MNT-14295 TransformerConfigLimits Behavior Differs on Java 7 vs 8
- Fixed TransformerPropertyNameExtractor so that it discarded limit or
max properties if its sibling max or limit value is supplied and has
a lower value (i.e. it should be used).
- Cleaned up TransformerConfigLimits.setTransformationLimitsFromProperties
- This has been a problem since 4.2.
- The problem only came to light with the switch to Java 8, as the order in which
transformer properties are loaded changed. They were being loaded in MapEntry order.
The problem did not show up in the unit tests, because they too were impacted by
the MapEntry order and ironically loaded the properties in the same order.
- Added unit tests that are supply both max an limit values.
- Enhanced the debug and toString methods in order to trace the problem.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@123502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
123406 adavis: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
123405 adavis: Reverse merged V4.2-BUG-FIX (4.2.7)
123400 adavis: Merged 5.0.N (5.0.4) to V4.2-BUG-FIX (4.2.7)
123386 adavis: MNT-14295 TransformerConfigLimits Behavior Differs on Java 7 vs 8
- Fix TransformerConfigLimits.setTransformationLimitsFromProperties(...)
so that it does not clear the limit (e.g. readLimitTimeMs) when setting
the max value (e.g. timeoutMs) or the other way around. It is normal to
have both values defined for the default.transformer.
- This has been a problem since 4.2.
- The problem only came to light with the switch to Java 8, as the order in which
transformer properties are loaded changed. They were being loaded in MapEntry order.
The problem did not show up in the unit tests, because they too were impacted by
the MapEntry order and ironically loaded the properties in the same order.
- Added unit tests that are not impacted by MapEntry order.
- Enhanced the debug and toString methods in order to trace the problem.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@123407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
123386 adavis: MNT-14295 TransformerConfigLimits Behavior Differs on Java 7 vs 8
- Fix TransformerConfigLimits.setTransformationLimitsFromProperties(...)
so that it does not clear the limit (e.g. readLimitTimeMs) when setting
the max value (e.g. timeoutMs) or the other way around. It is normal to
have both values defined for the default.transformer.
- This has been a problem since 4.2.
- The problem only came to light with the switch to Java 8, as the order in which
transformer properties are loaded changed. They were being loaded in MapEntry order.
The problem did not show up in the unit tests, because they too were impacted by
the MapEntry order and ironically loaded the properties in the same order.
- Added unit tests that are not impacted by MapEntry order.
- Enhanced the debug and toString methods in order to trace the problem.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@123402 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
118420 gcornwell: ACE-4598: ServiceRegistry exposes services that are not part of the public API
Updated the deprecated message wording to make it clearer it's just the method on ServiceRegistry that's deprecated and not the service/object being returned.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@118733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
115566 adavis: Merged 5.1.N (5.1.1) to 5.1-MNT1 (5.1.0)
112558 adavis: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
112545: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3)
112271: Merged DEV to V4.2-BUG-FIX (4.2.6)
111087: MNT-11957 - move approveModeratedInvitation to InvitationService so its auditable
111792: MNT-11957: Approving a request to join site not available for auditing
- move rejectModeratedInvitation to InvitationService so its auditable
111854: MNT-11957: Approving a request to join site not available for auditing
- move acceptNominatedInvitation and cancelInvitation to InvitationService so its auditable
111890: MNT-11957: Approving a request to join site not available for auditing
- Removed obsolete methods from InviteHelper
111991: MNT-11957: Approving a request to join site not available for auditing
- move deleteAuthenticationIfUnused and sendNominatedInvitationto InvitationService so its auditable. Excluded InviteHelper.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@115696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
112545: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3)
112271: Merged DEV to V4.2-BUG-FIX (4.2.6)
111087: MNT-11957 - move approveModeratedInvitation to InvitationService so its auditable
111792: MNT-11957: Approving a request to join site not available for auditing
- move rejectModeratedInvitation to InvitationService so its auditable
111854: MNT-11957: Approving a request to join site not available for auditing
- move acceptNominatedInvitation and cancelInvitation to InvitationService so its auditable
111890: MNT-11957: Approving a request to join site not available for auditing
- Removed obsolete methods from InviteHelper
111991: MNT-11957: Approving a request to join site not available for auditing
- move deleteAuthenticationIfUnused and sendNominatedInvitationto InvitationService so its auditable. Excluded InviteHelper.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@112558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
108605: MNT-14413: Merged 5.0.1 (5.0.1.4) to 5.0.N (5.0.3)
108254: MNT-14366 : Re-created user does not have access to his existing workflows
- get owner property from initiatorhome nodeRef if initiator nodeRef no longer exists,
108318: MNT-14366 : Re-created user does not have access to his existing workflows
- fix for failed tests,
108467: MNT-14366 : Re-created user does not have access to his existing workflows
- test to check functionality is working
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108616 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
108512: Merged DEV to 5.0.N (5.0.3)
107232: MNT-14195 : Replication Jobs: An error is thrown every time that a scheduled job should be run if it was disabled
108319: MNT-14195 : Replication Jobs: An error is thrown every time that a scheduled job should be run if it was disabled
- added tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
107541: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE)
107413: Merged DEV to 5.0.N (5.0.3)
106858 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Cleaning of Javadoc,
107565: MNT-13545 Fix compilation after merge of Javadoc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
107281: Merged NESS/5.1.N-2015-05-26 (5.1.0) to HEAD-BUG-FIX (5.1/Cloud)
105463: ACE-3984 : Add support for link creation via Repository REST API
- added the functionality for creating document links
105467: ACE-3984 : Add support for link creation via Repository REST API
- reverted fix to add modifications
105468: ACE-3984 : Add support for link creation via Repository REST API
- added java backed webscripts for creating and deleting links
- added service for handling document links operations
106865: ACE-3984 : Add support for link creation via Repository REST API
- added copyright notice
- added class level comment to AbstractDocLink
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
105991: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
105915: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.3)
105898: MNT-13901 TransformationOptions Timeout Can Not Easily Be Set
- Fix "TransformationOptionPair.setMax(long max) and TransformationOptionPair.setLimit(long limit) so that they don't
clear the other half of the pair when the value being set is < 0 (unset).
- Unit tests added
- Added comments about how the 'transformer' code builds up limits to include defaults.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@106013 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
104506: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
104357: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
104292: Merged DEV to V4.2-BUG-FIX (4.2.5)
104235: MNT-13951 : Please use LinkedHashMap in EnumParameterConstraint.java to take control on selectone.ftl's dropdown list options order
- Changed collection type from HashMap to LinkedHashMap.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
104064: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
103990: SHA-879: Overloaded "deployModel" method to make the created model active/inactive based on the passed in argument. Also, externalised the RepoAdminService error messages.,
104009: SHA-879: An attempt to fix the test failure caused by r103990.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104122 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
102879: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
102769: MNT-13947: Merged DEV to 5.0.N (5.0.2)
102637: MNT-13947: Java API: ServiceRegistry has incorrect bean ids
- Fix ServiceRegistry to return beans by correct ids. Add unit test that checks ServiceRegistry getters.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@103571 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
102180: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
102046: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
101946: Merged DEV to V4.2-BUG-FIX (4.2.5)
101416: MNT-13781: ModuleService is not available via a ServiceRegistry getter
101888: checkstyle fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@102244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261