Commit Graph

79 Commits

Author SHA1 Message Date
88774565ba Handle exception when blob has not signed_url 2015-11-10 17:56:43 +01:00
9fefee800c Introducing scheme for url generation
This requires a new SCHEME value in the config. Prevents browser
warnings about insecure links when working with https.
2015-11-09 17:41:54 +01:00
de3bc0e864 Additional check if project is not specified on asset creation 2015-11-06 16:09:54 +01:00
a661c1c107 Renamed path to file_path in File properties 2015-11-05 18:47:36 +01:00
e9cc719f36 Ensure unique username on user creation 2015-11-04 22:12:42 +01:00
441b39211b Support for file upload to Google Cloud Storage
All other backends remain available and are still fully compatible with
the File storage infrastructure.
2015-11-04 12:59:08 +01:00
1d62c180d3 Script to add parent property to every node 2015-10-29 19:10:53 +01:00
14df8d2ec2 Eve settings: change path from /dev to /git 2015-10-21 15:37:00 +02:00
cbccc3b94a Updated docker files 2015-10-21 15:33:44 +02:00
322530761e Added bugsnag 2015-10-20 23:52:18 +02:00
7107c39cce Extended permission check to node_types as well 2015-10-20 11:38:12 +02:00
d30de30bb9 Check permissions on node items 2015-10-19 19:09:32 +02:00
e0a82746d3 Removed print statements 2015-10-15 20:25:33 +02:00
7fbcee2ee7 Check for allowed_roles on get on the resource level
This hook was originally implemented only on the item leve, now we
check for every node at every GET request. The performance hit can be
significant.
2015-10-15 16:12:46 +02:00
d26b3a738a Tweaks for new user data structure 2015-10-13 23:17:00 +02:00
2ad8c5458a New settings for user model
Removed first_name and last_name in favor of full_name. Also tweaked
response handling from validation endpoint.
2015-10-13 19:40:25 +02:00
165af08e12 Removed debug print 2015-10-13 11:48:11 +02:00
05848ae71f New allowed_methods value for nodes
If we specify the append_allowed_methods when running check permissions
on a node, the node will get a allowed_methods list containing the
methods granted to the current user for that resource.
2015-10-12 18:27:16 +02:00
7f6a853024 Fix for wrong permissions var name 2015-10-11 23:30:56 +02:00
1c011b45ff Removed previous authentication logic
Should not have functional changes.
2015-10-11 22:52:57 +02:00
018ddfa20b New authentication logic
We are replacing the existing mixed BaseAuth TokenAuth authentication
logic and permissions system with a more streamlined solution, based on
user id and groups checking against node_type stored permissions. Such
permissions can be overridden on the node level (and complement the
public GET operations on the node entry point).
2015-10-11 22:20:18 +02:00
919083e0e9 Fix to convert_properties, which was not being called properly 2015-10-10 16:27:02 +02:00
61bf87188a Explicit settings.py declaration
This is done so that we can load the settings.py on a wsgi instance.
2015-10-08 10:26:22 +02:00
70dc0a2175 Minor refactoring of authentication functions 2015-10-08 09:24:34 +02:00
c2e0ae4002 File processing
Introducing the asset of type file creation. This involves making a
node collection entry of type asset, as well as a file collection
entry, plus all the needed variations if such file is an image or a
video. Further, depending on the storage backend (pillar or other) we
synchronise the files there using rsync. Currently this functionality
is available only via pillar-web, since a web interface is needed to
upload the file in a storage folder, which is shared between the two
applications.
2015-09-24 15:45:57 +02:00
00f24bb57e Initial commit for thumbnailing system 2015-09-11 15:04:25 +02:00
aa3f8e6837 Migration script and utils for CDN link protection 2015-09-10 12:47:29 +02:00
7cecfbe4e0 Improved support for files
We updated the way files are stored in the files collection. Any
derived variation of a file (different encoding or size) is stored as
new record, referencing the original as a parent.
We also added a generate_link method, which is in charge of providing
the client API with the actual link to the backend specified by the
file.
2015-09-08 15:06:45 +02:00
1830d04400 Renaming the project to Pillar. 2015-08-31 18:22:50 +02:00