Pablo Vazquez
758df5bc26
Gulp: Fix crashing after error (Plumber not plumbing)
2017-07-11 18:44:30 +02:00
Sybren A. Stüvel
4c273671e4
CLI index_users_rebuild() made parallel
2017-07-11 15:29:17 +02:00
Sybren A. Stüvel
f3e79bcfb5
Formatting
2017-07-11 12:56:40 +02:00
Sybren A. Stüvel
b04abef20f
Also push user to Algolia when its role changes through the badger
...
This may cause some superfluous pushes, though.
2017-07-11 12:56:32 +02:00
Sybren A. Stüvel
73d4a77881
Role change blinker: make comparison set-based
...
This makes it impervious to changes in order and duplicate roles.
2017-07-11 12:17:06 +02:00
Sybren A. Stüvel
c974b388b6
Formatting
2017-06-29 11:05:14 +02:00
Sybren A. Stüvel
66ebfc669a
No need to pass ?embed=1 any more
2017-06-29 11:05:14 +02:00
Sybren A. Stüvel
e061d6c29d
Allow editing users' email address via /u/
...
Also reloads the user info after a succesful edit.
2017-06-29 11:05:01 +02:00
Sybren A. Stüvel
08cb2b8438
Simplified string
2017-06-16 14:05:13 +02:00
Sybren A. Stüvel
a19ad751a8
Removed obsolete file upload stuff.
2017-06-16 14:05:02 +02:00
Sybren A. Stüvel
fc4ab9d6ba
Removed obsolete comment file + function
2017-06-16 13:40:31 +02:00
Sybren A. Stüvel
2482381999
Added ability to add missing node types to replace_pillar_node_type_schemas
2017-06-16 12:40:10 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
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
Sybren A. Stüvel
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
Sybren A. Stüvel
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
Sybren A. Stüvel
7ed053b6c1
Little clarification
...
... because I always forget this myself...
2017-06-15 14:52:43 +02:00
Sybren A. Stüvel
8e02de32ab
Pillar Extensions can now determine which user roles to index in Algola
2017-06-15 11:31:48 +02:00
Sybren A. Stüvel
8d94901bab
Use app.user_roles to construct the roles field in /u
2017-06-15 11:13:44 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
cdb148fc0d
Just import the forms module, not every single form it it separately.
2017-06-15 11:04:44 +02:00
Sybren A. Stüvel
4fd193ba2b
Use (eek) the current_user_is_subscriber var injected by the BCloud extension
2017-06-14 16:26:57 +02:00
Sybren A. Stüvel
efa2321ac3
Pillar extensions can now register global Jinja2 context processors.
2017-06-14 16:10:11 +02:00
Pablo Vazquez
94d12c6b66
Menu: Style sidebar nav-item-sign-in
2017-06-14 15:01:37 +02:00
Sybren A. Stüvel
73c5032a48
Convert timezone, not replace it
2017-06-14 12:06:20 +02:00
Pablo Vazquez
5955b71459
Comments: Use toastr for notifications
2017-06-12 19:47:00 +02:00
Pablo Vazquez
b091044bc2
Small tweaks to buttons
2017-06-12 19:06:02 +02:00
Pablo Vazquez
3a500f3ea3
Simplify Errors (404 & 403)
...
TODO: Use a generic error template and pass error/text
2017-06-12 16:49:43 +02:00
Pablo Vazquez
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
Pablo Vazquez
10e14e8c24
Project Edit: tweak to node types
2017-06-09 17:57:20 +02:00
Pablo Vazquez
6f7aa86e8b
Project Edit: Set container size and header width
2017-06-09 17:57:01 +02:00
Pablo Vazquez
1b6fbb940b
Flamenco Project Settings: Flip buttons to the right
2017-06-09 17:56:40 +02:00
Pablo Vazquez
df40560c5a
Make notification and user menus a macro
2017-06-09 16:31:14 +02:00
Pablo Vazquez
3713f1eee2
Style .btn as buttons
2017-06-09 14:59:46 +02:00
Pablo Vazquez
07ca1ad16e
Project Edit: Minor style tweaks
2017-06-09 14:59:37 +02:00
Pablo Vazquez
de5557a68f
Use own icons for toastr notification type
2017-06-09 14:59:18 +02:00
Pablo Vazquez
93087f7fa9
Project Edit: Use folder icon for sidebar instead of tree
2017-06-09 14:58:19 +02:00
Pablo Vazquez
41bc4b6a6f
Project Edit: Nicer listing for node_type
2017-06-09 14:58:05 +02:00
Pablo Vazquez
36a5190349
CSS tweaks to js select2 style from Flamenco
2017-06-08 16:43:51 +02:00
Sybren A. Stüvel
293961097f
Merge branch 'production'
2017-06-08 11:45:16 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
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
Pablo Vazquez
a9c506c290
Set Toastr defaults
2017-06-07 21:10:10 +02:00
Pablo Vazquez
85f2c6093d
Introducing Toastr for toast notifications
2017-06-07 20:58:27 +02:00
Francesco Siddi
91807ad022
Add comment to STORAGE_BACKEND config
2017-06-07 19:40:19 +02:00
Francesco Siddi
5ce78a2fb3
Create <p> tag, do not use existing tags
2017-06-07 18:59:46 +02:00
Sybren A. Stüvel
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
Francesco Siddi
31b71eb244
Escape text when presenting search results
2017-06-07 16:22:39 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
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