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
8d76898928
Fix for missing parent node_type for groups
2015-10-12 19:33:07 +02:00
9e9e7b82ca
Hiding content_type and file form fields for editing
2015-10-12 19:31:04 +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
42e0c0b3f2
Tweaks to the 000-default.conf
...
Commenting unused XSendFile statements.
2015-10-12 18:25:50 +02:00
7f6a853024
Fix for wrong permissions var name
2015-10-11 23:30:56 +02:00
72d2f9adfe
Public item methods for organisations and groups
2015-10-11 23:30:41 +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
474ddfc7af
Update to requirements.txt
...
Added ndg-httpsclient package to surppress SSL warnings.
2015-10-11 22:17:02 +02:00
2cc0d0a5b5
Use eve native database driver
2015-10-11 22:16:30 +02:00
919083e0e9
Fix to convert_properties, which was not being called properly
2015-10-10 16:27:02 +02:00
c2e707661b
Enabling XSendFile on the Apache conf
2015-10-08 18:28:17 +02:00
33a268ae81
Added libapache2-mod-xsendfile to production Dockerfile
2015-10-08 15:16:00 +02:00
9e790e3013
Actual implementation of send_from_directory
2015-10-08 15:06:12 +02:00
362e8faf7b
Replace send_static_file with send_from_directory
...
This change is needed since our static dir is outside of the
application domain.
2015-10-08 14:52:21 +02:00
19500f6a80
Updating config.py.example
2015-10-08 14:41:26 +02:00
af06a67d58
Renamed config value
...
From FILE_STORAGE to STORAGE_DIR to comply with the existing naming
schema.
2015-10-08 14:30:32 +02:00
6d32dc2894
Removed unused binary_files entry point
2015-10-08 12:46:38 +02:00
c27d4f830a
Tweaks to runserver.wsgi
2015-10-08 10:27:52 +02:00