1298 Commits

Author SHA1 Message Date
a19ad751a8 Removed obsolete file upload stuff. 2017-06-16 14:05:02 +02:00
fc4ab9d6ba Removed obsolete comment file + function 2017-06-16 13:40:31 +02:00
2482381999 Added ability to add missing node types to replace_pillar_node_type_schemas 2017-06-16 12:40:10 +02:00
6e6ea6082d Renamed _attachments_embedded_schema to attachments_embedded_schema
It's used in multiple files, and thus shouldn't be marked as 'private'.
2017-06-16 12:39:51 +02:00
50108201cf Removed 'content' property from page node type
... because it doesn't work when it's there.
2017-06-16 12:38:51 +02:00
964526924d Save thumbnails with explicit quality setting.
This should have been the default value anyway, but T49477 looks like it
may not be. This should solve that.
2017-06-15 16:56:23 +02:00
05f6fb6016 Upgraded Pillow 2.8.1 → 4.1.1
Version 4.0.0 was actually the first one to officially support Python 3.6,
so we've been lucky so far that it worked at all ;-)
2017-06-15 16:53:06 +02:00
7ed053b6c1 Little clarification
... because I always forget this myself...
2017-06-15 14:52:43 +02:00
8e02de32ab Pillar Extensions can now determine which user roles to index in Algola 2017-06-15 11:31:48 +02:00
8d94901bab Use app.user_roles to construct the roles field in /u 2017-06-15 11:13:44 +02:00
13b67702b4 Let Pillar extensions register new roles.
These will be available via the app.user_roles property.
2017-06-15 11:06:01 +02:00
cdb148fc0d Just import the forms module, not every single form it it separately. 2017-06-15 11:04:44 +02:00
4fd193ba2b Use (eek) the current_user_is_subscriber var injected by the BCloud extension 2017-06-14 16:26:57 +02:00
efa2321ac3 Pillar extensions can now register global Jinja2 context processors. 2017-06-14 16:10:11 +02:00
94d12c6b66 Menu: Style sidebar nav-item-sign-in 2017-06-14 15:01:37 +02:00
73c5032a48 Convert timezone, not replace it 2017-06-14 12:06:20 +02:00
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 0cf96e47e84590a4c540f0cf118a76c05a41710b.
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