MODX Revolution 2.2.0-rc2

Merge branch 'release-2.2'

* release-2.2: (193 commits)
  Bump version for 2.2.0-rc2 release
  Fix various combos and pagination
  [#3033] Add method to reload Context data in same request
  [#6372] Add explicit resource_duplicate permission for duplicating a resource
  Fix pagination of permissions combo
  Fix extjs resetting strong and em tags in mgr
  Cleanup the dashboard CSS a bit
  [#6364] Fix incorrect lexicon reference in package versions grid
  [#6365] Add manager_login_url_alternate setting which allows for setting a custom manager login URL
  Translated the new phrases to German
  Translated the new phrases to German
  [#6077] Override PHP default timezone via System/Context Settings
  [#5709] Fix issue where drag/drop in left trees did not work when package management was open
  [#6153] Prevent enter key from sending Message when typing in messages page
  Add sanity check for context checking on resource update controller
  [#6349] Properties can now belong to areas, and are grouped in grid by area
  [#6344] Fix various pathing issues when drag/dropping files into content
  modX::toQueryString() numPrefix and argSeparator support
  Fix modX::toQueryString() invalid parameter
  [#5941] Add anonymous Load Only ACL when creating contexts
  ...
MODX Revolution 2.2.0-rc3

Merge branch 'release-2.2'

* release-2.2: (33 commits)
  Bump version for 2.2.0-rc3 release
  [#6247] Fix additional minify issues with CMP controllers in MODX_ASSETS_PATH
  Added default style for iconCls on Ext buttons Added default styles for close button on closable tabs
  Fixed date formatting bug in package getlist processor + 3 missing CSS properties in xtheme-modx
  Translated the changed phrase in namespace.inc.php to German
  [#6428] Fix improperly designated tooltip and UI for create namespace window
  Remove debug call
  Fix various regression issues with rename/delete files/directories in the Files tree
  Fix for date_timezone system setting
  Ensure hideFiles property works for the files tree
  Corrected key names of date_timezone settings in setting.inc.php in German translation
  Fix min_cachePath to respect MODX cache_path
  Ensure hideFiles property works for the files tree
  Corrected key names of date_timezone settings in setting.inc.php in German translation
  Fix min_cachePath to respect MODX cache_path
  [#6383] Add index.php to minify paths
  Prevent TVs tab from showing in Resources if the only TVs are of type "hidden"
  [#6413] Fix missing date_timezone setting description
  [#6297] Prevent invalid characters in property set names
  [#5997] Fix issue where components dirs were being created in assets with non-standard assets directory paths
  ...
MODX Revolution 2.2.0-pl

Merge branch 'release-2.2'

* release-2.2: (43 commits)
  Bump version for 2.2.0-pl release
  Remove unnecessary driverOptions in modX constructor
  Update copyright dates
  [#6558] Fix alignment of text in package install buttons
  Bump version for 2.2.2-pl release
  [#6559] Fix issue with save btn on resources not enabling after template change
  Fix handling of driverOptions in xPDOConnection instances
  Better handling of dynamic lexicon topic adding and deprecated manager controllers
  Fix cache_db issue with modTransportPackage->package_name
  Fix PACKAGE_ACTION in modPackageGetAttributeProcessor
  [#6551] Fix issue in Quick modals with IDs and templates
  Better formatting for manager log screen
  [#6387] Update Swedish translation
  Prevent dropping of Resource nodes on Resources that do not allow children in tree
  [#5905] Refactor new package versions to run ACTION_UPGRADE
  Updating French lexicon files
  [#6120] Improve static element behavior with immutable sources
  [#6551] Fix issue where ID instead of name of Template showed on resource combo
  Convert plugin event list code to class
  [#6509] Fix minify issue when DOCUMENT_ROOT is a symlink
  ...
MODX Revolution 2.2.0-pl2

Merge branch 'release-2.2'

* release-2.2:
  Bump version for 2.2.0-pl2 release
  [#6470] Add upgrade script for 2.2.0-pl2 upgraders for media source fix
  [#6564] Fix issue where save button on New Resource does not work due to JS DOM error
  [#6470] Fix issue where Media Sources could not be protected on new installs only
  Translated the new phrase in element.inc.php to German
MODX Revolution 2.2.1-pl

Merge branch 'release-2.2'

* release-2.2: (213 commits)
  Bump version for 2.2.1-pl release
  Fix uninstalled state to report 503 error
  [xPDO] Updated xPDO to 2.2.4-pl release
  Override modAccess->getOne for Principal aggregate
  Add Group/UserPrincipal aggregates to modAccess
  Fix CSS for windows
  [#7387] Add New Category button to Element tree toolbar
  [#7518] Fix issue that prevented absolute URLs in media-source bound TVs
  [#7521] Allow filtering of usergroup by request on users page
  Update of Czech translation
  Oprava 'kriticke chyby'
  Correction of Czech translation
  Correction of Czech translation in settings
  Refactor aggregate/composite criteria support
  Remove deprecated comments
  [ReUp] Add assets_path field to modNamespace
  Fix xPDOObject::_loadInstance for graph objects
  Refactor schema parsing using SimpleXML
  Translated new phrases in default.inc.php and user.inc.php to German
  Scale back prior commit a bit to prevent issues with field loading
  ...
MODX Revolution 2.2.2-pl

Merge branch 'release-2.2'

* release-2.2: (50 commits)
  Update release date in changelog
  Fix new CLI installs broken by upgrade fix
  Preserve GET parameters for container_suffix redirects
  Allow custom FURLs via URL rewriting again
  [#7427] Fix request_method_strict with FURLs off
  Bump version for 2.2.2-pl release
  Add ability to extend manager session by relogging in without leaving manager screen; Add better handling for AJAX exceptions, displaying AJAX errors
  [#7649] Prevent E_NOTICE when using ago filter within <1sec difference
  [#7568] Add JSON to default content types
  [#7549] Open new window for phpinfo in system info page
  Flip page title on manager pages for easier readability in browser tabs; closes #300
  [#7543] Add extra sanity checks for ellipsis output filter
  Fix modAction overloading issue
  Actually fix CLI upgrades not loading config data
  Fix bug with creating a new category in the root causing a js error and not properly closing the window and refreshing the tree.
  Add config_ttf_directory setting for ttf font folder to make water-text-marks work
  CLI upgrades not loading MODX config data
  [#7652] Sessionless contexts allowing anonymous access to unpublished resources
  [#7646] Increase size of modSession.id field
  Fix notice error in tv/create processor
  ...
MODX Revolution 2.2.3-pl

Merge branch 'release-2.2'

* release-2.2: (38 commits)
  Bump version for 2.2.3-pl release
  Update changelog
  Added feature to be able to set default context for new Resources.
  Added setting of *Prerender placeholders
  Fix focusing on drag'n'drop
  Pass http_host in provider requests
  [#7933] Add friendly_urls_strict to optionally enable non-canonical redirects
  [#6428] Fix help tooltip for new namespace window
  [#8054] Fix transport provider verify processor consistency
  [#8051] Added extra sanitization for modFileHandler.sanitizePath
  Update copyright in various places to 2012
  Update core/lexicon/de/filters.inc.php
  [#7925] Fix error editing Resources in multi-context sites
  Bunch of language file updates.
  Change test*.php to /test*.php in main .gitignore
  Further fixes and consistency improvements.
  Update Dutch setup lexicons
  Bump version for 2.2.5-pl release
  [#8060] Implement __isset() to fix empty()/isset() on hydrated vars
  Add check for open_basedir in modtransportpackage
  ...
MODX Revolution 2.2.4-pl

Merge branch 'release-2.2'

* release-2.2:
  Bump version for 2.2.4-pl release
  [#8105], [#8051] Fix modFileHandler::sanitizePath() infinite recursion
  [#8051] Fix issue that caused breakage in modFileMediaSource
MODX Revolution 2.2.5-pl

Merge branch 'release-2.2'

* release-2.2: (130 commits)
  Bump version for 2.2.5-pl
  [#8753] fixing that trivial variable error.
  French translation update
  [#8196] Changed event type for fieldChangeEvent for combo boxes
  [#8186] Adding FC rules checking based on reloadData.
  [#8790] adding a possibility to hide the new password after changing via profile reset.
  [#7631] add changelog entry
  Fix duplicate beforeSave() in modProcessorObjectCreate
  Italian translation for Revo 2.2.5
  [#7551] adding an additional check so that the destination static file can't be an existing directory
  Czech translation update
  Correction in setting lexicon
  [#7654] Fix Update processor for ResourceGroup-restricted TVs
  Preserve backwards compatibility(add 'object' key) after objectType fix
  Last changes in the German translation for Revo 2.2.5
  [#8767] add changelog entry
  Possible fix for bug [#4430]
  [#8767] possible bug fix
  [#8545] add changelog entry
  [#8089] add changelog entry
  ...
MODX Revolution 2.2.6-pl

Merge branch 'release-2.2'

* release-2.2: (40 commits)
  Bump version for 2.2.6-pl
  [#9178] Use PHP time for valid check in modDbRegisterMessage::getValidMessages()
  [#9165] Fix modError::hasError false positives when loaded via getService
  [#9029] Remove modRequest->loadErrorHandler dependency in runProcessor
  [#9156] Fix reload data for rendering multi-value TV types properly
  Prevent re-mapping custom Policies and Policy Templates
  [#7916] Fix Area functionality in Element Properties and Property Sets
  [#9080] Disable allow_tags_in_post System Setting on upgrade
  Add configcheck warning for allow_tags_in_post settings enabled
  fix css misprints
  Remove recursion in onCellDblClick() modx.grid.local.property.js
  Updated Dutch lexicon
  Remove unnecessary connector call on login tpl
  Update phpdoc comment
  Image optimization applied across distribution (changelog entry)
  Image Optimization
  Fixed copyright 2011 to 2012
  [#9006] Fix ImageMagick which convert issue (PHP 5.3.2+)
  CS translation of updated strings in Setting Lexicon
  [#9080] Avoid filter order compromises in modX::sanitize()
  ...
[9527] - See http://tracker.modx.com/issues/9527
Allow password reset with user email
MODX Revolution 2.2.7-pl

Merge branch 'release-2.2'

* release-2.2: (131 commits)
  Bump version for 2.2.7-pl
  Bump version for real 2.2.7-pl release
  Revert [#6271] Limit reserved class_key column...
  Bump version for 2.2.7-pl release
  [#6271] Limit reserved class_key column to inherit="single"
  System Setting update processor E_NOTICE errors
  Allow unpublished in modContext::getResourceURI()
  Minor correction of Czech lexicon
  Update of Czech localization for 2.2.7
  [#9793] Preserve keys in xPDOObject::getMany()
  [#9773] Fix classKey errors viewing manager actions
  Bump version for 2.2.7-dev
  Minor updates to the Dutch lexicon
  PHPDoc…
  [9774] - See http://tracker.modx.com/issues/9774 Make sure we can not unpublish a 'site_start' resource via tree contextual menu
  Update copyright dates
  italian lexicon update
  [#9093] Use dark grey vs green for collapse tab
  [#8138] add changelog entry
  [9237] - See http://tracker.modx.com/issues/9237 Make sure modContextSetting object are given in the create/update processor responses
  ...
Translated the new phrases $_lang['setting_cache_alias_map'] and $_lang['setting_cache_alias_map_desc'] in setting.inc.php.

Signed-off-by: Jan-Christoph Ihrens <ihrens@cc-services.de>
Fix browser listing in root after media source change
Refresh files after upload if no tree folder was selected (root)
Fix remove file from root if no folder selected in tree
Refresh file list after file remove

Removed injection of { ctx: MODx.ctx } into .run() method
[#9896] Reduces time to process TVs

Creates a cache for results of directory scan.
Modifies modTemplateVar::getRenderDirectories() for use of this cache.

Signed-off-by: Anton Andersen <anton.a.andersen@gmail.com>
[#9859] Fix a near infinite recursion loop on TV ouptut filtering

Make modOutputFilter->filter() convert $ouptut into a string
if there were any processing.

Signed-off-by: Anton Andersen <trianman@gmail.com>
[#9946] - Please see http://tracker.modx.com/issues/9946