<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bitmask-dev.git/src/leap/bitmask/bonafide, branch tests/ox</title>
<subtitle>[bitmask-dev] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/'/>
<entry>
<title>[feat] use bonafide Provider object as a singleton</title>
<updated>2017-10-06T16:38:42+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-10-06T09:50:36+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=a5cb9c9940b34252da66d43498d705980532f60c'/>
<id>a5cb9c9940b34252da66d43498d705980532f60c</id>
<content type='text'>
There was common situations where two provider instances where running
in parallel. And was creating weird errors (like getting wrong api_uri)
because the bootstrap deferreds were global but the Provider objects
not.

I don't like much singletons, but I think now is simpler than before.

- Resolves: #9073
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was common situations where two provider instances where running
in parallel. And was creating weird errors (like getting wrong api_uri)
because the bootstrap deferreds were global but the Provider objects
not.

I don't like much singletons, but I think now is simpler than before.

- Resolves: #9073
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fix initialization of default parameter to mutable data structure</title>
<updated>2017-09-21T16:16:27+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-09-21T15:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=a271852b1ba74ddbbf2b1c7cc509615ed8cd0664'/>
<id>a271852b1ba74ddbbf2b1c7cc509615ed8cd0664</id>
<content type='text'>
whoever wrote this in the first place needs to get introduced to
import-time initialization, even if it was me. one of the nastiest
python gotchas in my opinion :)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
whoever wrote this in the first place needs to get introduced to
import-time initialization, even if it was me. one of the nastiest
python gotchas in my opinion :)
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] do not send if-modified-header if file does not exist</title>
<updated>2017-09-21T16:15:38+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-09-21T14:47:58+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=e6b39d7037fb8385cd2052713f442416b4c4447a'/>
<id>e6b39d7037fb8385cd2052713f442416b4c4447a</id>
<content type='text'>
just to make the logic clear.
we should probably check that the file is not empty and it has valid
json (sanitized against the spec).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
just to make the logic clear.
we should probably check that the file is not empty and it has valid
json (sanitized against the spec).
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] check if there are newest configuration files</title>
<updated>2017-09-20T17:06:28+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-09-18T13:35:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=0d0459ac31f40d90270de0a9da8e1eac0b57784d'/>
<id>0d0459ac31f40d90270de0a9da8e1eac0b57784d</id>
<content type='text'>
here we port the if-modified-since conditional mechanism, so that we
only write the config if it is newer than whan we have.

we also add a line with the status code to the logs, so that it's easier
to debug.

note that the 'configs.json' file is never returning 304.

- Resolves: #8773
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
here we port the if-modified-since conditional mechanism, so that we
only write the config if it is newer than whan we have.

we also add a line with the status code to the logs, so that it's easier
to debug.

note that the 'configs.json' file is never returning 304.

- Resolves: #8773
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] we need to use 'GET' method to fetch provider configs</title>
<updated>2017-09-18T13:37:52+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-09-15T21:00:21+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=73e1944c876421cccd41206f83d0c5db83722607'/>
<id>73e1944c876421cccd41206f83d0c5db83722607</id>
<content type='text'>
The workaround is no needed anymore, if we do 'GET' instead of 'POST' to
fetch all the provider configuration jsons it works smoothly.

- Resolves: #9056
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The workaround is no needed anymore, if we do 'GET' instead of 'POST' to
fetch all the provider configuration jsons it works smoothly.

- Resolves: #9056
</pre>
</div>
</content>
</entry>
<entry>
<title>[style] pep8</title>
<updated>2017-08-11T18:24:27+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-08-11T18:24:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=002878b1a1d9ab241b1ba5c6e77c8656bcc6fc38'/>
<id>002878b1a1d9ab241b1ba5c6e77c8656bcc6fc38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] add workaround for invalid configs.json</title>
<updated>2017-08-11T18:21:59+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-08-11T15:31:41+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=7a5b050ca704792a9b1c87d038db9851e8802473'/>
<id>7a5b050ca704792a9b1c87d038db9851e8802473</id>
<content type='text'>
Old versions of the webapp let agent download an invalid.json, instead
of returning a 404. We try to parse the json, and if no valid json is
found, we use the workaround for manually downloading the service files.

- Resolves: #9004
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Old versions of the webapp let agent download an invalid.json, instead
of returning a 404. We try to parse the json, and if no valid json is
found, we use the workaround for manually downloading the service files.

- Resolves: #9004
</pre>
</div>
</content>
</entry>
<entry>
<title>use the passed ca_cert</title>
<updated>2017-07-18T19:31:31+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-07-18T19:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=945d8d274a1ad95cee00364e48770e0a6855ae99'/>
<id>945d8d274a1ad95cee00364e48770e0a6855ae99</id>
<content type='text'>
if there is no ca_cert passed and the provider is configured, use the
pinned ca cert when the autoconf parameter is true.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
if there is no ca_cert passed and the provider is configured, use the
pinned ca cert when the autoconf parameter is true.
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] skip looking for cacert bundle in bitmask</title>
<updated>2017-07-14T12:28:08+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-07-14T12:28:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=a20fe33472698c5c95df799eeaf3a1c0f415e4d5'/>
<id>a20fe33472698c5c95df799eeaf3a1c0f415e4d5</id>
<content type='text'>
leap.common is going to handle this
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
leap.common is going to handle this
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fail bonafide bootstrap for self sign certs</title>
<updated>2017-06-05T17:42:13+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-05-16T16:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=97774379834f0a06731093de54c986f8f7fd51a3'/>
<id>97774379834f0a06731093de54c986f8f7fd51a3</id>
<content type='text'>
- Resolves: #8881
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Resolves: #8881
</pre>
</div>
</content>
</entry>
</feed>
