This reverts commit a47c282281.
I moved Gemfile to waiter, because we were using compass and compass needs a
ruby runtime. That resulted in a weird behaviour when trying to run ember-cli.
Since we removed compass, it's safe to bring back Gemfile to the main directory.
Add vim relic file gitignore entry for .sw[op] files
Upgrade return due to an uninitialized constant Listen uninitialized constant
Listen::MultiListener exception (see:
https://github.com/rails/spring/issues/145)
Caching was broken for many reasons:
* Puma calls `Travis::Web::App.initilize` multiple times. This caused
the server start time to be incorrect, breaking caching.
* The `Date` HTTP header was missing. This caused some browsers to fail to cache
assets.
* The `ETag` was incorrectly formatted.
Some other things which were changed:
* Removed `Rack::Cache`
Specified handlebars templates will be parsed for {{t some.key}}. Any
translations keys that are not found in the configured i18n YAML will
be reported to the configured localeapp backend via the localeapp api.
In order to minimize ajax requests, I implemented isComplete property,
which can be used to check if record is fetched from the API or if it
was just partially loaded (for example by pusher event). This is nice in
terms of requests reduction, but caries risk of showing incomplete data.
This commit fixes this situation by saving which attributes were
provided on "incomplete" load and triggering refresh when any unknown
attribute is tried to be fetched.
The implementation is really simple and will probably need refactoring,
but I would like to test it in the wild before putting much more time
into it.