Project

General

Profile

Actions

Patch #2277

closed

Patch for #2269 (Issue startdate == adddate can be turned on/off)

Added by Mischa The Evil over 15 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2008-12-04
Due date:
% Done:

0%

Estimated time:

Description

This is a quick patch to make the default behaviour of Redmine, regarding automatic filling of the startdate-field with today's date when a new issue is created, configurable.
It seems that it relates/resolves the proposal of Jean-Philippe Lang in the notes of feature #2269.

The default setting is 0 which means that the startdate isn't filled automatically with today's date when new issues are created. This seems the most obvious setting imho, though note that it is the opposite of current Redmine behaviour...

Configuring the setting to 1 means that the startdate is filled automatically with today's date when new issues are created. As mentioned this is the current default behaviour of Redmine.


Files

new_setting-issue_startdate_is_adddate-r2087.diff (3.33 KB) new_setting-issue_startdate_is_adddate-r2087.diff Patch created against r2087 Mischa The Evil, 2008-12-04 22:55
new_setting-issue_startdate_is_adddate-r2614.diff (3.1 KB) new_setting-issue_startdate_is_adddate-r2614.diff I updated the patch to work against r2614 Dennis Møllegaard Pedersen, 2009-03-23 15:22
new_setting-issue_startdate_is_adddate-r2761.diff (2.58 KB) new_setting-issue_startdate_is_adddate-r2761.diff Updated Dennis's (updated) patch against trunk at r2761 Mischa The Evil, 2009-05-22 00:52
new_setting-issue_startdate_is_adddate-r4249.diff (1.99 KB) new_setting-issue_startdate_is_adddate-r4249.diff Updated patch against trunk at r4249 Mischa The Evil, 2010-10-12 01:00
new_setting-issue_startdate_is_adddate-r4214.diff (2.67 KB) new_setting-issue_startdate_is_adddate-r4214.diff Bruno Medeiros, 2010-10-14 05:25
ro2277-new_setting-issue_startdate_is_adddate-r4425.diff (2.83 KB) ro2277-new_setting-issue_startdate_is_adddate-r4425.diff Updated patch against trunk at r4425 Mischa The Evil, 2010-12-02 03:13
ro2277-new_setting-issue_startdate_is_adddate-1.0.4.STABLE.4450.diff (2.71 KB) ro2277-new_setting-issue_startdate_is_adddate-1.0.4.STABLE.4450.diff Patch for 1.0.4.STABLE Bruno Medeiros, 2010-12-03 09:04
patch-2277_new_setting-issue_startdate_is_adddate-1.1.0.diff (4 KB) patch-2277_new_setting-issue_startdate_is_adddate-1.1.0.diff Lars Dornheim, 2011-10-17 16:38
ro2277-new_setting-issue_startdate_is_adddate-1.2-STABLE-r7580.diff (3.9 KB) ro2277-new_setting-issue_startdate_is_adddate-1.2-STABLE-r7580.diff Updated patch against 1.2-STABLE at r7580 Mischa The Evil, 2011-10-21 18:00

Related issues

Related to Redmine - Feature #2269: Default issue start date should become configurable.Closed

Actions
Actions #1

Updated by Ludovic Gasc over 15 years ago

+1

Actions #2

Updated by Reach Everywhere over 15 years ago

+1

Actions #4

Updated by Dennis Møllegaard Pedersen about 15 years ago

I updated the patch to work against r2614. Any hints and comments are welcomed.

Actions #5

Updated by Mischa The Evil about 15 years ago

Dennis Møllegaard Pedersen wrote:

I updated the patch to work against r2614. Any hints and comments are welcomed.

I have checked your iteration on the patch and it seems you've not only updated the patch but also improved it... :thumbsup:

Actions #6

Updated by Mischa The Evil almost 15 years ago

I have updated Dennis' patch against Redmine trunk r2761 after discussion on IRC which also brought up the idea to make this global setting a per project setting. Will take a look at that later...

Actions #7

Updated by Mischa The Evil over 13 years ago

I have rebased the patch against Redmine trunk r4249. None new features are integrated within the patch yet.

Actions #8

Updated by Bruno Medeiros over 13 years ago

I rebased the patch to the r4214 (version 1.0.2), just to make it easy to apply on this version.

BTW, I don't understand why this patch is not applied on trunk...

Actions #9

Updated by Beau Simensen over 13 years ago

+1

Is there a description of the process for getting patches applied to trunk? Something like this that has been in the system for two years... did the submitter do something wrong? Or why is it still not in actual district?

Actions #10

Updated by Mischa The Evil over 13 years ago

I have rebased the patch against the Redmine trunk at r4425 (source:/trunk@4425) and included the pt-BR translation provided by Bruno Medeiros in note-8. Some core changes were affecting the applyability of the older patch file. None new features are integrated within the patch.

ToDo:
  • add test-cases to the patch
  • investigate and/or decide on idea to make this global setting a per project setting
  • get more feedback about YetAnotherCoreSetting for this feature
Actions #11

Updated by Bruno Medeiros over 13 years ago

I merged the patch ro2277-new_setting-issue_startdate_is_adddate-r4425.diff and new_setting-issue_startdate_is_adddate-r4214.diff for the branch 1.0-stable.

Actions #12

Updated by Beau Simensen over 13 years ago

How can we get someone to consider putting this into Redmine core someday? Who should we be asking?

Actions #13

Updated by Axel Müller about 13 years ago

+1

Please make this configurable in the core with default to NOT fill in the start date automatically.

Actions #14

Updated by Beau Simensen about 13 years ago

How can we get someone to consider putting this into Redmine core someday? Who should we be asking? (again)

I dislike having to maintain my own copy of Redmine largely for the purpose of this patch. If there are concerns for why this should not be merged into trunk can we discuss them?

Actions #15

Updated by Ling Li about 13 years ago

+1

The current default behavior of having "today" as the default start date is annoying. Every time I had to remember to delete it. Can this be merged into the next release?

Actions #16

Updated by Etienne Massip about 13 years ago

  • Target version set to Candidate for next major release

Agreed.

Actions #17

Updated by Alex Last over 12 years ago

+1 when are we going to have this "major release"?

Actions #18

Updated by Lars Dornheim over 12 years ago

I updated the patch for the 1.1.0 version and added a German translation.

This patch is really needed for us to clean our calendars from unnecessary begin dates.

+1

Actions #19

Updated by Mischa The Evil over 12 years ago

Lars Dornheim wrote:

I updated the patch for the 1.1.0 version and added a German translation.

Thanks for doing so.

@ all: I still like to get some feedback on the ToDo's I've mentioned earlier in note#10:

  • add test-cases to the patch
  • investigate and/or decide on idea to make this global setting a per project setting
  • get more feedback about YetAnotherCoreSetting for this feature
Actions #20

Updated by Szymon Nowak over 12 years ago

I'm tyring to apply this patch in 1.2.1 but it's not working :( Is there any patch that works in current stable?

Actions #21

Updated by Mischa The Evil over 12 years ago

Szymon Nowak wrote:

I'm tyring to apply this patch in 1.2.1 but it's not working :( Is there any patch that works in current stable?

I've rebased the patch against source:/branches/1.2-stable@7580 so it should be easier to merge the patch in Redmine 1.2.x.
If you have any other questions feel free to ask...

Actions #22

Updated by Terence Mill over 12 years ago

+1 for trunk

Actions #23

Updated by Etienne Massip over 12 years ago

  • Status changed from New to Closed
  • Target version deleted (Candidate for next major release)
Actions

Also available in: Atom PDF