1e141492a3
Added unit testing support + moved make_unique_username() to module level
...
Also cleaned up make_unique_username() code to no longer be recursive,
and to correctly handle numerical suffixes ≥ 10.
2016-03-04 18:46:53 +01:00
260cfdbcd5
Delete any file variation found in the file_item document
2016-03-04 15:48:02 +01:00
460cd0265f
Code simplification.
...
Mostly just returning quickly instead of setting a variable and returning
that later in the code.
2016-03-04 12:14:33 +01:00
31a1694ba7
Strip trailing slash from BLENDER_ID_ENDPOINT URL
2016-03-04 12:13:40 +01:00
ef0441b4c7
Updated requirements.
...
Removed some 2nd degree requirements, and updated rsa module to latest
versions (it's backward compatible with the previous version).
2016-03-04 12:13:09 +01:00
6a5f4b2661
Removed some 2nd degree requirements.
...
This makes it possible to install requirements for pillar and pillar-web
in the same virtualenv.
2016-03-02 10:21:37 +01:00
c5eb23749a
Fix for missing dict key
2016-03-01 18:18:50 +01:00
226b7f71a6
Handle InternalServerError on files_make_public_t
2016-03-01 17:44:01 +01:00
8faa6c7384
Skip all exception for files_make_public_t
2016-02-26 21:41:46 +01:00
8dbb046aad
Handle all exception for files_make_public_t
2016-02-26 19:27:31 +01:00
b093f9fd7c
Handle InternalServerError exception on files_make_public_t
2016-02-26 19:13:24 +01:00
45d6318252
Skip indexing if a nodes does not have status published
2016-02-26 18:46:03 +01:00
d9b7310d2d
Manager command to index nodes
2016-02-26 18:38:39 +01:00
ed7fd0de3b
Extended indexing for Nodes
2016-02-26 17:46:11 +01:00
b149a5b3ed
Hack to make thumbnails of size t public
...
This should be fixed as soon as possible, by making the push_to_storage
function data-aware.
2016-02-26 16:59:58 +01:00
eb92d179e8
Introducing indexing for nodes
2016-02-26 16:17:38 +01:00
ea7e5a0955
Updated requirements for algoliashearch library
2016-02-25 15:01:32 +01:00
03ae481e7b
Renamed default database to eve
2016-02-25 15:01:17 +01:00
d76c47afd5
Improving initial installation process
...
This is still work in progress, but the new manage.py setup_db function
allows for guided creation of basic groups and for the admin user.
2016-02-25 12:43:46 +01:00
724a819593
Cast file_id to ObjectIf before query
2016-02-22 17:41:38 +01:00
4dbd804307
Moved file_storage
2016-02-22 17:41:19 +01:00
3308751ed4
Introducing external video encoding
...
It is now possible to specify an encoding backend (at the moment only
zencoder) to take care of video variations encoding. Files transfer
happens directly on CGS (although any storage backend can be
supported). New requirements is the Zencoder Python library.
2016-02-22 16:48:53 +01:00
774bc35206
Parentheses on print statements
2016-02-16 10:54:44 +01:00
c7b6e798c0
Introducing Algolia search for users
...
With the new dependency, algoliasearch, we can push and store on the
Algolia service a limited set of properties from the Users collection.
2016-02-10 16:13:07 +01:00
4e192acea6
Fix for get_video_data
...
Now the function loops through all streams and uses the last video
stream found.
2016-02-08 12:46:23 +01:00
f341d33faf
Fix reference for embedded project in file schema
2016-01-27 17:50:39 +01:00
8a06634839
Introducing project_node_type_has_method
...
Check for a specific request arg, and check generate the
allowed_methods list for the required node_type.
2016-01-26 18:26:18 +01:00
1a5fcc1744
Refactored content of main __init__ into utils
2016-01-26 15:34:56 +01:00
8256ab40dc
Merge branch 'projects'
2016-01-25 16:37:31 +01:00
e295165864
Introducing Projects
...
We are now using a more document-based approach to define projects. In
the new projects collection we store the definition of a project and
embed the node_types. This allows for custom node_types for every
single project. This change has a certain impact on the custom
validators, as well as the permission computation.
Further, Cerberus 0.9.1 is required in order to properly support the
allow_unknown statements in the projects_schema definition.
2016-01-25 16:32:50 +01:00
4ce2d60df8
Added _format_name to handle existing extensions
2016-01-08 15:12:19 +01:00
ff174439c3
Tweaks to management functions
2016-01-08 14:20:07 +01:00
f9f411366d
Management functions
...
- set_attachment_names assigns to GCS blobs names based on the node
they belong to
- files_verify_project reports conflicts in file ids
2016-01-08 12:55:21 +01:00
6bda83d5b5
Add format to filename
...
So that files have the correct extension when they are downloaded.
2016-01-07 20:27:43 +01:00
c6636e4ac7
Assign ContentDisposition to GCS items on save
2016-01-07 20:06:25 +01:00
7037de64b3
Upped hardcoded expiry time for signed urls
2016-01-06 14:24:46 +01:00
816f5c144e
Updated readme.md
2016-01-05 15:50:03 +01:00
1b8f096e20
Introducing Texture node_type
2015-12-22 20:39:57 +01:00
12fd3caa7a
Restored resource_parse_attachments
2015-12-02 11:52:20 +01:00
37e4333f08
Temporarily disable attachment parsing for resource
2015-12-01 19:28:58 +01:00
e87817533c
Parse attachments also on resource request
2015-12-01 19:02:29 +01:00
217d768c92
Attachment schema for post node_type
2015-12-01 18:30:39 +01:00
0475f7b456
Allow attachments on nested properties
2015-12-01 18:23:33 +01:00
f4ef811fae
Introducing tags and categories node_type asset
2015-11-30 19:23:33 +01:00
f2ac8e48e3
Asynchronous push_to_storage for files and images
2015-11-26 19:20:07 +01:00
55b17403f5
Video variations are embedded in files
2015-11-26 17:53:35 +01:00
772c28eaef
Fix for parent_id check on manage.py
2015-11-25 16:22:36 +01:00
559589f927
Introducing file variations
...
We are ditching the excessively normalised data structure for files.
Now file variations are embedded in the original file document for
improved performance.
2015-11-25 16:16:09 +01:00
ff37eeb32a
Introducing sorting for assets and groups
...
By adding the order property, it is now possible to query assets and
groups sorted by arbitrary order.
2015-11-20 12:16:27 +01:00
cfb0da7e7c
Introducing is_reply property for comments
2015-11-18 13:02:43 +01:00