From b41e96a8af8e7d30efec1e13c078c4847d2d3efe Mon Sep 17 00:00:00 2001 From: Jan Sandbrink Date: Mon, 31 Aug 2015 09:23:09 +0200 Subject: [PATCH] Adapt frontend-specs to new embedding just realized that those are 12k lines of C&P activities. I reduced the amount to a less insane (but still not quite sane) ~1k lines... It might be a better idea to automatically generate those mocks. This would be: - more consistent - more up-to-date with real data - less error-prone (b.c. less copypasta) --- .../integration/mocks/work-packages/819.json | 361 +-- .../integration/mocks/work-packages/820.json | 2194 ++------------ .../integration/mocks/work-packages/821.json | 2194 ++------------ .../integration/mocks/work-packages/822.json | 2648 ++--------------- .../integration/mocks/work-packages/823.json | 2183 ++------------ .../integration/mocks/work-packages/824.json | 2183 ++------------ .../integration/mocks/work-packages/825.json | 2183 ++------------ .../activity-with-revisions-spec.js | 9 +- .../work-package-details-controller-test.js | 14 +- 9 files changed, 1352 insertions(+), 12617 deletions(-) diff --git a/frontend/tests/integration/mocks/work-packages/819.json b/frontend/tests/integration/mocks/work-packages/819.json index ac1498b9e6..b745261478 100644 --- a/frontend/tests/integration/mocks/work-packages/819.json +++ b/frontend/tests/integration/mocks/work-packages/819.json @@ -140,6 +140,9 @@ }, "attachments": { "href": "/api/v3/work_packages/819/attachments" + }, + "activities": { + "href": "/api/v3/work_packages/819/activities" } }, "_embedded": { @@ -279,189 +282,199 @@ "updatedAt": "2015-02-13T10:08:53+00:00", "type": null }, - "activities": [ - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/333", - "title": "333" - }, - "workPackage": { - "href": "/api/v3/work_packages/65", - "title": "veritatis voluptas hic qui praesentium tempora illum omnis" - }, - "user": { - "href": "/api/v3/users/3", - "title": "Anonymous - " - }, - "update": { - "href": "/api/v3/activities/333", - "method": "patch", - "title": "333" - } - }, - "id": 333, - "comment": { - "format": "textile", - "raw": "", - "html": "" - }, - "details": [ - { - "format": "custom", - "raw": "Type set to Phase", - "html": "Type set to Phase" - }, - { - "format": "custom", - "raw": "Project set to Seeded Project", - "html": "Project set to Seeded Project" - }, - { - "format": "custom", - "raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis", - "html": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis" - }, - { - "format": "custom", - "raw": "Description set (/journals/333/diff/description)", - "html": "Description set (Details)" - }, - { - "format": "custom", - "raw": "Due date set to 04/29/2015", - "html": "Due date set to 04/29/2015" - }, - { - "format": "custom", - "raw": "Status set to new", - "html": "Status set to new" - }, - { - "format": "custom", - "raw": "Priority set to Normal", - "html": "Priority set to Normal" - }, + "activities": { + "_type": "Collection", + "_links": { + "self": { "href": "/api/v3/work_packages/819/activities" } + }, + "total": 4, + "count": 4, + "_embedded": { + "elements": [ { - "format": "custom", - "raw": "Author set to Alexandrine Heidenreich", - "html": "Author set to Alexandrine Heidenreich" + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/333", + "title": "333" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/3", + "title": "Anonymous - " + }, + "update": { + "href": "/api/v3/activities/333", + "method": "patch", + "title": "333" + } + }, + "id": 333, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Type set to Phase", + "html": "Type set to Phase" + }, + { + "format": "custom", + "raw": "Project set to Seeded Project", + "html": "Project set to Seeded Project" + }, + { + "format": "custom", + "raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis", + "html": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis" + }, + { + "format": "custom", + "raw": "Description set (/journals/333/diff/description)", + "html": "Description set (Details)" + }, + { + "format": "custom", + "raw": "Due date set to 04/29/2015", + "html": "Due date set to 04/29/2015" + }, + { + "format": "custom", + "raw": "Status set to new", + "html": "Status set to new" + }, + { + "format": "custom", + "raw": "Priority set to Normal", + "html": "Priority set to Normal" + }, + { + "format": "custom", + "raw": "Author set to Alexandrine Heidenreich", + "html": "Author set to Alexandrine Heidenreich" + }, + { + "format": "custom", + "raw": "% done changed from 0 to 0", + "html": "% done changed from 0 to 0" + }, + { + "format": "custom", + "raw": "Start date set to 02/17/2015", + "html": "Start date set to 02/17/2015" + } + ], + "version": 1, + "createdAt": "2015-02-13T10:09:07+00:00" }, { - "format": "custom", - "raw": "% done changed from 0 to 0", - "html": "% done changed from 0 to 0" + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/816", + "title": "816" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/816", + "method": "patch", + "title": "816" + } + }, + "id": 816, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Status changed from new to in progress", + "html": "Status changed from new to in progress" + } + ], + "version": 2, + "createdAt": "2015-04-07T13:36:43+00:00" }, { - "format": "custom", - "raw": "Start date set to 02/17/2015", - "html": "Start date set to 02/17/2015" - } - ], - "version": 1, - "createdAt": "2015-02-13T10:09:07+00:00" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/816", - "title": "816" + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/817", + "title": "817" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/817", + "method": "patch", + "title": "817" + } + }, + "id": 817, + "comment": { + "format": "textile", + "raw": "I have a comment", + "html": "

I have a comment

" + }, + "details": [], + "version": 3, + "createdAt": "2015-04-07T13:37:09+00:00" }, - "workPackage": { - "href": "/api/v3/work_packages/65", - "title": "veritatis voluptas hic qui praesentium tempora illum omnis" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/816", - "method": "patch", - "title": "816" - } - }, - "id": 816, - "comment": { - "format": "textile", - "raw": "", - "html": "" - }, - "details": [ { - "format": "custom", - "raw": "Status changed from new to in progress", - "html": "Status changed from new to in progress" + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/818", + "title": "818" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/818", + "method": "patch", + "title": "818" + } + }, + "id": 818, + "comment": { + "format": "textile", + "raw": "And another one", + "html": "

And another one

" + }, + "details": [], + "version": 4, + "createdAt": "2015-04-07T13:37:33+00:00" } - ], - "version": 2, - "createdAt": "2015-04-07T13:36:43+00:00" - }, - { - "_type": "Activity::Comment", - "_links": { - "self": { - "href": "/api/v3/activities/817", - "title": "817" - }, - "workPackage": { - "href": "/api/v3/work_packages/65", - "title": "veritatis voluptas hic qui praesentium tempora illum omnis" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/817", - "method": "patch", - "title": "817" - } - }, - "id": 817, - "comment": { - "format": "textile", - "raw": "I have a comment", - "html": "

I have a comment

" - }, - "details": [], - "version": 3, - "createdAt": "2015-04-07T13:37:09+00:00" - }, - { - "_type": "Activity::Comment", - "_links": { - "self": { - "href": "/api/v3/activities/818", - "title": "818" - }, - "workPackage": { - "href": "/api/v3/work_packages/65", - "title": "veritatis voluptas hic qui praesentium tempora illum omnis" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/818", - "method": "patch", - "title": "818" - } - }, - "id": 818, - "comment": { - "format": "textile", - "raw": "And another one", - "html": "

And another one

" - }, - "details": [], - "version": 4, - "createdAt": "2015-04-07T13:37:33+00:00" + ] } - ], + }, "watchers": [], "attachments" : { "_links" : { diff --git a/frontend/tests/integration/mocks/work-packages/820.json b/frontend/tests/integration/mocks/work-packages/820.json index f481952a42..d1d699378a 100644 --- a/frontend/tests/integration/mocks/work-packages/820.json +++ b/frontend/tests/integration/mocks/work-packages/820.json @@ -88,6 +88,9 @@ }, "attachments": { "href": "/api/v3/work_packages/820/attachments" + }, + "activities": { + "href": "/api/v3/work_packages/820/activities" } }, "id": 820, @@ -152,2006 +155,199 @@ "updatedAt": "2014-11-05T15:56:820Z", "status": 1 }, - "activities": [ - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/315", - "title": "315" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/3", - "title": "Anonymous - " - }, - "update": { - "href": "/api/v3/activities/315", - "method": "patch", - "title": "315" - } - }, - "id": 315, - "comment": "", - "rawComment": "", - "details": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (/journals/315/diff/description)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "htmlDetails": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (Details)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "version": 1, - "createdAt": "2014-11-05T15:56:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/500", - "title": "500" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/500", - "method": "patch", - "title": "500" - } - }, - "id": 500, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/500/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 2, - "createdAt": "2014-11-10T12:31:10Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/501", - "title": "501" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/501", - "method": "patch", - "title": "501" - } - }, - "id": 501, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/501/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 3, - "createdAt": "2014-11-10T12:31:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/502", - "title": "502" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/502", - "method": "patch", - "title": "502" - } - }, - "id": 502, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/502/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 4, - "createdAt": "2014-11-10T12:31:59Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/503", - "title": "503" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/503", - "method": "patch", - "title": "503" - } - }, - "id": 503, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/503/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 5, - "createdAt": "2014-11-10T12:32:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/504", - "title": "504" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/504", - "method": "patch", - "title": "504" - } - }, - "id": 504, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/504/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 6, - "createdAt": "2014-11-10T12:32:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/505", - "title": "505" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/505", - "method": "patch", - "title": "505" - } - }, - "id": 505, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/505/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 7, - "createdAt": "2014-11-10T12:32:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/506", - "title": "506" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/506", - "method": "patch", - "title": "506" - } - }, - "id": 506, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/506/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 8, - "createdAt": "2014-11-10T12:32:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/507", - "title": "507" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/507", - "method": "patch", - "title": "507" - } - }, - "id": 507, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/507/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 9, - "createdAt": "2014-11-10T12:32:45Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/511", - "title": "511" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/511", - "method": "patch", - "title": "511" - } - }, - "id": 511, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/511/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 10, - "createdAt": "2014-11-10T14:10:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/512", - "title": "512" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/512", - "method": "patch", - "title": "512" - } - }, - "id": 512, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/512/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 11, - "createdAt": "2014-11-10T14:42:50Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/513", - "title": "513" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/513", - "method": "patch", - "title": "513" - } - }, - "id": 513, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/513/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 12, - "createdAt": "2014-11-10T14:44:11Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/514", - "title": "514" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/514", - "method": "patch", - "title": "514" - } - }, - "id": 514, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/514/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 13, - "createdAt": "2014-11-10T14:44:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/515", - "title": "515" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/515", - "method": "patch", - "title": "515" - } - }, - "id": 515, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/515/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 14, - "createdAt": "2014-11-10T14:47:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/516", - "title": "516" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/516", - "method": "patch", - "title": "516" - } - }, - "id": 516, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/516/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 15, - "createdAt": "2014-11-10T14:820:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/517", - "title": "517" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/517", - "method": "patch", - "title": "517" - } - }, - "id": 517, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/517/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 16, - "createdAt": "2014-11-10T14:53:17Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/518", - "title": "518" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/518", - "method": "patch", - "title": "518" - } - }, - "id": 518, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/518/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 17, - "createdAt": "2014-11-10T15:17:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/8203", - "title": "8203" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/8203", - "method": "patch", - "title": "8203" - } - }, - "id": 8203, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "version": 18, - "createdAt": "2014-11-12T12:59:25Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/531", - "title": "531" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/531", - "method": "patch", - "title": "531" - } - }, - "id": 531, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/531/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 19, - "createdAt": "2014-11-12T13:42:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/533", - "title": "533" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/533", - "method": "patch", - "title": "533" - } - }, - "id": 533, - "comment": "", - "rawComment": "", - "details": [ - "Parent set to 232aa22" - ], - "htmlDetails": [ - "Parent set to 232aa22" - ], - "version": 20, - "createdAt": "2014-11-12T16:16:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/535", - "title": "535" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/535", - "method": "patch", - "title": "535" - } - }, - "id": 535, - "comment": "", - "rawComment": "", - "details": [ - "Parent changed from 232aa22 to asd" - ], - "htmlDetails": [ - "Parent changed from 232aa22 to asd" - ], - "version": 21, - "createdAt": "2014-11-12T16:19:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/536", - "title": "536" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/536", - "method": "patch", - "title": "536" - } - }, - "id": 536, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/536/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 22, - "createdAt": "2014-11-12T16:23:26Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/537", - "title": "537" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/537", - "method": "patch", - "title": "537" - } - }, - "id": 537, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/537/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 23, - "createdAt": "2014-11-13T12:23:49Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/539", - "title": "539" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/539", - "method": "patch", - "title": "539" - } - }, - "id": 539, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "version": 24, - "createdAt": "2014-11-17T14:03:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/540", - "title": "540" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/540", - "method": "patch", - "title": "540" - } - }, - "id": 540, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 23123123 to 3q4e4" - ], - "htmlDetails": [ - "Subject changed from 23123123 to 3q4e4" - ], - "version": 25, - "createdAt": "2014-11-17T14:07:43Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/541", - "title": "541" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/541", - "method": "patch", - "title": "541" - } - }, - "id": 541, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/541/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 26, - "createdAt": "2014-11-17T14:08:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/542", - "title": "542" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/542", - "method": "patch", - "title": "542" - } - }, - "id": 542, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/542/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 27, - "createdAt": "2014-11-17T14:08:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/543", - "title": "543" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/543", - "method": "patch", - "title": "543" - } - }, - "id": 543, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from new to in progress" - ], - "htmlDetails": [ - "Status changed from new to in progress" - ], - "version": 28, - "createdAt": "2014-11-17T14:08:38Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/544", - "title": "544" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/544", - "method": "patch", - "title": "544" - } - }, - "id": 544, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to tested" - ], - "htmlDetails": [ - "Status changed from in progress to tested" - ], - "version": 29, - "createdAt": "2014-11-17T14:11:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/546", - "title": "546" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/546", - "method": "patch", - "title": "546" - } - }, - "id": 546, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from tested to closed" - ], - "htmlDetails": [ - "Status changed from tested to closed" - ], - "version": 30, - "createdAt": "2014-11-17T14:11:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/548", - "title": "548" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/548", - "method": "patch", - "title": "548" - } - }, - "id": 548, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from closed to in progress" - ], - "htmlDetails": [ - "Status changed from closed to in progress" - ], - "version": 31, - "createdAt": "2014-11-17T14:11:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/549", - "title": "549" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/549", - "method": "patch", - "title": "549" - } - }, - "id": 549, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/549/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 32, - "createdAt": "2014-11-17T14:13:06Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/550", - "title": "550" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/550", - "method": "patch", - "title": "550" - } - }, - "id": 550, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "htmlDetails": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "version": 33, - "createdAt": "2014-11-17T14:14:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/551", - "title": "551" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/551", - "method": "patch", - "title": "551" - } - }, - "id": 551, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/551/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 34, - "createdAt": "2014-11-17T14:17:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/5820", - "title": "5820" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/5820", - "method": "patch", - "title": "5820" - } - }, - "id": 5820, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4s to 2" - ], - "htmlDetails": [ - "Subject changed from 3q4e4s to 2" - ], - "version": 35, - "createdAt": "2014-11-17T14:17:44Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/553", - "title": "553" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/553", - "method": "patch", - "title": "553" - } - }, - "id": 553, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2 to 22" - ], - "htmlDetails": [ - "Subject changed from 2 to 22" - ], - "version": 36, - "createdAt": "2014-11-17T14:17:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/554", - "title": "554" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/554", - "method": "patch", - "title": "554" - } - }, - "id": 554, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2323" - ], - "htmlDetails": [ - "Subject changed from 22 to 2323" - ], - "version": 37, - "createdAt": "2014-11-17T14:18:33Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/555", - "title": "555" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/555", - "method": "patch", - "title": "555" - } - }, - "id": 555, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/555/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 38, - "createdAt": "2014-11-17T14:18:46Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/556", - "title": "556" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/556", - "method": "patch", - "title": "556" - } - }, - "id": 556, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323 to 2323123123" - ], - "htmlDetails": [ - "Subject changed from 2323 to 2323123123" - ], - "version": 39, - "createdAt": "2014-11-17T14:20:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/557", - "title": "557" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/557", - "method": "patch", - "title": "557" - } - }, - "id": 557, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323123123 to 22" - ], - "htmlDetails": [ - "Subject changed from 2323123123 to 22" - ], - "version": 40, - "createdAt": "2014-11-17T14:22:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/559", - "title": "559" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/559", - "method": "patch", - "title": "559" - } - }, - "id": 559, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to rejected" - ], - "htmlDetails": [ - "Status changed from in progress to rejected" - ], - "version": 41, - "createdAt": "2014-11-17T14:22:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/560", - "title": "560" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/560", - "method": "patch", - "title": "560" - } - }, - "id": 560, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2222" - ], - "htmlDetails": [ - "Subject changed from 22 to 2222" - ], - "version": 42, - "createdAt": "2014-11-17T14:25:07Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/562", - "title": "562" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/562", - "method": "patch", - "title": "562" - } - }, - "id": 562, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from rejected to tested" - ], - "htmlDetails": [ - "Status changed from rejected to tested" - ], - "version": 43, - "createdAt": "2014-11-17T14:26:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/563", - "title": "563" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/563", - "method": "patch", - "title": "563" - } - }, - "id": 563, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/563/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 44, - "createdAt": "2014-11-17T14:26:29Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/564", - "title": "564" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/564", - "method": "patch", - "title": "564" - } - }, - "id": 564, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2222 to sad" - ], - "htmlDetails": [ - "Subject changed from 2222 to sad" - ], - "version": 45, - "createdAt": "2014-11-17T14:26:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/565", - "title": "565" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/565", - "method": "patch", - "title": "565" - } - }, - "id": 565, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/565/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 46, - "createdAt": "2014-11-18T12:46:00Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/566", - "title": "566" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/566", - "method": "patch", - "title": "566" - } - }, - "id": 566, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/566/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 47, - "createdAt": "2014-11-18T12:48:820Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/567", - "title": "567" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/567", - "method": "patch", - "title": "567" - } - }, - "id": 567, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/567/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 48, - "createdAt": "2014-11-18T12:820:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/568", - "title": "568" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/568", - "method": "patch", - "title": "568" - } - }, - "id": 568, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/568/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 49, - "createdAt": "2014-11-18T12:53:03Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/569", - "title": "569" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/569", - "method": "patch", - "title": "569" - } - }, - "id": 569, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/569/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 50, - "createdAt": "2014-11-18T14:10:48Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/570", - "title": "570" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/570", - "method": "patch", - "title": "570" - } - }, - "id": 570, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/570/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 51, - "createdAt": "2014-11-18T14:10:55Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/571", - "title": "571" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/571", - "method": "patch", - "title": "571" - } - }, - "id": 571, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/571/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 820, - "createdAt": "2014-11-18T14:11:22Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/572", - "title": "572" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/572", - "method": "patch", - "title": "572" - } - }, - "id": 572, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/572/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 53, - "createdAt": "2014-11-19T12:53:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/573", - "title": "573" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/573", - "method": "patch", - "title": "573" - } - }, - "id": 573, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sad to sadaa" - ], - "htmlDetails": [ - "Subject changed from sad to sadaa" - ], - "version": 54, - "createdAt": "2014-11-21T08:32:09Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/574", - "title": "574" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/574", - "method": "patch", - "title": "574" - } - }, - "id": 574, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/574/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 55, - "createdAt": "2014-11-21T08:34:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/575", - "title": "575" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/575", - "method": "patch", - "title": "575" - } - }, - "id": 575, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa to sadaa222" - ], - "htmlDetails": [ - "Subject changed from sadaa to sadaa222" - ], - "version": 56, - "createdAt": "2014-11-21T08:38:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/576", - "title": "576" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/576", - "method": "patch", - "title": "576" - } - }, - "id": 576, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "htmlDetails": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "version": 57, - "createdAt": "2014-11-21T08:41:25Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/577", - "title": "577" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/577", - "method": "patch", - "title": "577" - } - }, - "id": 577, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa22222 to 23" - ], - "htmlDetails": [ - "Subject changed from sadaa22222 to 23" - ], - "version": 58, - "createdAt": "2014-11-21T08:47:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/578", - "title": "578" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/578", - "method": "patch", - "title": "578" - } - }, - "id": 578, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 23 to 66666" - ], - "htmlDetails": [ - "Subject changed from 23 to 66666" - ], - "version": 59, - "createdAt": "2014-11-21T08:48:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/580", - "title": "580" - }, - "workPackage": { - "href": "/api/v3/work_packages/820", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/580", - "method": "patch", - "title": "580" - } - }, - "id": 580, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from tested to rejected" - ], - "htmlDetails": [ - "Status changed from tested to rejected" - ], - "version": 60, - "createdAt": "2014-11-21T08:48:57Z" + "activities": { + "_type": "Collection", + "_links": { + "self": { "href": "/api/v3/work_packages/820/activities" } + }, + "total": 4, + "count": 4, + "_embedded": { + "elements": [ + { + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/333", + "title": "333" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/3", + "title": "Anonymous - " + }, + "update": { + "href": "/api/v3/activities/333", + "method": "patch", + "title": "333" + } + }, + "id": 333, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Type set to Phase", + "html": "Type set to Phase" + }, + { + "format": "custom", + "raw": "Project set to Seeded Project", + "html": "Project set to Seeded Project" + }, + { + "format": "custom", + "raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis", + "html": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis" + }, + { + "format": "custom", + "raw": "Description set (/journals/333/diff/description)", + "html": "Description set (Details)" + }, + { + "format": "custom", + "raw": "Due date set to 04/29/2015", + "html": "Due date set to 04/29/2015" + }, + { + "format": "custom", + "raw": "Status set to new", + "html": "Status set to new" + }, + { + "format": "custom", + "raw": "Priority set to Normal", + "html": "Priority set to Normal" + }, + { + "format": "custom", + "raw": "Author set to Alexandrine Heidenreich", + "html": "Author set to Alexandrine Heidenreich" + }, + { + "format": "custom", + "raw": "% done changed from 0 to 0", + "html": "% done changed from 0 to 0" + }, + { + "format": "custom", + "raw": "Start date set to 02/17/2015", + "html": "Start date set to 02/17/2015" + } + ], + "version": 1, + "createdAt": "2015-02-13T10:09:07+00:00" + }, + { + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/816", + "title": "816" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/816", + "method": "patch", + "title": "816" + } + }, + "id": 816, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Status changed from new to in progress", + "html": "Status changed from new to in progress" + } + ], + "version": 2, + "createdAt": "2015-04-07T13:36:43+00:00" + }, + { + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/817", + "title": "817" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/817", + "method": "patch", + "title": "817" + } + }, + "id": 817, + "comment": { + "format": "textile", + "raw": "I have a comment", + "html": "

I have a comment

" + }, + "details": [], + "version": 3, + "createdAt": "2015-04-07T13:37:09+00:00" + }, + { + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/818", + "title": "818" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/818", + "method": "patch", + "title": "818" + } + }, + "id": 818, + "comment": { + "format": "textile", + "raw": "And another one", + "html": "

And another one

" + }, + "details": [], + "version": 4, + "createdAt": "2015-04-07T13:37:33+00:00" + } + ] } - ], + }, "version": { "_type": "Version", "_links": { diff --git a/frontend/tests/integration/mocks/work-packages/821.json b/frontend/tests/integration/mocks/work-packages/821.json index d29b911a19..a93ea0440e 100644 --- a/frontend/tests/integration/mocks/work-packages/821.json +++ b/frontend/tests/integration/mocks/work-packages/821.json @@ -95,6 +95,9 @@ }, "attachments": { "href": "/api/v3/work_packages/821/attachments" + }, + "activities": { + "href": "/api/v3/work_packages/821/activities" } }, "id": 821, @@ -159,2006 +162,199 @@ "updatedAt": "2014-11-05T15:56:821Z", "status": 1 }, - "activities": [ - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/315", - "title": "315" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/3", - "title": "Anonymous - " - }, - "update": { - "href": "/api/v3/activities/315", - "method": "patch", - "title": "315" - } - }, - "id": 315, - "comment": "", - "rawComment": "", - "details": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (/journals/315/diff/description)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "htmlDetails": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (Details)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "version": 1, - "createdAt": "2014-11-05T15:56:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/500", - "title": "500" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/500", - "method": "patch", - "title": "500" - } - }, - "id": 500, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/500/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 2, - "createdAt": "2014-11-10T12:31:10Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/501", - "title": "501" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/501", - "method": "patch", - "title": "501" - } - }, - "id": 501, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/501/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 3, - "createdAt": "2014-11-10T12:31:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/502", - "title": "502" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/502", - "method": "patch", - "title": "502" - } - }, - "id": 502, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/502/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 4, - "createdAt": "2014-11-10T12:31:59Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/503", - "title": "503" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/503", - "method": "patch", - "title": "503" - } - }, - "id": 503, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/503/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 5, - "createdAt": "2014-11-10T12:32:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/504", - "title": "504" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/504", - "method": "patch", - "title": "504" - } - }, - "id": 504, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/504/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 6, - "createdAt": "2014-11-10T12:32:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/505", - "title": "505" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/505", - "method": "patch", - "title": "505" - } - }, - "id": 505, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/505/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 7, - "createdAt": "2014-11-10T12:32:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/506", - "title": "506" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/506", - "method": "patch", - "title": "506" - } - }, - "id": 506, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/506/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 8, - "createdAt": "2014-11-10T12:32:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/507", - "title": "507" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/507", - "method": "patch", - "title": "507" - } - }, - "id": 507, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/507/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 9, - "createdAt": "2014-11-10T12:32:45Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/511", - "title": "511" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/511", - "method": "patch", - "title": "511" - } - }, - "id": 511, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/511/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 10, - "createdAt": "2014-11-10T14:10:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/512", - "title": "512" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/512", - "method": "patch", - "title": "512" - } - }, - "id": 512, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/512/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 11, - "createdAt": "2014-11-10T14:42:50Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/513", - "title": "513" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/513", - "method": "patch", - "title": "513" - } - }, - "id": 513, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/513/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 12, - "createdAt": "2014-11-10T14:44:11Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/514", - "title": "514" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/514", - "method": "patch", - "title": "514" - } - }, - "id": 514, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/514/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 13, - "createdAt": "2014-11-10T14:44:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/515", - "title": "515" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/515", - "method": "patch", - "title": "515" - } - }, - "id": 515, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/515/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 14, - "createdAt": "2014-11-10T14:47:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/516", - "title": "516" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/516", - "method": "patch", - "title": "516" - } - }, - "id": 516, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/516/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 15, - "createdAt": "2014-11-10T14:821:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/517", - "title": "517" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/517", - "method": "patch", - "title": "517" - } - }, - "id": 517, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/517/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 16, - "createdAt": "2014-11-10T14:53:17Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/518", - "title": "518" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/518", - "method": "patch", - "title": "518" - } - }, - "id": 518, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/518/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 17, - "createdAt": "2014-11-10T15:17:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/8213", - "title": "8213" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/8213", - "method": "patch", - "title": "8213" - } - }, - "id": 8213, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "version": 18, - "createdAt": "2014-11-12T12:59:25Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/531", - "title": "531" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/531", - "method": "patch", - "title": "531" - } - }, - "id": 531, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/531/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 19, - "createdAt": "2014-11-12T13:42:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/533", - "title": "533" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/533", - "method": "patch", - "title": "533" - } - }, - "id": 533, - "comment": "", - "rawComment": "", - "details": [ - "Parent set to 232aa22" - ], - "htmlDetails": [ - "Parent set to 232aa22" - ], - "version": 20, - "createdAt": "2014-11-12T16:16:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/535", - "title": "535" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/535", - "method": "patch", - "title": "535" - } - }, - "id": 535, - "comment": "", - "rawComment": "", - "details": [ - "Parent changed from 232aa22 to asd" - ], - "htmlDetails": [ - "Parent changed from 232aa22 to asd" - ], - "version": 21, - "createdAt": "2014-11-12T16:19:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/536", - "title": "536" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/536", - "method": "patch", - "title": "536" - } - }, - "id": 536, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/536/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 22, - "createdAt": "2014-11-12T16:23:26Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/537", - "title": "537" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/537", - "method": "patch", - "title": "537" - } - }, - "id": 537, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/537/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 23, - "createdAt": "2014-11-13T12:23:49Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/539", - "title": "539" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/539", - "method": "patch", - "title": "539" - } - }, - "id": 539, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "version": 24, - "createdAt": "2014-11-17T14:03:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/540", - "title": "540" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/540", - "method": "patch", - "title": "540" - } - }, - "id": 540, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 23123123 to 3q4e4" - ], - "htmlDetails": [ - "Subject changed from 23123123 to 3q4e4" - ], - "version": 25, - "createdAt": "2014-11-17T14:07:43Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/541", - "title": "541" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/541", - "method": "patch", - "title": "541" - } - }, - "id": 541, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/541/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 26, - "createdAt": "2014-11-17T14:08:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/542", - "title": "542" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/542", - "method": "patch", - "title": "542" - } - }, - "id": 542, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/542/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 27, - "createdAt": "2014-11-17T14:08:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/543", - "title": "543" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/543", - "method": "patch", - "title": "543" - } - }, - "id": 543, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from new to in progress" - ], - "htmlDetails": [ - "Status changed from new to in progress" - ], - "version": 28, - "createdAt": "2014-11-17T14:08:38Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/544", - "title": "544" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/544", - "method": "patch", - "title": "544" - } - }, - "id": 544, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to tested" - ], - "htmlDetails": [ - "Status changed from in progress to tested" - ], - "version": 29, - "createdAt": "2014-11-17T14:11:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/546", - "title": "546" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/546", - "method": "patch", - "title": "546" - } - }, - "id": 546, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from tested to closed" - ], - "htmlDetails": [ - "Status changed from tested to closed" - ], - "version": 30, - "createdAt": "2014-11-17T14:11:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/548", - "title": "548" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/548", - "method": "patch", - "title": "548" - } - }, - "id": 548, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from closed to in progress" - ], - "htmlDetails": [ - "Status changed from closed to in progress" - ], - "version": 31, - "createdAt": "2014-11-17T14:11:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/549", - "title": "549" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/549", - "method": "patch", - "title": "549" - } - }, - "id": 549, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/549/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 32, - "createdAt": "2014-11-17T14:13:06Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/550", - "title": "550" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/550", - "method": "patch", - "title": "550" - } - }, - "id": 550, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "htmlDetails": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "version": 33, - "createdAt": "2014-11-17T14:14:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/551", - "title": "551" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/551", - "method": "patch", - "title": "551" - } - }, - "id": 551, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/551/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 34, - "createdAt": "2014-11-17T14:17:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/5821", - "title": "5821" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/5821", - "method": "patch", - "title": "5821" - } - }, - "id": 5821, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4s to 2" - ], - "htmlDetails": [ - "Subject changed from 3q4e4s to 2" - ], - "version": 35, - "createdAt": "2014-11-17T14:17:44Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/553", - "title": "553" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/553", - "method": "patch", - "title": "553" - } - }, - "id": 553, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2 to 22" - ], - "htmlDetails": [ - "Subject changed from 2 to 22" - ], - "version": 36, - "createdAt": "2014-11-17T14:17:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/554", - "title": "554" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/554", - "method": "patch", - "title": "554" - } - }, - "id": 554, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2323" - ], - "htmlDetails": [ - "Subject changed from 22 to 2323" - ], - "version": 37, - "createdAt": "2014-11-17T14:18:33Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/555", - "title": "555" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/555", - "method": "patch", - "title": "555" - } - }, - "id": 555, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/555/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 38, - "createdAt": "2014-11-17T14:18:46Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/556", - "title": "556" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/556", - "method": "patch", - "title": "556" - } - }, - "id": 556, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323 to 2323123123" - ], - "htmlDetails": [ - "Subject changed from 2323 to 2323123123" - ], - "version": 39, - "createdAt": "2014-11-17T14:20:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/557", - "title": "557" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/557", - "method": "patch", - "title": "557" - } - }, - "id": 557, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323123123 to 22" - ], - "htmlDetails": [ - "Subject changed from 2323123123 to 22" - ], - "version": 40, - "createdAt": "2014-11-17T14:22:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/559", - "title": "559" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/559", - "method": "patch", - "title": "559" - } - }, - "id": 559, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to rejected" - ], - "htmlDetails": [ - "Status changed from in progress to rejected" - ], - "version": 41, - "createdAt": "2014-11-17T14:22:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/560", - "title": "560" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/560", - "method": "patch", - "title": "560" - } - }, - "id": 560, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2222" - ], - "htmlDetails": [ - "Subject changed from 22 to 2222" - ], - "version": 42, - "createdAt": "2014-11-17T14:25:07Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/562", - "title": "562" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/562", - "method": "patch", - "title": "562" - } - }, - "id": 562, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from rejected to tested" - ], - "htmlDetails": [ - "Status changed from rejected to tested" - ], - "version": 43, - "createdAt": "2014-11-17T14:26:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/563", - "title": "563" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/563", - "method": "patch", - "title": "563" - } - }, - "id": 563, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/563/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 44, - "createdAt": "2014-11-17T14:26:29Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/564", - "title": "564" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/564", - "method": "patch", - "title": "564" - } - }, - "id": 564, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2222 to sad" - ], - "htmlDetails": [ - "Subject changed from 2222 to sad" - ], - "version": 45, - "createdAt": "2014-11-17T14:26:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/565", - "title": "565" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/565", - "method": "patch", - "title": "565" - } - }, - "id": 565, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/565/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 46, - "createdAt": "2014-11-18T12:46:00Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/566", - "title": "566" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/566", - "method": "patch", - "title": "566" - } - }, - "id": 566, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/566/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 47, - "createdAt": "2014-11-18T12:48:821Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/567", - "title": "567" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/567", - "method": "patch", - "title": "567" - } - }, - "id": 567, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/567/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 48, - "createdAt": "2014-11-18T12:821:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/568", - "title": "568" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/568", - "method": "patch", - "title": "568" - } - }, - "id": 568, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/568/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 49, - "createdAt": "2014-11-18T12:53:03Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/569", - "title": "569" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/569", - "method": "patch", - "title": "569" - } - }, - "id": 569, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/569/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 50, - "createdAt": "2014-11-18T14:10:48Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/570", - "title": "570" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/570", - "method": "patch", - "title": "570" - } - }, - "id": 570, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/570/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 51, - "createdAt": "2014-11-18T14:10:55Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/571", - "title": "571" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/571", - "method": "patch", - "title": "571" - } - }, - "id": 571, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/571/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 821, - "createdAt": "2014-11-18T14:11:22Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/572", - "title": "572" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/572", - "method": "patch", - "title": "572" - } - }, - "id": 572, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/572/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 53, - "createdAt": "2014-11-19T12:53:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/573", - "title": "573" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/573", - "method": "patch", - "title": "573" - } - }, - "id": 573, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sad to sadaa" - ], - "htmlDetails": [ - "Subject changed from sad to sadaa" - ], - "version": 54, - "createdAt": "2014-11-21T08:32:09Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/574", - "title": "574" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/574", - "method": "patch", - "title": "574" - } - }, - "id": 574, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/574/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 55, - "createdAt": "2014-11-21T08:34:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/575", - "title": "575" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/575", - "method": "patch", - "title": "575" - } - }, - "id": 575, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa to sadaa222" - ], - "htmlDetails": [ - "Subject changed from sadaa to sadaa222" - ], - "version": 56, - "createdAt": "2014-11-21T08:38:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/576", - "title": "576" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/576", - "method": "patch", - "title": "576" - } - }, - "id": 576, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "htmlDetails": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "version": 57, - "createdAt": "2014-11-21T08:41:25Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/577", - "title": "577" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/577", - "method": "patch", - "title": "577" - } - }, - "id": 577, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa22222 to 23" - ], - "htmlDetails": [ - "Subject changed from sadaa22222 to 23" - ], - "version": 58, - "createdAt": "2014-11-21T08:47:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/578", - "title": "578" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/578", - "method": "patch", - "title": "578" - } - }, - "id": 578, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 23 to 66666" - ], - "htmlDetails": [ - "Subject changed from 23 to 66666" - ], - "version": 59, - "createdAt": "2014-11-21T08:48:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/580", - "title": "580" - }, - "workPackage": { - "href": "/api/v3/work_packages/821", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/580", - "method": "patch", - "title": "580" - } - }, - "id": 580, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from tested to rejected" - ], - "htmlDetails": [ - "Status changed from tested to rejected" - ], - "version": 60, - "createdAt": "2014-11-21T08:48:57Z" + "activities": { + "_type": "Collection", + "_links": { + "self": { "href": "/api/v3/work_packages/821/activities" } + }, + "total": 4, + "count": 4, + "_embedded": { + "elements": [ + { + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/333", + "title": "333" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/3", + "title": "Anonymous - " + }, + "update": { + "href": "/api/v3/activities/333", + "method": "patch", + "title": "333" + } + }, + "id": 333, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Type set to Phase", + "html": "Type set to Phase" + }, + { + "format": "custom", + "raw": "Project set to Seeded Project", + "html": "Project set to Seeded Project" + }, + { + "format": "custom", + "raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis", + "html": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis" + }, + { + "format": "custom", + "raw": "Description set (/journals/333/diff/description)", + "html": "Description set (Details)" + }, + { + "format": "custom", + "raw": "Due date set to 04/29/2015", + "html": "Due date set to 04/29/2015" + }, + { + "format": "custom", + "raw": "Status set to new", + "html": "Status set to new" + }, + { + "format": "custom", + "raw": "Priority set to Normal", + "html": "Priority set to Normal" + }, + { + "format": "custom", + "raw": "Author set to Alexandrine Heidenreich", + "html": "Author set to Alexandrine Heidenreich" + }, + { + "format": "custom", + "raw": "% done changed from 0 to 0", + "html": "% done changed from 0 to 0" + }, + { + "format": "custom", + "raw": "Start date set to 02/17/2015", + "html": "Start date set to 02/17/2015" + } + ], + "version": 1, + "createdAt": "2015-02-13T10:09:07+00:00" + }, + { + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/816", + "title": "816" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/816", + "method": "patch", + "title": "816" + } + }, + "id": 816, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Status changed from new to in progress", + "html": "Status changed from new to in progress" + } + ], + "version": 2, + "createdAt": "2015-04-07T13:36:43+00:00" + }, + { + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/817", + "title": "817" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/817", + "method": "patch", + "title": "817" + } + }, + "id": 817, + "comment": { + "format": "textile", + "raw": "I have a comment", + "html": "

I have a comment

" + }, + "details": [], + "version": 3, + "createdAt": "2015-04-07T13:37:09+00:00" + }, + { + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/818", + "title": "818" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/818", + "method": "patch", + "title": "818" + } + }, + "id": 818, + "comment": { + "format": "textile", + "raw": "And another one", + "html": "

And another one

" + }, + "details": [], + "version": 4, + "createdAt": "2015-04-07T13:37:33+00:00" + } + ] } - ], + }, "version": { "_type": "Version", "_links": { diff --git a/frontend/tests/integration/mocks/work-packages/822.json b/frontend/tests/integration/mocks/work-packages/822.json index 3853803482..4032e147e3 100644 --- a/frontend/tests/integration/mocks/work-packages/822.json +++ b/frontend/tests/integration/mocks/work-packages/822.json @@ -99,6 +99,9 @@ }, "attachments": { "href": "/api/v3/work_packages/822/attachments" + }, + "activities": { + "href": "/api/v3/work_packages/822/activities" } }, "id": 822, @@ -191,2460 +194,199 @@ "updatedAt": "2014-12-03T14:58:37Z", "status": 1 }, - "activities": [ - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/315", - "title": "315" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/3", - "title": "Anonymous - " - }, - "update": { - "href": "/api/v3/activities/315", - "method": "patch", - "title": "315" - } - }, - "id": 315, - "comment": "", - "rawComment": "", - "details": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (/journals/315/diff/description)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "htmlDetails": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (Details)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "version": 1, - "createdAt": "2014-11-05T15:56:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/500", - "title": "500" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/500", - "method": "patch", - "title": "500" - } - }, - "id": 500, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/500/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 2, - "createdAt": "2014-11-10T12:31:10Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/501", - "title": "501" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/501", - "method": "patch", - "title": "501" - } - }, - "id": 501, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/501/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 3, - "createdAt": "2014-11-10T12:31:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/502", - "title": "502" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/502", - "method": "patch", - "title": "502" - } - }, - "id": 502, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/502/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 4, - "createdAt": "2014-11-10T12:31:59Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/503", - "title": "503" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/503", - "method": "patch", - "title": "503" - } - }, - "id": 503, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/503/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 5, - "createdAt": "2014-11-10T12:32:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/504", - "title": "504" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/504", - "method": "patch", - "title": "504" - } - }, - "id": 504, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/504/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 6, - "createdAt": "2014-11-10T12:32:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/505", - "title": "505" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/505", - "method": "patch", - "title": "505" - } - }, - "id": 505, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/505/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 7, - "createdAt": "2014-11-10T12:32:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/506", - "title": "506" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/506", - "method": "patch", - "title": "506" - } - }, - "id": 506, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/506/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 8, - "createdAt": "2014-11-10T12:32:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/507", - "title": "507" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/507", - "method": "patch", - "title": "507" - } - }, - "id": 507, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/507/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 9, - "createdAt": "2014-11-10T12:32:45Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/511", - "title": "511" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/511", - "method": "patch", - "title": "511" - } - }, - "id": 511, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/511/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 10, - "createdAt": "2014-11-10T14:10:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/512", - "title": "512" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/512", - "method": "patch", - "title": "512" - } - }, - "id": 512, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/512/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 11, - "createdAt": "2014-11-10T14:42:50Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/513", - "title": "513" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/513", - "method": "patch", - "title": "513" - } - }, - "id": 513, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/513/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 12, - "createdAt": "2014-11-10T14:44:11Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/514", - "title": "514" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/514", - "method": "patch", - "title": "514" - } - }, - "id": 514, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/514/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 13, - "createdAt": "2014-11-10T14:44:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/515", - "title": "515" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/515", - "method": "patch", - "title": "515" - } - }, - "id": 515, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/515/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 14, - "createdAt": "2014-11-10T14:47:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/516", - "title": "516" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/516", - "method": "patch", - "title": "516" - } - }, - "id": 516, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/516/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 15, - "createdAt": "2014-11-10T14:822:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/517", - "title": "517" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/517", - "method": "patch", - "title": "517" - } - }, - "id": 517, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/517/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 16, - "createdAt": "2014-11-10T14:53:17Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/518", - "title": "518" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/518", - "method": "patch", - "title": "518" - } - }, - "id": 518, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/518/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 17, - "createdAt": "2014-11-10T15:17:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/8223", - "title": "8223" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/8223", - "method": "patch", - "title": "8223" - } - }, - "id": 8223, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "version": 18, - "createdAt": "2014-11-12T12:59:25Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/531", - "title": "531" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/531", - "method": "patch", - "title": "531" - } - }, - "id": 531, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/531/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 19, - "createdAt": "2014-11-12T13:42:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/533", - "title": "533" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/533", - "method": "patch", - "title": "533" - } - }, - "id": 533, - "comment": "", - "rawComment": "", - "details": [ - "Parent set to 5624777df" - ], - "htmlDetails": [ - "Parent set to 5624777df" - ], - "version": 20, - "createdAt": "2014-11-12T16:16:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/535", - "title": "535" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/535", - "method": "patch", - "title": "535" - } - }, - "id": 535, - "comment": "", - "rawComment": "", - "details": [ - "Parent changed from 5624777df to asdsadd" - ], - "htmlDetails": [ - "Parent changed from 5624777df to asdsadd" - ], - "version": 21, - "createdAt": "2014-11-12T16:19:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/536", - "title": "536" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/536", - "method": "patch", - "title": "536" - } - }, - "id": 536, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/536/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 22, - "createdAt": "2014-11-12T16:23:26Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/537", - "title": "537" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/537", - "method": "patch", - "title": "537" - } - }, - "id": 537, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/537/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 23, - "createdAt": "2014-11-13T12:23:49Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/539", - "title": "539" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/539", - "method": "patch", - "title": "539" - } - }, - "id": 539, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "version": 24, - "createdAt": "2014-11-17T14:03:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/540", - "title": "540" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/540", - "method": "patch", - "title": "540" - } - }, - "id": 540, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 23123123 to 3q4e4" - ], - "htmlDetails": [ - "Subject changed from 23123123 to 3q4e4" - ], - "version": 25, - "createdAt": "2014-11-17T14:07:43Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/541", - "title": "541" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/541", - "method": "patch", - "title": "541" - } - }, - "id": 541, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/541/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 26, - "createdAt": "2014-11-17T14:08:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/542", - "title": "542" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/542", - "method": "patch", - "title": "542" - } - }, - "id": 542, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/542/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 27, - "createdAt": "2014-11-17T14:08:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/543", - "title": "543" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/543", - "method": "patch", - "title": "543" - } - }, - "id": 543, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from new to in progress" - ], - "htmlDetails": [ - "Status changed from new to in progress" - ], - "version": 28, - "createdAt": "2014-11-17T14:08:38Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/544", - "title": "544" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/544", - "method": "patch", - "title": "544" - } - }, - "id": 544, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to tested" - ], - "htmlDetails": [ - "Status changed from in progress to tested" - ], - "version": 29, - "createdAt": "2014-11-17T14:11:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/546", - "title": "546" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/546", - "method": "patch", - "title": "546" - } - }, - "id": 546, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from tested to closed" - ], - "htmlDetails": [ - "Status changed from tested to closed" - ], - "version": 30, - "createdAt": "2014-11-17T14:11:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/548", - "title": "548" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/548", - "method": "patch", - "title": "548" - } - }, - "id": 548, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from closed to in progress" - ], - "htmlDetails": [ - "Status changed from closed to in progress" - ], - "version": 31, - "createdAt": "2014-11-17T14:11:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/549", - "title": "549" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/549", - "method": "patch", - "title": "549" - } - }, - "id": 549, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/549/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 32, - "createdAt": "2014-11-17T14:13:06Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/550", - "title": "550" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/550", - "method": "patch", - "title": "550" - } - }, - "id": 550, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "htmlDetails": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "version": 33, - "createdAt": "2014-11-17T14:14:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/551", - "title": "551" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/551", - "method": "patch", - "title": "551" - } - }, - "id": 551, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/551/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 34, - "createdAt": "2014-11-17T14:17:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/5822", - "title": "5822" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/5822", - "method": "patch", - "title": "5822" - } - }, - "id": 5822, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4s to 2" - ], - "htmlDetails": [ - "Subject changed from 3q4e4s to 2" - ], - "version": 35, - "createdAt": "2014-11-17T14:17:44Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/553", - "title": "553" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/553", - "method": "patch", - "title": "553" - } - }, - "id": 553, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2 to 22" - ], - "htmlDetails": [ - "Subject changed from 2 to 22" - ], - "version": 36, - "createdAt": "2014-11-17T14:17:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/554", - "title": "554" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/554", - "method": "patch", - "title": "554" - } - }, - "id": 554, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2323" - ], - "htmlDetails": [ - "Subject changed from 22 to 2323" - ], - "version": 37, - "createdAt": "2014-11-17T14:18:33Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/555", - "title": "555" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/555", - "method": "patch", - "title": "555" - } - }, - "id": 555, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/555/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 38, - "createdAt": "2014-11-17T14:18:46Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/556", - "title": "556" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/556", - "method": "patch", - "title": "556" - } - }, - "id": 556, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323 to 2323123123" - ], - "htmlDetails": [ - "Subject changed from 2323 to 2323123123" - ], - "version": 39, - "createdAt": "2014-11-17T14:20:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/557", - "title": "557" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/557", - "method": "patch", - "title": "557" - } - }, - "id": 557, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323123123 to 22" - ], - "htmlDetails": [ - "Subject changed from 2323123123 to 22" - ], - "version": 40, - "createdAt": "2014-11-17T14:22:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/559", - "title": "559" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/559", - "method": "patch", - "title": "559" - } - }, - "id": 559, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to rejected" - ], - "htmlDetails": [ - "Status changed from in progress to rejected" - ], - "version": 41, - "createdAt": "2014-11-17T14:22:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/560", - "title": "560" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/560", - "method": "patch", - "title": "560" - } - }, - "id": 560, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2222" - ], - "htmlDetails": [ - "Subject changed from 22 to 2222" - ], - "version": 42, - "createdAt": "2014-11-17T14:25:07Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/562", - "title": "562" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/562", - "method": "patch", - "title": "562" - } - }, - "id": 562, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from rejected to tested" - ], - "htmlDetails": [ - "Status changed from rejected to tested" - ], - "version": 43, - "createdAt": "2014-11-17T14:26:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/563", - "title": "563" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/563", - "method": "patch", - "title": "563" - } - }, - "id": 563, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/563/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 44, - "createdAt": "2014-11-17T14:26:29Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/564", - "title": "564" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/564", - "method": "patch", - "title": "564" - } - }, - "id": 564, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2222 to sad" - ], - "htmlDetails": [ - "Subject changed from 2222 to sad" - ], - "version": 45, - "createdAt": "2014-11-17T14:26:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/565", - "title": "565" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/565", - "method": "patch", - "title": "565" - } - }, - "id": 565, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/565/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 46, - "createdAt": "2014-11-18T12:46:00Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/566", - "title": "566" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/566", - "method": "patch", - "title": "566" - } - }, - "id": 566, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/566/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 47, - "createdAt": "2014-11-18T12:48:822Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/567", - "title": "567" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/567", - "method": "patch", - "title": "567" - } - }, - "id": 567, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/567/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 48, - "createdAt": "2014-11-18T12:822:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/568", - "title": "568" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/568", - "method": "patch", - "title": "568" - } - }, - "id": 568, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/568/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 49, - "createdAt": "2014-11-18T12:53:03Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/569", - "title": "569" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/569", - "method": "patch", - "title": "569" - } - }, - "id": 569, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/569/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 50, - "createdAt": "2014-11-18T14:10:48Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/570", - "title": "570" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/570", - "method": "patch", - "title": "570" - } - }, - "id": 570, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/570/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 51, - "createdAt": "2014-11-18T14:10:55Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/571", - "title": "571" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/571", - "method": "patch", - "title": "571" - } - }, - "id": 571, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/571/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 822, - "createdAt": "2014-11-18T14:11:22Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/572", - "title": "572" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/572", - "method": "patch", - "title": "572" - } - }, - "id": 572, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/572/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 53, - "createdAt": "2014-11-19T12:53:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/573", - "title": "573" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/573", - "method": "patch", - "title": "573" - } - }, - "id": 573, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sad to sadaa" - ], - "htmlDetails": [ - "Subject changed from sad to sadaa" - ], - "version": 54, - "createdAt": "2014-11-21T08:32:09Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/574", - "title": "574" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/574", - "method": "patch", - "title": "574" - } - }, - "id": 574, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/574/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 55, - "createdAt": "2014-11-21T08:34:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/575", - "title": "575" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/575", - "method": "patch", - "title": "575" - } - }, - "id": 575, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa to sadaa222" - ], - "htmlDetails": [ - "Subject changed from sadaa to sadaa222" - ], - "version": 56, - "createdAt": "2014-11-21T08:38:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/576", - "title": "576" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/576", - "method": "patch", - "title": "576" - } - }, - "id": 576, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "htmlDetails": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "version": 57, - "createdAt": "2014-11-21T08:41:25Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/577", - "title": "577" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/577", - "method": "patch", - "title": "577" - } - }, - "id": 577, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa22222 to 23" - ], - "htmlDetails": [ - "Subject changed from sadaa22222 to 23" - ], - "version": 58, - "createdAt": "2014-11-21T08:47:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/578", - "title": "578" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/578", - "method": "patch", - "title": "578" - } - }, - "id": 578, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 23 to 66666" - ], - "htmlDetails": [ - "Subject changed from 23 to 66666" - ], - "version": 59, - "createdAt": "2014-11-21T08:48:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/580", - "title": "580" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/580", - "method": "patch", - "title": "580" - } - }, - "id": 580, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from tested to rejected" - ], - "htmlDetails": [ - "Status changed from tested to rejected" - ], - "version": 60, - "createdAt": "2014-11-21T08:48:57Z" - }, - { - "_type": "Activity::Comment", - "_links": { - "self": { - "href": "/api/v3/activities/585", - "title": "585" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/585", - "method": "patch", - "title": "585" - } - }, - "id": 585, - "comment": "

asdasd

", - "rawComment": "asdasd", - "details": [], - "htmlDetails": [], - "version": 61, - "createdAt": "2014-11-27T12:21:18Z" - }, - { - "_type": "Activity::Comment", - "_links": { - "self": { - "href": "/api/v3/activities/586", - "title": "586" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/586", - "method": "patch", - "title": "586" - } - }, - "id": 586, - "comment": "

asd

", - "rawComment": "asd", - "details": [], - "htmlDetails": [], - "version": 62, - "createdAt": "2014-11-27T12:23:45Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/589", - "title": "589" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/589", - "method": "patch", - "title": "589" - } - }, - "id": 589, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 66666 to 66666o" - ], - "htmlDetails": [ - "Subject changed from 66666 to 66666o" - ], - "version": 63, - "createdAt": "2014-12-01T10:55:45Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/590", - "title": "590" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/590", - "method": "patch", - "title": "590" - } - }, - "id": 590, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 66666o to 66666os" - ], - "htmlDetails": [ - "Subject changed from 66666o to 66666os" - ], - "version": 64, - "createdAt": "2014-12-01T12:37:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/591", - "title": "591" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/591", - "method": "patch", - "title": "591" - } - }, - "id": 591, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/591/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 65, - "createdAt": "2014-12-01T14:22:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/592", - "title": "592" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/592", - "method": "patch", - "title": "592" - } - }, - "id": 592, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/592/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 66, - "createdAt": "2014-12-01T14:22:46Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/593", - "title": "593" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/593", - "method": "patch", - "title": "593" - } - }, - "id": 593, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/593/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 67, - "createdAt": "2014-12-01T14:22:822Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/634", - "title": "634" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/634", - "method": "patch", - "title": "634" - } - }, - "id": 634, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/634/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 68, - "createdAt": "2014-12-03T14:49:02Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/635", - "title": "635" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/635", - "method": "patch", - "title": "635" - } - }, - "id": 635, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/635/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 69, - "createdAt": "2014-12-03T14:49:29Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/636", - "title": "636" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/636", - "method": "patch", - "title": "636" - } - }, - "id": 636, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 66666os to 66666os=" - ], - "htmlDetails": [ - "Subject changed from 66666os to 66666os=" - ], - "version": 70, - "createdAt": "2014-12-03T14:51:08Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/637", - "title": "637" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/637", - "method": "patch", - "title": "637" - } - }, - "id": 637, - "comment": "", - "rawComment": "", - "details": [ - "Assignee set to OpenProject Admin" - ], - "htmlDetails": [ - "Assignee set to OpenProject Admin" - ], - "version": 71, - "createdAt": "2014-12-03T14:51:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/638", - "title": "638" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/638", - "method": "patch", - "title": "638" - } - }, - "id": 638, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/638/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 72, - "createdAt": "2014-12-03T14:54:18Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/639", - "title": "639" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/639", - "method": "patch", - "title": "639" - } - }, - "id": 639, - "comment": "", - "rawComment": "", - "details": [ - "Responsible set to OpenProject Admin" - ], - "htmlDetails": [ - "Responsible set to OpenProject Admin" - ], - "version": 73, - "createdAt": "2014-12-03T14:57:23Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/662", - "title": "662" - }, - "workPackage": { - "href": "/api/v3/work_packages/822", - "title": "66666os=" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/662", - "method": "patch", - "title": "662" - } - }, - "id": 662, - "comment": "", - "rawComment": "", - "details": [ - "Assignee deleted (OpenProject Admin)" - ], - "htmlDetails": [ - "Assignee deleted (OpenProject Admin)" - ], - "version": 74, - "createdAt": "2014-12-04T09:48:50Z" + "activities": { + "_type": "Collection", + "_links": { + "self": { "href": "/api/v3/work_packages/822/activities" } + }, + "total": 4, + "count": 4, + "_embedded": { + "elements": [ + { + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/333", + "title": "333" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/3", + "title": "Anonymous - " + }, + "update": { + "href": "/api/v3/activities/333", + "method": "patch", + "title": "333" + } + }, + "id": 333, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Type set to Phase", + "html": "Type set to Phase" + }, + { + "format": "custom", + "raw": "Project set to Seeded Project", + "html": "Project set to Seeded Project" + }, + { + "format": "custom", + "raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis", + "html": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis" + }, + { + "format": "custom", + "raw": "Description set (/journals/333/diff/description)", + "html": "Description set (Details)" + }, + { + "format": "custom", + "raw": "Due date set to 04/29/2015", + "html": "Due date set to 04/29/2015" + }, + { + "format": "custom", + "raw": "Status set to new", + "html": "Status set to new" + }, + { + "format": "custom", + "raw": "Priority set to Normal", + "html": "Priority set to Normal" + }, + { + "format": "custom", + "raw": "Author set to Alexandrine Heidenreich", + "html": "Author set to Alexandrine Heidenreich" + }, + { + "format": "custom", + "raw": "% done changed from 0 to 0", + "html": "% done changed from 0 to 0" + }, + { + "format": "custom", + "raw": "Start date set to 02/17/2015", + "html": "Start date set to 02/17/2015" + } + ], + "version": 1, + "createdAt": "2015-02-13T10:09:07+00:00" + }, + { + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/816", + "title": "816" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/816", + "method": "patch", + "title": "816" + } + }, + "id": 816, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Status changed from new to in progress", + "html": "Status changed from new to in progress" + } + ], + "version": 2, + "createdAt": "2015-04-07T13:36:43+00:00" + }, + { + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/817", + "title": "817" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/817", + "method": "patch", + "title": "817" + } + }, + "id": 817, + "comment": { + "format": "textile", + "raw": "I have a comment", + "html": "

I have a comment

" + }, + "details": [], + "version": 3, + "createdAt": "2015-04-07T13:37:09+00:00" + }, + { + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/818", + "title": "818" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/818", + "method": "patch", + "title": "818" + } + }, + "id": 818, + "comment": { + "format": "textile", + "raw": "And another one", + "html": "

And another one

" + }, + "details": [], + "version": 4, + "createdAt": "2015-04-07T13:37:33+00:00" + } + ] } - ], + }, "version": { "_type": "Version", "_links": { diff --git a/frontend/tests/integration/mocks/work-packages/823.json b/frontend/tests/integration/mocks/work-packages/823.json index dedecefdff..bb9452fb2e 100644 --- a/frontend/tests/integration/mocks/work-packages/823.json +++ b/frontend/tests/integration/mocks/work-packages/823.json @@ -99,6 +99,9 @@ }, "attachments": { "href": "/api/v3/work_packages/823/attachments" + }, + "activities": { + "href": "/api/v3/work_packages/823/activities" } }, "id": 823, @@ -191,2009 +194,199 @@ "updatedAt": "2014-11-05T15:56:823Z", "status": 1 }, - "activities": [ - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/315", - "title": "315" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/3", - "title": "Anonymous - " - }, - "update": { - "href": "/api/v3/activities/315", - "method": "patch", - "title": "315" - } - }, - "id": 315, - "comment": "", - "rawComment": "", - "details": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (/journals/315/diff/description)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "htmlDetails": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (Details)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "version": 1, - "createdAt": "2014-11-05T15:56:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/500", - "title": "500" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/500", - "method": "patch", - "title": "500" - } - }, - "id": 500, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/500/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 2, - "createdAt": "2014-11-10T12:31:10Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/501", - "title": "501" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/501", - "method": "patch", - "title": "501" - } - }, - "id": 501, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/501/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 3, - "createdAt": "2014-11-10T12:31:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/502", - "title": "502" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/502", - "method": "patch", - "title": "502" - } - }, - "id": 502, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/502/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 4, - "createdAt": "2014-11-10T12:31:59Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/503", - "title": "503" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/503", - "method": "patch", - "title": "503" - } - }, - "id": 503, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/503/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 5, - "createdAt": "2014-11-10T12:32:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/504", - "title": "504" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/504", - "method": "patch", - "title": "504" - } - }, - "id": 504, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/504/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 6, - "createdAt": "2014-11-10T12:32:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/505", - "title": "505" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/505", - "method": "patch", - "title": "505" - } - }, - "id": 505, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/505/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 7, - "createdAt": "2014-11-10T12:32:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/506", - "title": "506" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/506", - "method": "patch", - "title": "506" - } - }, - "id": 506, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/506/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 8, - "createdAt": "2014-11-10T12:32:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/507", - "title": "507" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/507", - "method": "patch", - "title": "507" - } - }, - "id": 507, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/507/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 9, - "createdAt": "2014-11-10T12:32:45Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/511", - "title": "511" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/511", - "method": "patch", - "title": "511" - } - }, - "id": 511, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/511/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 10, - "createdAt": "2014-11-10T14:10:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/512", - "title": "512" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/512", - "method": "patch", - "title": "512" - } - }, - "id": 512, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/512/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 11, - "createdAt": "2014-11-10T14:42:50Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/513", - "title": "513" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/513", - "method": "patch", - "title": "513" - } - }, - "id": 513, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/513/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 12, - "createdAt": "2014-11-10T14:44:11Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/514", - "title": "514" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/514", - "method": "patch", - "title": "514" - } - }, - "id": 514, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/514/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 13, - "createdAt": "2014-11-10T14:44:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/515", - "title": "515" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/515", - "method": "patch", - "title": "515" - } - }, - "id": 515, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/515/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 14, - "createdAt": "2014-11-10T14:47:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/516", - "title": "516" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/516", - "method": "patch", - "title": "516" - } - }, - "id": 516, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/516/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 15, - "createdAt": "2014-11-10T14:823:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/517", - "title": "517" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/517", - "method": "patch", - "title": "517" - } - }, - "id": 517, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/517/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 16, - "createdAt": "2014-11-10T14:53:17Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/518", - "title": "518" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/518", - "method": "patch", - "title": "518" - } - }, - "id": 518, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/518/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 17, - "createdAt": "2014-11-10T15:17:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/8233", - "title": "8233" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/8233", - "method": "patch", - "title": "8233" - } - }, - "id": 8233, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "version": 18, - "createdAt": "2014-11-12T12:59:25Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/531", - "title": "531" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/531", - "method": "patch", - "title": "531" - } - }, - "id": 531, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/531/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 19, - "createdAt": "2014-11-12T13:42:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/533", - "title": "533" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/533", - "method": "patch", - "title": "533" - } - }, - "id": 533, - "comment": "", - "rawComment": "", - "details": [ - "Parent set to 232aa22" - ], - "htmlDetails": [ - "Parent set to 232aa22" - ], - "version": 20, - "createdAt": "2014-11-12T16:16:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/535", - "title": "535" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/535", - "method": "patch", - "title": "535" - } - }, - "id": 535, - "comment": "", - "rawComment": "", - "details": [ - "Parent changed from 232aa22 to asd" - ], - "htmlDetails": [ - "Parent changed from 232aa22 to asd" - ], - "version": 21, - "createdAt": "2014-11-12T16:19:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/536", - "title": "536" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/536", - "method": "patch", - "title": "536" - } - }, - "id": 536, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/536/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 22, - "createdAt": "2014-11-12T16:23:26Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/537", - "title": "537" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/537", - "method": "patch", - "title": "537" - } - }, - "id": 537, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/537/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 23, - "createdAt": "2014-11-13T12:23:49Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/539", - "title": "539" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/539", - "method": "patch", - "title": "539" - } - }, - "id": 539, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "version": 24, - "createdAt": "2014-11-17T14:03:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/540", - "title": "540" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/540", - "method": "patch", - "title": "540" - } - }, - "id": 540, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 23123123 to 3q4e4" - ], - "htmlDetails": [ - "Subject changed from 23123123 to 3q4e4" - ], - "version": 25, - "createdAt": "2014-11-17T14:07:43Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/541", - "title": "541" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/541", - "method": "patch", - "title": "541" - } - }, - "id": 541, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/541/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 26, - "createdAt": "2014-11-17T14:08:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/542", - "title": "542" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/542", - "method": "patch", - "title": "542" - } - }, - "id": 542, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/542/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 27, - "createdAt": "2014-11-17T14:08:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/543", - "title": "543" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/543", - "method": "patch", - "title": "543" - } - }, - "id": 543, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from new to in progress" - ], - "htmlDetails": [ - "Status changed from new to in progress" - ], - "version": 28, - "createdAt": "2014-11-17T14:08:38Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/544", - "title": "544" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/544", - "method": "patch", - "title": "544" - } - }, - "id": 544, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to tested" - ], - "htmlDetails": [ - "Status changed from in progress to tested" - ], - "version": 29, - "createdAt": "2014-11-17T14:11:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/546", - "title": "546" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/546", - "method": "patch", - "title": "546" - } - }, - "id": 546, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from tested to closed" - ], - "htmlDetails": [ - "Status changed from tested to closed" - ], - "version": 30, - "createdAt": "2014-11-17T14:11:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/548", - "title": "548" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/548", - "method": "patch", - "title": "548" - } - }, - "id": 548, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from closed to in progress" - ], - "htmlDetails": [ - "Status changed from closed to in progress" - ], - "version": 31, - "createdAt": "2014-11-17T14:11:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/549", - "title": "549" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/549", - "method": "patch", - "title": "549" - } - }, - "id": 549, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/549/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 32, - "createdAt": "2014-11-17T14:13:06Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/550", - "title": "550" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/550", - "method": "patch", - "title": "550" - } - }, - "id": 550, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "htmlDetails": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "version": 33, - "createdAt": "2014-11-17T14:14:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/551", - "title": "551" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/551", - "method": "patch", - "title": "551" - } - }, - "id": 551, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/551/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 34, - "createdAt": "2014-11-17T14:17:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/5823", - "title": "5823" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/5823", - "method": "patch", - "title": "5823" - } - }, - "id": 5823, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4s to 2" - ], - "htmlDetails": [ - "Subject changed from 3q4e4s to 2" - ], - "version": 35, - "createdAt": "2014-11-17T14:17:44Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/553", - "title": "553" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/553", - "method": "patch", - "title": "553" - } - }, - "id": 553, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2 to 22" - ], - "htmlDetails": [ - "Subject changed from 2 to 22" - ], - "version": 36, - "createdAt": "2014-11-17T14:17:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/554", - "title": "554" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/554", - "method": "patch", - "title": "554" - } - }, - "id": 554, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2323" - ], - "htmlDetails": [ - "Subject changed from 22 to 2323" - ], - "version": 37, - "createdAt": "2014-11-17T14:18:33Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/555", - "title": "555" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/555", - "method": "patch", - "title": "555" - } - }, - "id": 555, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/555/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 38, - "createdAt": "2014-11-17T14:18:46Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/556", - "title": "556" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/556", - "method": "patch", - "title": "556" - } - }, - "id": 556, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323 to 2323123123" - ], - "htmlDetails": [ - "Subject changed from 2323 to 2323123123" - ], - "version": 39, - "createdAt": "2014-11-17T14:20:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/557", - "title": "557" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/557", - "method": "patch", - "title": "557" - } - }, - "id": 557, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323123123 to 22" - ], - "htmlDetails": [ - "Subject changed from 2323123123 to 22" - ], - "version": 40, - "createdAt": "2014-11-17T14:22:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/559", - "title": "559" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/559", - "method": "patch", - "title": "559" - } - }, - "id": 559, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to rejected" - ], - "htmlDetails": [ - "Status changed from in progress to rejected" - ], - "version": 41, - "createdAt": "2014-11-17T14:22:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/560", - "title": "560" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/560", - "method": "patch", - "title": "560" - } - }, - "id": 560, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2222" - ], - "htmlDetails": [ - "Subject changed from 22 to 2222" - ], - "version": 42, - "createdAt": "2014-11-17T14:25:07Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/562", - "title": "562" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/562", - "method": "patch", - "title": "562" - } - }, - "id": 562, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from rejected to tested" - ], - "htmlDetails": [ - "Status changed from rejected to tested" - ], - "version": 43, - "createdAt": "2014-11-17T14:26:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/563", - "title": "563" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/563", - "method": "patch", - "title": "563" - } - }, - "id": 563, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/563/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 44, - "createdAt": "2014-11-17T14:26:29Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/564", - "title": "564" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/564", - "method": "patch", - "title": "564" - } - }, - "id": 564, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2222 to sad" - ], - "htmlDetails": [ - "Subject changed from 2222 to sad" - ], - "version": 45, - "createdAt": "2014-11-17T14:26:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/565", - "title": "565" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/565", - "method": "patch", - "title": "565" - } - }, - "id": 565, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/565/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 46, - "createdAt": "2014-11-18T12:46:00Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/566", - "title": "566" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/566", - "method": "patch", - "title": "566" - } - }, - "id": 566, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/566/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 47, - "createdAt": "2014-11-18T12:48:823Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/567", - "title": "567" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/567", - "method": "patch", - "title": "567" - } - }, - "id": 567, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/567/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 48, - "createdAt": "2014-11-18T12:823:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/568", - "title": "568" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/568", - "method": "patch", - "title": "568" - } - }, - "id": 568, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/568/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 49, - "createdAt": "2014-11-18T12:53:03Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/569", - "title": "569" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/569", - "method": "patch", - "title": "569" - } - }, - "id": 569, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/569/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 50, - "createdAt": "2014-11-18T14:10:48Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/570", - "title": "570" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/570", - "method": "patch", - "title": "570" - } - }, - "id": 570, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/570/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 51, - "createdAt": "2014-11-18T14:10:55Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/571", - "title": "571" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/571", - "method": "patch", - "title": "571" - } - }, - "id": 571, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/571/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 823, - "createdAt": "2014-11-18T14:11:22Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/572", - "title": "572" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/572", - "method": "patch", - "title": "572" - } - }, - "id": 572, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/572/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 53, - "createdAt": "2014-11-19T12:53:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/573", - "title": "573" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/573", - "method": "patch", - "title": "573" - } - }, - "id": 573, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sad to sadaa" - ], - "htmlDetails": [ - "Subject changed from sad to sadaa" - ], - "version": 54, - "createdAt": "2014-11-21T08:32:09Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/574", - "title": "574" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/574", - "method": "patch", - "title": "574" - } - }, - "id": 574, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/574/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 55, - "createdAt": "2014-11-21T08:34:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/575", - "title": "575" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/575", - "method": "patch", - "title": "575" - } - }, - "id": 575, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa to sadaa222" - ], - "htmlDetails": [ - "Subject changed from sadaa to sadaa222" - ], - "version": 56, - "createdAt": "2014-11-21T08:38:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/576", - "title": "576" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/576", - "method": "patch", - "title": "576" - } - }, - "id": 576, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "htmlDetails": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "version": 57, - "createdAt": "2014-11-21T08:41:25Z" + "activities": { + "_type": "Collection", + "_links": { + "self": { "href": "/api/v3/work_packages/823/activities" } }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/577", - "title": "577" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/577", - "method": "patch", - "title": "577" - } - }, - "id": 577, - "comment": "", - "rawComment": "", - "details": [ + "total": 4, + "count": 4, + "_embedded": { + "elements": [ { - "format": "textile", - "raw": "Subject changed from sadaa22222 to 23", - "html": "Subject changed from sadaa22222 to 23" - } - ], - "version": 58, - "createdAt": "2014-11-21T08:47:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/578", - "title": "578" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/333", + "title": "333" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/3", + "title": "Anonymous - " + }, + "update": { + "href": "/api/v3/activities/333", + "method": "patch", + "title": "333" + } + }, + "id": 333, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Type set to Phase", + "html": "Type set to Phase" + }, + { + "format": "custom", + "raw": "Project set to Seeded Project", + "html": "Project set to Seeded Project" + }, + { + "format": "custom", + "raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis", + "html": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis" + }, + { + "format": "custom", + "raw": "Description set (/journals/333/diff/description)", + "html": "Description set (Details)" + }, + { + "format": "custom", + "raw": "Due date set to 04/29/2015", + "html": "Due date set to 04/29/2015" + }, + { + "format": "custom", + "raw": "Status set to new", + "html": "Status set to new" + }, + { + "format": "custom", + "raw": "Priority set to Normal", + "html": "Priority set to Normal" + }, + { + "format": "custom", + "raw": "Author set to Alexandrine Heidenreich", + "html": "Author set to Alexandrine Heidenreich" + }, + { + "format": "custom", + "raw": "% done changed from 0 to 0", + "html": "% done changed from 0 to 0" + }, + { + "format": "custom", + "raw": "Start date set to 02/17/2015", + "html": "Start date set to 02/17/2015" + } + ], + "version": 1, + "createdAt": "2015-02-13T10:09:07+00:00" }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/578", - "method": "patch", - "title": "578" - } - }, - "id": 578, - "comment": "", - "rawComment": "", - "details": [ { - "format": "textile", - "raw": "Subject changed from 23 to 66666", - "html": "Subject changed from 23 to 66666" - } - ], - "version": 59, - "createdAt": "2014-11-21T08:48:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/580", - "title": "580" - }, - "workPackage": { - "href": "/api/v3/work_packages/823", - "title": "66666" + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/816", + "title": "816" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/816", + "method": "patch", + "title": "816" + } + }, + "id": 816, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Status changed from new to in progress", + "html": "Status changed from new to in progress" + } + ], + "version": 2, + "createdAt": "2015-04-07T13:36:43+00:00" }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" + { + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/817", + "title": "817" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/817", + "method": "patch", + "title": "817" + } + }, + "id": 817, + "comment": { + "format": "textile", + "raw": "I have a comment", + "html": "

I have a comment

" + }, + "details": [], + "version": 3, + "createdAt": "2015-04-07T13:37:09+00:00" }, - "update": { - "href": "/api/v3/activities/580", - "method": "patch", - "title": "580" - } - }, - "id": 580, - "comment": "", - "rawComment": "", - "details": [ { - "format": "textile", - "raw": "Status changed from tested to rejected", - "html": "Status changed from tested to rejected" - } - ], - "version": 60, - "createdAt": "2014-11-21T08:48:57Z" + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/818", + "title": "818" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/818", + "method": "patch", + "title": "818" + } + }, + "id": 818, + "comment": { + "format": "textile", + "raw": "And another one", + "html": "

And another one

" + }, + "details": [], + "version": 4, + "createdAt": "2015-04-07T13:37:33+00:00" + } + ] } - ], + }, "version": { "_type": "Version", "_links": { diff --git a/frontend/tests/integration/mocks/work-packages/824.json b/frontend/tests/integration/mocks/work-packages/824.json index 76b91e884a..f3e9f2b5fa 100644 --- a/frontend/tests/integration/mocks/work-packages/824.json +++ b/frontend/tests/integration/mocks/work-packages/824.json @@ -99,6 +99,9 @@ }, "attachments": { "href": "/api/v3/work_packages/824/attachments" + }, + "activities": { + "href": "/api/v3/work_packages/824/activities" } }, "id": 824, @@ -191,2009 +194,199 @@ "updatedAt": "2014-11-05T15:56:824Z", "status": 1 }, - "activities": [ - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/315", - "title": "315" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/3", - "title": "Anonymous - " - }, - "update": { - "href": "/api/v3/activities/315", - "method": "patch", - "title": "315" - } - }, - "id": 315, - "comment": "", - "rawComment": "", - "details": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (/journals/315/diff/description)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "htmlDetails": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (Details)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "version": 1, - "createdAt": "2014-11-05T15:56:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/500", - "title": "500" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/500", - "method": "patch", - "title": "500" - } - }, - "id": 500, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/500/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 2, - "createdAt": "2014-11-10T12:31:10Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/501", - "title": "501" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/501", - "method": "patch", - "title": "501" - } - }, - "id": 501, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/501/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 3, - "createdAt": "2014-11-10T12:31:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/502", - "title": "502" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/502", - "method": "patch", - "title": "502" - } - }, - "id": 502, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/502/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 4, - "createdAt": "2014-11-10T12:31:59Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/503", - "title": "503" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/503", - "method": "patch", - "title": "503" - } - }, - "id": 503, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/503/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 5, - "createdAt": "2014-11-10T12:32:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/504", - "title": "504" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/504", - "method": "patch", - "title": "504" - } - }, - "id": 504, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/504/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 6, - "createdAt": "2014-11-10T12:32:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/505", - "title": "505" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/505", - "method": "patch", - "title": "505" - } - }, - "id": 505, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/505/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 7, - "createdAt": "2014-11-10T12:32:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/506", - "title": "506" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/506", - "method": "patch", - "title": "506" - } - }, - "id": 506, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/506/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 8, - "createdAt": "2014-11-10T12:32:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/507", - "title": "507" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/507", - "method": "patch", - "title": "507" - } - }, - "id": 507, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/507/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 9, - "createdAt": "2014-11-10T12:32:45Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/511", - "title": "511" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/511", - "method": "patch", - "title": "511" - } - }, - "id": 511, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/511/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 10, - "createdAt": "2014-11-10T14:10:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/512", - "title": "512" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/512", - "method": "patch", - "title": "512" - } - }, - "id": 512, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/512/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 11, - "createdAt": "2014-11-10T14:42:50Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/513", - "title": "513" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/513", - "method": "patch", - "title": "513" - } - }, - "id": 513, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/513/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 12, - "createdAt": "2014-11-10T14:44:11Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/514", - "title": "514" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/514", - "method": "patch", - "title": "514" - } - }, - "id": 514, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/514/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 13, - "createdAt": "2014-11-10T14:44:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/515", - "title": "515" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/515", - "method": "patch", - "title": "515" - } - }, - "id": 515, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/515/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 14, - "createdAt": "2014-11-10T14:47:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/516", - "title": "516" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/516", - "method": "patch", - "title": "516" - } - }, - "id": 516, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/516/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 15, - "createdAt": "2014-11-10T14:824:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/517", - "title": "517" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/517", - "method": "patch", - "title": "517" - } - }, - "id": 517, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/517/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 16, - "createdAt": "2014-11-10T14:53:17Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/518", - "title": "518" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/518", - "method": "patch", - "title": "518" - } - }, - "id": 518, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/518/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 17, - "createdAt": "2014-11-10T15:17:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/8243", - "title": "8243" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/8243", - "method": "patch", - "title": "8243" - } - }, - "id": 8243, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "version": 18, - "createdAt": "2014-11-12T12:59:25Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/531", - "title": "531" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/531", - "method": "patch", - "title": "531" - } - }, - "id": 531, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/531/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 19, - "createdAt": "2014-11-12T13:42:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/533", - "title": "533" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/533", - "method": "patch", - "title": "533" - } - }, - "id": 533, - "comment": "", - "rawComment": "", - "details": [ - "Parent set to 232aa22" - ], - "htmlDetails": [ - "Parent set to 232aa22" - ], - "version": 20, - "createdAt": "2014-11-12T16:16:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/535", - "title": "535" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/535", - "method": "patch", - "title": "535" - } - }, - "id": 535, - "comment": "", - "rawComment": "", - "details": [ - "Parent changed from 232aa22 to asd" - ], - "htmlDetails": [ - "Parent changed from 232aa22 to asd" - ], - "version": 21, - "createdAt": "2014-11-12T16:19:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/536", - "title": "536" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/536", - "method": "patch", - "title": "536" - } - }, - "id": 536, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/536/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 22, - "createdAt": "2014-11-12T16:23:26Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/537", - "title": "537" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/537", - "method": "patch", - "title": "537" - } - }, - "id": 537, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/537/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 23, - "createdAt": "2014-11-13T12:23:49Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/539", - "title": "539" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/539", - "method": "patch", - "title": "539" - } - }, - "id": 539, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "version": 24, - "createdAt": "2014-11-17T14:03:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/540", - "title": "540" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/540", - "method": "patch", - "title": "540" - } - }, - "id": 540, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 23123123 to 3q4e4" - ], - "htmlDetails": [ - "Subject changed from 23123123 to 3q4e4" - ], - "version": 25, - "createdAt": "2014-11-17T14:07:43Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/541", - "title": "541" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/541", - "method": "patch", - "title": "541" - } - }, - "id": 541, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/541/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 26, - "createdAt": "2014-11-17T14:08:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/542", - "title": "542" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/542", - "method": "patch", - "title": "542" - } - }, - "id": 542, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/542/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 27, - "createdAt": "2014-11-17T14:08:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/543", - "title": "543" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/543", - "method": "patch", - "title": "543" - } - }, - "id": 543, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from new to in progress" - ], - "htmlDetails": [ - "Status changed from new to in progress" - ], - "version": 28, - "createdAt": "2014-11-17T14:08:38Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/544", - "title": "544" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/544", - "method": "patch", - "title": "544" - } - }, - "id": 544, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to tested" - ], - "htmlDetails": [ - "Status changed from in progress to tested" - ], - "version": 29, - "createdAt": "2014-11-17T14:11:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/546", - "title": "546" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/546", - "method": "patch", - "title": "546" - } - }, - "id": 546, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from tested to closed" - ], - "htmlDetails": [ - "Status changed from tested to closed" - ], - "version": 30, - "createdAt": "2014-11-17T14:11:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/548", - "title": "548" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/548", - "method": "patch", - "title": "548" - } - }, - "id": 548, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from closed to in progress" - ], - "htmlDetails": [ - "Status changed from closed to in progress" - ], - "version": 31, - "createdAt": "2014-11-17T14:11:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/549", - "title": "549" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/549", - "method": "patch", - "title": "549" - } - }, - "id": 549, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/549/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 32, - "createdAt": "2014-11-17T14:13:06Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/550", - "title": "550" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/550", - "method": "patch", - "title": "550" - } - }, - "id": 550, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "htmlDetails": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "version": 33, - "createdAt": "2014-11-17T14:14:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/551", - "title": "551" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/551", - "method": "patch", - "title": "551" - } - }, - "id": 551, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/551/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 34, - "createdAt": "2014-11-17T14:17:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/5824", - "title": "5824" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/5824", - "method": "patch", - "title": "5824" - } - }, - "id": 5824, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4s to 2" - ], - "htmlDetails": [ - "Subject changed from 3q4e4s to 2" - ], - "version": 35, - "createdAt": "2014-11-17T14:17:44Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/553", - "title": "553" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/553", - "method": "patch", - "title": "553" - } - }, - "id": 553, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2 to 22" - ], - "htmlDetails": [ - "Subject changed from 2 to 22" - ], - "version": 36, - "createdAt": "2014-11-17T14:17:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/554", - "title": "554" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/554", - "method": "patch", - "title": "554" - } - }, - "id": 554, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2323" - ], - "htmlDetails": [ - "Subject changed from 22 to 2323" - ], - "version": 37, - "createdAt": "2014-11-17T14:18:33Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/555", - "title": "555" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/555", - "method": "patch", - "title": "555" - } - }, - "id": 555, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/555/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 38, - "createdAt": "2014-11-17T14:18:46Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/556", - "title": "556" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/556", - "method": "patch", - "title": "556" - } - }, - "id": 556, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323 to 2323123123" - ], - "htmlDetails": [ - "Subject changed from 2323 to 2323123123" - ], - "version": 39, - "createdAt": "2014-11-17T14:20:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/557", - "title": "557" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/557", - "method": "patch", - "title": "557" - } - }, - "id": 557, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323123123 to 22" - ], - "htmlDetails": [ - "Subject changed from 2323123123 to 22" - ], - "version": 40, - "createdAt": "2014-11-17T14:22:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/559", - "title": "559" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/559", - "method": "patch", - "title": "559" - } - }, - "id": 559, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to rejected" - ], - "htmlDetails": [ - "Status changed from in progress to rejected" - ], - "version": 41, - "createdAt": "2014-11-17T14:22:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/560", - "title": "560" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/560", - "method": "patch", - "title": "560" - } - }, - "id": 560, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2222" - ], - "htmlDetails": [ - "Subject changed from 22 to 2222" - ], - "version": 42, - "createdAt": "2014-11-17T14:25:07Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/562", - "title": "562" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/562", - "method": "patch", - "title": "562" - } - }, - "id": 562, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from rejected to tested" - ], - "htmlDetails": [ - "Status changed from rejected to tested" - ], - "version": 43, - "createdAt": "2014-11-17T14:26:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/563", - "title": "563" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/563", - "method": "patch", - "title": "563" - } - }, - "id": 563, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/563/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 44, - "createdAt": "2014-11-17T14:26:29Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/564", - "title": "564" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/564", - "method": "patch", - "title": "564" - } - }, - "id": 564, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2222 to sad" - ], - "htmlDetails": [ - "Subject changed from 2222 to sad" - ], - "version": 45, - "createdAt": "2014-11-17T14:26:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/565", - "title": "565" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/565", - "method": "patch", - "title": "565" - } - }, - "id": 565, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/565/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 46, - "createdAt": "2014-11-18T12:46:00Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/566", - "title": "566" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/566", - "method": "patch", - "title": "566" - } - }, - "id": 566, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/566/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 47, - "createdAt": "2014-11-18T12:48:824Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/567", - "title": "567" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/567", - "method": "patch", - "title": "567" - } - }, - "id": 567, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/567/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 48, - "createdAt": "2014-11-18T12:824:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/568", - "title": "568" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/568", - "method": "patch", - "title": "568" - } - }, - "id": 568, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/568/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 49, - "createdAt": "2014-11-18T12:53:03Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/569", - "title": "569" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/569", - "method": "patch", - "title": "569" - } - }, - "id": 569, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/569/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 50, - "createdAt": "2014-11-18T14:10:48Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/570", - "title": "570" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/570", - "method": "patch", - "title": "570" - } - }, - "id": 570, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/570/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 51, - "createdAt": "2014-11-18T14:10:55Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/571", - "title": "571" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/571", - "method": "patch", - "title": "571" - } - }, - "id": 571, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/571/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 824, - "createdAt": "2014-11-18T14:11:22Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/572", - "title": "572" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/572", - "method": "patch", - "title": "572" - } - }, - "id": 572, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/572/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 53, - "createdAt": "2014-11-19T12:53:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/573", - "title": "573" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/573", - "method": "patch", - "title": "573" - } - }, - "id": 573, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sad to sadaa" - ], - "htmlDetails": [ - "Subject changed from sad to sadaa" - ], - "version": 54, - "createdAt": "2014-11-21T08:32:09Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/574", - "title": "574" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/574", - "method": "patch", - "title": "574" - } - }, - "id": 574, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/574/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 55, - "createdAt": "2014-11-21T08:34:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/575", - "title": "575" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/575", - "method": "patch", - "title": "575" - } - }, - "id": 575, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa to sadaa222" - ], - "htmlDetails": [ - "Subject changed from sadaa to sadaa222" - ], - "version": 56, - "createdAt": "2014-11-21T08:38:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/576", - "title": "576" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/576", - "method": "patch", - "title": "576" - } - }, - "id": 576, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "htmlDetails": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "version": 57, - "createdAt": "2014-11-21T08:41:25Z" + "activities": { + "_type": "Collection", + "_links": { + "self": { "href": "/api/v3/work_packages/824/activities" } }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/577", - "title": "577" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/577", - "method": "patch", - "title": "577" - } - }, - "id": 577, - "comment": "", - "rawComment": "", - "details": [ + "total": 4, + "count": 4, + "_embedded": { + "elements": [ { - "format": "textile", - "raw": "Subject changed from sadaa22222 to 23", - "html": "Subject changed from sadaa22222 to 23" - } - ], - "version": 58, - "createdAt": "2014-11-21T08:47:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/578", - "title": "578" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/333", + "title": "333" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/3", + "title": "Anonymous - " + }, + "update": { + "href": "/api/v3/activities/333", + "method": "patch", + "title": "333" + } + }, + "id": 333, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Type set to Phase", + "html": "Type set to Phase" + }, + { + "format": "custom", + "raw": "Project set to Seeded Project", + "html": "Project set to Seeded Project" + }, + { + "format": "custom", + "raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis", + "html": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis" + }, + { + "format": "custom", + "raw": "Description set (/journals/333/diff/description)", + "html": "Description set (Details)" + }, + { + "format": "custom", + "raw": "Due date set to 04/29/2015", + "html": "Due date set to 04/29/2015" + }, + { + "format": "custom", + "raw": "Status set to new", + "html": "Status set to new" + }, + { + "format": "custom", + "raw": "Priority set to Normal", + "html": "Priority set to Normal" + }, + { + "format": "custom", + "raw": "Author set to Alexandrine Heidenreich", + "html": "Author set to Alexandrine Heidenreich" + }, + { + "format": "custom", + "raw": "% done changed from 0 to 0", + "html": "% done changed from 0 to 0" + }, + { + "format": "custom", + "raw": "Start date set to 02/17/2015", + "html": "Start date set to 02/17/2015" + } + ], + "version": 1, + "createdAt": "2015-02-13T10:09:07+00:00" }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/578", - "method": "patch", - "title": "578" - } - }, - "id": 578, - "comment": "", - "rawComment": "", - "details": [ { - "format": "textile", - "raw": "Subject changed from 23 to 66666", - "html": "Subject changed from 23 to 66666" - } - ], - "version": 59, - "createdAt": "2014-11-21T08:48:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/580", - "title": "580" - }, - "workPackage": { - "href": "/api/v3/work_packages/824", - "title": "66666" + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/816", + "title": "816" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/816", + "method": "patch", + "title": "816" + } + }, + "id": 816, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Status changed from new to in progress", + "html": "Status changed from new to in progress" + } + ], + "version": 2, + "createdAt": "2015-04-07T13:36:43+00:00" }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" + { + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/817", + "title": "817" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/817", + "method": "patch", + "title": "817" + } + }, + "id": 817, + "comment": { + "format": "textile", + "raw": "I have a comment", + "html": "

I have a comment

" + }, + "details": [], + "version": 3, + "createdAt": "2015-04-07T13:37:09+00:00" }, - "update": { - "href": "/api/v3/activities/580", - "method": "patch", - "title": "580" - } - }, - "id": 580, - "comment": "", - "rawComment": "", - "details": [ { - "format": "textile", - "raw": "Status changed from tested to rejected", - "html": "Status changed from tested to rejected" - } - ], - "version": 60, - "createdAt": "2014-11-21T08:48:57Z" + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/818", + "title": "818" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/818", + "method": "patch", + "title": "818" + } + }, + "id": 818, + "comment": { + "format": "textile", + "raw": "And another one", + "html": "

And another one

" + }, + "details": [], + "version": 4, + "createdAt": "2015-04-07T13:37:33+00:00" + } + ] } - ], + }, "version": { "_type": "Version", "_links": { diff --git a/frontend/tests/integration/mocks/work-packages/825.json b/frontend/tests/integration/mocks/work-packages/825.json index e399602d28..782cc10fe4 100644 --- a/frontend/tests/integration/mocks/work-packages/825.json +++ b/frontend/tests/integration/mocks/work-packages/825.json @@ -103,6 +103,9 @@ }, "attachments": { "href": "/api/v3/work_packages/825/attachments" + }, + "activities": { + "href": "/api/v3/work_packages/825/activities" } }, "id": 825, @@ -195,2009 +198,199 @@ "updatedAt": "2014-11-05T15:56:825Z", "status": 1 }, - "activities": [ - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/315", - "title": "315" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/3", - "title": "Anonymous - " - }, - "update": { - "href": "/api/v3/activities/315", - "method": "patch", - "title": "315" - } - }, - "id": 315, - "comment": "", - "rawComment": "", - "details": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (/journals/315/diff/description)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "htmlDetails": [ - "Type set to Feature", - "Project set to Seeded Project", - "Subject set to praesentium repellendus nam officia velit voluptas voluptas quasi", - "Description set (Details)", - "Due date set to 12/27/2014", - "Status set to new", - "Priority set to Normal", - "Author set to Freida Fay", - "% done changed from 0 to 0", - "Start date set to 10/23/2014" - ], - "version": 1, - "createdAt": "2014-11-05T15:56:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/500", - "title": "500" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/500", - "method": "patch", - "title": "500" - } - }, - "id": 500, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/500/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 2, - "createdAt": "2014-11-10T12:31:10Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/501", - "title": "501" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/501", - "method": "patch", - "title": "501" - } - }, - "id": 501, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/501/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 3, - "createdAt": "2014-11-10T12:31:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/502", - "title": "502" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/502", - "method": "patch", - "title": "502" - } - }, - "id": 502, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/502/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 4, - "createdAt": "2014-11-10T12:31:59Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/503", - "title": "503" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/503", - "method": "patch", - "title": "503" - } - }, - "id": 503, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/503/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 5, - "createdAt": "2014-11-10T12:32:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/504", - "title": "504" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/504", - "method": "patch", - "title": "504" - } - }, - "id": 504, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/504/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 6, - "createdAt": "2014-11-10T12:32:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/505", - "title": "505" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/505", - "method": "patch", - "title": "505" - } - }, - "id": 505, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/505/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 7, - "createdAt": "2014-11-10T12:32:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/506", - "title": "506" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/506", - "method": "patch", - "title": "506" - } - }, - "id": 506, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/506/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 8, - "createdAt": "2014-11-10T12:32:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/507", - "title": "507" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/507", - "method": "patch", - "title": "507" - } - }, - "id": 507, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/507/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 9, - "createdAt": "2014-11-10T12:32:45Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/511", - "title": "511" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/511", - "method": "patch", - "title": "511" - } - }, - "id": 511, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/511/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 10, - "createdAt": "2014-11-10T14:10:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/512", - "title": "512" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/512", - "method": "patch", - "title": "512" - } - }, - "id": 512, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/512/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 11, - "createdAt": "2014-11-10T14:42:50Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/513", - "title": "513" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/513", - "method": "patch", - "title": "513" - } - }, - "id": 513, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/513/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 12, - "createdAt": "2014-11-10T14:44:11Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/514", - "title": "514" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/514", - "method": "patch", - "title": "514" - } - }, - "id": 514, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/514/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 13, - "createdAt": "2014-11-10T14:44:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/515", - "title": "515" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/515", - "method": "patch", - "title": "515" - } - }, - "id": 515, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/515/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 14, - "createdAt": "2014-11-10T14:47:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/516", - "title": "516" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/516", - "method": "patch", - "title": "516" - } - }, - "id": 516, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/516/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 15, - "createdAt": "2014-11-10T14:825:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/517", - "title": "517" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/517", - "method": "patch", - "title": "517" - } - }, - "id": 517, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/517/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 16, - "createdAt": "2014-11-10T14:53:17Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/518", - "title": "518" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/518", - "method": "patch", - "title": "518" - } - }, - "id": 518, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/518/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 17, - "createdAt": "2014-11-10T15:17:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/8253", - "title": "8253" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/8253", - "method": "patch", - "title": "8253" - } - }, - "id": 8253, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasi to praesentium repellendus nam officia velit voluptas voluptas quasivv" - ], - "version": 18, - "createdAt": "2014-11-12T12:59:25Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/531", - "title": "531" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/531", - "method": "patch", - "title": "531" - } - }, - "id": 531, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/531/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 19, - "createdAt": "2014-11-12T13:42:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/533", - "title": "533" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/533", - "method": "patch", - "title": "533" - } - }, - "id": 533, - "comment": "", - "rawComment": "", - "details": [ - "Parent set to 232aa22" - ], - "htmlDetails": [ - "Parent set to 232aa22" - ], - "version": 20, - "createdAt": "2014-11-12T16:16:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/535", - "title": "535" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/535", - "method": "patch", - "title": "535" - } - }, - "id": 535, - "comment": "", - "rawComment": "", - "details": [ - "Parent changed from 232aa22 to asd" - ], - "htmlDetails": [ - "Parent changed from 232aa22 to asd" - ], - "version": 21, - "createdAt": "2014-11-12T16:19:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/536", - "title": "536" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/536", - "method": "patch", - "title": "536" - } - }, - "id": 536, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/536/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 22, - "createdAt": "2014-11-12T16:23:26Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/537", - "title": "537" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/537", - "method": "patch", - "title": "537" - } - }, - "id": 537, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/537/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 23, - "createdAt": "2014-11-13T12:23:49Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/539", - "title": "539" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/539", - "method": "patch", - "title": "539" - } - }, - "id": 539, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "htmlDetails": [ - "Subject changed from praesentium repellendus nam officia velit voluptas voluptas quasivv to 23123123" - ], - "version": 24, - "createdAt": "2014-11-17T14:03:47Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/540", - "title": "540" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/540", - "method": "patch", - "title": "540" - } - }, - "id": 540, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 23123123 to 3q4e4" - ], - "htmlDetails": [ - "Subject changed from 23123123 to 3q4e4" - ], - "version": 25, - "createdAt": "2014-11-17T14:07:43Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/541", - "title": "541" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/541", - "method": "patch", - "title": "541" - } - }, - "id": 541, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/541/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 26, - "createdAt": "2014-11-17T14:08:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/542", - "title": "542" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/542", - "method": "patch", - "title": "542" - } - }, - "id": 542, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/542/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 27, - "createdAt": "2014-11-17T14:08:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/543", - "title": "543" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/543", - "method": "patch", - "title": "543" - } - }, - "id": 543, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from new to in progress" - ], - "htmlDetails": [ - "Status changed from new to in progress" - ], - "version": 28, - "createdAt": "2014-11-17T14:08:38Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/544", - "title": "544" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/544", - "method": "patch", - "title": "544" - } - }, - "id": 544, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to tested" - ], - "htmlDetails": [ - "Status changed from in progress to tested" - ], - "version": 29, - "createdAt": "2014-11-17T14:11:36Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/546", - "title": "546" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/546", - "method": "patch", - "title": "546" - } - }, - "id": 546, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from tested to closed" - ], - "htmlDetails": [ - "Status changed from tested to closed" - ], - "version": 30, - "createdAt": "2014-11-17T14:11:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/548", - "title": "548" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/548", - "method": "patch", - "title": "548" - } - }, - "id": 548, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from closed to in progress" - ], - "htmlDetails": [ - "Status changed from closed to in progress" - ], - "version": 31, - "createdAt": "2014-11-17T14:11:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/549", - "title": "549" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/549", - "method": "patch", - "title": "549" - } - }, - "id": 549, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/549/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 32, - "createdAt": "2014-11-17T14:13:06Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/550", - "title": "550" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/550", - "method": "patch", - "title": "550" - } - }, - "id": 550, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "htmlDetails": [ - "Subject changed from 3q4e4 to 3q4e4s" - ], - "version": 33, - "createdAt": "2014-11-17T14:14:53Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/551", - "title": "551" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/551", - "method": "patch", - "title": "551" - } - }, - "id": 551, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/551/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 34, - "createdAt": "2014-11-17T14:17:41Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/5825", - "title": "5825" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/5825", - "method": "patch", - "title": "5825" - } - }, - "id": 5825, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 3q4e4s to 2" - ], - "htmlDetails": [ - "Subject changed from 3q4e4s to 2" - ], - "version": 35, - "createdAt": "2014-11-17T14:17:44Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/553", - "title": "553" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/553", - "method": "patch", - "title": "553" - } - }, - "id": 553, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2 to 22" - ], - "htmlDetails": [ - "Subject changed from 2 to 22" - ], - "version": 36, - "createdAt": "2014-11-17T14:17:51Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/554", - "title": "554" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/554", - "method": "patch", - "title": "554" - } - }, - "id": 554, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2323" - ], - "htmlDetails": [ - "Subject changed from 22 to 2323" - ], - "version": 37, - "createdAt": "2014-11-17T14:18:33Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/555", - "title": "555" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/555", - "method": "patch", - "title": "555" - } - }, - "id": 555, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/555/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 38, - "createdAt": "2014-11-17T14:18:46Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/556", - "title": "556" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/556", - "method": "patch", - "title": "556" - } - }, - "id": 556, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323 to 2323123123" - ], - "htmlDetails": [ - "Subject changed from 2323 to 2323123123" - ], - "version": 39, - "createdAt": "2014-11-17T14:20:40Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/557", - "title": "557" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/557", - "method": "patch", - "title": "557" - } - }, - "id": 557, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2323123123 to 22" - ], - "htmlDetails": [ - "Subject changed from 2323123123 to 22" - ], - "version": 40, - "createdAt": "2014-11-17T14:22:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/559", - "title": "559" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/559", - "method": "patch", - "title": "559" - } - }, - "id": 559, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from in progress to rejected" - ], - "htmlDetails": [ - "Status changed from in progress to rejected" - ], - "version": 41, - "createdAt": "2014-11-17T14:22:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/560", - "title": "560" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/560", - "method": "patch", - "title": "560" - } - }, - "id": 560, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 22 to 2222" - ], - "htmlDetails": [ - "Subject changed from 22 to 2222" - ], - "version": 42, - "createdAt": "2014-11-17T14:25:07Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/562", - "title": "562" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/562", - "method": "patch", - "title": "562" - } - }, - "id": 562, - "comment": "", - "rawComment": "", - "details": [ - "Status changed from rejected to tested" - ], - "htmlDetails": [ - "Status changed from rejected to tested" - ], - "version": 43, - "createdAt": "2014-11-17T14:26:20Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/563", - "title": "563" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/563", - "method": "patch", - "title": "563" - } - }, - "id": 563, - "comment": "", - "rawComment": "", - "details": [ - "Description deleted (/journals/563/diff/description)" - ], - "htmlDetails": [ - "Description deleted (Details)" - ], - "version": 44, - "createdAt": "2014-11-17T14:26:29Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/564", - "title": "564" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/564", - "method": "patch", - "title": "564" - } - }, - "id": 564, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from 2222 to sad" - ], - "htmlDetails": [ - "Subject changed from 2222 to sad" - ], - "version": 45, - "createdAt": "2014-11-17T14:26:31Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/565", - "title": "565" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/565", - "method": "patch", - "title": "565" - } - }, - "id": 565, - "comment": "", - "rawComment": "", - "details": [ - "Description set (/journals/565/diff/description)" - ], - "htmlDetails": [ - "Description set (Details)" - ], - "version": 46, - "createdAt": "2014-11-18T12:46:00Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/566", - "title": "566" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/566", - "method": "patch", - "title": "566" - } - }, - "id": 566, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/566/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 47, - "createdAt": "2014-11-18T12:48:825Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/567", - "title": "567" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/567", - "method": "patch", - "title": "567" - } - }, - "id": 567, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/567/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 48, - "createdAt": "2014-11-18T12:825:34Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/568", - "title": "568" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/568", - "method": "patch", - "title": "568" - } - }, - "id": 568, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/568/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 49, - "createdAt": "2014-11-18T12:53:03Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/569", - "title": "569" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/569", - "method": "patch", - "title": "569" - } - }, - "id": 569, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/569/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 50, - "createdAt": "2014-11-18T14:10:48Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/570", - "title": "570" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/570", - "method": "patch", - "title": "570" - } - }, - "id": 570, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/570/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 51, - "createdAt": "2014-11-18T14:10:55Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/571", - "title": "571" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/571", - "method": "patch", - "title": "571" - } - }, - "id": 571, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/571/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 825, - "createdAt": "2014-11-18T14:11:22Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/572", - "title": "572" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/572", - "method": "patch", - "title": "572" - } - }, - "id": 572, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/572/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 53, - "createdAt": "2014-11-19T12:53:54Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/573", - "title": "573" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/573", - "method": "patch", - "title": "573" - } - }, - "id": 573, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sad to sadaa" - ], - "htmlDetails": [ - "Subject changed from sad to sadaa" - ], - "version": 54, - "createdAt": "2014-11-21T08:32:09Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/574", - "title": "574" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/574", - "method": "patch", - "title": "574" - } - }, - "id": 574, - "comment": "", - "rawComment": "", - "details": [ - "Description changed (/journals/574/diff/description)" - ], - "htmlDetails": [ - "Description changed (Details)" - ], - "version": 55, - "createdAt": "2014-11-21T08:34:01Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/575", - "title": "575" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/575", - "method": "patch", - "title": "575" - } - }, - "id": 575, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa to sadaa222" - ], - "htmlDetails": [ - "Subject changed from sadaa to sadaa222" - ], - "version": 56, - "createdAt": "2014-11-21T08:38:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/576", - "title": "576" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/576", - "method": "patch", - "title": "576" - } - }, - "id": 576, - "comment": "", - "rawComment": "", - "details": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "htmlDetails": [ - "Subject changed from sadaa222 to sadaa22222" - ], - "version": 57, - "createdAt": "2014-11-21T08:41:25Z" + "activities": { + "_type": "Collection", + "_links": { + "self": { "href": "/api/v3/work_packages/825/activities" } }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/577", - "title": "577" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" - }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/577", - "method": "patch", - "title": "577" - } - }, - "id": 577, - "comment": "", - "rawComment": "", - "details": [ + "total": 4, + "count": 4, + "_embedded": { + "elements": [ { - "format": "textile", - "raw": "Subject changed from sadaa22222 to 23", - "html": "Subject changed from sadaa22222 to 23" - } - ], - "version": 58, - "createdAt": "2014-11-21T08:47:21Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/578", - "title": "578" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/333", + "title": "333" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/3", + "title": "Anonymous - " + }, + "update": { + "href": "/api/v3/activities/333", + "method": "patch", + "title": "333" + } + }, + "id": 333, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Type set to Phase", + "html": "Type set to Phase" + }, + { + "format": "custom", + "raw": "Project set to Seeded Project", + "html": "Project set to Seeded Project" + }, + { + "format": "custom", + "raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis", + "html": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis" + }, + { + "format": "custom", + "raw": "Description set (/journals/333/diff/description)", + "html": "Description set (Details)" + }, + { + "format": "custom", + "raw": "Due date set to 04/29/2015", + "html": "Due date set to 04/29/2015" + }, + { + "format": "custom", + "raw": "Status set to new", + "html": "Status set to new" + }, + { + "format": "custom", + "raw": "Priority set to Normal", + "html": "Priority set to Normal" + }, + { + "format": "custom", + "raw": "Author set to Alexandrine Heidenreich", + "html": "Author set to Alexandrine Heidenreich" + }, + { + "format": "custom", + "raw": "% done changed from 0 to 0", + "html": "% done changed from 0 to 0" + }, + { + "format": "custom", + "raw": "Start date set to 02/17/2015", + "html": "Start date set to 02/17/2015" + } + ], + "version": 1, + "createdAt": "2015-02-13T10:09:07+00:00" }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" - }, - "update": { - "href": "/api/v3/activities/578", - "method": "patch", - "title": "578" - } - }, - "id": 578, - "comment": "", - "rawComment": "", - "details": [ { - "format": "textile", - "raw": "Subject changed from 23 to 66666", - "html": "Subject changed from 23 to 66666" - } - ], - "version": 59, - "createdAt": "2014-11-21T08:48:27Z" - }, - { - "_type": "Activity", - "_links": { - "self": { - "href": "/api/v3/activities/580", - "title": "580" - }, - "workPackage": { - "href": "/api/v3/work_packages/825", - "title": "66666" + "_type": "Activity", + "_links": { + "self": { + "href": "/api/v3/activities/816", + "title": "816" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/816", + "method": "patch", + "title": "816" + } + }, + "id": 816, + "comment": { + "format": "textile", + "raw": "", + "html": "" + }, + "details": [ + { + "format": "custom", + "raw": "Status changed from new to in progress", + "html": "Status changed from new to in progress" + } + ], + "version": 2, + "createdAt": "2015-04-07T13:36:43+00:00" }, - "user": { - "href": "/api/v3/users/1", - "title": "OpenProject Admin - admin" + { + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/817", + "title": "817" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/817", + "method": "patch", + "title": "817" + } + }, + "id": 817, + "comment": { + "format": "textile", + "raw": "I have a comment", + "html": "

I have a comment

" + }, + "details": [], + "version": 3, + "createdAt": "2015-04-07T13:37:09+00:00" }, - "update": { - "href": "/api/v3/activities/580", - "method": "patch", - "title": "580" - } - }, - "id": 580, - "comment": "", - "rawComment": "", - "details": [ { - "format": "textile", - "raw": "Status changed from tested to rejected", - "html": "Status changed from tested to rejected" - } - ], - "version": 60, - "createdAt": "2014-11-21T08:48:57Z" + "_type": "Activity::Comment", + "_links": { + "self": { + "href": "/api/v3/activities/818", + "title": "818" + }, + "workPackage": { + "href": "/api/v3/work_packages/65", + "title": "veritatis voluptas hic qui praesentium tempora illum omnis" + }, + "user": { + "href": "/api/v3/users/1", + "title": "OpenProject Admin - admin" + }, + "update": { + "href": "/api/v3/activities/818", + "method": "patch", + "title": "818" + } + }, + "id": 818, + "comment": { + "format": "textile", + "raw": "And another one", + "html": "

And another one

" + }, + "details": [], + "version": 4, + "createdAt": "2015-04-07T13:37:33+00:00" + } + ] } - ], + }, "version": { "_type": "Version", "_links": { diff --git a/frontend/tests/integration/specs/work-packages/details-pane/activity-with-revisions-spec.js b/frontend/tests/integration/specs/work-packages/details-pane/activity-with-revisions-spec.js index cb78446ab6..0bf5107579 100644 --- a/frontend/tests/integration/specs/work-packages/details-pane/activity-with-revisions-spec.js +++ b/frontend/tests/integration/specs/work-packages/details-pane/activity-with-revisions-spec.js @@ -27,8 +27,8 @@ //++ var expect = require('../../../spec_helper.js').expect, - detailsPaneHelper = require('./details-pane-helper.js'), - elements = detailsPaneHelper.elements; + detailsPaneHelper = require('./details-pane-helper.js'), + elements = detailsPaneHelper.elements; /*jshint expr: true*/ @@ -37,15 +37,14 @@ describe('OpenProject', function() { beforeEach(function() { detailsPaneHelper.loadPane(820, 'activity'); }); - it('should render all activities and one revision', function() { var locator = by.css('.work-package-details-activities-activity'); - elements.count(locator, 61); + elements.count(locator, 5); }); it('should render one revision at the correct position', function() { expect( - $('.work-package-details-activities-activity:nth-of-type(61) .date').getText() + $('.work-package-details-activities-activity:nth-of-type(5) .date').getText() ).to.eventually.contain('committed revision 1cb82424'); }); }); diff --git a/frontend/tests/unit/tests/work_packages/controllers/work-package-details-controller-test.js b/frontend/tests/unit/tests/work_packages/controllers/work-package-details-controller-test.js index e7154d4f55..b7a5a40ba4 100644 --- a/frontend/tests/unit/tests/work_packages/controllers/work-package-details-controller-test.js +++ b/frontend/tests/unit/tests/work_packages/controllers/work-package-details-controller-test.js @@ -57,7 +57,17 @@ describe('WorkPackageDetailsController', function() { id: 1 } }, - activities: [], + activities: { + links: { + self: { href: "/api/v3/work_packages/820/activities" } + }, + _type: "Collection", + total: 0, + count: 0, + embedded: { + elements: [] + } + }, watchers: [], attachments: { links: { @@ -125,7 +135,7 @@ describe('WorkPackageDetailsController', function() { buildController = function() { var testState = { - current: { url: '/overview', }, + current: { url: '/overview' } }; scope = $rootScope.$new();