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
05ee9938a9
More cleanup between tests to avoid Metamorph errors
...
It seems that store is not automatically cleaned when calling
app.destroy() as this is just regular property on app object.
Furthermore, there is a bug with connectOutlet that prevents cleaning
views that are set with it. I've added a small hack to save all the
views added as outlets to be able to clean them after running tests.
2012-07-30 14:53:40 +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
Piotr Sarnacki
0be0c82191
Bundle update
2012-07-27 20:39:23 +02:00
Piotr Sarnacki
c297033f84
Use collection instead of each
...
I'm not sure why, but this fixes a problem that occures in builds/show.
It's probably some kind of weird behavior that's happening when ember
manages views insterted with each as opposed to collection management.
2012-07-27 20:37:42 +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
Konstantin Haase
df9213a065
add guard to procfile
2012-07-23 17:34:17 +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
e2b6ac4f11
bump travis-api
2012-07-22 15:40:07 +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
8cdc7d0659
add seeds gitignore config/travis.yml
2012-07-21 20:03:29 +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
431deae0c6
update ember
2012-07-17 00:31:53 +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