Commit Graph

73 Commits

Author SHA1 Message Date
Justine Arreche
d324319a96 changes made to profile page including increased type size for readability, color styling and gravatar border radius increase 2014-01-03 19:10:58 -05:00
Mathias Meyer
47f84d5b5b Move build status image button to the top right.
It takes up quite a bit of room on the tabs list, and it makes
more sense to have it up there, as it belongs to the repository.
2013-09-23 13:19:43 +02:00
Piotr Sarnacki
0327d39e2c Move observing last build to controller
We observe last build on the repo in order to show the freshest build on
repo page. I moved it to router in order to keep such observers in the
same place, but this was not a wise move. To make it work properly
observer needs to be removed when moving to some other part (like
build's page). The problem is that deactivate function is not called
when we move to the other route in the same nesting. We have our own
'activate' function on repoController, which is better suited for
handling this task.
2013-09-12 23:23:21 +02:00
Henrik Hodne
688f8a0bb9 Fix typo in cancellation flash message 2013-09-12 10:01:01 -05:00
Mathias Meyer
0c9a49ab51 Rework Code Climate integration for action icon bar. 2013-09-11 10:53:02 +02:00
Mathias Meyer
8d3fa21665 Merge branch 'master' into mm-code-climate-window
Conflicts:
	assets/scripts/app/templates/repos/show/tools.hbs
	assets/scripts/app/views/repo/show.coffee
2013-09-10 14:32:20 +02:00
Mathias Meyer
eaf258f033 Use status image helper to determine the URL. 2013-09-10 12:46:33 +02:00
Mathias Meyer
84130350bd Merge branch 'mm-extract-actions-from-menu' 2013-09-10 10:30:36 +02:00
Mathias Meyer
e7d4b284cd Make action links actual icons.
This change pushes the cog menu to the top, where it belongs, as it
now only includes repository-relevant actions. The icons now reflect
things relating to the build/job itself, and have replace the cog
meny.
2013-09-09 16:40:23 +02:00
Mathias Meyer
451894bcec Pull some bindings into build and job controllers. 2013-09-08 10:11:20 +02:00
Mathias Meyer
2cc35556ab Pull job/repository actions out of cog menu.
It's very hard to notice where something is, when it's hidden in
that menu.
2013-09-08 09:21:37 +02:00
Piotr Sarnacki
1a0e378732 Fix rendering job when moving from index route
The hack which is needed for wrong outlet behaviour renders a template
when outlet is not rendered automatically, but it was done immediately.
Because of that when changing routes from index to job route, sometimes
the hack was kicking in and rendering build instead of job template.
This commit fixes it to check if rendering is needed in "afterRender"
phase on runloop.
2013-09-07 17:44:43 +02:00
Mathias Meyer
f4acc21d06 WIP: Code Climate UI integration. 2013-09-03 14:26:02 +02:00
Piotr Sarnacki
eb35a0e1c6 Merge branch 'master' into ui-improvements
Conflicts:
	assets/scripts/app/controllers.coffee
2013-08-25 14:46:03 +02:00
Piotr Sarnacki
0217b20943 Implement missing pieces for cancel build
We allow to cancel only created builds at this point.
2013-08-09 23:06:19 +02:00
Piotr Sarnacki
92da0c8034 Simplify build/job and tools templates 2013-07-31 13:43:06 +02:00
Piotr Sarnacki
50cdc4cf98 Move checking for errors to router rather than template
Previously we were checking if we should display an error message by
adding if statements in a template. This is not the best way to do
it, because it clutters a template and makes code harder to follow.

In this commit I move rendering error templates to the router. Code for
rendering error when there is no builds is not the best way to do it
either, but it can be improved when new router changes are merged to
Ember's master and a way Ember Data is handling promises is revised and
improved.
2013-06-05 11:37:29 +02:00
Piotr Sarnacki
b432a39fb4 Don't try to connect outlet if current view is desteoyed 2013-05-16 01:56:05 +02:00
Piotr Sarnacki
563c1f8773 destroyed -> isDestroyed 2013-05-16 01:51:57 +02:00
Piotr Sarnacki
685cf1074f Initialize _outlets if it's null 2013-05-16 01:48:06 +02:00
Piotr Sarnacki
df9db80c42 A few improvements for tabs on repos list
* if user is logged out, the default tab should be 'recent'
* when user logs in, the tab is switched to 'my repositories'
* when user logs out, my repositories is hidden again and tab is
  switched to 'recent'
2013-04-30 02:45:16 +02:00
Piotr Sarnacki
8a69df0126 For some reason passing event breaks on chrome 2013-04-05 19:42:53 +02:00
Piotr Sarnacki
957d8a01ab Merge branch 'sidebar-tabs'
Conflicts:
	assets/scripts/spec/support/conditions.coffee
2013-04-05 19:26:24 +02:00
Piotr Sarnacki
39d0202d7a Fix specs, add styling for firefox 2013-04-05 18:09:00 +02:00
Piotr Sarnacki
cf23f81c40 Typo in tools view: hasPermissions -> hasPermission 2013-04-04 17:18:41 +02:00
Piotr Sarnacki
63559f4c4c Show appropriate message when the repository has no builds 2013-03-11 20:11:43 +01:00
Piotr Sarnacki
8fab8448c2 Show appropriate message if repository was not found 2013-03-11 19:47:59 +01:00
Piotr Sarnacki
712389efdb Fix more specs 2013-03-04 03:46:04 +01:00
Sven Fuchs
c4bb49cc17 Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update 2013-02-26 23:19:55 +01:00
Piotr Sarnacki
ba1eecec45 Remove github stats 2013-02-26 05:26:51 +01:00
Piotr Sarnacki
d76463c3f2 Fix a few more UI issues 2013-02-26 05:24:56 +01:00
Sven Fuchs
dbac2f8458 debug output 2013-02-25 13:07:07 +01:00
Piotr Sarnacki
395c818a64 Fix permission check for cog menu 2013-02-21 23:22:54 +01:00
Piotr Sarnacki
50a69cccad Don't do request to get repos every time home page is reloaded 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
0b001acfaf Event is no longer passed as an argument to handlers 2013-02-21 23:22:52 +01:00
Piotr Sarnacki
f0e95ddd3f Main view mostly works on new router 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
2607197cba Fix typo in requeue build permissions check 2013-02-09 18:29:07 +01:00
Lukasz Sarnacki
201a3abf17 Disable links in cog menu when not signed in
When user is not logged in, some links in cog menu
are not display. This commit makes them visible but
disabled.
2013-02-07 00:40:15 +01:00
Piotr Sarnacki
ead17606b5 Fix download log link after log changes 2013-01-30 02:15:11 +01:00
Piotr Sarnacki
0e925c0eed Load branches for status images only after opening the popup 2013-01-24 00:48:11 +01:00
Sven Fuchs
f2ca2d5260 remove worker.lastSeenAt (useless anyway) and use payload.job instead of (deprecated) payload.build for active worker links 2013-01-22 18:55:08 +01:00
Sven Fuchs
9be127fa59 re-enable worker updates via pusher 2013-01-22 17:30:42 +01:00
Piotr Sarnacki
2ca67e6b06 Bring back repo url, it's used in status images urls (closes #118) 2013-01-22 01:30:56 +01:00
Piotr Sarnacki
a8b5460eed Show download log link in the cog menu 2013-01-16 12:59:15 +01:00
Piotr Sarnacki
e40fa3b26d Removed unused urls 2013-01-15 13:18:49 +01:00
Kirill Lashuk
402722d563 Rename urlStatusImage to statusImageUrl. 2013-01-14 23:12:31 +03:00
Kirill Lashuk
9bfd9f3948 Fix urlStatusImage generation. 2013-01-14 23:11:02 +03:00
Kirill Lashuk
8d4c28b7f7 Rename property to statusImageBranch. 2013-01-14 23:04:37 +03:00
Kirill Lashuk
ec14d96236 Select current branch in status images popup. 2013-01-14 23:04:37 +03:00
Sven Fuchs
7759061d4e disable "cancel build" 2012-12-10 15:14:12 +01:00