Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jQuery 3.5.1 and jQuery Migrate 3.3.0 (CVE-2020-11022 FIX) #5114

Closed
wants to merge 157 commits into from
Closed

Update jQuery 3.5.1 and jQuery Migrate 3.3.0 (CVE-2020-11022 FIX) #5114

wants to merge 157 commits into from

Conversation

summercms
Copy link
Contributor

@LukeTowers

This pr fixes issue: #5097

The reason I'm tagging Luke is because he has upgraded jQuery to 3.4.0 (which doesn't contain the security fix) - see here for his commit: 5c7ba9f

This PR adds jQuery 3.5.1 and jQuery Migrate 3.3.0

Any issues tag me and I will sort it out.

daftspunk and others added 30 commits December 13, 2019 15:35
This is a major update from V4 to V5 and will need some testing to make sure October CMS works ok with this update.
It makes more sense to use a consistent UI for all modes, the CSS is cleaner as a result. The code editor toolbar has been moved to the bottom across all instances. This is favourable to it bleeding outside of its perimeter.

Refs #3947
Refs #3948
Have removed all the Data: elements and will now pass with a basic CSP Policy
Remove these extra lines of code - not needed
Update Deprecated code in October into (event.key)
Reported issues with tables with constrained widths breaking content too much.

Refs: #4618
The keydown/keyup/input events were not working correctly. Also the $cb selector was not specific enough and was picking up on the hidden input used to define the default state.
* Add a small JSON Parser to October framework lib
We've also included it as a separate framework.parser.js file in case its needed by some external lib, such as Storm UI
…brand CSS override with the config item "brand.customLessPath"
* Fix the overflow on the primary tabs
Also had to revert the 100vw improvement on tabs because it causes unnecessary scroll/drag activation. Also reverted change in form.base.less that had no reasoning.
I have no idea why the $user variable can ever be null in the first place, but for me it happens if I remove all main menu items (including the settings). The same check is already in place at the navigation manager: https://github.com/octobercms/october/blob/master/modules/backend/classes/NavigationManager.php#L509-L511
The change shouldn't brake anything.
Luke Towers and others added 28 commits June 7, 2020 22:23
)

* Support additional file name and path characters in media manager

When working with abstract file names that may contain additional characters, such as quotes or ampersands, the media manager would throw an error. This PR adds two additional characters to the character whitelist.

* Add unicode filename to tests
If the DataTable widget is loaded in a Popup, the .focus() call does not
seem to focus the target element correctly, which leads to the problem,
that the updateCellFromFocusedItem method fails to find the focused
item.
This commit passes the target item along since it is already known.
Let's save this for L6 upgrade. Although PHP 7 partially support this, we should revisit once the PHP version is bumped + better support for it
This occurs due to a race condition in the rendering where the scrollbars enable and disable over and over because of a slow height calculation. Giving any height number appears to close the loop by never letting the height resolve to 0

Refs #4632
This fixes PHP 7.4 support by pulling in Symfony packages at v3.4.36
* Added lazy loading for backend form tabs
This avoids "Function ReflectionType::__toString() is deprecated" warnings
Adds a dismissable message to the CMS object code editor indicating that the PHP code section of a CMS object cannot be edited when `cms.enableSafeMode` is `true` (or when debugging is disabled if `null`).

Credit to @mjauvin.
This appears to be a typoe. It doesn't make sense to ever log "user errors", only "system errors"

Fixes #4569
#4737)

Now we can use the `backend.list.overrideHeaderValue` event also in the import/export.
* Add Slovenian language
Similarly named repeater fields being used in viewBag variables were being assigned aliases which succeeded the `strpos` check on line 407. This will more clearly look for a child repeater form and index.

Fixes #4808
$widget->secondaryTabs['fields'] may not always be present
This is one step closer to fixing the sorting issues when a scrollbar is present. It still doesn't quite fix the issue, still need to find a way to get the container dimensions to update

Refs rainlab/pages-plugin#384
Refs 1d91c22
It is unsure why this was ever needed, but it appears to fix the overflow issues with the sortable plugin

Refs rainlab/pages-plugin#384
Refs 11be3fe
@summercms
Copy link
Contributor Author

Deleting this pr and rebasing my fork

@summercms summercms closed this Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.