Fixed bug #018215: Information stays after deleting a file
(cherry picked from commit d36534d0a6b6e761eca003e71c29f386bab59e81)
Fixed bug #018271: Static cache is not generated on Event/Approve objects
(cherry picked from commit 0243aa6f2ce16074fe9d431df906db515f4827a0)
Fixed #018007: LDAP user and group strings are not escaped
Fixed #018066: optimize product statistics view (webshop)
Fixed #018970: Password in email
(cherry picked from commit ea09a02eb0ec0f162ecb4c2eb43791d7a2bcb3bd)
(cherry picked from commit 175e566650a5faf0664063a0e5517e9ec97ea799)
Fixed #019044: Static cache generation fails in https://
(cherry picked from commit 11c98a287fca0f9c89b4b6613a438e93f326f545)
Fixed #019268: eZHTTPTool::createRedirectUrl() is broken with "override_protocol" param
(cherry picked from commit 34631e49f5a9171a594825ffb2e443e2be525c65)
Fixed #019238: Vulnerability issue
Fixed #18231: Infinite loop on transaction when mysql is gone away
(cherry picked from commit 5c8656a787a3010b8f3096f33d614fbf17b2352c)
Fixed #19336: flatten.php database timeouts leading to segmentation fault.
(cherry picked from commit ffb7805e00714c8695bc6d5deb0e9867781b1284)
Fixed #019439: Section assignment in content edit doesn't clear cache
(cherry picked from commit cf48dbe4ace63b838e873f5a11ac4cfa82cf7c06)
- Implemented enhancement #16124: eZContentObjectTreeNode::createPermissionCheckingSQL() should define an index in temporary table

git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@24893 a01eee8c-daba-0310-acae-fa49f3023285
(cherry picked from commit f132cee4163373a4a3321e4199ccd2a6976a35ed)
Fixed #15628: 5th argument of eZOperationHandler::execute is not handled
Fixed #19572: GET parameters lost in SSLZone based redirection
(cherry picked from commit 0cde9ea5ac3c9dc9fb1f2924937e731e332295b7)
(cherry picked from commit 8353199ac53f5b19029798350f0450fd26bbb0af)

Conflicts:

	kernel/classes/ezsslzone.php
Implemented #010827: Adding a CLI trash purge script
(cherry picked from commit 50684d25657776b95d961592ab90f78d02fdef1c)

Signed-off-by: André Rømcke <ar@ez.no>
Implement #010827: Adding a CLI trash purge script

Some more fixes by gl regarding uninitialized variables.
(cherry picked from commit c3dfa23798052ec7982c256cb9d216f276309618)
Fix eZ Publish user login cross site scripting (XSS) vulnerability

See:
http://share.ez.no/community-project/security-advisories/ezsa-2012-010-ez-publish-user-login-cross-site-scripting-xss-vulnerability

Conflicts:

	design/standard/templates/content/datatype/edit/ezuser.tpl
Fixed #019567: Viewcache generation locks under traffic for user who has no permissions to view a page
(cherry picked from commit 21eee2339d179666adfb6de9ca427239bc473420)

Conflicts:

	kernel/classes/eznodeviewfunctions.php
(cherry picked from commit 5ab9e439fd027f5f28415b2e90f22b5df2f5ac47)

Conflicts:

	kernel/classes/eznodeviewfunctions.php
(cherry picked from commit 002ad4533f4465d9f3012df0699dc04c5e654ec6)
Fix #EZPLS-019567 regression repported by @joaoinacio in #439

Return to return pattern to avoid the issue and some minor cleanup whie at it.
(cherry picked from commit 7cb79bfbba2bb8a134ae1625b325d49428a8eb5e)

Conflicts:

	kernel/classes/eznodeviewfunctions.php
(cherry picked from commit 0f04784b807a8a20358896e3d44d16e01cf6c030)
Fixed XSS exploits caused by versionview

Conflicts:

	kernel/content/versionview.php