MODX Revolution 2.2.9-pl

Merge branch 'release-2.2'

* release-2.2: (71 commits)
  Bump version for 2.2.9-pl release
  Add SDK distribution
  Critical error when resourceTree not initialized (cherry picked from commit 6eda3f1c940fefc99d5cfc6d082ce301855b96a4)
  Avoid suppressed warnings with ob_get_level()
  Update core/lexicon/en/workspace.inc.php
  Bump version for 2.2.8-pl release
  Various documentation corrections
  Fix xPDOIterator->next() using void return value
  Fix undefined constant object in xPDO->toCache()
  Fix xPDO::prepare() sending no driver_options
  Fix xPDO::getInstance() when reusing existing
  Fix invalid call to $this->xpdo->log()
  [#9864] Identify compound PK's properly in xPDOQuery::parseConditions()
  Bump version for 2.2.8-dev
  [#10043] Fix class-loading LFI in registerLogging
  [#6937] Fix Persistent/Reflected XSS in User Messaging
  Optimizing ExtJS Images
  Set default error_handler_types to error_reporting()
  add changelog entry
  [#6294] Remove patch
  ...
MODX Revolution 2.2.10-pl

Merge branch 'release-2.2'

* release-2.2: (29 commits)
  Bump version for 2.2.10-pl release
  Increase modTransportPackage version columns range to smallint
  [#10211] Fix parser state bug triggered by media sources
  Remove executable bit from files
  Fixed loading modResource derivatives based on objects allowListingInClassKeyDropdown setting, not using showInContextMenu for that
  Fix js error on MODx.Console.close()
  Minor bug fixes
  Updated Dutch lexicons for 2.2.10
  Update update.class.php
  italian lexicon for modx 2.2.10
  Update file.inc.php
  Update setting.inc.php
  Fixed bugs and updated language file
  French translation by @ackwa
  Updated and fixed some of the Brazilian Portuguese translation files.
  Update Japanese lexicon topics
  Updated encoding for Brazilian Portuguese lexicon files
  Updating the lexicon files for Brazilian Portuguese
  Add a README.md
  Update German lexicon topics
  ...
MODX Revolution 2.2.11-pl

Merge branch 'release-2.2'

* release-2.2: (45 commits)
  Bump version for 2.2.11-pl release
  Fix lexicon getList processor
  moved $count after DB and file results merge (cherry picked from commit 7fa6b7b8971602640610c222942c52d64584079c)
  moved $where search update before DB quering (cherry picked from commit b155a77bcf9551e28a8a4035801c141bd97aca23)
  Add separation between a minute (singular) and minutes (plural)
  Confirm navigation when unsaved changes exist in resource panel
  Prevent navigation if there are unsaved changes on the resource panel
  Resolve xPDO::parseBindings() error from /e modifier fix
  Prevent processor property overwriting in modX::runProcessor()
  new modDeprecatedProcessor properties
  bug - processors properties overwrite
  phpdoc update
  Fix deprecated returnValue
  Changed message_limit and delay
  Handle "preview" resource button visibility according to the "deleted" status of the resource
  Need some sleep...
  Missed makeUrl call
  Fix warnings (LOG_LEVEL_WARN) about alias not found for deleted resources
  Make sure we pass the context key when reloading a resource after changing its template, as well as a fix for the desired action
  Bump version for 2.2.11-dev
  ...
Only execute handlePreview if the "deleted" value changed
Allow FormPanel into dashboard widgets +
Load Recently edited resources assets only when the widget is enabled
Correct JSDoc
MODX Revolution 2.2.12-pl

Merge branch 'release-2.2'

* release-2.2:
  Bump version for 2.2.12-pl release
  Fixed not working core phpThumb with some extras
  Translated new phrases to German
  Prevent redirect of base_url when query string exists
  Updated copyright dates
  Bump version for 2.2.12 dev
  Do not trigger confirmation dialog when the empty cache checkbox was triggered Affects CacheMaster users.
  Seriously... I think I need coffee
  Oops, put lexicon back in order.
  Improved "prevent navigation" alert by tracking field changes instead of using flawed isDirty() check.
  [REBUILD] Allow disabling the confirm navigation popup
French lexicons update
Fixed an error while event throws false or non array

(cherry picked from commit 3781653fe5762a5ff7d2558f310b81158d0176f9)
Updated check if the event output is an array

(cherry picked from commit aca2861456bb121a750f5cc103149510951b534b)
Fixed an error while element not found event returns false or non array
Validate context key provided to modX::initialize()

Fixes #11180
Add upload functionality directly to package manager grid

(cherry picked from commit 0a2901fdadb298f7b9d29f2d9dc81e141fc4461f)
remove commented-out line for ocd

(cherry picked from commit 309a64fe9a39417e8867aa7a5e7c5bf12deb7751)
Add new processor to allow custom core_path location

(cherry picked from commit 22e8e288fc67e46e622800bfa853a274785bde58)
Restrict upload to zip only, and switch to new processor

(cherry picked from commit 231f2fb4fd198d313e7db2d6d2f9f36ed294ccbf)
Disable autoupload to let users upload more than one package
Add upload functionality directly to package manager grid

* pkg-upload:
  Disable autoupload to let users upload more than one package
  Restrict upload to zip only, and switch to new processor
  Add new processor to allow custom core_path location
  remove commented-out line for ocd
  Add upload functionality directly to package manager grid
Added pdf to content type

Finally!

(cherry picked from commit 56e943b0c0db254c09649e2623ea0467094a24aa)
Fix issue where grid stores loaded only 20 records even if pagination were disabled