Login message

classic Classic list List threaded Threaded
4 messages Options
| Threaded
Open this post in threaded view
|

Login message

Timo Janßen
Hi,

is it possible to change the message that is shown on the login page? At
the moment it says "This Galaxy instance has been configured such that
only users who are logged in may use it. If you don't already have an
account, you may create one."

I looked for the file where the text is defined but couldn't find it.

Best regards,
Timo
--
------------------------------------------------------------------------
Timo Janßen
Wissenschaftliche Hilfskraft
Arbeitsgruppe "Anwendungs- und Informationssysteme"
Tel.: +49(0)551/201-1791
E-Mail: [hidden email]
------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen
(GWDG)
Am Faßberg 11, 37077 Göttingen, URL: http://www.gwdg.de
Tel.: +49 551 201-1510, Fax: +49 551 201-2150, E-Mail: [hidden email]
Service-Hotline: Tel.: +49 551 201-1523, E-Mail: [hidden email]

Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lassau
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598
------------------------------------------------------------------------
Zertifiziert nach ISO 9001
------------------------------------------------------------------------


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/

smime.p7s (7K) Download Attachment
| Threaded
Open this post in threaded view
|

Re: Login message

Martin Čech
Hi Timo,

the message is defined in lib/galaxy/webapps/galaxy/controllers/user.py as variable REQUIRE_LOGIN_TEMPLATE . It does not seem configurable but you could modify it directly.

Thanks for using Galaxy

Martin

On Wed, Mar 29, 2017 at 11:32 AM Timo Janßen <[hidden email]> wrote:
Hi,

is it possible to change the message that is shown on the login page? At
the moment it says "This Galaxy instance has been configured such that
only users who are logged in may use it. If you don't already have an
account, you may create one."

I looked for the file where the text is defined but couldn't find it.

Best regards,
Timo
--
------------------------------------------------------------------------
Timo Janßen
Wissenschaftliche Hilfskraft
Arbeitsgruppe "Anwendungs- und Informationssysteme"
Tel.: <a href="tel:+49%20551%202011791" value="+495512011791" class="gmail_msg" target="_blank">+49(0)551/201-1791
E-Mail: [hidden email]
------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen
(GWDG)
Am Faßberg 11, 37077 Göttingen, URL: http://www.gwdg.de
Tel.: <a href="tel:+49%20551%202011510" value="+495512011510" class="gmail_msg" target="_blank">+49 551 201-1510, Fax: <a href="tel:+49%20551%202012150" value="+495512012150" class="gmail_msg" target="_blank">+49 551 201-2150, E-Mail: [hidden email]
Service-Hotline: Tel.: <a href="tel:+49%20551%202011523" value="+495512011523" class="gmail_msg" target="_blank">+49 551 201-1523, E-Mail: [hidden email]

Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lassau
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598
------------------------------------------------------------------------
Zertifiziert nach ISO 9001
------------------------------------------------------------------------

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/
| Threaded
Open this post in threaded view
|

Re: Login message

Timo Janßen
On 03/29/2017 05:36 PM, Martin Čech wrote:
> the message is defined in lib/galaxy/webapps/galaxy/controllers/user.py as
> variable REQUIRE_LOGIN_TEMPLATE . It does not seem configurable but you
> could modify it directly.

Hi Martin,

thank you very much! Modifying the file directly worked perfectly,
although it is a bit hackish. I think it would be nice if this was
configurable because if the Galaxy instance is configured to be usable
for logged in users only, this is the first page the user sees. There
could be a html page like /static/welcome.html for the main site.

Also I think there should be an option to hide the password reset link
because if external authentication is used, the password shouldn't be
changeable in Galaxy. For me I managed to do this by editing
templates/user/login.mako but it would be nicer if there was an option
in galaxy.ini

Should I open a Github issue for my proposals?

Best regards,
Timo

--
------------------------------------------------------------------------
Timo Janßen
Wissenschaftliche Hilfskraft
Arbeitsgruppe "Anwendungs- und Informationssysteme"
Tel.: +49(0)551/201-1791
E-Mail: [hidden email]
------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen
(GWDG)
Am Faßberg 11, 37077 Göttingen, URL: http://www.gwdg.de
Tel.: +49 551 201-1510, Fax: +49 551 201-2150, E-Mail: [hidden email]
Service-Hotline: Tel.: +49 551 201-1523, E-Mail: [hidden email]

Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lassau
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598
------------------------------------------------------------------------
Zertifiziert nach ISO 9001
------------------------------------------------------------------------


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/

smime.p7s (7K) Download Attachment
| Threaded
Open this post in threaded view
|

Re: Login message

Martin Čech
Timo: Yes please, github issues are the right place for these ideas.

thanks

Martin

On Wed, Apr 5, 2017 at 10:32 AM Timo Janßen <[hidden email]> wrote:
On 03/29/2017 05:36 PM, Martin Čech wrote:
> the message is defined in lib/galaxy/webapps/galaxy/controllers/user.py as
> variable REQUIRE_LOGIN_TEMPLATE . It does not seem configurable but you
> could modify it directly.

Hi Martin,

thank you very much! Modifying the file directly worked perfectly,
although it is a bit hackish. I think it would be nice if this was
configurable because if the Galaxy instance is configured to be usable
for logged in users only, this is the first page the user sees. There
could be a html page like /static/welcome.html for the main site.

Also I think there should be an option to hide the password reset link
because if external authentication is used, the password shouldn't be
changeable in Galaxy. For me I managed to do this by editing
templates/user/login.mako but it would be nicer if there was an option
in galaxy.ini

Should I open a Github issue for my proposals?

Best regards,
Timo

--
------------------------------------------------------------------------
Timo Janßen
Wissenschaftliche Hilfskraft
Arbeitsgruppe "Anwendungs- und Informationssysteme"
Tel.: <a href="tel:+49%20551%202011791" value="+495512011791" class="gmail_msg" target="_blank">+49(0)551/201-1791
E-Mail: [hidden email]
------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen
(GWDG)
Am Faßberg 11, 37077 Göttingen, URL: http://www.gwdg.de
Tel.: <a href="tel:+49%20551%202011510" value="+495512011510" class="gmail_msg" target="_blank">+49 551 201-1510, Fax: <a href="tel:+49%20551%202012150" value="+495512012150" class="gmail_msg" target="_blank">+49 551 201-2150, E-Mail: [hidden email]
Service-Hotline: Tel.: <a href="tel:+49%20551%202011523" value="+495512011523" class="gmail_msg" target="_blank">+49 551 201-1523, E-Mail: [hidden email]

Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lassau
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598
------------------------------------------------------------------------
Zertifiziert nach ISO 9001
------------------------------------------------------------------------


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/