Page MenuHomePhabricator

Remove session limits and sequencing
ClosedPublic

Authored by epriestley on Jan 15 2014, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 4:55 AM
Unknown Object (File)
Sun, Nov 24, 2:17 AM
Unknown Object (File)
Sat, Nov 23, 3:35 PM
Unknown Object (File)
Tue, Nov 19, 7:51 AM
Unknown Object (File)
Fri, Nov 15, 1:05 PM
Unknown Object (File)
Fri, Nov 15, 1:41 AM
Unknown Object (File)
Thu, Nov 14, 10:55 PM
Unknown Object (File)
Mon, Nov 11, 3:22 AM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
T4310: Allow external users to establish real sessions
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rP2ec45d42a689: Remove session limits and sequencing
Summary

Ref T4310. Fixes T3720. This change:

  • Removes concurrent session limits. Instead, unused sessions are GC'd after a while.
  • Collapses all existing "web-1", "web-2", etc., sessions into "web" sessions.
  • Dramatically simplifies the code for establishing a session (like omg).
Test Plan

Ran migration, checked Sessions panel and database for sanity. Used existing session. Logged out, logged in. Ran Conduit commands.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
src/applications/auth/engine/PhabricatorAuthSessionEngine.php
103

nice catch