Remove SessionManager, temporarily
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 1 Feb 2016 17:28:29 +0000 (12:28 -0500)
committerBryanDavis <bdavis@wikimedia.org>
Mon, 1 Feb 2016 22:06:49 +0000 (22:06 +0000)
commit5083e810ebd5303bef41c2b00cafe655f9ee13eb
tree52584ee908d0f8aa714315ddb5b7bbce96ccd2f9
parent7489189d7c13448114963520fb383cb2c7765b1e
Remove SessionManager, temporarily

The plan here is to take it out of 1.27.0-wmf.12 and put it back in
1.27.0-wmf.13.

Since BotPasswords depends on SessionManager, that's getting temporarily
removed too.

This reverts the following commits:
6acd424e0dbc322e8b9a141bd2625453c1b9b6f1 SessionManager: Notify AuthPlugin before calling hooks
4d1ad32d8acbd443346253d2f6a95024c833295c Close a loophole in CookieSessionProvider
fcdd643a46d87b677f6cdcc3ba9440e1472d8df7 SessionManager: Don't save non-persisted sessions to backend storage
058aec4c76129b7ee8541692a8a48f8046e15bb6 MessageCache: Don't get a ParserOptions for $wgUser before the end of Setup.php
b5c0c03bb708f8dad6e404969df8addc123984db SessionManager: Save user name to metadata even if the user doesn't exist locally
13f2f09a193215aa7a061d10a1955e172d06fa0a SECURITY: Fix User::setToken() call on User::newSystemUser
305bc75b27903237a9683ec1f329bcbec0ecd266 SessionManager: Don't generate user tokens when checking the tokens
7c4bd85d2152fd9fa975ea0fb5ffb1a0b804f99b RequestContext::exportSession() should only export persisted session IDs
296ccfd4a9a6ad3ae412db7e2408c923aaa61f64 SessionManager: Save 'persisted' flag in session metadata
94ba53f67731b0553a6178841d9506e384f74496 Move CSRF token handling into MediaWiki\Session\Session
46a565d6b00174e631d2022b47677e1a78e73897 Avoid false "added in both Session and $_SESSION" when value is null
c00d0b5d94c946b8883dd7062bf7160a199aa5c2 Log backtrace for "User::loadFromSession called before the end of Setup.php"
4eeff5b559e2ae7b8fa1f45572968ba28573a421 Use $wgSecureCookie to decide whether to actually mark secure cookies as 'secure'
7491b52f700e220814a8190781fd794b4dd88a20 Call session_cache_limiter() before starting a session
2c34aeea72471f9a598e67bdbf34bc5f9fb3f0c5 SessionManager: Abstract forceHTTPS cookie setting
9aa53627a53aabec0273cecf45a86e77927ef406 Ignore auth cookies with value 'deleted'
43f904b51a746d7f71ea2ab9951c5c98d269765b SessionManager: Kill getPersistedSessionId()
50c52563528ba3d765c3762211f98d6f3c0e39fd SessionManager: Add SessionBackend::setProviderMetadata()
f640d403154bc0a2b4f6d399582797a9e3bc6fcb SessionManager: Notify AuthPlugin when auto-creating accounts
70b05d1ac1e859bac2185b246e9b93ec9051e4d8 Add checks of $wgEnableBotPasswords in more places
bfed32eb78b6c720b16bc7ed60153fd2fe257a9e Do not raise a PHP warning when session write fails
722a7331ad8d98228511f8da38adc7a3c64dd617 Only check LoggedOut timestamp on the user loaded from session
4f5057b84b36eccd16627a6b29831dfdb4483b02 SessionManager: Change behavior of getSessionById()
66e82e614e157e39b03d813e71ddf23f53cf640b Fix typo in [[MediaWiki:Botpasswords-editexisting/en]]
f9fd9516d922d36291037baca7205a2b0ac9f15f Add "bot passwords"
d7716f1df0b692902571bf415a0984071e3e9a60 Add missing argument for wfDebugLog
a73c5b7395a07d490f7052fd3b2491ebd656b190 Add SessionManager

Change-Id: I2389a8133e25ab929e9f27f41fa9a05df8147a50
85 files changed:
RELEASE-NOTES-1.27
autoload.php
composer.json
docs/hooks.txt
includes/DefaultSettings.php
includes/DerivativeRequest.php
includes/FauxRequest.php
includes/GlobalFunctions.php
includes/MediaWiki.php
includes/OutputPage.php
includes/Setup.php
includes/WebRequest.php
includes/actions/RawAction.php
includes/actions/SubmitAction.php
includes/api/ApiBase.php
includes/api/ApiCheckToken.php
includes/api/ApiCreateAccount.php
includes/api/ApiLogin.php
includes/api/ApiLogout.php
includes/api/ApiMain.php
includes/api/ApiQueryTokens.php
includes/api/ApiTokens.php
includes/cache/MessageCache.php
includes/context/RequestContext.php
includes/installer/MysqlUpdater.php
includes/installer/PostgresUpdater.php
includes/installer/SqliteUpdater.php
includes/objectcache/ObjectCacheSessionHandler.php [new file with mode: 0644]
includes/session/BotPasswordSessionProvider.php [deleted file]
includes/session/CookieSessionProvider.php [deleted file]
includes/session/ImmutableSessionProviderWithCookie.php [deleted file]
includes/session/PHPSessionHandler.php [deleted file]
includes/session/Session.php [deleted file]
includes/session/SessionBackend.php [deleted file]
includes/session/SessionId.php [deleted file]
includes/session/SessionInfo.php [deleted file]
includes/session/SessionManager.php [deleted file]
includes/session/SessionManagerInterface.php [deleted file]
includes/session/SessionProvider.php [deleted file]
includes/session/SessionProviderInterface.php [deleted file]
includes/session/Token.php [deleted file]
includes/session/UserInfo.php [deleted file]
includes/specialpage/SpecialPageFactory.php
includes/specials/SpecialBotPasswords.php [deleted file]
includes/specials/SpecialChangePassword.php
includes/specials/SpecialUserlogin.php
includes/specials/SpecialUserlogout.php
includes/user/BotPassword.php [deleted file]
includes/user/LoggedOutEditToken.php [deleted file]
includes/user/User.php
languages/i18n/en.json
languages/i18n/qqq.json
languages/messages/MessagesEn.php
maintenance/archives/patch-bot_passwords.sql [deleted file]
maintenance/postgres/archives/patch-bot_passwords.sql [deleted file]
maintenance/postgres/tables.sql
maintenance/tables.sql
tests/TestsAutoLoader.php
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/TestLogger.php [deleted file]
tests/phpunit/includes/api/ApiCreateAccountTest.php
tests/phpunit/includes/api/ApiLoginTest.php
tests/phpunit/includes/api/ApiTestCase.php
tests/phpunit/includes/api/ApiTestCaseUpload.php
tests/phpunit/includes/context/RequestContextTest.php
tests/phpunit/includes/session/BotPasswordSessionProviderTest.php [deleted file]
tests/phpunit/includes/session/CookieSessionProviderTest.php [deleted file]
tests/phpunit/includes/session/ImmutableSessionProviderWithCookieTest.php [deleted file]
tests/phpunit/includes/session/PHPSessionHandlerTest.php [deleted file]
tests/phpunit/includes/session/SessionBackendTest.php [deleted file]
tests/phpunit/includes/session/SessionIdTest.php [deleted file]
tests/phpunit/includes/session/SessionInfoTest.php [deleted file]
tests/phpunit/includes/session/SessionManagerTest.php [deleted file]
tests/phpunit/includes/session/SessionProviderTest.php [deleted file]
tests/phpunit/includes/session/SessionTest.php [deleted file]
tests/phpunit/includes/session/TestBagOStuff.php [deleted file]
tests/phpunit/includes/session/TestUtils.php [deleted file]
tests/phpunit/includes/session/TokenTest.php [deleted file]
tests/phpunit/includes/session/UserInfoTest.php [deleted file]
tests/phpunit/includes/upload/UploadFromUrlTest.php
tests/phpunit/includes/user/BotPasswordTest.php [deleted file]
tests/phpunit/includes/user/UserTest.php
tests/phpunit/mocks/session/DummySessionBackend.php [deleted file]
tests/phpunit/mocks/session/DummySessionProvider.php [deleted file]
tests/phpunit/phpunit.php