5955b71459
Comments: Use toastr for notifications
2017-06-12 19:47:00 +02:00
b091044bc2
Small tweaks to buttons
2017-06-12 19:06:02 +02:00
3a500f3ea3
Simplify Errors (404 & 403)
...
TODO: Use a generic error template and pass error/text
2017-06-12 16:49:43 +02:00
de96e8e189
Move _errors Sass from main to base
...
That way errors are automatically styled on all other apps (Flamenco, Attract...)
2017-06-12 15:03:06 +02:00
10e14e8c24
Project Edit: tweak to node types
2017-06-09 17:57:20 +02:00
6f7aa86e8b
Project Edit: Set container size and header width
2017-06-09 17:57:01 +02:00
1b6fbb940b
Flamenco Project Settings: Flip buttons to the right
2017-06-09 17:56:40 +02:00
df40560c5a
Make notification and user menus a macro
2017-06-09 16:31:14 +02:00
3713f1eee2
Style .btn as buttons
2017-06-09 14:59:46 +02:00
07ca1ad16e
Project Edit: Minor style tweaks
2017-06-09 14:59:37 +02:00
de5557a68f
Use own icons for toastr notification type
2017-06-09 14:59:18 +02:00
93087f7fa9
Project Edit: Use folder icon for sidebar instead of tree
2017-06-09 14:58:19 +02:00
41bc4b6a6f
Project Edit: Nicer listing for node_type
2017-06-09 14:58:05 +02:00
36a5190349
CSS tweaks to js select2 style from Flamenco
2017-06-08 16:43:51 +02:00
293961097f
Merge branch 'production'
2017-06-08 11:45:16 +02:00
740df09b9d
User edit form: prevent accidentally revoking roles
...
Prevent accidentally revoking roles that were not part of the form.
2017-06-08 11:35:33 +02:00
263c274774
Allow indexing of flamenco-user role.
...
Role handling should be refactored so that extensions can also declare
roles, and whether they should be pushed to Algolia or not.
2017-06-08 11:34:53 +02:00
a9c506c290
Set Toastr defaults
2017-06-07 21:10:10 +02:00
85f2c6093d
Introducing Toastr for toast notifications
2017-06-07 20:58:27 +02:00
91807ad022
Add comment to STORAGE_BACKEND config
2017-06-07 19:40:19 +02:00
5ce78a2fb3
Create <p> tag, do not use existing tags
2017-06-07 18:59:46 +02:00
155ddf243a
Partial revert of "Added @project_view() decorator to reduce duplicated code."
...
This reverts parts of commit 0cf96e47e8
.
The decorator is still there, and it's used by new code (also in Flamenco),
but it's not used by pre-existing code.
2017-06-07 17:06:26 +02:00
31b71eb244
Escape text when presenting search results
2017-06-07 16:22:39 +02:00
1ce4654673
Autodetect timestamp format in Blender ID token expiry.
...
The new Blender ID uses a different timestamp format than the old one.
We can alter Blender ID, but using the ISO 8601 is a good idea anyway.
2017-06-07 09:00:51 +02:00
72cbd2ce2b
Added 'repr' Jinja2 filter.
...
This can help with debugging, for example by showing the difference between
a string ID and an ObjectID.
2017-06-06 18:29:33 +02:00
3d273d4284
Expose Flask session to Jinja
2017-06-06 18:06:46 +02:00
d920d9e9fe
Also mock .s() and .si() celery signature functions.
2017-06-06 17:35:56 +02:00
c2bc52718a
Fixed string formatting in exception raising
2017-06-06 17:35:56 +02:00
c3ea8228a1
Less padding on buttons
2017-06-06 17:03:24 +02:00
5047803e3c
CSS: progress-bar styling part of pillar's base
2017-06-06 17:03:24 +02:00
1c566c6259
Fixed bug in GoogleCloudStorageBlob.exists()
2017-06-06 16:35:14 +02:00
2ad8c5186c
Storage backends: added exists() method
...
This method returns whether the file exists on the backend.
2017-06-06 15:33:05 +02:00
d6506b6402
Moved Celery CLI commands to 'manage.py celery' submodule + added extensions:
...
Added a 'celery queue' command, which is supposed to show queued
Celery tasks (but doesn't work quite as I'd expect).
Added a 'celery purge' command, which purges queued Celery tasks.
2017-06-06 15:05:18 +02:00
5bde262ad7
Ping Celery workers when starting up.
...
This makes debugging Celery/RabbitMQ/Redis issues much easier, as it
happens at application startup, rather than when we first create a Celery
task.
2017-06-02 17:33:15 +02:00
27ad3459c1
Testing: make Celery tasks execute immediately when called.
2017-06-02 16:15:46 +02:00
6f16e20bf6
Flask Request.json() is deprecated, use get_json() instead.
...
See http://flask.pocoo.org/docs/0.12/api/#flask.Request.json
2017-06-02 16:03:45 +02:00
3e67db50f0
Tests: added some code to easily enter the Flask app context
...
This can't be trivially enabled globally, since it seems to leak certain
things like authentication info between calls.
2017-06-02 16:02:18 +02:00
c7e225e81b
Added a bit about Celery to the README.md
2017-06-02 11:50:02 +02:00
878bf22695
Migrated Algolia push/delete of nodes to Celery background tasks.
2017-06-02 10:44:37 +02:00
d0c30cfeca
Mock Celery while testing, to prevent actual background task creation.
2017-06-02 10:44:37 +02:00
5af54237b9
Integrated Celery startup / management / config with PillarServer.
2017-06-02 10:44:37 +02:00
e7d268bde6
Algolia: Use Celery to push user updates in a background task.
2017-06-02 10:44:37 +02:00
ed4ee5228a
Added Celery for background tasks.
...
The implementation is still rather simple, using hard-coded configuration
values. This will change in subsequent commits.
The worker can be started with "manage.py operations worker". Celery
Worker CLI options can be passed after a double dash, like this:
./manage.py operations worker -- -C -E
2017-06-02 10:44:37 +02:00
f152521041
Algolia user push: simplified & streamlined the code a bit.
2017-06-02 10:44:37 +02:00
2b36b4c514
PEP8 formatting
2017-06-02 10:44:37 +02:00
5f2153ae5a
Sorted imports
2017-06-02 10:44:37 +02:00
22301a0e9a
Removed unused import
2017-06-02 10:44:37 +02:00
96ffee49cf
Update url_for statements for project redirects
...
Now we always point to the full project urls.
2017-06-01 17:40:16 +02:00
8c38861c2f
Remove Blender Cloud specific redirects
...
They have been moved to the Apache config file in the blender-cloud repo.
2017-06-01 17:24:46 +02:00
80a0643747
Updated font location in README
2017-06-01 12:10:33 +02:00