Commit Graph

1770 Commits

Author SHA1 Message Date
Piotr Sarnacki
c18222ea51 Settings pane
This commit contains a settings pane implementation. There are a couple
of things here, which are not used yet, like advanced form helpers. I'm
leaving them here, because the plan is to add support for more settings
soon (like: include/exclude branch patterns), which will need these
helpers.

There is also tabs support, although in the current version there is
only one tab (initially it was created for supporting general tab and
notifications tab).
2013-12-18 11:02:23 +01:00
Hiro Asari
eb3ec57be1 Merge pull request #234 from travis-ci/ha-feature-gh234-pretty_build_key_headers
Build Matrix keys should be more flexible than just being camelized
2013-12-16 07:23:05 -08:00
Henrik Hodne
cbf47921c7 Remove 'commiter' key for translations
This key is not in use anywhere else.
2013-12-15 17:48:00 -06:00
Hiro Asari
c2db169b4a Fix typo [skip ci] 2013-12-15 00:54:19 -05:00
Hiro Asari
ade98c7e44 Polish build matrix table header
Instead of uniformly camelizing the headers, use a map of headers
each build matrix key should display in the table
2013-12-15 00:50:48 -05:00
Damien Mathieu
1920785f50 fix regression when going below the log zone
Since a431b68c28, when going below the max
of the log files, the position button would remain in fixed position.
This fixes it.
2013-12-13 17:09:15 +01:00
Damien Mathieu
10d49c6983 refactor and add tests to tailing 2013-12-13 15:27:33 +01:00
Piotr Sarnacki
7a93a9f915 Move events to _actions hash 2013-12-12 15:06:58 +01:00
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