Upon IOError or OSError (which includes SMTP protocol errors) the mail
sending task is retried after MAIL_RETRY seconds. It is retried three
times (default setting of Celery) only.
abs_url(x) is a shortcut for url_for(x, _external=True,
_schema=app.config['SCHEMA']), and should be used for all URLs that should
include the hostname and schema.
This affects the user and notifications menus. It happens for two reasons:
- the only argument passed to the macros was current_user, which is always available
- we want to enable overriding and adding items to the menus via extensions
At the moment only the user menu takes advantage of the base template, since the blender-cloud extension makes use of it, while notifications.pug does not need it yet.
When getting an _external=True URL, we shouldn't use the scheme of the
current request at all (this depends on HaProxy forwarding the correct
headers, which might fail when misconfigured) and just always use the
preferred URL scheme. This fixes it at least for the user switching,
because Blender ID will refuse to redirect back to a http:// URL.
T53161 proces feedback sybren, replace angolia with search
T53161 WIP create elasticsearch app / doc / stuff
T53161 elasticsearch can index nodes now. cli command. NOTE config changes!!
T53161 WIP javascript search WIP WIP
T53161 Proof of Concept working
T53161 Proof of Concept working USER search. WIP js.
T53161 start working on elastic..
T53161 proces feedback sybren, replace angolia with search
T53161 WIP create elasticsearch app / doc / stuff
T53161 elasticsearch can index nodes now. cli command. NOTE config changes!!
T53161 WIP javascript search WIP WIP
T53161 Proof of Concept working
T53161 Proof of Concept working USER search. WIP js.
Merge branch 'elastic' of git.blender.org:pillar into elastic
T53161 project user search now also elastic
T53161 simpification tips from sybren.
T53161 javascript search stuff almost complete.
Merge branch 'master' of git.blender.org:pillar into elastic
search is completely working in frontend now
search is completely working in frontend now
Merge branch 'master' into elastic
Added missing ElasticSearch requirements
T52710 search on id works
Merge branch 'elastic' of git.blender.org:pillar into elastic
T52710 pytests work
T53161 all py.test things PASSES
doc
Differential Revision: https://developer.blender.org/D2950