Commit Graph

14 Commits

Author SHA1 Message Date
3fd5fdf154 Missing argument for .pop('_links') on Node update 2015-10-20 14:57:16 +02:00
c1ff4ba9bb Introducing convert_datetime function
Starting from an JSON object, find and replace the _create and _updated
keys with actual datetime objects.
2015-10-20 13:03:34 +02:00
9a6af611da Added has_method to NodeType 2015-10-20 11:38:34 +02:00
3d392b3b13 Added find_one as a resource class method 2015-10-19 19:09:48 +02:00
92d1dad594 Return ResourceNotFound on find_one if not found 2015-10-15 18:01:25 +02:00
90f8922667 Introducing find_one method for Node resources 2015-10-15 16:11:19 +02:00
5a856c8972 Tweaks to node update method
We override the update method so that the allowed_methods property can
be stripped before being sent to the server, avoiding validation issues.

We also introduce a new has_method method, which can be used in the UI
to check if the user can perform a specific method on the node.
2015-10-12 18:24:57 +02:00
33b34110a1 Fix for thumbnail extension generation 2015-10-08 14:17:22 +02:00
394bc2a44c Updated entry point for file storage 2015-09-25 10:46:47 +02:00
1989a8edbf New thumbnail function based only on filename parsing 2015-09-11 15:38:48 +02:00
f72cbd77f4 Added call to retrieve thumbnails for file nodes of type image 2015-09-11 15:04:49 +02:00
b12699a714 Removed debug prints 2015-09-10 20:44:57 +02:00
680195c7b4 Added children function
Allows to retrieve children of a file record.
2015-09-08 15:09:05 +02:00
991cc27e30 Renaming to Pillar SDK. 2015-08-31 19:25:01 +02:00