[#299] - Integrate user logins with SFX

This commit includes

  • refactoring middleware-like things to be actual WSGI middleware
  • don't delete projects on registration failure; this caused more problems than it solved
  • redirect logged-in users to https and anon to http

Rick Copeland Rick Copeland 2010-05-17

added pyforge/pyforge/lib/custom_middleware.py
changed pyforge/pyforge/command/base.py
changed pyforge/pyforge/config/app_cfg.py
changed pyforge/pyforge/config/middleware.py
changed pyforge/pyforge/controllers/auth.py
changed pyforge/pyforge/controllers/root.py
changed pyforge/pyforge/controllers/test.py
changed pyforge/pyforge/lib/app_globals.py
changed pyforge/pyforge/lib/base.py
changed pyforge/pyforge/lib/helpers.py
changed pyforge/pyforge/model/project.py
changed pyforge/pyforge/model/session.py
changed pyforge/pyforge/tests/model/test_artifact.py
changed pyforge/pyforge/tests/helpers.py
changed pyforge/pyforge/websetup/schema.py
changed pyforge/sandbox.ini
changed pyforge/setup.py
pyforge/pyforge/lib/custom_middleware.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/command/base.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/config/app_cfg.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/config/middleware.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/controllers/auth.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/controllers/root.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/controllers/test.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/lib/app_globals.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/lib/base.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/lib/helpers.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/model/project.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/model/session.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/tests/model/test_artifact.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/tests/helpers.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/websetup/schema.py Diff Switch to side-by-side view
Loading...
pyforge/sandbox.ini Diff Switch to side-by-side view
Loading...
pyforge/setup.py Diff Switch to side-by-side view
Loading...