<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/app/models, branch master</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>keys: store type and rev in hash rather than serialized</title>
<updated>2018-01-31T12:32:50+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2018-01-31T11:27:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=a55cc3653de22d868ade5303918280a38e8e9fe8'/>
<id>a55cc3653de22d868ade5303918280a38e8e9fe8</id>
<content type='text'>
Since the old keys used to be strings i started out by
json serializing the new keys with type, value, rev.

However storing serialized json in couch (json) does
not really make sense. So now we do not serialize but
instead have one json document. The lookup for a key of
type pgp may still return a string but for everything
that uses the new api it will return a hash with type
and revision.

This data structure is way easier to handle also on the
nickserver side.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the old keys used to be strings i started out by
json serializing the new keys with type, value, rev.

However storing serialized json in couch (json) does
not really make sense. So now we do not serialize but
instead have one json document. The lookup for a key of
type pgp may still return a string but for everything
that uses the new api it will return a hash with type
and revision.

This data structure is way easier to handle also on the
nickserver side.
</pre>
</div>
</content>
</entry>
<entry>
<title>API: implement deleting keys through new keys api</title>
<updated>2018-01-19T13:11:24+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2018-01-19T13:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=54653f75cf44890310a06c3a8a6be59625629d2a'/>
<id>54653f75cf44890310a06c3a8a6be59625629d2a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>(WIP) first steps towards implementing keys API</title>
<updated>2018-01-18T15:43:23+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2018-01-15T17:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=b8ba4f27a82868e0b3338b4af761f7c44226e729'/>
<id>b8ba4f27a82868e0b3338b4af761f7c44226e729</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: respond with error on invalid pgp key</title>
<updated>2017-11-16T12:18:55+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-11-16T12:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=1ce9a3355ee59181df0359ebb455efa9ef323bb6'/>
<id>1ce9a3355ee59181df0359ebb455efa9ef323bb6</id>
<content type='text'>
We used to just ignore the key.
Also separated the code for handling key updates from other
user updates. This should eventually be moved to a different
route. Mixing the two makes the implementation really hard.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We used to just ignore the key.
Also separated the code for handling key updates from other
user updates. This should eventually be moved to a different
route. Mixing the two makes the implementation really hard.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: instance method create for Account.create</title>
<updated>2017-10-24T10:22:10+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-10-24T10:22:06+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=85791203e764516b786d94f74f36a56e83ccbb2c'/>
<id>85791203e764516b786d94f74f36a56e83ccbb2c</id>
<content type='text'>
This simplifies returning the user while still working
on it a lot. Much cleaner than all these return user statements.

There's a lot more to refactor here. For example delegating methods
to user etc. ... but for now this should suffice. Don't want to
break this in a bugfix release.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This simplifies returning the user while still working
on it a lot. Much cleaner than all these return user statements.

There's a lot more to refactor here. For example delegating methods
to user etc. ... but for now this should suffice. Don't want to
break this in a bugfix release.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: also remove invite codes used for tmp users</title>
<updated>2017-10-24T10:12:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-10-24T10:12:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=3a1a6fde9a1fc2ea2a8f081a9d2578ec718bdd32'/>
<id>3a1a6fde9a1fc2ea2a8f081a9d2578ec718bdd32</id>
<content type='text'>
fixes #8807
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #8807
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: sort invite codes by last update</title>
<updated>2017-10-17T12:05:59+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-10-17T12:05:59+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=47df0b296b282d0fe554c3b596b366c5403c9588'/>
<id>47df0b296b282d0fe554c3b596b366c5403c9588</id>
<content type='text'>
They used to be sorted by the code which was not helpful

fixes #8806
requires deploy of new design docs to the platform
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They used to be sorted by the code which was not helpful

fixes #8806
requires deploy of new design docs to the platform
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: destroy invites used to create test accounts</title>
<updated>2017-10-17T09:05:53+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-10-17T09:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=9414e8ddf4ce7e951a6dc9130d99fa12c5696b94'/>
<id>9414e8ddf4ce7e951a6dc9130d99fa12c5696b94</id>
<content type='text'>
Production instances are getting cluttered with invites from
test accounts. Instead of marking them as used we will now completely
remove them.

refers to #8804
refers to #8807\
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Production instances are getting cluttered with invites from
test accounts. Instead of marking them as used we will now completely
remove them.

refers to #8804
refers to #8807\
</pre>
</div>
</content>
</entry>
<entry>
<title>prevent token conflicts</title>
<updated>2017-08-07T08:30:16+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-28T09:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=0a161e88143d28349c49805ea7cc83c5106e075a'/>
<id>0a161e88143d28349c49805ea7cc83c5106e075a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'debug/rescue-more-specifically' into 'master'</title>
<updated>2017-03-20T07:44:00+00:00</updated>
<author>
<name>azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-03-20T07:44:00+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=b9d64784165d6fa0af305a7403ff70f5ca4f398b'/>
<id>b9d64784165d6fa0af305a7403ff70f5ca4f398b</id>
<content type='text'>

make the rescue in account creation less broad

See merge request !15</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

make the rescue in account creation less broad

See merge request !15</pre>
</div>
</content>
</entry>
</feed>
