Commit Graph

58 Commits

Author SHA1 Message Date
Lisa Passing
d687ebe01a bring back old things 2015-05-28 15:40:49 +02:00
Lisa Passing
275f8f14b2 trying some api things 2015-05-28 15:40:49 +02:00
Piotr Sarnacki
b9cf051575 Show proper layout for owner's loading page 2015-05-12 17:24:16 +02:00
Lisa Passing
1fb4a868be fix owner routes and tabs 2015-05-12 14:45:30 +02:00
Lisa Passing
ff107384c2 add owner stuff 2015-05-12 14:45:30 +02:00
Piotr Sarnacki
a4a75912b0 Implement ajax polling for things that are visible on the screen
We sometimes miss pusher updates, which started to be more common
lately. Until we investigate what's going on, this should be a good
workaround for keeping UI in sync with the DB.
2015-05-07 13:49:21 +02:00
Piotr Sarnacki
bfb4946df8 Show caches also if there're no caches for push builds
This commit fixes caches view to show caches also if only PR caches
exist. Previous version checked for pushes only.
2015-05-06 11:34:02 +02:00
Piotr Sarnacki
95c91786ac Revert "Move owner's page under main route"
This reverts commit ee4eb418ef.
2015-05-05 15:42:59 +02:00
Piotr Sarnacki
141015b583 Revert "Don't show sidebar on owner's page"
This reverts commit 7b7b16e57f.
2015-05-05 15:42:54 +02:00
Piotr Sarnacki
7b7b16e57f Don't show sidebar on owner's page 2015-05-05 15:37:43 +02:00
Lisa Passing
661b16255b set document title on owner pages 2015-05-05 14:46:53 +02:00
Piotr Sarnacki
ee4eb418ef Move owner's page under main route
That way we don't rerender the entire layout each time we change route
under "main"
2015-05-05 14:21:24 +02:00
Lisa Passing
1801645ddd use the config thing instead 2015-05-05 13:50:31 +02:00
Lisa Passing
1456fcb22b hardcode the other api 2015-05-05 13:44:05 +02:00
Lisa Passing
e8c719587f use active in the api query 2015-05-05 13:03:09 +02:00
Lisa Passing
fe13a44237 fix footer columns issue 2015-05-05 13:03:08 +02:00
Lisa Passing
4ac5841a6d add make owner page sorta kinda work 2015-05-05 13:03:07 +02:00
Lisa Passing
1760168d45 change owner api endpoint 2015-05-05 13:03:07 +02:00
Lisa Passing
4ea1ace04d fix margin for dashboard tiles 2015-05-05 13:03:06 +02:00
Lisa Passing
6dc3dd357e add more owner functionality 2015-05-05 13:03:06 +02:00
Lisa Passing
126c767fe1 write some tests 2015-04-17 13:39:36 +02:00
Lisa Passing
23e719ed78 componentify caches 2015-04-17 13:06:21 +02:00
Lisa Passing
203fbcea8a add pr icon 2015-04-14 12:47:03 +02:00
Lisa Passing
a78e226de1 only show one (biggest) cache per branch 2015-04-14 12:19:07 +02:00
Piotr Sarnacki
cbbd555fdd Bring better sortOrder for my repos back 2015-04-08 14:09:40 +02:00
Piotr Sarnacki
918b6e043e If there's no repos on landing page for 10s, fetch some 2015-04-07 14:43:00 +02:00
Piotr Sarnacki
17a8edba50 Show only finished repositories on landing page 2015-04-07 14:42:59 +02:00
Piotr Sarnacki
42cacb31ec Style recent builds on landing page 2015-04-02 16:57:18 +02:00
Piotr Sarnacki
a5ade45b47 Rewrite landing page recent repos to not query API 2015-04-02 13:37:42 +02:00
Piotr Sarnacki
defc930699 Don't show CTA on landing page 2015-04-01 11:32:04 +02:00
Piotr Sarnacki
5e21afd1f4 Display running repos info on landing page 2015-04-01 10:32:04 +02:00
Piotr Sarnacki
6695a8e19a Completely remove left sidebar for not logged in users 2015-03-30 13:22:51 +02:00
Piotr Sarnacki
ecc635bde5 Auto-merged master into landing-page on deployment. 2015-03-30 12:15:42 +02:00
Piotr Sarnacki
b30492296c Show landing page before signin in 2015-03-30 12:06:49 +02:00
Piotr Sarnacki
74d1415258 Set model on accounts controller for backwards compat 2015-03-27 09:06:29 +01:00
Piotr Sarnacki
9133555efd Add fallback for setting title in account 2015-03-27 08:48:49 +01:00
Piotr Sarnacki
c4b114bdb6 Divide user and organizations on accounts list 2015-03-25 11:38:39 +01:00
Piotr Sarnacki
e8ad482434 Make favicon work properly when viewing job
Current implementation of controllers makes it hard to implement favicon
changes outside of build/job controllers. The problem is that if a job
is viewed, both controller are populated, which means they will both
send state change events to change favicon. This commit adds a check for
build controller, which allows to disable state change events when we're
viewing a job
2015-02-24 16:51:37 +01:00
Piotr Sarnacki
acb70dcac7 First stab at changing favicon based on build or job state 2015-02-24 16:20:56 +01:00
Piotr Sarnacki
cf9bea3ea5 Call super in deactivate/activate in main/recent route
The problem that I identified earlier as a Safari bug turned out to be a
bug in main/recent route. Not calling super in deactivate resulted in
code to remove observer not being executed at all.
2015-02-20 13:18:15 +01:00
Piotr Sarnacki
bf7c4e1464 Fix viewing repo after viewing all repos on safari
When transitioning from recent route to a specific repo deactivate is
not called for some reason on Safari. It seems like a bug in Ember.js,
but I need to investigate more.

A solution is to also try to remove observer in reset controller
2015-02-18 16:32:46 +01:00
Piotr Sarnacki
dfc22014a8 Set page titles relevant to page is loaded
I used ember-cli-document-title addon.
2015-02-17 14:35:59 +01:00
Piotr Sarnacki
f7f274f5d5 Fix search
In search there was a check on 'auth' in the view and we no longer
inject auth into views. That's why the check needs to be done on the
controller.

The other thing is that slash breaks the URL currently, so this commit
also changes slash in the search phrase into %2F character.
2015-02-17 10:38:04 +01:00
Piotr Sarnacki
5bb419ef7b Sort repos explicitly on dashboard 2015-02-16 16:09:10 +01:00
Piotr Sarnacki
9559d55400 Don't subscribe to pusher if there's no instance 2015-02-16 14:15:36 +01:00
Piotr Sarnacki
9601d53ad6 We can use @pusher directly, no need for @get 2015-02-16 14:14:59 +01:00
Piotr Sarnacki
85fc6c5cf4 Don't require auth for requests 2015-02-10 10:33:04 +01:00
Piotr Sarnacki
705fe69208 Fix ssh-key route 2015-02-06 15:11:02 +01:00
Piotr Sarnacki
e943f9ef5c Properly set value of isRecentTabOpen to false on deactivate 2015-02-05 15:47:10 +01:00
Piotr Sarnacki
3780eaa13f Merge pull request #326 from travis-ci/less-pusher-data
Don't save data from pusher that won't likely be used
2015-02-05 15:37:49 +01:00