Code Monkey home page Code Monkey logo

easy_contacts's Introduction

easy_contacts

Create Contact plugin into Redmine. All work is done only in plugin.

  • create fully REST controller with associated views for creating, updating and deleting

contacts. Index (list) will be via custom query. (create class contact query inherited from query)

  • model Contact has these attributes: first name, last name and timestamps. You should also define custom fields and attach files

  • index is accesible through project menu

  • contact plugin act as project module and have permissions to view and creating entries

  • all contacts are searchable via standard Redmine‘s search

  • creating and updating contact is visible in user profile (activity)


2do

check: activity timing
check: pagination
check: deletion of custom values

show Easy Contact menu only when plugin enabled within project :if => Proc.new { User.current.allowed_to?(:view_easy_contacts, projects_to_search/find_optional_project)
attachments when contact destroyed attachments should be destroyed also
set/update author on contact creation
sort out by projectid when showing all contacts
research atachments/_links for .js deletion of newly added attachments

install


> bundle exec rake redmine:plugins:migrate [RAILS_ENV=production]

then enable plugin within projects settings
don't forget to create role access group with easy contact enabled actions
such as: view easy contacts, view easy contacts attachments, delete easy contacts attachments

uninstall

> bundle exec rake redmine:plugins:migrate NAME=easy_contacts VERSION=0 [RAILS_ENV=production]

more info on plugin creation can be found at: www.redmine.org/projects/redmine/wiki/Plugin_Tutorial

easy_contacts's People

Contributors

nikolayr avatar

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.