Commit Graph

29 Commits

Author SHA1 Message Date
Matt Ward
36e70bf36a Merge pull request #26 from Alfresco/fix/REPO-2926_fix_cmis_sys_updates
REPO-2926: CMIS update now ignores aspects in the sys namespace (MNT-18340)
2017-09-27 14:51:33 +01:00
Matt Ward
6b50c33740 MNT-18546: exclude the undeletable aspect from node copies
Added a policy implementation to the UndeletableAspect class so that
the aspect is not copied to other nodes.

This solves the problem where a document has the aspect added to it by
Cloud sync (for example) and is then checked-out, but may never be
checked in again (or editing cancelled) as the working copy included
the sys:undeletable aspect.
2017-09-25 16:54:05 +01:00
Cristian Turlica
a89dc6c904 Fix REPO-2903 Service Pack: MNT-18285: Brute force account attacks: Accounts not reenabled when using authentication chaining (#22)
- Logins are now protected based on a combined key from authentication service system id and user name, this allows us to fix the case when a valid login was denied for subsequent authentication service if the prior authentication services in the chain failed.
- Cache is now set to be local, as the new implementation doesn't require it to be fully distributed
2017-09-25 08:08:41 +03:00
Matt Ward
f61b3c747f Merge branch 'develop' into fix/MNT-18340_needs_two_updates
# Conflicts:
#	src/main/java/org/alfresco/opencmis/CMISConnector.java
2017-09-22 15:43:24 +01:00
Alexandru-Eusebiu Epure
366a0e773e Fix/mnt 16641 cmis applying aspects including protected properties (REPO-1065) (#20)
* REPO-1065 : Service Pack: MNT-16641 CMIS API: Applying aspects including protected properties results in CmisInvalidArgumentException: Property is read-only!
   Remove code from CMISConnector.processSecondaryTypes, that for each aspect added, it will search all of his properties in repository and add them with a null value(if not included in the propsToAdd).
      Add an extra check to CMISTest.testUpdatePropertiesSetDeleteContentVersioning now adding the P:cm:lockable aspect to a document (before this fix failing).
         Added CMISConnector.isUpdatable returns true/false if a property is updatable
2017-09-22 14:45:14 +03:00
Matt Ward
a321e1a812 REPO-2926: CMIS update now ignores aspects in the sys namespace
Includes tests
2017-09-21 17:18:11 +01:00
Matt Ward
2f16270e6f MNT-18340: no longer ignores property updates for "unrelated" aspect removal
https://issues.alfresco.com/jira/browse/MNT-18340
2017-09-20 16:28:49 +01:00
Erik Knizat
bb927442f0 Merge branch 'develop' into feature/REPO-2626_HB2.0 2017-09-19 17:07:27 +01:00
Andreea Nechifor
cc2f384cbc Merge remote-tracking branch 'origin/develop' into fix/MNT-17970_recipientListForGroups 2017-09-15 16:49:55 +03:00
Andreea Nechifor
ad6b11ee69 REPO-2868 : MNT-17970 2017-09-15 15:24:31 +03:00
Andrei Rebegea
2a8d08567f Fix/repo 2880 move to perm fix (#18)
* REPO-2880: MNT-18014 Site Managers cannot view content of folders with inheritance off after a Move Operation

* REPO-2880: fix compilation error, add missing import
2017-09-15 14:44:50 +03:00
Ancuta Morarasu
7814bf18f6 Merge branch 'develop' into feature/REPO-2626_HB2.0 2017-09-14 10:41:43 +03:00
Erik Knizat
789d216fd2 REPO-2850 Heartbeat: Add support for turning the data collection on/off based on the heartbeat.enabled global property
* Move the enabled state from HBDataCollectorServiceImpl to HearBeat class as it is only modified there.
2017-09-12 18:56:54 +01:00
Andrei Forascu
ec93521c15 REPO-2868 / MNT-17970: List of recipients is not available in model in MailActionExecuter.when sending to groups
- added the "to" parameter to the Email Template Model. The list of persons to which the email is sent will be displayed in the email body if the template is configured to do so
     - added a Junit for the case where the email is sent to a group
2017-09-12 16:23:36 +03:00
Ancuta Morarasu
a1dfc6fafe REPO-2626 / REPO-2878: Cleanup after merge from /repo - feature/REPO-2614_send_legacy_hb_data 2017-09-12 02:16:43 +03:00
Ancuta Morarasu
6d4510043d REPO-2625 / REPO-2626: Use of the heartbeat data sender. 2017-09-12 02:03:04 +03:00
Ancuta Morarasu
ccaeda45dc REPO-2625 / REPO-2854: Update HBDataSenderService definition 2017-09-12 02:01:40 +03:00
Erik Knizat
70a9a2dae3 REPO-2853: Clean up
* Fix formatting
* Add javadoc
* Remove unused imports
* Remove unused Heartbeat.isEnabled()
2017-09-12 01:57:17 +03:00
Ancuta Morarasu
c18d4cb4e6 (Erik Knizat) REPO-2853 Heartbeat: Move the Heartbeat class to Community and cleanup legacy code
* Delete unused heartbeatpublic.keystore
* Rename CommunityHBDataCollector.java to RepositoryDataCollector.java as per code review
* Removed licence related data from RepositoryDataCollector.java
* Remove unused commented out methods
* Synchronise accessors for hb enabled flag
2017-09-12 01:55:56 +03:00
Erik Knizat
fc05980f98 REPO-2850 Heartbeat: Add support for turning the data collection on/off based on the heartbeat.enabled global property
* Add support for enabled property
* Add support for hearbeat target url propery
2017-09-12 01:48:52 +03:00
Ancuta Morarasu
58f272d01b REPO-2625 / REPO-2626: Use of the heartbeat data sender 2017-09-12 01:46:53 +03:00
Ancuta Morarasu
ca14f06392 (Erik Knizat) REPO-2853 Move the Heartbeat class to Community and cleanup legacy code
* Move HeartBeat bean definitions to new hearbeat-context.xml
* Removed bean definition for the EnterpriseHBDataCollector.java
* Refactored code based on code review
* Added real data collection to CommunityHBDataCollector.java
2017-09-12 01:37:22 +03:00
Ancuta Morarasu
37464d825c (Erik Knizat) REPO-2853 Move the Heartbeat class to Community and cleanup legacy code
* Moved HeartBeat to community and refactored
* Configured HBDataCollectorService with dummy data collectors in bootstrap-context but this configuration might be moved elsewhere.
2017-09-12 01:30:19 +03:00
Ancuta Morarasu
0ec01992ec REPO-2626: Heartbeat: Add data collection to Community code
- Initial (bare) implementation of the new Data Collectors
    - The corresponding spring beans were NOT added.
2017-09-12 00:45:08 +03:00
Cristian Turlica
3c98f67e1a REPO-2705: Service Pack: MNT-17961: Cannot create new Alfresco NON-versioned document with CMIS API Calls
- added possibility to create cmis document with VersioningState.NONE
2017-09-08 15:51:43 +03:00
Alexandru-Eusebiu Epure
4cbacecada REPO-2819 : DELETE /shared-links/{id} with admin returns 403 (#9)
* REPO-2819 : DELETE /shared-links/{id} with admin returns 403
   Add an extra check to QuickShareServiceImpl.canDeleteSharedLink, because the admin user can return the SiteName of a nodeRef (even if it's private).
      Add a JUnit test into QuickShareServiceIntegrationTest
         Add a comment to the test - no actual shared Link is needed for this test.

* REPO-2520 : SiteMembership Java API calls should tell which site resulted in errors
   Add the test class into the test suite (was not previously added).
2017-08-30 10:26:07 +03:00
Alex Mukha
af2e069b2e Merge branch 'fix/REPO-2365-GET-/shared-links-returns-403' into 'develop'
REPO-2365 :

See merge request !19
2017-08-23 12:27:15 +01:00
Alex Mukha
e6a93099bd REPO-2724 Add repository.properties to ServerDescriptor configuration 2017-08-04 13:17:34 +01:00
Alex Mukha
5e247e50b4 REPO-2724 Apply default maven folder structure 2017-07-28 14:51:21 +01:00