Coder Social home page Coder Social logo

redmine_local_avatars's Introduction

RedmineLocalAvatars

This plugin allows Redmine users to upload a picture to be used as an avatar (instead of depending on images from Gravatar).

Users can set their image through the /my/account page. The administrator can also manage users' avatars through the /users section.

Installation

Place this plugin into the folder plugins/ of your redmine installation. Make sure that the folder is called "redmine_local_avatars".

Udpate the gems, run any migrations:

bundle install --without development test
rake redmine:plugins:migrate RAILS_ENV=production

And restart your application server.

Compatibility

This current version on github is compatible with Redmine 2.1.

It has been imported fom lp:redminelocalavatars incorporating the patch for 2.1 from chrisy at https://bugs.launchpad.net/redminelocalavatars/+bug/1069808/comments/4

Old version on launchpad

Tested on Redmine trunk r4388 (version 1.0.3). Should be compatible with all Redmine versions 1.0.x.

At the moment the plugin doesn't work when running in development mode.

Authors

Luca Pireddu [email protected] at CRS4 (http://www.crs4.it), contributed updates and improvements.

Warranty. What warranty?

This plugin was written for use in an intranet with simple requirements in mind. In particular, not much attention has been payed to security issues and there hasn't been any thorough testing. Use it at your own risk.
Patches are welcome.

Implementation Notes

Avatar images are treated as attachments to User objects with the description 'avatar'. The AccountController is patched to provide the images, and the UsersController and MyController are patched to provide mechanisms to add/delete avatars.

License

Copyright (C) 2010 Andrew Chaika, Luca Pireddu

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

redmine_local_avatars's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.