Go MAEDA
f992df684f
Small refactorization of avatar methods ( #31391 ).
...
* move existing methods from ApplicationHelper to a new helper file (AvatarsHelper)
* change default avatar size from 50 to 24 because most of the avatars are using the size 24
* class 'gravatar' is always added and all custom classes are appended
* added user name as default title for avatar images
* added two new methods: @assignee_avatar@ and @author_avatar@
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-19 22:27:41 +00:00
Go MAEDA
aaf432e5be
Remove the :ssl option which is not used anymore ( #31022 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-08 21:46:01 +00:00
Go MAEDA
bf0246ce83
Add avatar_server_url configuration option in order to support Libravatar ( #9112 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-04 15:59:50 +00:00
Go MAEDA
3b55f65407
Remove frozen_string_literal magic comment from files which are not used when running the application or tests ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 06:06:53 +00:00
Go MAEDA
30e341db69
Support frozen_string_literal in lib/**/*.rb ( #26561 ).
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 16:36:34 +00:00
Go MAEDA
e050625a29
Always use HTTPS when accessing gravatar.com ( #31022 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 03:14:26 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
9f4a4be01a
Remove trailing whitespaces from lib/plugins/gravatar/lib/gravatar.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-14 06:28:18 +00:00
Jean-Philippe Lang
2503731d3c
Removes invalid attributes from gravatar img tag.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:55:13 +00:00
Jean-Philippe Lang
79d5d30705
Hires (2x DPR) image support for Gravatars ( #24927 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:40:57 +00:00
Jean-Philippe Lang
3de694f5e5
Use protocol-relative URL for gravatars ( #21855 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@15245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-15 21:52:20 +00:00
Jean-Philippe Lang
8d73ddf73f
Moved Rails plugins required by the core to lib/plugins.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-26 17:23:24 +00:00