Modify

Opened 15 years ago

Closed 15 years ago

#6581 closed task (fixed)

provide an official 0.11 release

Reported by: Ryan J Ollos Owned by: Steffen Hoffmann
Priority: normal Component: WikiTicketCalendarMacro
Severity: normal Keywords: unicode 0.11
Cc: Trac Release: 0.11

Description

There are some versions attached to the main wiki page that claim to be usable, but we need a good 0.11 version.

Attachments (0)

Change History (8)

comment:1 Changed 15 years ago by Ryan J Ollos

Excerpt from wiki page:

To fix encoding problems for e.g. german users add the following code to the script:

import locale

def expand_macro(self, formatter, name, arguments):

  loc = locale.setlocale(locale.LC_ALL)
  locale.setlocale(locale.LC_TIME, 'english')
  .
  .
  .
  locale.setlocale(locale.LC_ALL, loc)
  return Markup(table)

If you want to use one of the latest patches be sure to fix the daylight saving problem and change:

  duedatestamp = time.mktime((year, month, day, 0, 0, 0, 0, 0, -1))
  duedatestamp_eod = time.mktime((year, month, day, 23, 59, 0, 0, 0, -1))

  to

  duedatestamp = time.mktime((year, month, day, 0, 0, 0, 0, 0, 0))
  duedatestamp_eod = time.mktime((year, month, day, 23, 59, 0, 0, 0, 0))

I can not offer any patch here because the maximum count of external links is reached for this ticket.

comment:2 Changed 15 years ago by Ryan J Ollos

Another excerpt from the wiki page:

WikiTicketCalendarMacro.20091029.py.gz by xeroo on 10/29/09

  • Update to Google Calendar style css. (采用谷歌日历风格样式)
  • Wiki brief is shown in calendar if exsits. (每日对应wiki如果存在则在此日显示wiki摘要)
  • Open tickets is shown under milestone, see line 305. (milestone中未关闭的tickets会显示在milestone下面,见305行)
  • Ticket action history is shown instead of tickets created and closed. Only close history is shown by default, this can be modified at line 330. (显示ticket变更历史,而不是只显示创建和关闭,此代码中目前仅显示关闭动作,可以在330行修改选择显示的动作列表)
  • Screenshot: WikiTicketCalendarMacro.20091029.png

comment:3 Changed 15 years ago by Ryan J Ollos

Attachment comments from main page:

comment:4 Changed 15 years ago by anonymous

In the repository is not a version for trac 0.11, the version for 0.12 gives me an error. where can I find a version for trac 0.11? Thanks

comment:5 Changed 15 years ago by Ryan J Ollos

As noted on the wiki page, WikiTicketCalendarMacro, we are working on a 0.11 version, but I'm not sure when it will be available. If you send me an email (contact information can be found on wiki page: rjollos), I can send you 8 files that previously were attached to the WikiTicketCalendarMacro page. I can't tell you whether any of them work or not.

comment:6 Changed 15 years ago by Steffen Hoffmann

Keywords: unicode 0.11 added

Oh well, glad I read this. As rjollos stated before, there are several 0.11 compatible patch versions that where patches in tickets but never showed up as revisions in SVN here.

This was a major pain for me as well, when I encountered WikiTicketCalendarMacro. But after hand-picking and merging the best of all together I made the mistake to not pin that state but go on to do more fixing, this time to reach compatibility with Trac 0.12dev, what happened to be not backwards-compatible on first try. Requests like yours clearly show the demand, and I ensure you, that I'm not only in contact with rjollos, but he Kindly arranged for SVN write access granted to me.

I'm setting up a local repo to finally put all the patches and fixes under version control and build a series of clean 0.11 releases. Yesterday i got some valuable information on how Trac itself will handle 0.11 compatibility with regard to the offending microsecond timestamp change done in 0.12. This will make a 0.11/0.12 version possible again.

Still we'll keep 0.12 branch for a truly internationalized version. This is bound to be 0.12 only, since i18n/l10n support by Babel is another new Trac feature (see another comment for details).

comment:7 Changed 15 years ago by Steffen Hoffmann

Owner: changed from Ryan J Ollos to Steffen Hoffmann
Summary: Port to 0.11provide an official 0.11 release

sum up code changes and branches/forks off the original code base

comment:8 Changed 15 years ago by Steffen Hoffmann

Resolution: fixed
Status: newclosed

This issue is closed by SVN r8055.

I'd be happy to accept proposal for a better and - most important - more intuitive looking choice of characters for all link labels would be appreciated. Let's discuss options in #7190. And if you'd like to stick to the old navigation for now, checkout r8053 from trunk.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.