9b3e75b9b9
Nodes: embed 'short_link' when 'short_code' is present and not empty.
...
This prevents calls to /nodes/<node-id>/share to get the short link.
2016-07-15 11:23:13 +02:00
2d5a538ad6
Added query string support to AbstractPillarTest.client_request()
2016-07-15 11:23:09 +02:00
9cd7198005
Make shared nodes world-gettable
2016-07-13 12:28:01 +02:00
d357345db6
Missed one more 'theatre_link'
2016-07-07 19:05:14 +02:00
0f8cfc89b3
Nodes now have only one short code
2016-07-07 15:41:42 +02:00
3f3e9ac7db
Nodes can now be shared with /nodes/<node_id>/share endpoint.
...
A POST will create a short link (if it doesn't exist already), whereas
a GET will return the short link for the node.
The endpoint will return a dict like:
{'short_code': 'XXXXXX',
'short_link': 'https://blender.cloud/r/XXXXX ',
'theatre_link': 'https://blender.cloud/r/XXXXX?t '}
2016-07-07 15:17:56 +02:00
d95004e62e
Node 'user' property now defaults to the current user ID.
2016-07-06 15:19:28 +02:00
387cee227a
Set default picture on image asset and texture nodes.
2016-06-30 11:55:36 +02:00
a90f13486a
Fixed typo call to check_permissions()
...
Also added unit test to cover the function containing the typo.
2016-05-09 12:52:44 +02:00
53aa0dae3b
Deducting asset node content type from file content type.
2016-05-02 12:30:52 +02:00