Alan Davis
07fe704500
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130610 amorarasu: REPO-484: [REST API] 400 error for unsupported NOT operator in the 'where' predicate.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132152 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:44 +00:00
Alan Davis
dd91ce3629
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130593 jvonka: REPO-1059: REST API: Invalid orderBy field is ignored
- additional fix + test case
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:26 +00:00
Alan Davis
3b2b5e17a3
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130574 cmocanu: REPO-164 - Added new unit test for timeToExpire parameter: locked a document, tried to delete while is locked, wait until expiration time has passed and delete the document.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:18 +00:00
Alan Davis
d7389c8094
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130573 jvonka: REPO-1059: REST API: Invalid orderBy field direction is ignored (hence defaults to ascending rather than returning an error)
- follow-on to r13055 to fix test fallout
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132148 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:08 +00:00
Alan Davis
60bc1692dc
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130565 gjames: SEARCH-171:Search api default language should be Afts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:51 +00:00
Alan Davis
4f47d68c8b
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130556 cmocanu: Added new negative test for Lock functionality: try to lock a folder.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:42 +00:00
Alan Davis
d1350aecb8
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130555 jvonka: REPO-1059: REST API: Invalid orderBy field direction is ignored (hence defaults to ascending rather than returning an error)
- implement fix & update test
- note: InvalidArgumentException maps to HTTP 400
- note: we already have tests for case-insensitive (ie. we allow ASC, Asc, AsC, DESC, Desc, DeSC, or similar)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132144 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:34 +00:00
Alan Davis
8ec46e924c
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130543 aepure: REPO-1158: Removed extra space from the received message.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:24 +00:00
Alan Davis
99fe1fbe54
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130525 jvonka: MNT-16449: CMIS delete version fails on versions other than latest (most recent) version
- add commented-out test to demonstrate the issue (we can then decide to prioritise accordingly)
- note: this scenario works via V1 REST API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132141 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:03 +00:00
Alan Davis
b9a0163399
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130515 gjames: SEARCH-168, Fixed search api parameters so include and fields work together
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132140 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:10:55 +00:00
Alan Davis
6db87e1e5a
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130507 gjames: SEARCH-166:Filter queries should not be supported with CMIS QL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:10:36 +00:00
Alan Davis
976b860eff
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130503 gjames: SEARCH-114: Switching to use limit, missed test commit
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:10:27 +00:00
Alan Davis
3fabbb3c59
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130502 gjames: SEARCH-114: Switching to use limit rather then maxItems for searchparameters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:10:18 +00:00
Alan Davis
5abba74783
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
130488 amukha: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
130484 amukha: Merged 5.0.N (5.0.5) to 5.1.N (5.1.2)
130477 amukha: MNT-16755: LDAP users are not found for users without First Name or Last Name
- Added JUnit tests.
- Updated authorised-users to latest version.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:09:33 +00:00
Matt Ward
1d20c23a67
REPO-892: removed PersonUpdate class.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132120 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 11:42:08 +00:00
Cristian Turlica
e0005cebcf
REPO-1506: Update Person - implement
...
- added implementation for update personService
- added tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132117 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 10:17:58 +00:00
Gethin James
010643ebbd
SEARCH-227: Adding additional display information for facetting api
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-02 16:01:30 +00:00
Matt Ward
1a8fe7785f
REPO-1503: password is now mandatory.
...
First check in at my new desk!
I've also removed the auto-generation of passwords (UUID) since this is no longer needed with a mandatory password field.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-01 15:02:25 +00:00
Matt Ward
247d2ad97a
REPO-1503: allow setting of password
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-01 12:29:29 +00:00
Matt Ward
a8d705bb8c
REPO-892: allow creation of enabled/disabled users
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 16:56:32 +00:00
Matt Ward
4d8673f058
REPO-892: correctly store and retrieve cm:persondescription as a cm:content blob.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 15:58:22 +00:00
Cristian Turlica
c70a9f960e
REPO-1459: Make NodesImpl.isSpecialNode protected
...
- changed isSpecialNode method signature to protected and updated Java doc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 13:05:57 +00:00
Matt Ward
9fd17791ff
REPO-892: ensure presence of mandatory fields
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 11:12:19 +00:00
Jan Vonka
0e7a674d41
Minor - re-formatting only (fix tabs to spaces)
...
- noted via REPO-1390
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131866 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 14:35:42 +00:00
Matt Ward
96953c1bb7
Merged 131680:131794 from DEV/mward/5.2.n-createperson to 5.2.N
...
REPO-892: make sure not all fields need to be supplied during create.
REPO-892: throws error if fields exclusively belonging to Person (that are not part of PersonUpdate) are sent in request.
REPO-892: cleaned up PersonUpdateJSONSerializer a little, by removing unnecessary 'fullVisibility' switch.
REPO-892: improved test for optional fields; added test for too few fields.
REPO-892: added tests (and impl where needed) for -ve response codes as given in the open api spec for create person.
REPO-892: fixed broken test due to reuse of username.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 13:14:41 +00:00
Matt Ward
8328ca78ab
Merged 131464:131680 from DEV/mward/5.2.n_createperson to 5.2.n
...
Creating branch for REPO-892 (Create person REST API)
REPO-892: create person - initial commit, bare-bones implementation and test.
REPO-892: refactored test versions of Person and Company to reduce duplication.
REPO-892: further refactoring to reduce prod/test duplication.
REPO-892: add missing fields to the 'create person' operation.
REPO-892: introduced PersonUpdate class for create (and I'm assuming update) operations.
REPO-892: missing license header
REPO-892: very minor refactoring - extract field in tests.
REPO-892: make sure not all fields need to be supplied during create.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 12:21:31 +00:00
Ramona Neamtu
55e3a4c76c
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
Cristian Turlica
aab5a5e6be
REPO-1404: Improve extensibility of NodesImpl
...
- refactored method buildSearchTypesAndIgnoreAspects based on feedback from IG team member
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131837 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-27 15:00:57 +00:00
Kevin Roast
8cd0829920
ACE-5595 - Some Admin Console pages don't work when disabling the CSRF filter
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-27 14:09:04 +00:00
Raluca Munteanu
18b534b4ac
REPO-1390 , REPO-1391: Add support for retrieving site presets
...
- Fixed issue causing build failure;
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 13:56:49 +00:00
Ramona Neamtu
036a01d5ba
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
3110968b5b
Fix for SEARCH-222 SOLR 6 - Improved indexing for categories
...
- return ancestor based path for better support to internationalise categories etc (by UUID matching the public AIP)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131769 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 08:51:01 +00:00
Raluca Munteanu
723d380c3b
REPO-1390 , REPO-1391: Add support for retrieving site presets
...
- Implemented the API;
- Added automated tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 07:29:29 +00:00
Kevin Roast
e641cb63aa
MNT-16921 - Unnecessary search calls on type ahead component in Tag Component on the Document Library
...
Fix picker 'api' to perform a filtered search using the classification API directly rather than retrieving all and post-processing the results
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131747 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-25 14:59:07 +00:00
Ramona Neamtu
a7daec9d35
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
Cristian Turlica
ad7911fad9
REPO-1404: Improve extensibility of NodesImpl
...
- refactored the listChildren by adding dedicated filter and sort methods, also added protected getters for the services and repositoryHelper.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-24 14:36:44 +00:00
Ramona Neamtu
b2db1a46e5
MNT-16894 : Edit off line and Upload New Version actions rename document to doc-1
...
-Converted noderefs to string before check if is the same value
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131627 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-21 09:00:35 +00:00
Kevin Roast
a83d874ecb
ACE-4881 - [Pentest 121015] Multiple admin CSRF
...
- Fix issues spotted by Gethin; PUT/POST XHR requests made from admin pages did not add the CSRF token correctly, default error handler missing reference.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-20 14:05:30 +00:00
Jan Vonka
befcb4acf0
REPO-1443: V1 REST API - minor - accept well-known aliases for "update node info"
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131582 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 20:35:14 +00:00
Gethin James
f37a8b2660
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
Gethin James
78f4353c6b
SEARCH-195: Adding a basic POJO creation test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 07:58:11 +00:00
Cristian Turlica
a361cfb32f
REPO-1438: Add thumbnail generation status to discoverability response - implement
...
- added implementation, updated test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-18 11:04:11 +00:00
Kevin Roast
9340d6f2ea
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
Kevin Roast
3e828fc97d
Merged 5.2-DEV (5.2.0) to 5.2.N (5.2.N)
...
131352 kroast: ACE-4881 - [Pentest 121015] Multiple admin CSRF
- Added CSRF filter config to protect the Alfresco Admin Console pages
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 15:14:22 +00:00
Iuliana Danea
0177f33896
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
Cristian Turlica
0ffa19ad19
REPO-1417: Allow Discovery to be disabled - add -ve test(s)
...
- added test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 09:14:09 +00:00
Cristian Turlica
65053c2c7a
REPO-1416: Allow Discovery to be disabled - implement
...
- implemented changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 09:13:21 +00:00
Matt Ward
ba33a435d4
REPO-1348/REPO-1349: implemented checks to guard against invalid fields
...
Explicitly rejects fields: id, guid and role
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-13 16:19:00 +00:00
Iuliana Danea
82f2708aa7
ACE-5453: 500 error: GET /nodes/{nodeId}/ratings?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@131385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-13 06:52:01 +00:00
Alan Davis
0c51b17e0f
Merged 5.2.N-SERVLET-3.0 (5.2.1) to 5.2.N (5.2.1)
...
130708: REPO-843 / REPO-1246: Upgrade to Servlet 3.0 (part I),
130714: REPO-843 / REPO-1246: Upgrade to Servlet 3.0 (part 1b)
- fix web.xml (web-app),
130727: REPO-843 / REPO-1246: Upgrade to Servlet 3.0 (part 1b)
- update other web.xml's (other than web-client project),
130844: REPO-843 / REPO-1251: Upgrade to Servlet API 3.0.x (part 2) - update to Spring WebScripts 6.9 (ACE-5584)
- update to servlet-api 3.0.1,
130847: REPO-843 / REPO-1251: Upgrade to Servlet API 3.0.x (part 2) - update to Spring WebScripts 6.9 (ACE-5584)
- follow-on to commit the correct pom.xml (ie. parent rather than overlay),
130852: REPO-843 / REPO-1251: Upgrade to Servlet API 3.0.x (part 2) - update to Spring WebScripts 6.9 (ACE-5584)
- follow-on
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-12 11:33:40 +00:00