91385: 5.0 specific merge of MNT-12824 - Search is not returning any results (broken since merge of MNT-12639). Also fix issue with quering more results than needed for the new paged result search screen in Share - should be faster.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94798 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
91358: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
91138: Merged DEV to V4.2-BUG-FIX (4.2.5)
91059 : MNT-12680: Alfresco 4.0/4.2 AtomPub cmis:createdDate value mapping for versions is different then Alfresco 3.4 AtomPub binding results
- Extracting "creationDate" property via filter, like in v3.4
91139: MNT-12680: Alfresco 4.0/4.2 AtomPub cmis:createdDate value mapping for versions is different then Alfresco 3.4 AtomPub binding results
- Reverted "merge" to incorrect branch
91260: Merged V4.2.4 (4.2.4) to V4.2-BUG-FIX (4.2.5) (RECORD ONLY)
91156: Merged DEV to V4.2-BUG-FIX (4.2.4)
91059 : MNT-12680: Alfresco 4.0/4.2 AtomPub cmis:createdDate value mapping for versions is different then Alfresco 3.4 AtomPub binding results
- Extracting "creationDate" property via filter, like in v3.4
91264: Merged V4.2.4 (4.2.4) to V4.2-BUG-FIX (4.2.5) (RECORD ONLY)
91181: Reverse Merged V4.2-BUG-FIX (4.2.5) to V4.2.4 (4.2.4)
91156: Merged DEV to V4.2-BUG-FIX (4.2.4)
91059 : MNT-12680: Alfresco 4.0/4.2 AtomPub cmis:createdDate value mapping for versions is different then Alfresco 3.4 AtomPub binding results
- Extracting "creationDate" property via filter, like in v3.4
91161: Merged DEV to PATCHES/4.2.4
91109 : MNT-12496: CMIS: Unable to navigate to a folder if it has image with special character on the metadata
- Escaping of control characters was added
90723 : MNT-12496: CMIS: Unable to navigate to a folder if it has image with special character on the metadata
- Added tests to check incorrect char in description property of node.
91342: Merged V4.2.4 (4.2.4) to V4.2-BUG-FIX (4.2.5)
91254: Merged DEV to PATCHES/4.2.4
91232 : MNT-12680: Alfresco 4.0/4.2 AtomPub cmis:createdDate value mapping for versions is different then Alfresco 3.4 AtomPub binding results
- Extracting "creationDate" property via filter, like in v3.4
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94785 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90994: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
90950: Merged DEV to V4.2-BUG-FIX (4.2.5)
90745: MNT-12742 : Workflow can be assigned to disabled users
- Change function findUsers to produce the desired affect and prevent the search for disabled users in workflow create when searching for assignee.
90789: MNT-12742 : Workflow can be assigned to disabled users
- Make disabled users visible but not selectable from picker.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94757 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90946: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
90874: Merged DEV (4.2.4) to V4.2-BUG-FIX (4.2.5)
90590: MNT-12281 : Cannot set CSV delimiter in DeclarativeSpreadsheetWebScript
Added CSV delimiter as a request parameter to the DeclarativeSpreadsheetWebScript implementations
Added JUnit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90921: MNT-12765 - No endpoints can be configured in Share that use external-auth and a different URL - as they will be redirected down the URL for 'alfresco' endpoint.
Merged PROPERTY_GROUP_PROTOTYPING (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
90742: Refactoring of SSO paths
- Added Session User authentication support to RemoteUserAuthenticatorFactory - so can use cookie based auth for example with Public API route.
- Tidy up of common duplicated code constants e.g. _alfAuthTicket
- Added Global Authentication Filter around the /api/* endpoint to allow SSO active over Public API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94744 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90918: MNT-12764 - The X-Alfresco-Remote-User (SsoUserHeader) SSO code path executes x2 requests and is stateful when it does not need to be
Merged PROPERTY_GROUP_PROTOTYPING (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
90558: Refactoring of SSO paths
- Added webscripts.authenticator.remoteuser to allow stateless auth of X-Alfresco-Remote-User via the /service servlet mapping. Falls back to basic auth as usual.
- Refactored PublicApiAuthenticatorFactory to extend new RemoteUserAuthenticatorFactory to allow external auth to work correctly with Public API endpoint.
- BasicHttpAuthenticatorFactory tweaked to allow sub-classes to use more of its beans and methods.
- Related code clean up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94741 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90799: Reverse Merge HEAD-BUG-FIX (5.0/Cloud)
<< Test was using old api that has been removed >>
90760: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
90379: Merged DEV (4.2.4) to V4.2-BUG-FIX (4.2.4)
90266: MNT-9342: Calling custom actions having properties declared as « multiple » from WebServices does not work.
Added JUnit test to simulate the issue.
90438: MNT-9342: Calling custom actions having properties declared as « multiple » from WebServices does not work.
Fixed merge mistake for the test in r90379.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90775: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
90627: Merged DEV to V4.2-BUG-FIX (V4.2.4).
90411: MNT-12639: Folder search behavior incorrect for folders configured as repository root node using their path
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90760: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
90379: Merged DEV (4.2.4) to V4.2-BUG-FIX (4.2.4)
90266: MNT-9342: Calling custom actions having properties declared as « multiple » from WebServices does not work.
Added JUnit test to simulate the issue.
90438: MNT-9342: Calling custom actions having properties declared as « multiple » from WebServices does not work.
Fixed merge mistake for the test in r90379.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90406: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
90364: Merged DEV to V4.2-BUG-FIX (4.2.4)
90289 : MNT-12703: NPE at navigation via NodeBrowser
- Initializing of variable
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90397: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
90305: MNT-11704 : Merged HEAD (5.0) to V4.2-BUG-FIX (4.2.4)
86155 : Merged DEV to HEAD (5.0.0)
85514 : ACE-676 : Uploading new version of pdf sets mimetype to unknown
- Use specialised write(content) method to ScriptNode to allow the mimetype, encoding etc. to all be calculated and applied in a single call.
- We should not rely on mimetype sent by client.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90236: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
90185: Merged DEV to V4.2-BUG-FIX (4.2.4).
89014: MNT-12414 Action menu renders two 'cancel edit' actions when working copy opened in webdav by second user.
- Was added unlock-document webscript.
89568: MNT-12414 Action menu renders two 'cancel edit' actions when working copy opened in webdav by second user.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
89755: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
89709: Merged DEV to V4.2-BUG-FIX
88701 : MNT-11809 : Activiti losses data with large Aspect or Type property values
Configured client-side validation, added server-side validation via task and workflow filters. Added unit test.
88897 : MNT-11809 : Activiti losses data with large Aspect or Type property values
Update some config and unit test.
89616 : MNT-11809 : Activiti losses data with large Aspect or Type property values
Added and updated some tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
89523: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
89431: MNT-12242: Merged V4.2.3 (4.2.3.6) to V4.2-BUG-FIX (4.2.4)
<< Still requires more unit tests to be added >>
89177: MNT-12622 : Merged DEV to PATHCES\V4.2.3 (4.2.3.6)
83657 : MNT-12242 : Alfresco "autoVersionOnUpdateProps=false" does not work properly when making a CMIS call
- Do not create version on CMIS update properties explicitly
89184: MNT-12622 : CLONE - Alfresco "autoVersionOnUpdateProps=false" does not work properly when making a CMIS call
- Create MAJOR version on content update if autoVersion==true
89236: MNT-12622 : CLONE - Alfresco "autoVersionOnUpdateProps=false" does not work properly when making a CMIS call
- Create MINOR version on content update if autoVersion==true
89258: MNT-12622 : CLONE - Alfresco "autoVersionOnUpdateProps=false" does not work properly when making a CMIS call
- Correcting comment to match to the actual behaviour
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94627 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
89398: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
89315: MNT-12642: Upload via Share Causes File Corruption
Reverse Merge V4.2-BUG-FIX (4.2.4)
85882: Merged DEV to V4.2-BUG-FIX (4.2.4)
74616 : MNT-11704 : Updating Adobe Illustrator and Photoshop Documents results in loss of mimetype and preview capability
- Guess mimetype using content of uploaded new file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88856: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
88629: Merged DEV to V4.2-BUG-FIX (4.2.4)
88354 : MNT-12565 : Drag and Drop Assumes cm:folder type
- Added check for folder
88594 : MNT-12565 : Drag and Drop Assumes cm:folder type
- Added check for "null" for parent node
88627 : MNT-12565 : Drag and Drop Assumes cm:folder type
88705: MNT-12565 : Drag and Drop Assumes cm:folder type
- added missing "have " in the message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88174: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
88133: Reverse Merge V4.2-BUG-FIX (4.2.4)
88031: MNT-12414 Action menu renders two 'cancel edit' actions when working copy opened in webdav by second user.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94568 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88172: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
88031: MNT-12414 Action menu renders two 'cancel edit' actions when working copy opened in webdav by second user.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88003: Merged DEV to HEAD-BUG-FIX (5.0.1)
85764: ACE-1925 : Intra-Wiki links to pages with umlaut characters are not shown as existing - Added to unescapeHtml title Wiki page.
87724: ACE-1925 : Intra-Wiki links to pages with umlaut characters are not shown as existing
- Added unit test xss injections.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87973: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
87841: Merged DEV to V4.2-BUG-FIX (4.2.4)
87072: MNT-12412 : HTTP Basic auth to /alfresco/cmisatom fails when passthru SSO is enabled
- Added basic SSO fallback to NTLM and PASSTHRU subsystems.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94554 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87777: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
87727: Merged DEV (4.2.4) to V4.2-BUG-FIX (4.2.4)
82329: MNT-11909 : Folder created from template has incorrect primary path or name
Fixed the webscript to use setName instead of directly modifying the name property.
Added JUnit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87701: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
86502: Merged DEV to V4.2-BUG-FIX (4.2.4)
86291: MNT-12303 : Renaming a folder containing a document that is locked due to online editing causes a duplicate folder and file with no content to be created
- Refresh lock request should not create new empty resource.
- Unit test added.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85943: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
85883: Merged DEV to V4.2-BUG-FIX (4.2.4)
85645 : MNT-12382 : No access to process items of (unclaimed) pooled group task via Activiti REST API if user being member of assigned candidate group is not in administrators group
- Add unit test
85718 : MNT-12382 : No access to process items of (unclaimed) pooled group task via Activiti REST API if user being member of assigned candidate group is not in administrators group
- Add check for unclaimed process
- Add unit test
85771 : MNT-12382 : No access to process items of (unclaimed) pooled group task via Activiti REST API if user being member of assigned candidate group is not in administrators group
- Added check for membership in the assigned group for unclaimed pooled workflow
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85941: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
85882: Merged DEV to V4.2-BUG-FIX (4.2.4)
74616 : MNT-11704 : Updating Adobe Illustrator and Photoshop Documents results in loss of mimetype and preview capability
- Guess mimetype using content of uploaded new file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94520 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85563: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
84701: Merged DEV to V4.2-BUG-FIX (4.2.4)
84682 : MNT-12413 : Site preset evaluator does not work in document details
- Add "sitePreset" in location site.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85562: Change version to 5.0.1 and incremented the schema number
- pom.xml files changed from 5.0-BF-SNAPSHOT to 5.0.1-SNAPSHOT
- schema number increased by 8 rather than 4 (which is the normal increment for a service pack) as this is SP 1
and as a result it is more likely we will need a few more db patches in 5.0.0
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
Fixed content tracker to limit concurrent commits.
Fixed delete to use "id" - better then delete by query which requires NRT reload
Fixed TX and Changeset in index detection
1) only check if it can be in the index based on timestamp
2) cache that should cover last hour recheck
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87647: ACE-3047 : Bulk Import Tool: Status page is not refreshed automatically during import process
- Ensure that bulk import started before redirecting client to the status page.
87648: ACE-3048 : Bulk Import Tool: IE: Script error on Bulk Filesystem In-place Import Tool page - 'YUI' is undefined
- Missing javascript resource.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87390: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
<< SteveG requested these commist be merged to HEAD >>
87255: ACE-2928 : Secondary Type id "P:sys:localized" is invalid
Re-instated the sys:localized aspect, deleted in r80397.
87367: ACE-2928 : Secondary Type id "P:sys:localized" is invalid
Removed unnecessary check in the test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87391 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261