Commit Graph

471 Commits

Author SHA1 Message Date
Sven Fuchs
a8f19aa687 try making workers item view more robust 2012-10-07 17:05:29 +02:00
Sven Fuchs
02a1f166d5 change tools button to have a menu, add requeue menu item, make status image stuff a popup 2012-10-07 16:59:01 +02:00
Sven Fuchs
25dffc0a7a load user permissions 2012-10-06 23:40:05 +02:00
Sven Fuchs
6e4413d5a2 finally rename repository to repo 2012-10-06 20:08:46 +02:00
Sven Fuchs
c6223341f4 rework the asset pipeline to use environments 2012-10-06 15:28:11 +02:00
Sven Fuchs
f6ac7b9c30 showUnauthenticated after signout 2012-10-06 15:27:49 +02:00
Sven Fuchs
b34e35fbb8 improvements to the asset pipeline thanks to @twinturbo 2012-10-05 21:58:20 +02:00
Sven Fuchs
38ea058afc fix assets order 2012-10-04 00:20:17 +02:00
Sven Fuchs
152dde6e05 make things even more generic 2012-10-03 19:29:44 +02:00
Sven Fuchs
d67e0b23bc make Assetfile more agnostic 2012-10-03 18:12:44 +02:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
Sven Fuchs
9440ccaf7d make assetfile reusable 2012-10-03 16:34:21 +02:00
Sven Fuchs
3d451279e4 add the favicon 2012-10-03 13:29:50 +02:00
Piotr Sarnacki
202f158d55 Fix show more button and make it disabled when loading 2012-10-02 22:39:11 +02:00
Piotr Sarnacki
2e16337e68 Revert 2ead1ff
Without filters those collections will not be updated when clicking on
show more button on builds list.
2012-10-02 21:46:34 +02:00
Sven Fuchs
54ea7e9246 Merge branch 'master' of github.com:travis-ci/travis-ember 2012-10-01 16:50:29 +02:00
Piotr Sarnacki
8b90440f7b Update ember to version from drogus/ember.js
It contains patch for transitionTo, to handle more than one context
2012-10-01 16:46:11 +02:00
Sven Fuchs
4402a36c2e generate a real version hash 2012-10-01 13:11:26 +02:00
Sven Fuchs
419ace7c51 rework asset compilation 2012-10-01 12:36:06 +02:00
Sven Fuchs
73fe04185d split up config.ru 2012-09-30 17:30:57 +02:00
Sven Fuchs
1566595cda move loadConfig to Travis.run 2012-09-29 23:43:06 +02:00
Piotr Sarnacki
b9179e3439 Need to add record to the new transaction after saving it 2012-09-28 19:09:05 +02:00
Piotr Sarnacki
82107bd1f3 Fix issues with store commit 2012-09-28 18:53:04 +02:00
Piotr Sarnacki
fed3adaa88 Fix job links on queues list
For some weird reason action was using the view as target by default,
set it explicitly to router.
2012-09-28 17:52:16 +02:00
Piotr Sarnacki
8ffd466e9f Proper fix for last build link
It seems that when you use id in link, it will pass it directly to
connectOutlets. Need to instantiate object in such situation.
2012-09-28 17:39:40 +02:00
Piotr Sarnacki
3cf12e7a84 Remove console.log 2012-09-28 17:26:38 +02:00
Piotr Sarnacki
4984a896af 'build_id' should be returned in build's params, not 'id' 2012-09-28 17:20:52 +02:00
Sven Fuchs
ab8473e75e really fix the status colors 2012-09-28 16:35:07 +02:00
Sven Fuchs
1332a23561 fix status color for build summary 2012-09-28 16:28:48 +02:00
Sven Fuchs
3bad25471a fix deansi for erasing text 2012-09-28 15:12:55 +02:00
Sven Fuchs
580d78e947 redirect from hashbang urls 2012-09-28 12:13:19 +02:00
Sven Fuchs
15d7406d71 redirect to home from profile on sign out 2012-09-28 12:05:56 +02:00
Sven Fuchs
a1d5b8b878 recompile 2012-09-28 11:48:29 +02:00
Sven Fuchs
8fb0411f63 make the spinner transparent 2012-09-28 11:46:31 +02:00
Sven Fuchs
5eb5bc1373 no need to defer loading the user any more 2012-09-28 11:28:00 +02:00
Sven Fuchs
b1f1547113 Revert "try using jobs.loaded for matrixes"
This reverts commit 312fabeaa0.
2012-09-28 10:57:05 +02:00
Sven Fuchs
312fabeaa0 try using jobs.loaded for matrixes 2012-09-28 10:54:38 +02:00
Piotr Sarnacki
5fc58e34dc Don't instantiate builds for repos list to not load them 2012-09-28 00:21:44 +02:00
Sven Fuchs
40260c17d5 separate session storage of user and token, do stuff 2012-09-27 23:38:33 +02:00
Sven Fuchs
abb5ed181e do not load accounts on controller init 2012-09-27 23:09:00 +02:00
Sven Fuchs
2f43801893 recompile 2012-09-27 21:56:30 +02:00
Piotr Sarnacki
c24b236120 Recompile, commited application.js with conflicts 2012-09-27 19:57:37 +02:00
Piotr Sarnacki
7037c6a62a Rework some of the bindAttrs that can cause problems 2012-09-27 19:53:46 +02:00
Sven Fuchs
fd6a83aab1 remove debug output 2012-09-27 17:30:30 +02:00
Sven Fuchs
205f509b4b recompile 2012-09-27 17:25:12 +02:00
Sven Fuchs
c80203afd3 Merge branch 'master' of github.com:travis-ci/travis-ember
Conflicts:
	public/javascripts/application.js
2012-09-27 17:22:11 +02:00
Sven Fuchs
d3e1fa2274 refactor auth/user/accounts 2012-09-27 17:13:45 +02:00
Piotr Sarnacki
11b3a039d2 Removed too much bindings, this one is still needed 2012-09-27 15:18:08 +02:00
Piotr Sarnacki
cd6636bfc5 Completely get rid of params
In the old router params were fetched from url, new router needs to
instantiate objects anyway, so we can just set objects on controller
instead of passing params.
2012-09-27 14:48:17 +02:00
Piotr Sarnacki
57ae258803 Update ember 2012-09-27 14:47:48 +02:00
Piotr Sarnacki
3aefc86961 Make displaying build simpler
Since we fetch build in router now, we can just pass it to controller,
instead of passing an id.
2012-09-27 14:47:48 +02:00
Sven Fuchs
b776f1355b recompile 2012-09-27 00:58:10 +02:00
Piotr Sarnacki
164b8d22cc Don't load sponsors data twice 2012-09-27 00:21:35 +02:00
Piotr Sarnacki
fe7f07629f Use regular views in sidebar instead of outlets
Outlets behaved weird in this place (not sure why, maybe because it's
deeply nested) and we don't need to change those views anyway.
2012-09-26 23:32:55 +02:00
Piotr Sarnacki
5b2aae19b3 Try to defer sidebar loading a little bit 2012-09-26 23:32:36 +02:00
Sven Fuchs
1a9f88587d fix some links/action targets 2012-09-26 23:18:11 +02:00
Sven Fuchs
5a49b51700 tweak greens 2012-09-26 22:43:09 +02:00
Sven Fuchs
93b67a7cbb recompile 2012-09-26 22:25:43 +02:00
Sven Fuchs
0447f62a19 Merge branch 'new-router'
Conflicts:
	Gemfile.lock
	public/javascripts/application.js
	public/stylesheets/application.css
2012-09-26 22:21:34 +02:00
Sven Fuchs
192a2f44e1 filter pusher warnings about missing subscriptions 2012-09-26 22:15:54 +02:00
Piotr Sarnacki
ccb4e27bdc Update ember and get initialState back 2012-09-26 22:06:28 +02:00
Piotr Sarnacki
493cdae009 New ember version 2012-09-26 22:06:05 +02:00
Sven Fuchs
9ca03aebb6 fix pusher subscription 2012-09-26 21:50:38 +02:00
Sven Fuchs
060812b65d catch pusher unsubscribe exceptions 2012-09-26 21:43:56 +02:00
Piotr Sarnacki
b33f4d88aa Remove initialStates from router 2012-09-26 21:08:09 +02:00
Piotr Sarnacki
7380fbcd59 Use history location 2012-09-26 21:08:09 +02:00
Sven Fuchs
11f663e03f switch to history location 2012-09-26 19:08:35 +02:00
Sven Fuchs
f37fedd4aa fix for internal pusher events 2012-09-26 18:57:49 +02:00
Piotr Sarnacki
0885cdf674 Plug proper layouts and links on profile view 2012-09-26 18:18:47 +02:00
Piotr Sarnacki
1134028996 Travis mostly works with new router
I haven't touched almost all of the things related to profile. I'm not
also sure what's the state of authentication at this point.

Conflicts:

	Gemfile
	Gemfile.lock
	Procfile
	assets/javascripts/app/app.coffee
	assets/javascripts/app/controllers.coffee
	assets/javascripts/app/controllers/auth.coffee
	assets/javascripts/app/controllers/profile.coffee
	assets/javascripts/app/routes.coffee
	assets/javascripts/app/templates/builds/list.hbs
	assets/javascripts/app/templates/builds/show.hbs
	assets/javascripts/app/templates/jobs/list.hbs
	assets/javascripts/app/templates/layouts/top.hbs
	assets/javascripts/app/templates/repos/list.hbs
	assets/javascripts/app/templates/repos/show/tabs.hbs
	assets/javascripts/app/templates/workers/list.hbs
	assets/javascripts/app/views.coffee
	assets/javascripts/app/views/repo/show.coffee
	assets/javascripts/travis.coffee
	public/index.html
	public/javascripts/application.js
	public/stylesheets/application.css
2012-09-26 16:30:16 +02:00
Piotr Sarnacki
b31515fa57 Update ember and ember-data 2012-09-26 15:07:52 +02:00
Sven Fuchs
af02f2b2f3 fix hooks, sync and try fixing locale 2012-09-26 12:34:40 +02:00
Sven Fuchs
fa45c37bba recompile 2012-09-25 19:26:07 +02:00
Konstantin Haase
04ab459077 also store token 2012-09-25 19:01:46 +02:00
Sven Fuchs
f3da6b8d5c use separate classes for display and display-inline 2012-09-24 14:06:04 +02:00
Sven Fuchs
a79b2e5183 clean out unused images, shrinken images, use a single ui image folder 2012-09-23 21:33:44 +02:00
Sven Fuchs
888427e611 get rid of the left bg image 2012-09-23 20:22:49 +02:00
Sven Fuchs
08bb056849 more tweaks 2012-09-23 18:54:31 +02:00
Sven Fuchs
41223f1ef2 css tweaks 2012-09-23 17:01:13 +02:00
Sven Fuchs
c327c3046d try a flex-box layout 2012-09-23 15:39:58 +02:00
Sven Fuchs
dc9881dbc8 Merge branch 'master' of github.com:travis-ci/travis-ember
Conflicts:
	public/javascripts/application.js
2012-09-23 03:22:54 +02:00
Sven Fuchs
89cb0c81c8 extract slider toggle cuz i can't get an ember mixin working 2012-09-23 03:18:54 +02:00
Konstantin Haase
7ce79917dd Merge branch 'master' into rkh-pusher
Conflicts:
	public/javascripts/application.js
	public/stylesheets/application.css
2012-09-23 02:45:21 +02:00
Konstantin Haase
37c231712e no longer override Travis.Model#get 2012-09-23 02:44:27 +02:00
Sven Fuchs
2db81d1685 fix hooks switch state and description line-height 2012-09-23 02:38:48 +02:00
Konstantin Haase
8104c833f6 Merge branch 'master' into rkh-pusher
Conflicts:
	public/javascripts/application.js
2012-09-23 02:33:58 +02:00
Konstantin Haase
7b5e8445bc load pusher key from api endpoing (allows running locally against api.travis-ci.org) 2012-09-23 02:31:32 +02:00
Sven Fuchs
ef9b34b235 fix persisting the minimized sidebar status 2012-09-23 02:22:13 +02:00
Sven Fuchs
1eb33161a7 add a "to top" link 2012-09-23 01:44:15 +02:00
Sven Fuchs
92f6ff4adc stop autoscrolling on scroll up event, idea by courtesy of @rkh 2012-09-23 01:04:16 +02:00
Sven Fuchs
b40dfe044b optimize duration icon, further narrow the left column on small screens ESPECIALLY FOR JOSH 2012-09-23 00:39:26 +02:00
Sven Fuchs
04ecc5645f fix background color for empty space on the left bottom 2012-09-22 23:33:08 +02:00
Sven Fuchs
4cbd44c82f fix duration label icon/text switch 2012-09-22 23:22:51 +02:00
Sven Fuchs
0a867f8aad replace the help icon, glyphicons is the new famfamfam, right 2012-09-22 22:58:14 +02:00
Sven Fuchs
1142cbb194 fix z-index for tail button and main margin-right when sidebar collapsed 2012-09-22 22:19:37 +02:00
Sven Fuchs
efb810f1b3 improve paddings on the sign-in/out handle and drop down 2012-09-22 22:05:56 +02:00
Sven Fuchs
4eeb9356c6 fix unacceptable long user names 2012-09-22 21:33:15 +02:00
Sven Fuchs
15235c37e4 recompile 2012-09-22 21:19:21 +02:00
Sven Fuchs
f0e9247b51 do not show the signing in status on auto-sign-in for now 2012-09-22 21:17:08 +02:00
Sven Fuchs
4f52eea26d Merge branch 'master' of github.com:travis-ci/travis-ember
Conflicts:
	Gemfile.lock
	assets/javascripts/app/app.coffee
	assets/javascripts/app/auth.coffee
	assets/javascripts/app/store/rest_adapter.coffee
	public/javascripts/application.js
	public/stylesheets/application.css
2012-09-22 21:06:47 +02:00
Sven Fuchs
2bf04c5945 go back to the faux columns based layout 2012-09-22 21:03:08 +02:00
Konstantin Haase
4dfe5f70eb set origin for login 2012-09-22 17:46:29 +02:00
Sven Fuchs
cb6edc5b45 "fix" column heights, probably need a different approach to the 3-colum layout 2012-09-22 15:12:47 +02:00
Sven Fuchs
c8f43f5d13 remove the auth controller and view 2012-09-22 13:23:22 +02:00
Sven Fuchs
d872c6ae5d refactor app/auth stuff 2012-09-22 00:50:34 +02:00
Sven Fuchs
d1255d9230 refactor app/auth stuff 2012-09-21 17:28:53 +02:00
Sven Fuchs
2cbafde6c3 some fixes to the profile page 2012-09-20 17:30:10 +02:00
Sven Fuchs
0689e69500 bundle update and recompile 2012-09-20 17:10:05 +02:00
Sven Fuchs
7f2505a71a Merge branch 'sf-auth-iframe' of github.com:travis-ci/travis-ember into sf-auth-iframe
Conflicts:
	Gemfile.lock
	assets/javascripts/lib/travis/auth.coffee
	public/javascripts/application.js
	public/stylesheets/application.css
2012-09-20 17:06:25 +02:00
Sven Fuchs
1b78187b2f signin spinner, needs a better gif 2012-09-20 17:03:46 +02:00
Konstantin Haase
7c975054b7 Merge branch 'sf-auth-iframe' of github.com:travis-ci/travis-ember into sf-auth-iframe
Conflicts:
	public/javascripts/application.js
2012-09-19 16:38:10 +02:00
Konstantin Haase
d2aef0d12f change text before initiating handshake 2012-09-19 16:33:43 +02:00
Sven Fuchs
d2bfd50f5a recompile 2012-09-19 16:24:54 +02:00
Sven Fuchs
cbe13f0bb7 Merge branch 'sf-auth-iframe' of github.com:travis-ci/travis-ember into sf-auth-iframe
Conflicts:
	public/javascripts/application.js
	public/stylesheets/application.css
2012-09-19 16:23:58 +02:00
Sven Fuchs
1b26f2d945 use status colors for worker status 2012-09-19 15:34:11 +02:00
Konstantin Haase
f9036e0a26 add # route 2012-09-19 14:53:22 +02:00
Sven Fuchs
ab52e15ab1 fix underline issue with status icons in links 2012-09-19 14:47:42 +02:00
Sven Fuchs
e4fc61b562 add monster media queries 2012-09-19 14:20:58 +02:00
Konstantin Haase
3b6dc64fd4 change display while signing in 2012-09-19 13:25:03 +02:00
Sven Fuchs
3fa52d627f recompile 2012-09-19 13:16:35 +02:00
Sven Fuchs
f7021fa7e6 optimize status colors and expand/collapse icons 2012-09-19 13:15:13 +02:00
Sven Fuchs
87104a485d somewhat liquid layout 2012-09-19 13:15:01 +02:00
Sven Fuchs
4b888a7301 recompile 2012-09-19 13:14:39 +02:00
Sven Fuchs
0d86a7f196 tweak colors and font-sizes 2012-09-19 13:14:02 +02:00
Konstantin Haase
4de53f356b fix sign out issue 2012-09-19 12:53:07 +02:00
Konstantin Haase
473951e60a lower handshake timeout 2012-09-19 11:28:59 +02:00
Konstantin Haase
54a1cf72a8 use localStorage for a log in flag, use sessionStorage to keep user data 2012-09-19 11:16:00 +02:00
Sven Fuchs
6390b99e93 bundle update and recompile 2012-09-18 21:11:53 +02:00
Sven Fuchs
437533641e Merge branch 'sf-auth-iframe' of github.com:travis-ci/travis-ember into sf-auth-iframe 2012-09-18 21:04:00 +02:00
Konstantin Haase
f3f9d98e6b add auth timeout 2012-09-18 20:38:25 +02:00
Sven Fuchs
b3c310d51d Merge branch 'sf-auth-iframe' of github.com:travis-ci/travis-ember into sf-auth-iframe
Conflicts:
	public/stylesheets/application.css
2012-09-18 20:31:24 +02:00
Konstantin Haase
5f8c5f5798 remove fake payload 2012-09-18 20:03:49 +02:00
Konstantin Haase
9ce2f72349 remove token on sign out 2012-09-18 19:48:49 +02:00
Konstantin Haase
ab3ca42c67 set Authorization header 2012-09-18 19:48:07 +02:00
Konstantin Haase
0ac50d038f comment out broken line 2012-09-18 19:36:12 +02:00
Konstantin Haase
8f57c67653 actually log in 2012-09-18 19:20:42 +02:00
Konstantin Haase
a5e1c21d30 fix binding issues 2012-09-18 18:37:56 +02:00
Konstantin Haase
93d1e9f66f listen for post messages 2012-09-18 18:28:11 +02:00
Sven Fuchs
6377d20d4d more styles cleanup 2012-09-18 17:12:57 +02:00
Sven Fuchs
f2c72926bd clean up styles 2012-09-18 14:18:25 +02:00
Sven Fuchs
66e2c07a80 extract _common mixin 2012-09-18 09:15:42 +02:00
Sven Fuchs
1f0ab839f1 tweak log tailing handle 2012-09-17 16:35:00 +02:00
Sven Fuchs
3e56f85eaa port log autoscrolling, something still broken about jquery scroll event 2012-09-17 14:14:50 +02:00
Sven Fuchs
6c6a83d469 add a handle for expanding/collapsing all workers 2012-09-17 12:25:39 +02:00
Sven Fuchs
f4eda4e41a fix worker name truncation 2012-09-17 11:41:55 +02:00
Sven Fuchs
4300a9e9ea re-add description to the repo list, but have a button to toggle them 2012-09-16 18:49:35 +02:00
Sven Fuchs
1fcb01b545 try adding Travis.Model.find() since Ember.Model does not delegate findAll() 2012-09-16 17:26:39 +02:00
Sven Fuchs
3d0b4274ae fix overflowing long repo names in the left list 2012-09-16 17:05:25 +02:00
Sven Fuchs
63adffa8a4 use https here 2012-09-16 15:40:36 +02:00
Sven Fuchs
9729f230ee add pusher key 2012-09-16 15:36:16 +02:00
Sven Fuchs
c1498a0c82 add sync to the profile (callback still does not work) 2012-09-16 14:40:16 +02:00
Sven Fuchs
29818f70b1 pass owner_name, not login 2012-09-16 13:44:17 +02:00
Sven Fuchs
2d5460ac32 rename owner to account, fix profile 2012-09-16 00:47:34 +02:00
Sven Fuchs
deb4655e8a modified stats payloads 2012-09-15 15:12:18 +02:00
Sven Fuchs
8b078ca7b5 need to use api/ as a path prefix 2012-09-15 14:30:22 +02:00
Sven Fuchs
b2963ef862 do not wrap whitespace on the build summary 2012-09-15 12:57:06 +02:00
Sven Fuchs
0acf000c45 fix Repository.bySlug 2012-09-15 12:38:27 +02:00
Sven Fuchs
43ccdfa7d6 whoops. 2012-09-15 11:41:27 +02:00
Sven Fuchs
bb59aa0b9d add a loading indicator to history and pull requests 2012-09-15 11:41:27 +02:00
Sven Fuchs
0d298bdc55 fix underscored attributes 2012-09-15 11:41:27 +02:00
Sven Fuchs
b4754c643d fix missing Branch#updateTimes 2012-09-15 11:41:27 +02:00
Sven Fuchs
2ead1ff49e no need to filter here 2012-09-15 11:41:27 +02:00
Sven Fuchs
2ecf7c8a00 fix branch selector on repo tools 2012-09-15 11:41:27 +02:00
Sven Fuchs
c7fb4606d2 try fixing empty queues on load 2012-09-15 11:41:27 +02:00
Sven Fuchs
b20bfe51ef unbreak my-repos 2012-09-15 11:41:03 +02:00
Sven Fuchs
4489f146da unbreak github links 2012-09-15 11:41:03 +02:00
Sven Fuchs
f50bcf5243 do not go to the api for Repository.bySlug if the repository is already loaded 2012-09-15 11:41:03 +02:00
Sven Fuchs
3f6955ec87 resurrect current repo selector 2012-09-15 11:41:03 +02:00
Sven Fuchs
67d14b07d2 comment out warnings 2012-09-15 11:41:03 +02:00
Sven Fuchs
0139fc37d9 wrap pusher receive into Ember.run.next 2012-09-15 11:41:03 +02:00
Sven Fuchs
028c7645fc try debugging "undefined watched global" 2012-09-15 11:41:03 +02:00
Sven Fuchs
16a6118920 do not raise on deprecations 2012-09-14 13:50:39 +02:00
Sven Fuchs
6a05689fd2 subscribe to pusher channels 2012-09-14 13:48:32 +02:00
Sven Fuchs
3c7f186b81 sort by lastBuildFinishedAt if available, otherwise lastBuildId 2012-09-14 13:45:06 +02:00
Sven Fuchs
37521c1d90 upgrade ember to f1ec52aaa0713c7edeca237d38f172e0671a4c0e 2012-09-14 13:32:12 +02:00
Konstantin Haase
23ffffff36 make config.ru more flexible 2012-09-11 18:17:07 +02:00
Konstantin Haase
0596390d10 refactor development server 2012-09-11 15:30:32 +02:00
Sven Fuchs
d401f76ae4 work on profile view 2012-09-10 00:52:42 +02:00
Sven Fuchs
ce8daa6d73 extract tab templates, split up repo views 2012-09-09 12:28:36 +02:00
Sven Fuchs
1088b48b64 try sorting repos with no lastBuildFinishedAt attribute in reverse order 2012-09-08 15:01:25 +02:00
Sven Fuchs
a7b72a2bd4 returned data needs to be normalized per stats type 2012-08-19 14:10:31 +02:00
Sven Fuchs
9dbda0f3e6 fix stats 2012-08-19 13:54:07 +02:00
Sven Fuchs
a470b596bd Merge branch 'stats'
Conflicts:
	Gemfile.lock
	public/javascripts/application.js
	public/stylesheets/application.css
2012-08-19 13:25:08 +02:00
Sven Fuchs
b6a7bfa484 stats 2012-08-19 13:22:36 +02:00
Konstantin Haase
5c8d398317 use rel rather than name 2012-08-13 14:06:37 +02:00
Piotr Sarnacki
2ccde69385 Enable console reporter to make run_jasmine work
Specs in phantomjs still fail, but at least if shows what's going on end
terminates script correctly.
2012-08-12 15:55:58 +02:00
Piotr Sarnacki
8b25160a62 Fix specs and a bug that they've catched
Specs needed to be updated to handle new way of receiving methods.
What's more they revealed a subtle bug that was present after changing
merge function to fetch record if it's not present.

After calling merge, store calls method to update associations. This
may be not possible if clientId for new record is not correctly set.
2012-08-12 02:26:45 +02:00
Piotr Sarnacki
f7422e15c7 Fix specs filtering
We need to check newer versions of Jasmine and if they're broken, it
would be nice to contribute, but for now I'll just do this quick fix.
2012-08-12 02:21:43 +02:00
Piotr Sarnacki
03ee9e3a47 Fix Show More button 2012-08-09 22:34:44 +02:00
Piotr Sarnacki
b61f79545b Load record from server when data comes from pusher for the 1st time
Pusher events usually does not have all data that's needed and ember
will not automatically refresh record to load missing data. That's why
it's easier to fetch record information directly from API for the first
time, even if it comes from pusher.
2012-08-09 17:55:17 +02:00
Piotr Sarnacki
071821c1d7 Update build durations every 5s
Pusher updates usually don't update duration, so it needs to be
calculated from startedAt property and current time or finishedAt
property.
2012-08-09 14:07:07 +02:00
Piotr Sarnacki
1512f8d108 Fix automatic log append 2012-08-08 03:47:38 +02:00
Piotr Sarnacki
236ac25cbf Merge data coming from pusher instead of replacing everything
Pusher events do not always have the entire data for given object.
That's why we need to merge incoming data instead of replacing
everything. Current implementation of merge is just modified version of
load function, so it will be best to either add it to Ember or make the
implementation less dependent on internals.
2012-08-02 01:54:17 +02:00
Piotr Sarnacki
39466a233f Differentiate sortOrder for repos without lastBuildFinishedAt
All of the repos without lastBuildFinishedAt had the same value for
sortOrder, which could result in 'jumps' on the list when loading new
data from the API.
2012-08-01 23:29:38 +02:00
Piotr Sarnacki
de4721abfc Use current host as an API 2012-07-31 17:50:08 +02:00
Piotr Sarnacki
37949d5c21 Remove console.log entry 2012-07-31 17:15:54 +02:00
Piotr Sarnacki
6ff304c123 Use travis-ci.org as default endpoint 2012-07-31 17:13:27 +02:00
Piotr Sarnacki
65d844f480 Fix pusher events and pusher related specs 2012-07-30 22:25:33 +02:00
Piotr Sarnacki
f71a1daab9 Fix even more specs 2012-07-30 15:13:01 +02:00
Piotr Sarnacki
809a94f651 Fix more specs 2012-07-30 14:55:59 +02:00
Piotr Sarnacki
4a15ccde32 Run second waitFor in runs() block
It seems that this is more reliable way to handle async waits. runs
block is executed only when first waitFor succeeds and then it waits for
next waitFor.
2012-07-30 13:25:30 +02:00
Piotr Sarnacki
a3c4468b5a Update ember with emberjs/ember.js#718 merged 2012-07-30 13:25:21 +02:00
Piotr Sarnacki
b099a8e2bb Specs fixing, allow to run 2 build related specs for now 2012-07-30 03:41:17 +02:00
Piotr Sarnacki
cd26fc103e Update ember and ember-data 2012-07-30 03:39:26 +02:00
Piotr Sarnacki
3eb8e17daa If Travis.endpoint is undefined, use empty string
mockjax expects urls exactly as defined, so if you mock '/repos' it will
not match 'http://localhost:9292/repos'. If endpoint is undefined (like
in specs), we may just try to use path.
2012-07-28 23:35:18 +02:00
Piotr Sarnacki
21b076d15f Use jobs reltionship on build instead of filtering.
We don't need to allow auto updates for now. Such approach may need to
be changed if pusher can deliver new jobs, but this should work for now.
2012-07-28 20:31:05 +02:00
Konstantin Haase
5a077d3646 extract auth into separate class 2012-07-23 17:44:22 +02:00
Konstantin Haase
e7d0426493 read API endpoint from HTML 2012-07-23 17:35:36 +02:00
Sven Fuchs
4bdbca9c55 foo 2012-07-23 13:25:21 +02:00
Sven Fuchs
c3b0d5751c rearrange things 2012-07-22 17:23:35 +02:00
Sven Fuchs
f1a60fe39e refactor Routes, does not need to be an Ember.Object 2012-07-22 16:45:12 +02:00
Sven Fuchs
24cddfef53 try to work around sortAscending being fucked 2012-07-22 16:17:21 +02:00
Sven Fuchs
db120f1369 deactivate repo sorting, abstract base_uri 2012-07-22 15:33:06 +02:00
Sven Fuchs
77bc90458e activate sorting for repositories 2012-07-22 15:22:07 +02:00
Sven Fuchs
2015481329 use pushState 2012-07-22 15:10:34 +02:00
Sven Fuchs
0e52977417 replace getPath/setPath with get/set now that ember supports it 2012-07-22 13:19:05 +02:00
Sven Fuchs
0e10ad2e01 add pusher, fix some events 2012-07-22 12:57:23 +02:00
Sven Fuchs
c95c3f7241 toggle log folds 2012-07-20 15:02:33 +02:00
Sven Fuchs
32be28d266 add a sinatra app + stuff 2012-07-20 14:31:29 +02:00
Sven Fuchs
f87bb0c8c0 api stuff 2012-07-18 02:57:55 +02:00
Sven Fuchs
00cfe41cc5 stuff 2012-07-17 11:54:06 +02:00
Sven Fuchs
7eeb44a9f5 fix things to update when stuff is loaded after the fact, ie. through websockets 2012-07-09 03:52:43 +02:00
Sven Fuchs
ba0e3827de moar specs. test setup still fucked 2012-07-08 20:48:09 +02:00
Sven Fuchs
fb618f05a7 stuff 2012-07-08 15:25:24 +02:00
Sven Fuchs
2a8f2bd4bf fix currentUser 2012-07-07 23:08:11 +02:00
Sven Fuchs
960bdbf940 hide owned repos tab unless signed in 2012-07-07 22:50:33 +02:00
Sven Fuchs
e2678d0e8e use a handlebars helper for setting up the search box 2012-07-07 22:45:17 +02:00
Sven Fuchs
5b56895d44 implement search box 2012-07-07 19:55:06 +02:00
Sven Fuchs
54b140d91b stuff 2012-07-07 19:08:04 +02:00
Sven Fuchs
1150a5f703 fix tabs tools 2012-07-07 16:34:07 +02:00
Sven Fuchs
82117d5730 improve specs 2012-07-07 15:37:34 +02:00
Sven Fuchs
37523b3c07 cleanup 2012-07-07 04:26:58 +02:00
Sven Fuchs
b2874c4516 get rid of Layout and Travis.Controller and Travis.View namespaces 2012-07-07 00:46:31 +02:00
Sven Fuchs
ee1ecf32f7 move stuff from the home layout to controllers 2012-07-06 23:43:28 +02:00
Sven Fuchs
a43eb1916c add "loading ..." 2012-07-06 14:39:06 +02:00
Sven Fuchs
267ad6c752 try using SortableMixin, but it's buggy 2012-07-06 13:34:44 +02:00
Sven Fuchs
f8c4377e01 green tests 2012-07-06 11:06:29 +02:00
Sven Fuchs
badf832bd8 clean up urls 2012-07-06 01:34:04 +02:00
Sven Fuchs
c894e81409 fix urls 2012-07-05 21:53:17 +02:00
Sven Fuchs
68b9b31d7f add isBuildTab and isJobTab helpers 2012-07-05 18:19:52 +02:00
Sven Fuchs
a6119caf3e clean up 2012-07-05 18:05:31 +02:00
Sven Fuchs
e15b2d680f commit stuff for piotr 2012-07-05 16:49:47 +02:00
Sven Fuchs
0ee887c792 add a guardfile for running specs 2012-07-05 00:47:05 +02:00
Sven Fuchs
4de9a4b9fc fix specs 2012-07-05 00:22:58 +02:00
Sven Fuchs
0224522aeb workaround for "insert an element into the DOM that has already been inserted" 2012-07-04 12:22:14 +02:00
Sven Fuchs
75b2e1bd6c work on actions 2012-07-04 12:19:59 +02:00
Sven Fuchs
1db0d27458 port styles 2012-07-01 23:39:47 +02:00
Sven Fuchs
5c44b9112f add header 2012-07-01 02:25:26 +02:00
Sven Fuchs
888c2719b8 refactor layouts and add profile/service_hooks 2012-07-01 01:08:35 +02:00
Sven Fuchs
9a60e18a8a add sponsors 2012-06-30 21:13:33 +02:00