fix calculation of expiration date if there is a default expiration date set (but not forced) and the user does not want the link to expire.
Consolidate if statement, and update unit test
remove unused variable
Introduce app info xml parser including basic unit test - necessary for #10777
simplify xml parser code
handle invalid xml file
don't store private public-share-key in session
we no longer need to keep the session open for encryption
Merge pull request #12416 from owncloud/app-info-xml-parser-2

App info xml parser 2
replace \OC:: with \OC::->getSession()
Move namespaced constants to namespaced class
adding new config parameter for sqlite to specify the journal mode
Replace deprecated constant with new class constant
Replace some more "command -v" calls with the Helper method
fix failing unit test for the temp manager - concurrently executed unit tests influence each other
Merge pull request #12410 from owncloud/no_session_for_public_share_key

don't store private public-share-key in session
Merge pull request #12420 from owncloud/sqlite-wal-2

adding new config parameter for sqlite to specify the journal mode
[tx-robot] updated from transifex
Merge pull request #12421 from owncloud/issue/6101-remove-namespace-permission-constants

Issue/6101 remove namespace permission constants
because OC_User::login will create a new session we shall only try to login if user and pass are set

ensure to never destroy an existing session