Commit Graph

1762 Commits

Author SHA1 Message Date
Josh Kalderimis
e33ae1f82b Merge pull request #232 from travis-ci/ha-feature-multi_os_support
Preliminary Multi-OS support
2013-12-11 14:02:30 -08:00
Hiro Asari
f8370a2236 Display 'os' as build matrix dimension 2013-12-11 16:51:11 -05:00
Piotr Sarnacki
a252e34771 Fix github mention regexp
While merging a pull request I haven't noticed that the first part of
regexp will always match a beginning of the line.
2013-12-11 14:56:15 +01:00
Piotr Sarnacki
86f660310f Add index_loading template 2013-12-11 12:43:11 +01:00
Piotr Sarnacki
b016ba2293 More logging 2013-12-11 12:43:10 +01:00
Piotr Sarnacki
bfdc2d7e6c Comment sync spec
I can't get it working because of mockjax shortcomings (ie. overwriting
existing entries doesn't work).
2013-12-11 12:43:10 +01:00
Piotr Sarnacki
1f0b068992 Pass ids as params to ajax to make it easier to debug it in chrome 2013-12-11 12:43:10 +01:00
Piotr Sarnacki
a2bc840292 Use more fetch instead of find
fetch method returns a promise instead of an actual object. We used find
before, because this was the way we did things before upgrade to Ember
Model. Returning a promise from a model hook pauses router rendering for
the time a resource is loading, which makes it much easier to deal with
asynchronous requests. Thanks to that we can remove parts of the code,
which dealt with it manually.
2013-12-11 12:43:09 +01:00
Piotr Sarnacki
c751b7a8a4 Fix specs
After update specs fail when there is an unexpected ajax query, because
the response is not an ajax response.

A long term solution is to remove mockjax from specs, because it makes
them brittle and they usually fail after small changes. A better
approach would be to use fixtures, which are available for ember model
2013-12-11 12:43:09 +01:00
Piotr Sarnacki
5b5a9d7839 Update Ember Model 2013-12-11 12:43:09 +01:00
Piotr Sarnacki
edb4e19309 Run lastBuildDidChange only once for a runloop run
When a lot of pusher events come with build updates, lastBuildDidChange
can run quite frequently. We can avoid that by using scheduleOnce, which
will ensure that only the last invocation of lastBuildDidChange will be
run for a given runloop run.
2013-12-11 12:43:08 +01:00
Piotr Sarnacki
21fecf855a Reference lastBuildId instead of lastBuild when checking for existance
Referencing lastBuildId will not trigger loading a build record, which
will lower ajax queries number.
2013-12-11 12:43:08 +01:00
Piotr Sarnacki
4f31ce57cf Update Ember.js to 1.2.0 2013-12-11 12:43:08 +01:00
Piotr Sarnacki
18a7f9b09e Merge pull request #227 from dmathieu/fluid_scrolling_buttons
Fluid scrolling buttons
2013-12-11 03:42:43 -08:00
Piotr Sarnacki
abf28495b4 Merge pull request #231 from davidcelis/master
Do not githubify sign-off messages
2013-12-11 03:41:25 -08:00
David Celis
aeebe85308 Do not githubify sign-off messages
Don't successfully `githubify` strings prepended with an `@` symbol if
what's matched actually resembles an email address. @mentions should
only be githubified if there is a word boundary before it.

This fixes travis-ci/travis-ci#1591

Signed-off-by: David Celis <me@davidcel.is>
2013-12-10 12:54:06 -08:00
Josh Kalderimis
7974341d77 Merge pull request #228 from dmalikov/master
Add ghc to CONFIG_KEYS
2013-12-09 10:30:14 -08:00
Dmitry Malikov
1041b59246 Add ghc to CONFIG_KEYS 2013-12-09 22:09:37 +04: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
07e0620b23 Fix duplicated broadcasts 2013-12-04 16:20:16 +01:00
Piotr Sarnacki
42a978721e Merge pull request #226 from dmathieu/actions_deprecation
Remove ember deprecation about actions inside events
2013-12-04 07:05:09 -08:00
Damien Mathieu
347cb0f887 actions need in views need to be in their own namespace, not in events anymore 2013-12-04 15:32:52 +01:00
Hiro Asari
f86a7f8973 Merge pull request #223 from travis-ci/ha-bug-ci_gh1659
Style 'grey' class
2013-12-02 05:35:16 -08:00
Mathias Meyer
22e631a834 Merge pull request #224 from gregkare/fix_license
Fix typo in LICENSE file name
2013-11-28 06:46:54 -08:00
Greg Karékinian
23253174af Fix typo in LICENSE file name 2013-11-28 15:40:13 +01:00
Piotr Sarnacki
4ddee83cc5 Merge pull request #220 from travis-ci/ps-allow-to-cancel-on-pull-permissions
Allow to cancel build on pull permissions
2013-11-28 03:55:15 -08:00
Hiro Asari
9c2be87ac2 Lighten $ansi-grey 2013-11-27 01:20:55 -05:00
Hiro Asari
9e3700752e Style 'grey' class 2013-11-22 08:32:02 -05:00
Justine
52a3fa70e2 Merge pull request #222 from gregkare/align_line_numbers
Line numbers and log content should be aligned
2013-11-20 13:52:56 -08:00
Greg Karékinian
d5bb233df0 Align line numbers with CSS
It looks good up to 9999

Refs #222
2013-11-20 13:01:37 +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
Sven Fuchs
eaf260a516 Revert "Display repos with no builds, but which are active in 'My repositories'"
This reverts commit fbed80f166.

Conflicts:
	assets/scripts/app/templates/repos/list.hbs
2013-11-12 16:06:26 +01:00
Piotr Sarnacki
028733df90 Use Win XP on sauce labs, also use latest browser version 2013-11-11 11:40:16 +01:00
Piotr Sarnacki
389f5d6b87 Merge pull request #219 from BanzaiMan/dev/hasari/granular_perms
Add granular permission levels to User
2013-11-07 09:26:35 -08:00
Hiro Asari
758ad40349 Fix typo 2013-11-07 11:50:12 -05:00
Hiro Asari
b72cc319cc Reduce number of AJAX requests 2013-11-06 15:57:16 -05: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
Sven Fuchs
6d52827576 timeago: assume "now" when date is in the future 2013-11-05 15:48:30 +01:00
Piotr Sarnacki
106c9e0776 Catch everything but '/' for status image redirect 2013-10-31 16:57:41 +01:00
Piotr Sarnacki
88c5bae9fc Don't redirect to api if we want something from images dir 2013-10-31 16:52:54 +01:00
Piotr Sarnacki
06d90dbc9b Merge branch 'master' into insufficient-oauth-permissions
Conflicts:
	assets/scripts/app/routes.coffee
2013-10-31 15:52:59 +01:00
Henrik Hodne
abe16b3c3b Merge pull request #218 from nschonni/patch-1
travisci.com to travis-ci.com
2013-10-30 10:16:41 -07:00
Nick Schonning
b21f9f82fb travisci.com to travis-ci.com
travisci.com emits a 301
2013-10-30 13:15:41 -04:00
Piotr Sarnacki
190bf9e837 Use lastBuildHash on repo, not lastBuild
lastBuildHash uses information for last build, which is available on the
repo object, so it will not trigger an ajax request if we haven't
fetched a build yet.
2013-10-30 14:36:32 +01:00
Piotr Sarnacki
018eafe84b Fix problem with getting started template rendering on first sync
When first sync template is displayed, user usually doesn't have any
repos, which also triggers rendering of getting started template. The
fix for this is to handle the action to render getting started page on
first sync and do nothing in such case.

I also added a test to ensure that it works correctly.
2013-10-29 20:48:27 +01:00
Piotr Sarnacki
a8fe524c00 Accidentaly commited change to ruby 2.0.0 2013-10-29 18:50:56 +01:00
Piotr Sarnacki
f089ee91a3 Merge branch 'show-active-repos' 2013-10-29 18:05:33 +01:00
Piotr Sarnacki
fbed80f166 Display repos with no builds, but which are active in 'My repositories'
When user activates a repository in the profile page, we now will
display this repository on the 'My Repositories' list. When user chooses
this repository, she will see an explenation why there is no builds and
what could be done to fix this.

Conflicts:
	assets/scripts/app/controllers.coffee
	assets/scripts/app/models/repo.coffee
	assets/scripts/app/templates/repos/list.hbs
2013-10-29 18:05:23 +01:00
Piotr Sarnacki
0bf5a413da Update lib8 and rubyracer 2013-10-29 17:12:03 +01:00