Permalink
Browse files

Upgrade django-browserid.

Remove httplib2.
Add requests.
  • Loading branch information...
1 parent fb2a39e commit 72b7ea5fcb5642f2c40096a5d659d2051e9e8394 @pmac pmac committed Mar 5, 2012
Showing 400 changed files with 16,810 additions and 20,403 deletions.
View
@@ -23,8 +23,8 @@
ENV_BRANCH = {
# 'environment': [PROJECT_BRANCH, VENDOR_BRANCH],
- 'dev': ['base', 'master'],
- 'stage': ['master', 'master'],
+ 'dev': ['master', 'master'],
+ 'stage': ['stage', 'master'],
'prod': ['prod', 'master'],
}
View
@@ -302,6 +302,8 @@ def JINJA_CONFIG():
BROWSERID_CREATE_USER = True
LOGIN_REDIRECT_URL = '/'
LOGIN_REDIRECT_URL_FAILURE = '/'
+PROTOCOL = 'https://'
+DOMAIN = 'mozillalabs.com'
PUSH_DEFAULT_HUB = 'http://superfeedr.com/hubbub'
PUSH_DEFAULT_HUB_USERNAME = ''
View
@@ -28,5 +28,8 @@ ADMINS = (
MANAGERS = ADMINS
-
DEBUG = TEMPLATE_DEBUG = True
+
+PROTOCOL = 'http://'
+DOMAIN = 'localhost'
+PORT = 8000
@@ -0,0 +1,23 @@
+Metadata-Version: 1.0
+Name: certifi
+Version: 0.0.8
+Summary: Mozilla's SSL Certs.
+Home-page: http://python-requests.org
+Author: Kenneth Reitz
+Author-email: me@kennethreitz.com
+License: ISC
+Description: Certifi: Python SSL Certificates
+ ================================
+
+ This package may or may not become a dependency of Requests. Mozilla's
+ CA bundle for SSL is MPL / GPL licensed. This will allow for that.
+Platform: UNKNOWN
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Intended Audience :: Developers
+Classifier: Natural Language :: English
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2.5
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.0
+Classifier: Programming Language :: Python :: 3.1
@@ -0,0 +1,6 @@
+certifi/__init__.py
+certifi/core.py
+certifi.egg-info/PKG-INFO
+certifi.egg-info/SOURCES.txt
+certifi.egg-info/dependency_links.txt
+certifi.egg-info/top_level.txt
@@ -0,0 +1,10 @@
+../certifi/__init__.py
+../certifi/core.py
+../certifi/cacert.pem
+../certifi/__init__.pyc
+../certifi/core.pyc
+./
+dependency_links.txt
+PKG-INFO
+SOURCES.txt
+top_level.txt
@@ -0,0 +1 @@
+from .core import where

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+"""
+ceritfi.py
+~~~~~~~~~~
+
+This module returns the installation location of cacert.pem.
+"""
+
+import os
+
+def where():
+ f = os.path.split(__file__)[0]
+
+ return os.path.join(f, 'cacert.pem')
+
+if __name__ == '__main__':
+ print(where())
@@ -0,0 +1,38 @@
+Metadata-Version: 1.0
+Name: chardet
+Version: 1.0.1
+Summary: Universal encoding detector
+Home-page: http://chardet.feedparser.org/
+Author: Mark Pilgrim
+Author-email: mark@diveintomark.org
+License: LGPL
+Download-URL: http://chardet.feedparser.org/download/
+Description: Universal character encoding detector
+ -------------------------------------
+
+ Detects
+ - ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants)
+ - Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese)
+ - EUC-JP, SHIFT_JIS, ISO-2022-JP (Japanese)
+ - EUC-KR, ISO-2022-KR (Korean)
+ - KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic)
+ - ISO-8859-2, windows-1250 (Hungarian)
+ - ISO-8859-5, windows-1251 (Bulgarian)
+ - windows-1252 (English)
+ - ISO-8859-7, windows-1253 (Greek)
+ - ISO-8859-8, windows-1255 (Visual and Logical Hebrew)
+ - TIS-620 (Thai)
+
+ Requires Python 2.1 or later
+
+Keywords: encoding,i18n,xml
+Platform: POSIX
+Platform: Windows
+Classifier: Development Status :: 4 - Beta
+Classifier: Environment :: Other Environment
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Classifier: Topic :: Text Processing :: Linguistic
@@ -0,0 +1,41 @@
+setup.cfg
+setup.py
+chardet/__init__.py
+chardet/big5freq.py
+chardet/big5prober.py
+chardet/chardistribution.py
+chardet/charsetgroupprober.py
+chardet/charsetprober.py
+chardet/codingstatemachine.py
+chardet/constants.py
+chardet/escprober.py
+chardet/escsm.py
+chardet/eucjpprober.py
+chardet/euckrfreq.py
+chardet/euckrprober.py
+chardet/euctwfreq.py
+chardet/euctwprober.py
+chardet/gb2312freq.py
+chardet/gb2312prober.py
+chardet/hebrewprober.py
+chardet/jisfreq.py
+chardet/jpcntx.py
+chardet/langbulgarianmodel.py
+chardet/langcyrillicmodel.py
+chardet/langgreekmodel.py
+chardet/langhebrewmodel.py
+chardet/langhungarianmodel.py
+chardet/langthaimodel.py
+chardet/latin1prober.py
+chardet/mbcharsetprober.py
+chardet/mbcsgroupprober.py
+chardet/mbcssm.py
+chardet/sbcharsetprober.py
+chardet/sbcsgroupprober.py
+chardet/sjisprober.py
+chardet/universaldetector.py
+chardet/utf8prober.py
+chardet.egg-info/PKG-INFO
+chardet.egg-info/SOURCES.txt
+chardet.egg-info/dependency_links.txt
+chardet.egg-info/top_level.txt
@@ -0,0 +1,75 @@
+../chardet/__init__.py
+../chardet/big5freq.py
+../chardet/big5prober.py
+../chardet/chardistribution.py
+../chardet/charsetgroupprober.py
+../chardet/charsetprober.py
+../chardet/codingstatemachine.py
+../chardet/constants.py
+../chardet/escprober.py
+../chardet/escsm.py
+../chardet/eucjpprober.py
+../chardet/euckrfreq.py
+../chardet/euckrprober.py
+../chardet/euctwfreq.py
+../chardet/euctwprober.py
+../chardet/gb2312freq.py
+../chardet/gb2312prober.py
+../chardet/hebrewprober.py
+../chardet/jisfreq.py
+../chardet/jpcntx.py
+../chardet/langbulgarianmodel.py
+../chardet/langcyrillicmodel.py
+../chardet/langgreekmodel.py
+../chardet/langhebrewmodel.py
+../chardet/langhungarianmodel.py
+../chardet/langthaimodel.py
+../chardet/latin1prober.py
+../chardet/mbcharsetprober.py
+../chardet/mbcsgroupprober.py
+../chardet/mbcssm.py
+../chardet/sbcharsetprober.py
+../chardet/sbcsgroupprober.py
+../chardet/sjisprober.py
+../chardet/universaldetector.py
+../chardet/utf8prober.py
+../chardet/__init__.pyc
+../chardet/big5freq.pyc
+../chardet/big5prober.pyc
+../chardet/chardistribution.pyc
+../chardet/charsetgroupprober.pyc
+../chardet/charsetprober.pyc
+../chardet/codingstatemachine.pyc
+../chardet/constants.pyc
+../chardet/escprober.pyc
+../chardet/escsm.pyc
+../chardet/eucjpprober.pyc
+../chardet/euckrfreq.pyc
+../chardet/euckrprober.pyc
+../chardet/euctwfreq.pyc
+../chardet/euctwprober.pyc
+../chardet/gb2312freq.pyc
+../chardet/gb2312prober.pyc
+../chardet/hebrewprober.pyc
+../chardet/jisfreq.pyc
+../chardet/jpcntx.pyc
+../chardet/langbulgarianmodel.pyc
+../chardet/langcyrillicmodel.pyc
+../chardet/langgreekmodel.pyc
+../chardet/langhebrewmodel.pyc
+../chardet/langhungarianmodel.pyc
+../chardet/langthaimodel.pyc
+../chardet/latin1prober.pyc
+../chardet/mbcharsetprober.pyc
+../chardet/mbcsgroupprober.pyc
+../chardet/mbcssm.pyc
+../chardet/sbcharsetprober.pyc
+../chardet/sbcsgroupprober.pyc
+../chardet/sjisprober.pyc
+../chardet/universaldetector.pyc
+../chardet/utf8prober.pyc
+./
+dependency_links.txt
+PKG-INFO
+SOURCES.txt
+top_level.txt
@@ -0,0 +1,26 @@
+######################## BEGIN LICENSE BLOCK ########################
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+# 02110-1301 USA
+######################### END LICENSE BLOCK #########################
+
+__version__ = "1.0.1"
+
+def detect(aBuf):
+ import universaldetector
+ u = universaldetector.UniversalDetector()
+ u.reset()
+ u.feed(aBuf)
+ u.close()
+ return u.result
Oops, something went wrong.

0 comments on commit 72b7ea5

Please sign in to comment.