Skip to content

nikolayr/easy_contacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


> 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

> 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

About

contacts plugin for redmine

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors