Project

General

Profile

task #24

Extend add_journal setting to include "in-place only" option

Added by cryptogopher about 4 years ago. Updated 11 months ago.

Status:
closed
Priority:
feature
Assignee:
Target version:
Redmine version:
unspecified

Description

Rationale:
  • to allow creation of journal only on recurrences which don't cause new issue creation. This may e.g. allow for creating better email notification experience. When you have email notifications set to inform about new issues, you may not need to have 2nd one for journal entry addition on base issue in 'copy issue' or 'copy last recurrence of issue' modes. On the other hand 'in-place' mode does not create new issue. So to trigger email notification on new recurrence you may want to have journal entry added on it.
Actions:
  • add settings processing in SettingsController
    • convert settings to proper data type (e.g. int; currently all setting values are stored as strings)
    • check settings validity and reject settings if invalid correct if invalid
  • change setting name add_journal -> journal_mode
  • update code to account for new journal_mode setting values and value types
  • update system and integration tests with new journal_mode setting values and value types
  • migrate add_journal settings to journal_mode:
    • add conversion to db migration: up ['true' -> :always, nil -> :never], down [:never -> nil, :always/:inplace -> 'true']

Token votes

Associated revisions

Revision cbf0e7cc (diff)
Added by cryptogopher about 4 years ago

Extended and renamed add_journal setting

Closes #24
Setting add_journal renamed to journal_mode
Settings coerced to proper values on save
Settings values now have appropriate data types (not string)

History

#1 Updated by cryptogopher about 4 years ago

  • Description updated (diff)

#2 Updated by cryptogopher about 4 years ago

  • Description updated (diff)

#3 Updated by cryptogopher about 4 years ago

  • Description updated (diff)

#4 Updated by cryptogopher about 4 years ago

  • Description updated (diff)

#5 Updated by cryptogopher about 4 years ago

  • Description updated (diff)

#6 Updated by cryptogopher about 4 years ago

  • Status changed from new to closed

#7 Updated by admin 11 months ago

  • Priority changed from support to feature

#8 Updated by admin 11 months ago

  • Tracker changed from 2 to task
  • Target version set to unspecified
  • Redmine version set to unspecified

Also available in: Atom PDF