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
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
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
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
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
86271 : ACE-2960 : getRepositories service no longer works for the atom pub binding
- Do not change -default- to blank string
86300 : ACE-2960 : getRepositories service no longer works for the atom pub binding
- Return reqQueryString if networkId not specified. Test extended with 1.0 and 1.1 versions and browser binding
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86365 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Fix to ensure download webscript is only using a readonly (non-buffered) txn
- Activity creation only now performed in a new WRITE txn
- UserAgent fix - handle as lowercase to avoid "FireFox" and "Firefox" issue - also added IE11 support to RFC5987 detection
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85527: ACE-2355 : Can't access sites' of Cloud networks other than 'alfresco.com' on Android mobile device with Alfresco mobile app
Added repositoryId as an url parameter for CMIS requests.
85721: ACE-2355 : Can't access sites' of Cloud networks other than 'alfresco.com' on Android mobile device with Alfresco mobile app
Implemented a test to simulate the issue.
85759: ACE-2355 : Can't access sites' of Cloud networks other than 'alfresco.com' on Android mobile device with Alfresco mobile app
Extended the test to use both 1.0 and 1.1 end points.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85766 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85515: Merged DEV to HEAD-BUG-FIX (5.0/Cloud).
63635: ALF-20865 Consumers should not be able to share/unshare a document
Unshare action can perform consumer/contributer who performed Share action or a user with another role.
84859: ACE-936 Consumers should not be able to share/unshare a document
In QuickShareRestApiTest was added testUnshareContributer() test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85533 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85067: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
84399: Addition of 'special' facetable properties. These aren't Alfresco properties at all, but are just entities that SOLR understands and can facet on. Part of ACE-2639. Examples currently are TAG and Site.
Note that these are sorted at the top of the facetable properties list and so should always appear in a first result page.
As part of this, I've refactored the FTL-specific parts of FacetablePropertiesGet to try and extract out the messy bits into a single class, FacetablePropertyFtl.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85042: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
84307: Fixes to ACE-2639. The long-form QName for synthetic properties should be like {http:\/\/www.alfresco.org\/model\/content\/1.0}content.size
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85028: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
84196: Addition of what I'm calling 'synthetic' facetable properties to SolrFacetService and REST API as part of ACE-2639.
A synthetic property is something that is technically *NOT* a property, but which can be treated as such for the purposes
of SOLR facetting/filtering.
Currently we only support two synthetic properties: size and mimetype, which are defined within any Alfresco property of
type d:content. This includes, but is not limited to, the cm:content property in all cm:content types in Alfresco.
(Be careful with your cm:content. That name is heavily overloaded.)
This checkin only supports what we need for 5.0. It is expressly not designed for resuse/extension in a general way.
However, I have tried to push the less stable parts of this work into the implementation of the service and REST API
and limit what's in the service interface to the more stable parts of the work.
Also note that I had to add some l10n/i18n key-values for these synthetic properties. I've called the mimetype 'MIME type'
in the l10n'd text as I have translations for that in all languages.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84974: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83853: As part of ACE-2639, this adds an optional locale query parameter to the facetableproperties.get webscript.
We may revisit the use of a URL query parameter to get the requester's locale and consider e.g. an accept-languages HTTP header, but for now, ?locale=fr, will receive french titles and descriptions for property definitions. ?locale=rubbish or "" will result in the use of the server's default locale.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85289 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84958: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83712: ACE-2612: Added option to lower case Suggester term (addressing the review comments). Also refactored the Suggester service to take 'SuggesterParameters' as a method parameter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84954: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83702: ACE-2639. Added javadoc stating that inherited properties are included in results for a single type/aspect, which they are.
Added content class qname (type/aspect) to the JSON rsp as it's very helpful.
Improved FacetablePropertyData's compareTo impl to properly sort on model,type,prop.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85271 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84951: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83689: ACE-2248 "Move Events and Messaging Framework into Core"
Fix up side effects of changes to messaging and events services code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85268 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84950: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83670: Moved the FacetablePropertyData inner class from SolrFacetService (Java API layer) into FacetablePropertiesGet (REST API layer) as that is a better place for it. ACE-2639.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84938: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83536: Added support for a namespace query parameter (nsp) as part of ACE-2639.
Improved the .desc.xml documentation.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84922: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83457: Refactoring the facetable properties.get response and some of the service API. Part of ACE-2639.
This checkin changes the JSON structure slightly (array, not map), adds a displayName.
The localised title and displayName are still in the server locale. I'll fix that to client locale next. Also need to add paging.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85239 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84917: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83444: ACE-2639. Added property title (where available) to JSON rsp.
As the title can only be retrieved using a getTitle(MessageLookup) call, I had to get the titles from the Java layer, rather than a straight get call in the FTL. Makes the API a bit messier. I may get to tidy it as part of ongoing work on ACE-2639.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84249: ACE-2644 - Administrator Node Browser (in-process) functional parity of Explorer
Changes requested after Support review:
Button to expand/hide the advanced search bigger.
Different colours per row.
Fixed Session serialization of node browser classes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84047: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
83804: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
83716: MNT-11355: Merged DEV to V4.1-BUG-FIX (4.1.10)
83675: MNT-11355: PostSubParamInjection and HeaderParamManipulation attacks identified by HP Web Inspect
- Hide SQLException from stacktrace that is sent in error response to client. Add unit test.
-----------------------------------------------
M /alfresco/BRANCHES/DEV/V4.1-BUG-FIX
M /alfresco/BRANCHES/DEV/V4.1-BUG-FIX/root/projects/core/source/java/org/alfresco/error/AlfrescoRuntimeException.java
M /alfresco/BRANCHES/DEV/V4.1-BUG-FIX/root/projects/remote-api/source/java/org/alfresco/repo/web/scripts/RepositoryContainer.java
M /alfresco/BRANCHES/DEV/V4.1-BUG-FIX/root/projects/remote-api/source/test-java/org/alfresco/repo/web/scripts/RepositoryContainerTest.java
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
83943: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
82504: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
81668: Merged DEV to V4.1-BUG-FIX (4.1.10)
80985 : MNT-12082 : Consumers can add comments using URL parameters, although they are not allowed to do so
- Fixed the issue. Implemented a test to simulate the issue.
82513: Fix build failure after:
Merged DEV to V4.1-BUG-FIX (4.1.10)
80985 : MNT-12082 : Consumers can add comments using URL parameters, although they are not allowed to do so
- Fixed the issue. Implemented a test to simulate the issue.
83418: Add further hacks to the CommentsApiTest, which needs to be refactored to use RetryingTransactionHelper.
83679: MNT-12082 : Consumers can add comments using URL parameters, although they are not allowed to do so
- Fixed build failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261