Commit Graph

4869 Commits

Author SHA1 Message Date
Alexandru Epure
3486d60d90 Merged 5.2.N (5.2.1) to HEAD (5.2)
128569 adavis: MNT-16381 Transformers must validate the content stream mimetype
      - Ensure error when indexer is the caller includes the file name rather than null.
        NodeContentGet now calls transform method with TransformationOptions parameter and the original
        transformer method was deprecated as it should be been when this extra parameter was added.
      - Set the strictMimeTypeCheck and retryTransformOnDifferentMimeType properties on dynamically created
        pipeline and fail over transformers from global properties as is don for static transformers.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 13:57:13 +00:00
Alexandru Epure
d73d4e1a71 Merged 5.2.N (5.2.1) to HEAD (5.2)
128510 mmuller: Fixed some javadoc errors. REPO-466


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 13:56:54 +00:00
Alexandru Epure
58cb56c7c9 Merged 5.2.N (5.2.1) to HEAD (5.2)
128371 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      - fix merge for:
      128341 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
         128260 adavis: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
            128213 arebegea: MNT-16437 : CLONE - 4.2.N - 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
               Merged V4.2.3 (4.2.3.25) to V4.2-BUG-FIX (4.2.7)
                  128177 arebegea: MNT-16376 : 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
                     - The batch worker threads did not have the thread context to know that they were dealing with CMIS version 1.1


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129285 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 13:55:50 +00:00
Alexandru Epure
03ab328868 Merged 5.2.N (5.2.1) to HEAD (5.2)
128360 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      128341 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
         128260 adavis: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
            128213 arebegea: MNT-16437 : CLONE - 4.2.N - 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
               Merged V4.2.3 (4.2.3.25) to V4.2-BUG-FIX (4.2.7)
                  128177 arebegea: MNT-16376 : 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
                     - The batch worker threads did not have the thread context to know that they were dealing with CMIS version 1.1


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129284 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 13:55:41 +00:00
Alexandru Epure
9621978d0c Merged 5.2.N (5.2.1) to HEAD (5.2)
128215 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      128190 amorarasu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
         128171 amukha: MNT-16401: Delete comment notification from Blog or Links is not displayed in Site Activities dashlet
            - Corrected the comemnts webscript.
            - Added JUnit tests.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 13:51:28 +00:00
Alexandru Epure
0dffb373fd Merged 5.2.N (5.2.1) to HEAD (5.2)
128168 adavis: MNT-16381 Transformers must validate the content stream mimetype
      - Addition of AbstractContentTransformer2.strictMimeTypeCheck(...) to check that the
        declared mimetype is the same as the Tika derived mimetype. Controlled by a new alfresco
        global property content.transformer.strict.mimetype.check (set to true by default).
      - Added the UnsupportedTransformationException to a number of transformation callers as
        they should have been handling it already.
      - Modified DifferrentMimeTypeTest to test the new strictMimeTypeCheck.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129272 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 13:22:16 +00:00
Alexandru Epure
9d7fda1b38 Merged 5.2.N (5.2.1) to HEAD (5.2)
128093 arebegea: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      128045 arebegea: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
         127999 rneamtu: Merged DEV to 5.0.N (5.0.4)
            127518 rneamtu: MNT-15457 : Can not define site filter via solr-facets-config-custom.properties file
               - Set qname for SITE special facetable property


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 13:17:12 +00:00
Alan Davis
c82cfb582c REPO-1069 Review live search sort order / sort type (sites and also people)
- Removal of parameter sortType - we are going to be using the POST_QUERY_SORT
   - Removal of tests using IN_QUERY_SORT except for the one to do with the default sort.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129253 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 10:09:49 +00:00
Alan Davis
4b308b5cdc REPO-1079 Rename "Live Search" API endpoints
- Changes to end points to reflect the rename of:
     /queries/live-search-nodes  to /queries/nodes
     /queries/live-search-people to /queries/people
     /queries/live-search-sites  to /queries/sites


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 09:33:20 +00:00
Kevin Roast
27c69b8cec Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
129148 kroast: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2) (PARTIAL MERGE)
      129068 kroast: ESC-476, MNT-16162
      Folder access in 'private' sites using site path url fails versus repository url path
      SHA-1682
      Granular Permissions File and Folder Access for non-site members
      - Navigating to a Document Library folder link in the search results page to a folder you have been given access to in a private site. You can now navigate to the folder and all sub-folders you have been given access to within that private site.
      - Navigating to a Document Details page link in the search results page to a document you have been given access to in a private site. 
       - The Tags 'Could not retrieve tags' and the Tree component "Site not found: ..." messages have been made less aggressive looking within the Document Library views - the red background has been removed.
       - The private site missing title (was blank previously) in the title area has been replaced with the site url name which is all the user is able to resolve given the private permissions for the site object.
      See tickets for more detail on fixes and what functionality is available.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-08 11:22:08 +00:00
Kevin Roast
9122a9129f Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
129145 kroast: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
      128659 cpopa: Merged 5.0.2 (5.0.2.22) to 5.0.N (5.0.4)
         128657 cpopa: MNT-15376 : NTLM authentication sometimes fails with IE10+ (chrome OK) - concurrent socket threads   
            - Reuse the previously created NTLM details cache when a type1 request is being reissued on the same session.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129220 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-08 11:20:34 +00:00
Kevin Roast
b8da5e77a8 Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128735 kroast: MNT-16510 - Chrome/Firefox Download action issue for document name without extension


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-08 11:16:59 +00:00
Martin Muller
fda06755c6 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129059 adavis: REPO-243 People Live Search
      - Use id (in fields and orderBy) rather than userName as it is an id that is returned in the Person entity
      - Added tests to test id can be used in fields and orderBy
      - Added 'wildcard' tests created by Alexandru-Eusebiu Epure


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129199 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:50:07 +00:00
Martin Muller
2b9173ee6a Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129058 jvonka: V1 REST API: Sites Live Search (/queries/live-search-sites)
   - additional tweaks based on ADs review comments
   REPO-232, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129198 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:50:03 +00:00
Martin Muller
63bb6a86ef Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129054 adavis: REPO-232,REPO-883 V1 REST API: Sites Live Search (/queries/live-search-sites)
      - Moved getSite() into the class that uses it.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129197 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:59 +00:00
Martin Muller
069da2af29 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129052 adavis: REPO-232,REPO-883 V1 REST API: Sites Live Search (/queries/live-search-sites)
      - As part of code review: Added generics to listPage method and moved it inside AbstractQuery.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:53 +00:00
Martin Muller
b41bab742e Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129051 jvonka: V1 REST API: Sites Live Search (/queries/live-search-sites)
   - add some api sanity checks for basic paging (along with sorting)
   REPO-232, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129195 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:49 +00:00
Martin Muller
33a3c91e99 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129050 jvonka: V1 REST API: fix 500 (NPE) when trying to get a version (info or content) for a node that has no version history
   REPO-1051, REPO-327, REPO-229


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129194 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:42 +00:00
Martin Muller
9bc32208c7 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129042 jvonka: V1 REST API: Sites Live Search (/queries/live-search-sites)
   - add experimental option (for review) to choose sort type
   - fix post query sort to use AlfrescoCollator rather than RuleBasedCollator (latter ignores spaces)
   - fix post query sort to apply paging correctly (get results first) - TODO add test
   REPO-232, REPO-882, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:39 +00:00
Martin Muller
267cdf9072 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129037 adavis: REPO-243 People Live Search
      - Added another orderBy test following a question from Jan.
      - Minor change in post order code to replace a Map lookup with a List lookup. Logically the same but faster.
      - Replaced a NPE test failure with a failure message if TEST_COUNT is too small


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:35 +00:00
Martin Muller
aee655b2f0 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129025 jvonka: V1 REST API: 1st-cut of api test for Sites Live Search (/queries/live-search-sites)
   REPO-232, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:31 +00:00
Martin Muller
dd330266ed Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129017 adavis: REPO-243 People Live Search
      - Added additional tests
      - Removed check in Person constructor for no id as we want to be able to create a Person from json which might not have the id.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:27 +00:00
Martin Muller
4350d8026b Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129011 adavis: REPO-243 People Live Search
      - Fix build failures
      - replace tabs in Person.java


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:23 +00:00
Martin Muller
f83b4b7654 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129010 jvonka: V1 REST API: 1st-cut of Sites Live Search
   - TODO api sanity test
   - open-question, re: orderBy
   REPO-232, REPO-882


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:19 +00:00
Martin Muller
83e9fdf964 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129004 adavis: REPO-243 People Live Search
      - First cut of this code
      - Includes a re-factor of the code used by GET /queries/live-search-nodes as there is much in common.
      - Still have some tests to write and there are bound to be comments from the review.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:15 +00:00
Martin Muller
15f33e6130 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128790 mmuller: Fix for REPO-855 + Sanity test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:10 +00:00
Martin Muller
79149bf9b3 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128681 jvonka: V1 REST API: version history - add api sanity check for auto-version on metadata-only updates
   REPO-348, REPO-313, REPO-905


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129184 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:57 +00:00
Martin Muller
2f4ee372f1 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128662 jvonka: V1 REST API test improvements - allow tests to be run individually (as well as within a suite)
   REPO-896


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:53 +00:00
Martin Muller
ee32e29f48 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128651 jvonka: V1 REST API test improvements: minor fix to re-comment out known issue (see REPO-907)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:49 +00:00
Martin Muller
01042e67ff Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128650 jvonka: V1 REST API: minor fixes (if running within default non-tenant context and single setup)
   - fix couple of failed tests to make sure they're no longer inter-dependent when run in this mode
   REPO-113


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:46 +00:00
Martin Muller
7fa1d5b889 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128642 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 5b
   - fix test fallout
   REPO-113


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129180 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:41 +00:00
Martin Muller
a65e2f48f1 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128640 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 5
   REPO-113 (also relates to REPO-28, REPO-114, REPO-825)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:37 +00:00
Martin Muller
3c1341e808 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128608 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 4
   REPO-113 (also relates to REPO-28, REPO-114, REPO-825)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129178 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:33 +00:00
Martin Muller
82f60d85fb Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128601 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 3
   REPO-113 (also relates to REPO-28, REPO-825)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129176 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:24 +00:00
Martin Muller
bcf551a644 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128597 jvonka: REPO-900: Fix "autoRename not working if using a relativePath (with create/add node via json request)"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129175 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:20 +00:00
Martin Muller
a95eb5613e Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128594 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 2
   REPO-113


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129174 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:16 +00:00
Martin Muller
1b474b8199 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128583 jvonka: V1 REST API: Node Version History - tweak "delete version" operation
   - cannot delete last version for now (return 422)
   REPO-835


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129173 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:11 +00:00
Martin Muller
c4a20ca692 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128561 jvonka: V1 REST API: Api Test cleanup and rationalisation (re: helper methods / runAs user / admin) - round 1b
   - follow-on to fix test fallout
   REPO-113


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:07 +00:00
Martin Muller
ebeb96f576 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128537 jvonka: V1 REST API: Api Test cleanup and rationalisation (re: helper methods / runAs user / admin) - round 1
   REPO-113


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129171 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:47:03 +00:00
Martin Muller
6d4716b5c0 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128526 amorarasu: REPO-853: Improve REST fwk: Where parameter with invalid operator like where=(inval=true)
       - Added proper error message.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:59 +00:00
Martin Muller
3881d6e8d7 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128525 jvonka: REPO-874: Improve REST fwk: improve error message if a POST operation is attempted with multiple items
   - follow-on to fix fallout


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:55 +00:00
Martin Muller
ed52b3a6c5 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128517 jvonka: REPO-874: Improve REST fwk: improve error message if a POST operation is attempted with multiple items
   - rationalise the code when handling POST for an API "operation" or POST to a collection that is marked as "allowMultiple=false"
   - they should now consistently return the same existing error message: "Only 1 entity is supported in the HTTP request body"
   - add api sanity tests to "create site", "create rating" and some of the node op's, such as "/move" & "/copy"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:51 +00:00
Martin Muller
80cc7015e6 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128516 jvonka: Api Tests: tweak test context - embedded "lucene" subsystem is now called "buildonly"
   - useful if running embedded tests in a local devenv, eg. in an IDE


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:47 +00:00
Martin Muller
07a3d6b473 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128489 jvonka: V1 REST API: Node Version History - minor tweak for "delete version" 
   - re: fix-up versionType if deleting last version
   REPO-835


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129166 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:43 +00:00
Martin Muller
cbef7e2e8e Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128488 jvonka: V1 REST API: Node Version History - add basic paging
   - tweak the (spring bean) config
   REPO-313


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:38 +00:00
Martin Muller
4cc44bb4b2 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128487 jvonka: V1 REST API: Node Version History - add basic paging
   - follow-on fix for NPE
   REPO-313


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129164 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:33 +00:00
Martin Muller
750adc141c Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128479 jvonka: V1 REST API: Node Version History - add basic paging
   REPO-313


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129162 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:26 +00:00
Martin Muller
5e6bc0ae99 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128476 jvonka: REPO-839: Follow-on to fix subtle issue in mimeType guess (ie. application/octet-stream should be last resort, if magic bytes indicate text and there is no file ext)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:22 +00:00
Martin Muller
e641c2f0f3 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128460 jvonka: REPO-341: Minor fix to site creation to return generic error message, if try to create multiple sites in a single call.
   - also relates to REPO-874


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:17 +00:00
Martin Muller
93aa43babc Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128442 jvonka: V1 REST API: Update binary content - add optional name param (to allow rename on upload of a new version)
   - api implementation + api sanity tests (+ve/-ve)
   REPO-518


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129159 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:46:13 +00:00