Commit Graph

157 Commits

Author SHA1 Message Date
Lisa P
8f61f49826 query for more branches if first call is not last page 2015-10-14 14:57:38 +02:00
Lisa P
3306e5a7e6 Merge pull request #398 from travis-ci/fix-404
Fix 404
2015-10-13 13:02:30 +02:00
Lisa P
3c2fbc067e make give 404 a matchable route and redirect from owner if necessary 2015-10-13 12:38:22 +02:00
Lisa P
7f57466484 set limit in branch query to 100 2015-10-09 14:52:09 +02:00
Lisa P
0d94c1b786 try to get redirect to 404 working 2015-10-06 21:07:24 +02:00
Lisa P
fbb30d120c fix owner page query 2015-10-05 23:31:59 +02:00
Lisa P
4ed60c5fbb change owner query and comment out transition 2015-10-05 22:50:09 +02:00
Lisa P
12ac35a123 fix double link in build tiles, better error message for owner 2015-10-05 22:44:29 +02:00
Lisa P
e4e29ff418 add component for landing page builds + styles 2015-10-05 17:26:45 +02:00
Lisa P
1a1fedfb74 fix last_branch fields on dashbaord 2015-09-29 15:23:44 +02:00
Lisa P
a964272df2 change some styles on dashboard 2015-09-22 17:49:11 +02:00
Lisa P
3ef64f0910 start redoing dashboard 2015-09-21 18:56:00 +02:00
Lisa P
d44f020dec fix tab highlighting 2015-09-18 12:13:18 +02:00
Lisa P
6d0067bdb0 Merge branch 'master' into branches-redux 2015-09-14 10:35:23 +02:00
Piotr Sarnacki
06c579c453 Merge pull request #394 from travis-ci/owner-route-error-handling
Add error handling for the owner route
2015-09-09 10:37:05 +02:00
Lisa P
fe67ce0882 work on branches templates 2015-09-08 17:48:47 +02:00
Lisa P
b3c966b245 toy around with branch requests 2015-09-07 18:09:39 +02:00
Lisa P
dda2051d57 commit current status 2015-09-07 15:53:14 +02:00
Piotr Sarnacki
13ce7f88bd Fix getting push access data on settings reload 2015-09-07 13:21:57 +02:00
Piotr Sarnacki
36058f79b9 Add error handling for the owner route 2015-09-07 11:45:58 +02:00
Piotr Sarnacki
8aac1c062d Rename sshKey to ssh_key for ember-data lookups 2015-09-02 13:17:29 +02:00
Lisa P
978b35b6ca check if user is signed in 2015-08-26 11:33:19 -04:00
Lisa P
d6fa74c8f6 authenticate owner request for realz 2015-08-26 11:11:12 -04:00
Lisa P
47d8951535 try to authenticate request if logged in/ on pro 2015-08-25 16:08:52 -04:00
Piotr Sarnacki
dd09b105ee Don't set needsAuth explicitly on owner apge, so the default is used 2015-08-19 12:40:01 +02:00
Lisa Passing
bc1db07901 fix duplicate owner name in document title on ownerpage 2015-08-12 11:11:28 +02:00
Piotr Sarnacki
e382d3015d We can get push access info from current user record 2015-08-07 13:05:30 +02:00
Piotr Sarnacki
759e56d7ba Change repos-list into a component 2015-08-05 13:11:57 +02:00
Lisa Passing
691e02d08f check for push permission in ssh key settings 2015-07-27 16:46:16 +02:00
Lisa P
6eb1405cea Merge pull request #374 from travis-ci/settings-glimmer
Settings glimmer
2015-07-23 13:48:45 +02:00
Lisa Passing
8891b325b3 fetch repo hook, but hide deactivate section for now 2015-07-22 15:05:27 +02:00
Piotr Sarnacki
271724f994 Implement concurrent builds limit in settings 2015-07-21 18:01:46 +02:00
Lisa Passing
e7aa74872d add general settings functionality 2015-07-21 17:24:18 +02:00
Lisa Passing
b32ce35a05 fix ssh-key displays 2015-07-20 17:11:59 +02:00
Lisa Passing
2accdd5626 try fetching ssh keys 2015-07-17 11:39:46 +02:00
Piotr Sarnacki
f4b9a3bbe2 Sign user out in the route after failed user request
Sign out should occur in the route after the request is performed.
Additionally, the error from refreshUserData needs to be handled in
route in order to not propagate to parent routes.
2015-07-16 15:20:19 +02:00
Lisa Passing
cb9c26d3a5 work on envvars 2015-07-14 15:54:19 +02:00
Lisa Passing
9bee539474 Merge branch 'master' into settings-glimmer 2015-07-14 11:24:55 +02:00
Lisa Passing
572804653c trying some thing in the settings route. No idea what I'm doing 2015-07-07 18:47:57 +02:00
Piotr Sarnacki
8a1d1b9be6 Don't use a legace /repositories endpoint for getting a key 2015-07-07 17:03:01 +02:00
Lisa Passing
2ebd6e893a add some styles for settings and new switches 2015-07-01 17:09:34 +02:00
Piotr Sarnacki
5ba541fb43 Use transitionTo instead of replaceWith on profile page 2015-07-01 09:35:21 +02:00
Piotr Sarnacki
b61b06620c Don't subscribe to common channel on landing page 2015-06-18 16:28:46 +02:00
Piotr Sarnacki
1365caae9a Use per repo channels instead of common channel 2015-06-18 15:47:14 +02:00
Piotr Sarnacki
78580c1e76 Always refresh a user record when page is loaded 2015-06-16 17:54:55 +02:00
Piotr Sarnacki
5f37bcb312 Query for repos on landing page right away 2015-06-10 12:19:13 +02:00
Piotr Sarnacki
648d7579e4 Use less expensive endpoints for getting repos with last builds
We display a few recently built repos on landing page. Till now it was
using quite expensive endpoint "/repos". This commit changes it to get
last builds from builds endpoint and then fetch repositories by ids.
2015-06-10 11:32:06 +02:00
Piotr Sarnacki
4201b81fe8 Change CurrentUserController to Controller 2015-06-02 11:16:04 +02:00
Piotr Sarnacki
8b333c09fa Extract builds-item as a component to not use itemController 2015-06-02 11:16:04 +02:00
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
Piotr Sarnacki
24d18afd48 Merge branch 'css-refactor' into ember-cli
Conflicts:
	app/templates/layouts/profile.hbs
	assets/scripts/app/routes.coffee
	assets/scripts/app/views.coffee
2015-02-05 12:49:26 +01:00