mozilla/kuma — pull request #238 by lmorchard (2012-05-29 17:02:02+00:00)
Title: fix bug 757940: Ensure MindTouch API use can be switched off

* Set DEKIWIKI_ENDPOINT to False by default in settings.py

* When DEKIWIKI_ENDPOINT is false:

* All calls to dekicompat.backends.authenticate() return False (ie.
MindTouch logins are refused)

* Successful logins via BrowserID skip MindTouch login
and setting of the `authtoken` cookie

* Disable MindTouch API in devmo_url() helper

* Disable Doc of the Day on docs landing page when MindTouch
popularity data is unavailable

* Disable most-active docs sidebar when MindTouch feed is
unavailable

* Ensure MindTouch feed for user activity is never fetched when
unavailable

* Disable POST to update MindTouch user on UserProfile.save()

* Disable MindTouch username check in registration forms