Commit Graph

17 Commits

Author SHA1 Message Date
Lisa P
26ca2875ae make it a util 2016-03-22 12:41:28 +01:00
Lisa P
2220334265 put permissions into a mixin 2016-03-22 12:37:05 +01:00
Piotr Sarnacki
55005b1b13 Scroll page in beforeModel hook in scroll-mixin
The `activate` hook is not always called when the route is used,
specifically it will not be called when the model changes, but the
change happened within the same route (for example when switching from
/travis-ci/travis-web to /travis-ci/travis-core). `beforeModel` is
guaranteed to be called every time the model is changed, both when the
route is entered for the first time and on any subsequent calls.
2016-02-23 13:05:36 +01:00
Curtis Ekstrom
2ae61562ea Ensure scroll position reset
This adds a new mixin that allows us to opt in to scroll reset
behavior.
2016-02-16 14:10:12 +01:00
Piotr Sarnacki
f9df4b1896 [deprecations] Don't use before observer 2016-01-07 13:15:59 +01:00
Piotr Sarnacki
e60b0a0224 Fix jshint errors after conversion to JS 2016-01-04 13:15:15 +01:00
Piotr Sarnacki
fafaf65043 Convert project to JavaScript 2016-01-04 13:15:14 +01:00
Piotr Sarnacki
93373e89ee Enable polling for tests 2015-05-12 10:02:47 +02:00
Piotr Sarnacki
234572f8a6 Disable ajax polling for now 2015-05-12 09:38:29 +02:00
Piotr Sarnacki
5c24778394 Properly deregister polling hook when there's no models to poll 2015-05-11 14:56:36 +02:00
Piotr Sarnacki
a85f0ebc9f Add tests for polling service and mixin 2015-05-07 13:49:22 +02:00
Piotr Sarnacki
b27977baaa Make polling play nice with promises 2015-05-07 13:49:22 +02:00
Piotr Sarnacki
a4a75912b0 Implement ajax polling for things that are visible on the screen
We sometimes miss pusher updates, which started to be more common
lately. Until we investigate what's going on, this should be a good
workaround for keeping UI in sync with the DB.
2015-05-07 13:49:21 +02:00
Piotr Sarnacki
6bb53716a9 Add proper favicon data uris 2015-02-25 12:57:20 +01:00
Piotr Sarnacki
acb70dcac7 First stab at changing favicon based on build or job state 2015-02-24 16:20:56 +01:00
Piotr Sarnacki
b0bd24a129 Add ember-cli version of the Ember.js app 2015-02-03 09:48:22 +01:00
Piotr Sarnacki
3a09a0da9a Move assets/scripts/app to root dir 2015-02-03 09:44:34 +01:00