This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/debian/control b/debian/control | |
index 4ef031f..60923f1 100644 | |
--- a/debian/control | |
+++ b/debian/control | |
@@ -2,7 +2,7 @@ Source: ideasbox | |
Section: python | |
Priority: extra | |
Maintainer: Yohan Boniface <hi@yohanboniface.me> | |
-Build-Depends: debhelper (>= 9), python, dh-virtualenv (>= 0.6) | |
+Build-Depends: debhelper (>= 9), python, dh-virtualenv (>= 0.6), python-pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/content/2015.04.ecosysteme-stockage.rst b/content/2015.04.ecosysteme-stockage.rst | |
index 357c2bd..a1e4d47 100644 | |
--- a/content/2015.04.ecosysteme-stockage.rst | |
+++ b/content/2015.04.ecosysteme-stockage.rst | |
@@ -37,6 +37,7 @@ Il y a plusieurs `implémentations <https://github.com/jcoglan/restore>`_ du ser | |
.. image:: {filename}/images/remotestorage-widget.png | |
+ :align: left | |
:alt: Remote Storage widget |
I hereby claim:
- I am ametaireau on github.
- I am ametaireau (https://keybase.io/ametaireau) on keybase.
- I have a public key whose fingerprint is D5EA F838 FBDD BEE5 A80B C04A 0788 05D8 67F5 6F12
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cornice/service.py b/cornice/service.py | |
index 3e14681..ade2551 100644 | |
--- a/cornice/service.py | |
+++ b/cornice/service.py | |
@@ -216,7 +216,6 @@ class Service(object): | |
def callback(context, name, ob): | |
config = context.config.with_package(info.module) | |
config.add_cornice_service(self) | |
- | |
info = venusian.attach(self, callback, category='pyramid', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cliquet/authorization.py b/cliquet/authorization.py | |
index a6d6fcb..fa136e4 100644 | |
--- a/cliquet/authorization.py | |
+++ b/cliquet/authorization.py | |
@@ -16,7 +16,6 @@ class AuthorizationPolicy(object): | |
def permits(self, context, principals, permission): | |
if permission == DYNAMIC: | |
permission = context.required_permission | |
- | |
if permission == 'create': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getAuth(self): | |
self.account_server_url = os.getenv("FXA_URL", DEFAULT_FXA_URL) | |
self.oauth_server_url = os.getenv("FXA_OAUTH_URL", | |
DEFAULT_FXA_OAUTH_URL) | |
self.client_id = os.getenv("FXA_CLIENT_ID") | |
random_user = uuid.uuid4().hex | |
user_email = "loop-%s@restmail.net" % random_user | |
acct = TestEmailAccount(user_email) | |
client = Client(self.account_server_url) | |
fxa_session = client.create_account(user_email, password=random_user) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
sys.path.insert(0, 'deps') | |
import gevent | |
def routine(): | |
from fxa import crypto | |
print crypto.quick_stretch_password('a@n.o', 't') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/requirements.txt b/requirements.txt | |
index 7a603ec..a4b1d71 100644 | |
--- a/requirements.txt | |
+++ b/requirements.txt | |
@@ -1,8 +1,12 @@ | |
+-f file:///home/ametaireau/.pip-wheelhouse | |
+PasteDeploy==1.5.2 | |
+WebOb==1.5.0a1 | |
+argparse==1.2.1 | |
+-e git+git@github.com:mozilla-services/cliquet.git@27786029dbfa80c519f320eaaf120dd135986e72#egg=cliquet-origin/prepare-2.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function shouldInstall() { | |
var parts = navigator.userAgent.split(" "); | |
var browser_and_version = parts[parts.length() - 1]; | |
var split = browser_and_version.split('/') | |
var browser = split[0]; | |
var version = parseFloat(split[1]); | |
// Only Firefox < 41 needs to be patched nowadays. | |
// http://caniuse.com/#feat=online-status | |
return (browser === "Firefox" && version < 41) |