5367 Commits

Author SHA1 Message Date
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
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
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
Derek Hulley
958b298f4a Merged DEV to HEAD (5.0)
87804: ACE-2030: Retire jbpm-upgrade.sql including patches using it
    The from-to schema values match those of the 'patch.db-V3.2-Upgrade-JBPM' bean and they both referenced the
    same SQL file.  Therefore, it was simply a duplicate with the V3.2 bean being the one doing the actual work.
    This bean is therefore joining the V3.2 version in retirement.  The 'targetSchema' is for information purposes
    only and has been changed from 6001 to 2018, which is what it actually did.
  87805: ACE-2030: Remove more patches introduced for upgrade to V3.2
  87806: ACE-2030: Remove more patches introduced for upgrade to V3.3.x
  87807: Move patch.migrateAttrDropOldTables out of the danger zone (ACE-2030) before continuing clean up.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-11 20:57:42 +00:00
Derek Hulley
1217371e37 ACE-2030: Remove more patches introduced for upgrade to V3.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87776 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-10 17:14:25 +00:00
Derek Hulley
c5ac017dfb ACE-2030: Remove some patches for V3.1, including Version store migrator
- Deprecated VersionStore V1 is no longer usable by any means
 - Various scripts and other patches retired


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87775 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-10 17:12:57 +00:00
Jamal Kaabi-Mofrad
76361fbf61 ACE-3083: Fixed facets reordering/retrieving when a default facet is removed from the config file, but it has already been persisted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-10 16:31:50 +00:00
Stefan Kopf
36c3cb3a04 ACE-2171 - EOL: WCM and related JBPM workflow definition removal
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87752 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-10 14:33:33 +00:00
Neil McErlean
5f1cbea5e3 Fix for ACE-3031. Quick test files should be part of the product.
The solution here was to move the various 'quick' files from test-resources into config.
I also needed to refactor the TransformerDebug class (called by the MBean operation) so that
it dealt with URLs of quick files rather than java.io.Files of quickfiles.
The various quick resources are available as entried in the repository jar file rather than being actual files on the filesystem.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86581 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-06 14:56:23 +00:00
Alex Mukha
0c9de67714 Merged DEV (5.0.0) to HEAD (5.0/Cloud)
86091: ACE-1061 : SQL Server: ArchiveAndRestoreTest.testListArchivedNodesFilter fails
   Disabled case-sensitive filtering as not required.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86359 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-03 06:17:59 +00:00
Alan Davis
172c9afcba Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
86344: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      86341: MNT-12491/ACE-2858: CLONE - 7z zip TIKA transformer is slow: Transformation of bin->txt to takes 2+ mins, continually retries and never succeeds
         - Added supported transformers.properties so we don't try to extract txt from binary (or unknown) files
         - fixed bug were none default mimetype for an extension was ignored


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86347 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-03 05:58:55 +00:00
Ahmed Owian
1cc565d659 ACE-2092: EOL Lucene
- 1) Removed all "lucene" stuff from the admin screens. 
   - ERRORed on sub-system start up that lucene is unsupported 
   - 3) Hid "lucene" subsystem from JMX so that it is not registered.
   - TODO:
   - 2) Rename "lucene" to "buildonly" in core-services-context.xml
   - 4) Change the default in repository.properties to "noindex" 
   - 5) Fix the build environment via Samuel
   - Add to ERROR message about upgrading to Solr

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-03 04:46:29 +00:00
Pavel Yurke
ef5954a1a4 Reverse merged HEAD (5.0/Cloud)
<< Put the code back to HEAD >>
   86049 : Reverse merged HEAD (5.0/Cloud)
      << Cause of 4 errors in https://bamboo.alfresco.com/bamboo/browse/ALF-ENT-141 >>
      85880: ACE-2181 : Reverse Merge HEAD (5.0)
         << Implementing another approach for MNT-10946 and ACE-2181 >>
         Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
            71600: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
               70349: Merged DEV to V4.2-BUG-FIX (4.2.3)
                  70294 : MNT-10946 : Admin is no longer able to unlock files
                     - Check if node is locked before unlock for non-admin or System users. Fix related test
      85881: ACE-2181 : Merged DEV to HEAD (5.0)
         76214 : MNT-10946 : Admin is no longer able to unlock files
            - Drop check for lockowner from AbstractLockStore.set. Fix related test 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86238 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-02 09:39:02 +00:00
Jamal Kaabi-Mofrad
a8c7c459f9 ACE-2981: Fixed NPE when applying the "patch. SurfConfigFolder" patch to an alfresco repository which has no Site.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86213 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-01 23:24:09 +00:00
Jamal Kaabi-Mofrad
28d4d42985 ACE-2971: Fixed SiteTitleDisplayHandler to decode the ISO9075 encoded site name, before delegating the lookup to SiteService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-01 12:03:58 +00:00
Mark Rogers
533f29e96b ACE-2173 : EOL RMI Services Attempt 2
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-01 12:03:12 +00:00
Alan Davis
8ac2f6540e Reverse Merge HEAD (5.0/Cloud)
<< Appears to be cause of 7 failures in https://bamboo.alfresco.com/bamboo/browse/ALF-ENT-150 >>
   86040: ACE-2173 : EOL RMI Services


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-30 22:17:28 +00:00
Alan Davis
b8ddc53af2 Reverse merged HEAD (5.0/Cloud)
<< Cause of 4 errors in https://bamboo.alfresco.com/bamboo/browse/ALF-ENT-141 >>
   85880: ACE-2181 : Reverse Merge HEAD (5.0)
      << Implementing another approach for MNT-10946 and ACE-2181 >>
      Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
         71600: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
            70349: Merged DEV to V4.2-BUG-FIX (4.2.3)
               70294 : MNT-10946 : Admin is no longer able to unlock files
                  - Check if node is locked before unlock for non-admin or System users. Fix related test
   85881: ACE-2181 : Merged DEV to HEAD (5.0)
      76214 : MNT-10946 : Admin is no longer able to unlock files 
         - Drop check for lockowner from AbstractLockStore.set. Fix related test 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-30 22:15:25 +00:00
Mark Rogers
bcdf0c5108 ACE-2173 : EOL RMI Services
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-30 16:29:07 +00:00