Project

General

Profile

Local avatars Plugin v.0.0.1

Added by Andrew Chaika over 15 years ago

I use Redmine in intranet, and can't register corporate emails in gravatar.
Because of it I decide to make this plugin.

Restrictons of 0.0.1 version:
  • Avatars can be changed only by administrator for any user (Avatar Tab)
  • No modifications or restrictions on avatar size
  • No settings to disable avatars
  • Avatars can't be deleted once uploaded, only replaced

Replies (51)

RE: Local avatars Plugin v.0.0.1 - Added by Дмитрий Holmes almost 7 years ago

Hello all,

I have faced a problem with redmine_local_avatars version :1.0.3 plugin.

Problem with changing local-avatar via "My account" -> "Change local avatar" -> Internal error 500

Logs:

Started GET "/my/avatar" for 10.1.10.170 at 2018-02-02 17:46:20 +0100
Processing by MyController#avatar as HTML
  Current user: test (id=1300)
Completed 500 Internal Server Error in 60ms (ActiveRecord: 2.1ms)

ArgumentError (wrong number of arguments (0 for 1..2)):
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Info

Environment:
  Redmine version                3.1.3.stable
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux]
  Rails version                  4.2.5
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.11
  Bazaar                         2.1.1
  Git                            1.7.1
  Filesystem                     
Redmine plugins:
  redmine_local_avatars          1.0.3

I know exactly that without plugin "redmine_my_page_queries 2.1.7" it works well. I hope that will help.

Can someone help me to solve mentioned problem?
Thx in advance

(51-51/51)