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 phpThumb v1.7.19 202210110924 #16309

Closed
wants to merge 552 commits into from

Conversation

Maef
Copy link

@Maef Maef commented Nov 27, 2022

What does it do?

Update phpThumb v1.7.19-202210110924

Why is it needed?

Fixes IMAGETYPE_AVIF not defined #1 and Fixes IMAGETYPE_AVIF not defined #2

See changes JamesHeinrich/phpThumb@v1.7.18...v1.7.19

opengeek and others added 30 commits August 10, 2020 11:19
Merge remote-tracking branch 'origin/pr/15171' into 2.x

* origin/pr/15171:
  Update getlist.class.php
  Fix bug in the resource trash interface
* New translations permissions.inc.php (Spanish)

* New translations plugin.inc.php (Spanish)

* New translations propertyset.inc.php (Spanish)

* New translations resource.inc.php (Spanish)
* New translations default.inc.php (Russian)

* New translations file.inc.php (Russian)
If expand the category list (only the first level) $map contains only one element with index 0. To see this error the system setting error_log must be set to 2.
Merge remote-tracking branch 'origin/pr/14954' into 2.x

* origin/pr/14954:
  Addressed comments & suggestions from review
  Created dedicated method to get a resource preview URL
* Register woff2 format in system settings

* Group the order of the extensions by file type

Co-authored-by: Thomas Jakobi <thomas.jakobi@partout.info>
This incorporates the `view` permission as required for interaction with a media source. The `load` permission is hardcoded as to always be available, as a media source must be available for front-end usage. The primary concern is that neither a user in the manager nor a programmatic interaction with the media source should inadvertantly gain access to a source it is not intended to access.

Currently, there are 2 checks on the modMediaSource object that are routinely checked for their return in programmatic interaction. Either getWorkingContext(), or initialize(). By implementing a checkPolicy in both of those method, and adjusting derivative classes accordingly, it is expected that all programmatic access to media sources (including processors and third party extras) are sufficiently protected with this check.

The Create and Edit file controllers are also adjusted to specifically check $source->initialize() and to return the appropriate failure when not present.
…ss (modxcms#15226)

* Update modx.class.php

Removes a deprecation error message!

* Update modx.class.php

Correction based on @Jako input
…5231)

Merge remote-tracking branch 'origin/pr/15231' into 2.x

* origin/pr/15231:
  Displayed caption instead of description in TV grid
* New translations setting.inc.php (Romanian)

* New translations setting.inc.php (Dutch)

* New translations setting.inc.php (Hindi)

* New translations setting.inc.php (Estonian)

* New translations setting.inc.php (Thai)

* New translations setting.inc.php (Persian)

* New translations setting.inc.php (Indonesian)

* New translations setting.inc.php (Chinese Simplified)

* New translations setting.inc.php (Ukrainian)

* New translations setting.inc.php (Turkish)

* New translations setting.inc.php (Swedish)

* New translations setting.inc.php (Russian)

* New translations setting.inc.php (Portuguese)

* New translations setting.inc.php (Polish)

* New translations setting.inc.php (Japanese)

* New translations setting.inc.php (French)

* New translations setting.inc.php (Italian)

* New translations setting.inc.php (Hungarian)

* New translations setting.inc.php (Hebrew)

* New translations setting.inc.php (Finnish)

* New translations setting.inc.php (Greek)

* New translations setting.inc.php (German)

* New translations setting.inc.php (Danish)

* New translations setting.inc.php (Czech)

* New translations setting.inc.php (Bulgarian)

* New translations setting.inc.php (Belarusian)

* New translations setting.inc.php (Arabic)

* New translations setting.inc.php (Spanish)

* New translations setting.inc.php (Yoruba)
…xcms#15228)

Merge remote-tracking branch 'origin/pr/15228' into 2.x

* origin/pr/15228:
  Added expanding active source in tree
  Added indication of selected file in tree
* New translations access.inc.php (German)

* New translations setting.inc.php (German)

* New translations en.inc.php (German)

* New translations workspace.inc.php (German)

* New translations user.inc.php (German)

* New translations tv.inc.php (German)

* New translations topmenu.inc.php (German)

* New translations template.inc.php (German)

* New translations propertyset.inc.php (German)

* New translations dashboards.inc.php (German)

* New translations policy.inc.php (German)

* New translations plugin.inc.php (German)

* New translations permissions.inc.php (German)

* New translations menu.inc.php (German)

* New translations formcustomization.inc.php (German)

* New translations file.inc.php (German)

* New translations default.inc.php (German)

* New translations default.inc.php (German)
Merge remote-tracking branch 'origin/pr/15227' into 2.x

* origin/pr/15227:
  Added indication of selected directory in tree
  Added saving previous path to upload file
  Added reset of active node when changing source
Fixed bug with display of the pagination toolbar. If the request to the processor was delayed, the `expand` function had time to work because of this piece of code:
```
if (this.mode == 'remote' && !this.loaded && this.tries < 4) {
    // Store not yet loaded, let's wait a little bit
    this.tries += 1;
    Ext.defer(this.expand, 250, this);
    return false;
}
```
And when the answer came from the processor, the `expand' function was not started anymore. We had to make a small crutch that instantly collapse the list and expanded it again.
…e libxml entity loader [modxcms#15237]

The libxml_disable_entity_loader function is deprecated in PHP8, and the entity loader is automatically enabled on v2.9.0+ of libxml which may have been used pre-PHP8 as well. PHP8 comes with at least v2.9.0+ of libxml bundled, so this conditional covers both scenarios.

Ref: php/php-src#5867
modxbot and others added 25 commits February 10, 2022 19:15
* New translations about.inc.php (Italian)

* New translations default.inc.php (Italian)

* New translations formcustomization.inc.php (Italian)

* New translations login.inc.php (Italian)

* New translations resource.inc.php (Italian)

* New translations setting.inc.php (Italian)

* New translations system_info.inc.php (Italian)

* New translations workspace.inc.php (Italian)
* New translations setting.inc.php (Russian)

* New translations setting.inc.php (German)

* New translations formcustomization.inc.php (Russian)
Includes various PHP 8.1 compatibility updates
* Configurable MessageBox minWidth

* Replace ternary with a shorter check
…ms#16071)

* redo 15787 without CS cleanup

* fix s3 media source as well
* Fix setStaticElementPath method
The previous implementation used a setTimeout to bypass a not set lastSelectionText. This timeout did not work on different installations with nested categories without increasing the timeout. Now the category name is retrieved with an ajax request and the timeout is no longer needed.

* remove setTimeout on other element panels too

* Remove not needed request properties

* Fix for an empty category
* Skip thumbail geneneration for svg files.

* Set a max width & height on tv image preview.

* Discard changes to compiled stylesheets.

* Remove line ending

* Remove line ending

* Use pathinfo to get file extension

* Remove error suppression for file_get_contents

* grunt build

Co-authored-by: Jason Coward <jason@opengeek.com>
…dxcms#16162)

* Make hidden TV's work for weblinks

* Make hidden TV's work for symlinks

* Make hidden TV's work for static resources
* Add new config option for number TVs

* grunt build

Co-authored-by: Jason Coward <jason@opengeek.com>
* New translations tv_widget.inc.php (Romanian)

* New translations tv_widget.inc.php (Dutch)

* New translations tv_widget.inc.php (Hindi)

* New translations tv_widget.inc.php (Estonian)

* New translations tv_widget.inc.php (Thai)

* New translations tv_widget.inc.php (Persian)

* New translations tv_widget.inc.php (Indonesian)

* New translations tv_widget.inc.php (Chinese Simplified)

* New translations tv_widget.inc.php (Ukrainian)

* New translations tv_widget.inc.php (Turkish)

* New translations tv_widget.inc.php (Swedish)

* New translations tv_widget.inc.php (Russian)

* New translations tv_widget.inc.php (Portuguese)

* New translations tv_widget.inc.php (Polish)

* New translations tv_widget.inc.php (Japanese)

* New translations tv_widget.inc.php (French)

* New translations tv_widget.inc.php (Italian)

* New translations tv_widget.inc.php (Hungarian)

* New translations tv_widget.inc.php (Hebrew)

* New translations tv_widget.inc.php (Finnish)

* New translations tv_widget.inc.php (Greek)

* New translations tv_widget.inc.php (German)

* New translations tv_widget.inc.php (Danish)

* New translations tv_widget.inc.php (Czech)

* New translations tv_widget.inc.php (Bulgarian)

* New translations tv_widget.inc.php (Belarusian)

* New translations tv_widget.inc.php (Arabic)

* New translations tv_widget.inc.php (Spanish)

* New translations tv_widget.inc.php (Yoruba)
* Fix active state for files in main tree

* grunt build

Co-authored-by: Jason Coward <jason@opengeek.com>
* Fix tree node button visibility

Hides create button in resource tree appearing in the resource groups panel

* Update access.inc.php

Revert lex update

* grunt build

Co-authored-by: Jason Coward <jason@opengeek.com>
* New translations upgrades.inc.php (Czech)

* New translations workspace.inc.php (Arabic)

* New translations dashboards.inc.php (Turkish)
* Preserve non-standard http ports

* Revert modxcms#16071

Solves problem in 16071 in a different way while fixing issue modxcms#16194.

* Revert "Revert modxcms#16071"

This reverts commit 45738fc.
* Preserve non-standard http ports

* Revert modxcms#16071

Solves problem in 16071 in a different way while fixing issue modxcms#16194.

* Revert "Preserve non-standard http ports"

This reverts commit d34ed5e.

* Remove debug logging

* Update modfilemediasource.class.php

A couple minor tweaks
* New translations setting.inc.php (Ukrainian)

* New translations default.inc.php (French)
* Update phpThumb 1.7.18-202208061319

* Add AVIF image format to 'upload_files' & 'uploads_images' system settings

* Add AVIF to 'upload_files' &'upload_images' while updating Modx
@Maef Maef requested review from opengeek and Mark-H as code owners November 27, 2022 12:11
@cla-bot cla-bot bot added the cla-signed CLA confirmed for contributors to this PR. label Nov 27, 2022
@Maef Maef closed this Nov 27, 2022
@Maef
Copy link
Author

Maef commented Nov 27, 2022

Sorry wrong branch. Should have been 2.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed CLA confirmed for contributors to this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.