<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/help/test, branch version/0.7.1</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>move engines into engines directory</title>
<updated>2014-04-11T08:07:23+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-11T08:03:19+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=636692f9921bd695d726695d2d46c91f5a6e56f3'/>
<id>636692f9921bd695d726695d2d46c91f5a6e56f3</id>
<content type='text'>
Also renamed help to support so it's harder to confuse it with documentation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also renamed help to support so it's harder to confuse it with documentation
</pre>
</div>
</content>
</entry>
<entry>
<title>minor: more robust destruction of records in tests</title>
<updated>2014-02-10T13:26:30+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-02-07T14:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=88f8128d568daaaa122d55ac7e546a81ae60964a'/>
<id>88f8128d568daaaa122d55ac7e546a81ae60964a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make sure ticket get's cleared at end of tickets_by_admin test</title>
<updated>2014-02-06T18:03:40+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-02-06T18:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=d8aa92f9d4911e28c95e9abb70e87ac282ef0601'/>
<id>d8aa92f9d4911e28c95e9abb70e87ac282ef0601</id>
<content type='text'>
Also relax the requirement from tickets.count &gt; 1 to &gt; 0. There is only one ticket if there have not been any others in the database ahead of time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also relax the requirement from tickets.count &gt; 1 to &gt; 0. There is only one ticket if there have not been any others in the database ahead of time.
</pre>
</div>
</content>
</entry>
<entry>
<title>locale prefix support:</title>
<updated>2013-12-22T10:00:49+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2013-12-22T09:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=665964bcbba69829a4ff1e7d7bd936f90d49b3f7'/>
<id>665964bcbba69829a4ff1e7d7bd936f90d49b3f7</id>
<content type='text'>
* set locale based on request header
* enforce locale path prefix when current locale is not the default
* note: don't use root_path anymore, instead use home_path
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* set locale based on request header
* enforce locale path prefix when current locale is not the default
* note: don't use root_path anymore, instead use home_path
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename ticket title to be subject, as that is what we are displaying it as.</title>
<updated>2013-11-12T00:02:35+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-11-12T00:02:35+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=3104677b8d96cd4a118022267abc7bed818f8ddd'/>
<id>3104677b8d96cd4a118022267abc7bed818f8ddd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>removed outdated test.</title>
<updated>2013-11-08T08:48:57+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-08T08:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=69a41bee2548fa8743dd3188b0ebfc84dac17062'/>
<id>69a41bee2548fa8743dd3188b0ebfc84dac17062</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>destroy all tickets created by a user when account is destroyed</title>
<updated>2013-11-06T10:30:33+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-06T10:26:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=24598b5c5e4df20c423ec74ea8e9df1592483c6b'/>
<id>24598b5c5e4df20c423ec74ea8e9df1592483c6b</id>
<content type='text'>
In order to keep the users engine independent of the tickets engine i added a generic load hook to the account model. The tickets engine then monkeypatches the account destruction and destroys all tickets before the user is destroyed.

The tickets are destroyed first so that even if things break there should never be tickets with an outdated user id.

I would have prefered to use super over using an alias_method_chain but I have not been able to figure out a way to make account a superclass of the account extension and still refer to Account from the users engine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to keep the users engine independent of the tickets engine i added a generic load hook to the account model. The tickets engine then monkeypatches the account destruction and destroys all tickets before the user is destroyed.

The tickets are destroyed first so that even if things break there should never be tickets with an outdated user id.

I would have prefered to use super over using an alias_method_chain but I have not been able to figure out a way to make account a superclass of the account extension and still refer to Account from the users engine.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ticket.destroy_all_from(user) - remove all tickets created by a user</title>
<updated>2013-11-06T09:55:25+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-06T09:55:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=ebc60f3aba1ca08e454ba5e91f49905df2e5fa13'/>
<id>ebc60f3aba1ca08e454ba5e91f49905df2e5fa13</id>
<content type='text'>
We'll use this to clean up after user destruction
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We'll use this to clean up after user destruction
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: split up and cleaned up ticket validation tests</title>
<updated>2013-11-06T09:40:53+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-06T09:40:32+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=d620fd42925f1d3d29a66bb61a75bed8c2bdaf8f'/>
<id>d620fd42925f1d3d29a66bb61a75bed8c2bdaf8f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove unneccessary user creation and destruction in ticket test</title>
<updated>2013-09-03T08:01:46+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-03T08:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=29b306a4d49d395e5753e2e85f8fa1f25d18410c'/>
<id>29b306a4d49d395e5753e2e85f8fa1f25d18410c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
