Commit Graph

5499 Commits

Author SHA1 Message Date
Jamal Kaabi-Mofrad
3a3c78c5db Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133084 jkaabimofrad: APPSREPO-61: Corrected the debug messages.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133217 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:53:49 +00:00
Jamal Kaabi-Mofrad
9faaad1d45 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133081 jkaabimofrad: APPSREPO-61: First cut of automatic time expiry enhancement to the quick-sharing functionality.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:53:39 +00:00
Alex Mukha
75286950f1 REPO-1489: Slowdown of brute force attack on passwords
- Added the implementation based on REPO-1539.
   - Added JUnit tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-25 21:20:31 +00:00
Derek Hulley
5682ef0c34 Undo fix for REPO-1022: MNT-16271. Tests working locally but race conditions are possible.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133098 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 21:05:13 +00:00
Derek Hulley
b6358642e4 REPO-1022: MNT-16271 SiteGroups of existing sites are deleted if site of the same name exists in the Trashcan.
- It is not possible to create a site if a same-named site has not been deleted and purged
 - Before this change came in, there were cases where sites had been created while same-named sites existed in the trashcan
 - Purging those sites was detrimental to the live sites
 - Added the workaround and associated test as suggested by Andrea on MNT-16271


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 13:13:22 +00:00
Derek Hulley
529834ebad Bring imports into line during investigation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 11:42:51 +00:00
Ramona Neamtu
aa591b1362 SHA-1930 : Unable to delete folder, when the folder contains shortcut link to the same folder
- Check link for PENDING_DELETE aspect before trying to delete it
   - Added unit test for case

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 11:51:11 +00:00
Andrew Hind
a514f96d30 Fix for ACE-5608 SOLR 6 - Dynamic shard registration does not support secure sharding
- tested against SOLR4/6 sharded and unsharded

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-22 10:25:23 +00:00
Ramona Neamtu
a2b7f645d3 MNT-16942 : Unknown mimetype when using Upload New Version action.
- changed the mimetype to lowercase

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-17 10:22:45 +00:00
Ramona Neamtu
13fc175c56 SHA-1860 : Incorrect tooltip when hovering over the icon of a link in Document Library
- Set title and description properties when create link for a node in order to build tooltip corectly

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132743 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-14 14:57:05 +00:00
Stefan Kopf
c9f08144b0 REPO-1535 - HotFix: MNT-16991: Mixed case user name issue for public workflow REST API
MNT-16991 - Mixed case user name issue for public workflow REST API
- AuthorityDAOImpl: Normalize username before reading from or writing to the cache
- AuthorityServiceTest: Added test case using mixed case user names

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 11:30:45 +00:00
Ramona Neamtu
dbe2c44536 SHA-1892 : Error appears when Consumer or Contributor is trying to create a link on a document
- After creating the link for a node, add the marker aspect (LINKED) to the original node as System user. 
   - Added test for case 
   - Added a new test for DocumentLinkServiceImplTest for updated fucntionality

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 09:39:15 +00:00
Jamal Kaabi-Mofrad
b49bb8f36c Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
132578 jkaabimofrad: APPSREPO-59: Modified the model validator to ignore the TYPE_NAMESPACE when there is a DIFF_DELETED type.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-09 10:45:19 +00:00
Ramona Neamtu
93043fd80c SHA-1875 : Link cannot be deleted if the original node is locked
- Removed aspect Lockable when the links are deleted 
   - In case of the user try to create links for locked or checked out nodes, throw an error 
   - Disabled audit when add marker aspect Linked 
   - Added tests for case

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132551 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 12:48:09 +00:00
Stefan Kopf
ba38ba1fe5 REPO-1110 - Apply patch provided in ALF-21632 (FreeMarker performance improvement)
ALF-21632 - FreeMarker API node.childByNamePath can be very slow

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-04 16:59:43 +00:00
Derek Hulley
75d056f198 MNT-16527: Improve API documentation description for deleteNode, purgeArchivedNode and NodeService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-04 11:45:54 +00:00
Alex Mukha
de2f2f00d7 REPO-1468: MNT-15627: clear password for Outbound SMTP is shown ACE-5304: Provide method of encrypting LDAP bind properties
- Changed the default mask for protected properties.
   - Removed "show password" buttons as non functional any more (kudos arebegea)
   - Added LDAP sync password to the list of protected.
   - Changed the way protected properties are saved.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 18:24:30 +00:00
Steven Glover
761b6c2b21 Merged from DEV/SG/REPO1259 to 5.2.N
MNT-16541 "Cache update for custom workflow model fails" update to use released alfresco-core and alfresco-data-model

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 17:04:49 +00:00
Alexandra Leahu
6c41a4f779 REPO-1219: Allow file content URLs to be generated by a provider
- merged implementation from ACE-5093
   - marked the FileContentUrlProvider as public
   - added the default implementation bean, and injected it in the TenantRoutingFileContentStore 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132105 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-02 15:43:31 +00:00
Derek Hulley
6451543233 Remove redundant setter and related bean injection (deprecated in 3.0)
Remove deprecated NodeArchive-related methods

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-02 14:40:24 +00:00
Alex Mukha
1a8c5236b2 REPO-1471: MNT-15895 Masking of Admin User Password in the debug log
- Modified the regex to fullfill more usecases.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132085 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-02 14:13:53 +00:00
Andrew Hind
6e3ab8a166 Fix for SEARCH-228 SOLR - version store nodes are indexed with the wrong ACL and PATH
- Index the ACL and PATHs for the current live version (which will not be updated).

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-01 22:00:11 +00:00
Andrei Rebegea
1e97c7c275 ALF-18332 : WorkflowObjectFactory.createTransition doesn't use the description property
- Fixed default description key for transition + added testcase
   - merged from DEV/HEAD_WROKFLOW to 5.2.N

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131924 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-01 09:07:52 +00:00
Alex Mukha
ff2009d2a6 REPO-1471: MNT-15895 Masking of Admin User Password in the debug log
- The username and password strings are removed from debug logs in JSON format.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 18:06:00 +00:00
Martin Muller
94cebbefbc MNT-15024. Implemented content.metadataExtractor.pdf.overwritePolicy property and get rid of a redundancy setter for the the overwritePolicy which causes a ambitious warning.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 15:41:32 +00:00
Derek Hulley
308da0f956 Further to MNT-16375: Updated API to reflect requirement to have a 'maxResults' parameter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 11:52:37 +00:00
Alex Mukha
26812efe29 REPO-1082: ACE-5304: Provide method of encrypting LDAP bind properties
- Fixed creation of subsytems, now the encrypted properties are passed to them.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131875 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 17:54:50 +00:00
Ramona Neamtu
fee7ef2ad4 SHA-1629 : Creating a link to file in a different location
- Added support for multiple files in doclink.post webscript
   - Added unit test for api/node/doclink api
   - Added marker aspect app:linked for nodes that have links attached

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 12:09:59 +00:00
Andrew Hind
7457fa5b13 Build fix after - Further fix for MNT-16921 Unnecessary search calls on type ahead component in Tag Component on the Document Library
- over fetch by one to resolve has more for paging

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 19:55:32 +00:00
Andrew Hind
884ece5cc0 Further fix for MNT-16921 Unnecessary search calls on type ahead component in Tag Component on the Document Library
- bulk fetch for categories/tags is now limited to 5000 it can be configured higher

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 17:44:11 +00:00
Ramona Neamtu
354f66df4c Reverse merged 5.2.N (5.2.1)
131742 rneamtu: SHA-1629 : Creating a link to file in a different location
            - Added support for multiple files in doclink.post webscript


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131775 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 09:39:37 +00:00
Andrew Hind
f5602d00b4 Fix for https://issues.alfresco.com/jira/browse/SEARCH-188
- support creator and modifier

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131767 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 08:47:10 +00:00
Ramona Neamtu
2d7b780763 131742 rneamtu: SHA-1629 : Creating a link to file in a different location
- Added support for multiple files in doclink.post webscript


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-25 14:39:25 +00:00
Andreea Dragoi
c95cbaccd9 MNT-16709 : Metadata extraction on 200MB PDF file causes large heap utilization
- added concurrent extraction limit
   - added max document size limit

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-24 12:13:50 +00:00
David Draper
2b4db66fbe SHA-1771: Final (hopefully) bug fix on search term highlighting parameter handling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131682 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-22 19:05:29 +00:00
David Draper
2f24cb6e45 SHA-1771: Improve handling of search term highlighting parameters in script object
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-21 18:16:52 +00:00
David Draper
2ca1dffb63 SHA-1771: More script object updates for search term highlighting
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-21 14:39:22 +00:00
David Draper
bbe7bd712b SHA-1771: Search script object updates for highlighting
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-21 08:38:40 +00:00
Martin Muller
9c906b9857 Reverting 131547
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 15:05:06 +00:00
Martin Muller
7fc64be964 REPO_1259, MNT-16541. Using init instead of destroy for workflow listener. Otherwise it could lead to a deadlock since 5.0.3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 12:56:30 +00:00
Gethin James
3c7a0a0e2e SEARCH-107: Extend search public API for multi-select facets
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 07:58:16 +00:00
David Draper
edba48ea75 SHA-1771: Update Search script object to support search term highlighting
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-18 16:02:13 +00:00
Kevin Roast
829474d7e4 Merged DEV/WEBAPP-API (5.2.0) to 5.2.N (5.2.N)
131265 kroast: Merged 130934 from HEAD - SHA-1698

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 15:47:06 +00:00
Iuliana Danea
7e51279b82 ACE-5463: 500 error: GET /nodes/{nodeId}/comments?skipCount=XXX
-implemented fix and added new unit test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 10:55:17 +00:00
Gethin James
8942cd5586 SEARCH-195: Removed duplicate code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-12 16:06:38 +00:00
Cristian Turlica
cf5a52b978 REPO-1394: Discovery: merge back to 5.2.N (from feature branch)
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      130980 jkaabimofrad: REPO-224: API for retrieving detailed repository information.
   Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      131056 jkaabimofrad: REPO-224: Removed "transformationServerExpiresAt" attribute from the license JSON response as it is not part of AC.
   Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      131179 jkaabimofrad: REPO-224: Modified the license's entitlement response to always return "isClusterEnabled" and "isCryptodocEnabled".

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-12 05:14:58 +00:00
Gethin James
f32522319d SEARCH-181: Sending CountDocsMissingFacetField to solr
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 15:48:10 +00:00
Gethin James
99a47b92e7 SEARCH-106: Fix highlighting typo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:59:54 +00:00
Gethin James
7c7587e477 SEARCH-106: Add hightlighting to the ResultSet
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:30 +00:00
Gethin James
460db685d7 SEARCH-194: Adding hightlighting to the Solr Http request
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:19 +00:00