-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contrib: update github login and fix orcid disconnect #54
Conversation
8d51f3c
to
2794ff9
Compare
ping @lnielsen |
d6a6976
to
4645082
Compare
@@ -92,6 +92,7 @@ | |||
'Flask-OAuthlib>=0.6.0,<0.7', # quick fix for issue invenio#2158 | |||
'Flask-Security>=1.7.5', | |||
'invenio-accounts>=1.0.0a6', | |||
'invenio-db>=1.0.0a9', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is already present in extra_requie
. You just have to install with pip install -e .[all,postgresql]
c6f9f1b
to
72981a8
Compare
@@ -82,13 +84,14 @@ | |||
|
|||
from flask import Flask, redirect, url_for | |||
from flask_babelex import Babel | |||
from flask_cli import FlaskCLI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still needed for Flask==0.10.x
48e7922
to
4364fc9
Compare
ping @lnielsen |
{%- block signup_app_icon %} | ||
{% if app_icon -%} | ||
<span class="pull-right"><i class="{{app_icon}} fa-5x"></i></span> | ||
{%- endif %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you check the indentation here?
1d2a0ab
to
43ee955
Compare
@hachreak Can you take a look why the tests are not passing. |
ok, I'll take a look |
* Fixes github info retrieval. * Fixes orcid disconnection. * Relies on github id instead of github primary email. * Uses signup security form. * Adds prefill for signup form. * Forces github registration through signup form. * Makes signup form template configurable. Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
ping @lnielsen |
Signed-off-by: Leonardo Rossi leonardo.r@cern.ch