Piotr Sarnacki
896c79dd16
Remove the rest of the locales related stuff
2014-01-15 14:40:56 +01: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
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
f457a0974c
Merge pull request #233 from dmathieu/tailing
...
Refactor tailing and test it
2013-12-19 09:17:32 -08: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
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
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
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
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
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
b5297d7800
Update code for newest ember-model
2013-10-18 13:41:10 +02:00
Josh Kalderimis
c699d48337
Merge branch 'updated-styles'
2013-10-14 17:37:28 +02:00
Henrik Hodne
e3e96aca73
Remove more trailing whitespace
2013-10-07 17:07:33 -05:00
Josh Kalderimis
63c8c59744
remove some whitespace
2013-10-07 23:52:17 +02:00
Aaron Hill
7218655cf4
Added tests for clearing log when a job is started or requeued
2013-10-04 16:51:28 -04:00
Lukasz Sarnacki
226c5bb42b
More github references replaced with links
...
Github links will be created for following references:
* @username
* gh-1 (for issue #1 )
2013-09-01 13:43:21 +02:00
Lukasz Sarnacki
44c7c627fb
Replace github refference with link travis-ci/travis-ci#1266
...
Github issue refference is now replaced with github issue url.
This covers following refferences:
* #Num
* User#Num
* User/Project#Num
2013-09-01 13:36:24 +02:00
Piotr Sarnacki
30d273a648
Fix specs
2013-08-29 01:19:35 +02:00
Piotr Sarnacki
7be461758c
Fix specs
2013-08-26 17:01:27 +02:00
Piotr Sarnacki
359c97cad0
Rewrite specs from jasmine to qunit
2013-07-31 13:29:45 +02:00
Piotr Sarnacki
5fea9d1d7b
Change spec runner to qunit
...
New ember-testing additions can be plugged into qunit without any
changes, so the easiest way to start using it is to rewrite our tests to
qunit.
2013-07-30 17:12:58 +02:00
Piotr Sarnacki
ebb5f17058
Fix tests with new Ember version
2013-05-15 18:46:41 +02:00
Piotr Sarnacki
3f30f3eec9
sign out before resetting app
2013-05-15 17:23:51 +02:00
Piotr Sarnacki
07cd8233d4
Use $.ajax when testing to not break jquery.mockjax
2013-05-15 17:23:48 +02:00
Mathias Meyer
d82116d68f
Fix GitHub URL test.
2013-05-10 17:09:40 +02:00
Mathias Meyer
d04988138d
Fix specs and expectations for URL changes.
2013-05-10 17:05:45 +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
e23d16c135
Sign out user before running tests
2013-04-29 23:00:13 +02:00
Piotr Sarnacki
f3570acf7c
Comment failing tests, sidebar is temporarily limited.
2013-04-29 22:58:57 +02:00
Piotr Sarnacki
c7561ee13e
Properly display matrix keys when build does not have all keys
...
When additional items are included into matrix via 'matrix.include' key
in .travis.yml they may contain config keys, which are not available on
build.
For example build can contain only 'rvm' key, but we may add the
following include:
matrix:
include:
- rvm: '2.0.0'
env: 'FOO=bar'
In such case, we need to take into account also keys from additional
job, not only from the build.
(closes #172 )
2013-04-06 01:48:32 +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
7996358f01
Fix fetching log in firefox when Location header is unavailable
2013-04-02 20:17:24 +02:00
Piotr Sarnacki
17923af973
Fix expanding folds on firefox
2013-03-29 23:25:05 +01:00
Piotr Sarnacki
ac675e5918
Fix tests
2013-03-29 22:53:57 +01:00
Piotr Sarnacki
745b3a0167
Wait more time in ChunkBufferSpec, to make it more reliable
2013-03-27 20:05:38 +01:00
Piotr Sarnacki
f1adbf8f20
Improve log handling
...
* don't fetch log content on Travis.Log init
* use timeout in ChunkBuffer instead of Ember.run.later
* remove timeout when log is finalized
2013-03-22 01:25:23 +01:00
Piotr Sarnacki
c0d23f5579
Be more specific when catching 'URL not found' error, also add test
2013-03-19 21:39:38 +01:00
Piotr Sarnacki
65254b70da
Fix cutting too long logs
2013-03-19 16:07:21 +01:00
Piotr Sarnacki
80317050ff
Fix specs
2013-03-14 19:59:20 +01:00
Piotr Sarnacki
296bff56f1
Fix specs
2013-03-14 15:43:19 +01:00
Piotr Sarnacki
e02ece9424
Merge branch 'master' into ps-ember-update
...
Conflicts:
assets/scripts/app/models/artifact.coffee
assets/scripts/app/store.coffee
assets/scripts/app/views/job.coffee
assets/scripts/spec/spec_helper.coffee
2013-03-12 13:47:20 +01:00
Piotr Sarnacki
b289d3966b
Finish ChunkBuffer implementation and integrate it with Artifact
2013-03-09 22:01:06 +01:00
Piotr Sarnacki
b4022f5f67
A few improvements for ChunkBuffer
...
* insert available items at once
* allow to use pushObject on buffer itself
* add a test using arrayObserver to make sure that it fires only when
elements are added to arrangedContent
2013-03-09 22:01:05 +01:00
Piotr Sarnacki
d549831c22
Add chunk buffer
2013-03-09 22:01:05 +01:00