<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/engines/support/app/models, branch 0.9.0</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>Fix db:migrate and similar tasks</title>
<updated>2016-07-05T06:56:05+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-07-04T18:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=638acc59a241e141cf0fc9ccbf4e3c5578b98f0c'/>
<id>638acc59a241e141cf0fc9ccbf4e3c5578b98f0c</id>
<content type='text'>
We saw errors from duplicate loading of LocalEmail and
LoginFormatValidation. The latter resulted in a crash.

In an attempt to ensure all subclasses of Couchrest::Model::Base are
loaded Couchrest::Model::Utils::Migrate requires all files in app/models.
We have an extension that does the same for the engines.

During this process LoginFormatValidation and LocalEmail were autoloaded
when 'identity' was required. Afterwards they were required again.
It looks like rails' autoload mechanism does not play nicely with require.

So to make sure they are not autoloaded first move the concerns and
helper classes into the lib directory and require them explicitly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We saw errors from duplicate loading of LocalEmail and
LoginFormatValidation. The latter resulted in a crash.

In an attempt to ensure all subclasses of Couchrest::Model::Base are
loaded Couchrest::Model::Utils::Migrate requires all files in app/models.
We have an extension that does the same for the engines.

During this process LoginFormatValidation and LocalEmail were autoloaded
when 'identity' was required. Afterwards they were required again.
It looks like rails' autoload mechanism does not play nicely with require.

So to make sure they are not autoloaded first move the concerns and
helper classes into the lib directory and require them explicitly.
</pre>
</div>
</content>
</entry>
<entry>
<title>make ticket tests pass without network connection</title>
<updated>2016-05-22T19:14:45+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-05-22T19:11:48+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=b851fe2fd6e0029df81976b647ede7190a1fd547'/>
<id>b851fe2fd6e0029df81976b647ede7190a1fd547</id>
<content type='text'>
MX validations relied on network connection. Only using them
in production environment now. I want to be able to develop and
test when disconnected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MX validations relied on network connection. Only using them
in production environment now. I want to be able to develop and
test when disconnected.
</pre>
</div>
</content>
</entry>
<entry>
<title>upgrade: remove references to RestClient</title>
<updated>2016-05-02T11:21:52+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-03-23T20:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=065859b90cc5ef403b8f47bd5394b343e556cc4d'/>
<id>065859b90cc5ef403b8f47bd5394b343e556cc4d</id>
<content type='text'>
CouchRest &gt; 1.2 does not use RestClient anymore. So we should not try to
catch its errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CouchRest &gt; 1.2 does not use RestClient anymore. So we should not try to
catch its errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>added support for email notifications of ticket changes</title>
<updated>2015-04-30T07:32:33+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2015-04-30T07:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=63871baf6061668b162972193c55b5a8f7490797'/>
<id>63871baf6061668b162972193c55b5a8f7490797</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: allow deletion of user's identities via api when user is deleted. closes #6550</title>
<updated>2014-12-16T00:07:30+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2014-12-16T00:07:30+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=6e15813d549fd9e56a48fd87d425fd31f37521e8'/>
<id>6e15813d549fd9e56a48fd87d425fd31f37521e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>silently ignore 404 errors when trying to delete all user tickets: the tickets db might not yet be initialized.</title>
<updated>2014-12-10T23:05:34+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2014-12-10T23:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=b59360a003af595f1552f2ce753d4d80e5cf0028'/>
<id>b59360a003af595f1552f2ce753d4d80e5cf0028</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tickets: structure i18n</title>
<updated>2014-05-26T11:00:05+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-22T12:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=19bce0f114180f355f0df367cf6d21bd957734a6'/>
<id>19bce0f114180f355f0df367cf6d21bd957734a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>split up and refactor TicketController#update</title>
<updated>2014-05-26T10:59:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-20T10:30:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=467dd712a19d48fc653cfc0e58201e6657d2c1f9'/>
<id>467dd712a19d48fc653cfc0e58201e6657d2c1f9</id>
<content type='text'>
close and open actions for plain opening and closing the tickets
respond_with so fields are not cleared on invalid update

the custom actions are not strictly restful. But adding a subresource felt like too much overhead and is conceptually hard to grasp (so we destroy the openess of the ticket to close it?).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
close and open actions for plain opening and closing the tickets
respond_with so fields are not cleared on invalid update

the custom actions are not strictly restful. But adding a subresource felt like too much overhead and is conceptually hard to grasp (so we destroy the openess of the ticket to close it?).
</pre>
</div>
</content>
</entry>
<entry>
<title>adjust tests to new config and method implementation</title>
<updated>2014-05-13T20:21:09+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-13T15:21:08+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=3278e474a32ef4926b1dab0d97ca4df1c59aa2a0'/>
<id>3278e474a32ef4926b1dab0d97ca4df1c59aa2a0</id>
<content type='text'>
Ticket.is_creator_vlidated? now actually fetches the user from the db and returns false if it does not exist.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ticket.is_creator_vlidated? now actually fetches the user from the db and returns false if it does not exist.
</pre>
</div>
</content>
</entry>
<entry>
<title>prefill ticket form from the model - fixes #5657</title>
<updated>2014-05-13T12:02:15+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-13T11:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=81a4a0527639fe4b560b8d98f977f6dbac67bb41'/>
<id>81a4a0527639fe4b560b8d98f977f6dbac67bb41</id>
<content type='text'>
email and regarding user fields can be set to defaults based on
created_by user.

If these fields are emptied by the submitting user they will be set to  whereas they are nil if they have not been initialized. In that case we will use meaningful defaults from the user who created the ticket.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
email and regarding user fields can be set to defaults based on
created_by user.

If these fields are emptied by the submitting user they will be set to  whereas they are nil if they have not been initialized. In that case we will use meaningful defaults from the user who created the ticket.
</pre>
</div>
</content>
</entry>
</feed>
