35 Commits

Author SHA1 Message Date
Dalai Felinto
b04ed3f5b6 Fix problem pip install failing
Repeated elements here makes it fails (at least in WSL - Windows Subsystem Linux)
2016-11-21 23:03:52 +01:00
865259d40e pretty_date('some string') now tries to parse the string as datetime.
dateutil.parser.parse('some string') is used for this.
2016-11-08 13:38:36 +01:00
4c6a51c501 Fixed some package version conflicts between Pillar and the SDK. 2016-11-07 10:56:31 +01:00
8352fafd21 Replaced markdown with commonmark module 2016-10-20 13:05:43 +02:00
ea2be0f13d Major revision of comment system.
- Comments are stored in HTML as well as Markdown, so that conversion
  only happens when saving (rather than when viewing).
- Added 'markdown' Jinja filter for easy development. This is quite
  a heavy filter, so it shouldn't be used (much) in production.
- Added CLI command to update schemas on existing node types.
2016-10-19 16:57:17 +02:00
d7fe196af0 Some dependency cleanups. 2016-09-29 10:01:15 +02:00
407aefb9ad Added CLI command for moving top-level nodes between projects.
Also introduces a slightly nicer way to get the database interface, and
an object-oriented way to allow dependency injection.
2016-09-27 12:57:57 +02:00
54bc0e87ce Updated test requirements 2016-08-31 11:28:38 +02:00
22d758b608 Typo in requirements.txt 2016-07-13 09:36:42 +02:00
3f3e9ac7db Nodes can now be shared with /nodes/<node_id>/share endpoint.
A POST will create a short link (if it doesn't exist already), whereas
a GET will return the short link for the node.

The endpoint will return a dict like:

{'short_code': 'XXXXXX',
 'short_link': 'https://blender.cloud/r/XXXXX',
 'theatre_link': 'https://blender.cloud/r/XXXXX?t'}
2016-07-07 15:17:56 +02:00
17902eb730 Bumped Werkzeug to 0.11.10, this fixes our memory issue. 2016-05-24 11:38:09 +02:00
2b29ec8ed6 Bumped version of Werkzeug to solve the memory error with large uploads. 2016-05-24 10:49:36 +02:00
6c7ad6f6f0 Marked Flask as primary requirement. 2016-05-02 15:38:02 +02:00
c45ac153e2 Added bcrypt to requirements.txt 2016-04-26 12:38:44 +02:00
974f135e63 Measure unit test coverage.
Coverage is reported with py.test, and also "Run unit tests in ... with
coverage" is now supported in PyCharm.
2016-04-25 16:43:09 +02:00
5116b74d1d Updated Eve to 0.6.3
This also updates Cerberus to 0.9.2 and simplejson to 3.8.2.

I've also changed the way we get to the application object, by replacing
   from application import app
with
   from flask import current_app
2016-04-25 16:14:05 +02:00
66eeb25529 Unify tokens and subclient tokens
SCST tokens are now stored in the 'tokens' table.
This unifies old token handling and new subclient-specific tokens.
Also ensures the BlenderID expiry of the token is taken into account.

Removes use of httpretty, in favour of responses.
2016-04-13 15:33:54 +02:00
0f6eeef32b Upgraded to gcloud-0.12.0
This removes the need to use a Git checkout, and allows us to use an
actual version number again, with a package from PyPi.
2016-04-13 10:50:49 +02:00
aeee165ad8 subclient tokens: bugfix & return proper data.
Also introduces responses, as an alternative to httpretty (it works
better).
2016-04-12 15:24:50 +02:00
a33e4421a8 Introducing Project creation
Authorised users can now create projects. The before and after insert
projects hooks take care of stripping unwanted urls and attaching
default node_type and permissions, as well as initialising a storage
bucket per project. We are temporarily switching to the development
version of the gcloud library, since it allows the creation of EU-based
buckets.
2016-03-24 15:16:37 +01:00
f90f25d373 Upgraded gcloud package to 0.11.0 2016-03-14 14:51:46 +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
ea7e5a0955 Updated requirements for algoliashearch library 2016-02-25 15:01:32 +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
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
322530761e Added bugsnag 2015-10-20 23:52:18 +02:00
e58f605370 Added bugsnag in requirements.txt 2015-10-20 17:08:40 +02:00
474ddfc7af Update to requirements.txt
Added ndg-httpsclient package to surppress SSL warnings.
2015-10-11 22:17:02 +02:00
b4b995d108 Adding flu to requirements.txt 2015-10-07 19:58:54 +02:00
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
gabriel
7c68cb7fb4 Add thumbnail support based on Dropbox design
Size implemented, Format still missing
2015-05-06 13:06:23 -03:00
Eibriel
1b9f492fa1 Updated EVE to last stable 0.5.3 2015-04-22 08:50:31 -03:00
Eibriel
f10a5e29fb Updating requirements.txt (requests) 2015-04-07 13:06:59 -03:00
Eibriel
7acf3d3561 Adding requirements.txt 2015-03-27 16:13:09 +01:00