Changes between Version 21 and Version 22 of TracTicketsCustomTimeFields
- Timestamp:
- Apr 19, 2010, 10:49:55 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketsCustomTimeFields
v21 v22 35 35 36 36 === Status of Development === 37 I've decided on going public with my current Mercurial queue at bitbucket.org now. Here it is:37 Patches against Trac trunk are published as Mercurial queue at bitbucket.org now: 38 38 39 39 http://bitbucket.org/hasienda/custom-time/overview 40 40 41 ''base'': patches appl ied cleanly to Trac trunk r9443, cloned from rblanks Mercurial repository at bitbucket.org.[[BR]]41 ''base'': patches apply cleanly to Trac trunk r9443, cloned from rblank's Mercurial repository at bitbucket.org.[[BR]] 42 42 ''quality'': alpha - major design flaws and backward-incompatible changes possible until stable release[[BR]] 43 ''focus'': completion of basic functionality, bug-fixes 43 44 ''reviews'': so far just me 44 45 45 I consider the code in alpha stage right now. If you pull that early, test tickets mayneed to be discharged for the final implementation to work flawlessly. You've been warned. See [#KnownBugs Known Bugs] for more details. As soon as I see sort of a release candidate, I'll let you know.46 If you pull that early, test tickets may pollute your db with nasty values that need to be discharged for the final implementation to work flawlessly. You've been warned. See [#KnownBugs Known Bugs] for more details. As soon as I see sort of a release candidate, I'll let you know. 46 47 47 48 No longer bug-fixing on my initial approach, but doing a fresh and hopefully clean new implementation as detailed above. Assume to come out with some patches soon. I've setup [http://bitbucket.org/hasienda/shelf/ my place at bitbucket.org] recently, that'll make collaboration via a Mercurial repository easier than via Sourceforge.net. … … 59 60 60 61 ==== Known Bugs ==== 61 Problems on ticket change/preview 62 * current date is injected whenever time field is left/made empty 63 * notification unpatched, throwing an error note related to unexpected datetime.datetime input to [TracNotification Trac Notification] system 62 Problems (with priority) occurring arround ticket changes 63 * (C) preview time stamp format is not pretty, like '2010-04-19 20:03:00+00:00' instead of '19.04.2010 22:03:00' 64 * (A) bad conversion of date/time value {{{None}}} to db string value {{{'None'}}} instead of {{{''}}} 65 * (B) ticket diff view for change history exposes raw values from db, should convert microseconds POSIX to pretty time stamp string 66 * (A) notification unpatched, throwing an error note related to unexpected datetime.datetime input to [TracNotification Trac Notification] system 64 67 fixed: 68 * current date is injected whenever time field is left/made empty: after extending all other functions the parser logic was the one place, where 'default_now' logic still happened overwriting undefined date/time 65 69 * change to switchable conversion of empty values with new attribute {{{default_now = True(default)|False}}} was incomplete: not done for older function to_timestamp(), so exception raised for some wiki pages (fix will be committed into next rev) 66 70 * move to microsecond timestamp caused a mess with calculations (added '* 10E07' instead of '* 10E06' and the like) … … 89 93 I can imagine various needs for defaults: 90 94 pre-seed with 91 * empty value (well, thats quite easy :-)95 * empty value: this is '''current default''' 92 96 * fixed date/time (much less demand, I guess, but this could help i.e. when facing an already fixed project termination) 93 * current date/time 97 * current date/time (just make one of all the 'default_now = False' attributes along the processing optional) 94 98 * date/time with predefined offset from current date/time (like "now + 14d") 95 99 * ...