Patch #2277

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

Added by Mischa The Evil about 9 years ago. Updated about 6 years ago.

Status:ClosedStart date:2008-12-04
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-

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.

new_setting-issue_startdate_is_adddate-r2087.diff Magnifier - Patch created against r2087 (3.33 KB) Mischa The Evil, 2008-12-04 22:55

new_setting-issue_startdate_is_adddate-r2614.diff Magnifier - I updated the patch to work against r2614 (3.1 KB) Dennis Møllegaard Pedersen, 2009-03-23 15:22

new_setting-issue_startdate_is_adddate-r2761.diff Magnifier - Updated Dennis's (updated) patch against trunk at r2761 (2.58 KB) Mischa The Evil, 2009-05-22 00:52

new_setting-issue_startdate_is_adddate-r4249.diff Magnifier - Updated patch against trunk at r4249 (1.99 KB) Mischa The Evil, 2010-10-12 01:00

new_setting-issue_startdate_is_adddate-r4214.diff Magnifier (2.67 KB) Bruno Medeiros, 2010-10-14 05:25

ro2277-new_setting-issue_startdate_is_adddate-r4425.diff Magnifier - Updated patch against trunk at r4425 (2.83 KB) Mischa The Evil, 2010-12-02 03:13

ro2277-new_setting-issue_startdate_is_adddate-1.0.4.STABLE.4450.diff Magnifier - Patch for 1.0.4.STABLE (2.71 KB) Bruno Medeiros, 2010-12-03 09:04

patch-2277_new_setting-issue_startdate_is_adddate-1.1.0.diff Magnifier (4 KB) Lars Dornheim, 2011-10-17 16:38

ro2277-new_setting-issue_startdate_is_adddate-1.2-STABLE-r7580.diff Magnifier - Updated patch against 1.2-STABLE at r7580 (3.9 KB) Mischa The Evil, 2011-10-21 18:00


Related issues

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

Associated revisions

Revision 7733
Added by Etienne Massip about 6 years ago

Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269).

Based on the patch of #2277 contributed by Mischa The Evil.

History

#1 Updated by Ludovic Gasc about 9 years ago

+1

#2 Updated by Reach Everywhere almost 9 years ago

+1

#4 Updated by Dennis Møllegaard Pedersen over 8 years ago

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

#5 Updated by Mischa The Evil over 8 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:

#6 Updated by Mischa The Evil over 8 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...

#7 Updated by Mischa The Evil about 7 years ago

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

#8 Updated by Bruno Medeiros about 7 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...

#9 Updated by Beau Simensen about 7 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?

#10 Updated by Mischa The Evil about 7 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

#11 Updated by Bruno Medeiros about 7 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.

#12 Updated by Beau Simensen almost 7 years ago

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

#13 Updated by Axel Müller almost 7 years ago

+1

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

#14 Updated by Beau Simensen over 6 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?

#15 Updated by Ling Li over 6 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?

#16 Updated by Etienne Massip over 6 years ago

  • Target version set to Candidate for next major release

Agreed.

#17 Updated by Alex Last about 6 years ago

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

#18 Updated by Lars Dornheim about 6 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

#19 Updated by Mischa The Evil about 6 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

#20 Updated by Szymon Nowak about 6 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?

#21 Updated by Mischa The Evil about 6 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...

#22 Updated by Terence Mill about 6 years ago

+1 for trunk

#23 Updated by Etienne Massip about 6 years ago

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

Also available in: Atom PDF