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
Piotr Sarnacki
8e5111da88
Convert switches in profile to components
2014-01-21 17:57:35 +01:00
Piotr Sarnacki
d7bef2b94e
Revert tailing changes
2014-01-20 15:00:34 +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
Mathias Meyer
84037fb3c3
Fix links to blog and docs.
2014-01-20 12:50:08 +01:00
Piotr Sarnacki
4cf6f0542e
Update Ember to 1.3.1
2014-01-14 18:25:36 +01:00
Hiro Asari
f5b49f4af7
Add specs for link-ifying commit references
2014-01-13 09:08:26 -05:00
Hiro Asari
4e24d9835a
HTTPS everywhere for github.com
2014-01-11 15:11:03 -05:00
Hiro Asari
2b65686636
Rearrange github link helpers
...
So that regex and transformation appear together.
2014-01-11 13:42:34 -05:00
Hiro Asari
9ed3e66206
Detect and link-ify github commit ref in log
...
Addresses https://github.com/travis-ci/travis-ci/issues/1470
2014-01-11 13:40:23 -05:00
Justine Arreche
e8c6bc3745
Removed duplicate duration icon
2014-01-10 13:42:51 -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
228afe9a63
store the last selected line and use it as the other end for multiple selection
2014-01-09 17:31:47 +01:00
Damien Mathieu
ff1aad3f03
extract the log lines selector into a separate component
2014-01-09 15:53:33 +01:00
Piotr Sarnacki
e0c062ad15
Add ember.prod.js
2014-01-09 13:19:29 +01:00
Piotr Sarnacki
34a8ed64de
Update log.js
2014-01-09 12:44:38 +01:00
Robert Jackson
8d681e85af
Use link-to instead of deprecated linkTo.
2014-01-07 21:02:24 -05:00
Robert Jackson
cb3d41739b
Use bind-attr instead of deprecated bindAttr.
2014-01-07 21:00:26 -05:00
Robert Jackson
5260fac6dc
Update to Ember 1.3.0.
2014-01-07 20:51:01 -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
Piotr Sarnacki
c80a4e4160
No need to abort transition: rejecting will abort automatically
2014-01-07 21:17:20 +01:00
Mathias Meyer
d569938687
Fix typo in Code Climate popup.
2014-01-02 12:26:34 +01: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
Hiro Asari
80510badff
Remove mailto:
URLs
...
Addresses https://github.com/travis-ci/travis-ci/issues/1807
2013-12-31 19:47:28 -05:00
Piotr Sarnacki
f457a0974c
Merge pull request #233 from dmathieu/tailing
...
Refactor tailing and test it
2013-12-19 09:17:32 -08:00
Piotr Sarnacki
536866d7d6
Get config headers only from jobs when preparing jobs table
...
After changes in travis-core, irrelevant headers are removed when matrix
is expanded. For example python version is removed from a ruby build.
Build's config is not altered, so in order to get only effective keys,
we need to iterate over jobs.
2013-12-19 14:05: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
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
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
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
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
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