Commit Graph

12 Commits

Author SHA1 Message Date
Roberto Rosario
1c65b389ee Remove concept of ownership from folders by removing the user field.
"Ownership" now is now determined by ACL of a folder, like the rest of the objects in the system.
2016-03-08 01:20:10 -04:00
Roberto Rosario
9822fc0db2 PEP8 update. 2015-10-06 23:21:14 -04:00
Roberto Rosario
26b6a98180 Refactor folder app API, add folder API tests. 2015-08-06 20:01:30 -04:00
Roberto Rosario
d4b4a73339 Intitial refactor of folders app API. Add tests for the folders API. 2015-08-06 17:10:56 -04:00
Roberto Rosario
4e4103803f Rename folder model 'title' field to 'label'. 2015-07-07 23:34:27 -04:00
Roberto Rosario
d59ea3ede2 Add from __future__ import unicode_literals, issue #37 2015-01-19 04:06:40 -04:00
Roberto Rosario
81a85e6de8 Document type, folder and tags API serializer now return a numeric count of the documents contained instead of a link to the document list API endpoint 2014-12-13 05:03:15 -04:00
Roberto Rosario
906078a166 Don't allow the client to specify user id in the POST request, take it from the request.user 2014-11-03 01:37:07 -04:00
Roberto Rosario
ba9ab75f5d Don't use hyperlinked serializer for folder, makes it easier to add folder by just specifying user id instead of user URL 2014-10-23 12:41:59 -04:00
Roberto Rosario
eb48909399 Don't include the documents contained in the tags or folders results, instead provide a separate, paginates tag and folder endpoint 2014-10-06 03:43:51 -04:00
Roberto Rosario
def792790c A beautiful hack for an unknown problem: hidden imports. Hide the import for DocumentSerializer otherwise an unexplained ImportError is raised 2014-09-21 23:17:10 -04:00
Roberto Rosario
f29aeabcfb Add folder app API endpoint 2014-09-21 19:24:00 -04:00