Commit Graph

745 Commits

Author SHA1 Message Date
Jamal Kaabi-Mofrad
c60406cc54 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127330 amukha: RA-941: V1 REST API Tests: rationalise the test startup - eg. only create test data when needed ;-)
      - Added checks to defer test data creation until it is required.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:19:19 +00:00
Jamal Kaabi-Mofrad
084016b45c Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127329 jvonka: Node Associations - initial paging (for secondary child assocs & parents)
   - as per review comment for RA-920


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:19:10 +00:00
Jamal Kaabi-Mofrad
2bedcfa6e8 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127322 jvonka: RA-921 - add two more tests for removal of secondary child assoc (+ve & -ve)
   - remove the two related TODOs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:18:12 +00:00
Jamal Kaabi-Mofrad
d0d4fd5518 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127310 jvonka: Node Associations - minor follow-on to permissions test (to also check listing sources)
   RA-1062


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127596 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:17:54 +00:00
Jamal Kaabi-Mofrad
3a1851de41 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127284 jvonka: Node Associations - add first-cut of permissions
   RA-1062


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127595 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:17:47 +00:00
Jamal Kaabi-Mofrad
d5cb47936f Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127226 gjames: RA-1064: Added a WebScriptExceptionResolver


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127592 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:16:49 +00:00
Jamal Kaabi-Mofrad
09a308bdbf Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127094 jvonka: Node Associations - child assocs - isPrimary filter (for /parents and /children)
   - RA-1053


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:14:03 +00:00
Jamal Kaabi-Mofrad
68ca345c71 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126681 jvonka: Node Associations - child assocs
   - in responses return isPrimary (rather than isPrimaryParent)
   - RA-920, RA-930, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127581 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:45:59 +00:00
Jamal Kaabi-Mofrad
4bb6852a79 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126567 jvonka: Node Associations - further updates
   - for child assocs, do not expose assoc child qname (nominally like file/folder for primary child assoc)
   - additional api tests (+ve & -ve) for peer assocs & secondary child assocs
   - RA-745, RA-920, RA-921, RA-930, RA-742, RA-918, RA-919


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:42:19 +00:00
Jamal Kaabi-Mofrad
db6dec979f Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126329 jvonka: Node Associations - initial api tests (+ve & -ve) for secondary child assocs
   - RA-745, RA-920, RA-921, RA-930


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127577 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:41:59 +00:00
Jamal Kaabi-Mofrad
69aa553a2f Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126282 gjames: RA-878:All api errors should return the standard error, fix 404s


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:40:27 +00:00
Jamal Kaabi-Mofrad
9a2bb230cd Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126276 jvonka: Node Associations - initial api tests (+ve & -ve) for peer assocs
   - RA-742, RA-918, RA-919


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:40:13 +00:00
Jamal Kaabi-Mofrad
f17a4d19cf Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126242 gjames: RA-878:All api errors should return the standard error object


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127571 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:40:03 +00:00
Jamal Kaabi-Mofrad
355ae575ef Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126000 jkaabimofrad: RA-933, RA-934, RA-972: Changed the "tickets" API namespace from "alfresco" to "authentication". Also, added support to the REST API test fwk to handle different API namespaces.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:39:14 +00:00
Jamal Kaabi-Mofrad
f9eb72c7ef Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125761 gjames: RA-652: new stack trace message and logId property


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:38:35 +00:00
Jamal Kaabi-Mofrad
b76f006c7f Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125750 jkaabimofrad: RA-934, RA-972: Minor Javadoc update.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:38:27 +00:00
Jamal Kaabi-Mofrad
5130dc1702 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125748 jkaabimofrad: RA-933, RA-934, RA-972: Modified the logout and validate ticket API to support only "-me-" (dummy parameter) in the URL path rather than ticket id. Also, renamed the JSON attributes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:38:17 +00:00
Jamal Kaabi-Mofrad
aee533110c Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125708 jvonka: RA-779 / RA-780: Sites API - fix (create site + permanent delete + create site with same site id)
   - RA-967


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:37:56 +00:00
Jamal Kaabi-Mofrad
058d52387f Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125609 jvonka: RA-952: If relative path cannot be resolved due to a permissionn error, return 404 (rather than 403)
   - when listing children or getting node info


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:26:40 +00:00
Jamal Kaabi-Mofrad
d29575ff1b Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125604 jkaabimofrad: RA-933: Initial commit for ticket base authentication.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:26:29 +00:00
Jamal Kaabi-Mofrad
fb2bf792e7 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125601 jvonka: RA-779: Sites API - create site
   - additional tests (site description & also max lengths for id, title & description)
   - fix site id validation (repeating valid chars)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:26:16 +00:00
Jamal Kaabi-Mofrad
46c3f3eb30 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125552 gjames: RA-652: Stack traces not returned, but in the log, only for 500 or debugging


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127536 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:19:27 +00:00
Jamal Kaabi-Mofrad
9472ad7d30 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125551 gjames: RA-652: Stack traces not returned, but in the log.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:19:20 +00:00
Jamal Kaabi-Mofrad
de7b79f001 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125537 jvonka: RA-779 / RA-780: Sites API - additional tests, also add skipConfiguration (pending open question)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127534 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:18:56 +00:00
Jamal Kaabi-Mofrad
fdfe515a29 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125517 jvonka: Negative test fix (invalid fav's target)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127533 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:18:47 +00:00
Jamal Kaabi-Mofrad
fe2d166702 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125514 jvonka: RA-779 / RA-780: Sites API - create site & delete site
   - fix delete/remove test status code
   - note: also put back previous rendition status codes (=> raise separate local vs build issue)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:18:41 +00:00
Jamal Kaabi-Mofrad
aff9bd8941 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125513 jvonka: RA-779 / RA-780: Sites API - create site & delete site
   - follow-on improvemnts (generating site id, adding favorite with option to sip)
   - more tests (+ve & -ve)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127531 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:18:26 +00:00
Jamal Kaabi-Mofrad
90920131ca Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125406 jvonka: RA-779 / RA-780: Sites API - initial commit for create site [default/functional Share site ;-)] & delete site


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:17:46 +00:00
Jamal Kaabi-Mofrad
ce95d147e1 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
127427 jkaabimofrad: RA-1052: Modified the upload API so that the failure of the async request to create a rendition wouldn't fail the upload.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127445 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-31 10:08:07 +00:00
Jamal Kaabi-Mofrad
0c017176a3 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
127312 jkaabimofrad: SFS-577, SFS-581: Fixed the shared-link no-auth APIs issue with multi-tenancy.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-23 10:11:10 +00:00
Gethin James
1fcd057a28 Merged 5.2.N (5.2.1) to HEAD (5.2)
127228 jkaabimofrad: ACE-5340: Fixed test failures in TestCustomConstraint class as a result of switching to Java 8. The test class depends on "org.apache.commons.lang3.builder.EqualsBuilder.reflectionEquals", but somehow didn't behave in Java 8.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-19 08:33:35 +00:00
Jamal Kaabi-Mofrad
2c6a56e463 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126661 jvonka: RA-1045: As requested for SFS, allow rendition details (available/created renditions only) for shared link to be listed via no auth.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 09:48:34 +00:00
Jamal Kaabi-Mofrad
e7a64fe8f5 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126201 jkaabimofrad: SFS-558: Added test for the move/copy between sites.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 12:12:06 +00:00
Jamal Kaabi-Mofrad
256ba70e5c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126115 jvonka: RA-1028: Fix copy bug - if same parent & name (ie. nothing copied) then return 409 rather than 201
   - see also SFS-554


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126635 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 12:11:52 +00:00
Jamal Kaabi-Mofrad
8696c2cef4 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125356 gjames: RA-917 Success code for restore operation should be 200


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:52:44 +00:00
Jamal Kaabi-Mofrad
f250df68da Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125355 gjames: RA-901: Success code for move operation should be 200


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126618 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:52:33 +00:00
Jamal Kaabi-Mofrad
8149920748 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125219 jkaabimofrad: Fixed minor formatting issue in the toString methods. Also, removed unused imports.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126616 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:52:02 +00:00
Jamal Kaabi-Mofrad
4f2f30ce4a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125122 jkaabimofrad: RA-884: Fixed minor code standards issues.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126610 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:50:11 +00:00
Jamal Kaabi-Mofrad
186236813e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125121 gjames: RA-675: Fixed the descriptionURL in error response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:49:57 +00:00
Jamal Kaabi-Mofrad
cbc53527ee Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125032 jvonka: RA-767: Queries API - bug fixes (and updated tests)
   - optional rootNodeId should allow well-known aliases (-root-,-my-,-shared-)
   - investigate and 'fix' apparent underlying issue with '.' which causes 500 in FTS query parser, eg. abc.txt


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:49:46 +00:00
Jamal Kaabi-Mofrad
da10a84d50 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125020 gjames: RA-884: Posting download activities and formatting


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126607 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:49:40 +00:00
Jamal Kaabi-Mofrad
e8463992ae Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124992 gjames: RA-847, RA-848: Showing orignal parent path but not parentid


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126605 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:48:35 +00:00
Jamal Kaabi-Mofrad
a8d0200912 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124973 gjames: RA-847: formatting changes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:45:42 +00:00
Jamal Kaabi-Mofrad
ac57b266ac Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124911 jvonka: RA-767: Queries API - additional tests & fixes (re: tag hits & also optional "include" info in results)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:45:04 +00:00
Jamal Kaabi-Mofrad
b97308da93 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124903 gjames: RA-850 Purge Deleted Node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126599 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:44:54 +00:00
Jamal Kaabi-Mofrad
f86365ae50 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124844 jvonka: RA-767: Queries API - optionally restrict by nodeType
   - also added tests (+ve/-ve)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:44:40 +00:00
Jamal Kaabi-Mofrad
28a3cc8890 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124840 gjames: RA-847, RA-848 Adding the tests to the suite


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:44:31 +00:00
Jamal Kaabi-Mofrad
5946c76853 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124839 gjames: RA-848: Adding a permissions check test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126596 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:44:24 +00:00
Jamal Kaabi-Mofrad
3e05671735 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124825 gjames: RA-849: Restore Deleted Node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126592 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:43:34 +00:00
Jamal Kaabi-Mofrad
a0a32ef095 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124824 gjames: RA-847, RA-848 Retrieving deleted nodes as Admin


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:43:28 +00:00