<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/app/assets, branch version/0.9</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>custom: fix stylesheet customization</title>
<updated>2017-07-26T09:19:41+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-26T09:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=d939562360377dad4dfd8ab1520b15f85fc0a730'/>
<id>d939562360377dad4dfd8ab1520b15f85fc0a730</id>
<content type='text'>
fixes #8794

Reported the underlying issue here:
https://github.com/rails/sass-rails/issues/406

Basically `@import` works like this:
* look for the file relative to the current file
* look for the file as an absolute path following the priorities in the
* asset load_paths

If the file can be imported as a relative path that will take
precedence.

So in order to pick up the head and tails inside customization rather
than in app/assets there are three possibilities:
1) use an absolute path. This is not as easy as it seems. There is no
way of indicating a path is meant to be absolute so we would have to
ensure it does not resolve to a relative path.
2) have a application.scss file inside the customization folder. Since
this is the main file it will be used instead of the app/assets one. In
there relative paths will now also default to the customization folder
rather than app/assets. Once we are in an app/assets file though it will
not go back to picking up customization with relative paths
3) use //= require instead of import. rails-sass advices against this as
each required file would be compiled on it's own and variables could not
be shared.

Going with option 1 here:
```scss
// application.scss:
@import "custom/head_import";
```

```scss
// custom/head_import.scss:
@import "head";
```

As long as there is no custom/head.scss in app/assets it will import
head as an absolute path and thus prefer config/custom over app/assets.

This seems like the best option for now as it does not require changes
to the deployments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #8794

Reported the underlying issue here:
https://github.com/rails/sass-rails/issues/406

Basically `@import` works like this:
* look for the file relative to the current file
* look for the file as an absolute path following the priorities in the
* asset load_paths

If the file can be imported as a relative path that will take
precedence.

So in order to pick up the head and tails inside customization rather
than in app/assets there are three possibilities:
1) use an absolute path. This is not as easy as it seems. There is no
way of indicating a path is meant to be absolute so we would have to
ensure it does not resolve to a relative path.
2) have a application.scss file inside the customization folder. Since
this is the main file it will be used instead of the app/assets one. In
there relative paths will now also default to the customization folder
rather than app/assets. Once we are in an app/assets file though it will
not go back to picking up customization with relative paths
3) use //= require instead of import. rails-sass advices against this as
each required file would be compiled on it's own and variables could not
be shared.

Going with option 1 here:
```scss
// application.scss:
@import "custom/head_import";
```

```scss
// custom/head_import.scss:
@import "head";
```

As long as there is no custom/head.scss in app/assets it will import
head as an absolute path and thus prefer config/custom over app/assets.

This seems like the best option for now as it does not require changes
to the deployments.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: error message display in production</title>
<updated>2017-04-03T07:21:20+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-04-03T07:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=49618effe081ebf5e72a5945fa1822c471369cf0'/>
<id>49618effe081ebf5e72a5945fa1822c471369cf0</id>
<content type='text'>
only use the &lt;pre&gt; tag if the response was a text message i.e. during dev errors.
Use the alert-danger class of bootstrap 3 rather than alert-error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
only use the &lt;pre&gt; tag if the response was a text message i.e. during dev errors.
Use the alert-danger class of bootstrap 3 rather than alert-error.
</pre>
</div>
</content>
</entry>
<entry>
<title>upgrade: simple_form to bootstrap 3</title>
<updated>2017-03-27T08:39:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-03-24T11:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=b1b523f08a9ce7ea5fe0d50dc8b86995e00b48d6'/>
<id>b1b523f08a9ce7ea5fe0d50dc8b86995e00b48d6</id>
<content type='text'>
* reran the simple form initializer.
* wrapped submit buttons are now broken and need a fix.
* disabled confirmation validation in client side validations as the
  error message always is attached to the wrong field.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reran the simple form initializer.
* wrapped submit buttons are now broken and need a fix.
* disabled confirmation validation in client side validations as the
  error message always is attached to the wrong field.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: make use of client_side_validations in js</title>
<updated>2017-03-24T11:06:54+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-03-24T11:06:54+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=fdb86b7db4275e49157de6aa1463ef730b25b76e'/>
<id>fdb86b7db4275e49157de6aa1463ef730b25b76e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: display error js responses in dev environment</title>
<updated>2017-03-23T15:35:42+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-03-23T15:35:42+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=c11e31acf3a592b8560459469ae4acf0e6e5dfd4'/>
<id>c11e31acf3a592b8560459469ae4acf0e6e5dfd4</id>
<content type='text'>
Sometimes the dev environment will send back a plain text response.
This causes the json parser to raise an exception and used to cause
the browser not to display any error message.

Now we dumpt the whole server response - which happes to also include the
backtrace. A lot more useful than doing nothing.

In production this should never happen as 500s get handled by the
ExceptionApplication / our ErrorsController there.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes the dev environment will send back a plain text response.
This causes the json parser to raise an exception and used to cause
the browser not to display any error message.

Now we dumpt the whole server response - which happes to also include the
backtrace. A lot more useful than doing nothing.

In production this should never happen as 500s get handled by the
ExceptionApplication / our ErrorsController there.
</pre>
</div>
</content>
</entry>
<entry>
<title>git subrepo clone https://leap.se/git/srp_js app/assets/javascripts/srp</title>
<updated>2017-03-23T13:12:30+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-03-23T13:12:30+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=372b15afed0b7477bd83062feaa7f24c4d40e38d'/>
<id>372b15afed0b7477bd83062feaa7f24c4d40e38d</id>
<content type='text'>
subrepo:
  subdir:   "app/assets/javascripts/srp"
  merged:   "9e1a417"
upstream:
  origin:   "https://leap.se/git/srp_js"
  branch:   "master"
  commit:   "9e1a417"
git-subrepo:
  version:  "0.3.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a7ee886"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
subrepo:
  subdir:   "app/assets/javascripts/srp"
  merged:   "9e1a417"
upstream:
  origin:   "https://leap.se/git/srp_js"
  branch:   "master"
  commit:   "9e1a417"
git-subrepo:
  version:  "0.3.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a7ee886"
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: keep ticket submit button clickable</title>
<updated>2017-03-23T10:04:21+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-03-23T09:43:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=c828d0164a43c169775ae107be3fd4409d6c3ecb'/>
<id>c828d0164a43c169775ae107be3fd4409d6c3ecb</id>
<content type='text'>
It was marked as submitted even when client side validations interfered.

fixes github issue #227
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was marked as submitted even when client side validations interfered.

fixes github issue #227
</pre>
</div>
</content>
</entry>
<entry>
<title>added 'show more tweets'-link when more tweets are existing than displayed, method included to set number of tweets which should be displayed</title>
<updated>2016-09-30T10:13:22+00:00</updated>
<author>
<name>thea</name>
<email>ta.kupler@gmail.com</email>
</author>
<published>2016-09-30T10:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=8a9ef9e96193a737b8d21e1f21db43d0d69394ef'/>
<id>8a9ef9e96193a737b8d21e1f21db43d0d69394ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>included Theas work on error-handling \o/; changed link to twitter-account in header; fixed erb escaping characters problem without letting evil code pass; setting customized image file 'Avatar_Pic.png' in config/custo../assets to get loaded instead of default twitter-logo</title>
<updated>2016-09-22T12:36:10+00:00</updated>
<author>
<name>luca-marie</name>
<email>ml.kochsiek@fu-berlin.de</email>
</author>
<published>2016-09-22T12:36:10+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=306b36c045cd62638db179115ed002c6ab7c5cd8'/>
<id>306b36c045cd62638db179115ed002c6ab7c5cd8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added what was once deleted by mistake</title>
<updated>2016-09-13T12:47:29+00:00</updated>
<author>
<name>luca-marie</name>
<email>ml.kochsiek@fu-berlin.de</email>
</author>
<published>2016-09-13T12:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=4626157572bf20884cfad2b1fc0e24cd60bad918'/>
<id>4626157572bf20884cfad2b1fc0e24cd60bad918</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
