Project

General

Profile

Bug #9407

Update jQuery to current version (3.3.1 or later)

Added by Jim Pingle about 1 year ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
03/18/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.x
Affected Architecture:
All

Description

pfSense has jQuery 1.12.0 which is no longer receiving security updates. 2.x has also been deprecated by jQuery.

We need to move to the current supported version, which at the moment appears is 3.3.1.

Associated revisions

Revision 16eae2f4 (diff)
Added by Steve Beaver 4 months ago

Fixed #9407

(cherry picked from commit df4262d0e1d8d460ba93b9fcde16476306ee21f6)

History

#1 Updated by Jim Pingle about 1 year ago

There is an upgrade guide here: https://jquery.com/upgrade-guide/3.0/ which includes instructions on a migration program that can facilitate resolving any issues with code after the upgrade.

#2 Updated by Steve Beaver 6 months ago

  • Assignee set to Steve Beaver

Updating to version 3.4.1 is straightforward but we also use jQuery-UI which needs to be kept in step. Unfortunately the jQuery-UI download site has been broken (Cloudfare-502) for six weeks. I will revisit when it becomes available again.

https://jqueryui.com/download/#!

#3 Updated by Steve Beaver 6 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#4 Updated by Steve Beaver 6 months ago

jQuery updated to 3.4.1
jQuery-ui updated to 1.12.1
www/vendor directory reorganized
Obsoleted files list updated
pfSense.js updated to accommodate jQuery deprecated aliases

#5 Updated by Jim Pingle 4 months ago

  • Target version changed from 2.5.0 to 2.4.5

I picked this back to 2.4.5, needs tested there, too. Move back to 2.5.0 after for good measure, though if it was going to be a problem there, I'm sure we'd have seen it by now.

#6 Updated by Jim Pingle 4 months ago

  • Status changed from Feedback to Resolved

3.4.1 is present on 2.4.5.a.20191218.2354, no problems observed so far. Can reopen or open new issues if JS problems are noticed.

Also available in: Atom PDF