Modify

Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#10107 closed enhancement (fixed)

Support Trac 1.0

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: DateFieldPlugin
Severity: normal Keywords:
Cc: Robert Corsaro, Steffen Hoffmann 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 (14)

comment:1 Changed 5 years ago by Ryan J Ollos

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

comment:2 Changed 5 years ago by Ryan J Ollos

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

comment:3 Changed 5 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 5 years ago by Ryan J Ollos

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 5 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 5 years ago by Ryan J Ollos

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 4 years ago by Steffen Hoffmann

Cc: Robert Corsaro Steffen Hoffmann added; Ryan J Ollos removed
Keywords: doki_pen hasienda removed

comment:8 Changed 4 years ago by Adam Dorsey - NOAA Affiliate

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 4 years ago by Ryan J Ollos

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

comment:10 Changed 4 years ago by Ryan J Ollos

Status: newassigned

comment:11 Changed 3 years ago by Ryan J Ollos

In 13931:

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

comment:12 Changed 3 years ago by Adam Dorsey - NOAA Affiliate

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 3 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

comment:14 Changed 3 years ago by Ryan J Ollos

In 14289:

3.0.0dev: Removed [datefield] milestone option since Trac 1.0 adds the datepicker to the milestone and milestone admin pages. Refs #10107.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.