5611 Commits

Author SHA1 Message Date
Alan Davis
f3928a21cd Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
85565: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      85433: Merged DEV to V4.2-BUG-FIX (4.1.4) with unit test
         84722: MNT-12420: Outlook 2011 (MacOS) implements an IMAP move as an APPEND leading to the creation of an EML file
            - Perform copy instead of create on APPEND request when existing node with provided message-id or X-Alfresco-NodeRef-ID can be found 
            - Add Unit test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 09:31:26 +00:00
Neil McErlean
63a1357a77 ACE-3671. I'm putting SolrFacetServiceImpl.updateFacet back to its original implementation as the lazy-creation of solr facet folder happens during creation and shouldn't affect the update case. Also there is a test failure on myalfresco which may be affected. See https://bamboo.alfresco.com/bamboo/browse/THOR-CLOUD-1047
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@93077 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-07 12:29:07 +00:00
Neil McErlean
9f56ff88e0 Tweak to code as part of ACE-3671. Needed to handle a null facetsRoot folder during a webscript POST.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@92841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-04 16:28:41 +00:00
Neil McErlean
11a8f28044 This is a tentative fix for ACE-3671. It's being checked in in order to push one build through bamboo.
The fix was to remove the bootstrap patch for the solrFacetsRootFolder created within Data Dictionary.
We are lucky with this feature in that any time this folder is accessed, it either happens:
1. within a write transaction and so we can lazy-create the folder
2. within a read transaction where the data being returned by the SolrFacetService can be easily simulated.

So we now lazily create the folder when it is first used - reusing the importer bootstrap/view data that the patch had used.
AFAICT, this will create the folder (in the default tenant) during startup and also when any search admin tries to create a new SOLR filter within a non-default tenant.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@92799 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-12-29 21:23:13 +00:00
Mark Rogers
444ed8ff23 ACE-2919 - ACE-2836 Not all properties can be used when they were encrypted by the Encrypted Properties Management tool
- made encrypted properties work with subsystems.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@91072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-25 15:30:10 +00:00
Brian Remmington
a32dbef574 ACE-3500: LDAP sync failure
- Side-step NPE if we fail to find an invitation that matches a given workflow task.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@90515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-15 20:27:02 +00:00
Pavel Yurke
46ceced321 Merged HEAD-MNT-2904 to HEAD (5.0.0)
89997: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
      - Update base types. Appropriate unit test was added.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@90092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-07 10:47:34 +00:00
Pavel Yurke
4e858163a8 Merged HEAD-MNT-2904 to HEAD (5.0.0)
89844:ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Update of typeDefInclProperties property definitions is required. Updated unit test to check functionality.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-04 14:38:28 +00:00
Pavel Yurke
4e57f75adf Merged HEAD-MNT-2904 to HEAD (5.0.0)
89796: Merged DEV to HEAD-MNT-2904
      88615: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix for side effect of ACE-1996, when initial title/description resolving was removed. Now, it will be resolved, when we are going to get type definition for the first time. Appropriate unit test was added.
      89240: ACE-3322: CMIS Types have lost display names - breaks workbench
         - Update child definitions.
      89482: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix that updates property\properties of type definition. Unit test was added that checks for update children type defs and properties.
      89775:  ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix that won't update property\properties of type definition on initialization phase (resolveInheritance method invocation).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-04 08:23:57 +00:00
Matt Ward
0b341095ec ACE-3327: fixed accidental infinite loop.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-04 08:07:32 +00:00
Jamal Kaabi-Mofrad
04e375db63 ACE-3290: minor refactoring of r89637. Also, added date buckets in their own bean.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-03 19:43:24 +00:00
Matt Ward
d9c11a7ca7 Merged BRANCHES/DEV/mward/head_cachestats to HEAD:
89575: ACE-3327: Work In Progress. TX cache statistics.
   89642: ACE-3327: Exposes statistics through JMX. Adds hit ratio.
   89649: ACE-3327: Added "@since 5.0" to new classes.
   89691: ACE-3327: improved TransactionalCache stats tests.
   89743: ACE-3327: fixed lack of thread safety for InMemoryCacheStatistics.
   89752: ACE-3327: now possible to disable/enable tx cache statistics per-cache with properties.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89798 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-03 18:08:50 +00:00
Jamal Kaabi-Mofrad
6eb2e63663 ACE-3290: Added date facet fields in their own bean, so it can be overridden, rather than the full date display handler bean.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-31 14:34:05 +00:00
Pavel Yurke
72ce672d17 Reverse Merged - Fix causes deadlock in tests
89542: Merged DEV to HEAD (5.0.0)
      88615: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix for side effect of ACE-1996, when initial title/description resolving was removed. Now, it will be resolved, when we are going to get type definition for the first time. Appropriate unit test was added.
      89240: ACE-3322: CMIS Types have lost display names - breaks workbench
         - Update child definitions.
      89482: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix that updates property\properties of type definition. Unit test was added that checks for update children type defs and properties.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-31 08:49:17 +00:00
Pavel Yurke
a445c6bf80 Merged DEV to HEAD (5.0.0)
88615: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
      - Fix for side effect of ACE-1996, when initial title/description resolving was removed. Now, it will be resolved, when we are going to get type definition for the first time. Appropriate unit test was added.

   89240: ACE-3322: CMIS Types have lost display names - breaks workbench 
      - Update child definitions.

   89482: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
      - Fix that updates property\properties of type definition. Unit test was added that checks for update children type defs and properties.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-30 13:48:37 +00:00
Pavel Yurke
200b3c4ff3 Revert of R 88659 ACE-2904
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-28 09:57:02 +00:00
Kevin Roast
668c2f1f35 ACE-3077 - BM-0013: SOLR GC performance
- Reduce GC further
   - Non-blocking http params moved from remoteAPI to core
   - Code cleanup - tabs to spaces!

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-27 13:37:07 +00:00
Andrew Hind
9c13732661 Fix for ACE-3284 CMIS: NPE when performing concurrent search and delete operations
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89211 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-27 13:27:00 +00:00
Matt Ward
2c4b80f1e4 ACE-3310: It is impossible to delete tenant, when a site has been created in it
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89210 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-27 13:19:11 +00:00
Pavel Yurke
c9dbaa773a ACE-2224: Merged DEV to HEAD (5.0/Cloud)
89023: ACE-2224: Could not re-applying ACL by cmis api request using Atom binding
      - Report only repo permissions if onlyBasicPermissions is 'false', but do revert conversion if cmis basic permission has exact matching. Remove MNT-4561 changes to avoid clever logic. Restore unit test for MNT-10165 scenario. Allow apply empty set of direct permissions if node inherits parent permissions. In onlyBasicPermissions mode report only one cmis permission if one was set.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-24 14:52:08 +00:00
Steven Glover
5018316faf ACE-3195 "Master key removal leads to Document Library and Dashboards errors"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-24 14:05:03 +00:00
Kevin Roast
613db46e5f ACE-3216 - server.maxusers count does not work correctly - off by one
- Fix fun off-by-one error meaning that 1 users = 0 users hoho!
ACE-3296 - SysAdmin bean should validate values for server.maxusers - or it is possible to accidently lock out the admin user!
   - Fix to ensure that although -1 means "infinite users allowed", a value of -2 or less does not mean "no users allowed" double-hoho!

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89105 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-24 11:43:59 +00:00
Matt Ward
3740ac93d1 ACE-3137: Workflow Admin Console: Not possibility to signal transition for activiti
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-23 12:09:58 +00:00
Pavel Yurke
6b1b075584 ACE-2224: Reverse Merge HEAD (5.0/Cloud)
74808: Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
      73693: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
         73621: MNT-10165: CMIS 1.1 API: Impossible to remove ACL through Atom binding
            - Fix test failure - fix CMISTest to not affect on AuthorityServiceTest
   74803: Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
      73688: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
         73548: MNT-10165: Merged DEV to V4.2-BUG-FIX (4.2.3)
            61161: MNT-10165: CMIS 1.1 API: Impossible to remove ACL through Atom binding
               - Detect permission to delete for principal and also find and delete all the concomitant basic CMIS permissions. Add unit test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-22 12:30:57 +00:00
Kevin Roast
2eaca123a8 ACE-3175 - Activity notification emails are overloaded with tracked preview and download actions
- Final part, move ability to ignore specific Activity Types from emails from Cloud only code to default handler.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88906 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-22 12:01:32 +00:00
Kevin Roast
9376ec3b44 ACE-3175
- First part, fix embarrassing spelling mistakes in public API methods and bean settings.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-22 09:13:24 +00:00
Stefan Kopf
e628a65529 ACE-3235 - LuceneIndexer does not support nodes being created in different domains within one transaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-21 09:48:53 +00:00
Kevin Roast
60f6927bf6 ACE-3222 - Unable to delete an empty tenant
- Fix to allow PersonService to delete the Guest user for a tenant

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88755 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-20 14:42:55 +00:00
Pavel Yurke
338aa7904d Merged DEV to HEAD (5.0.0)
88615: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
      - Fix for side effect of ACE-1996, when initial title/description resolving was removed. Now, it will be resolved, when we are going to get type definition for the first time. Appropriate unit test was added.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88659 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-17 16:45:37 +00:00
Jamal Kaabi-Mofrad
9b4a83ac2d Added UNIT tests for the SpellCheckDecisionManager class.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-17 12:53:48 +00:00
Ahmed Owian
f16b1ac567 ACE-3121: Workflow Admin Console: Cannot change priority for activiti
- Removed priority value validation.  Just checked the type.
   - TODO: Determine if DelegateTask also needs similar handling

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-16 21:50:10 +00:00
Ahmed Owian
24560c0afd ACE-3121: Workflow Admin Console: Cannot change priority for activiti
- Handled priority property for Task
   - Determine if DelegateTask also needs similar handling

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-16 21:34:08 +00:00
Ahmed Owian
eb0a69770d ACE-3121: Workflow Admin Console: Cannot change priority for activiti
- Handled priority property for Task
   - Determine if DelegateTask also needs similar handling

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-16 18:24:25 +00:00
Derek Hulley
5da1fe3385 Remove tabs after code check for ACE-3118
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-15 13:18:46 +00:00
Neil McErlean
b9c9f3adba Replacing another String == comparison with String.equals.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 15:13:21 +00:00
Derek Hulley
0e7398576d ACE-2030: Clean up patches on unsupported upgrade paths to 5.0
88058: ACE-2030: Start process of retiring patches leading up to 4.0a
  88061: ACE-2030: Remove unused SQL scripts for newly-retired patches
  88062: ACE-2030: Change class names for all generic patches.
  88064: ACE-2030: Remove unused patch implementation classes and fixes to get upgrade working again.
  88067: ACE-2030: Clean up unused code and SQL for PatchDAO


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 14:58:37 +00:00
Neil McErlean
f25cff559a Add handling for equals(null) in TransformerSelectorImpl$TransformerSortData.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 14:04:24 +00:00
Neil McErlean
65031da6ef Replaced a couple of String == comparisons with String.equals.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 13:50:51 +00:00
Neil McErlean
e46f48b586 Fixing a dodgy line of code in SiteServiceImpl which I don't believe can cause a bug today, but exposes us to a bug in the future.
A java.util.Comparator.compare result was being compared to 1, which worked because the Comparator implementation we ship returns -1, 0 or 1. But the method contract is actually -ve, 0, +ve - so I've changed the comparison to that, which is safer.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 13:46:36 +00:00
Neil McErlean
b652eb89c5 Removing the possibility of a NPE in WorkflowService when run with trace logging. (Findbugs)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 13:34:44 +00:00
Neil McErlean
33fa5fb4be This class had an unavoidable NullPointerException when run with debug logging. NPE removed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 13:23:19 +00:00
Neil McErlean
23a91da204 Added missing license header to file.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 13:19:33 +00:00
Neil McErlean
08c0754605 Fix for ACE-3116.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88041 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 13:16:14 +00:00
Neil McErlean
51a03a6999 Fix for ACE-3027. Code adjusted to handle spellCheck parameter having null value.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88033 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 12:47:06 +00:00
Jamal Kaabi-Mofrad
14ab0ed394 ACE-3093: Changed the logging level of the surfConfig patch.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-13 14:32:30 +00:00
Mark Rogers
fb244f2e46 ACE-3092
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-13 13:05:48 +00:00
Stefan Kopf
a98be4b880 ACE-3095 - Patch patch.eol-wcmwf fails if wf engine is disabled.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-13 12:40:21 +00:00
Jamal Kaabi-Mofrad
c8a6a9847c ACE-2992: Added post processing logic to return the appropriate label keys for "_REPOSITORY_" & "_SHARED_FILES_" Site's facet values.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-13 12:13:08 +00:00
Derek Hulley
33da30e3b8 Merged DEV to HEAD (5.0)
87810: ACE-2030: Moved retired patches into retired-patches-context.xml
  87811: ACE-2030: Clean up unused PatchDAO methods and SQL mappings


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-11 21:00:25 +00:00
Derek Hulley
89a179e2d7 Merged DEV to HEAD (5.0)
87808: ACE-2030: Remove more patches introduced for upgrade to V3.4 (pre-release)
  87809: ACE-2030: Remove final 3.4 (pre-release) patches.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-11 20:59:05 +00:00