Commit Graph

120 Commits

Author SHA1 Message Date
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