Commit Graph

3996 Commits

Author SHA1 Message Date
Lisa P
9f636b986c Merge pull request #458 from fauxton/fix_sidebar_links
Remove click handler overriding default link behavior
2016-02-16 14:36:36 +00:00
Curtis Ekstrom
2ae61562ea Ensure scroll position reset
This adds a new mixin that allows us to opt in to scroll reset
behavior.
2016-02-16 14:10:12 +01:00
Curtis Ekstrom
c118153f2f Remove click handler overriding default link behavior
An [issue](https://github.com/travis-ci/travis-ci/issues/5181) was reported in
which the repository sidebar links were not functioning properly. I've
tracked it down to the fact that a click handler was registered and
automatically performing a redirect to the repo route.

This breaks CMD+Click behavior (as the click handler was still
called and navigating when the user did not expect it, as well as
navigated to a link that the user did not intend to visit.

This commit simply removes that click handler. I checked the previous
coffee version of the file to gain more context on why it was initially
added, but unfortunately, it was simply added when the original
component was created, so I'm not sure what its use was.
2016-02-15 23:40:09 +01:00
Lisa P
08bc13aedd fix layout issue on repos for not signed in users 2016-02-15 16:45:40 +01:00
Lisa P
f8ce0b494f Merge pull request #456 from travis-ci/ja-rexported-logos
Added in rexported logo assets and corrected /logos for file downloads
2016-02-12 15:54:51 +01:00
Justine
af4b85ab24 Merge pull request #457 from travis-ci/ha-doc-env-var-escaping
Add note for escaping bash special characters
2016-02-11 18:08:16 -05:00
Hiro Asari
d55147ee04 Add note for escaping bash special characters 2016-02-11 12:33:26 -10:00
Justine Arreche
be6bfda455 Added in rexported logo assets and corrected /logos for file downloads 2016-02-11 12:15:07 -05:00
Lisa P
ae1719b5f4 Merge pull request #452 from travis-ci/lp-cleanup
mulitiple smaller things
2016-02-11 16:19:50 +01:00
Lisa P
a343815476 revamp settings button to more options 2016-02-11 15:12:04 +01:00
Lisa P
7a6bb1cdd9 update status image popup 2016-02-11 14:44:36 +01:00
Lisa P
eda72b785c remove unused styles 2016-02-11 14:43:00 +01:00
Lisa P
92eec06b6e broadcast fix for safari 2016-02-11 14:38:59 +01:00
Piotr Sarnacki
707c77aeee Strengthen the dependencies on canCancel in build
For some reason it sometimes is not refreshed correctly without these
additional dependencies.
2016-02-11 13:54:07 +01:00
Piotr Sarnacki
20e8a47576 Fix logs displaying when a restart happens
When a user restarts a job, we should not try fetching the log again. In
order to do this I added a guard in job-log component, which checks if
attributes changed in didReceiveAttrs callback. If the old job value is
the same as the new value, we don't need to do anything.
2016-02-11 13:43:59 +01:00
Piotr Sarnacki
238969bc51 Merge pull request #455 from alicetragedy/lg-update-team
add twitter handle for laura in team page
2016-02-09 14:43:59 +01:00
alicetragedy
a27131015f add twitter handle for laura in team page 2016-02-09 10:53:21 +01:00
carlad
c65841e7ce Merge pull request #454 from travis-ci/ja-adding-laura
Added in Laura's picture, gif, information and countries..
2016-02-08 22:03:56 +01:00
Justine Arreche
24aa541616 Added in Laura's picture, gif, information and countries.. oh and I guess I also wanted to sneaky change my picture too 2016-02-08 15:25:53 -05:00
Piotr Sarnacki
1091385aab Merge pull request #447 from fauxton/remove_autoprefixer_deprecations
Remove autoprexifer deprecations
2016-02-08 11:43:37 +01:00
Piotr Sarnacki
a6e850ecea Merge pull request #448 from fauxton/remove_router_deprecations
Remove resource router deprecations
2016-02-08 11:43:31 +01:00
Piotr Sarnacki
9c9f161c26 Merge pull request #450 from fauxton/remove_append_deprecations
Remove append() test deprecations
2016-02-08 11:43:17 +01:00
Lisa P
c07709139c fix people pics on front page 2016-02-04 13:00:47 +01:00
Lisa P
4347c1efe4 Merge pull request #449 from travis-ci/enterprise-ui-fixes
Enterprise ui fixes
2016-02-04 12:29:57 +01:00
Curtis Ekstrom
9d429966d0 Remove append() test deprecations
Replacing with `render` to appease the test suite gods.
2016-02-04 00:06:47 +01:00
Lisa P
243bd4aed5 update according to comments 2016-02-02 15:22:03 +01:00
Lisa P
38be0fc90c enterprisify infrastructure notices 2016-02-02 12:32:04 +01:00
Lisa P
534714e7e9 hide syncing info on enterprise 2016-02-02 12:23:50 +01:00
Lisa P
21cbc96e77 bring back profile graphic 2016-02-02 12:23:49 +01:00
Lisa P
90408dfb47 hide some UI elements for enterprise 2016-02-02 12:23:49 +01:00
Piotr Sarnacki
1d0fb6468e Fix job times updating on build view 2016-02-02 11:45:59 +01:00
Piotr Sarnacki
8e610a6191 Show branches content even if there's no defaultBranch 2016-02-02 11:08:48 +01:00
Curtis Ekstrom
768963efc6 Remove resource router deprecations
The use of `resource` within the router is deprecated as of 2.0.0.
See notice [here](https://github.com/emberjs/ember.js/pull/11517).

This uses ember-watson to do the manual conversion, with small
aesthetic tweaks.
2016-02-01 16:29:12 +01:00
Curtis Ekstrom
1b00bc72a1 Remove autoprexifer deprecations
Upgading ember-cli-autoprefixer to 0.5.0 removes the deprecation
messages from the build output (these were targeted for removal
in 0.4.0).

There are no noticable side effects, but this version does package
the most recent version of postcss/autoprefixer. The release notes
for that version can be found
[here](https://github.com/postcss/autoprefixer/releases/tag/6.0.0).
2016-02-01 16:11:42 +01:00
Piotr Sarnacki
4443dc9ddd Merge pull request #435 from jasonkarns/patch-1
Leverage <time> element
2016-02-01 16:00:36 +01:00
Jason Karns
788bcfa0d4 more time markup 2016-02-01 09:44:04 -05:00
Jason Karns
b481946000 Leverage <time> element
Sample of using the `time` element instead of `abbr` for displaying timestamps.

The `time` element can also represent durations. So the sample used here is suboptimal. Rather than the duration time lising the `lastBuildStartedAt` time in the `datetime` attribute, it ought to be a [valid `duration` value](https://www.w3.org/html/wg/drafts/html/master/infrastructure.html#valid-duration-string). However, I didn't see any existing helpers for formatting according to a machine-readable duration value.
2016-02-01 09:38:17 -05:00
Piotr Sarnacki
3fef8fdd0e Merge pull request #446 from travis-ci/lp-remove-codeclimate
remove code climate
2016-02-01 13:20:13 +01:00
Lisa P
1c4f748b2e fix tests, refactor repo-actions component 2016-02-01 13:09:16 +01:00
Lisa P
cd7ab9b719 remove code climate
remove code climate popup function
2016-02-01 13:09:15 +01:00
Piotr Sarnacki
ac4f5ed193 Merge pull request #445 from travis-ci/update-finished-at-for-finished-builds
Update time also for finished builds, but only every minute
2016-02-01 11:58:44 +01:00
Piotr Sarnacki
84e207641e Merge pull request #443 from fauxton/remove_component_test_deprecations
Remove component test deprecations by specifying test type
2016-02-01 10:38:01 +01:00
Piotr Sarnacki
620632500b Merge pull request #444 from fauxton/remove_initializer_deprecations
Remove initializer deprecation warnings
2016-02-01 10:37:30 +01:00
Curtis Ekstrom
92896aa8e1 Remove initializer deprecation warnings
The previous initializer API was deprecated in Ember 2.1 (See
http://emberjs.com/deprecations/v2.x/), so this updates the initializer
signatures to accomodate that change.
Also, remove the registered deprecation from the workflow.
2016-01-31 12:30:27 +01:00
Curtis Ekstrom
58955469c6 Remove component test deprecations by specifying test type 2016-01-31 12:04:44 +01:00
Piotr Sarnacki
4b9d9fda1e Remove unneeded class 2016-01-29 16:47:40 +01:00
Piotr Sarnacki
6deae83a1b Only hide #log element, so it's always in the DOM
When a job is not started, we will show a message that the log can't be
shown. If a pusher message with a state change comes after the first log
pusher message, travis-web-log will error out, because in such a
situation a DOM element wouldn't be available. To make it always work,
this commit changes the behaviour to just hide #log element with CSS
instead of using {{#if}}.
2016-01-29 16:32:51 +01:00
Piotr Sarnacki
7764479c14 Schedule inserting elements afterRender
It will ensure that log element is already loaded.
2016-01-29 14:31:16 +01:00
Piotr Sarnacki
24465e634f Use el.innerHTML = ''; instead of $(el).empty()
innerHTML is faster than empty(), especially on some versions of
firefox. This change was already commited before, but it was somehow
lost while converting project to JS.
2016-01-29 14:31:16 +01:00
Justine
b1aead7577 Merge pull request #442 from travis-ci/lp-fadeout
fade out long commit messages
2016-01-28 09:27:27 -05:00