2235 Commits

Author SHA1 Message Date
423758f447 Fix for attachments url parsing loop 2015-11-16 16:53:42 +01:00
b81ba226eb Removed maxlength on description 2015-11-16 15:17:40 +01:00
5b6feac154 Introducing image attachments
Before returning a response, check if the 'attachments' property is
defined. If yes, load the file (for the moment only images) in the
required variation, get the link and build a Markdown representation.
Search in the 'field' specified in the attachment and replace the
'slug' tag with the generated link.
2015-11-16 12:32:42 +01:00
a96526351b Tweaks to upgrade_node_types 2015-11-15 17:46:32 +01:00
6282229488 Refactored manage.py
No functional changes.
2015-11-15 15:43:43 +01:00
3550813302 Refactoring for more meaningful var names 2015-11-13 17:39:54 +01:00
11f8769eb8 Fixes to check_permissions
This allows nodes to have their permissions correctly evaluated for
logged in users.
2015-11-13 17:32:50 +01:00
8f8b2cfbd4 Added "deleted" status to some node_types 2015-11-13 17:32:05 +01:00
8596466d49 New default setting for email_communications 2015-11-12 01:19:59 +01:00
f329f2ff45 Added settings to User schema 2015-11-12 00:34:34 +01:00
88774565ba Handle exception when blob has not signed_url 2015-11-10 17:56:43 +01:00
b0a976ad54 Fix for undefined keyword 2015-11-09 20:17:51 +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
4e5d076f49 Tweaks to push_to_storage
Keep file removal, but do not remove file when encoding video until
everything is encoded. Also limit the response from GCS Post. Using
blob_to_dict leads to threading issues (due to signed url generation).
Good fix if you want to get involved in Pillar development!
2015-11-05 12:36:30 +01:00
1819886af5 Require full_name for user 2015-11-05 00:23:48 +01:00
e9cc719f36 Ensure unique username on user creation 2015-11-04 22:12:42 +01:00
5f818fdc39 Tweaks to user model
Mainly checking for unique usernames.
2015-11-04 16:22:47 +01:00
e00e4698ea Added status property to node_type Project 2015-11-04 16:22:23 +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
9c18b5cc9f Added project property for files
This property can be combined to the backend for locating the file
within the backed. Originally introduced to support Google Cloud
Storage (where every project is store in its own bucket, named after
the project id).
2015-11-04 12:57:36 +01:00
81f4865b8d Update to Docker files
Force rebuild requirements.txt.
2015-11-04 12:56:07 +01:00
8f311b8a10 Updated migration to support nodes_blog in Project node type 2015-10-30 15:23:51 +01:00
1d62c180d3 Script to add parent property to every node 2015-10-29 19:10:53 +01:00
ac4c74a323 Adding project property to nodes 2015-10-28 20:34:14 +01:00
2bf451c094 Use STORAGE_DIR instead of SHARED_DIR
When creating thumbnails, use the data moved to the pillar-only storage
path.
2015-10-28 15:35:08 +01:00
6e62d9c2a6 Tweaks to import code
This can be phased out later, since we will not need to import more
projects from the old cloud.
2015-10-28 15:34:23 +01:00
634ac988e6 Added GPL 2 license 2015-10-28 15:33:39 +01:00
0180f2f927 Renaming dev to git folder in wsgi 2015-10-21 15:42:18 +02: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
06aadfc52b Enable XSendFilePath on Apache conf 2015-10-20 23:52:07 +02:00
e58f605370 Added bugsnag in requirements.txt 2015-10-20 17:08:40 +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
2f51d20ee7 Added subscriber as allowed role for user model 2015-10-19 19:09:21 +02:00
9a727c8207 Tweaks to settings.py 2015-10-16 17:49:15 +02:00
03e8945c84 Set maxlength for node_type post content field 2015-10-15 20:25:58 +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
4f6c0e27ce Added url to post node properties 2015-10-15 14:49:15 +02:00
5be02920e2 New Blog and Post note types 2015-10-15 14:24:35 +02:00
834fcf2b82 Removed username display in procedural form for project 2015-10-15 02:37:43 +02:00
5d6327844b New nodes_latest and nodes_featured for project node type 2015-10-14 01:38:59 +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
f8e7e7ff12 Refactored files to files_collection for better clarity
Also, we inherit the backend property from the parent file when
creating variations.
2015-10-13 11:48:47 +02:00
165af08e12 Removed debug print 2015-10-13 11:48:11 +02:00