Modify

Opened 2 years ago

Closed 2 months ago

#10107 closed enhancement (fixed)

Support Trac 1.0

Reported by: rjollos Owned by: rjollos
Priority: normal Component: DateFieldPlugin
Severity: normal Keywords:
Cc: doki_pen, hasienda Trac Release: 0.11

Description

Trac 1.0 bundles the full minified jQuery UI (t:#10245) (1.8.18). The DateFieldPlugin should be modified to use the bundled version of jQuery UI with Trac 1.0.

Attachments (0)

Change History (13)

comment:1 follow-up: Changed 2 years ago by rjollos

See also t:#10756, which is concerned with addding date pickers and datetime pickers to a number of fields in Trac.

comment:2 Changed 2 years ago by rjollos

(In [11717]) Refs #10107: Branching to support Trac 1.0. Bump DateFieldPlugin version to 3.0.0dev.

comment:3 follow-up: Changed 2 years ago by Genie

please use class="datepicker" or class="datetimepicker" instead of class="datepick",

and refer to http://trac.edgewall.org/ticket/1942

https://bitbucket.org/psuter/trac-1942/changeset/9e0a436c5679

comment:4 in reply to: ↑ 3 Changed 2 years ago by rjollos

Replying to Genie:

please use class="datepicker" or class="datetimepicker" instead of class="datepick",

Sure, I'll do that. I should have a new version available later today, and would appreciate any early testing you could provide.

comment:5 Changed 2 years ago by Genie

please note that datetimepicker does not support Time Zone Conversion,

and datepicker of jQueryUI <= 1.8.4 is fully compatible with jQuery 1.2.6 (Trac >= 0.11.1).

comment:6 in reply to: ↑ 1 Changed 2 years ago by rjollos

Replying to rjollos:

See also t:#10756, which is concerned with addding date pickers and datetime pickers to a number of fields in Trac.

The patch in t:#10756 was committed to the trunk and targeted to Trac 1.0, which makes the rework of the DateFieldPlugin for Trac 1.0 much easier. The patch in t:#10756 add a datepicker or datetimepicker to the Timeline filter, Milestone admin panel, Version admin panel and custom query. The DateFieldPlugin for Trac 1.0 therefore only needs to target custom ticket fields and the paths specified in the match_req argument.

comment:7 Changed 15 months ago by hasienda

  • Cc doki_pen hasienda added; rjollos removed
  • Keywords doki_pen hasienda removed

comment:8 Changed 13 months ago by asdorsey

Is this currently working? I noticed that there is a branch for 1.0, but when I go to create a new ticket the date picker does not function.

comment:9 Changed 13 months ago by rjollos

I haven't looked at it in quite a while. I'll have to take another look to see.

comment:10 Changed 8 months ago by rjollos

  • Status changed from new to assigned

comment:11 Changed 4 months ago by rjollos

In 13931:

3.0.0dev: Use jQuery-UI from Trac. Refs #10107.

comment:12 Changed 4 months ago by asdorsey

Tested in our test Trac 1.0.1 instance, works great. The date picker shows up and I can select a date from the calendar popup without issue.

comment:13 Changed 2 months ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.