Piotr Sarnacki
b0b1ef305b
Change the way config is stored
...
On ember-cli config is stored in config/environment.js file and it can be
accessed at any time of app being booted. Till now we were using Travis.config
which was making things hard, because we needed an application instance to get
any config value. This commit moves config to config/environment.js and allows
to access it at any point of loading the app.
2015-01-30 15:29:46 +01:00
Piotr Sarnacki
f94ff75a13
More ember-cli compat changes
2015-01-30 09:10:48 +01:00
Piotr Sarnacki
4d8fe96a41
Fix pusher for ember data
2015-01-29 13:39:06 +01:00
Piotr Sarnacki
ec24b21e81
Switch to Ember Data
2015-01-29 13:39:05 +01:00
Piotr Sarnacki
69f06493fa
Create slider after app is initialized
2015-01-20 11:38:37 +01:00
Piotr Sarnacki
8a51ebcbcf
Load commit data also from job:created
2015-01-19 15:59:22 +01:00
Piotr Sarnacki
35b059e783
Fix initialization for pro
2015-01-06 18:14:19 +01:00
Piotr Sarnacki
fde3af46f2
[pro-merge] Add application configuration hooks for pro
2014-12-29 18:17:58 +01:00
Sven Fuchs
bd4c0aa0a0
do not create two Pusher instances
2014-10-13 17:20:02 +02:00
Sven Fuchs
65ee0d5486
allow setting the pusher host
2014-10-13 14:42:12 +02:00
Piotr Sarnacki
17ed1d94cc
First stab at ssh key form
2014-07-31 12:26:19 +02:00
Piotr Sarnacki
745a39eae5
First stab at env vars
2014-07-28 14:19:44 +02:00
Piotr Sarnacki
2677f3f613
Fix specs
2014-07-15 13:23:01 +02:00
Piotr Sarnacki
3d45696f9a
Extract commit data on all build events if it's available
2014-06-26 13:54:08 +02:00
Piotr Sarnacki
3544d523d7
Refactor auth code
...
* don't use __container__
* register it as a factory on container and inject into routes and
controller
* avoid afterSignIn errors by checking on hooksTarget, ApplicationRoute
should register itself as a hooksTarget
* keep user info on auth
2014-05-28 10:22:47 +02:00
Piotr Sarnacki
57edf811b7
Add requests page
2014-05-12 11:03:10 +02:00
Piotr Sarnacki
535a873dc0
Make "to top" link visible when scrolling through the log
...
These are the changes by @dmathieu (reverted at d7bef2b
) slightly
changed to allow us to use them also on Travis Pro.
The change is to still use onScroll calculations in order to position
elements instead of using "position: fixed". The latter method is harder
to use when element needs to be positioned relatively to other element -
on Pro we would have to still calculate the position because of the
right sidebar.
2014-03-04 14:07:33 +01:00
Piotr Sarnacki
c3008c1f78
Add mappings for sideloading annotations
2014-01-28 15:33:22 +01:00
Hiro Asari
e00b938f4d
Merge pull request #190 from travis-ci/hh-annotations
...
Annotation support (#1220 )
2014-01-27 08:41:52 -08:00
Piotr Sarnacki
360b32a4f2
Merge branch 'updated-styles'
...
Conflicts:
assets/scripts/app/templates/layouts/top.hbs
assets/scripts/app/templates/repos/list.hbs
2014-01-27 13:02:05 +01:00
Hiro Asari
62fd40f51e
Tell TravisApplication about the Annotation model
2014-01-25 17:14:35 -05:00
Piotr Sarnacki
d7bef2b94e
Revert tailing changes
2014-01-20 15:00:34 +01:00
Justine Arreche
35e7fc4f55
removed instances of locales from app and auth coffeescript files
2014-01-13 15:03:18 -05:00
Justine Arreche
67b970015f
removed set and default locale from app.coffee
2014-01-13 13:53:33 -05:00
Justine Arreche
d324319a96
changes made to profile page including increased type size for readability, color styling and gravatar border radius increase
2014-01-03 19:10:58 -05:00
Damien Mathieu
10d49c6983
refactor and add tests to tailing
2013-12-13 15:27:33 +01:00
Piotr Sarnacki
b5297d7800
Update code for newest ember-model
2013-10-18 13:41:10 +02:00
Piotr Sarnacki
eb35a0e1c6
Merge branch 'master' into ui-improvements
...
Conflicts:
assets/scripts/app/controllers.coffee
2013-08-25 14:46:03 +02:00
Piotr Sarnacki
0217b20943
Implement missing pieces for cancel build
...
We allow to cancel only created builds at this point.
2013-08-09 23:06:19 +02:00
Piotr Sarnacki
c79725d0e9
Refactor sign in related templates, fix indicator in auth template
2013-08-05 03:24:33 +02:00
Piotr Sarnacki
66ed172888
Refactor the way we insert new records with pusher
...
Previousy I was using find to ensure that the record is materialized,
but the new version is much lighter - it uses Model#load to load the
record directly
2013-08-03 15:09:18 +02:00
Piotr Sarnacki
07d2d1ff2a
Check if record is in a record array before adding it
2013-07-31 15:06:06 +02:00
Piotr Sarnacki
f92c592f2d
Add pusher receive related stuff to App (previously it was in store)
2013-07-31 13:47:55 +02:00
Mathias Meyer
a0ab577b6c
Add RGSoC logo to the top of the sidebar.
...
Remove the current sponsors from the sidebar.
2013-05-31 21:17:06 +02:00
Piotr Sarnacki
ebb5f17058
Fix tests with new Ember version
2013-05-15 18:46:41 +02:00
Piotr Sarnacki
d65f733f28
Log router transitions
2013-05-15 17:23:52 +02:00
Piotr Sarnacki
d5bfa092b0
Don't setup pusher if we don't have key
...
That way we don't need to even fire anything pusher related when running
tests
2013-03-27 20:06:09 +01:00
Piotr Sarnacki
010754da8a
Use container as a context to lookup delegated call
2013-03-20 19:05:36 +01:00
Piotr Sarnacki
f87fe183e4
Keep application class at TravisApplication and move it to separate file
...
It helps when application class needs to be reopened before creating
application
2013-03-20 00:00:05 +01:00
Piotr Sarnacki
f0e95ddd3f
Main view mostly works on new router
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
938aaafc71
Merge pull request #84 from randym/instrumentation
...
WIP! Added first level instrumentation for travis-web
2013-01-03 07:13:34 -08:00
Konstantin Haase
368ef859ea
refactor auth
2012-12-16 16:57:12 +01:00
Randy Morgan
fa7f8b9332
Added first level instrumentation for travis-web
...
This is not enabled by default. You need to run:
Travis.Instrumentation.subscribe('render.view')
To start capturing info
2012-12-14 19:31:05 +09:00
Sven Fuchs
853606bcc6
moar routing/auth refactorings
2012-10-19 22:20:45 +02:00
Sven Fuchs
c4b91108a0
refactor routes/auth interaction so that it always calls afterSignIn()
2012-10-19 21:24:18 +02:00
Sven Fuchs
d84b5dfd0a
add autoSignIn to fix that after signOut it would always re-signin on pages that require auth
2012-10-13 15:52:27 +02:00
Sven Fuchs
4689545547
camelize to afterSignIn and add afterSignOut
2012-10-13 15:02:23 +02:00
Sven Fuchs
b35763baa3
using the production pusher key with RUN_API causes tons of 404 errors
2012-10-11 17:23:32 +02:00
Sven Fuchs
6e4413d5a2
finally rename repository to repo
2012-10-06 20:08:46 +02:00
Sven Fuchs
41ff493131
rename goTo* to show*
2012-10-06 18:07:48 +02:00