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
  ...
Updating parent field after drag and drop

Update the parent fields if you currently editing a resource and drag and drop that resource.
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
  ...
[REBUILD] Allow disabling the confirm navigation popup
Improved "prevent navigation" alert by tracking field changes instead of using flawed isDirty() check.

The FormPanel.isDirty() check does a raw comparison between the original value and the current value of each of the fields. When using a rich text editor, there could be changes in the current content value of a resource due to changes in formatting (editors forcing a <p> root block) or encoding (& being turned into &amp;) which would result in the navigation popup. While yes, there are changes, no, the user did not make them so they should not be bothered with a popup.

The commit changes from looking at FormPanel.isDirty() to tracking field changes through the changeField event and a local flag.

This commit also resolves an issue where changing templates would show the warning during the reload.
Oops, put lexicon back in order.
Seriously... I think I need coffee
Do not trigger confirmation dialog when the empty cache checkbox was triggered
Affects CacheMaster users.
Only execute handlePreview if the "deleted" value changed
Bump version for 2.2.12 dev
Updated copyright dates
Improve Confirm Navigation feature and make configurable

Merge remote-tracking branch 'origin/pr/820' into release-2.2

* origin/pr/820:
  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
Prevent redirect of base_url when query string exists

Stripping query string from REQUEST_URI

Stripping query string from REQUEST_URI when comparing to base_url.
(cherry picked from commit 1b083e7b58c18886bd698b9ff15411e182477b08)
Allow FormPanel into dashboard widgets +
Load Recently edited resources assets only when the widget is enabled
Correct JSDoc
Translated new phrases to German
Fixed not working core phpThumb with some extras
Fix issues with phpthumb introduced in 2.2.11
Translated new phrases to German

* origin/pr/11132:
  Translated new phrases to German