Commit Graph

1946 Commits

Author SHA1 Message Date
Jamal Kaabi-Mofrad
b4dc28b838 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136752 jkaabimofrad: APPSREPO-147: Renamed 'pathInfo' to 'path' to be consistent with other APIs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136757 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-15 15:38:50 +00:00
Jamal Kaabi-Mofrad
4aa5513c75 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136749 jkaabimofrad: Minor re-formatting (replace tabs with spaces) noted via APPSREPO-147.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136756 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-15 15:38:41 +00:00
Jamal Kaabi-Mofrad
ea8994f297 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136745 jkaabimofrad: APPSREPO-147: Added an optional "include=path" parameter to the "list favorites" API as well as create and get a single favorite endpoints.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136755 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-15 15:29:26 +00:00
Jamal Kaabi-Mofrad
b5e541d3de Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136574 jkaabimofrad: APPSREPO-179: Added an optional "include=path" parameter to the "list shared links" API.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-12 09:30:10 +00:00
Alex Mukha
da8e77045b MNT-17850 Add configurable login page link to auth response page
The new configuration property is giving an ability to configure
a link to custom login page in Alfresco web app which is displayed
on the page after failed auth:
kerberos.authentication.sso.login.page.link


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-09 13:00:20 +00:00
Alex Mukha
9c38654cfd MNT-17850 Remove auto refresh of failed auth page
The change fixes the infinite refresh loop of MNT-16931


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-09 12:57:04 +00:00
Alex Mukha
233d84142d MNT-17850 Revert changes done in MNT-16931
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-09 12:52:49 +00:00
Gethin James
f17201367e SEARCH-435: Using SolrJSONResultSet
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-04-05 11:00:25 +00:00
Gethin James
725604db46 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
136072 gjames: SEARCH-334: Adding SearchRequestContext and pivot logic


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:18:36 +00:00
Gethin James
719f6637be Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
136071 gjames: SEARCH-334: Adding pivot to the request


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:18:28 +00:00
Gethin James
7369c04df6 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
136070 gjames: SEARCH-334: Processing pivot response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:18:20 +00:00
Gethin James
d10af226d5 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
136069 gjames: SEARCH-334: Moved generic facet classes to repo so they can be used by SolrJSONResultSet


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:18:12 +00:00
Gethin James
4764a458a3 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135972 gjames: SEARCH-339: Changed facet intervals to use the generic facets metric


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136098 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:18:03 +00:00
Gethin James
86a0ed3479 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135953 msuzuki: SEARCH-374, added new response to display group faceting in buckets


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136097 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:17:55 +00:00
Gethin James
962082d4c4 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135842 gjames: SEARCH-376: Adding the includeRequest parameter


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136096 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:15:50 +00:00
Gethin James
1352d6eb41 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135807 gjames: SEARCH-377: Adding "queries" filter query param


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136095 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:15:31 +00:00
Gethin James
b0b4a75799 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135773 gjames: SEARCH-372: Reworking filterQuery fieldfacet label support


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136094 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:15:25 +00:00
Gethin James
a41389abcb Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135772 gjames: SEARCH-419: Correct handling of fieldfacet label and exclusion filters


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:15:16 +00:00
Gethin James
0b9fb10443 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135699 gjames: SEARCH-372: Reworking filterQuery to ResultMapper logic


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:15:10 +00:00
Gethin James
26ea2c5eb2 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135623 gjames: SEARCH-339: Correct use of the interval field


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136089 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:14:50 +00:00
Gethin James
a358d796c4 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135569 gjames: SEARCH-339: Checking for a mandatory set


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136086 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:14:21 +00:00
Gethin James
9ea32923d9 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135514 gjames: SEARCH-339: Adding filterQuery to facet interval/facet fields


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136084 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:14:04 +00:00
Gethin James
da432c5853 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135513 gjames: SEARCH-372: Adding filterQuery to facetQueries result


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136083 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:13:57 +00:00
Gethin James
f8f0d21486 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135511 gjames: SEARCH-372: Adding filterQuery to facetQueries result


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136081 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:13:45 +00:00
Gethin James
42bfd374c4 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135510 gjames: SEARCH-372: Adding filterQuery to the result, wip


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136080 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:13:39 +00:00
Gethin James
1d91a071e3 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135431 gjames: SEARCH-339: A basic restapi for facet intevals


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136077 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:13:17 +00:00
Jamal Kaabi-Mofrad
1aff84d8f7 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135804 jkaabimofrad: APPSREPO-35, APPSREPO-118: Added tests for reset password service and REST API.
       - Added a utility class (EmailUtil) to work with MailActionExecutor in test mode
       - Added a new workflow task responsible for sending the reset password confirmation email (per peer review)
       - Changed the reset-password endpoint to return a 202 response for an inactive workflow or invalid workflow id, key or mismatched user
       - Some other minor changes as the result of adding tests
       - Also, fixed tests failures by changing the reset password workflow definition target namespace URI.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 19:39:31 +00:00
Jamal Kaabi-Mofrad
cded2f354d Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135590 jkaabimofrad: APPSREPO-35: Added password reset V1 API.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 19:39:24 +00:00
Alex Mukha
9d1dca47a4 MNT-16931 Partially revert the fix for MNT-14367
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-13 16:14:07 +00:00
Jan Vonka
33d670788f REPO-2110 / MNT-17477: CMIS: SXSS+CSRF vulnerability (browser binding)
- force download=attachment (Content-Disposition headers) for all content types except those white-listed (eg. pdf & specific img types)
- follow-on for r135606 to fix fallout caught by TestPublicApiBrowser11TCK.testCMISTCKQuery()

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135620 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-06 13:26:30 +00:00
Jan Vonka
123e67a055 REPO-2110 / MNT-17477: CMIS: SXSS+CSRF vulnerability (browser binding)
- force download=attachment (Content-Disposition headers) for all content types, except those white-listed (eg. pdf & specific img types)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-06 10:19:02 +00:00
Jamal Kaabi-Mofrad
2e2ecb85c5 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135505 jkaabimofrad: APPSREPO-137: Made quick-share email template configurable via properties file. The template path property value could be an XPATH, a NodeRef of the template or a class path of the template.
       - Added a helper class to provide email template related utility functions
       - Added share as a default registered client for sending email - the template assets (images) will be available in share.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-03 11:41:58 +00:00
Jamal Kaabi-Mofrad
c149e56623 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135229 jkaabimofrad: APPSREPO-136: Updated the API framework so that WebApiNoAuth annotation can be used with operations.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-03 11:41:52 +00:00
Stefan Kopf
7ea9dee0b1 REPO-2112 - Security: MNT-17545: HTTP Header Injection in ContentStreamer
MNT-17545 - HTTP Header Injection in ContentStreamer

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-03 10:43:55 +00:00
Stefan Kopf
936c4972c3 REPO-2109 - Security: MNT-17475: WebDAV: SXSS+CSRF vulnerability in SSO environments
MNT-17475 - WebDAV: SXSS+CSRF vulnerability in SSO environments

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-02 18:09:08 +00:00
Cristian Turlica
c64c1f5389 Merged 5.2.0-CLOUD45 (Cloud ) to 5.2.N (5.2.1)
135265 cturlica: CLD-67: TestSiteMembershipRequests tests failing after cloud update from 5.2-SNAPSHOT to 5.2.0-CLOUD45-SNAPSHOT (plat/share)
      - we shouldn't have default null value for not set properties (partial change for REPO-892)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-21 11:50:24 +00:00
Andrei Rebegea
02928e266a MNT-17427 : api/invite/cancel deletes records in the database with a GET: CSRF/XSS attack
- delete the script/org/alfresco/repository/invite/invite.get
   - use the alternatives: script/org/alfresco/repository/site/invitation/invitation.post and script/org/alfresco/repository/site/invitation/invitation.delete
   - updating the tests
   - updating the controller for the invitation.delete to a java controller
   - fix test fallout (SiteServiceTest testInviteDisabledUser - expected error status code)
   - improve security by allowing only invitationIDs that belong the the site passed as parameter to be canceled
   - be consistent and return 404 when an invitationID can not be found

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-02-20 09:04:45 +00:00
Cristian Turlica
cff630061f REPO-1878: Support GROUP_EVERYONE in all endpoints
- initial commit

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 15:49:50 +00:00
Cristian Turlica
a234a4641b CLD-3: Trunk broken by Servlet API upgrade on platform
- partial revert of refactoring done in REPO-908

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 15:44:27 +00:00
Matt Ward
86467be9b6 Merged mward/repo-1844-sortorder (5.2.1) to 5.2.N (5.2.1)
134816 mward: REPO-1844: sort order problems with ID


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134825 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 15:43:20 +00:00
Matt Ward
04c6028147 Merged mward/repo-1600-zonesfilter (5.2.1) to 5.2.N (5.2.1)
134762 mward: REPO-1583: added include=parentIds support


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 10:02:38 +00:00
Matt Ward
75c8ee0ae5 Merged mward/repo-1600-zonesfilter (5.2.1) to 5.2.N (5.2.1)
134742 mward: REPO-1583: added isRoot filtering.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134807 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 10:02:31 +00:00
Matt Ward
5377a9f21a Merged mward/repo-1600-zonesfilter (5.2.1) to 5.2.N (5.2.1)
134741 mward: REPO-1600: added support for zone filtering to GET /people/{personId}/groups
   Also brought in-line with spec to return an empty list rather than a 404 if the zone is non-existent.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 10:02:10 +00:00
Matt Ward
6f28d39f6c Merged mward/repo-1600-zonesfilter (5.2.1) to 5.2.N (5.2.1)
134688 mward: REPO-1600: slight optimisation to use zone filtering earlier


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 10:00:47 +00:00
Matt Ward
8d03006825 Merged mward/repo-1600-zonesfilter (5.2.1) to 5.2.N (5.2.1)
134686 mward: REPO-1600: implemented logical conjunction for where clause
   e.g.
       isRoot=true AND zones in ('MY.ZONE')


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 10:00:29 +00:00
Matt Ward
7a8c4c9688 Merged mward/repo-1600-zonesfilter (5.2.1) to 5.2.N (5.2.1)
134681 mward: REPO-1600: unknown zone results in 404


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 09:58:52 +00:00
Matt Ward
90123678f5 Merged mward/repo-1600-zonesfilter (5.2.1) to 5.2.N (5.2.1)
134670 mward: REPO-1600: initial groundwork
   Includes impl for path where no isRoot parameter is supplied.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-30 09:58:42 +00:00
Raluca Munteanu
8e827385dd REPO-1306: Delete group membership
- Added functionality and tests
   - Added minor changes to create group membership functionality ( REPO-1307 )

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-27 14:14:50 +00:00
Raluca Munteanu
66b0cbbb69 REPO-1884: Don't allow adding a sub-group with memberType:"PERSON"
- Added validation and tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134777 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-26 15:46:03 +00:00
Martin Muller
7f03b263ba Merged 5.2.N-REPO-1815 (5.2.1) to 5.2.N (5.2.1)
134749 mmuller: REPO-1815 / ACE-5753 check if operation is null or empty and attach cmisselect=repositoryInfo and some code optimazion


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134753 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-25 12:55:22 +00:00