Commit Graph

264 Commits

Author SHA1 Message Date
Piotr Sarnacki
eecd5187a3 Revert "Revert "Page for displaying caches""
This reverts commit 3d6931c523.
2014-08-12 16:05:21 +02:00
Sven Fuchs
3d6931c523 Revert "Page for displaying caches"
This reverts commit a58688b451.
2014-08-12 15:53:19 +02:00
Piotr Sarnacki
a58688b451 Page for displaying caches 2014-08-05 18:09:24 +02:00
Piotr Sarnacki
2fd1af29ec Unfold lines before trying to scroll
(closes travis-ci/travis-ci#1501)
2014-06-18 15:36:23 +02:00
Piotr Sarnacki
43e9af77d5 Don't close folds when following logs 2014-06-17 00:50:01 +02:00
Piotr Sarnacki
52dea338ee Refactor handling accounts
This commit changes a way we load accounts for profile view:

* instead of using several views with profile controllers, always use
  one view to render hooks. This is achieved by redirecting to
  individual account page from main profile page (for example when going
  into /profile as a user drogus, the effective address will be
  /profile/drogus)
* instead of using observers to wait for accounts to load I just use
  promise in ProfileRoute#model which effectively ensures that accounts
  are loaded at the time we want to select an individual account
* profile controller is split into profile and account controller
2014-05-28 10:23:39 +02:00
Piotr Sarnacki
3544d523d7 Refactor auth code
* don't use __container__
* register it as a factory on container and inject into routes and
  controller
* avoid afterSignIn errors by checking on hooksTarget, ApplicationRoute
  should register itself as a hooksTarget
* keep user info on auth
2014-05-28 10:22:47 +02:00
Mathias Meyer
b134f82fab Scroll #L links to upper third of the screen.
Fixes travis-ci/travis-ci#2276
2014-05-27 12:39:53 +02:00
Mathias Meyer
1f53f9d100 Fix spelling error in cancellation. 2014-05-20 07:50:26 +02:00
Mathias Meyer
ba2f00a09a URL-encode branch name for status images.
Camelcased all entries in the status image selection menu for
consistency.

Fixes travis-ci/travis-ci#2265
2014-05-19 13:15:56 +02:00
Piotr Sarnacki
57edf811b7 Add requests page 2014-05-12 11:03:10 +02:00
Josef Šimánek
75d58816ca Use textarea instead of input for build status images and links. 2014-05-12 02:47:37 +02:00
Josef Šimánek
cf82a50268 Add cc.xml status url. 2014-05-12 02:27:51 +02:00
Josef Šimánek
dfdc392690 Trim status image modal.
Closes https://github.com/travis-ci/travis-ci/issues/1900
2014-05-12 02:14:52 +02:00
Josef Šimánek
ca2ac4562a Update jobs summary to new format. 2014-05-09 05:52:18 +02:00
Josef Šimánek
a934267b86 Use gravatar for author and committer avatars. 2014-05-09 02:20:34 +02:00
Mathias Meyer
781a99edd8 Add button to add a new repository from sidebar.
It's currently not obvious where to click to add a new repository,
and if anything, we should make it easier for people to set up
new repositories.
2014-05-06 14:46:52 +02:00
Piotr Sarnacki
31cb3c0bb5 Prevent sending double restart request
When requeue icon was clicked 2 times it was sometimes the case that we
sent 2 requests. This commit prevents that and also adds a little nice
indicator instead of restart button while we're sending the request.
2014-05-05 15:37:08 +02:00
Henrik Hodne
2450f9fe9d Revert previous revert
I found the commit that caused the bug that caused me to do the last
revert. I'm therefore reverting the previous revert and I will be
committing a revert that reverts the commit that introduced the bug. See
next commit.

This reverts commit db2d38a7af.
2014-02-12 09:54:24 -06:00
Henrik Hodne
db2d38a7af
Revert setting panel deploy
This seems to have caused issues with enabling the hooks for
repositories.
2014-02-12 09:14:47 -06:00
Piotr Sarnacki
8d19410264 Merge remote-tracking branch 'origin/settings-pane'
Conflicts:
	assets/scripts/app/controllers.coffee
	assets/scripts/app/routes.coffee
	assets/scripts/app/views/repo/show.coffee
2014-02-12 11:52:01 +01:00
Piotr Sarnacki
0d40f2322e Merge pull request #245 from dmathieu/refactor_folder
Refactor the log folder and test the logs view
2014-01-29 02:49:58 -08:00
Damien Mathieu
5ef0302243 automatically unfold lines starting or ending an highlight 2014-01-29 09:10:50 +01:00
Henrik Hodne
e716c5d569
feat(repo-tools): show status image popup to everyone
If you can see the repository, then you should also be able to see the
status of said repository (and status image), so you should also be able
to copy the link to a status image.

Close travis-ci/travis-ci#1881.
2014-01-28 19:46:30 -06:00
Mathias Meyer
af07dfb29e Remove console.log of language. 2014-01-28 20:58:01 +01:00
Damien Mathieu
6608032652 refactor and test the log folder 2014-01-28 17:23:15 +01:00
Hiro Asari
e00b938f4d Merge pull request #190 from travis-ci/hh-annotations
Annotation support (#1220)
2014-01-27 08:41:52 -08:00
Piotr Sarnacki
360b32a4f2 Merge branch 'updated-styles'
Conflicts:
	assets/scripts/app/templates/layouts/top.hbs
	assets/scripts/app/templates/repos/list.hbs
2014-01-27 13:02:05 +01:00
Hiro Asari
26c5cf2a05 Add status image example for POD
Fixes https://github.com/travis-ci/travis-web/issues/235

Note the height attribute is removed from `#status-image`.
We now let browser decide how tall the popup will be.
2014-01-25 09:06:25 -05:00
Hiro Asari
364fb119c9 Add newline 2014-01-24 10:32:42 -05:00
Hiro Asari
9e2a8cb218 Merge branch 'master' into hh-annotations
Conflicts:
	assets/scripts/app/controllers/job.coffee
	assets/scripts/app/models/job.coffee
2014-01-24 10:18:58 -05:00
Piotr Sarnacki
d41d6de175 Merge branch 'master' into settings-pane
Conflicts:
	assets/scripts/app/templates/profile/tabs/hooks.hbs
2014-01-21 18:01:42 +01:00
Piotr Sarnacki
492802920e Use pushState to set urls
It seems that directly setting location.hash directly doesn't play nice
with Ember.js URL handling - using it to handle line numbers results in
weird bugs (URL stops being updated after setting hash manually).

This commit gets back to using window.history.pushState() which was
changed to direct hash manipulation in ff1aad3
2014-01-20 14:24:05 +01:00
Hiro Asari
8b6be08ef4 Merge branch 'master' into settings-pane
Conflicts:
	assets/scripts/app/routes.coffee
	assets/scripts/app/templates/profile/tabs/hooks.hbs
2014-01-17 07:09:04 -05:00
Justine Arreche
5500dbb31c removed locales from profile.coffee 2014-01-13 12:05:32 -05:00
Justine Arreche
072e89ad8e removed locale dropdown in profile and removed colon separators 2014-01-10 14:32:30 -05:00
Justine Arreche
8fb194b557 Merge branch 'master' of https://github.com/travis-ci/travis-web into updated-styles 2014-01-10 10:49:43 -05:00
Justine Arreche
909da95d0f Updating branch from master 2014-01-09 15:19:42 -05:00
Hiro Asari
6ec13ceee1 Merge pull request #240 from dmathieu/multiple_lines
Highlight multiple lines
2014-01-09 10:41:28 -08:00
Damien Mathieu
ff1aad3f03 extract the log lines selector into a separate component 2014-01-09 15:53:33 +01:00
Robert Jackson
cb3d41739b Use bind-attr instead of deprecated bindAttr. 2014-01-07 21:00:26 -05:00
Damien Mathieu
c9e0f07a5a highlight multiple lines
We can now highlight multiple lines, adding #L1-L2 to the hash.
We can select the ending line with shift + click.

Closes travis-ci/travis-ci#1829
2014-01-07 21:46:19 +01:00
Justine Arreche
69ed05b181 changed gravatar size to 200 for optimized retina displays 2014-01-03 20:24:40 -05:00
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
Hiro Asari
4d83e1a4cb Remove urlAuthor and urlCommitter fields
No longer in views, so no need to keep these.
2013-12-31 23:21:10 -05:00
Piotr Sarnacki
ac6b394ec4 Display settings link in the cog menu 2013-12-18 11:02:23 +01:00
Damien Mathieu
a431b68c28 make the back to top fixed and fluidify the follow scrolls
Fixes #89
2013-12-05 16:01:51 +01:00
Piotr Sarnacki
6f3d291d3e Allow to cancel build on pull permissions 2013-11-13 12:07:00 +01:00
Piotr Sarnacki
46e04c4f3f Restarts should be available for pull permissions as well 2013-11-12 17:41:27 +01:00
Hiro Asari
3f30eecc7d Add granular permission levels to User
Display buttons for job control only if the user has permission to do
so.
2013-11-06 15:00:46 -05:00