#7401 Allow custom middleware

v1.2.0
closed
sf-1 (616)
General
Cory Johns
2015-08-20
2014-05-19
No

Middleware should be an extension point so 3rd-party custom middleware can be added.

This will also allow removal of this SourceForge-specific code from Allura core:

if asbool(config.get('auth.method', 'local') == 'sfx'):
    import sfx.middleware
    d = h.config_with_prefix(config, 'auth.')
    d.update(h.config_with_prefix(config, 'sfx.'))
    app = sfx.middleware.SfxMiddleware(app, d)

Discussion

  • Dave Brondsema

    Dave Brondsema - 2014-05-19
    • status: in-progress --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2014-05-19

    Changes in allura:db/7401

     
  • Cory Johns

    Cory Johns - 2014-05-28

    Merged

     
  • Cory Johns

    Cory Johns - 2014-05-28
    • status: code-review --> closed
    • QA: Cory Johns
     
  • Dave Brondsema

    Dave Brondsema - 2015-01-05
    • Milestone: unreleased --> asf_release_1.2.0
     

Log in to post a comment.