Skip to content

Commit

Permalink
Merge pull request #28 from nutso/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
teresan committed Jan 8, 2014
2 parents 28be6d5 + 6f5c2d9 commit 958dc47
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
16 changes: 11 additions & 5 deletions ReleaseNotes.md
@@ -1,16 +1,22 @@
# Recurring Tasks Redmine Plugin -- Release Notes

## Known Issues
## Features Requested

### Master (Stable)
* Recur on day x of every n months (#26)
* Recur on last day of every n months (#26)

* (Confirmed) Deleting an issue neither generates a warning nor deletes the recurrence
* (Confirmed) No ability to view historic recurrences
## Known Issues

### Develop
* Deleting an issue neither generates a warning nor deletes the recurrence
* No ability to view historic recurrences

## Next Version (Develop Branch)

## Version 1.2.9 (07 Jan 2014)

* Set done_ratio to zero for recurred issues (#26)
* Updated German translation file from @skolarianer (#27)

## Version 1.2.8 (05 Jan 2014)

* Using validates_presence_of instead of validates :x, presence: true for backward Rails compatibility (#20)
Expand Down
1 change: 1 addition & 0 deletions app/models/recurring_task.rb
Expand Up @@ -118,6 +118,7 @@ def recur_issue_if_needed!
new_issue = issue.copy
new_issue.due_date = previous_date_for_recurrence + recurrence_pattern
new_issue.start_date = new_issue.due_date
new_issue.done_ratio = 0
new_issue.status = IssueStatus.default # issue status is NOT automatically new, default is whatever the default status for new issues is
new_issue.save!
puts "Recurring #{issue.id}: #{issue.subj_date}, created #{new_issue.id}: #{new_issue.subj_date}"
Expand Down
2 changes: 1 addition & 1 deletion init.rb
Expand Up @@ -10,7 +10,7 @@
author_url 'https://github.com/nutso/'
url 'https://github.com/nutso/redmine-plugin-recurring-tasks'
description 'Allows you to set a task to recur on a regular schedule, or when marked complete, regenerate a new task due in the future. Plugin is based -- very loosely -- on the periodic tasks plugin published by Tanguy de Courson'
version '1.2.8'
version '1.2.9'

Redmine::MenuManager.map :top_menu do |menu|
menu.push :recurring_tasks, { :controller => 'recurring_tasks', :action => 'index' }, :caption => :label_recurring_tasks, :if => Proc.new { User.current.admin? }
Expand Down

0 comments on commit 958dc47

Please sign in to comment.