Commit Graph

124 Commits

Author SHA1 Message Date
Francesco Siddi c2e707661b Enabling XSendFile on the Apache conf 2015-10-08 18:28:17 +02:00
Francesco Siddi 33a268ae81 Added libapache2-mod-xsendfile to production Dockerfile 2015-10-08 15:16:00 +02:00
Francesco Siddi 9e790e3013 Actual implementation of send_from_directory 2015-10-08 15:06:12 +02:00
Francesco Siddi 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
Francesco Siddi 19500f6a80 Updating config.py.example 2015-10-08 14:41:26 +02:00
Francesco Siddi 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
Francesco Siddi 6d32dc2894 Removed unused binary_files entry point 2015-10-08 12:46:38 +02:00
Francesco Siddi c27d4f830a Tweaks to runserver.wsgi 2015-10-08 10:27:52 +02:00
Francesco Siddi 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
Francesco Siddi 14bc00a385 Tweaks to runserver.wsgi 2015-10-08 09:37:45 +02:00
Francesco Siddi 70dc0a2175 Minor refactoring of authentication functions 2015-10-08 09:24:34 +02:00
Francesco Siddi 0d7f92006e Cleanup of settings.py 2015-10-08 09:24:02 +02:00
Francesco Siddi 5d8bd6dd76 Cleanup of runserver.wsgi 2015-10-08 09:23:52 +02:00
Francesco Siddi 06b7df4d5b Tweaks to default.conf for Apache 2015-10-07 20:13:11 +02:00
Francesco Siddi d6ea8ea1dc New runserver.wsgi for running on Apache 2015-10-07 20:01:42 +02:00
Francesco Siddi b4b995d108 Adding flu to requirements.txt 2015-10-07 19:58:54 +02:00
Francesco Siddi 132cd15bcf Update to Dockerfile
Was missing Apache defaults.
2015-10-07 19:34:46 +02:00
Francesco Siddi dc215134fc New Dockerfiles for development and production 2015-10-07 11:10:58 +02:00
Francesco Siddi 1bda2142cd Updates to manage.py
Tweaks to node_type comments validation code.
2015-10-06 17:37:07 +02:00
Francesco Siddi a867aee026 Add libffi-dev to Dockerfile 2015-10-06 17:37:07 +02:00
Pablo Vazquez ae5797146d Email attribute for organization 2015-10-05 19:57:53 +02:00
Francesco Siddi 44302b6623 Introducing the comment node_type 2015-10-05 19:55:56 +02:00
Francesco Siddi 53f881e96c Google Cloud Storage support
We introduce a new node_type, storage, which can support different file
storage backends and makes them available for browsing via dedicated
entry points in the application. We intend to keep pillar storage
agnostic and support both internal/local storages as well as
remote/hosted solutions.
2015-10-03 17:07:14 +02:00
Francesco Siddi 89a9509657 Improved debug print for node importer 2015-09-25 10:46:28 +02:00
Francesco Siddi 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
Francesco Siddi 71dd30fa75 Short summary for the project node 2015-09-22 10:21:49 +02:00
Francesco Siddi 9ee8d9a20b Tweaks to manage.py for import script 2015-09-12 01:37:16 +02:00
Francesco Siddi 7d950d8fef Renamed project picture properties 2015-09-11 21:15:10 +02:00
Francesco Siddi 3f06fa7b7a Example config for UPLOADS_LOCAL_STORAGE_THUMBNAILS 2015-09-11 15:17:23 +02:00
Francesco Siddi 2470af6ab2 ContentType to content_type rename 2015-09-11 15:16:10 +02:00
Francesco Siddi 00f24bb57e Initial commit for thumbnailing system 2015-09-11 15:04:25 +02:00
Francesco Siddi 4e92cfe6b6 Fix for static files served by server 2015-09-10 21:28:54 +02:00
Francesco Siddi 6382d1dbf5 Fix for hash_file_path when not starting with forward slash 2015-09-10 20:46:18 +02:00
Francesco Siddi f9203c5193 Tweaks to manage.py to import project nodes 2015-09-10 16:36:45 +02:00
Francesco Siddi aa3f8e6837 Migration script and utils for CDN link protection 2015-09-10 12:47:29 +02:00
Francesco Siddi 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
Francesco Siddi 421a9938ab Adding comments to hooks 2015-09-04 11:36:54 +02:00
Francesco Siddi 980837c166 Tweaks to Dockerfile 2015-09-01 18:34:58 +02:00
Francesco Siddi 1830d04400 Renaming the project to Pillar. 2015-08-31 18:22:50 +02:00
Francesco Siddi b75482b0d6 Work in progress with users and organizations 2015-08-31 17:45:29 +02:00
Francesco Siddi 3bf9dccfa6 Initial escape for users entry point query 2015-07-09 17:52:18 +02:00
Eibriel 395b29b4fd Merge branch 'master' into permissions 2015-07-03 09:01:16 -03:00
Eibriel 4d8acde94c Removed order from dyn_schema, added remove_properties_order script 2015-05-28 13:21:50 -03:00
Francesco Siddi 80c019c921 Updated node types 2015-05-28 15:30:26 +02:00
Francesco Siddi 814db4676a Update to manage.py 2015-05-27 01:34:28 +02:00
Francesco Siddi 75aba1b210 Updated node types 2015-05-27 01:13:14 +02:00
Eibriel c523f79013 Small fix on user schema 2015-05-21 12:04:46 -03:00
Eibriel 8424bcf15e Added manage_group command to manage.py 2015-05-21 11:51:56 -03:00
Eibriel 4b8140ad3e Added type_mixed_permissions mixing World and Group 2015-05-21 07:58:40 -03:00
Eibriel a712008b19 Code cleanup, adding computed permissions to user data 2015-05-20 12:14:38 -03:00