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
0139fc37d9
wrap pusher receive into Ember.run.next
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
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
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
37949d5c21
Remove console.log entry
2012-07-31 17:15:54 +02:00
Piotr Sarnacki
65d844f480
Fix pusher events and pusher related specs
2012-07-30 22:25:33 +02:00
Piotr Sarnacki
809a94f651
Fix more specs
2012-07-30 14:55:59 +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
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
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
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
Sven Fuchs
0e361e9a25
refactor and add sidebar
2012-06-30 15:38:38 +02:00
Sven Fuchs
1cce65842b
split up views
2012-06-29 22:31:31 +02:00
Sven Fuchs
248e3ce16e
refactor towards layouts
2012-06-29 22:31:14 +02:00
Sven Fuchs
50ff39d5c0
go back to sc-router
2012-06-29 14:42:39 +02:00
Sven Fuchs
f02eb6afbc
add some more specs
2012-06-27 16:28:19 +02:00
Sven Fuchs
daed80916b
rearrange things so that we can destroy/create the app for test isolation
2012-06-26 03:12:55 +02:00
Sven Fuchs
cc49b87a97
try using jasmine for specs
2012-06-25 23:58:27 +02:00
Sven Fuchs
2af55e9387
stuff
2012-06-24 16:24:24 +02:00
Sven Fuchs
aea4375860
add a readme
2012-06-24 03:42:41 +02:00
Sven Fuchs
89ffbea515
stuff
2012-06-24 03:31:41 +02:00
Sven Fuchs
1d2e494371
upgrade ember to current master, use camelized attributes
2012-06-23 23:57:13 +02:00
Sven Fuchs
7c0ebf4916
go back to nesting states in a common "repository" state
2012-06-23 18:31:07 +02:00
Sven Fuchs
f7aeda897b
stuff
2012-06-23 17:44:28 +02:00
Sven Fuchs
2437f79845
un-dry router in order to figure out whats wrong with url generation
2012-06-22 13:25:26 +02:00
Sven Fuchs
23d74a53a7
try using minispade
2012-06-22 12:14:00 +02:00
Sven Fuchs
c8246efab6
use rake-pipeline
2012-06-22 03:18:07 +02:00