Compare commits

...

2157 Commits

Author SHA1 Message Date
Curtis Ekstrom
1f5eb7f525 Revert to old container lookup behavior
This fixes a bug that affected only pro
2016-04-15 05:58:52 +02:00
lislis
812bf1a4f5 update org landing page, fix gigantic number 2016-04-14 17:00:55 +02:00
Justine
b9688352f4 Merge pull request #497 from jtangelder/ansi-contrast
Improve contrast of the highlight ansi colors
2016-04-14 10:24:40 -04:00
Lisa
2701581c12 Merge pull request #499 from travis-ci/lp-updates
Multiple smaller updates
2016-04-14 16:24:05 +02:00
Lisa
1ff47c63c4 Merge pull request #494 from travis-ci/modify_broadcast_copy
Shorten broadcast copy
2016-04-14 16:15:25 +02:00
lislis
dbedf34be1 add title attrs to team flags 2016-04-14 16:04:27 +02:00
lislis
5733d14ae4 fix layout issue with last synced message 2016-04-14 15:44:59 +02:00
lislis
4cb225d578 hide 'signup account' message if on enterprise 2016-04-14 15:29:30 +02:00
lislis
249deb0eff remove case sensitive notice from getting started 2016-04-14 15:24:12 +02:00
Piotr Sarnacki
446a9bc9b1 Merge pull request #498 from travis-ci/remove_moment_deprecation
Remove moment deprecation on builds page
2016-04-14 14:21:42 +02:00
Curtis Ekstrom
ee4b26a7d7
Remove moment deprecation on builds page
See https://github.com/moment/moment/issues/1407 for more details. All that was needed was to manually instantiate a new Date() object
2016-04-14 13:22:15 +02:00
Piotr Sarnacki
7601173aaa Merge pull request #495 from travis-ci/remove_2.2_deprecations
Upgrade Ember to 2.4.5 and remove all application deprecations
2016-04-14 13:09:53 +02:00
Curtis Ekstrom
e74b29c313
Remove getOwner polyfill 2016-04-14 12:25:24 +02:00
Jorik Tangelder
eb7a746549 Improve contrast of the highlight ansi colors
The contrast of the green, red and yellow highlight colors was too low.
2016-04-14 11:54:36 +02:00
Curtis Ekstrom
d85469c98e
Bump Ember to 2.4.5 2016-04-14 09:44:50 +02:00
Curtis Ekstrom
fe8a5a13e1
Remove Ember 2.3 deprecation warnings 2016-04-14 09:38:59 +02:00
Curtis Ekstrom
f8d05dea78
Remove all remaining app deprecations 2016-04-13 18:06:28 +02:00
Curtis Ekstrom
dc34ab38e7
Install polyfill addon until upgraded to Ember 2.3 2016-04-13 18:06:28 +02:00
Curtis Ekstrom
5c3d905424
Remove unnecessary deprecation handlers
These deprecations are no longer being triggered by the application (as
far as I can tell).
2016-04-13 18:05:52 +02:00
Curtis Ekstrom
f00a899e74
Shorten broadcast copy
This shortens the broadcast copy and makes more sense grammatically
2016-04-13 16:03:19 +02:00
Piotr Sarnacki
1c49615a2d Merge pull request #488 from fauxton/ce_upgrade_ember_cli
Upgrade Ember-CLI to 2.4.3
2016-04-13 11:05:00 +02:00
Piotr Sarnacki
d6c4f1beea Merge pull request #489 from travis-ci/remove-sponsors
Remove unused images
2016-04-13 11:03:44 +02:00
Piotr Sarnacki
f459fed279 Merge pull request #492 from travis-ci/adding-igor-carmen-maren-buck
Remove Buck for now
2016-04-13 11:01:17 +02:00
Curtis Ekstrom
8de13d1949
Simplify testem logic and remove console logging 2016-04-12 23:04:08 +02:00
Buck Doyle
35f9d00a7d Remove Buck for now 2016-04-12 18:25:40 +02:00
Buck Doyle
17f200081a Merge pull request #491 from travis-ci/adding-igor-carmen-maren-buck
Adding Igor, Carmen, Maren, and Buck
2016-04-12 17:58:52 +02:00
Buck Doyle
a17556baf6 Remove mistakenly-added line 2016-04-12 17:41:11 +02:00
Buck Doyle
575d78e38d Auto-merged master into adding-igor-carmen-maren-buck on deployment. 2016-04-12 17:02:56 +02:00
Justine Arreche
d6d1b7c738 update bucks gif 2016-04-12 10:54:50 -04:00
Curtis Ekstrom
3fa2fcea93 Auto-merged master into remove-sponsors on deployment. 2016-04-12 16:30:06 +02:00
Buck Doyle
67104fc1f1 Merge pull request #490 from travis-ci/speed_up_production_builds
Exclude emoji images from fingerprinting to speed up production builds
2016-04-12 16:23:06 +02:00
Justine Arreche
ebb451d70c adding in Maren and Buck 2016-04-12 09:54:22 -04:00
Buck Doyle and Curtis Ekstrom
e14003eb53
Exclude emoji images from fingerprinting to speed up production builds 2016-04-12 15:32:15 +02:00
Buck Doyle and Curtis Ekstrom
bc8efb758f Remove unused images 2016-04-12 15:12:46 +02:00
Curtis Ekstrom
8cd14b8952
Upgrade Ember-CLI to 2.4.3
This upgrades several Ember-CLI related packages, but does not change
our Ember/Ember-Data versions (those will require code changes that are
best handled in separate commits).

In addition, Testem can now be dynamically configured, meaning we no longer need
custom scripts to run as part of CI to set dynamic launcher configuration values
based on PR status.
2016-04-12 10:25:44 +02:00
Justine Arreche
f62143217e created dual nationality flag for Igor 2016-04-11 13:38:41 -04:00
Justine Arreche
2c56238de0 Added Igor and Carmen to the team page 2016-04-11 12:59:55 -04:00
lislis
286b59c8ed update user numbers 2016-04-11 12:51:51 -04:00
Sven Fuchs
c5f3cc4873 Merge branch 'te-dev' 2016-04-08 14:42:11 +02:00
Sven Fuchs
36e1f9b30e camelize channelPrefix option 2016-04-08 14:41:22 +02:00
Lisa
7035b3f763 Merge pull request #486 from travis-ci/lp-remove-org-landing-bg
Update org landing page
2016-04-06 15:54:24 +02:00
lislis
862b14bad3 only remove gce notice 2016-04-06 15:15:20 +02:00
lislis
38e45810e9 update org landing 2016-04-06 14:11:16 +02:00
Lisa
bf636b05f2 Merge pull request #483 from mithun/master
fix image format for POD
2016-04-06 12:44:41 +02:00
Lisa
fa000b80c9 Merge pull request #484 from travis-ci/te-dev
pass through Env.pusher.channelPrefix for enterprise
2016-04-06 12:42:31 +02:00
lislis
ae57f3903e make permissions dependend on array.length 2016-04-06 12:38:20 +02:00
Sven Fuchs
6505a058d6 pass through Env.pusher.channelPrefix for enterprise 2016-04-05 18:09:41 +02:00
Lisa
e3efe7d7fc Merge pull request #482 from travis-ci/lp-remove-builds-from-org-landing
Remove builds from org landing
2016-04-05 14:25:47 +02:00
Mithun Ayachit
703cdbd598 fix image format for POD
Some POD parsers recognize only lowercase format names.

For e.g., pod2markdown fails to generate a markdown file with the status image if the format is 'HTML'
2016-04-05 06:31:17 -05:00
lislis
217618ea71 remove build polling logic from home route 2016-04-05 12:29:32 +02:00
lislis
919857dfad update styles for pro pages 2016-04-05 12:23:58 +02:00
lislis
c74fa87016 remove recent builds 2016-04-05 12:03:58 +02:00
lislis
1cfb9d37be fix broadcast display 2016-04-05 11:57:25 +02:00
Piotr Sarnacki
cbd0c46e37 Ensure that permission functions work without a user 2016-03-22 12:43:41 +01:00
lislis
e66efc1cbc check for currentUser in permissions 2016-03-22 12:42:20 +01:00
Lisa P
71c55779a1 import util, coment out dashboard acceptance 2016-03-22 12:41:52 +01:00
Lisa P
fa62539a40 add more tests 2016-03-22 12:41:34 +01:00
Lisa P
26ca2875ae make it a util 2016-03-22 12:41:28 +01:00
Lisa P
65cf81169b add permissions mixin to dashboard row 2016-03-22 12:41:14 +01:00
Lisa P
2220334265 put permissions into a mixin 2016-03-22 12:37:05 +01:00
Konstantin Haase
3618488151 Update team.js 2016-03-22 11:03:31 +01:00
Piotr Sarnacki
ae8092ddc0 Make JSHint happy 2016-03-21 14:02:18 +01:00
lislis
d9c7ada46d fix typo in component 2016-03-21 12:34:37 +01:00
Lisa
e1500d76a1 Merge pull request #479 from travis-ci/MdA_typo_fix
fix typo "annually"
2016-03-16 11:40:42 +01:00
María de Antón
a940e176e7 fix typo "annually"
Thanks to Lachlan who reported the typo
2016-03-16 09:58:56 +01:00
Lisa
381bdc98b5 Merge pull request #477 from travis-ci/ja-fixing-logos
Fixed the full color logo downloads and links
2016-03-14 18:15:04 +01:00
Lisa
2c1c1a000e Merge pull request #476 from travis-ci/lp-decrease
decrease border
2016-03-14 17:47:19 +01:00
Justine Arreche
935092c8d7 Fixed the full color logo downloads and links 2016-03-14 12:44:18 -04:00
Lisa P
fdd07e83b4 try border 2016-03-14 17:24:19 +01:00
Lisa
f482c8be36 Merge pull request #475 from travis-ci/ja-adding-ana-team
Adding Ana to the team page as well as Mexico's flag
2016-03-14 17:04:16 +01:00
Justine Arreche
b859386fda Adding Ana to the team page as well as Mexico's flag 2016-03-14 10:35:07 -04:00
Lisa
07d241bdc2 Merge pull request #474 from travis-ci/lp-fix-env-var
some UI fixes after the update
2016-03-14 13:22:53 +01:00
Lisa P
e35e01747a fix user avatar/ status icon spacing 2016-03-14 13:09:32 +01:00
Lisa P
8c374cde93 fix env var display 2016-03-14 12:38:31 +01:00
Piotr Sarnacki
8fb479c3e0 Turn off API V3 2016-03-09 17:02:38 +01:00
Lisa
c65a88a23a Merge pull request #471 from travis-ci/lp-db-rows
Dashboard styles and cleanup
2016-03-09 11:53:59 +01:00
Lisa P
521fb30b42 fix caches 2016-03-09 11:30:45 +01:00
Lisa P
38398588bb adjust flag icon and notice 2016-03-09 11:19:55 +01:00
Lisa P
79b456e511 dashboard row styles
start row layouting

work on dropup

rearrange markup, make tofu toggle

bäm

use placeholder instead of variable, doh

add border

replace all the icons

adjust icons sizes

use icon classes instead of svg

more icons adjustments

more icon tweaks on caches

update coloring mixins

fix stateMap, update db coloring mixin

cleanup owner page

even more icon fun

popup tweaks

tweak api icon

change to new broadcast icon

change icon path

responsive tweaks

dashboard filter

hack around Safari's not quite standard flexbox behaviour

update row labels and icon spacing

rearrange links in sidebar

make last builds a component, tweak svg stroke-width

more icon tweaks

fiddle around with svg view props

rearrange links in branch-row

tweak request icon

add integration test

more tweaks
2016-03-09 11:05:51 +01:00
Piotr Sarnacki
c6ec02429d Log user out only if necessary on failed user data request 2016-03-08 13:50:49 +01:00
Piotr Sarnacki
fa7c275eaa Clear timers in update-times service
It's mostly relevant in tests, because service is destroyed when test
end and then we don't want to run any timers.
2016-03-08 13:50:49 +01:00
Piotr Sarnacki
bfb1b69374 Merge pull request #473 from travis-ci/acceptance-tests
Acceptance tests
2016-03-07 14:35:19 +01:00
Piotr Sarnacki
5dc64c4937 Fix findRecord to work without passing a snapshot
We use adapter.findRecord to fetch repo by slug. Using it this way was
broken with one of the ember-data releases. This commit brings back the
old behaviour.
2016-03-07 13:32:49 +01:00
Piotr Sarnacki
ab0a2af471 Fix various small issues with test suite 2016-03-07 13:28:51 +01:00
Piotr Sarnacki
7292d6f53e Update ember-cli-mirage to newest beta 2016-03-07 13:28:46 +01:00
Lisa P
de26ed2091 fix error handling for log 2016-03-07 13:27:48 +01:00
Lisa P
0dc7e0e045 Add job page acceptance test 2016-03-07 13:27:47 +01:00
Piotr Sarnacki
725d3b00da Add ember-cli-mirage addon 2016-03-07 13:27:44 +01:00
Lisa
09637d5e07 Merge pull request #470 from travis-ci/lp-ui-fixes
UI fixes
2016-03-03 18:47:01 +01:00
Lisa
7ad66ac83e Merge pull request #468 from mkobit/fix/spelling-fix
Fix spelling errors for 'repository'
2016-03-03 18:16:55 +01:00
Lisa P
c31d87871b fix sync button label 2016-03-03 17:02:28 +01:00
Lisa P
adb8753b60 fix uppercase error for avatars 2016-03-03 16:41:14 +01:00
Piotr Sarnacki
a3ce77831d Make jshint happy 2016-03-03 11:58:17 +01:00
Piotr Sarnacki
57dec8f2fc Don't fetch /jobs when not in pro
We pass runningJobsCount to repos-list-tabs component, which essentially
is a binding and a binding will call the property that we're passing,
which in turn will fetch running and queued jobs. In order to avoid
this, I added guards in computed properties.
2016-03-03 11:25:01 +01:00
Mike Kobit
df325866f1 Fix spelling errors for 'repository' 2016-03-02 09:26:58 -06:00
Piotr Sarnacki
20b72e5f10 Merge pull request #467 from travis-ci/ps-pendo.io
Add pendo.io integration
2016-03-02 15:15:51 +01:00
Piotr Sarnacki
51f91c3748 Add pendo.io integration 2016-03-01 12:22:17 +01:00
Piotr Sarnacki
0f99defb25 Merge pull request #466 from fauxton/typo_fix
Fix mixin typo
2016-02-25 17:39:46 +01:00
Curtis Ekstrom
8211dd716a Fix mixin typo 2016-02-25 14:51:31 +01:00
Piotr Sarnacki
55005b1b13 Scroll page in beforeModel hook in scroll-mixin
The `activate` hook is not always called when the route is used,
specifically it will not be called when the model changes, but the
change happened within the same route (for example when switching from
/travis-ci/travis-web to /travis-ci/travis-core). `beforeModel` is
guaranteed to be called every time the model is changed, both when the
route is entered for the first time and on any subsequent calls.
2016-02-23 13:05:36 +01:00
Lisa P
4fc13503d5 Merge pull request #463 from travis-ci/lp-le-dash
Updating some UI elements
2016-02-22 11:35:49 +00:00
Lisa P
dad5950142 start fresh markup for prgs filter 2016-02-19 18:40:18 +01:00
Lisa P
101a0ec71f sync button on dashbaord 2016-02-19 18:40:16 +01:00
Lisa P
192ebce0c3 refactor all things dashbaord 2016-02-17 17:04:15 +01:00
Lisa P
77dcbacd5e Merge pull request #462 from jimhester/R-matrix
Add R language key for matrix column
2016-02-17 15:57:59 +00:00
Lisa P
3a211b8a73 Merge pull request #461 from fauxton/ember-cli-2.3
Upgrade to Ember-CLI 2.3.0
2016-02-17 15:53:39 +00:00
Lisa P
b0d1ac8463 Merge pull request #460 from fauxton/remove_binding_deprecations
Remove legacy binding deprecation warnings
2016-02-17 15:45:32 +00:00
Lisa P
a09ec1c264 Merge pull request #459 from travis-ci/lp-update-footer
update footer
2016-02-17 15:36:04 +00:00
Jim Hester
546a678712 Add R language key for matrix column 2016-02-17 10:22:53 -05:00
Lisa P
645daffd10 update footer
introduce grey as body color

special case footer on landing-pro
2016-02-17 15:20:00 +01:00
Curtis Ekstrom
e436dbaeac Upgrade package to remove deprecation warning 2016-02-17 06:18:54 +01:00
Curtis Ekstrom
0a5b7465d8 Remove legacy binding deprecation warnings
This removes the warnings and should clean up the test output (especially in CI) quite a bit.
2016-02-16 23:40:17 +01:00
Curtis Ekstrom
90dc71694e Upgrade to Ember-CLI 2.3.0
Note: There is a [known issue](https://github.com/mixonic/ember-cli-deprecation-workflow/issues/30) with a deprecation warning coming from
...wait for it... ember-cli-deprecation-workflow.

Otherwise, this simply bumps the necessary dependencies (suggested by
the new generators) and makes the project conform to the minimal changes
in import syntax.
2016-02-16 23:02:01 +01:00
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
Lisa P
41884ff9d2 fade out long commit messages 2016-01-27 16:41:20 +01:00
Piotr Sarnacki
6639a29411 Merge pull request #437 from travis-ci/lp-avatar
make a user-avatar component
2016-01-27 13:13:19 +01:00
Lisa P
22c938489e make gravatar depend on email 2016-01-27 13:01:18 +01:00
Piotr Sarnacki
c0df9d03e1 Revert "Update travis-web-log"
I need to work more on the problem that this commit tried to resolve

This reverts commit 84660db9d2.
2016-01-27 12:42:50 +01:00
Piotr Sarnacki
84660db9d2 Update travis-web-log 2016-01-27 12:38:30 +01:00
Piotr Sarnacki
9a9d3805d8 Bring back noop function which was accidentally destroyed 2016-01-27 12:32:53 +01:00
carlad
f6d6e9150a Merge pull request #441 from travis-ci/cd-update-precise-text
remove "Legacy" from "Precise builds" in log-content message
2016-01-27 10:09:03 +01:00
Lisa P
5d74d57ac6 add avatarUrl propertuy to user model 2016-01-26 18:40:07 +01:00
carlad
4f394ad72e remove Legacy from Precise builds text 2016-01-26 18:29:31 +01:00
Lisa P
d82ff49359 change component implementation 2016-01-26 14:50:58 +01:00
Lisa P
9cff29ce80 fix href on caches 2016-01-26 12:25:43 +01:00
Lisa P
0570a86035 add empty href to caches-item otherwise iOS does not fire tab event 2016-01-25 18:29:32 +01:00
Piotr Sarnacki
e919906f99 Update time also for finished builds, but only every minute 2016-01-25 17:55:48 +01:00
Lisa P
2882c8ca96 add empty href otherwise iOS does not fire a tap event correctly 2016-01-25 15:25:33 +01:00
Piotr Sarnacki
069f7ddbeb Fix displaying no-builds and not-active errors
This commit unifies the behaviour of displaying no-builds and not-active
errors for repo and fixes the error when user can't access repo settings
when the project is not active.
2016-01-21 16:35:36 +01:00
Lisa P
add716945f Merge pull request #436 from jasonkarns/patch-2
Fix grammatical error for finished job duration
2016-01-21 14:05:50 +01:00
Piotr Sarnacki
5c0697ed85 Always authenticate ajax calls
Our mechanism for blacklisting IPs, which was developed as a protection
against a DDoS attach, sometimes classifies IPs as offenders
incorrectly. In order to temporary improve the situation of 403
responses from API we're now going to authenticate all of the ajax
calls, because authenticated calls are not blacklisted that easily.
2016-01-21 14:00:41 +01:00
Piotr Sarnacki
7cfa83deb8 Merge pull request #439 from travis-ci/lp-ie-restart
don't send data body if it is empty
2016-01-21 13:56:30 +01:00
Lisa P
35961e3c63 Merge pull request #438 from travis-ci/lp-fix-title-on-owner
fix title tag when owner had no name set
2016-01-21 13:47:43 +01:00
Lisa P
3e7a8b694e fix title tag when owner had no name set 2016-01-21 13:39:02 +01:00
Lisa P
1fc82577b1 dont send data body if it is empty 2016-01-21 13:04:05 +01:00
Lisa P
05b85eb37f make a user-avatar component
delete some, add some, fix some tests
2016-01-21 12:08:28 +01:00
Piotr Sarnacki
6efb2ac449 No need to load builds into repo.builds
Builds on repo model already incorporate all of the builds that belong
to a given repo and are loaded into a store, so no need to load them to
expandable array.
2016-01-18 13:18:19 +01:00
Piotr Sarnacki
2d0aee4e68 Fix status images popup
After recent refactorings status images popup started to fetch branches
info whenever a repo page was opened, resulting in additional HTTP
requests. Furthermore, because of a way we load branches, it could
result in builds view displaying very old builds, because in API V2 we
essentially download last build for each branch for branches request.

This commit fixes the situation in 2 ways:

1. We wait with downloading branhes till the popup is open
2. We use a V3 requests to download branches and we don't put that data
into the store
2016-01-18 13:14:28 +01:00
Piotr Sarnacki
b0df09fb22 Fix displaying no-builds message with an index view 2016-01-15 15:43:29 +01:00
Piotr Sarnacki
4bbf114e82 Check also for value in attrs for job-log 2016-01-15 15:15:59 +01:00
Piotr Sarnacki
e1a2f42030 Properly set pusher path in config 2016-01-15 12:36:45 +01:00
Piotr Sarnacki
5ddbde82f1 Upgrade Ember.js to 2.2.1 2016-01-14 23:17:21 +01:00
Jason Karns
a7e2099829 Fix grammatical error for finished job duration
While a job is running, on the job status view, the duration is labeled: "Running for x sec". When the job finishes, 'Running' is swapped for 'Total time'. But "Total time for x sec" doesn't make any sense. the " for" should be part of the conditional with "Running"
2016-01-14 14:03:41 -05:00
Piotr Sarnacki
c70ed06848 Fix sorting on builds list 2016-01-14 15:40:06 +01:00
Piotr Sarnacki
557797ab19 Fix show more button for builds
While doing search and replace I accidentally replaced too much
occurences of 'builds'
2016-01-14 14:10:20 +01:00
Piotr Sarnacki
0a872e25a7 Fix showing running jobs
When I changed tabs-list-view to be a component I missed the fact that
config is not registered for components, which resulted in not showing
the running jobs tab at all. This commit fixes the situation.
2016-01-14 14:04:29 +01:00
Piotr Sarnacki
8eaee33d6d Merge pull request #433 from travis-ci/update-ember
Update Ember.js to 2.2.0 and Ember Data to 2.3.0
2016-01-14 13:22:32 +01:00
Piotr Sarnacki
660752ec78 Fix build header for job with PR data 2016-01-14 13:21:57 +01:00
Piotr Sarnacki
93deb7f4e2 Fix tests 2016-01-14 13:14:45 +01:00
Piotr Sarnacki
f9dde74f59 Add deprecations from Ember.js 2.x to deprecation workflow 2016-01-14 12:16:32 +01:00
Piotr Sarnacki
0c15a09d54 Update Ember Data to 2.3.0 2016-01-14 11:54:47 +01:00
Piotr Sarnacki
ed71aa133e Update Ember.js to 2.2.0 2016-01-14 11:54:26 +01:00
Piotr Sarnacki
efaae492c4 Run GA instructions only if gaCode is set 2016-01-14 11:38:46 +01:00
Piotr Sarnacki
c96a4602cd Merge pull request #432 from travis-ci/ps-remove-deprecations
Remove deprecations in preparation for 2.x update
2016-01-14 11:37:41 +01:00
Piotr Sarnacki
99b7ce4a9d Add missing semicolon 2016-01-14 11:28:25 +01:00
Lisa P
c694ab24f6 remove broadcast animation because 💥 CPU 2016-01-13 18:19:56 +01:00
Lisa P
76749e2250 fix signin loop 2016-01-13 15:29:44 +01:00
Piotr Sarnacki
9a7508e25d Merge pull request #434 from travis-ci/lp-signin-route
add explicit signin route
2016-01-13 15:10:14 +01:00
Lisa P
5163e5129b pin jquery version 2016-01-13 14:49:04 +01:00
Lisa P
a63188ae13 add explicit signin route 2016-01-13 14:28:22 +01:00
Piotr Sarnacki
34ca0cc386 Use transitionToRoute instead of transitionTo in controllers 2016-01-13 12:00:35 +01:00
Piotr Sarnacki
fb1b820837 [deprecations] Remove all of the views from the app 2016-01-13 11:26:30 +01:00
Piotr Sarnacki
ee5f842d51 Fix adding ssh key 2016-01-13 11:25:45 +01:00
Piotr Sarnacki
271b8f89ea Fix show more button and simplify builds controller 2016-01-13 11:25:41 +01:00
Piotr Sarnacki
13d2eba016 [deprecations] Remove the need to use beforeObserver in job-log component 2016-01-12 18:27:24 +01:00
Piotr Sarnacki
21f25cd2bf [deprecations] Remove all of the views from the app 2016-01-12 16:55:22 +01:00
Piotr Sarnacki
c3ef9ac5d9 [deprecations] Remove all of the views we use just for layouts 2016-01-12 16:55:22 +01:00
Piotr Sarnacki
becde631d5 [deprecations] Use ember-data-filter plugin
At some point we may try to refactor places where we use store.filter(),
but at the moment it would result with an overly complicated code, so
I'd prefer to use a plugin.
2016-01-12 16:55:22 +01:00
Piotr Sarnacki
1c33475ff6 [deprecations] Don't use snapshot.get() 2016-01-12 16:55:22 +01:00
Piotr Sarnacki
dcac5d4150 Merge pull request #429 from travis-ci/lp-deprecations
remove deprecations
2016-01-12 16:54:52 +01:00
Lisa P
ea79bb1625 Merge pull request #430 from travis-ci/lp-branch-tiles
show build number on hover in branch tiles #yolo
2016-01-12 15:20:34 +01:00
Lisa P
bd7e4a001d fix wobbling building icon 2016-01-12 13:25:57 +01:00
Lisa P
e3b77b4b5a fix yellows across the place 2016-01-12 13:10:15 +01:00
Lisa P
6eed891a1a show build number on hover in branch tiles 2016-01-12 13:10:15 +01:00
Piotr Sarnacki
bbf0b7459f Allow to set an alternative endpoint for auth 2016-01-11 14:26:26 +01:00
Piotr Sarnacki
cebaa0e8d1 Merge pull request #431 from jacques/jacques/fix-readme-team-file
Fix file location for app/routes/team.{coffee,js} in README.md
2016-01-11 12:21:57 +01:00
Jacques Marneweck
982d13e897 Fix file location for app/routes/team.{coffee,js} in README.md 2016-01-11 09:37:54 +02:00
Lisa P
b8f8071f98 add image descriptions 2016-01-07 14:33:34 +01:00
Lisa P
253a56f47d not use view in accounts 2016-01-07 14:22:39 +01:00
Piotr Sarnacki
f9df4b1896 [deprecations] Don't use before observer 2016-01-07 13:15:59 +01:00
Piotr Sarnacki
85b2837c52 [deprecations] Disable fetching records in the background by Ember Data 2016-01-07 11:28:52 +01:00
Piotr Sarnacki
39cf0b3044 [deprecations] Don't use ArrayController 2016-01-07 11:22:40 +01:00
Piotr Sarnacki
4b71704b1c [deprecations] Don't use second argument in a property
This makes Ember.js think that we're trying to use the property as
setter and it's deprecated
2016-01-07 11:18:05 +01:00
Piotr Sarnacki
e7ca2c8bfe [deprecations] Use Store#unloadRecord instaed of Store#dematerializeRecord 2016-01-07 11:18:05 +01:00
Piotr Sarnacki
a920ae9cd7 [deprecations] Use modelName instead of typeKey 2016-01-07 11:18:05 +01:00
Piotr Sarnacki
4e3a755908 [deprecations] Use Adapter#findRecord instead of Adapter#find 2016-01-07 11:18:05 +01:00
Piotr Sarnacki
a6087d4fcd [deprecations] Use Component#_state instead of Component#state 2016-01-07 11:18:00 +01:00
Piotr Sarnacki
131a09c9c5 [deprecations] Use store.query instead of store.find where appropriate 2016-01-07 10:41:08 +01:00
Piotr Sarnacki
f5823669b2 [deprecations] Use regular computed property instead of arrayComputed 2016-01-07 10:40:17 +01:00
Piotr Sarnacki
03332a8654 [deprecations] Don't run Ember.set directly in didInsertElement 2016-01-07 10:40:14 +01:00
Piotr Sarnacki
16da227dd9 [deprecations] Use LinkComponent instead of LinkView 2016-01-07 10:35:55 +01:00
Piotr Sarnacki
bde3b7375a Fix displaying flashes coming from the server 2016-01-07 10:22:18 +01:00
Piotr Sarnacki
7649c180dd Fix cancel and restart buttons
Callback functions for restart and cancel where improperly updated while
switching from coffeescript to javascript.
2016-01-07 10:19:29 +01:00
Lisa P
561e671e0d be more explicit about github icon size 2016-01-06 16:26:49 +01:00
Justine
0606aff5b8 Merge pull request #428 from travis-ci/rkh-switzerland
moved to switzerland
2016-01-06 10:11:48 -05:00
Konstantin Haase
e6520ff7cc rkh moved to switzerland 2016-01-06 14:30:29 +01:00
Piotr Sarnacki
959da82d91 Add config/deprecation-workflow.js
This config file is used by ember-cli-deprecation-workflow addon, which
allows to tackle deprecations one at a time by setting the strategy for
each deprecation.
2016-01-06 12:28:56 +01:00
Piotr Sarnacki
0b8c032c21 Make JSHint happy 2016-01-06 12:14:02 +01:00
Piotr Sarnacki
ac7c92d0c4 Bring back DurationCalculations mixin to Build 2016-01-06 12:09:03 +01:00
Piotr Sarnacki
f349321024 Move SSL instructions to README 2016-01-06 12:02:09 +01:00
Piotr Sarnacki
040932d676 Remove ember-cli-coffeescript 2016-01-06 11:34:16 +01:00
Piotr Sarnacki
b57adacf02 Fix displaying synced at time on the profile page 2016-01-06 11:32:17 +01:00
Piotr Sarnacki
6ee82c0cf8 Merge pull request #426 from travis-ci/lp-whitelist-info
add link to docs on requests if branch is gh-pages
2016-01-06 11:26:09 +01:00
Lisa P
5bf4e4ffe4 make isGHPages a proper property 2016-01-05 15:01:38 +01:00
Piotr Sarnacki
f4aa705b51 Merge pull request #427 from travis-ci/fix-displaying-last-synced-at
Fix displaying synced at time on the profile page
2016-01-05 14:57:37 +01:00
Piotr Sarnacki
341296aaaa Merge pull request #418 from travis-ci/lp-mobile-log
Mobile log
2016-01-05 14:55:52 +01:00
Piotr Sarnacki
01bcfb8a8c Merge pull request #424 from travis-ci/lp-accessible-jobslist
add aria-labels to jobs-item
2016-01-05 14:51:21 +01:00
Piotr Sarnacki
493bf72605 Merge pull request #425 from travis-ci/lp-bring-back-branch
bring back branch name
2016-01-05 14:50:28 +01:00
Lisa P
1233eba3e8 fix log 2016-01-05 14:44:27 +01:00
Lisa P
8d2ca774d0 fix template logic if job has not yet started 2016-01-05 14:20:23 +01:00
Lisa P
f445690fb5 refactor a lot of buttons so toggle log looks more consistent 2016-01-05 14:20:23 +01:00
Lisa P
10b0c62fc2 make log toggle on mobile 2016-01-05 14:15:25 +01:00
Lisa P
8e2b3a86c6 feature flag Build 2016-01-05 13:57:14 +01:00
Lisa P
5a0618b22e bring back branch name 2016-01-05 13:35:29 +01:00
Lisa P
4edd1feaad remove coffee file 2016-01-05 13:25:48 +01:00
Lisa P
f5211f1fdc add aria-labels to jobs-item 2016-01-05 12:56:26 +01:00
Lisa P
dbd124852d remove coffee file 2016-01-05 12:44:08 +01:00
Lisa P
7aa77b4f6f add link to docs on requests if branch is gh-pages 2016-01-05 12:43:09 +01:00
Piotr Sarnacki
00d448c231 Fix displaying synced at time on the profile page 2016-01-05 12:31:12 +01:00
Piotr Sarnacki
0813d8cd45 Merge pull request #422 from travis-ci/ps-convert-to-js
Convert project to JavaScript
2016-01-05 09:36:36 +01:00
Piotr Sarnacki
d8160614bf Fix tests 2016-01-04 13:19:48 +01:00
Piotr Sarnacki
737685a7c0 Fix ajax callbacks after javascript conversion 2016-01-04 13:15:15 +01:00
Piotr Sarnacki
ece4141cc5 Remove annotations relationship on job 2016-01-04 13:15:15 +01:00
Piotr Sarnacki
e60b0a0224 Fix jshint errors after conversion to JS 2016-01-04 13:15:15 +01:00
Piotr Sarnacki
fafaf65043 Convert project to JavaScript 2016-01-04 13:15:14 +01:00
Piotr Sarnacki
09e4f52dac Merge branch 'thriqon-bug-author-committer' 2016-01-04 12:19:32 +01:00
Jonas Weber
e27a19101d Drop unneeded imports for gravatarImage 2016-01-04 12:19:14 +01:00
Jonas Weber
ab54733723 Show author name and author avatar on builds list 2016-01-04 12:18:33 +01:00
Jonas Weber
9e94643dc4 Calculate actual avatar URL in model
repeated logic for Gravatar fallback
2016-01-04 12:18:01 +01:00
Piotr Sarnacki
4e720519fe Revert "Merge branch 'thriqon-bug-author-committer'"
This reverts commit ac576077ab, reversing
changes made to f9263fc8f3.
2016-01-04 12:14:44 +01:00
Piotr Sarnacki
e5763ee2d6 Revert "Fix tests"
This reverts commit ca3a24e686.
2016-01-04 12:14:40 +01:00
Piotr Sarnacki
ca3a24e686 Fix tests 2016-01-04 12:04:17 +01:00
Piotr Sarnacki
ac576077ab Merge branch 'thriqon-bug-author-committer' 2016-01-04 11:54:47 +01:00
Jonas Weber
b68ae942a6 Drop unneeded imports for gravatarImage 2016-01-04 11:54:18 +01:00
Jonas Weber
83bb882475 Show author name and author avatar on builds list 2016-01-04 11:53:20 +01:00
Jonas Weber
8abc24f04b Calculate actual avatar URL in model
repeated logic for Gravatar fallback
2016-01-04 11:50:10 +01:00
Piotr Sarnacki
573ebfd406 Fix status image popup
While fixing deprecations a `propertyBinding="foo"` calls were changed
into `property="foo"` calls, which should be `property=foo`. Otherwise
`foo` is treated as a string.
2016-01-04 11:41:50 +01:00
Piotr Sarnacki
ae704df6bf Use el.innerHTML = ''; instead of $(el).empty()
It turns out that jQuery's empty method can be really slow in Firefox,
which can freeze the browser when cleaning the log.
2016-01-04 11:41:50 +01:00
Piotr Sarnacki
f6b95a9a9a Convert log-content component to js 2016-01-04 11:41:50 +01:00
Piotr Sarnacki
7f74787b91 Properly normalize array repsonse for V2 jobs 2016-01-04 11:41:50 +01:00
Piotr Sarnacki
f01b95f886 Convert job serializer to js 2016-01-04 11:41:50 +01:00
Lisa P
8cf9be6adc refactor some of the icon styles an usages 2016-01-04 11:41:50 +01:00
Lisa P
a751145fef use base64 backgroung svg 2016-01-04 11:41:50 +01:00
Piotr Sarnacki
f9263fc8f3 Fix status image popup
While fixing deprecations a `propertyBinding="foo"` calls were changed
into `property="foo"` calls, which should be `property=foo`. Otherwise
`foo` is treated as a string.
2015-12-30 23:26:25 +01:00
Piotr Sarnacki
21285bbe8b Use el.innerHTML = ''; instead of $(el).empty()
It turns out that jQuery's empty method can be really slow in Firefox,
which can freeze the browser when cleaning the log.
2015-12-30 10:36:18 +01:00
Piotr Sarnacki
6e73923fbb Convert log-content component to js 2015-12-30 10:36:08 +01:00
Piotr Sarnacki
c9bfb0c05e Properly normalize array repsonse for V2 jobs 2015-12-23 17:57:32 +01:00
Piotr Sarnacki
0885052537 Convert job serializer to js 2015-12-23 17:56:40 +01:00
Piotr Sarnacki
cbe5d7ac34 Merge pull request #419 from travis-ci/lp-base64
Convert svg background images to base64
2015-12-22 11:32:25 +01:00
Piotr Sarnacki
92935b626b Merge pull request #421 from travis-ci/lp-remove-deprecations
Remove deprecations
2015-12-22 11:32:09 +01:00
Lisa P
7fa107a3f0 update default avatar 2015-12-22 11:13:14 +01:00
Lisa P
d95e34484f remove old repos templates 2015-12-22 11:13:10 +01:00
Lisa P
b4a8dc5707 remove jobs template 2015-12-22 11:13:03 +01:00
Lisa P
a941bc867a remove label helper 2015-12-22 11:12:57 +01:00
Lisa P
79c8e97f51 remove events file 2015-12-22 11:12:52 +01:00
Lisa P
fc0aefb42c remove old env-vars files 2015-12-22 11:12:44 +01:00
Lisa P
90675b1380 remove annotations 2015-12-22 11:12:38 +01:00
Lisa P
7eef434c67 delete unused accounts files 2015-12-22 11:12:32 +01:00
Lisa P
b99dc5ee59 refactor accounts, pt2 2015-12-22 11:12:25 +01:00
Lisa P
875ff4fb44 rearrange templates, start unifying avatar 2015-12-22 11:12:19 +01:00
Lisa P
201a37aa70 refactor accounts, pt1 2015-12-22 11:12:12 +01:00
Lisa P
8c9f92062d refactor cta subscription button to component, remove deprecation 2015-12-22 11:07:44 +01:00
Lisa P
bae81542b9 update more deprecated syntax
update input action handling
2015-12-22 11:07:35 +01:00
Lisa P
d18715858f switch to new each helper syntax 2015-12-22 11:07:07 +01:00
Lisa P
af76a3f30b change to .peekRecords and .isEvery 2015-12-22 10:50:59 +01:00
Piotr Sarnacki
96f22bff8c Get also api builds when clicking on 'show more' 2015-12-17 13:21:38 +01:00
Piotr Sarnacki
e170753ba8 Properly serialize env var 2015-12-17 13:12:56 +01:00
Piotr Sarnacki
fdd7b5b91b Properly normalize ssh key 2015-12-17 13:10:07 +01:00
Piotr Sarnacki
462b3d637f Merge pull request #420 from travis-ci/feature-flag-api-v3
Feature flag API V3
2015-12-17 12:47:36 +01:00
Piotr Sarnacki
2e2d2ae81b Feature flag API V3 2015-12-17 12:39:17 +01:00
Piotr Sarnacki
c6a5db87a4 Add babel-polyfill
Babel will not work on older browser with polyfilling some of the
features, that's why we need to include it.
2015-12-15 18:46:32 +01:00
Lisa P
5a747a4da0 Merge pull request #417 from travis-ci/hh-new-title-picture
Update the picture and title for Henrik
2015-12-10 07:20:21 -08:00
Piotr Sarnacki
598f6a02fb Don't show default branch in inactive branches 2015-12-10 12:12:42 +01:00
Piotr Sarnacki
830211444b Make only one query to jobs 2015-12-10 11:43:54 +01:00
Piotr Sarnacki
048e7737ea Limit initial repos request to 20 repos 2015-12-10 11:43:46 +01:00
Piotr Sarnacki
b950b60c64 Fix committer and author in build header 2015-12-10 09:39:05 +01:00
Piotr Sarnacki
b94cc70a4e Removed wrong function in 4d73d67 2015-12-09 18:40:29 +01:00
Piotr Sarnacki
4d73d67f51 Remove duplicated function in job's serializer 2015-12-09 18:08:21 +01:00
Henrik Hodne
80a0255f39 Update the picture and title for Henrik 2015-12-09 17:43:03 +01:00
Lisa P
e09da9386d refactor some of the icon styles an usages 2015-12-09 15:53:29 +01:00
Lisa P
f07dd50e43 use base64 backgroung svg 2015-12-09 15:53:28 +01:00
Piotr Sarnacki
679d5227b3 Don't reload a page after clicking on Travis CI's logo 2015-12-09 14:52:37 +01:00
Piotr Sarnacki
6ad07924d3 Merge pull request #414 from travis-ci/web-on-v3
Moving travis-web to V3 API
2015-12-09 14:39:11 +01:00
Piotr Sarnacki
e25d1e80a6 Disable content security policy for now
We don't use it on a server at the moment, so it's just making
development harder.
2015-12-09 11:58:31 +01:00
Piotr Sarnacki
b2b892238b Fix adding ssh key 2015-12-09 11:58:10 +01:00
Piotr Sarnacki
9a55449789 Fix pusher auth for pro 2015-12-09 11:57:57 +01:00
Piotr Sarnacki
cc38f08df4 Fix codeclimate logo 2015-12-09 10:23:09 +01:00
Piotr Sarnacki
09f27d47be Fix search 2015-12-09 10:23:09 +01:00
Piotr Sarnacki
2793d6a6e6 Revert "Fix pusher authentication"
This reverts commit 9d5775f6a2.

This was not a proper fix, it seems that the signature is wrong too
2015-12-08 12:48:17 +01:00
Piotr Sarnacki
d94801ed18 Update SSL instructions 2015-12-08 12:34:35 +01:00
Piotr Sarnacki
9d5775f6a2 Fix pusher authentication
For some reason API sends us pusher auth keys without a proper pusher
key, ie. instead of "{actual_pusher_key}:{signature}" it sends
"key:{signature}". For now I'm just fixing it on the client, but this
needs further investigation in the API.
2015-12-08 12:31:38 +01:00
Piotr Sarnacki
787febe4f6 Update ssl keys for localhost 2015-12-08 11:17:18 +01:00
Piotr Sarnacki
00653e9420 Fix repo search 2015-12-08 10:18:09 +01:00
Piotr Sarnacki
ada9e9ba02 Fix adding ssh keys and env vars 2015-12-08 10:18:09 +01:00
Piotr Sarnacki
6db80a4073 Remove unneeded require 2015-12-08 10:18:09 +01:00
Piotr Sarnacki
9201f86921 Try Sauce Labs on pushes
It seems that phantomjs 2.0.0 has problems with running tessts built
with new ember-cli and sauce labs tests seem to work again. I'm
switching back to sauce labs on pushes for the time being.
2015-12-08 10:18:09 +01:00
Piotr Sarnacki
87fdd95a6f Fix tests 2015-12-08 10:18:09 +01:00
Piotr Sarnacki
ee23903cc2 Remove ember-cli-sri for now
ember-cli-sri doesn't work properly on Chrome 45 and there's no
workarounds at the moment, more info here:
https://github.com/jonathanKingston/ember-cli-sri/issues/5
2015-12-08 10:18:09 +01:00
Piotr Sarnacki
d4955c1ed0 Fix hooks toggling
New ember-data serializers send data without a model key in the payload
by default, so instead of what API expects:

    {
      "hook": {
        "id": 1,
        "active": true
      }
    }

it would send:

    { "id": 1, "active": true }

Because of that we need to change how hooks are serialized.

Furthermore, API V2 returns just "result: true" after a successful
request to change a hook, so we need to return something meaningful from
the adapter's updateRecord in order to make ember-data happy.
2015-12-08 10:18:08 +01:00
Piotr Sarnacki
0d9755489f Sort repos in repos controller, not in the component
We rely on the order of repositories when we set current repo on the
main page. That's why we need to do sorting in the controller.
2015-12-08 10:18:08 +01:00
Piotr Sarnacki
35c5d619bd Convert repos controller to javascript 2015-12-08 10:18:08 +01:00
Piotr Sarnacki
36d099667e Download last_build for a branch when we get the branch from pusher
`lastBuild` is a synchronous relationship on a branch model, so we need to
have a build record present when we put a default branch from a repository
model into the store. We don't send lastBuild's payload in pusher, so
we need to get it using an ajax call, if it's not already in the store.
In the future we may decide to make the relationship async, but I don't
want to change the code at the moment
2015-12-08 10:18:08 +01:00
Piotr Sarnacki
bdcb906fe0 [deprecations] Use peekRecord instead of getById 2015-12-08 10:18:08 +01:00
Piotr Sarnacki
842c050100 Load repos list only once 2015-12-08 10:18:08 +01:00
Piotr Sarnacki
2be45cdc18 Fix requests payload 2015-12-08 10:18:08 +01:00
Piotr Sarnacki
e8f2e5ae97 Properly notify build to update times 2015-12-08 10:18:07 +01:00
Piotr Sarnacki
a56e4a39c3 Fix sorting on the left sidebar 2015-12-08 10:18:07 +01:00
Piotr Sarnacki
e1a334678d Fix handling default_branch from pusher
Pusher payloads don't have all of the information that is available in
API V3, so we need to do some normalizing.
2015-12-08 10:18:07 +01:00
Piotr Sarnacki
9b4d5c5b4e Remove obsolete pusher handling code from store
Removed code was checking if we should handle a pusher event, ie. if the
event is associated with the user, or if we already have a record
associated with the event. We don't need the check now, because we no
longer use the common channel.
2015-12-08 10:18:07 +01:00
Piotr Sarnacki
b31831d535 Set repo as default serializer only on repo serializer, not v3 2015-12-08 10:18:07 +01:00
Piotr Sarnacki
b8b1459cf5 Don't error out if there's no hash in extractRelationship for V3 2015-12-08 10:18:07 +01:00
Piotr Sarnacki
69dd90b76b Model#typeKey -> Model#modelName 2015-12-08 10:18:06 +01:00
Piotr Sarnacki
a732a18e59 Fix key for repo relationship for V3 API 2015-12-08 10:18:06 +01:00
Piotr Sarnacki
c3fd0d8e98 Fix loading record by slug
In a repo route we need to find record by slug there is no easy way to
do it with a public finders API, so we need to use adapter and
serializers directly. The problem is that the old way of doing this
didn't use the normalizePayload function and also it didn't add included
records properly. New code properly normalizes response and adds all of
the embedded records that were extracted from the response.
2015-12-08 10:18:06 +01:00
Piotr Sarnacki
7ae4d6aa7d Fix handling branches
This commit fixes handling of branches when using both V3 and V2. The
changes include:

  * proper definition of relationships that reflect V3 structure, so for
    example build belongs to a branch
  * setting up inverse records for some of the relationships. without
    doing that Ember Data can handle relationships in a surprising way,
    for example if the same record is referenced in 2 places in a
    belongsTo relationship, Ember Data will remove one of the references
    without proper inverse definitions
  * we need to add id when extracting branch as a relationship. Ember
    Data expects all of the relationships to have an id
  * lastly, we need to mimic the structure of the V3 API in V2 payloads,
    so for a build payload I'm now creating a branch record
2015-12-08 10:18:06 +01:00
Piotr Sarnacki
147ab06fcf Fix references in V3 payloads
V3 API doesn't return any of the records more than 2 times. If a record
is already included in the response any other occurences will be
represented as a reference, ie. a hash with just an @href. Ember Data
doesn't play nice with such references as it needs an id to identify a
record.

The code in this commit traverses payloads from V3 API and adds an id to
each of the references that are present.

For example a following payload:

    {
      "@href": "/build/1",
      "@type": "build"
      "id": 1,
      "state": "passed",
      "branch": {
        "@href": "/repo/1/branch/master",
        "name": "master",
        "lastBuild": {
          "@href": "/build/1"
        }
      }
    }

Will be changed to:

    {
      "@href": "/build/1",
      "@type": "build"
      "id": 1,
      "state": "passed",
      "branch": {
        "@href": "/repo/1/branch/master",
        "name": "master",
        "lastBuild": {
          "@href": "/build/1",
          "id": 1
        }
      }
    }

In this case an "id" field was added to "branch.lastBuild" field.
2015-12-08 10:18:06 +01:00
Piotr Sarnacki
e2a602a8af Update ember-cli-coffeescript to newest version 2015-12-08 10:18:06 +01:00
Piotr Sarnacki
e7c4d18e9b Update ember-cli to 1.13.12 (ember.js 1.13.10, ember-data 1.13.15) 2015-12-08 10:18:06 +01:00
Piotr Sarnacki
e84cf89cf7 app/serializers/repo.coffee -> app/serializers/repo.js 2015-12-08 10:18:05 +01:00
Piotr Sarnacki
e161717f73 Simplify pusher handling in store 2015-12-08 10:18:05 +01:00
Piotr Sarnacki
d7400c0567 Remove console.log 2015-12-08 10:18:05 +01:00
Piotr Sarnacki
81898e422f Fix pusher to work with new ember-data
This commit just fixes things to the point where pusher updates are
applied to the store properly. This still lacks a business logic fixes,
so for example we won't update lastBuild's field, because there's no
such information from pusher.
2015-12-08 10:18:05 +01:00
Piotr Sarnacki
60348781d6 Don't run Sauce tests for now 2015-12-08 10:18:05 +01:00
Piotr Sarnacki
7187d2ef45 Disable dashboard test for now 2015-12-08 10:18:05 +01:00
Piotr Sarnacki
d636369daa Fix sidebar repos list
We need this list to update with pusher, so filtering is better than
using store.query.
2015-12-08 10:18:05 +01:00
Piotr Sarnacki
35f95739c7 Attribute mappings in serializers should use underscore notation 2015-12-08 10:18:04 +01:00
Piotr Sarnacki
dbd83c8643 Use job_ids as a key for jobs relationship for build 2015-12-08 10:18:04 +01:00
Piotr Sarnacki
ca633bdf7b Don't add commit data to included array in build serializer
We already do it in an abstracted way (ie. for all relationships) in v2
fallback serializer.
2015-12-08 10:18:04 +01:00
Piotr Sarnacki
ad4d06cb25 No need to add repo to the list of attributes now 2015-12-08 10:18:04 +01:00
Piotr Sarnacki
39a579c9db Fix handling relationships for V2 API
* we should look for both embedded relationship and relationship key,
  so in cases like for commit, when there's a full commit data on
  "commit" property, and only id at "commit_id", we will use commit data
* we can't add @type to V2 fallback, because in other places we chack
  for @type to distinguish V2 and V3 payloads
* there's no need to include a record in "included" if there's only a
  type and an id there
2015-12-08 10:18:04 +01:00
Piotr Sarnacki
34e53c1034 Fix job route's use of job.build relationship
build is an async relationship now, so job.get('build') returns a
promise.
2015-12-08 10:18:04 +01:00
Piotr Sarnacki
e4623d981b Fix including to-many relationships for V3 payloads 2015-12-08 10:18:04 +01:00
Piotr Sarnacki
c50c01f8ea Properly include relationships for V2 payloads 2015-12-08 10:18:04 +01:00
Piotr Sarnacki
a2bd6d827d Convert build serializer to javascript 2015-12-08 10:18:03 +01:00
Piotr Sarnacki
74a9a1603e Update serializers to work with jobs endpoint response 2015-12-08 10:18:03 +01:00
Piotr Sarnacki
d59e402314 Include repositoryId as an attribute on build
For some reason (probably some problem with one of the serializers) we
sometimes lack an id attribute for a promise that we get for a repo
relationship on build. Because of that doing `build.get('repo.id')` may
sometimes return undefined. A temporary workaround is to make sure that
we always can access the `repository_id` property.
2015-12-08 10:18:03 +01:00
Piotr Sarnacki
3946077c96 Use V2FallbackSerializer for jobs 2015-12-08 10:18:03 +01:00
Piotr Sarnacki
c40e413f35 Don't throw error if broadcastArray is undefined 2015-12-08 10:18:03 +01:00
Piotr Sarnacki
ab0b0cbebc Use storage service instead of Travis.storage 2015-12-08 10:18:03 +01:00
Piotr Sarnacki
1843d8cb54 Remove unused settings/index controller 2015-12-08 10:18:03 +01:00
Piotr Sarnacki
6ee956367c Observe repos.firstObject on reposController
Since we change repos property on reposController, we can't set observer
on repos, because as soon as it's changed, we loose the observer.
Instead, we should observe only on reposController, which is not going
to change.
2015-12-08 10:18:02 +01:00
Piotr Sarnacki
8de314e943 Sort repos in repos-list component, not in controller 2015-12-08 10:18:02 +01:00
Piotr Sarnacki
47439657a1 Use lastBuild from defaultBranch on repository
One thing that is not standard here is a serializer for branch, which
uses @href as id. At this point branches don't have ids and ember-data
needs one, so using @href is the easiest way.
2015-12-08 10:18:02 +01:00
Piotr Sarnacki
d9cff6e8b4 Create adapters and serializers working with v3 and v2 APIs
This commit adds adapters and serializers for v3, but also a fallback
serializer for v2, which allows to handle v2 and v3 payloads at the same
time. This is needed, because when we use v3 endpoint for one of the
models (in this case repo), we can also get embedded records of other
types (like branch or build).
2015-12-08 10:18:02 +01:00
Piotr Sarnacki
6ff69bf94a Remove unneeded test 2015-12-08 10:18:02 +01:00
Piotr Sarnacki
5cf1cbba6b Move ajax and auth into services 2015-12-08 10:18:02 +01:00
Piotr Sarnacki
d677307006 Remove some more deprecations 2015-12-08 10:17:32 +01:00
Piotr Sarnacki
63ddf332a8 Properly call error callback in ajax utility 2015-12-07 13:35:25 +01:00
Piotr Sarnacki
69ac8e1a00 Revert "Change signature in $.ajax's error callback"
This reverts commit 60a77742c0.

We don't use $.ajax...
2015-12-07 10:05:19 +01:00
Piotr Sarnacki
60a77742c0 Change signature in $.ajax's error callback
Error callback in $.ajax has different signature than success callback
2015-12-07 09:39:39 +01:00
Lisa P
60116154c7 fix flash messages width 2015-12-04 16:02:03 +01:00
Lisa P
14d372251c Merge pull request #416 from travis-ci/lp-fixes
Fix and cleanup some things after switch to new UI
2015-12-04 15:40:35 +01:00
Lisa P
efe80caa37 clean up icons and other assets 2015-12-04 11:44:24 +01:00
Lisa P
2e45aae5f9 update flexbox in footer 2015-12-04 11:44:24 +01:00
Lisa P
174e7b2bc1 update docs and blog links to use https 2015-12-04 11:44:24 +01:00
Lisa P
86a6cf5c05 refactor some icons 2015-12-04 11:44:24 +01:00
Lisa P
5a8024fd42 change settings icon on profile page 2015-12-04 11:44:23 +01:00
Lisa P
e0629a1571 change to new icons for key and fingerprint 2015-12-04 11:44:23 +01:00
Lisa P
129674aa25 fix branch-row-unit test 2015-12-04 11:44:23 +01:00
Piotr Sarnacki
3827b6b4d8 Add debug info on ajax errors 2015-12-04 11:23:53 +01:00
Lisa P
61e445381c Merge branch 'master' of github.com:travis-ci/travis-web 2015-12-03 12:32:59 +01:00
Lisa P
d78ec1a438 fix commit link in build header 2015-12-03 12:32:48 +01:00
Piotr Sarnacki
b2ec5ab110 Merge pull request #415 from travis-ci/sol-infrastructure-conductor
Tweaking solarce's title
2015-12-03 12:03:12 +01:00
Lisa P
e86de3d068 fix tab arrow in FF 2015-12-03 11:50:07 +01:00
Lisa P
657839a2a4 Merge pull request #411 from travis-ci/lp-buildheader-revamp
buildheader revamp
2015-12-03 11:29:35 +01:00
Lisa P
88b7af156d add scale icon 2015-12-03 11:22:29 +01:00
Brandon Burton
ac426b3914 trying newer node 2015-12-02 14:17:59 -08:00
Brandon Burton
5ece740957 Tweaking solarce's title
**Infrastructure Conductor** =D
2015-12-02 10:16:38 -08:00
Lisa P
e4658e8023 fix tests and stuff 2015-12-02 17:34:46 +01:00
Lisa P
728f428c1f fix notices 2015-12-02 16:42:54 +01:00
Lisa P
9cb7c6c836 tweak elapsed time 2015-12-02 16:28:14 +01:00
Lisa P
576409ba1e add elapsed time 2015-12-02 16:13:28 +01:00
Lisa P
9baadcfd9e try two-line /builds
fix white ghosting on api icon

check requests for existing branch

tweak cc icon

tweak settings fields

try hover over settigns menu
2015-12-02 16:13:26 +01:00
Lisa P
0b1bd7d090 style caches
some cache tweaks

add title attributes to settings interaction elements
2015-12-02 16:13:21 +01:00
Lisa P
495c3b50f8 style requests
some spacing tweaks

implement Justine's feedback
2015-12-02 16:13:18 +01:00
Lisa P
3fa79819dd change template for build history
new icon vor show more btn
2015-12-02 16:13:15 +01:00
Lisa P
85f61c5155 style pullrequests 2015-12-02 16:13:14 +01:00
Lisa P
336479a2be jobs list styles
align animating icons

bring back color in sidebar tiles

change settings hover color

new help icon for allowed failures and settings help

fix svgs for firefox

also for remove log

also for help icon

fix coloring issues, use flexbox footer
2015-12-02 16:13:10 +01:00
Lisa P
fe36e018ce start flexboxify job list
implement Justine\'s feedback

remove regenerate key popup styles

add new icons, refactor request-icon component

use correct property name
2015-12-02 16:11:25 +01:00
Lisa P
fd885304f6 remove old build header styles
delete old job styles

cleanup templates and prepare for jobs list
2015-12-02 16:11:21 +01:00
Lisa P
a6e6cb0418 make adjustment to logs to take up less space on mobile 2015-12-02 16:11:20 +01:00
Lisa P
c7212174fb style settings button
hover states for repo tool buttons

style log buttons

dont forget the small arrow iconå
2015-12-02 16:11:17 +01:00
Lisa P
1ba9548ad0 first iteration build header styles
build header styles 2nd iteration

make job header use component too

cleanup templates and markup for repo page

styles for the repo header

rewrite styles for repo header, cleanup tabs
2015-12-02 16:11:14 +01:00
Lisa P
0176f9fb0c remove unused color variables
remove old icons
2015-12-02 16:11:10 +01:00
Lisa P
613e1dac80 make component for build header 2015-12-02 16:11:09 +01:00
Lisa P
f117c939dd rewrite markup for buildheader
fill in status icons
2015-12-02 16:11:05 +01:00
Piotr Sarnacki
bdfd78c9f1 Merge pull request #413 from travis-ci/hh-fix-xcode-landing-page
Fix Xcode typo on landing page
2015-12-02 14:37:01 +01:00
Henrik Hodne
465ddc81f6 Fix Xcode typo on landing page 2015-12-02 07:36:21 +01:00
Lisa P
f9d5e94d41 change _config to config 2015-12-01 12:09:07 +01:00
Lisa P
b482922dd7 also check for dist in GCE notice 2015-12-01 11:38:50 +01:00
Lisa P
d40e2eddb3 Merge pull request #412 from travis-ci/lp-gce-notice
add notice for gce builds
2015-11-30 15:51:33 +01:00
Lisa P
00304798a6 add notice for gce builds 2015-11-27 16:55:01 +01:00
Lisa P
6771e53da6 fix width in plans 2015-11-24 12:06:02 +01:00
carlad
4db677b407 Merge pull request #410 from travis-ci/cd-landing-typo
fix typo ulimited to unlimited
2015-11-24 11:39:38 +01:00
carlad
36a28290ec fix typo ulimited to unlimited 2015-11-24 11:38:20 +01:00
Lisa P
fbe9eb2fc4 fix safari flexbox issues for plans and logo 2015-11-23 13:01:18 +01:00
Lisa P
787b2fa4d1 fix button alignment bug 2015-11-23 12:47:57 +01:00
Lisa P
466588d1d6 remove flexbox on small screens because it causes too much troubl eon safari 2015-11-23 11:36:44 +01:00
Lisa P
362ff8d73a add a bit more spacing on feature list 2015-11-23 10:42:09 +01:00
Lisa P
41f69029a4 set favicon to default after logout 2015-11-23 10:38:32 +01:00
Lisa P
a604463c9d change nav change logic 2015-11-23 10:26:39 +01:00
Lisa P
af6e1ec69a remove another declaration of topbar color 2015-11-23 09:49:36 +01:00
Lisa P
6784f6f708 Merge pull request #407 from travis-ci/lp-pro-landingpage
pro landing page
2015-11-23 09:24:54 +01:00
Lisa P
d299f330ff align plan number 2015-11-23 09:11:58 +01:00
Lisa P
9b3440be1f change image path 2015-11-23 09:08:24 +01:00
Lisa P
4bbb90ce02 add logos and paths 2015-11-23 08:59:02 +01:00
Justine Arreche
a091cdf97f updating server svg to contain background color 2015-11-20 16:37:45 -05:00
Lisa P
6afdd3b0e3 update gif aly 2015-11-20 18:23:14 +01:00
Lisa P
3f2fb06791 update josh and flex-flow of team 2015-11-20 17:21:02 +01:00
Lisa P
afecf3dfbb add aly gif 2015-11-20 17:14:01 +01:00
Lisa P
193eccb179 fix typo on plans page 2015-11-20 16:35:12 +01:00
Lisa P
9acb4a2476 hot pink fixes (with flexbox) pt3 2015-11-20 14:00:19 +01:00
Lisa P
335b7a1302 hot pink fixes pt2 2015-11-20 13:39:51 +01:00
Lisa P
4d69e32534 hot pink fixes pt1 2015-11-20 13:21:58 +01:00
Lisa P
339b1269e4 add gif for Emma 2015-11-19 18:03:51 +01:00
Lisa P
2eaf1e9c4d change nav for pro signed in 2015-11-19 18:01:39 +01:00
Lisa P
983ccd5e0a change team page route 2015-11-19 17:38:27 +01:00
Lisa P
9a1474aac4 update readme 2015-11-17 12:33:09 +01:00
Lisa P
b4ccfa5110 update team flags 2015-11-16 17:26:21 +01:00
Lisa P
834ab67ac2 add ga tracking to pro landing and pricing buttons 2015-11-16 14:58:34 +01:00
Lisa P
cfcd65c0b1 fill in missing links on pro pages 2015-11-16 13:00:47 +01:00
Lisa P
5b930a661a Merge pull request #408 from travis-ci/lp-add-xcode-to-keys-map
add osx_image to keys-map
2015-11-13 14:18:16 +01:00
Lisa P
ff6455bab7 add osx_image to keys-map 2015-11-13 13:13:40 +01:00
Lisa P
6e8e48ab96 redirect to landing page after signout 2015-11-13 12:41:39 +01:00
Lisa P
46a3af254a change plans route on .org 2015-11-12 13:10:33 +01:00
Lisa P
b5ef87fd32 also remove obsolete files 2015-11-11 18:59:01 +01:00
Lisa P
7b04ae16ce rearrange some css files 2015-11-11 18:57:02 +01:00
Lisa P
701acecc56 change pro navigation and landing page redirects 2015-11-11 18:18:58 +01:00
Lisa P
88fd47002f add team pics 2015-11-11 17:17:07 +01:00
Lisa P
dfb303a0a3 add finaly styles to logo page 2015-11-11 16:58:20 +01:00
Lisa P
b23aaa8b02 add more logo page content 2015-11-11 13:13:36 +01:00
Lisa P
11b66b26a0 add logo page 2015-11-09 20:07:57 +01:00
Lisa P
d5ac31b557 redirect plans page to landing age if on .org 2015-11-09 19:51:32 +01:00
Lisa P
2299494da8 tweak cta display on pro pages 2015-11-09 17:00:55 +01:00
Lisa P
2fac9ba462 teak team member styles 2015-11-09 16:50:58 +01:00
Lisa P
f898636a25 make team members a component 2015-11-09 16:36:15 +01:00
Lisa P
7d1dce76ee fix z-index of jobs:hover 2015-11-04 11:34:27 +01:00
Lisa P
e2122050df more tweaks 2015-11-04 11:29:13 +01:00
Lisa P
f7599e98c3 tweak landing page colors 2015-11-04 11:17:04 +01:00
Lisa P
813998be35 add files for team page 2015-10-29 18:26:41 +01:00
Lisa P
d16b655d1c change pricing pathname to plans 2015-10-29 18:18:10 +01:00
Lisa P
0f6230fddc fix link-to in branches template 2015-10-29 17:56:29 +01:00
Lisa P
e247ab35b4 responsive tweaks 2015-10-29 17:43:51 +01:00
Lisa P
6a8911b36e second iteration pricing styles 2015-10-29 16:58:04 +01:00
Lisa P
8f7ec796af first iteration pricing styles 2015-10-28 18:30:04 +01:00
Lisa P
701c683bff write markup for pricing page 2015-10-28 17:01:08 +01:00
Lisa P
72879709f0 fix broadcasts overlay by removing z-index on the wrong state 2015-10-28 13:35:08 +01:00
Lisa P
fbd7305252 fix branches sorting order 2015-10-28 13:21:23 +01:00
Lisa P
46836812f4 refactor new link styles to mixin 2015-10-28 12:56:19 +01:00
Lisa P
cd82f30f8c change some markup bits 2015-10-28 12:39:21 +01:00
Lisa P
b35e24868a tweak responsive behaviour 2015-10-27 18:08:33 +01:00
Lisa P
8719b1a772 some spacing things 2015-10-27 17:17:37 +01:00
Lisa P
e80f399e83 add icon for pinned tabs in Safari 2015-10-27 14:46:21 +01:00
Lisa P
fda6e7f6f9 more styling for .com landing page 2015-10-27 14:42:14 +01:00
Lisa P
e47ec2f581 add some flexbox action 2015-10-26 18:13:38 +01:00
Lisa P
1620db18c9 add and use a lot of icons 2015-10-26 18:00:53 +01:00
Lisa P
811ab63f1e start styling pro landing page 2015-10-26 15:23:36 +01:00
Lisa P
b350414ae6 prepare markup for pro landing page 2015-10-26 15:23:36 +01:00
Lisa P
625e23228a put eye svg into component 2015-10-26 15:22:13 +01:00
Lisa P
4a54b2df9b Merge pull request #406 from travis-ci/lp-toggle-token
toggle token on profile page
2015-10-26 14:49:24 +01:00
Lisa P
512450b7ce tweak icon iris and toolip 2015-10-26 13:48:34 +01:00
Lisa P
8c911fcc2c add eye icon and tooltip to profile token toggle 2015-10-26 12:34:57 +01:00
Lisa P
5f00526700 add toggle functionality to profile token 2015-10-23 17:52:15 +02:00
Lisa P
def57c603b provide fallback for owner page is payload is empty 2015-10-23 17:15:22 +02:00
Lisa P
64a580f299 rewrite icon template logic 2015-10-23 12:17:26 +02:00
Lisa P
68cee22a76 refactor logic change 2015-10-23 11:53:57 +02:00
Lisa P
e1f5086877 also apply new logic to update method 2015-10-22 21:41:29 +02:00
Hiro Asari
52cbf7a130 Merge pull request #404 from HPI-BP2015H/smalltalk
Smalltalk support
2015-10-22 11:30:18 -04:00
Lisa P
d1f3ee2c6f Merge pull request #401 from travis-ci/lp-broadcasts
Broadcasts
2015-10-22 17:29:29 +02:00
Lisa P
aad5530d2e change tower icon color logic 2015-10-22 17:06:12 +02:00
Lisa P
380204bb44 fix svg overflow in firefox 2015-10-22 15:55:53 +02:00
Lisa P
68537ca3a5 fix button alignment, tweak broadcast 2015-10-22 15:50:42 +02:00
Steffen Kötte
1d6cf2fbea Smalltalk support 2015-10-22 12:09:06 +02:00
Lisa P
1545dbd9d1 animate transmission waves 2015-10-21 18:39:54 +02:00
Lisa P
02f986fe72 change fade animation and properly clean timeout 2015-10-21 17:47:44 +02:00
Hiro Asari
00fbf2c6d9 Merge pull request #403 from jhass/crystal_matrix
Add crystal language key
2015-10-21 11:05:26 -04:00
Lisa P
5c99abfafc add hover colors and rewrite tower as component 2015-10-21 16:55:44 +02:00
Lisa P
36147b36a0 fix topbar navigation (again) 2015-10-21 10:27:29 +02:00
Lisa P
99e3864acd make broadcasts icon change color 2015-10-21 10:27:29 +02:00
Lisa P
8bf917984c make broadcasts list update itself after element is removed 2015-10-21 10:27:29 +02:00
Lisa P
14faf23d0b bring back status icons 2015-10-21 10:27:29 +02:00
Lisa P
9fa7e408cd make seen broadcasts work with localstorage 2015-10-21 10:27:29 +02:00
Lisa P
558f6e64c0 remove some things 2015-10-21 10:27:28 +02:00
Lisa P
fa0d533059 try some things 2015-10-21 10:27:28 +02:00
Lisa P
10a747d2ac filter out expired broadcasts 2015-10-21 10:27:28 +02:00
Lisa P
1bbceeaf13 rewrite topbar to fix in broadcasts, plus some cleanup 2015-10-21 10:27:28 +02:00
Lisa P
bb544f8a7d only show tower when logged in 2015-10-21 10:26:30 +02:00
Lisa P
9c403da804 style broadcasts and toggle them 2015-10-21 10:26:30 +02:00
Lisa P
f33161f95e start working on broadcasts 2015-10-21 10:26:30 +02:00
Jonne Haß
16a8d356fc Add crystal language key 2015-10-21 00:44:13 +02:00
Lisa P
bc67c4cccd Merge pull request #402 from travis-ci/cd-update-help-menu
remove link to stack overflow in help menu
2015-10-20 12:08:09 +02:00
carlad
02e2f84209 remove link to stack overflow in help menu 2015-10-19 18:11:35 +02:00
Lisa P
a713a5969f Merge pull request #400 from travis-ci/rkh-fix-owner-page-for-users
owner page: fix API query to eager load repositories for all owners, …
2015-10-15 10:09:09 +02:00
Konstantin Haase
718bf96a87 owner page: fix API query to eager load repositories for all owners, not just organizations 2015-10-15 09:09:34 +02:00
Lisa P
a048e1fca1 Merge pull request #399 from travis-ci/lp-query-more-branches
Fix owner/branches/dashbaord after api cleanup
2015-10-14 15:37:36 +02:00
Lisa P
9052ec133c fix test 2015-10-14 15:27:45 +02:00
Lisa P
a5c3cf69f2 fix branches after api cleanup 2015-10-14 14:57:39 +02:00
Lisa P
2e39139da3 fix dashbaord after api cleanup, change some interaction elements 2015-10-14 14:57:39 +02:00
Lisa P
860e89dd86 fix owner page after api cleanup 2015-10-14 14:57:39 +02:00
Lisa P
7d6dd75bdf remove logic again because api takes care of it now 2015-10-14 14:57:39 +02:00
Lisa P
e80c022874 remove wrong sorting param 2015-10-14 14:57:39 +02:00
Lisa P
ebc7c5a1ed use different query more logic 2015-10-14 14:57:38 +02:00
Lisa P
8f61f49826 query for more branches if first call is not last page 2015-10-14 14:57:38 +02:00
Lisa P
3306e5a7e6 Merge pull request #398 from travis-ci/fix-404
Fix 404
2015-10-13 13:02:30 +02:00
Lisa P
3c2fbc067e make give 404 a matchable route and redirect from owner if necessary 2015-10-13 12:38:22 +02:00
Lisa P
7f57466484 set limit in branch query to 100 2015-10-09 14:52:09 +02:00
Lisa P
f9ac2e6a76 remove spacing on build list 2015-10-08 15:34:36 +02:00
Lisa P
1ba4cf25d0 filter for push and api builds on branches 2015-10-08 15:28:17 +02:00
Lisa P
e646edbc0e Merge branch 'master' into fix-404 2015-10-07 19:07:06 +02:00
Lisa P
1d71f943ca really fix build tile links 2015-10-07 18:01:31 +02:00
Lisa P
24032d4040 fix status coloring on owner page 2015-10-07 17:37:53 +02:00
Lisa P
b7215bbeaf fix sync button trigger icon on profile page 2015-10-07 17:34:09 +02:00
Lisa P
4da602c632 fix build tile links 2015-10-07 17:29:17 +02:00
Lisa P
e603c2ac9a Merge pull request #397 from travis-ci/running-build-sidebar
Running build sidebar
2015-10-07 16:03:34 +02:00
Lisa P
a9c39ceab6 update icons for running builds in sidebar 2015-10-07 15:28:06 +02:00
Lisa P
c0917d2128 rearrange job filtering in sidebar 2015-10-06 21:40:44 +02:00
Lisa P
0d94c1b786 try to get redirect to 404 working 2015-10-06 21:07:24 +02:00
Lisa P
2b84d5228b smarter filtering for default branch 2015-10-06 17:21:56 +02:00
Lisa P
fedc6acec1 take out dropup on build tiles and use title attribtue instead 2015-10-06 00:54:08 +02:00
Lisa P
fbb30d120c fix owner page query 2015-10-05 23:31:59 +02:00
Lisa P
4ed60c5fbb change owner query and comment out transition 2015-10-05 22:50:09 +02:00
Lisa P
12ac35a123 fix double link in build tiles, better error message for owner 2015-10-05 22:44:29 +02:00
Lisa P
f41a6d0e34 Merge pull request #395 from Ladsgroup/master
Change Rst ro RST
2015-10-05 19:59:29 +02:00
Lisa P
942a48996a position dropups on buildTiles differently 2015-10-05 18:10:28 +02:00
Lisa P
0ff2f25de4 Merge pull request #396 from travis-ci/branches-redux
Branches redux
2015-10-05 17:37:51 +02:00
Lisa P
e4e29ff418 add component for landing page builds + styles 2015-10-05 17:26:45 +02:00
Lisa P
a6ca21f03d remove some deprecation errors 2015-10-02 14:49:10 +02:00
Lisa P
42b75fab6a add a unit test for branch-row 2015-10-02 14:36:28 +02:00
Lisa P
27cb6035a3 fixed weird spacing and responsive behaviour with flexbox 2015-10-02 13:35:59 +02:00
Lisa P
d07afa8b6f also remove trigger build from branches without builds 2015-09-30 18:27:39 +02:00
Lisa P
eb502c9094 fix some tests 2015-09-30 18:18:51 +02:00
Lisa P
4687957514 fix mobile for owner page 2015-09-29 18:20:23 +02:00
Lisa P
3a366a234a refactor new styles 2015-09-29 18:15:29 +02:00
Lisa P
6e7a27da87 take out interactive elements for now 2015-09-29 16:21:00 +02:00
Lisa P
1a1fedfb74 fix last_branch fields on dashbaord 2015-09-29 15:23:44 +02:00
Lisa P
0f2f2253cf make font-weight a variable and make it 400 2015-09-28 17:46:43 +02:00
Lisa P
76c9b368cf fix long repo and branch name issue 2015-09-28 17:25:20 +02:00
Lisa P
8562ac894c redo sync button on dashboard 2015-09-28 16:44:32 +02:00
Lisa P
e350f7bb04 fix dashboard avatars and filter padding 2015-09-28 14:41:25 +02:00
Lisa P
c38a64bc2f fix links in dashboard templates 2015-09-28 14:12:04 +02:00
amir
eb60eb0caf Change Rst ro RST
RST is abbreviation of reStructuredText.
Using Rst is plain wrong, it would be good to use RST or reStructuredText.
2015-09-25 18:55:58 +03:30
Lisa P
ffb635b846 switch back to default branch 2015-09-22 17:57:57 +02:00
Lisa P
a964272df2 change some styles on dashboard 2015-09-22 17:49:11 +02:00
Lisa P
3ef64f0910 start redoing dashboard 2015-09-21 18:56:00 +02:00
Lisa P
ace639adc0 update icons on owner page 2015-09-18 15:25:25 +02:00
Lisa P
33917bf73c try to refactor coloring mixins 2015-09-18 15:02:07 +02:00
Lisa P
abf40de3c2 fix list padding bug 2015-09-18 13:59:16 +02:00
Lisa P
b665468bf7 add moire breakpoint for row spacing 2015-09-18 12:41:20 +02:00
Lisa P
d44f020dec fix tab highlighting 2015-09-18 12:13:18 +02:00
Lisa P
f9b1c37d04 make transition to build history work 2015-09-17 17:07:54 +02:00
Lisa P
732f572c6e make sidebar icons smaller 2015-09-17 16:42:08 +02:00
Lisa P
b79b711e40 check for permissions before displaying trigger button 2015-09-17 16:39:00 +02:00
Lisa P
cb01f58f4d new icons for the sidebar 2015-09-17 16:16:37 +02:00
Lisa P
5a35f0c1b7 refactor coloring styles and work on trigger build workflow 2015-09-17 15:51:58 +02:00
Lisa P
ac8765f0f1 moar alignment fun 2015-09-17 14:49:35 +02:00
Lisa P
b74aa037d5 refactor status-icon component and start rolling out new icons in the sidebar 2015-09-17 14:22:00 +02:00
Lisa P
8b7a316ebf finally centered those dropups 2015-09-17 12:29:11 +02:00
Lisa P
6d86b587e9 failing to center dropups 2015-09-16 18:11:46 +02:00
Lisa P
0e210d791a :hotpink: fixes no 2 2015-09-16 13:21:46 +02:00
Lisa P
b7350f3ee0 :hotpink: fixes no 1 2015-09-16 13:14:24 +02:00
Lisa P
8ea023cdbd fix trigger build request and ui feedback 2015-09-15 18:41:03 +02:00
Lisa P
e8fb719591 tweak some styles and responsive behaviour 2015-09-15 17:59:15 +02:00
Lisa P
4dc5c03077 sort branches by date 2015-09-15 15:39:36 +02:00
Lisa P
b5648b864b style trigger build button for branches without builds 2015-09-15 12:17:37 +02:00
Lisa P
df59484afb filter for default branch 2015-09-15 11:21:00 +02:00
Lisa P
ceba450eb2 make trigger build on branches work 2015-09-14 17:48:06 +02:00
Lisa P
26fe355e40 get icon coloring right 2015-09-14 14:56:02 +02:00
Lisa P
5326821990 make last 5 builds work 2015-09-14 14:16:17 +02:00
Lisa P
6d0067bdb0 Merge branch 'master' into branches-redux 2015-09-14 10:35:23 +02:00
Piotr Sarnacki
06c579c453 Merge pull request #394 from travis-ci/owner-route-error-handling
Add error handling for the owner route
2015-09-09 10:37:05 +02:00
Piotr Sarnacki
ad40e7b53a Try to disable sauce addon for now 2015-09-09 10:36:52 +02:00
Piotr Sarnacki
ca54a64211 Fix flash messages 2015-09-09 10:36:12 +02:00
Hiro Asari
a8d585cb74 Remove invalid data 2015-09-08 15:24:14 -04:00
Lisa P
a00704943a prepare for 5 builds per branch request 2015-09-08 18:21:44 +02:00
Lisa P
fe67ce0882 work on branches templates 2015-09-08 17:48:47 +02:00
Lisa P
05f9b0df7e work on booting state icons 2015-09-08 13:28:31 +02:00
Lisa P
b3c966b245 toy around with branch requests 2015-09-07 18:09:39 +02:00
Lisa P
dda11feb33 comment out SL ff and chrome stuff 2015-09-07 16:43:02 +02:00
Lisa P
b047f4920d fix ssh-key errors handling 2015-09-07 16:24:43 +02:00
Lisa P
dda2051d57 commit current status 2015-09-07 15:53:14 +02:00
Piotr Sarnacki
13ce7f88bd Fix getting push access data on settings reload 2015-09-07 13:21:57 +02:00
Lisa P
8d5e7d5b87 Merge branch 'master' into branches-redux 2015-09-07 11:51:30 +02:00
Piotr Sarnacki
36058f79b9 Add error handling for the owner route 2015-09-07 11:45:58 +02:00
Piotr Sarnacki
1570935099 Fix closing broadcast messages 2015-09-04 09:03:50 +02:00
Piotr Sarnacki
ea88a6271a Fix redirecting to getting started page 2015-09-03 13:13:45 +02:00
Piotr Sarnacki
df4b715ce9 Fix broadcasts
For some reason using property.[] stopped working in flash controller,
so I'm using length for now, which should work properly in case of
broadcasts as they're loaded only once anyway.
2015-09-03 11:22:11 +02:00
Piotr Sarnacki
e64ceab8c4 [specs] Wait longer after tests using models finish 2015-09-02 16:17:01 +02:00
Piotr Sarnacki
7b655eee61 [specs] Fix caches-item-test by using the correct helper name 2015-09-02 13:17:30 +02:00
Piotr Sarnacki
9de0df7cbd [specs] Fix ssh key deletion test
We need to wait till the record is deleted, because otherwise it will
throw an error after the tests is finished. For now I just wait without
checking anything, but in the future we could actually check if the
request was sent etc.
2015-09-02 13:17:30 +02:00
Piotr Sarnacki
d6cbdba401 [specs] Fix repo owner tile test 2015-09-02 13:17:30 +02:00
Piotr Sarnacki
4e0790e504 Don't warn about unused vars, it's annoying with function arguments 2015-09-02 13:17:29 +02:00
Piotr Sarnacki
8aac1c062d Rename sshKey to ssh_key for ember-data lookups 2015-09-02 13:17:29 +02:00
Piotr Sarnacki
507dcc7376 [specs] Properly use internal ember-data methods
We need to use a few internal methods until we switch to ED 2.0, this
commit fixes their usage.
2015-09-02 13:17:29 +02:00
Piotr Sarnacki
c7f412f636 Remove unused ssh-key controller 2015-09-02 13:17:29 +02:00
Piotr Sarnacki
94a018769d [specs] auth.refreshUserData returns a promise now 2015-09-02 13:17:28 +02:00
Piotr Sarnacki
2e5c3c8a2d Remove some more deprecations 2015-09-01 10:24:03 +02:00
Piotr Sarnacki
fcff3f549d Update ember-cli to 1.13.8, ember.js to 1.13.8 and ember-data to 1.13.9 2015-09-01 10:24:03 +02:00
Lisa P
e8af1e0109 pixel fun with dropup position indicator 2015-08-28 17:06:06 -04:00
Lisa P
9370b4b7be fix some display bugs 2015-08-28 17:00:51 -04:00
Lisa P
c5fa70776b add the branches things 2015-08-28 16:28:47 -04:00
Lisa P
cecd09fa99 work on branch coloring and things 2015-08-27 20:35:26 -04:00
Lisa P
05b22c40e0 start implementing new branches 2015-08-27 17:42:45 -04:00
Lisa P
58f540457b Merge pull request #392 from travis-ci/fix-owner-on-magnum
Authenticate owner request
2015-08-26 13:14:08 -04:00
Lisa P
978b35b6ca check if user is signed in 2015-08-26 11:33:19 -04:00
Lisa P
d6fa74c8f6 authenticate owner request for realz 2015-08-26 11:11:12 -04:00
Piotr Sarnacki
7dc3a66383 Merge pull request #393 from travis-ci/fix-account-header-name
Fix account header name
2015-08-26 16:36:17 +02:00
Lisa P
6ef0c1af96 use data from model like Piotr said 2015-08-26 10:00:24 -04:00
Lisa P
33c439a928 display right account name, but only in slug form 2015-08-25 18:00:51 -04:00
Lisa P
c0fe47f2c1 delete some templates that are not used anymore 2015-08-25 18:00:03 -04:00
Lisa P
47d8951535 try to authenticate request if logged in/ on pro 2015-08-25 16:08:52 -04:00
Piotr Sarnacki
dd09b105ee Don't set needsAuth explicitly on owner apge, so the default is used 2015-08-19 12:40:01 +02:00
Piotr Sarnacki
aa22f7bb61 Change repos-empty view to a component 2015-08-19 12:28:07 +02:00
Piotr Sarnacki
da10f0a839 Fix popup open 2015-08-19 11:23:30 +02:00
Piotr Sarnacki
1f7f75b32c Auth is not a service, so for now inject auth into components as well 2015-08-19 11:22:04 +02:00
Piotr Sarnacki
eec378116f Don't insert parts when log is not inDOM 2015-08-18 15:53:42 +02:00
Piotr Sarnacki
86cd0f8a13 Fix switching log when redirecting without changing routes
When the log changes, but without a route change (like when you switch
from one job to another job), we need to properly clean up and set up a
new log. The best way I figured out is to do it in didUpdateAttrs hook,
but only when the log actually changes. In such situation the old and
the new log should be past to teardown and setup functions.
2015-08-18 14:21:02 +02:00
Piotr Sarnacki
ee52beaa10 Fix log
After update to glimmer log started to be rendered incorrectly, with log
lines being inserted in the wrong places. I'm not sure what's the
underlying problem, but rewriting to components seems to fix the issue.
Since views are deprecated anyway I'm not going to investigate the
problem deeper.
2015-08-18 10:41:10 +02:00
Lisa P
9053a1e379 make sure owner avatar and github url change 2015-08-17 18:01:35 +02:00
Lisa P
9aee4fd4b8 Merge pull request #389 from travis-ci/ownerpage-newstyle
Ownerpage newstyle
2015-08-17 17:51:59 +02:00
Lisa P
144c3cd4f8 omg add, little animation 2015-08-17 17:34:54 +02:00
Lisa P
3d1cbdd1d8 add tractor illustration 2015-08-17 16:26:38 +02:00
Lisa P
11b5e2f024 add animated booting state icon to ownerpage 2015-08-17 11:32:22 +02:00
Lisa P
73d5024e06 remove unnecessary new line 2015-08-17 10:47:18 +02:00
Lisa P
f6e4aca204 Merge pull request #391 from travis-ci/fixes-for-notactive
Fixes for notactive
2015-08-17 10:40:42 +02:00
Lisa P
e4b689b0d5 display actiavte options on not-active of if user has pushPermissions 2015-08-17 10:15:09 +02:00
Lisa P
75ce90fc03 check for lastBuildId and only display not-active if it is false 2015-08-14 16:58:06 +02:00
Lisa P
fa27fae524 remove even more styles 2015-08-14 14:53:00 +02:00
Lisa P
1233890a5a remove more unused styles 2015-08-14 14:47:10 +02:00
Lisa P
8341b2c1cd fix some crossbrowser inconsistencies 2015-08-14 14:45:27 +02:00
Lisa P
073fd3feac slightly tweak copy on no-repos 2015-08-13 14:59:04 +02:00
Lisa P
6de92f20d9 add component for no repositories notice 2015-08-12 15:59:32 +02:00
Lisa P
7e68915ede disable /:owner/running route for now 2015-08-12 15:58:55 +02:00
Lisa P
110c17d2c4 Merge pull request #390 from travis-ci/noscript-notice
add simple noscript notice
2015-08-12 11:21:18 +02:00
Lisa P
79eb530270 Merge pull request #388 from travis-ci/lp-no-builds
No builds/ not activated
2015-08-12 11:20:22 +02:00
Lisa Passing
bc1db07901 fix duplicate owner name in document title on ownerpage 2015-08-12 11:11:28 +02:00
Lisa Passing
5736dbfe4b add more space 2015-08-12 10:56:18 +02:00
Lisa Passing
98d9476b7a link from repo header to ownerpage 2015-08-12 10:54:59 +02:00
Lisa Passing
0238eb18b1 add noscript tag to index 2015-08-11 17:52:01 +02:00
Lisa Passing
351cb909b6 add backgroundcolor to owner avatar in case we get transparent bg avatars 2015-08-11 17:13:32 +02:00
Lisa Passing
0cea3d43a6 add responsive styles to owner page list 2015-08-11 16:51:29 +02:00
Lisa Passing
b4c6edf72c Merge branch 'master' into ownerpage-newstyle 2015-08-11 16:16:26 +02:00
Lisa Passing
d8f2758e31 new ownerpage style 2015-08-11 16:00:25 +02:00
Piotr Sarnacki
db93e755d6 Fix build and jobs tabs 2015-08-11 14:51:40 +02:00
Lisa Passing
97463e6320 write repository consistently in lower case 2015-08-11 13:52:34 +02:00
Lisa Passing
2ebba3e774 bring back navigation toggle 2015-08-11 13:44:03 +02:00
Lisa Passing
a2e78bb058 take out trigger build via api because it doesn't work 2015-08-10 19:11:32 +02:00
Lisa Passing
a6f18ab19c Merge branch 'master' into lp-no-builds 2015-08-10 18:53:03 +02:00
Piotr Sarnacki
e382d3015d We can get push access info from current user record 2015-08-07 13:05:30 +02:00
Piotr Sarnacki
8e5d40029a Merge pull request #386 from travis-ci/ember-1.13.6
Ember 1.13.6
2015-08-06 14:30:14 +02:00
Piotr Sarnacki
a0ca1ec66b Change running jobs and queue into components 2015-08-06 13:58:14 +02:00
Piotr Sarnacki
8c35e42b2b Fix show more button by changing it into component 2015-08-06 12:05:44 +02:00
Piotr Sarnacki
7e59794571 Fix log clearing after job restart
In glimmer world rerender doesn't work as before and since we manage log
element manually, we need to also clear it manually and reset the log
properly
2015-08-06 11:34:25 +02:00
Piotr Sarnacki
daeb5fa056 Refactor repo tools to use components 2015-08-06 11:09:41 +02:00
Piotr Sarnacki
c0f2416703 Debounce limit concurrent builds input in settings 2015-08-05 15:04:56 +02:00
Piotr Sarnacki
5ad61f1968 Merge pull request #384 from travis-ci/remove-visibility-api-from-pusher
Remove Visibility API usage from Pusher
2015-08-05 13:34:56 +02:00
Piotr Sarnacki
457f66b91f Remove Visibility API usage from Pusher 2015-08-05 13:13:44 +02:00
Piotr Sarnacki
759e56d7ba Change repos-list into a component 2015-08-05 13:11:57 +02:00
Piotr Sarnacki
58a817ee8d Try 0.12.x node version on heroku 2015-08-05 11:07:09 +02:00
Piotr Sarnacki
23c5161365 Bump brocolli-sass to 0.6.6 2015-08-05 11:06:08 +02:00
Piotr Sarnacki
caff4dda46 Update Ember to 1.13.6 2015-08-05 11:02:14 +02:00
Lisa Passing
9efa886d01 remove animation for now 2015-08-03 18:01:40 +02:00
Lisa Passing
86aea340eb try some animations 2015-08-03 11:28:30 +02:00
Lisa Passing
f41babc783 remove more legacy styles 2015-07-30 17:34:18 +02:00
Lisa Passing
5b361a49ef initial attempt to trigger the first build of a repo through api 2015-07-29 16:07:31 +02:00
Lisa Passing
d15d35a9ff change logic of displaying noPR builds message 2015-07-29 12:13:31 +02:00
Lisa Passing
72b214e5b8 group elements in wheelbarrow svg 2015-07-28 17:11:20 +02:00
Lisa Passing
0059a34daa inline loading indicator on profile hooks 2015-07-28 15:59:56 +02:00
Lisa Passing
8bc1d4ad33 display wheelbarrow notice if repo is not active 2015-07-28 15:57:40 +02:00
Lisa Passing
163ad2a6dd add not-active component 2015-07-28 15:20:50 +02:00
Lisa Passing
8795a932d0 Merge branch 'master' into lp-no-builds 2015-07-28 14:31:31 +02:00
Lisa P
b6488cceaf Merge pull request #382 from travis-ci/lp-ssh-key-permissions
ssh key permissions
2015-07-28 13:47:44 +02:00
Lisa Passing
b9434e5baf fix another too dark border 2015-07-28 13:08:05 +02:00
Lisa Passing
0f39e6fb7a Merge branch 'master' into lp-ssh-key-permissions 2015-07-28 12:29:06 +02:00
Lisa P
0e60932829 Merge pull request #379 from travis-ci/booting-state
received state animation
2015-07-28 12:28:18 +02:00
Lisa Passing
584977e97d Merge branch 'master' into lp-ssh-key-permissions 2015-07-28 12:15:08 +02:00
Lisa Passing
42ee11263e Merge branch 'master' into booting-state 2015-07-28 11:48:06 +02:00
Lisa Passing
4c28a41dff tweak tooltip 2015-07-28 11:31:03 +02:00
Lisa Passing
eeeb64d29a tweak position of help button 2015-07-28 11:06:01 +02:00
Lisa Passing
2d34fc0252 group no-build-svg elements and alter message on PR tab 2015-07-27 18:45:18 +02:00
Lisa Passing
5ec89df59e Merge branch 'master' into booting-state 2015-07-27 17:10:23 +02:00
Lisa Passing
023293de8a change help link on limit concurrency settings from blog post to docs 2015-07-27 17:05:51 +02:00
Lisa Passing
f5f910bed3 Merge branch 'lp-ssh-key-permissions' of github.com:travis-ci/travis-web into lp-ssh-key-permissions 2015-07-27 16:50:56 +02:00
Lisa Passing
ff9813f200 Merge branch 'master' into lp-ssh-key-permissions 2015-07-27 16:50:38 +02:00
Lisa P
ed7bebdfe4 Auto-merged master into lp-ssh-key-permissions on deployment. 2015-07-27 16:50:19 +02:00
Lisa Passing
691e02d08f check for push permission in ssh key settings 2015-07-27 16:46:16 +02:00
Lisa Passing
db72c54bc4 take out debugger 2015-07-27 11:09:51 +02:00
Lisa Passing
63d8db4692 switch from svg to css animation 2015-07-23 17:35:58 +02:00
Lisa Passing
e6fd028a6e Merge branch 'master' into booting-state 2015-07-23 16:38:40 +02:00
Lisa Passing
ac6c73a340 add inline styles to switch 2015-07-23 15:13:57 +02:00
Lisa Passing
a052278bda make it a icon switch 2015-07-23 14:55:30 +02:00
Lisa Passing
cf7849a446 fix missing styles on hooks without admin rights 2015-07-23 14:54:20 +02:00
Lisa P
6eb1405cea Merge pull request #374 from travis-ci/settings-glimmer
Settings glimmer
2015-07-23 13:48:45 +02:00
Lisa Passing
14ac3872c3 moving feedback button a bit more to the left 2015-07-23 12:38:53 +02:00
Lisa Passing
dac21f6164 show legacy note first, then job not yet started notice 2015-07-23 12:37:23 +02:00
Lisa Passing
6578e8b3ce don't let fingerprints get cut off 2015-07-23 12:24:40 +02:00
Lisa Passing
d2abeb6841 even less tooltip line height 2015-07-22 17:23:47 +02:00
Lisa Passing
4ca636caf1 decrease font-size on tooltips, rearrange settings switches, more spacing between settings sections 2015-07-22 17:15:05 +02:00
Lisa Passing
183b4bf966 remove weird bpoxshadow in Firefox 2015-07-22 15:32:03 +02:00
Lisa Passing
8891b325b3 fetch repo hook, but hide deactivate section for now 2015-07-22 15:05:27 +02:00
Lisa Passing
4ba671542a nudge some tooltip pixels 2015-07-22 13:08:37 +02:00
Lisa Passing
bed880019f add help icon to concurrency build setting 2015-07-22 12:51:03 +02:00
Lisa Passing
0efcaabc62 push some pixels on settings 2015-07-22 11:30:32 +02:00
Piotr Sarnacki
868995bf09 Move concurrent build limit flow into a component 2015-07-22 10:55:23 +02:00
Lisa Passing
7817cd47e4 add bg-color to default btn styles 2015-07-22 10:48:50 +02:00
Lisa Passing
7652f9b5b0 some styles for switches 2015-07-21 18:51:30 +02:00
Piotr Sarnacki
271724f994 Implement concurrent builds limit in settings 2015-07-21 18:01:46 +02:00
Lisa Passing
e7aa74872d add general settings functionality 2015-07-21 17:24:18 +02:00
Lisa Passing
dd4580f151 change ssh-key error-message wording 2015-07-21 16:12:24 +02:00
Lisa Passing
c74cf7932a add proper error styles to ssh-key form 2015-07-21 15:44:17 +02:00
Lisa Passing
b4f9cd95e8 add tests for ssh-key components 2015-07-21 15:35:10 +02:00
Piotr Sarnacki
34510791b0 Implement delete action for ssh-key 2015-07-21 14:32:33 +02:00
Piotr Sarnacki
8f7603c9fe Add customSshKey to controller after it's created in the component 2015-07-21 14:32:21 +02:00
Lisa Passing
7293e06c0e add save functionality to ssh-keys 2015-07-21 14:10:37 +02:00
Lisa Passing
87ddf9979a copy some methods from ssh-key controller to add-ssh-key component 2015-07-20 17:58:32 +02:00
Lisa Passing
fcfd634591 add add-ssh-key component 2015-07-20 17:19:34 +02:00
Lisa Passing
b32ce35a05 fix ssh-key displays 2015-07-20 17:11:59 +02:00
Lisa Passing
e2be355054 change states that animate 2015-07-17 18:26:34 +02:00
Lisa Passing
dd319b343e add svg animation of received state 2015-07-17 17:58:27 +02:00
Piotr Sarnacki
47809b013f Remove debugger 💣 2015-07-17 13:10:34 +02:00
Piotr Sarnacki
6a3f51ef9a Remove code added for debugging 2015-07-17 13:09:21 +02:00
Piotr Sarnacki
dc2daeafdc Don't be so noisy with pusher subscription 2015-07-17 13:07:22 +02:00
Sven Fuchs
0ae751f7dc Merge pull request #375 from travis-ci/sf-add-job-queued-event
Handle job:queued events
2015-07-17 12:39:22 +02:00
Sven Fuchs
309f5aa578 handle job:queued events 2015-07-17 12:27:22 +02:00
Lisa Passing
2accdd5626 try fetching ssh keys 2015-07-17 11:39:46 +02:00
Lisa Passing
8d4762eb81 add env-var integration test 2015-07-16 16:56:50 +02:00
Lisa Passing
004d890a08 add delete env-var functionality 2015-07-16 15:46:39 +02:00
Piotr Sarnacki
f4b9a3bbe2 Sign user out in the route after failed user request
Sign out should occur in the route after the request is performed.
Additionally, the error from refreshUserData needs to be handled in
route in order to not propagate to parent routes.
2015-07-16 15:20:19 +02:00
Lisa Passing
99f828ef65 add some and refactor add-env-var tests 2015-07-16 12:48:19 +02:00
Lisa Passing
cc0bed2974 fix failing tests 2015-07-16 12:28:14 +02:00
Lisa Passing
a2af72a10d add styles for public env-vars and tweak some other styles 2015-07-16 12:03:08 +02:00
Lisa Passing
a7ad2c0a63 add some env var form error styles 2015-07-15 20:12:13 +02:00
Lisa Passing
68ea7071e0 fix new ui bugs on profile page 2015-07-15 18:22:43 +02:00
Lisa Passing
f6fec80b5d add env var form tests 2015-07-15 16:50:18 +02:00
Lisa Passing
3cbbbcbfdb Merge branch 'master' into settings-glimmer 2015-07-15 15:30:52 +02:00
Lisa P
76ca9c1eaa Merge pull request #371 from travis-ci/userlike
Userlike
2015-07-15 15:00:36 +02:00
Lisa Passing
f5d986aaca Merge branch 'master' into userlike 2015-07-15 14:57:58 +02:00
Lisa Passing
31eca3e5c3 remove live chat link from footer 2015-07-15 14:33:23 +02:00
Lisa Passing
08dbac84aa add userlike config option 2015-07-15 14:26:41 +02:00
Lisa Passing
a7bc36cba7 make userlike button work with sign in and out 2015-07-15 14:02:16 +02:00
Piotr Sarnacki
72f323bce4 Add userlike only after user is refreshed 2015-07-15 12:57:33 +02:00
Piotr Sarnacki
d6a869dba0 Merge pull request #367 from tchak/bind-attrs-no-more
stop using deprecated {{bind-attr}}
2015-07-15 09:37:36 +02:00
Lisa Passing
44d59909d3 hide feedback if not logged in 2015-07-14 18:11:32 +02:00
tchak
48fc13b7bf stop using deprecated {{bind-attr}} 2015-07-14 17:57:08 +02:00
Lisa Passing
db1db13066 remove debug 2015-07-14 16:12:48 +02:00
Lisa Passing
052aae3856 start userlike script from ember and fill in user data 2015-07-14 16:11:59 +02:00
Lisa Passing
cb9c26d3a5 work on envvars 2015-07-14 15:54:19 +02:00
Lisa Passing
918453a3a5 Merge remote-tracking branch 'origin/glimmer' into settings-glimmer 2015-07-14 11:25:39 +02:00
Lisa Passing
9bee539474 Merge branch 'master' into settings-glimmer 2015-07-14 11:24:55 +02:00
Piotr Sarnacki
a38309ff05 Fix displaying a message for a limited log 2015-07-14 11:04:53 +02:00
Hiro Asari
636f7cd987 Merge pull request #366 from paultcochrane/pr/add-perl6-to-matrix
Add Perl6 to matrix
2015-07-13 13:40:40 -04:00
Lisa Passing
9c0a2780c3 move feedback button a little more to the left 2015-07-13 18:26:43 +02:00
Piotr Sarnacki
e6bbdba6dc Update ember to 1.13.3 2015-07-13 18:26:37 +02:00
Piotr Sarnacki
18623d231c Merge pull request #372 from travis-ci/fix-test-setup-for-prs
Fix test setup for PRs
2015-07-13 16:49:57 +02:00
Piotr Sarnacki
800db73e96 Test using PhantomJS on PRs, otherwise test also browsers on SL 2015-07-13 16:25:57 +02:00
Lisa Passing
1ec639e930 fix broken link on getting_started 2015-07-10 10:31:32 +02:00
Lisa Passing
68e1f5cc7c only show legacy note when logged in 2015-07-09 20:10:17 +02:00
Lisa Passing
7e811e3f81 again icon positioning 2015-07-09 19:29:02 +02:00
Lisa Passing
342ee75964 update legacy update link 2015-07-09 18:46:33 +02:00
Lisa Passing
cb4879ef75 change button padding 2015-07-09 18:45:35 +02:00
Lisa Passing
c2b9c086a5 update button copy and styles 2015-07-09 18:21:15 +02:00
Lisa P
9533c32033 Merge pull request #363 from travis-ci/note-legacy-infrastructure
[wip] display notice for legacy infrastructure
2015-07-09 17:53:17 +02:00
Lisa Passing
79144d6d48 unorphan sigin in page copy 2015-07-09 17:53:04 +02:00
Lisa Passing
0bc1b03041 proper copy 2015-07-09 17:41:34 +02:00
Lisa Passing
dd01d22b0f try custom button 2015-07-09 17:28:11 +02:00
Lisa Passing
7ed4d33053 remove live chat link on com 2015-07-09 16:59:55 +02:00
Lisa Passing
e934061ce7 remove charmscout, add userlike 2015-07-09 15:56:21 +02:00
Lisa Passing
0865600cff tweak help and legel links in topbar 2015-07-09 13:48:38 +02:00
Lisa Passing
695d0a2495 fix signin button on landing page again 2015-07-08 19:21:57 +02:00
Lisa Passing
fade8f05c3 only show link to live chat on .com 2015-07-08 19:04:03 +02:00
Lisa Passing
70ec68e0d4 change settings button hover color 2015-07-08 16:59:56 +02:00
Lisa Passing
e407dd69fb fix some responsive issues on settings page 2015-07-08 16:56:49 +02:00
Lisa Passing
afd4a15aeb Merge branch 'note-legacy-infrastructure' of github.com:travis-ci/travis-web into note-legacy-infrastructure 2015-07-08 15:09:22 +02:00
Lisa Passing
a59723cf67 add link to the right docs page 2015-07-08 15:05:19 +02:00
Lisa Passing
a340028554 fix sign in button on landing page 2015-07-08 14:54:47 +02:00
Lisa P
263ebd6af6 Merge pull request #369 from travis-ci/lp-no-builds
no build (temp)
2015-07-08 14:02:41 +02:00
Lisa Passing
cbdd754c00 move illustration down a bit 2015-07-08 13:15:06 +02:00
Lisa Passing
1d068fdfde make no builds a component and display it on all tabs 2015-07-08 13:15:06 +02:00
Lisa Passing
0ab508a5dc style no build page 2015-07-08 13:15:06 +02:00
Lisa Passing
fc5e003be9 some preparation for no builds 2015-07-08 13:15:06 +02:00
Lisa Passing
f6a1b455e6 refactor more settings styles 2015-07-07 20:17:04 +02:00
Lisa Passing
a6d4c2f6f7 refactor form styles from settings page 2015-07-07 19:34:27 +02:00
Lisa Passing
572804653c trying some thing in the settings route. No idea what I'm doing 2015-07-07 18:47:57 +02:00
Piotr Sarnacki
8a1d1b9be6 Don't use a legace /repositories endpoint for getting a key 2015-07-07 17:03:01 +02:00
Justine Arreche
7bc0be0de1 Removed comma from 10,000% on landing page 2015-07-07 09:56:39 -04:00
Lisa Passing
b575d78250 fix tests 2015-07-07 15:39:02 +02:00
Lisa Passing
7601e15ab8 refactor tooltips 2015-07-07 15:00:07 +02:00
Piotr Sarnacki
996bde3200 Sign out users also on 404 from user query from API
On travis-ci.com we return 404 from queries that failed authentication
for security reasons.
2015-07-07 13:35:10 +02:00
Lisa Passing
e75fbc2485 refactor switch styles 2015-07-06 20:25:50 +02:00
Piotr Sarnacki
86315e48ad Add target="_top" to links on maintenance and 500 pages
Heroku displays error pages in an iframe, so we need to add _top to make
links work properly there
2015-07-03 15:46:31 +02:00
Lisa Passing
c0b49095b4 add ssh-key from styles 2015-07-02 18:14:31 +02:00
Lisa Passing
bd6e1e347b put styles on ssh-key settings 2015-07-02 17:50:26 +02:00
Lisa Passing
859ed2cdea style env vars form 2015-07-02 14:48:46 +02:00
Lisa Passing
413a326022 add delete button tooltips 2015-07-02 11:52:10 +02:00
Hiro Asari
9d94f313b6 Use md5deep branch for caching 2015-07-01 15:23:31 -04:00
Lisa Passing
0d4e3a029a add new icons and some env var styles 2015-07-01 18:28:23 +02:00
Lisa Passing
2ebd6e893a add some styles for settings and new switches 2015-07-01 17:09:34 +02:00
Lisa Passing
1072577ce0 add compontents for settings 2015-07-01 17:09:05 +02:00
Justine Arreche
360d4fd195 added new laptop hero img for org marketing page 2015-07-01 10:48:31 -04:00
Lisa Passing
c4bc5a5f8b add some vars and markup to start with 2015-07-01 13:08:57 +02:00
Piotr Sarnacki
5ba541fb43 Use transitionTo instead of replaceWith on profile page 2015-07-01 09:35:21 +02:00
Paul Cochrane
78d16542b3 Add Perl6 to matrix 2015-06-30 23:12:20 +02:00
Lisa Passing
fa7472c172 add notice styles 2015-06-30 16:12:04 +02:00
Lisa Passing
f262ae15f5 refactor and clean profile templates and styles 2015-06-30 13:28:45 +02:00
Lisa Passing
e42a4088e7 detect build.linux in jobs.queue and display notice 2015-06-30 11:35:49 +02:00
Lisa Passing
ce2397dd9a center trigger button and some cleanup 2015-06-30 11:33:32 +02:00
Lisa Passing
07ce13b2e4 fix color of caches buttons 2015-06-30 11:21:44 +02:00
Piotr Sarnacki
8ebd644485 Fix status images popup 2015-06-30 10:27:51 +02:00
Piotr Sarnacki
6529449617 Fix remove log button 2015-06-30 09:41:34 +02:00
Lisa Passing
ef045bdcb8 detect build.linux in jobs.queue and display notice 2015-06-23 17:14:33 +02:00
Lisa Passing
c83afe458a fix tests 2015-06-23 12:36:46 +02:00
Lisa Passing
37da11d55a show pretty date in build header on hover 2015-06-23 12:30:03 +02:00
Lisa P
21a50aa9a5 Merge pull request #362 from travis-ci/contrast-things
Contrast things
2015-06-23 12:21:04 +02:00
Lisa Passing
20afef8c43 make title as dark as before 2015-06-23 11:11:21 +02:00
Lisa Passing
8f4c9cf58e change more variables 2015-06-22 19:08:25 +02:00
Lisa Passing
fdb09ecd4c change lots of variables 2015-06-22 18:43:08 +02:00
Lisa Passing
3fe260243b introduce darker grey 2015-06-22 18:09:01 +02:00
Lisa Passing
3d84a52dbc add tests for builds-item 2015-06-22 18:08:44 +02:00
Lisa Passing
4e03709cca add githubCommitUrl helper to build history 2015-06-22 17:33:25 +02:00
Lisa Passing
8ff3297083 fill in meta description 2015-06-22 16:50:32 +02:00
Lisa P
7e973ff50a Merge pull request #361 from travis-ci/cc-popup
Cc popup
2015-06-22 12:35:36 +02:00
Lisa Passing
5ae9c1603d change z-index of log buttons so the feedback button is always on top 2015-06-19 16:23:02 +02:00
Lisa Passing
774262175a cleanup tabs.sass 2015-06-19 16:19:02 +02:00
Lisa Passing
609fb5ae9b delete app.sass because it is not used at all 2015-06-19 16:13:24 +02:00
Lisa Passing
4989c4f68e fix code climate popup and iterate over popups over all 2015-06-19 16:05:21 +02:00
Piotr Sarnacki
b61b06620c Don't subscribe to common channel on landing page 2015-06-18 16:28:46 +02:00
Piotr Sarnacki
1365caae9a Use per repo channels instead of common channel 2015-06-18 15:47:14 +02:00
Lisa Passing
af8df832f7 remove 'email us' link from help dropdown and only show live chat on .com 2015-06-18 11:44:34 +02:00
Lisa Passing
99a6ebb89f tweak build numbers in sidebar so they dont get cut off 2015-06-17 15:56:24 +02:00
Lisa Passing
607b092918 Merge branch 'master' of github.com:travis-ci/travis-web 2015-06-17 15:35:47 +02:00
Lisa Passing
6318fcd716 orgs -> organizations in profile sidebar 2015-06-17 15:35:42 +02:00
Piotr Sarnacki
2332c3cf63 Fix specs 2015-06-16 18:18:14 +02:00
Piotr Sarnacki
78580c1e76 Always refresh a user record when page is loaded 2015-06-16 17:54:55 +02:00
Piotr Sarnacki
fb4b39f8af Remove other occurances of .DS_Store 2015-06-16 17:17:00 +02:00
Piotr Sarnacki
1086dae2e2 Merge pull request #358 from wbrefvem/master
Removed .DS_Store from index and added it to .gitignore
2015-06-16 16:52:13 +02:00
Piotr Sarnacki
4115a7c59b Don't check scopes for Travis Become 2015-06-16 15:25:21 +02:00
Piotr Sarnacki
1c9dbed4df Merge pull request #359 from travis-ci/api-icon
add api icon
2015-06-16 11:41:26 +02:00
Lisa Passing
0b548f7316 start adding title attributes to icons 2015-06-15 19:08:33 +02:00
Lisa Passing
eff7d41a06 add api icon 2015-06-15 18:15:39 +02:00
Lisa Passing
c299dbc35d Merge branch 'master' of github.com:travis-ci/travis-web 2015-06-11 16:17:00 +02:00
Lisa Passing
1cdd447ae6 please the vertical alignment police 👮🚓🚨 2015-06-11 16:16:51 +02:00
Lisa Passing
afe34223bd fix spacing on public repo pages 2015-06-11 16:11:47 +02:00
Piotr Sarnacki
92eb8436a1 Revert "Revert "add eventType as an attribute, include api builds to the history""
This reverts commit 4d519f145a.
2015-06-11 11:32:25 +02:00
Will Refvem
f5473a3b7f Removed .DS_Store from index and added it to .gitignore 2015-06-10 10:02:51 -04:00
Lisa Passing
d252a0657a remove old loading styles 2015-06-10 12:32:04 +02:00
Lisa Passing
acc1b490b3 Merge branch 'master' of github.com:travis-ci/travis-web 2015-06-10 12:31:08 +02:00
Lisa Passing
6552418e4b add border-radius to langing page tiles 2015-06-10 12:31:04 +02:00
Piotr Sarnacki
5f37bcb312 Query for repos on landing page right away 2015-06-10 12:19:13 +02:00
Piotr Sarnacki
648d7579e4 Use less expensive endpoints for getting repos with last builds
We display a few recently built repos on landing page. Till now it was
using quite expensive endpoint "/repos". This commit changes it to get
last builds from builds endpoint and then fetch repositories by ids.
2015-06-10 11:32:06 +02:00
Lisa Passing
6b6f0a6994 use old top value 2015-06-04 11:36:02 +02:00
Lisa Passing
db8b70848d fix landing page tiles 2015-06-04 11:31:23 +02:00
Piotr Sarnacki
950cb45a7c Fix settings menu 2015-06-02 12:33:48 +02:00
Piotr Sarnacki
410f4730bb Merge pull request #354 from travis-ci/removing-deprecations
Removing deprecations
2015-06-02 11:48:54 +02:00
Piotr Sarnacki
f8470cd231 Add some more tests for requests-item component, fix builds-item tests 2015-06-02 11:44:14 +02:00
Piotr Sarnacki
e1bb8a2e41 Settings controller doesn't need to be ObjectController 2015-06-02 11:16:04 +02:00
Piotr Sarnacki
81264689f8 Change requests items to use components 2015-06-02 11:16:04 +02:00
Piotr Sarnacki
d2dd744811 Remove unused controllers 2015-06-02 11:16:04 +02:00
Piotr Sarnacki
4201b81fe8 Change CurrentUserController to Controller 2015-06-02 11:16:04 +02:00
Piotr Sarnacki
394e9ce11b Change account to Controller 2015-06-02 11:16:04 +02:00
Piotr Sarnacki
8b333c09fa Extract builds-item as a component to not use itemController 2015-06-02 11:16:04 +02:00
Piotr Sarnacki
e9736dfda9 Add ssl certs for localhost, for ssl testing 2015-06-02 11:15:36 +02:00
Lisa Passing
e8da85562c add some scrolling to click on sidebar 2015-06-01 12:53:15 +02:00
Lisa Passing
7229e068c5 cleanup some dashbaord images 2015-05-28 15:40:49 +02:00
Lisa Passing
d687ebe01a bring back old things 2015-05-28 15:40:49 +02:00
Lisa Passing
275f8f14b2 trying some api things 2015-05-28 15:40:49 +02:00
Lisa Passing
d08e70f6cf more dashboard updates 2015-05-28 15:40:49 +02:00
Lisa Passing
08e53b6aee start dashboard update 2015-05-28 15:40:48 +02:00
Lisa Passing
064f414da7 create loading-indicator component and replace all instances of the non-component 2015-05-28 13:52:44 +02:00
Piotr Sarnacki
1b1dbe3d15 Revert "Update ember-data to 1.0.0-beta.17"
This reverts commit 2d0cd7e44f.
2015-05-20 13:09:05 +02:00
Piotr Sarnacki
4b8900be0a Bring back proper HTML for running jobs item 2015-05-20 13:07:22 +02:00
Piotr Sarnacki
2d0cd7e44f Update ember-data to 1.0.0-beta.17 2015-05-20 11:53:30 +02:00
Piotr Sarnacki
697f3bc56c Merge pull request #356 from travis-ci/small_fixes
Small fixes
2015-05-19 16:15:25 +02:00
Lisa Passing
3d21fd88a7 change irc link to chat.travis 2015-05-19 11:47:06 +02:00
Lisa Passing
4559a8441f remove outline from logo 2015-05-19 11:28:42 +02:00
Lisa Passing
621b5750f0 fix committer has author avatar issue 2015-05-18 15:59:54 +02:00
Lisa Passing
0b658dab73 fix typo on getting_started 2015-05-18 15:28:08 +02:00
Lisa Passing
d32fe183ad cleanup some top styles 2015-05-18 15:00:52 +02:00
Piotr Sarnacki
ac6d6037f9 Make favicon colors in line with UI state colors 2015-05-18 14:09:23 +02:00
Piotr Sarnacki
d398f468b8 Fix show-more button 2015-05-12 18:32:53 +02:00
Piotr Sarnacki
b9cf051575 Show proper layout for owner's loading page 2015-05-12 17:24:16 +02:00
Lisa Passing
2700bc9557 fix running build as far as possible right now 2015-05-12 14:45:30 +02:00
Lisa Passing
1fb4a868be fix owner routes and tabs 2015-05-12 14:45:30 +02:00
Lisa Passing
ff107384c2 add owner stuff 2015-05-12 14:45:30 +02:00
Konstantin Haase
4d519f145a Revert "add eventType as an attribute, include api builds to the history"
This reverts commit 5e1dd9a83b.
2015-05-12 12:35:41 +02:00
Piotr Sarnacki
93373e89ee Enable polling for tests 2015-05-12 10:02:47 +02:00
Piotr Sarnacki
234572f8a6 Disable ajax polling for now 2015-05-12 09:38:29 +02:00
Piotr Sarnacki
ce64132de1 Pass repo to job components from the build template
It seems that when repo object on job is not instantiated it can error
out when trying to use slug along with slug. Before I dig deeper into
this, the easy fix is to pass repo from the top, because on repo view
it's loaded already.
2015-05-11 15:34:35 +02:00
Piotr Sarnacki
5c24778394 Properly deregister polling hook when there's no models to poll 2015-05-11 14:56:36 +02:00
Lisa Passing
f9fcd3888c fix owner page owner name thing 2015-05-11 14:18:20 +02:00
Lisa Passing
f697278527 Merge branch 'fix_first_sync' 2015-05-11 13:53:55 +02:00
Lisa Passing
621481cdfc fix alignment for profile hooks without admin rights 2015-05-11 13:53:37 +02:00
Lisa Passing
a26dd329de fix alignment for profile hooks without admin rights 2015-05-11 13:48:50 +02:00
Lisa Passing
38c90b53f0 refactor first_sync 2015-05-11 12:37:56 +02:00
Lisa Passing
44bff4571e remove more unused styles and adjust sticky footer height 2015-05-11 12:37:56 +02:00
Lisa Passing
c817cd5ed3 remove unused style files 2015-05-11 12:37:56 +02:00
Lisa Passing
cc98163686 change simple layout to be centered 2015-05-11 12:37:55 +02:00
Lisa Passing
9c4bee76f5 add first_sync styles 2015-05-11 12:37:55 +02:00
Lisa Passing
b04cf65485 fix tabnav sidebar 2015-05-11 12:36:46 +02:00
Piotr Sarnacki
dfbd1cab2c Merge pull request #350 from travis-ci/ajax-polling
Ajax polling
2015-05-11 12:15:39 +02:00
Piotr Sarnacki
22ac301149 Fix hook error styling 2015-05-07 13:49:23 +02:00
Piotr Sarnacki
e2db99c7fd Make polling tests more reliable with longer timeouts
I was using a very short polling interval of 10ms for testing polling
mixin. This lets a little room for any timing problems, which may happen
with setTimeout or setInterval. Increasing it to 20ms hopefully can make
it more reliable.
2015-05-07 13:49:22 +02:00
Piotr Sarnacki
a85f0ebc9f Add tests for polling service and mixin 2015-05-07 13:49:22 +02:00
Piotr Sarnacki
b27977baaa Make polling play nice with promises 2015-05-07 13:49:22 +02:00
Piotr Sarnacki
f8390b8f82 Fix tests 2015-05-07 13:49:22 +02:00
Piotr Sarnacki
29c95a4180 Poll for build on job tab
Build has also job's data, so it will get more info with not much
overhead.
2015-05-07 13:49:22 +02:00
Piotr Sarnacki
984dd2328e Also observe current repository for ajax polling 2015-05-07 13:49:21 +02:00
Piotr Sarnacki
193a005434 Remove some deprecations 2015-05-07 13:49:21 +02:00
Piotr Sarnacki
a4a75912b0 Implement ajax polling for things that are visible on the screen
We sometimes miss pusher updates, which started to be more common
lately. Until we investigate what's going on, this should be a good
workaround for keeping UI in sync with the DB.
2015-05-07 13:49:21 +02:00
Piotr Sarnacki
a304ce2640 Fix requests page 2015-05-07 13:07:00 +02:00
Piotr Sarnacki
e217335f2d Quote action names in templates 2015-05-07 12:51:23 +02:00
Piotr Sarnacki
971691852f Merge pull request #349 from travis-ci/ember-1.11.3
Update Ember to 1.11.3
2015-05-07 12:18:18 +02:00
Konstantin Haase
870c6703b1 Merge pull request #352 from travis-ci/sf-include-api-builds
Add eventType as an attribute, include api builds to the history
2015-05-06 17:19:15 +02:00
Sven Fuchs
5e1dd9a83b add eventType as an attribute, include api builds to the history 2015-05-06 15:30:57 +02:00
Lisa Passing
2751d8878e more space for titles, bring back border-radius for profile images 2015-05-06 12:17:43 +02:00
Piotr Sarnacki
bfb4946df8 Show caches also if there're no caches for push builds
This commit fixes caches view to show caches also if only PR caches
exist. Previous version checked for pushes only.
2015-05-06 11:34:02 +02:00
Lisa Passing
1fc1fdadfa more space for owner name 2015-05-05 17:19:32 +02:00
Piotr Sarnacki
95c91786ac Revert "Move owner's page under main route"
This reverts commit ee4eb418ef.
2015-05-05 15:42:59 +02:00
Piotr Sarnacki
5229dc9fef Revert "Fix sidebar for logged in users"
This reverts commit 8c07e4ec7a.
2015-05-05 15:42:58 +02:00
Piotr Sarnacki
141015b583 Revert "Don't show sidebar on owner's page"
This reverts commit 7b7b16e57f.
2015-05-05 15:42:54 +02:00
Piotr Sarnacki
7b7b16e57f Don't show sidebar on owner's page 2015-05-05 15:37:43 +02:00
Piotr Sarnacki
8c07e4ec7a Fix sidebar for logged in users 2015-05-05 15:20:57 +02:00
Lisa Passing
661b16255b set document title on owner pages 2015-05-05 14:46:53 +02:00
Lisa Passing
7373d47b14 fix broken caches list on firefox 2015-05-05 14:28:56 +02:00
Lisa Passing
55a9eaf7b3 Merge branch 'master' of github.com:travis-ci/travis-web 2015-05-05 14:21:49 +02:00
Lisa Passing
0557f17cfa remove border radius on owner profile 2015-05-05 14:21:40 +02:00
Piotr Sarnacki
ee4eb418ef Move owner's page under main route
That way we don't rerender the entire layout each time we change route
under "main"
2015-05-05 14:21:24 +02:00
Lisa Passing
1801645ddd use the config thing instead 2015-05-05 13:50:31 +02:00
Lisa Passing
1456fcb22b hardcode the other api 2015-05-05 13:44:05 +02:00
Lisa Passing
d6e40d6ebd use build id and not number 2015-05-05 13:03:10 +02:00
Lisa Passing
0964c8753e remove assertion because I have removed the respective element 2015-05-05 13:03:09 +02:00
Lisa Passing
e8c719587f use active in the api query 2015-05-05 13:03:09 +02:00
Lisa Passing
ab9697892f use avatar url with mm fallback 2015-05-05 13:03:09 +02:00
Lisa Passing
065796bc76 remove owner name from repos on owner page and fix cta bug 2015-05-05 13:03:09 +02:00
Lisa Passing
8733b46d32 fix topbra l;anding bug 2015-05-05 13:03:08 +02:00
Lisa Passing
c2226f14f7 implement all of josh\'s feedback 2015-05-05 13:03:08 +02:00
Lisa Passing
fe13a44237 fix footer columns issue 2015-05-05 13:03:08 +02:00
Lisa Passing
593602bf49 adjust owner route 2015-05-05 13:03:08 +02:00
Lisa Passing
935e421256 comment out stuff not necessary for phase 1 2015-05-05 13:03:07 +02:00
Lisa Passing
e5c4a45173 add component tests and things 2015-05-05 13:03:07 +02:00
Lisa Passing
4ac5841a6d add make owner page sorta kinda work 2015-05-05 13:03:07 +02:00
Lisa Passing
1760168d45 change owner api endpoint 2015-05-05 13:03:07 +02:00
Lisa Passing
05e7b41a5e add more space to owner info 2015-05-05 13:03:07 +02:00
Lisa Passing
4ea1ace04d fix margin for dashboard tiles 2015-05-05 13:03:06 +02:00
Lisa Passing
b0bccce0ab change some owner styles 2015-05-05 13:03:06 +02:00
Lisa Passing
f8207c75da restyle repo tiles for owner 2015-05-05 13:03:06 +02:00
Lisa Passing
6dc3dd357e add more owner functionality 2015-05-05 13:03:06 +02:00
Lisa Passing
b735f08153 make sync-button on ownerpage and extension of the base sync button 2015-05-05 13:03:05 +02:00
Lisa Passing
66ef0dcfab remove some unnescessary classes 2015-05-05 13:03:05 +02:00
Lisa Passing
11daca52a1 finish styling owner page elements 2015-05-05 13:03:05 +02:00
Lisa Passing
ca483a2a78 add owner page layout styles 2015-05-05 13:03:05 +02:00
Lisa Passing
f2211ef267 remove some dummy markup 2015-05-05 13:03:04 +02:00
Lisa Passing
466b42b8c1 style memberlist 2015-05-05 13:03:04 +02:00
Lisa Passing
49b83f4d2b prepare markup for owner page 2015-05-05 13:03:04 +02:00
Lisa Passing
c7a72644b2 fix bug in sidebar when build number has 5 or more digits 2015-05-04 12:26:21 +02:00
Piotr Sarnacki
0a4976f4ac Use ember-try to test beta and canary ember versions 2015-04-30 12:48:12 +02:00
Piotr Sarnacki
b22f4d5464 Fix travis-errors 2015-04-30 12:48:12 +02:00
Piotr Sarnacki
7e250b5f26 Use node 0.10.32 2015-04-30 12:48:12 +02:00
Piotr Sarnacki
9a232626cc Update Ember.js to 1.11.3 2015-04-30 12:48:12 +02:00
Piotr Sarnacki
28afd84ef1 Remove tipsy 2015-04-30 12:48:11 +02:00
Piotr Sarnacki
4d5884c42b Rewrite filter-input to HTMLBars 2015-04-30 12:48:11 +02:00
Piotr Sarnacki
3356b4367a Bump ember-data to 1.0.0-beta.16 2015-04-30 12:48:11 +02:00
Piotr Sarnacki
8a60afda1d Use new HTMLBars capabilities in ssh key form 2015-04-30 12:48:11 +02:00
Piotr Sarnacki
b609b11ff2 Rewrite a couple of Handlebars helpers into HTMLBars helpers 2015-04-30 12:48:11 +02:00
Piotr Sarnacki
0cfc7b85e7 Update to ember 1.11 beta5 2015-04-30 12:48:11 +02:00
Piotr Sarnacki
397600c46d Fix HTML based on HTMLBars errors 2015-04-30 12:48:10 +02:00
Piotr Sarnacki
9b58ff45b6 Rewrite format-message to HTMLBars helper 2015-04-30 12:48:10 +02:00
Piotr Sarnacki
84010f63c4 Update Ember.js to 1.10 2015-04-30 12:48:10 +02:00
Lisa Passing
99801ee6ab fix duplicate btn on profile 2015-04-29 11:28:46 +02:00
Piotr Sarnacki
8b7d84ff95 Fix typos 2015-04-27 12:35:30 +02:00
Lisa Passing
db571219b1 stop 404 scrolling 2015-04-23 17:42:56 +02:00
Lisa Passing
53c8feaa97 center step images on smaller screens 2015-04-23 14:40:53 +02:00
Lisa Passing
a06b565f36 finish styling the new getting started 2015-04-23 14:40:53 +02:00
Lisa Passing
36413c9f75 start styling getting started 2015-04-23 14:40:52 +02:00
Lisa Passing
929a964e71 add more config keys 2015-04-23 14:40:28 +02:00
Lisa Passing
9feda6fa17 fix class overwrite 2015-04-23 14:31:38 +02:00
Piotr Sarnacki
5e01bb8d68 Try specifying node version
Tests fail on 0.10.38, trying other versions
2015-04-23 12:16:19 +02:00
Piotr Sarnacki
212efad6f2 Merge pull request #348 from travis-ci/hooks-activation-error-message
Hooks activation error message
2015-04-23 12:02:47 +02:00
Piotr Sarnacki
feb3115da6 Merge branch 'master' into hooks-activation-error-message
Conflicts:
	app/templates/account.hbs
2015-04-23 11:44:50 +02:00
Piotr Sarnacki
268bc6096a Remove error message when toggling hook 2015-04-23 10:54:54 +02:00
Piotr Sarnacki
9bf5582f7d repo.repository_id -> repo.id 2015-04-22 18:46:51 +02:00
Piotr Sarnacki
9609daab3b Fix removing caches for entier repository
It seems that sometimes repository_id is not present on cache object.
I'll investigate that later, but we have a repo object on the caches
controller anyway, so I'll just use it instead.
2015-04-22 18:45:19 +02:00
Lisa Passing
cc1ae3c2e7 add some simple tests to hooks-list-item 2015-04-22 17:07:01 +02:00
Piotr Sarnacki
f9563187d3 Add a better error message 2015-04-22 16:51:41 +02:00
Lisa Passing
c76d4de614 add closing icon and action to hook error 2015-04-22 16:20:26 +02:00
Lisa Passing
60bd9e6a26 fix signup button on profile on pro 2015-04-22 15:43:39 +02:00
Lisa Passing
3703194709 basic error message styling and fix {{#if}} nesting in accounts 2015-04-22 15:23:31 +02:00
Piotr Sarnacki
249003d2ff First stab at hooks activation error message 2015-04-21 17:46:49 +02:00
Lisa Passing
89f055cbd0 add rust to config keys 2015-04-21 17:12:59 +02:00
Lisa Passing
972f9bf83c Merge branch 'master' of github.com:travis-ci/travis-web 2015-04-21 14:13:26 +02:00
Lisa Passing
6367f1882b fix code climate popup overflow bug 2015-04-21 14:13:18 +02:00
Piotr Sarnacki
62c1326bd0 Bring back repo to caches controller
It's passed to caches-item component on caches list
2015-04-20 16:50:16 +02:00
Lisa Passing
9e7af7eaad explicitly check for pullRequest caches and some style changes 2015-04-20 12:33:24 +02:00
Lisa Passing
126c767fe1 write some tests 2015-04-17 13:39:36 +02:00
Lisa Passing
23e719ed78 componentify caches 2015-04-17 13:06:21 +02:00
Lisa Passing
64dc75fa2d some topbar refactoring 2015-04-17 11:19:57 +02:00
Lisa Passing
d0e0c9588b fix legal links 2015-04-16 15:20:57 +02:00
Piotr Sarnacki
6d815dde20 Change broadcasts style to yellow 2015-04-15 15:55:49 +02:00
Piotr Sarnacki
991d92b4e5 Fix broadcasts styling 2015-04-15 15:36:11 +02:00
Piotr Sarnacki
c6ee26c2e5 Fix broadcasts 2015-04-15 15:16:17 +02:00
Mathias Meyer
3feaf18e1e Fix spelling of Github (GitHub). 2015-04-15 12:10:44 +02:00
Piotr Sarnacki
36be656c62 Disable landing page on pro for now 2015-04-15 09:19:37 +02:00
Lisa Passing
203fbcea8a add pr icon 2015-04-14 12:47:03 +02:00
Lisa Passing
a78e226de1 only show one (biggest) cache per branch 2015-04-14 12:19:07 +02:00
Lisa Passing
bcfa16a500 different time fomatting 2015-04-14 12:06:58 +02:00
Lisa Passing
3797d363e5 add >all caches< title 2015-04-14 12:03:24 +02:00
Lisa Passing
8e080486fb tweak no caches message 2015-04-14 11:45:41 +02:00
Lisa Passing
cac01a5c90 update no caches message 2015-04-14 11:42:50 +02:00
Lisa Passing
283cf40aee change focus color of delete btn 2015-04-14 11:09:53 +02:00
Lisa Passing
413fcb456c right align delete all caches btn, hide sorting 2015-04-14 11:07:48 +02:00
Lisa Passing
76cc70acb3 add prettyDate helper 2015-04-13 17:28:12 +02:00
Lisa Passing
b9f525bffd style cache entries 2015-04-13 17:11:40 +02:00
Lisa Passing
6e2b834cfd prepare caches markup 2015-04-13 16:30:20 +02:00
Lisa Passing
cabf8bc57a change div to li 2015-04-13 16:14:52 +02:00
Lisa Passing
30da33022e Merge branch 'requests-redone' 2015-04-13 13:30:08 +02:00
Lisa Passing
ccd5532956 also fade out time on requests 2015-04-13 13:25:09 +02:00
Lisa Passing
38ef4ab6f9 more padding and grid nudging 2015-04-13 13:11:11 +02:00
Lisa Passing
e973a557da hide branch on smaller screens to always have the clickable link 2015-04-13 12:36:03 +02:00
Lisa Passing
b65209e3b1 some tweaks on request alignment 2015-04-10 15:57:57 +02:00
Lisa Passing
11966b1445 set a successful message for requests 2015-04-10 15:23:54 +02:00
Lisa Passing
c116cc3bbe get request links hover right 2015-04-10 15:13:49 +02:00
Lisa Passing
797f746c84 make signup button on landing work 2015-04-10 14:40:10 +02:00
Lisa Passing
3f8f20f9d0 some hbs and style stuff 2015-04-10 14:27:17 +02:00
Lisa Passing
75ca986093 add grey icons 2015-04-10 12:01:30 +02:00
Lisa Passing
3940e43886 start with requests styles 2015-04-09 18:17:06 +02:00
Piotr Sarnacki
2deb352f96 Allow to overwrite github's oauth access settings url with ENV 2015-04-09 11:03:50 +02:00
Lisa Passing
e33f38a159 change variable name 2015-04-08 16:24:25 +02:00
Lisa Passing
95cb234afa add notice if you're not member of any org and check for githubOrgsSettingsUrl 2015-04-08 16:21:34 +02:00
Lisa Passing
e421ccf389 add github org settings urls 2015-04-08 16:12:02 +02:00
Lisa Passing
3cf6b3f46e prepare orgs access link 2015-04-08 15:50:41 +02:00
Piotr Sarnacki
970a1e7f4f Linkify repo name on landing page 2015-04-08 15:03:27 +02:00
Piotr Sarnacki
cbbd555fdd Bring better sortOrder for my repos back 2015-04-08 14:09:40 +02:00
Piotr Sarnacki
708c738e5d Merge pull request #345 from andyli/haxe
Add haxe key.
2015-04-08 14:06:05 +02:00
Justine Arreche
5a156a41df fixed the screenshot 2015-04-08 13:53:30 +02:00
Justine Arreche
7ab8d23e61 updated screenshot image 2015-04-08 13:30:02 +02:00
Lisa Passing
4778ff3197 Merge branch 'master' of github.com:travis-ci/travis-web 2015-04-08 13:17:27 +02:00
Lisa Passing
7a04307c25 fix alignment on tiles on landing, some css cleanup 2015-04-08 13:16:21 +02:00
Lisa Passing
eb2edd83db white background for help dropdown on landing 2015-04-08 13:10:05 +02:00
Lisa Passing
acd0f1a65c align sign in button on centered pages 2015-04-08 13:06:35 +02:00
Lisa Passing
986d59c70d rewrite tiles on landing and clean up css a bit 2015-04-08 12:43:16 +02:00
Piotr Sarnacki
ed9d80b555 Linkify repo names on landing page 2015-04-08 12:05:32 +02:00
Lisa Passing
121859bf62 fix alignment in footer 2015-04-08 11:22:06 +02:00
Piotr Sarnacki
34d864c0f8 Merge branch 'landing-page'
Conflicts:
	app/templates/home.hbs
2015-04-08 10:52:53 +02:00
Justine Arreche
89fb73c931 Merge branch 'landing-page' 2015-04-08 10:33:21 +02:00
Justine Arreche
a1cc21b976 change to hero sub head copy again 2015-04-08 10:25:32 +02:00
Piotr Sarnacki
64aa0f60ab Update default page title and tag line on landing page 2015-04-08 10:23:49 +02:00
Piotr Sarnacki
23ede27153 Update default page title 2015-04-08 10:17:26 +02:00
Mathias Meyer
cd4ad5b101 Capitalize tag line. 2015-04-08 10:10:39 +02:00
Mathias Meyer
35d8d20f0f Make spelling of pull request consistent. 2015-04-08 10:08:35 +02:00
Justine Arreche
b7598e4d64 change to hero sub head copy 2015-04-08 10:07:28 +02:00
Mathias Meyer
a5453d66f0 Fix spellings of GitHub and S3. 2015-04-08 10:04:58 +02:00
Mathias Meyer
f09db46949 Fix copy in header. 2015-04-08 10:03:01 +02:00
Justine Arreche
0f01ba9a69 changes to copy and testimonial section 2015-04-08 09:49:15 +02:00
Justine Arreche
de0dd340cf Merge branch 'landing-page' of github.com:travis-ci/travis-web into landing-page 2015-04-08 09:30:30 +02:00
Justine Arreche
9d6c703865 added link to plans page for pro 2015-04-08 09:30:17 +02:00
Andy Li
24d2ee6253 Add haxe key. 2015-04-08 10:08:19 +08:00
Lisa Passing
c0599de54f hopefully fix sticky footer in safari 2015-04-07 18:03:22 +02:00
Lisa Passing
f3543bf225 trying to fix sticky footer in safari by unifing markup 2015-04-07 17:49:04 +02:00
Lisa Passing
5db4a2ff60 remove padding because it breaks things 2015-04-07 17:15:27 +02:00
Justine Arreche
84d187eb83 Merge branch 'landing-page' of github.com:travis-ci/travis-web into landing-page 2015-04-07 16:56:59 +02:00
Justine Arreche
d36bbbde1d polishing up testimonials 2015-04-07 16:56:42 +02:00
Lisa Passing
ff601fb748 dont show footer on non centered pages 2015-04-07 16:45:18 +02:00
Lisa Passing
99d609cc23 Merge branch 'landing-page' of github.com:travis-ci/travis-web into landing-page 2015-04-07 16:07:08 +02:00
Lisa Passing
2f1c57df69 align features-check on medium 2015-04-07 15:40:55 +02:00
Lisa Passing
4f9b286605 vertically align langing sections 2015-04-07 15:22:11 +02:00
Justine Arreche
8751635071 Merge branch 'landing-page' of github.com:travis-ci/travis-web into landing-page 2015-04-07 15:02:55 +02:00
Justine Arreche
b239cb5fa7 fixed link color in recent builds 2015-04-07 15:02:40 +02:00
Lisa Passing
4cbc492178 remove footer from build pages for now 2015-04-07 14:57:55 +02:00
Piotr Sarnacki
6ac359d26d Change default page title 2015-04-07 14:44:54 +02:00
Piotr Sarnacki
918b6e043e If there's no repos on landing page for 10s, fetch some 2015-04-07 14:43:00 +02:00
Piotr Sarnacki
17a8edba50 Show only finished repositories on landing page 2015-04-07 14:42:59 +02:00
Lisa Passing
32124418a0 fix footer width without losing clickability of #left 2015-04-07 14:27:36 +02:00
Lisa Passing
796e7429bf fix ticks on landing 2015-04-07 14:24:47 +02:00
Justine Arreche
2220e84e2e fixing recent builds styles 2015-04-07 13:22:41 +02:00
Justine Arreche
532a9c7f4d made recent build tiles 100% wide 2015-04-07 13:16:29 +02:00
Justine Arreche
06722927df made the features check mark svg smaller in size 2015-04-07 12:47:56 +02:00
Justine Arreche
60bec2cd87 changed section padding to 70px 2015-04-07 12:42:49 +02:00
Justine Arreche
c00947c5d8 Merge branch 'landing-page' of github.com:travis-ci/travis-web into landing-page 2015-04-07 11:48:40 +02:00
Justine Arreche
130eae92b2 MOAR STYLEZ AND RESPONSIVE FIXEZ 2015-04-02 19:36:36 +02:00
Justine Arreche
78f7fc99b0 fixes to the features callouts alignment issue and resposive state 2015-04-02 18:10:48 +02:00
Justine Arreche
35d611f989 some layout and responsive changes to the hero section do to the fact it looked uglier than planned and responsive is hard 2015-04-02 17:18:40 +02:00
Piotr Sarnacki
42cacb31ec Style recent builds on landing page 2015-04-02 16:57:18 +02:00
Piotr Sarnacki
a5ade45b47 Rewrite landing page recent repos to not query API 2015-04-02 13:37:42 +02:00
Piotr Sarnacki
f7e0440a91 Merge branch 'master' into landing-page 2015-04-02 12:24:36 +02:00
Justine Arreche
305f74042c responsive fixes to the private projects section 2015-04-02 11:56:13 +02:00
Justine Arreche
8b6ca0790e additional responsive fixes to the features section 2015-04-02 11:47:16 +02:00
Justine Arreche
1093c4534a responsive adjustments to hero section 2015-04-02 11:39:27 +02:00
Justine Arreche
32db6098cc responsive fixes to the build flow diagrams 2015-04-02 10:58:28 +02:00
Justine Arreche
39857216c9 adding new responsive media queried divs for responsive views and alignment 2015-04-02 10:27:39 +02:00
Piotr Sarnacki
5b49f62630 Fix 404 error page 2015-04-02 10:11:33 +02:00
Justine Arreche
bd29db1a14 changed customer logos to be one img temporarily due to column alignment bug 2015-04-01 13:41:14 +02:00
Justine Arreche
9b10f9058c polished the signin button 2015-04-01 13:25:03 +02:00
Justine Arreche
624a8dad71 styles, integrating the recent builds and beinging styling those 2015-04-01 13:03:04 +02:00
Piotr Sarnacki
ac05a6d19a Fix cog icon on profile page 2015-04-01 11:59:20 +02:00
Piotr Sarnacki
defc930699 Don't show CTA on landing page 2015-04-01 11:32:04 +02:00
Piotr Sarnacki
8274e23b34 Fix topbar background when logged in and on repo page 2015-04-01 11:25:14 +02:00
Piotr Sarnacki
13b9f3f6f2 Fix CTA's styles on centered repo page 2015-04-01 11:06:13 +02:00
Piotr Sarnacki
5e21afd1f4 Display running repos info on landing page 2015-04-01 10:32:04 +02:00
Piotr Sarnacki
cf1e77c5e5 Fix CTA on centered pages 2015-04-01 09:18:30 +02:00
Piotr Sarnacki
d50b847f3f Fix cta on auth page 2015-04-01 09:16:44 +02:00
Piotr Sarnacki
03e5ec53df Add CTA bar under top bar 2015-04-01 09:16:44 +02:00
Piotr Sarnacki
59258637ba Link chat to new chat location 2015-04-01 09:16:43 +02:00
Justine Arreche
a1e4a449ea worked on p styles and sign in button styles 2015-03-31 21:37:38 +02:00
Justine Arreche
cdcf013fb6 fixed some wrapper issues and h1 h2 margin issues 2015-03-31 20:51:56 +02:00
Justine Arreche
c2a6cec282 finally kind of got a fix for the desktop negative positioning but also responsive 2015-03-31 19:45:50 +02:00
Piotr Sarnacki
e64efa9a4d Fix footer's alignment 2015-03-31 15:31:18 +02:00
Piotr Sarnacki
9d46fc6712 Add footer to landing page and main layout
This commit also plugs statuspage.io status check to the footer's status
section.
2015-03-31 14:20:30 +02:00
Piotr Sarnacki
c716752945 Fix top bar for centered view 2015-03-31 12:33:39 +02:00
Piotr Sarnacki
98895b63d7 Make topbar white for centered pages 2015-03-31 11:43:25 +02:00
Piotr Sarnacki
ae3c12d0a8 Center top bar on landing page and for not logged in user 2015-03-31 10:53:02 +02:00
Piotr Sarnacki
6695a8e19a Completely remove left sidebar for not logged in users 2015-03-30 13:22:51 +02:00
Piotr Sarnacki
ecc635bde5 Auto-merged master into landing-page on deployment. 2015-03-30 12:15:42 +02:00
Piotr Sarnacki
5f4c6f4cfd Add separate layout for landing-page 2015-03-30 12:14:30 +02:00
Piotr Sarnacki
b30492296c Show landing page before signin in 2015-03-30 12:06:49 +02:00
Justine Arreche
53b2f6ca0e gave #landing a max-width and centered it 2015-03-30 12:01:39 +02:00
Justine Arreche
136a7a3e63 Adjusted margin on dividers and forced some better breaks in the copy 2015-03-30 11:31:46 +02:00
Justine Arreche
d29193f396 added in the copy for pull/push flows 2015-03-30 11:22:43 +02:00
Justine Arreche
86c6d84941 added the dividing lines between push/pull icons 2015-03-30 11:13:49 +02:00
Justine Arreche
4dce8c8cc4 added in the push and pull build flow icons 2015-03-30 11:05:53 +02:00
Piotr Sarnacki
f02d683892 Show Gemfile on jobs matrix 2015-03-30 10:00:16 +02:00
Piotr Sarnacki
54cd5079a8 Plug billingUrl properly 2015-03-30 08:52:34 +02:00
Justine Arreche
c72509b4dd added in new envelope and laptop graphics and styled more headers and p 2015-03-27 22:25:58 +01:00
Justine Arreche
95dc02727b added in some more graphics as well as placers for recent builds 2015-03-27 17:40:33 +01:00
Justine Arreche
568582d749 all copy and positioning dumped in 2015-03-27 11:06:10 +01:00
Piotr Sarnacki
74d1415258 Set model on accounts controller for backwards compat 2015-03-27 09:06:29 +01:00
Justine Arreche
461bef7682 added in the ground work 2015-03-27 09:05:20 +01:00
Piotr Sarnacki
9133555efd Add fallback for setting title in account 2015-03-27 08:48:49 +01:00
Lisa Passing
32bdc69e94 differ between cog icons 2015-03-25 17:58:23 +01:00
Lisa Passing
5e66504b4d fix tabs 2015-03-25 17:53:57 +01:00
Lisa Passing
125f230ea1 fix switches 2015-03-25 17:50:52 +01:00
Lisa Passing
a9ad4fb70a swap old loader for new one 2015-03-25 17:17:54 +01:00
Piotr Sarnacki
a731028dfa Add avatars on accounts list 2015-03-25 16:36:07 +01:00
Lisa Passing
d3bf48a415 fadeout long org titles 2015-03-25 16:32:22 +01:00
Lisa Passing
76ac33a285 add settings hover in teal 2015-03-25 16:09:15 +01:00
Lisa Passing
0129c48aeb add some coom butoon styles 2015-03-25 16:05:27 +01:00
Lisa Passing
802740e549 make user profile also a link 2015-03-25 15:39:13 +01:00
Lisa Passing
6eb89c514f even bigger avatars 2015-03-25 15:27:04 +01:00
Lisa Passing
d2a7e8bff1 bigger avatars, disabled switches 2015-03-25 15:16:35 +01:00
Lisa Passing
6a3a70bfe2 hide closing icon, make avatars a bit larger 2015-03-25 15:00:53 +01:00
Lisa Passing
51477b6938 fix font-size on user profile 2015-03-25 14:55:27 +01:00
Lisa Passing
d32a121ba2 show repos without access rights and improvised styles 2015-03-25 14:50:33 +01:00
Lisa Passing
e82abcc1d7 add user gravatar 2015-03-25 14:41:57 +01:00
Lisa Passing
6e2887b868 fix weird things after topbar merge 2015-03-25 14:31:41 +01:00
Lisa Passing
a3ada26e17 Merge branch 'master' into profile-new 2015-03-25 13:08:23 +01:00
Lisa Passing
dfbd57cacd remove my shot at seperate user account 2015-03-25 13:03:56 +01:00
Lisa Passing
de41d97229 Merge branch 'profile-new' of github.com:travis-ci/travis-web into profile-new 2015-03-25 13:00:24 +01:00
Piotr Sarnacki
c2c5e7ff5c Use token from currentUser on profile accounts list 2015-03-25 11:46:23 +01:00
Piotr Sarnacki
c4b114bdb6 Divide user and organizations on accounts list 2015-03-25 11:38:39 +01:00
Lisa Passing
e93f358db8 more nav spacing 2015-03-25 11:26:19 +01:00
Lisa Passing
20471649ef use same help dropdown for org and com 2015-03-25 11:21:14 +01:00
Lisa Passing
aa9f226299 try to mark user accoutn 2015-03-25 11:17:46 +01:00
Piotr Sarnacki
439ac1f8ca Landing page template 2015-03-25 09:44:29 +01:00
Lisa Passing
c5e35e43d5 only render profile dropdown if signed in 2015-03-24 17:25:35 +01:00
Lisa Passing
45fbd5a341 bring back some navigation points 2015-03-24 17:21:08 +01:00
Lisa Passing
5dc699b49f give repos without permissions some styling, but dont show them yet 2015-03-24 16:34:00 +01:00
Lisa Passing
5ddb4df521 tweak font sizes and stuff 2015-03-24 15:58:16 +01:00
Lisa Passing
1c58ab9a1f add darker logo 2015-03-24 15:26:47 +01:00
Lisa Passing
89baf93c62 contrast for the anchors 2015-03-24 15:19:01 +01:00
Lisa Passing
13fc4e83e5 fadeout repos descriptions 2015-03-24 15:14:52 +01:00
Lisa Passing
797bf28823 new colors 2015-03-24 15:04:05 +01:00
Lisa Passing
3aa3dd5e00 new switches and more template nudging 2015-03-24 15:01:18 +01:00
Lisa Passing
0bed9a5fa7 Merge branch 'master' into topbar 2015-03-24 14:23:11 +01:00
Lisa Passing
26aa5c64ab also update hover states 2015-03-24 14:17:29 +01:00
Lisa Passing
cc95e7a4e6 new grey 2015-03-24 14:13:45 +01:00
Lisa Passing
d0234d5011 more template nudging 2015-03-24 14:06:30 +01:00
Lisa Passing
88b128fc3e trying to make sense to templates 2015-03-24 12:46:09 +01:00
Lisa Passing
c1e6934fc6 some responsove tweaks 2015-03-24 12:30:03 +01:00
Lisa Passing
4eb3aa25ad styles for profile repo list 2015-03-24 12:22:56 +01:00
Lisa Passing
92e0b4a54c show timestamp when hovering over finishedAt in build header 2015-03-24 10:40:26 +01:00
Lisa Passing
7584af6e52 nudge profile sidebar 2015-03-23 18:30:26 +01:00
Lisa Passing
1d827e926d style new switches 2015-03-23 18:26:46 +01:00
Lisa Passing
eb0b7af011 style getting started 2015-03-23 18:00:05 +01:00
Lisa Passing
0ebf5b82a8 style orgs list 2015-03-23 16:50:04 +01:00
Lisa Passing
03bd183704 disable old styles 2015-03-23 16:11:14 +01:00
Lisa Passing
97b23dca96 prepare new styles 2015-03-23 16:08:35 +01:00
Lisa Passing
d28f37f18e markup changes 2015-03-23 16:08:19 +01:00
Lisa Passing
03d65f4cdc Revert "rearrange template"
This reverts commit 1b4cdc50e4.
2015-03-23 15:20:42 +01:00
Lisa Passing
39f403c98c more layout changes 2015-03-23 15:19:52 +01:00
Lisa Passing
c76271a0d0 use proper class for jobs list 2015-03-23 15:05:41 +01:00
Lisa Passing
b3ff3e3481 Revert "Change jobs list items into divs again"
This reverts commit c20134d8ae.
2015-03-23 14:07:58 +01:00
Lisa Passing
81c6c7b9f8 Merge branch 'master' of github.com:travis-ci/travis-web 2015-03-23 14:05:20 +01:00
Lisa Passing
730a75bda1 fix styles for list markup on jobs 2015-03-23 14:04:03 +01:00
Piotr Sarnacki
95b8fe485b Fix tests 2015-03-23 14:02:16 +01:00
Lisa Passing
1b4cdc50e4 rearrange template 2015-03-23 14:00:00 +01:00
Piotr Sarnacki
c20134d8ae Change jobs list items into divs again 2015-03-23 13:58:58 +01:00
Lisa Passing
8be71f07f5 Merge branch 'master' into new-flash 2015-03-23 13:38:02 +01:00
Lisa Passing
cc0265352b limit flashes to 1 2015-03-23 13:01:36 +01:00
Lisa Passing
def6f2b2c0 update failing jobs text and width 2015-03-23 12:03:58 +01:00
Piotr Sarnacki
b37dc28d99 Remove accidentally commited test 2015-03-23 12:00:13 +01:00
Piotr Sarnacki
93918168f5 I forgot to commit tests for 455e758 2015-03-23 11:59:20 +01:00
Piotr Sarnacki
455e758653 Fix CCTray URL 2015-03-23 11:52:10 +01:00
Piotr Sarnacki
6540f3ac5b Refactor jobs list and add some unit tests for it 2015-03-20 09:08:23 +01:00
Lisa Passing
59ac99778c add new flash message styles 2015-03-19 17:31:13 +01:00
Lisa Passing
63dff660ea cleanup css 2015-03-19 15:46:43 +01:00
Piotr Sarnacki
df6b87ddb8 Fix duration on running jobs list 2015-03-19 14:09:27 +01:00
Lisa Passing
8cd3da7f5b Merge branch 'to-the-left' 2015-03-19 13:31:21 +01:00
Lisa Passing
694bd43a87 nudge all the layouts 2015-03-19 13:12:56 +01:00
Lisa Passing
c5137d0fb4 Merge branch 'to-the-left' of github.com:travis-ci/travis-web into to-the-left 2015-03-19 12:57:44 +01:00
Lisa Passing
717099cc63 add queued state to sidebar tiles 2015-03-19 12:57:35 +01:00
Lisa Passing
aedd0d97fb make left sidebar tabs more responsive 2015-03-19 12:56:44 +01:00
Piotr Sarnacki
5fdc848123 Get rid of the right hand sidebar 2015-03-19 12:14:31 +01:00
Piotr Sarnacki
b703665fe5 Make showMyRepositories action play nicely with URLs 2015-03-19 12:08:39 +01:00
Piotr Sarnacki
ea9e9d81c1 Implement counts for running jobs 2015-03-19 11:57:52 +01:00
Lisa Passing
a0949bed85 yet another shade of grey 2015-03-19 11:53:49 +01:00
Lisa Passing
dad8d9629a add darker versions of job icons 2015-03-19 11:29:48 +01:00
Lisa Passing
274b948d8c enviroment variable phrasing 2015-03-19 11:21:22 +01:00
Lisa Passing
485e3d86b3 more contrast on jobs 2015-03-19 11:09:30 +01:00
Lisa Passing
51a791f4c9 new top bar, so shiny 2015-03-18 18:23:25 +01:00
Lisa Passing
8324d967c4 only show running if pro 2015-03-18 16:56:01 +01:00
Lisa Passing
d20d7e7568 center loading indicators 2015-03-18 16:49:09 +01:00
Piotr Sarnacki
5b9dd4819f Show loading text for queues and running jobs 2015-03-18 16:46:53 +01:00
Lisa Passing
c735444039 fix color and queued template 2015-03-18 16:42:30 +01:00
Lisa Passing
fa13d84089 markup and styles for running tab 2015-03-18 16:38:28 +01:00
Piotr Sarnacki
7715ed31d6 Remove running jobs and queue from right sidebar 2015-03-18 16:01:35 +01:00
Lisa Passing
6bd5fe8387 fix some leftover things 2015-03-18 15:59:44 +01:00
Lisa Passing
3291355808 Merge branch 'running-jobs-in-left-sidebar' into to-the-left 2015-03-18 15:51:50 +01:00
Piotr Sarnacki
56bf89346b Actually show queues on left sidebar 2015-03-18 15:36:55 +01:00
Lisa Passing
80aa01f3b0 start topbar revamp 2015-03-18 15:36:18 +01:00
Piotr Sarnacki
55fd558eb0 Quick crude and hackish version of running jobs 2015-03-18 15:34:37 +01:00
Lisa Passing
32d1bc3a36 add canceled state to jobs 2015-03-18 13:35:35 +01:00
Lisa Passing
72fdfc20a2 fix jumping tab nav and remove weird git stuff 2015-03-18 13:18:44 +01:00
Lisa Passing
9f827dc472 center loading indicator in sidebar 2015-03-18 13:18:44 +01:00
Lisa Passing
26459444bc adjust height of left search to match tabs height 2015-03-18 13:18:44 +01:00
Lisa Passing
1bce9f76c4 remove old repos markup 2015-03-18 13:18:44 +01:00
Lisa Passing
32b539b948 include old styles and fix resulting overlaps 2015-03-18 13:18:44 +01:00
Lisa Passing
96a8463240 finish sidebar restyle (for now) 2015-03-18 13:18:43 +01:00
Lisa Passing
4fc3ead817 add state colors 2015-03-18 13:18:43 +01:00
Lisa Passing
85e4237165 adjust font sizes and icons 2015-03-18 13:18:43 +01:00
Lisa Passing
bfb212fc49 disable old sidebar styles 2015-03-18 13:18:43 +01:00
Lisa Passing
70a0ce798c prepare and change jobs markup 2015-03-18 13:18:43 +01:00
Lisa Passing
07db658fac add markup and classes for sidebar 2015-03-18 13:18:43 +01:00
Lisa Passing
5bb66cf30c preparations 2015-03-18 13:18:42 +01:00
Lisa Passing
ce6cd943bb disable old sidebar styles 2015-03-18 13:18:42 +01:00
Lisa Passing
6459cbfb2a really adjust job height 2015-03-18 13:05:26 +01:00
Lisa Passing
c0cd45bcf2 reduce font-size and adjust height 2015-03-18 12:50:03 +01:00
Lisa Passing
a206fac3dc get env hover fade out right 2015-03-18 12:44:54 +01:00
Lisa Passing
af287fecce replace css help icon with svg icon 2015-03-18 12:33:23 +01:00
Lisa Passing
84b6238eac other expanding version 2015-03-18 12:27:00 +01:00
Lisa Passing
c32f4a1c83 expand job env on hover and hide duration 2015-03-18 12:17:51 +01:00
Piotr Sarnacki
69d6f9e8a1 Add loading indicator for jobs list
This also fixes an occasional bug which occurs when jobs list is being
displayed, but job data is not loaded yet and links are not rendering
properly.
2015-03-18 11:35:27 +01:00
Lisa Passing
0ce971bd60 replace log loader with the new one 2015-03-17 15:41:31 +01:00
Lisa Passing
2da4a7d29e nudge widths, go without max-width for now 2015-03-17 15:16:09 +01:00
Lisa Passing
7e6ae05943 change loading indicators 2015-03-17 15:01:38 +01:00
Lisa Passing
b6fa4d668f get spacing and icons right 2015-03-17 14:55:05 +01:00
Lisa Passing
d1082a0210 first stage build jobs restyle 2015-03-17 13:07:31 +01:00
Lisa Passing
e198c618cc prepare and change jobs markup 2015-03-17 12:08:40 +01:00
Lisa Passing
51323fbd1c rewrite job icon gap 2015-03-17 10:56:26 +01:00
Piotr Sarnacki
c085b52d6d Display only matrix config on jobs list 2015-03-17 09:38:52 +01:00
Lisa Passing
ed90a348db uppercase osx 2015-03-16 15:30:33 +01:00
Lisa Passing
4ef953fb9f fix some icons 2015-03-16 15:22:02 +01:00
Lisa Passing
4e7c64d45e Merge branch 'job-matrix' 2015-03-16 15:04:51 +01:00
Lisa Passing
6be4ddf820 change instances to master 2015-03-16 15:04:05 +01:00
Lisa Passing
743df1b4b2 replace help poup with tooltip 2015-03-16 14:55:31 +01:00
Lisa Passing
2a8c566c2f smaller gap between job icon and env/lang icons 2015-03-16 14:34:41 +01:00
Piotr Sarnacki
c8cfbbca5a Add an error page on repo sub-pages 2015-03-16 13:54:15 +01:00
Piotr Sarnacki
63dc5d19a5 Fix sessionStorage initialization code
With previous version of this code sessionStorage was never initialized
properly. This breaks travis become.
2015-03-16 13:54:15 +01:00
Joe Rafaniello
c45029812a Fix a small spelling mistake: committed 2015-03-16 13:54:15 +01:00
Piotr Sarnacki
7897078140 Don't show toTop or tailing buttons if there's no log 2015-03-16 13:54:15 +01:00
Piotr Sarnacki
e61846a43c Provide proper sourceEndpoint config 2015-03-16 13:54:15 +01:00
Piotr Sarnacki
dd21d1b5e8 Fix remove-log popup 2015-03-16 13:54:15 +01:00
Piotr Sarnacki
d46c0f13ac Refactor repo actions support
This commit refactors repo-actions support to use components and make
the implementation much simpler. It also fixes a bug with buttons being
displayed when they shouldn't be.
2015-03-16 13:54:14 +01:00
Piotr Sarnacki
b116102452 Bump ember-cli to 0.2.0 2015-03-16 13:54:14 +01:00
Lisa Passing
38b89a6fc8 capitalise linux 2015-03-16 13:41:22 +01:00
Lisa Passing
ebeed77c39 really fix alignment of question mark in help button 2015-03-16 13:26:00 +01:00
Lisa Passing
bde90dd69f center question mark in help button 2015-03-16 13:02:56 +01:00
Lisa Passing
754ac9dab9 only show langauges on jobs page if set 2015-03-16 12:51:42 +01:00
Lisa Passing
03bec245aa only show commit message in description if build is pull request, close #166 2015-03-16 12:35:35 +01:00
Lisa Passing
4e532118ea implement design feedbacdk and new icons 2015-03-16 12:31:10 +01:00
Piotr Sarnacki
de411b228b Fix sessionStorage initialization code
With previous version of this code sessionStorage was never initialized
properly. This breaks travis become.
2015-03-16 11:49:00 +01:00
Hiro Asari
6eba365812 Merge pull request #342 from jrafanie/fix_spelling
Fix a small spelling mistake: committed (on build listing pages)
2015-03-13 16:07:23 -04:00
Joe Rafaniello
20149bcf00 Fix a small spelling mistake: committed 2015-03-13 15:54:49 -04:00
Lisa Passing
843ccd4b1d fix more spacing 2015-03-13 17:28:03 +01:00
Lisa Passing
f716600490 fix line-height issues 2015-03-13 17:19:08 +01:00
Lisa Passing
1603d05fb4 fix double icon issue ob job matrix 2015-03-13 17:11:53 +01:00
Lisa Passing
0d2dbbf9e2 more icon fun 2015-03-13 15:25:28 +01:00
Lisa Passing
ae223fa211 nit-pick spacing 2015-03-13 14:51:19 +01:00
Piotr Sarnacki
efde5d7b6f Don't show toTop or tailing buttons if there's no log 2015-03-13 13:39:14 +01:00
Lisa Passing
7dc1153831 less spacing and proper os icons 2015-03-13 13:26:35 +01:00
Lisa Passing
bd74ddd7a2 check for config, hide env if empty 2015-03-13 13:06:20 +01:00
Piotr Sarnacki
a6268f3e47 Provide proper sourceEndpoint config 2015-03-13 12:45:16 +01:00
Lisa Passing
ce39df2b5c fix language string with Priotr's help 2015-03-13 12:40:58 +01:00
Lisa Passing
a9f7b383a4 add the help button 2015-03-13 12:15:24 +01:00
Lisa Passing
eb03818bd7 color job number links 2015-03-13 11:48:49 +01:00
Lisa Passing
9ad20dd3bb fix some spacing issues 2015-03-13 11:34:34 +01:00
Lisa Passing
b946a2783e fix cut-off letters in comit message, improvise error icon 2015-03-13 11:17:49 +01:00
Piotr Sarnacki
b763a00bac Fix remove-log popup 2015-03-13 10:30:19 +01:00
Piotr Sarnacki
d9cb754879 Refactor repo actions support
This commit refactors repo-actions support to use components and make
the implementation much simpler. It also fixes a bug with buttons being
displayed when they shouldn't be.
2015-03-13 10:30:19 +01:00
Piotr Sarnacki
082427c469 Bump ember-cli to 0.2.0 2015-03-13 10:30:19 +01:00
Lisa Passing
e81f3ca3ad center icon 2015-03-12 20:38:31 +01:00
Lisa Passing
af364e044c Merge branch 'master' into job-matrix 2015-03-12 16:16:08 +01:00
Lisa Passing
3327528348 put in some real data 2015-03-12 16:16:02 +01:00
Lisa Passing
79b3f5fd3b truly fix the commit message overflow 2015-03-12 16:08:01 +01:00
Lisa Passing
839511f6bd seperate languages form config keys 2015-03-12 16:03:26 +01:00
Lisa Passing
82e8d94207 fix title overflow 2015-03-12 15:35:57 +01:00
Lisa Passing
1539113371 add the changes if build is a pull request 2015-03-12 15:05:54 +01:00
Lisa Passing
d1c56364c0 fix broken switch on env_var settings 2015-03-12 12:44:43 +01:00
Lisa Passing
c8fad34c54 start new build job view 2015-03-11 17:10:49 +01:00
Lisa Passing
b6b7f092a6 fix arrow icon on pro 2015-03-11 15:26:26 +01:00
Lisa Passing
d1c93f3af8 rename and move branches tab 2015-03-11 13:12:07 +01:00
Lisa Passing
436fd7e923 Merge branch 'master' into new-build-header 2015-03-11 13:05:43 +01:00
Lisa Passing
2194052a35 add indicator for builds and jobs in tab bar 2015-03-11 12:58:14 +01:00
Lisa Passing
4425292f14 port job header to new build header 2015-03-11 12:34:40 +01:00
Lisa Passing
699a0dbe0e some love for the build header links 2015-03-11 12:01:39 +01:00
Lisa Passing
3539143c07 remove link to github branch and add actual branch 2015-03-11 11:54:54 +01:00
Lisa Passing
3405d2fa38 fix small style things that Justine ponted out 2015-03-11 11:43:34 +01:00
Piotr Sarnacki
2b3b3adf5f Use basic view for jobs to make popup methods available 2015-03-11 08:40:48 +01:00
Lisa Passing
9661bd11fd add nice show more button 2015-03-10 17:21:18 +01:00
Lisa Passing
ce8e4db442 all the right icons 2015-03-10 16:48:30 +01:00
Lisa Passing
b443f0440e all the right colors! 2015-03-10 16:45:54 +01:00
Lisa Passing
9ba2e768f9 bring back jobs tab 2015-03-10 16:11:43 +01:00
Lisa Passing
e1112c73cc fix things iwith Piotr 2015-03-10 15:35:00 +01:00
Lisa Passing
572ac9eb74 more style fixes to the build header 2015-03-10 14:13:13 +01:00
Lisa Passing
141a8122e1 add a bunch of new icons 2015-03-10 12:47:01 +01:00
Lisa Passing
30485d1f00 fix things as described in teal#148 2015-03-10 12:16:11 +01:00
Piotr Sarnacki
4adc03afd0 Remove public/scripts files 2015-03-10 10:20:03 +01:00
Lisa Passing
5adda57d80 start implementing new build history 2015-03-09 18:00:02 +01:00
Lisa Passing
a6674a93e1 remove example markup from dashboard 2015-03-09 16:19:44 +01:00
Lisa Passing
0fb8239e74 fix border bug in the tabs 2015-03-09 16:19:23 +01:00
Lisa Passing
8df3ae3499 bring back the cancel build button 2015-03-09 15:57:30 +01:00
Lisa Passing
02a1d2dd8e add some sub-tabnav styles 2015-03-09 15:24:38 +01:00
Lisa Passing
1483a0e86c add new tab styles 2015-03-09 14:58:38 +01:00
Lisa Passing
c77ed00425 fix compare overflow and color inconsistencies on build header 2015-03-09 12:50:37 +01:00
Lisa Passing
7e43157924 Merge branch 'new-build-header' of github.com:travis-ci/travis-web into new-build-header 2015-03-09 11:45:55 +01:00
Lisa Passing
343dfc81e9 alias created and started icon 2015-03-06 16:08:38 +01:00
Lisa P
92dd28e05e Auto-merged master into new-build-header on deployment. 2015-03-06 15:54:50 +01:00
Lisa Passing
6a80f03537 style the commit message, get right status icon 2015-03-06 15:54:05 +01:00
Lisa Passing
b02165f0f2 align all the things 2015-03-06 13:20:27 +01:00
Hiro Asari
a4e94b6ca6 Merge pull request #339 from akoeplinger/patch-1
Add mono to keys-map.coffee
2015-03-05 17:12:51 -05:00
Alexander Köplinger
41d4259c22 Add mono to keys-map.coffee 2015-03-05 23:12:19 +01:00
Lisa Passing
08c671daef remove some tabnav styles for now 2015-03-05 18:31:08 +01:00
Lisa Passing
7d8d5ba0df bring back (most) of the build header functionality 2015-03-05 18:16:28 +01:00
Lisa Passing
e9732c965e rewrite build header 2015-03-04 18:02:49 +01:00
Justine Arreche
c8f1fddda8 darker yellow favicon 2015-03-04 09:45:52 +11:00
Lisa Passing
a334230962 fix org name bug in dropdown, prepare for new search 2015-03-02 12:52:04 +01:00
Lisa Passing
879a6e9a94 make dashboard org dropdown a little wider 2015-03-02 12:33:45 +01:00
Lisa Passing
99d20b6335 hide inactive repos for now 2015-03-02 12:26:56 +01:00
Lisa Passing
074cf2d427 get dashboard sync button to work properly 2015-03-02 12:26:19 +01:00
Lisa Passing
48551e291c adjust alignment of loading indicator 2015-03-02 11:32:55 +01:00
Lisa Passing
3d8c7c3d56 add css animation loading indicator 2015-03-02 11:30:45 +01:00
Lisa Passing
29b3d8be88 style account sync buttons 2015-02-27 15:37:53 +01:00
Lisa Passing
faca83ba5f add org filter to dashboard, prepare sync button 2015-02-26 17:49:27 +01:00
Lisa Passing
35851ef34b dashboard: use same styles for create as for started 2015-02-26 15:28:13 +01:00
Lisa Passing
c3f697350a Merge branch 'dashboard-list' 2015-02-26 13:15:18 +01:00
Lisa Passing
c8891f8023 position loading button right 2015-02-26 13:12:48 +01:00
Lisa Passing
5180ca8211 decrease gap between restart and code climate btn 2015-02-26 12:10:43 +01:00
Piotr Sarnacki
f27ea4a193 Disable tailing when "To top" is clicked 2015-02-26 11:57:38 +01:00
Lisa Passing
a5cc2dd099 Merge branch 'master' of github.com:travis-ci/travis-web 2015-02-26 11:39:19 +01:00
Lisa Passing
7c913bbc58 bring back colors to the log! 2015-02-26 11:39:01 +01:00
Piotr Sarnacki
dfc4c9077d Fix favicon specs for async behaviour 2015-02-26 11:35:56 +01:00
Piotr Sarnacki
2cf1b5b679 Revert "Remove unneeded log related functions from repo-actions"
This reverts commit d6885fdaa1.

It seems that we still use some actions from there.
2015-02-26 11:33:32 +01:00
Piotr Sarnacki
c72db42231 Fix displaying restart build button 2015-02-26 11:32:08 +01:00
Piotr Sarnacki
d6885fdaa1 Remove unneeded log related functions from repo-actions 2015-02-26 11:31:51 +01:00
Piotr Sarnacki
d7e3cc09ec One more change for favicon manager
It seems that chrome works better with a slightly higher timeout and
when href is changed only in timeout
2015-02-26 11:19:22 +01:00
Piotr Sarnacki
3e6ec019b5 Merge pull request #336 from travis-ci/favicon-changing
Change favicon color based on the build state
2015-02-26 09:57:14 +01:00
Piotr Sarnacki
cf946d5da5 Merge pull request #335 from travis-ci/anchor-btn-to-log
Move log related buttons to the log area
2015-02-26 09:56:32 +01:00
Lisa Passing
39a15275a1 minimize white space gap on bigger screens 2015-02-25 17:07:33 +01:00
Piotr Sarnacki
32c6ee18d6 Add favicon pngs 2015-02-25 17:05:17 +01:00
Piotr Sarnacki
520361cb78 Set href on favicon <link> tag second time in a timeout
This somehow fixes chrome inconsistencies when changing favicon
2015-02-25 17:00:55 +01:00
Piotr Sarnacki
8087761c8a Generate datauris for favicons automatically rather than hardcoding them 2015-02-25 17:00:19 +01:00
Piotr Sarnacki
b96b776b02 Bump inline images to 0.0.4 2015-02-25 16:55:30 +01:00
Piotr Sarnacki
405cdd3dae Received state should also indicate not started build 2015-02-25 16:50:49 +01:00
Lisa Passing
ae7586c121 add custom message in log 2015-02-25 15:39:51 +01:00
Piotr Sarnacki
c20f5bb61a Add some tests for favicon manager and refactor it 2015-02-25 13:48:41 +01:00
Lisa Passing
a9155287c5 shift scroll log btn around a bit 2015-02-25 13:12:44 +01:00
Piotr Sarnacki
6bb53716a9 Add proper favicon data uris 2015-02-25 12:57:20 +01:00
Lisa Passing
bd4825f296 add new styles to log-scroll-btn 2015-02-25 12:43:49 +01:00
Piotr Sarnacki
89b782957e Add ability to run dev ruby server with SSL 2015-02-25 12:00:41 +01:00
Piotr Sarnacki
d896d673a8 Merge pull request #334 from travis-ci/allow-cancel-if-there-are-cancelable-jobs
Allow cancel if there are cancelable jobs
2015-02-25 11:53:12 +01:00
Piotr Sarnacki
e189bc607b Allow to cancel build if any of the jobs can be cancelled 2015-02-25 11:52:55 +01:00
Piotr Sarnacki
7c3ea5b7bc Fix subscribing to private channels
This was a combination of 2 bugs:

* we didn't do deep_merge on config in ruby app, so
  that any nested properties set in the javascript app would be
  overwritten
* channelPrefix was not properly set for Travis CI Pro
2015-02-25 11:43:19 +01:00
Josh Kalderimis
0d0b484954 Merge branch 'anchor-btn-to-log' into dashboard-list
Conflicts:
	app/templates/top.hbs
2015-02-25 09:08:52 +13:00
Lisa Passing
a65c0b8aa1 re-do org selector styles 2015-02-24 17:31:36 +01:00
Piotr Sarnacki
e8ad482434 Make favicon work properly when viewing job
Current implementation of controllers makes it hard to implement favicon
changes outside of build/job controllers. The problem is that if a job
is viewed, both controller are populated, which means they will both
send state change events to change favicon. This commit adds a check for
build controller, which allows to disable state change events when we're
viewing a job
2015-02-24 16:51:37 +01:00
Piotr Sarnacki
acb70dcac7 First stab at changing favicon based on build or job state 2015-02-24 16:20:56 +01:00
Lisa Passing
f599723bf2 finish new buttons
add :focus styles

cleanup log styles a bit, remove ids form css

trying to add actions

finish new buttons
2015-02-24 16:10:56 +01:00
Piotr Sarnacki
203302bd63 Fix remove log button popup 2015-02-24 15:51:36 +01:00
Lisa Passing
e4a58787f4 trying to add actions 2015-02-24 15:51:36 +01:00
Lisa Passing
101fbc3021 cleanup log styles a bit, remove ids form css 2015-02-24 15:51:36 +01:00
Lisa Passing
8c1e52dd13 prepare log header 2015-02-24 15:51:36 +01:00
Piotr Sarnacki
788e624646 Properly set legal urls 2015-02-24 13:06:58 +01:00
Lisa Passing
94aea59450 prepare org filter markup and styles 2015-02-23 17:51:41 +01:00
Lisa Passing
26ffa632f1 make active repos dynamic again 2015-02-23 17:34:28 +01:00
Lisa Passing
5d41629672 fix alignment fox starred tiles if n >2 2015-02-23 17:15:45 +01:00
Lisa Passing
3df0b1d3d7 cleanup css a little 2015-02-23 17:09:34 +01:00
Piotr Sarnacki
758f26282a Allow to cancel build if any of the jobs can be cancelled 2015-02-23 17:08:46 +01:00
Lisa Passing
b3c2ed1d98 responsify dashboard list 2015-02-23 16:54:41 +01:00
Lisa Passing
34d4f1624e fix alignment of buttons on profile page 2015-02-23 14:44:05 +01:00
Lisa Passing
6caa1bf56d style starred repo tiles 2015-02-23 14:36:08 +01:00
Lisa Passing
622ef6bb76 increase log min-height 2015-02-23 13:50:08 +01:00
Lisa Passing
f83483306b hide signin button in topbar on auth pages 2015-02-23 13:37:06 +01:00
Lisa Passing
ab3246a68e set optimizeLegibility and improve responsiveness of Dashboard 2015-02-23 13:25:39 +01:00
Piotr Sarnacki
5f4748f3d0 Fix 'sign up this account' icon on profile page 2015-02-23 12:52:29 +01:00
Lisa Passing
8f795dd4bd Merge branch 'master' into dashboard-list 2015-02-23 11:30:25 +01:00
Piotr Sarnacki
92fbc73760 Show 'Top' button only if log has any content 2015-02-23 10:07:08 +01:00
Justine Arreche
50ad230104 updated favicons without backgrounds 2015-02-23 11:01:13 +10:00
Lisa Passing
423246629b get not starred repos right 2015-02-20 16:10:16 +01:00
Lisa Passing
597c31b375 get dropdown right 2015-02-20 14:04:55 +01:00
Piotr Sarnacki
cf9bea3ea5 Call super in deactivate/activate in main/recent route
The problem that I identified earlier as a Safari bug turned out to be a
bug in main/recent route. Not calling super in deactivate resulted in
code to remove observer not being executed at all.
2015-02-20 13:18:15 +01:00
Lisa Passing
3417095768 add transparent overlay to feedback popup 2015-02-20 12:07:48 +01:00
Lisa Passing
84259fc9d6 start with dropdown 2015-02-20 11:26:42 +01:00
Lisa Passing
46d9df8500 style dashbaord repo list and add placeholder icons 2015-02-19 17:55:53 +01:00
Lisa Passing
583922d11f Merge branch 'master' of github.com:travis-ci/travis-web 2015-02-19 12:12:11 +01:00
Lisa Passing
01f00f08aa add new current classes to jobs template 2015-02-19 12:12:01 +01:00
Lisa Passing
567c8d5e90 put icon class on right element 2015-02-19 12:07:28 +01:00
Piotr Sarnacki
1774e6d571 Set far future Expires only for fingerprinted files 2015-02-19 11:41:38 +01:00
Piotr Sarnacki
1a9f984b58 Don't use :not(> .error) for global_slider, it causes problems with minification 2015-02-19 09:33:11 +01:00
Piotr Sarnacki
da86a68efa Try to specify exact node version 2015-02-19 09:33:11 +01:00
Josh Kalderimis
6696c10a6a Merge pull request #333 from travis-ci/ja-new-favicons
new favicons yayaya
2015-02-19 17:36:42 +13:00
Justine Arreche
bb23d05120 new favicons yayaya 2015-02-19 15:24:13 +11:00
Lisa Passing
d39fd31b1b some more stuff 2015-02-18 17:54:09 +01:00
Lisa Passing
52a905ce73 position placeholder icons 2015-02-18 17:50:01 +01:00
Lisa Passing
b629101fee save current step 2015-02-18 16:55:28 +01:00
Piotr Sarnacki
bf7c4e1464 Fix viewing repo after viewing all repos on safari
When transitioning from recent route to a specific repo deactivate is
not called for some reason on Safari. It seems like a bug in Ember.js,
but I need to investigate more.

A solution is to also try to remove observer in reset controller
2015-02-18 16:32:46 +01:00
Lisa Passing
a446344096 style message popup 2015-02-18 15:47:35 +01:00
Lisa Passing
34ff17df12 refactor search field 2015-02-18 15:18:02 +01:00
Lisa Passing
40e186d7c7 refactor top styles and dashboard template 2015-02-18 14:08:50 +01:00
Piotr Sarnacki
a89e77a56d Fix charm feedback box 2015-02-18 14:01:10 +01:00
Lisa Passing
b142b01e1a some style changes 2015-02-18 12:13:15 +01:00
Lisa Passing
351cf8078d remove unnessary(?) things from charmscout script 2015-02-17 17:43:37 +01:00
Lisa P
0f6a6a9551 Merge pull request #331 from travis-ci/signin-btn
Signin btn
2015-02-17 16:17:38 +01:00
Piotr Sarnacki
6ef1e479fd Set ASSETS_HOST for s3 deployment
The page needs to explicitly set host to our s3's bucket, because
otherwise it will be relative to the heroku app's URL
2015-02-17 15:31:07 +01:00
Lisa Passing
d125bade7d moar padding 2015-02-17 15:27:31 +01:00
Piotr Sarnacki
ee4564c72b Merge pull request #329 from travis-ci/error500
Error Pages and maintenance
2015-02-17 15:17:50 +01:00
Piotr Sarnacki
518e99c02f Use absolute path for 500 error 2015-02-17 15:05:33 +01:00
Piotr Sarnacki
187ab0eaf8 Merge pull request #330 from travis-ci/ps-title-pages
Set page titles relevant to page is loaded
2015-02-17 15:04:39 +01:00
Lisa Passing
c97001b761 Merge remote-tracking branch 'origin/error500' into error500 2015-02-17 15:03:53 +01:00
Piotr Sarnacki
dfc22014a8 Set page titles relevant to page is loaded
I used ember-cli-document-title addon.
2015-02-17 14:35:59 +01:00
Piotr Sarnacki
36059a2329 Deploy maintenance page to S3 2015-02-17 14:24:20 +01:00
Lisa Passing
239aab2861 add 500.html, delete 500 from app 2015-02-17 14:17:10 +01:00
Lisa Passing
b243ceb05a make signing-in also a btn 2015-02-17 14:06:29 +01:00
Lisa Passing
2eb626193d use external css 2015-02-17 14:03:30 +01:00
Lisa Passing
6da7043c67 add maintenance.html 2015-02-17 14:03:29 +01:00
Lisa Passing
1f2f72677f push some hills around 2015-02-17 14:03:29 +01:00
Piotr Sarnacki
a13370b392 Run only Sauce Labs on Travis 2015-02-17 14:03:29 +01:00
Piotr Sarnacki
7e1168cae2 Add a simple acceptance test for dashboard and tooling needed to run it
Apart from adding a test, this commit also adds a dummy implementation
for Auth that can be used in tests to control the auth status.
2015-02-17 14:03:29 +01:00
Lisa Passing
b2b70b592f add burger markup to error pages 2015-02-17 14:03:29 +01:00
Lisa Passing
0285cd3a96 push hills around 2015-02-17 14:03:29 +01:00
Piotr Sarnacki
7375fbb440 Explicitly return false from toggleBurgerMenu to not bubble action 2015-02-17 14:03:28 +01:00
Lisa Passing
f17f0ceb7b add burger toggle 2015-02-17 14:03:28 +01:00
Lisa Passing
d2305baa60 finally get profile page full-height while loading 2015-02-17 14:03:28 +01:00
Lisa Passing
10da41b29e bring back fixed width sidebars 2015-02-17 14:03:28 +01:00
Lisa Passing
997e68351c fix align of hook switched 2015-02-17 14:03:28 +01:00
Lisa Passing
3d0920ecb2 fix top bar stacing issues 2015-02-17 14:03:28 +01:00
Piotr Sarnacki
3af2ca192c Replace title by a ruby server 2015-02-17 14:03:27 +01:00
Piotr Sarnacki
4eda7ec0d0 Fix loading indicator on profile page 2015-02-17 14:03:27 +01:00
Lisa Passing
545facfb22 bring back travis-pro in top 2015-02-17 14:03:27 +01:00
Lisa Passing
40c900fba1 make sign in w/ github a button 2015-02-17 13:51:17 +01:00
Lisa Passing
780edf69c8 Merge branch 'master' of github.com:travis-ci/travis-web 2015-02-17 11:27:35 +01:00
Lisa Passing
fb2cbf7970 fix missing branch name in Safari 2015-02-17 11:27:29 +01:00
Piotr Sarnacki
f7f274f5d5 Fix search
In search there was a check on 'auth' in the view and we no longer
inject auth into views. That's why the check needs to be done on the
controller.

The other thing is that slash breaks the URL currently, so this commit
also changes slash in the search phrase into %2F character.
2015-02-17 10:38:04 +01:00
Piotr Sarnacki
29513b744d Set charm key by default for pro 2015-02-17 09:48:18 +01:00
Piotr Sarnacki
0eed77401e Auto-merged master into ps-title-pages on deployment. 2015-02-16 16:47:21 +01:00
Piotr Sarnacki
1c2f16d372 Set page titles relevant to page is loaded
I used ember-cli-document-title addon.
2015-02-16 16:42:12 +01:00
Lisa Passing
258300fb21 remove maintenance from app, as it is now a .html file 2015-02-16 16:29:59 +01:00
Lisa Passing
faa3f73c7a use external css 2015-02-16 16:27:52 +01:00
Lisa Passing
407e34e201 Merge branch 'master' of github.com:travis-ci/travis-web 2015-02-16 16:11:59 +01:00
Lisa Passing
0e6d7b0115 linkify dashboard footer 2015-02-16 16:11:53 +01:00
Piotr Sarnacki
5bb419ef7b Sort repos explicitly on dashboard 2015-02-16 16:09:10 +01:00
Lisa Passing
ffdfcc5739 dashboard full height while loading 2015-02-16 15:58:09 +01:00
Konstantin Haase
d4f3208afb Merge pull request #328 from ovr/patch-1
Fix link
2015-02-16 15:44:20 +01:00
Дмитрий Пацура
8f63e3f827 Fix link 2015-02-16 22:38:11 +08:00
Lisa Passing
090c645ea6 add maintenance.html 2015-02-16 15:37:49 +01:00
Piotr Sarnacki
0578af0c4c Don't set default avatar url on ENV
Fingerprinting filter that Brocolli uses to add checksums to filenames
apparently is very greedy. When a URL that has a valid image is present
in ENV, fingerprint filter will going to wipe out the entire config's
meta tag value with fingerprinted url with an asset host.
2015-02-16 15:14:10 +01:00
Piotr Sarnacki
0e86df8da0 Set default avatar url properly 2015-02-16 14:41:13 +01:00
Lisa Passing
b9c58fae46 push some hills around 2015-02-16 14:33:28 +01:00
Piotr Sarnacki
9559d55400 Don't subscribe to pusher if there's no instance 2015-02-16 14:15:36 +01:00
Piotr Sarnacki
9601d53ad6 We can use @pusher directly, no need for @get 2015-02-16 14:14:59 +01:00
Lisa Passing
3d6cad10b2 Merge branch 'master' into error500 2015-02-16 14:05:10 +01:00
Piotr Sarnacki
1105981e7d Merge pull request #327 from travis-ci/ember-cli
Switch to Ember CLI and Ember Data; refactor CSS.
2015-02-16 12:37:42 +01:00
Piotr Sarnacki
a11f3bd511 Run only Sauce Labs on Travis 2015-02-16 12:34:05 +01:00
Piotr Sarnacki
77c92bf369 Trigger build 2015-02-16 12:20:43 +01:00
Piotr Sarnacki
0e1fd2746f Add a simple acceptance test for dashboard and tooling needed to run it
Apart from adding a test, this commit also adds a dummy implementation
for Auth that can be used in tests to control the auth status.
2015-02-13 14:13:45 +01:00
Lisa Passing
2c61304a5d add burger markup to error pages 2015-02-13 12:00:46 +01:00
Lisa Passing
01c973cac9 push hills around 2015-02-13 11:58:53 +01:00
Lisa Passing
f7b034102a Merge branch 'ember-cli' into error500 2015-02-13 11:32:55 +01:00
Piotr Sarnacki
b9cacdc596 Explicitly return false from toggleBurgerMenu to not bubble action 2015-02-12 18:48:32 +01:00
Lisa Passing
7e0fe8cb61 add burger toggle 2015-02-12 16:03:35 +01:00
Lisa Passing
adcc8b57f4 finally get profile page full-height while loading 2015-02-12 15:07:02 +01:00
Lisa Passing
7dac12cfea bring back fixed width sidebars 2015-02-12 13:08:18 +01:00
Lisa Passing
07dd6c411e fix align of hook switched 2015-02-12 12:49:51 +01:00
Lisa Passing
c9d4ccdc48 fix top bar stacing issues 2015-02-12 12:36:33 +01:00
Lisa Passing
262175595c Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-12 12:20:37 +01:00
Lisa Passing
8589b7e97d bring back travis-pro in top 2015-02-12 12:20:28 +01:00
Piotr Sarnacki
44ff31c86f Replace title by a ruby server 2015-02-12 12:19:04 +01:00
Piotr Sarnacki
924021d49a Fix loading indicator on profile page 2015-02-12 12:16:39 +01:00
Lisa Passing
c747bb5a63 add 500 page and styles and refactor 2015-02-11 17:24:14 +01:00
Lisa Passing
63bf1fcffe fix global_slider selector typo 2015-02-11 15:23:42 +01:00
Lisa Passing
49ea505981 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-11 15:17:50 +01:00
Lisa Passing
f2d24d8653 fix clickability of the logo link 2015-02-11 15:17:26 +01:00
Piotr Sarnacki
90fbf62987 Fix slider when sidebar is hidden 2015-02-11 15:10:57 +01:00
Lisa Passing
3dd7b18e26 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-11 15:07:43 +01:00
Lisa Passing
06f1bb9c91 add text to feedback btn 2015-02-11 14:47:10 +01:00
Piotr Sarnacki
3964eef9be Display feedback button on PRO when charmKey is set 2015-02-11 14:46:19 +01:00
Lisa Passing
167fb4217b add charmscout script 2015-02-11 14:44:29 +01:00
Lisa Passing
36dbcd3097 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-11 14:13:27 +01:00
Lisa Passing
5d60a0e897 change charm styles 2015-02-11 14:13:21 +01:00
Piotr Sarnacki
7e527b7480 Add ember-cli-autoprefixer
autoprefixer automatically attaches browser prefixes to CSS statements
that need it.
2015-02-11 14:06:34 +01:00
Piotr Sarnacki
911d4b6aa9 Don't show link to last build if there's no last_build_id 2015-02-11 13:04:59 +01:00
Piotr Sarnacki
0309ac29c0 Don't try to fetch lastBuild if there's no id 2015-02-11 12:59:07 +01:00
Piotr Sarnacki
4afd7db020 Return array and not a promise from Repo.search 2015-02-11 12:58:45 +01:00
Piotr Sarnacki
9c149313f7 Hide recent tab if we're searching 2015-02-11 12:58:18 +01:00
Piotr Sarnacki
4ffd33c087 Enable filtering on dashboard 2015-02-11 11:34:01 +01:00
Piotr Sarnacki
f8e787fcdd Add missing fields to models 2015-02-11 11:18:24 +01:00
Lisa Passing
c2b8fe469f fix some stuff in chrome 2015-02-10 17:51:58 +01:00
Lisa Passing
0002263d3c also fix build status bg-image 2015-02-10 17:45:24 +01:00
Lisa Passing
ce405137f8 fix popup <pre> overflow 2015-02-10 17:42:56 +01:00
Lisa Passing
72dace6f11 settings view rabbit hole 2015-02-10 17:40:45 +01:00
Lisa Passing
96aff03599 fix build header dropdown responsive behaviour 2015-02-10 16:32:43 +01:00
Lisa Passing
5f601c492c fix build tabs responsive 2015-02-10 16:10:42 +01:00
Lisa Passing
f7e1f8d603 remove weird double border on hooks 2015-02-10 15:13:08 +01:00
Lisa Passing
2ebb30c476 fix build header alignment 2015-02-10 15:08:09 +01:00
Lisa Passing
c00b5492f9 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-10 14:45:56 +01:00
Lisa Passing
a34826d904 fix tab height and full-height left bar 2015-02-10 14:45:50 +01:00
Piotr Sarnacki
411401fd15 Bring back disabled class for repo actions 2015-02-10 14:02:29 +01:00
Piotr Sarnacki
15415999c2 check if model exists when cancelling ssh key 2015-02-10 11:56:33 +01:00
Piotr Sarnacki
81911777da dematerialize record in any kind of created states in ssh key 2015-02-10 11:54:37 +01:00
Piotr Sarnacki
767e49d95a Fix sshkey form 2015-02-10 11:53:14 +01:00
Piotr Sarnacki
4a401dc8cb Fix slider 2015-02-10 10:53:06 +01:00
Piotr Sarnacki
f5f44a8e6f To Top -> Top 2015-02-10 10:46:00 +01:00
Piotr Sarnacki
66e76447aa Make to-top look better 2015-02-10 10:45:14 +01:00
Piotr Sarnacki
3ab72e0c86 Try to run chrome on Travis 2015-02-10 10:36:34 +01:00
Piotr Sarnacki
355b5b7db3 Fix remove log 2015-02-10 10:33:43 +01:00
Piotr Sarnacki
b0b0c76bc4 Display caches link only to logged in users 2015-02-10 10:33:31 +01:00
Piotr Sarnacki
85fc6c5cf4 Don't require auth for requests 2015-02-10 10:33:04 +01:00
Piotr Sarnacki
9ff3b8c1d8 Remove useless code 2015-02-10 10:27:57 +01:00
Piotr Sarnacki
6c01631b2e Fix ajax requests for caches 2015-02-10 10:13:53 +01:00
Piotr Sarnacki
aacad11258 Fix caches 2015-02-10 10:09:51 +01:00
Piotr Sarnacki
b4e69ea837 Don't set loading padding on links 2015-02-10 10:01:25 +01:00
Piotr Sarnacki
cc1026656c Try to highlight lines in log a few times before giving up 2015-02-10 09:44:19 +01:00
Piotr Sarnacki
4f38faf3c2 Use travis location 2015-02-10 09:43:54 +01:00
Piotr Sarnacki
55cf221b56 Fix status images 2015-02-10 09:43:17 +01:00
Piotr Sarnacki
39b780e615 Fix syncing 2015-02-10 09:42:58 +01:00
Piotr Sarnacki
86983f1e6d Fix requests page 2015-02-10 09:41:57 +01:00
Piotr Sarnacki
bf80fec82f Coalesce find requests 2015-02-10 09:41:16 +01:00
Piotr Sarnacki
dda62c5394 Remove / from .gitignore paths
It doesn't play nice with ctrlp plugin used with ag and it doesn't make
any difference in this case anyway
2015-02-10 09:40:16 +01:00
Piotr Sarnacki
ae7708fecd Update README 2015-02-10 07:53:10 +01:00
Piotr Sarnacki
485976d003 Don't try to reload record if it's already loading 2015-02-09 19:28:32 +01:00
Piotr Sarnacki
6877c3afc1 Properly add new builds to builds lists 2015-02-09 19:28:32 +01:00
Lisa Passing
7e1a943a80 fix some layout bugs in error and maintenance 2015-02-09 15:56:37 +01:00
Lisa Passing
b09fbdcabe add maintenance page 2015-02-09 15:30:02 +01:00
Lisa Passing
2ebc2a6be1 position mr-t on 404 2015-02-09 13:03:32 +01:00
Lisa Passing
16e31a5b89 pro profile maximize 2015-02-06 16:59:41 +01:00
Lisa Passing
559bfd8ab2 add border-bottom-mixin 2015-02-06 15:50:19 +01:00
Lisa Passing
e784301bb0 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-06 15:28:18 +01:00
Lisa Passing
fe3796b0c7 fix profile pro 2015-02-06 15:28:13 +01:00
Piotr Sarnacki
705fe69208 Fix ssh-key route 2015-02-06 15:11:02 +01:00
Piotr Sarnacki
a6b9c2b0d9 Properly check for caches and ssKey on pro 2015-02-06 15:10:53 +01:00
Piotr Sarnacki
76672e76ca Fix pusher auth on pro 2015-02-06 15:04:59 +01:00
Lisa Passing
5f8562b2e2 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli
Conflicts:
	app/styles/app/layouts/footer.sass
2015-02-06 15:01:09 +01:00
Lisa Passing
5dbd90be5d rewrite layout rules 2015-02-06 15:00:18 +01:00
Piotr Sarnacki
4dc35f7932 Fix default pro behaviour 2015-02-06 14:58:01 +01:00
Piotr Sarnacki
c9e0337071 Fix emojize 2015-02-06 14:19:59 +01:00
Lisa Passing
df9467d04f fix more lists 2015-02-06 14:06:31 +01:00
Lisa Passing
aed549fd51 fix lists 2015-02-06 13:51:53 +01:00
Lisa Passing
caebbde09c Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-06 13:35:08 +01:00
Lisa Passing
4efd8f9f66 add font and rearrange imports 2015-02-06 13:34:52 +01:00
Piotr Sarnacki
95619b42fb Don't filter env vars in controller
Depending on isNew can result in rerendering templates in some cases, which will
also create a new object controller, which in turn will reset isEditing value.
2015-02-06 13:20:56 +01:00
Piotr Sarnacki
ab33383d15 Fix a few issues after ember-cli switch 2015-02-06 12:57:49 +01:00
Piotr Sarnacki
cd83556d36 Don't set overflow-x: hidden 2015-02-06 12:04:11 +01:00
Piotr Sarnacki
9846b41861 Fingerprint also svg files 2015-02-06 11:42:42 +01:00
Piotr Sarnacki
03ae9df2b5 dashboard/loading view doesn't need layout 2015-02-06 11:31:28 +01:00
Piotr Sarnacki
9591fdc4c6 Set expires to and max-age to 0 for index.html
This ensures that chrome will not indifinitely cache the index.html file.
2015-02-06 11:15:58 +01:00
Piotr Sarnacki
3f7a9df8ba Change tipsy to scss 2015-02-06 10:40:01 +01:00
Piotr Sarnacki
b5feda7fdc Force inline images 0.0.3 2015-02-06 10:39:41 +01:00
Piotr Sarnacki
52f62c15e6 Force inline images 0.0.2 2015-02-06 09:21:37 +01:00
Piotr Sarnacki
2a7d00ba78 Update ember-data to beta14 2015-02-06 09:13:10 +01:00
Piotr Sarnacki
d6cc390b52 Updating heroku stack to cedar-14 2015-02-06 09:05:37 +01:00
Piotr Sarnacki
23792440e6 Don't test on safari on sauce labs for now 2015-02-06 08:57:56 +01:00
Piotr Sarnacki
20da61148e Revert "Move Gemfile to waiter"
This reverts commit a47c282281.

I moved Gemfile to waiter, because we were using compass and compass needs a
ruby runtime. That resulted in a weird behaviour when trying to run ember-cli.
Since we removed compass, it's safe to bring back Gemfile to the main directory.
2015-02-06 08:38:33 +01:00
Piotr Sarnacki
eab311737a Merge branch 'master' into ember-cli
Conflicts:
	assets/scripts/travis.coffee
2015-02-05 18:21:51 +01:00
Piotr Sarnacki
f53f9947a5 Fix colorForState for repos list 2015-02-05 18:14:19 +01:00
Piotr Sarnacki
9314541b2a Add ember-cli-inline-images 2015-02-05 18:03:41 +01:00
Piotr Sarnacki
6533c2c425 Remove remaining files in assets 2015-02-05 18:02:39 +01:00
Piotr Sarnacki
28e9da05bf Use 404 as notFound 2015-02-05 15:57:49 +01:00
Piotr Sarnacki
9c1427db3c Move 404 files to app/ 2015-02-05 15:57:05 +01:00
Piotr Sarnacki
e943f9ef5c Properly set value of isRecentTabOpen to false on deactivate 2015-02-05 15:47:10 +01:00
Piotr Sarnacki
3780eaa13f Merge pull request #326 from travis-ci/less-pusher-data
Don't save data from pusher that won't likely be used
2015-02-05 15:37:49 +01:00
Piotr Sarnacki
6a29198eee Fix imports 2015-02-05 15:34:00 +01:00
Piotr Sarnacki
f72d942801 Remove compass from app/forms.scss 2015-02-05 15:32:08 +01:00
Piotr Sarnacki
2525888668 Merge remote-tracking branch 'origin/css-refactor' into ember-cli 2015-02-05 15:30:29 +01:00
Piotr Sarnacki
1f5d5a2bd2 Fix imports for styles 2015-02-05 15:30:12 +01:00
Piotr Sarnacki
90e2366eef Use 'history' location for now 2015-02-05 15:28:21 +01:00
Piotr Sarnacki
ed8d4354f6 Move assets/images to public/images 2015-02-05 15:27:58 +01:00
Lisa Passing
3e0ec54ba5 remove compass mixins 2015-02-05 15:27:08 +01:00
Hiro Asari
42021bb11a Add Elixir as matrix column 2015-02-05 07:57:28 -05:00
Piotr Sarnacki
a47c282281 Move Gemfile to waiter 2015-02-05 13:45:20 +01:00
Piotr Sarnacki
41d8ab1b28 Add sass 2015-02-05 12:52:16 +01:00
Piotr Sarnacki
8ad4e1f27e Move styles to app/styles 2015-02-05 12:51:57 +01:00
Piotr Sarnacki
24d18afd48 Merge branch 'css-refactor' into ember-cli
Conflicts:
	app/templates/layouts/profile.hbs
	assets/scripts/app/routes.coffee
	assets/scripts/app/views.coffee
2015-02-05 12:49:26 +01:00
Piotr Sarnacki
6584d4c885 Don't test on safari locally, but test it on TravisCI 2015-02-05 12:46:44 +01:00
Piotr Sarnacki
37cae3987b Add firefox and safari to testem in dev 2015-02-05 12:43:50 +01:00
Piotr Sarnacki
7268243b4e Use empty apiEndpoint for tests 2015-02-05 12:40:27 +01:00
Piotr Sarnacki
59477e5eac Configure location properly 2015-02-05 12:40:06 +01:00
Piotr Sarnacki
3d216ad9f7 Filter repositories without last build 2015-02-05 12:39:58 +01:00
Piotr Sarnacki
141457c4f9 Change config keys to camel case 2015-02-05 11:35:47 +01:00
Piotr Sarnacki
86b0e3a765 Remove unused code from environment.js
We can't get anything from window in config/environment.js, because it's run at
compile time, not at run time.
2015-02-05 11:27:33 +01:00
Piotr Sarnacki
e33af8a672 Go one step further with lowering pusher data landing into store
If user switches to recent repos tab and then switches away, there's really no
point in pushing everything into store. We can still reject all of the events
for repos that don't belong to the current user and are not yet in the store.
2015-02-05 10:57:36 +01:00
Piotr Sarnacki
6f0eaf7091 Don't save data from pusher that won't likely be used
If user is logged in and doesn't keep 'recent repositories' tab opened, most of
the pusher events from 'common' channel are useless.

This commit introduces a logic to reject pusher events if:

  * recent tab hasn't been opened
  * user is signed in
  * Travis CI for open source is used
  * repository for a given event is not yet in store
  * repository for a given event is not part of current user's repositories
2015-02-05 10:57:36 +01:00
Piotr Sarnacki
426e67e7b4 Add firefox to dev runners in testem 2015-02-05 10:54:11 +01:00
Piotr Sarnacki
106fd016ac Forgot to add SauceConnect 2015-02-05 10:36:49 +01:00
Piotr Sarnacki
ff99ccab0b Add SauceLabs tests on firefox and chrome 2015-02-05 10:35:56 +01:00
Piotr Sarnacki
c6d4ecf78d Try new .travis.yml, without ruby for now 2015-02-05 09:22:42 +01:00
Piotr Sarnacki
89e604fdc9 Remove specs for unused features in ruby part 2015-02-04 23:08:50 +01:00
Piotr Sarnacki
874a6de443 Move log to vendor/ 2015-02-04 23:08:22 +01:00
Piotr Sarnacki
fcbcabb0cd No need to lookup store in pusher anymore 2015-02-04 18:35:42 +01:00
Piotr Sarnacki
420cab0d75 Remove workers/list.hbs, it's not used anymore 2015-02-04 18:34:37 +01:00
Piotr Sarnacki
67cae2c8f5 Remove Travis global usage from templates 2015-02-04 18:34:25 +01:00
Piotr Sarnacki
8f7c58ce4c Add missing imports for config 2015-02-04 18:27:14 +01:00
Piotr Sarnacki
ba9b6d844a Move receiving pusher events to store 2015-02-04 18:24:09 +01:00
Piotr Sarnacki
fdda7b482f Remove unsafe-eval from script-src CSP 2015-02-04 18:24:09 +01:00
Piotr Sarnacki
571552b861 Don't allow unsafe inline scripts 2015-02-04 17:23:58 +01:00
Lisa Passing
c6dbd3a634 add 404 page 2015-02-04 17:19:49 +01:00
Lisa Passing
3f00cec935 dashboard tiles overflow fadeout 2015-02-04 12:49:09 +01:00
Lisa Passing
c4b7677238 fix nasty firefox render bug 2015-02-04 12:07:29 +01:00
Piotr Sarnacki
f6751e4b08 Prepend ASSETS_HOST to assets 2015-02-03 23:26:20 +01:00
Piotr Sarnacki
f82025c6d5 Don't use Handlebars.compile, ember-cli includes only runtime for performance 2015-02-03 20:48:02 +01:00
Piotr Sarnacki
e00d0b00a3 trigger deploy 2015-02-03 20:39:58 +01:00
Piotr Sarnacki
7c2cfad6aa trigger deploy 2015-02-03 20:36:45 +01:00
Piotr Sarnacki
89081a873b Bring back ETags 2015-02-03 20:31:41 +01:00
Piotr Sarnacki
90b91bd49b Fix pusher channel subscribe
When channel_prefix is not defined it should be set to empty string.
2015-02-03 20:31:41 +01:00
Lisa Passing
b87ce94ec4 and the tools dropdown 2015-02-03 17:55:06 +01:00
Lisa Passing
f9e6108537 also consider pro 2015-02-03 17:53:33 +01:00
Piotr Sarnacki
961b487fac Change a way config is updated
The ENV viarable that is exported in app/config/environment.js is saved as JSON
in <meta> tag in index.html. In order to properly set the settings from the app
we need to get it from there, update the JSON and write it back
2015-02-03 17:20:04 +01:00
Lisa Passing
7a60cfe9b2 get layouts kind of right 2015-02-03 15:14:58 +01:00
Lisa Passing
4dde61bad9 try cleanup and modularizing 2015-02-03 13:00:50 +01:00
Piotr Sarnacki
bf28f66b44 Properly set config for Ember CLI app 2015-02-03 12:44:52 +01:00
Piotr Sarnacki
0dba0fdad5 Add app initializers which sets window.Travis
We still use Travis in some places in the app and Travis var is not set when
using ember build. The initializer added in this commit sets it to the current
app instance
2015-02-03 12:13:13 +01:00
Piotr Sarnacki
41d406bb19 Remove ETags based on version for now 2015-02-03 12:00:27 +01:00
Piotr Sarnacki
30447f6e68 Set root to dist/ directory 2015-02-03 11:55:44 +01:00
Piotr Sarnacki
e9cc76cbd6 Remove ember-cli-app-version for now
It needs a git directory, so it fails on heroku
2015-02-03 11:48:51 +01:00
Piotr Sarnacki
1a78d6303f Forgot to run bundle install 2015-02-03 11:09:57 +01:00
Piotr Sarnacki
08b3e753ea Use travis-web-ember-cli-buildpack 2015-02-03 11:08:31 +01:00
Piotr Sarnacki
020da3048d Run auth config after ember-data 2015-02-03 10:54:08 +01:00
Piotr Sarnacki
65e0789250 Add ability to extend config by setting it in index.html 2015-02-03 10:52:50 +01:00
Piotr Sarnacki
579388e08d Add Pusher and fix Pusher's config 2015-02-03 10:52:14 +01:00
Piotr Sarnacki
0dab5c7e9e Add jquery.timeago to bower 2015-02-03 10:14:04 +01:00
Piotr Sarnacki
8959f382c2 Move server/ to waiter/
Apparently server dir conflicts with some scripts in ember-cli
2015-02-03 10:13:48 +01:00
Piotr Sarnacki
9a70e8d8f7 Add the rest of ember-cli app 2015-02-03 09:53:42 +01:00
Piotr Sarnacki
b0bd24a129 Add ember-cli version of the Ember.js app 2015-02-03 09:48:22 +01:00
Piotr Sarnacki
3a09a0da9a Move assets/scripts/app to root dir 2015-02-03 09:44:34 +01:00
Piotr Sarnacki
b519b678e8 Clean up assets/scripts for Ember CLI 2015-02-03 09:39:02 +01:00
Piotr Sarnacki
166aea4b10 Remove unneeded files 2015-02-03 09:35:00 +01:00
Piotr Sarnacki
c296a86138 Don't send Authorization header if we don't have token 2015-02-03 09:33:28 +01:00
Piotr Sarnacki
9c0e02ad51 Rename config_keys_map to configKeysMap 2015-02-03 09:33:08 +01:00
Piotr Sarnacki
ab822c95e0 Remove rake-pipeline related files 2015-02-03 09:32:10 +01:00
Piotr Sarnacki
3710dd8167 Move most of the ruby app related files into the 'server' directory 2015-02-03 09:28:39 +01:00
Piotr Sarnacki
a0932e51ae Merge branch 'master' into ember-cli
Conflicts:
	assets/scripts/app/helpers/handlebars.coffee
2015-02-03 09:01:53 +01:00
Piotr Sarnacki
ab7a818f4d Remove link to hiring page 2015-02-02 18:42:59 +01:00
Piotr Sarnacki
38b4b3ed95 Properly unload user on signout 2015-02-02 18:01:29 +01:00
Piotr Sarnacki
1be07ae5f7 Ember CLI compat - don't use Travis.* 2015-02-02 18:00:57 +01:00
Piotr Sarnacki
56f4be5bb1 Use pushPayload instead of push
push doesn't normalize data, so it needs camelized properties etc.
2015-02-02 17:59:56 +01:00
Lisa Passing
9f4e408242 foundationerize pt1 2015-02-02 17:30:27 +01:00
Piotr Sarnacki
429d580b00 Use durationFrom as durationFromHelper 2015-02-02 16:21:19 +01:00
Piotr Sarnacki
1e9d136911 Rename builds/item controller to builds-item 2015-02-02 16:21:03 +01:00
Piotr Sarnacki
2e05002a83 Use Ember.run.throttle instead of $.throttle 2015-02-02 15:56:16 +01:00
Piotr Sarnacki
5fd821d59e More ember-cli compat in views 2015-02-02 15:55:43 +01:00
Piotr Sarnacki
3f3781459d Export BasicView also as Travis.View 2015-02-02 12:07:32 +01:00
Piotr Sarnacki
a431f80f3a Use String.camelize instead of $.camelize 2015-02-02 12:07:18 +01:00
Piotr Sarnacki
bf33ffce41 Move some helpers from ext/jquery to utils/helpers 2015-02-02 11:56:43 +01:00
Piotr Sarnacki
051562540c Get back to using $.throttle 2015-02-02 11:56:12 +01:00
Piotr Sarnacki
f47b893cb8 Rename Travis.Route to Travis.BasicRoute and Travis.View to Travis.BasicView 2015-02-02 11:48:22 +01:00
Piotr Sarnacki
17df511c6a Rename computedLimit to limit in limited-array 2015-02-02 10:45:17 +01:00
Piotr Sarnacki
98892425bb Use ENV.config instead of injected config 2015-02-02 10:45:00 +01:00
Piotr Sarnacki
c8211520f2 Use Ember.run.throttle instead of $.throttle 2015-02-02 10:31:15 +01:00
Piotr Sarnacki
cd1d4a80ce Fix Slider, ToTop and Tailing for ember-cli 2015-02-02 10:25:53 +01:00
Piotr Sarnacki
64323fe4d9 Travis.ajax ember-cli compat 2015-02-02 10:17:50 +01:00
Piotr Sarnacki
1a6c09e624 Don't inject pusher instance if it wasn't created 2015-02-02 10:17:29 +01:00
Piotr Sarnacki
2e644d0415 Rename Travis.Route's file to basic
That way it will be picked up by Ember.js as a default route in ember-cli
2015-02-02 09:48:42 +01:00
Piotr Sarnacki
df605a8600 Pusher is not needed in services initializer 2015-02-02 09:48:12 +01:00
Piotr Sarnacki
52232f1b82 Remove ember-model 2015-01-30 17:44:59 +01:00
Piotr Sarnacki
64804aae08 formatDuration was renamed to format-duration 2015-01-30 17:44:12 +01:00
Piotr Sarnacki
bfdb9cd47b Fix some more requires 2015-01-30 17:44:02 +01:00
Piotr Sarnacki
dcd0b9d352 Bring back requiring templates 2015-01-30 17:34:49 +01:00
Piotr Sarnacki
42f9559d33 Actually run stylesheets-manager initializer 2015-01-30 17:23:20 +01:00
Piotr Sarnacki
6948a3f746 Run storage initializer before services 2015-01-30 17:22:54 +01:00
Piotr Sarnacki
a302f7f273 Inject store to auth 2015-01-30 17:22:32 +01:00
Piotr Sarnacki
fedacace0e Load initializers last 2015-01-30 17:17:55 +01:00
Piotr Sarnacki
c8be0c91e5 Move instantiating pusher to pusher initializer 2015-01-30 17:16:42 +01:00
Piotr Sarnacki
165d072d79 Use ENV.config instead of Travis.config 2015-01-30 17:15:13 +01:00
Piotr Sarnacki
6fb1bfaaaf Actually require initializers 2015-01-30 17:07:39 +01:00
Piotr Sarnacki
0a048d1f00 Move things from App.setup() to initializer 2015-01-30 17:07:28 +01:00
Piotr Sarnacki
031cc0124d Event model and view are not used anymore, remove them 2015-01-30 15:46:27 +01:00
Piotr Sarnacki
d01fa740ea Change remaining requires for lib/travis/ 2015-01-30 15:45:17 +01:00
Piotr Sarnacki
949431b7df Move remaining files from lib/travis to utils 2015-01-30 15:43:23 +01:00
Piotr Sarnacki
316b43144d Move ajax from lib to utils 2015-01-30 15:38:08 +01:00
Piotr Sarnacki
7422327e0e Remove adapters for ember model 2015-01-30 15:37:39 +01:00
Piotr Sarnacki
882f6d7673 ext/ember/namespace is not used anymore, remove it 2015-01-30 15:35:45 +01:00
Piotr Sarnacki
a5c98c794c Move Travis.Model to models 2015-01-30 15:35:10 +01:00
Piotr Sarnacki
b0b1ef305b Change the way config is stored
On ember-cli config is stored in config/environment.js file and it can be
accessed at any time of app being booted. Till now we were using Travis.config
which was making things hard, because we needed an application instance to get
any config value. This commit moves config to config/environment.js and allows
to access it at any point of loading the app.
2015-01-30 15:29:46 +01:00
Piotr Sarnacki
6460c6692d Move expandable-record-array to utils 2015-01-30 11:54:45 +01:00
Piotr Sarnacki
bdb427492f Remove duplicate properties 2015-01-30 11:53:28 +01:00
Piotr Sarnacki
ca659944cd Add humanize-state helper
We don't want to display 'received' state as it's not meaningful for the users.
We're displaying 'booting' instead.
2015-01-30 11:29:45 +01:00
Piotr Sarnacki
7650520beb Move pusher config to main config 2015-01-30 11:25:52 +01:00
Piotr Sarnacki
fefd18593e We should show also blog and legal on pro 2015-01-30 09:23:42 +01:00
Piotr Sarnacki
0eaa2af8fd Show docs also on pro 2015-01-30 09:13:00 +01:00
Piotr Sarnacki
f94ff75a13 More ember-cli compat changes 2015-01-30 09:10:48 +01:00
Piotr Sarnacki
e00d5d5d5c Move requires to travis.coffee 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
b7f11adafb Move helpers and urls to utils 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
485d312255 Proper name for pusher config 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
47c87317d0 More ember-cli compat changes 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
8124bc3780 Fix requires 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
0f910b8da2 EmberCLI compat: helper names with dashes 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
9297b25445 Use Travis.trigger directly from poll method 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
5fa2070fc6 Remove unused files 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
4871409032 Ember CLI compat 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
8f5c5022cb Rename files to use dashes 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
138d5c2206 More ember-cli compat changes 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
cb3bb3830c Make sure that we set record and not a promise on controller 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
59d2592577 Enable updating times 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
8b1fd91af4 We don't need a repo model to link to repo 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
4d8fe96a41 Fix pusher for ember data 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
8689ba8d81 We don't use disabled for repo actions, removing for now 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
efa94c9031 Fix log for Ember Data 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
15a4ba045d Fix queue and running jobs controllers for ED 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
6b177d2238 Env vars now work with Ember Data 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
5c5ed6e408 Add missing requires for job and build 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
0cc5065b76 Return a record not a promise from repo.sshKey 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
6e987d7599 Fix build and job routes 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
599e6f0bf9 Don't return a promise for job in RepoActions 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
32b66b9e21 Require missing helpers 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
05bc0e0574 Last build returned from repo should not be a promise
`store.find` returns a promise by default which resolved to a fetched model. In
case of last build we always want to return a last build record.
2015-01-29 13:39:05 +01:00
Piotr Sarnacki
ac25220ef2 Fix builds lists for Ember Data 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
ec24b21e81 Switch to Ember Data 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
81f950e4f6 Merge branch 'master' into dashboard 2015-01-29 13:38:40 +01:00
Hiro Asari
f26a7770bb Merge pull request #315 from a14n/dart-support
Dart support
2015-01-29 07:35:22 -05:00
Piotr Sarnacki
2a44a46831 Put jobs with 'received' status to the running jobs list
The problem with running jobs list was that it didn't show jobs that went to the
worker. The result was a confusing UI - when you look at the running jobs list
you want to know how many concurrent jobs you are using, including jobs that are
still waiting for a VM to boot.
2015-01-28 11:15:54 +01:00
Piotr Sarnacki
4b78a81356 Properly normalized data for job:received pusher event 2015-01-28 11:15:54 +01:00
Lisa Passing
e09fc2e5eb fix alignment 2015-01-28 11:15:54 +01:00
Piotr Sarnacki
042cac68ee Filter on the server 2015-01-27 17:08:00 +01:00
Piotr Sarnacki
91dd526e4b Don't show repos without builds 2015-01-27 17:04:45 +01:00
Piotr Sarnacki
586d89a4f4 Don't use Travis.config in templates 2015-01-27 16:50:18 +01:00
Piotr Sarnacki
84dbdffc7a Use V3 API for dashboard 2015-01-27 16:43:24 +01:00
Piotr Sarnacki
93bb5f68e7 No need to put dashboard layout for application/loading 2015-01-27 16:43:09 +01:00
Lisa Passing
2a87f73648 add user auth data to dashboard 2015-01-26 13:16:09 +01:00
Lisa Passing
81493fc479 start adding current user data to dashboard 2015-01-26 12:58:55 +01:00
Lisa Passing
8ee3f43fec comment out loading copy on dashboard 2015-01-26 12:25:03 +01:00
Lisa Passing
ebc3c762ee fix cutting off descenders on dashboard 2015-01-26 12:09:41 +01:00
Piotr Sarnacki
9f3150f65b Don't use query params in filtering for now 2015-01-26 11:16:58 +01:00
Piotr Sarnacki
0baf5dc6d0 Make filtering a bit more snappy 2015-01-26 11:16:22 +01:00
Piotr Sarnacki
54007ee78a Finish basic filtering 2015-01-23 16:26:41 +01:00
Lisa Passing
d1eaf8e79b loading and filter 2015-01-23 15:58:22 +01:00
Lisa Passing
951a1f7830 Merge branch 'dashboard' of github.com:travis-ci/travis-web into dashboard 2015-01-23 13:59:51 +01:00
Lisa Passing
755a9460ea link styling 2015-01-23 13:59:46 +01:00
Piotr Sarnacki
3584710a86 Add missing repo views 2015-01-23 13:56:57 +01:00
Piotr Sarnacki
bf6b0b47b5 Specify template in jobs view 2015-01-23 13:56:45 +01:00
Piotr Sarnacki
9f0e799a59 Export gravatarImage url helper 2015-01-23 13:56:31 +01:00
Lisa Passing
139f950861 put links in dashboard and change some styles 2015-01-23 13:47:58 +01:00
Piotr Sarnacki
20567df443 Fix repo controllers to use camelize properly 2015-01-23 13:37:11 +01:00
Piotr Sarnacki
331ccafc87 Put jobs with 'received' status to the running jobs list
The problem with running jobs list was that it didn't show jobs that went to the
worker. The result was a confusing UI - when you look at the running jobs list
you want to know how many concurrent jobs you are using, including jobs that are
still waiting for a VM to boot.
2015-01-23 10:36:43 +01:00
Piotr Sarnacki
4d78f232c3 Properly normalized data for job:received pusher event 2015-01-22 19:59:39 +01:00
Lisa Passing
584157dba7 fix alignment 2015-01-22 17:21:53 +01:00
Piotr Sarnacki
c7147e6146 Move top.hbs to templates dir 2015-01-21 11:10:29 +01:00
Piotr Sarnacki
3d42a5961d More ember-cli preparation 2015-01-21 11:10:28 +01:00
Piotr Sarnacki
3aabd40874 Prepare repo controller for ES6 2015-01-21 11:10:28 +01:00
Piotr Sarnacki
8f075662ac Prepare Jobs views for ES6, remove repo/show and repo/list 2015-01-21 11:10:28 +01:00
Piotr Sarnacki
a2f022283a Auto-merged master into dashboard on deployment. 2015-01-20 12:54:29 +01:00
Piotr Sarnacki
71633f1a00 Prepare models for ES6 modules 2015-01-20 12:15:12 +01:00
Piotr Sarnacki
45615e71ee needs to be a computed property 2015-01-20 12:04:45 +01:00
Piotr Sarnacki
69f06493fa Create slider after app is initialized 2015-01-20 11:38:37 +01:00
Piotr Sarnacki
1323d2fca5 Don't fire Broadcast.seen right away 2015-01-20 11:32:43 +01:00
Piotr Sarnacki
0f96e18552 each -> forEach 2015-01-20 10:16:38 +01:00
Piotr Sarnacki
b06582557a Inject storage and sessionStorage 2015-01-19 17:20:43 +01:00
Piotr Sarnacki
547620648d Fix format message helper 2015-01-19 17:02:39 +01:00
Piotr Sarnacki
0a02c8a349 Merge branch 'master' into dashboard 2015-01-19 16:50:11 +01:00
Piotr Sarnacki
8a51ebcbcf Load commit data also from job:created 2015-01-19 15:59:22 +01:00
Piotr Sarnacki
26c5111294 Extract handlebars helpers to individual files 2015-01-19 15:51:25 +01:00
Piotr Sarnacki
bc53d98b2a Show docs link on topbar on enterprise 2015-01-19 13:56:29 +01:00
Piotr Sarnacki
a5978dd36f Merge branch 'master' into dashboard
Conflicts:
	assets/scripts/app/controllers.coffee
	assets/scripts/app/routes.coffee
2015-01-19 13:09:30 +01:00
Piotr Sarnacki
91d07a848d Remove window.history.state polyfill
We used it for phantomjs and we're not using phantomjs at the moment (nor we'll
use it after switch to ember-cli)
2015-01-19 13:04:53 +01:00
Piotr Sarnacki
ecbfe4e74e Extract remaining controllers and views into individual files 2015-01-19 13:04:52 +01:00
Piotr Sarnacki
9b0d98234e Add config for enterprise 2015-01-19 12:31:46 +01:00
Piotr Sarnacki
131025f999 Fix redirect from auth page 2015-01-19 12:23:59 +01:00
Piotr Sarnacki
d77ca0600c Fast finish builds 2015-01-19 11:42:34 +01:00
Piotr Sarnacki
9d451324c2 Fix label helper for env vars form 2015-01-19 11:40:01 +01:00
Piotr Sarnacki
85e2b660bf Fix label helper 2015-01-19 11:37:17 +01:00
Piotr Sarnacki
3eb07394e7 Use already existing mechanism for assets_host 2015-01-19 11:36:56 +01:00
Piotr Sarnacki
d53987c6e8 Allow to set assets host with ASSETS_HOST
This can be used to set a specific host for a CDN.
2015-01-19 10:40:46 +01:00
Lisa Passing
19c80a80af change started yellow 2015-01-16 17:03:06 +01:00
Lisa Passing
bf4bb17996 make dashboard more dynamic 2015-01-16 16:57:56 +01:00
Piotr Sarnacki
974861adda Add ETag to fingerprinted files 2015-01-16 13:27:14 +01:00
Piotr Sarnacki
133be31e86 Return different headers for fingerprinted files 2015-01-16 13:26:57 +01:00
Piotr Sarnacki
3b46bb1c10 Check if file exists 2015-01-16 13:26:57 +01:00
Piotr Sarnacki
622c9d9841 Add script/prepare_deploy to add fingerprint to js and css files 2015-01-16 13:26:56 +01:00
Piotr Sarnacki
a51abc285b Enable minification 2015-01-16 13:26:56 +01:00
Piotr Sarnacki
8c54341815 Add ETag to fingerprinted files 2015-01-16 12:41:03 +01:00
Piotr Sarnacki
e0b223b8a5 IndexError controller should now be called MainError 2015-01-16 12:28:27 +01:00
Piotr Sarnacki
fc8f1d77f9 Return different headers for fingerprinted files 2015-01-16 12:17:10 +01:00
Piotr Sarnacki
06795152aa Check if file exists 2015-01-16 12:01:21 +01:00
Piotr Sarnacki
a0a7056f1d Add script/prepare_deploy to add fingerprint to js and css files 2015-01-16 12:00:41 +01:00
Piotr Sarnacki
0dcf283aa0 Fix requests route name 2015-01-15 17:22:10 +01:00
Piotr Sarnacki
f26d3edcc5 Prepare BuildView for ember-cli 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
c205529295 Cleanup BuildsView 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
345cb6e29e Cleanup BuildView 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
67e787596f Follow conventions on templates locations 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
3c057ea401 Remove BuildsItemView 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
76f4ac758c Fix CSS on profile page 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
681622b58c Clean up controllers a bit 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
6540304db5 Simplify queue 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
47e4dd664d Remove unused code 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
0217862626 It's sidebar view instead of layouts/sidebar 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
96c7138df1 Move queues/show.hbs to queue.hbs 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
0cbc2f3f7d Remove RunningJobs view 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
94f052bb74 'application' class is not needed on views with simple layout 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
19c3b6f455 Fix topbar on first sync page 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
83bbb1d87f Move logic from FirstSyncView to the route 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
33cf63ed83 Simplify rendering getting_started 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
ef460e1dc2 Templates for getting started page are the same for pro and org 2015-01-15 17:08:39 +01:00
Lisa P
0676f27ee1 fix firefox not calculating footer right 2015-01-15 16:25:35 +01:00
Lisa P
ac36b827dd style views to make sticky footer work again 2015-01-15 13:15:41 +01:00
Piotr Sarnacki
1ee3d0c0ed Change MainView class to .main instead of .application 2015-01-15 13:09:12 +01:00
Piotr Sarnacki
4fae71a002 Add ordering to dashboard stylesheets 2015-01-15 13:08:50 +01:00
Piotr Sarnacki
f299aceb21 Ignore public/styles/dashboard.css 2015-01-15 12:58:54 +01:00
Piotr Sarnacki
eb00c7104e Add classes to application and dashboard views 2015-01-15 12:58:07 +01:00
Piotr Sarnacki
03ef70c82a Deactivate dashboard stylesheet by default 2015-01-15 12:57:57 +01:00
Piotr Sarnacki
ad5518104d Move sidebar to templates, not layouts 2015-01-15 12:39:06 +01:00
Piotr Sarnacki
114a6a641d Don't export functions with underscore from helpers 2015-01-15 12:39:06 +01:00
Piotr Sarnacki
126ef95b9f Fix githubify helper 2015-01-15 12:39:05 +01:00
Piotr Sarnacki
f3f56978da Add newlines at the end of ember-data
If a file ends with a comment, asset pipeline will concat it without a newline,
so first line of the next file will be inside a comment
2015-01-15 12:39:05 +01:00
Piotr Sarnacki
b5990032f5 Remove strip_debug
We don't need it as we attach both production and debug versions of Ember.js
anyway.
2015-01-15 12:39:05 +01:00
Piotr Sarnacki
bd950faf4a Add Ember Data 2015-01-15 12:39:05 +01:00
Lisa P
7fad98811d add dashboard files 2015-01-15 12:38:05 +01:00
Piotr Sarnacki
17f2b9c821 Fix githubify helper
Conflicts:
	assets/scripts/app/helpers/helpers.coffee
2015-01-15 12:28:05 +01:00
Piotr Sarnacki
fc0c549556 Create separate stylesheets for dashboard and the rest 2015-01-15 11:14:20 +01:00
Piotr Sarnacki
2396fb925d Fix imports in styles 2015-01-15 11:14:19 +01:00
Piotr Sarnacki
9d72db05a5 Move stylesheets to styles/app 2015-01-15 11:14:19 +01:00
Piotr Sarnacki
5065bb5739 Subscribe to pusher channels only when entering the MainRoute
We don't want to subscribe if we're at any other routes, because there is no
data there. The main target is to avoid all of the notifications from a common
channel if we're on the /dashboard route.
2015-01-15 10:36:35 +01:00
Piotr Sarnacki
a891892bd8 Add missing requires in routes 2015-01-14 18:23:51 +01:00
Piotr Sarnacki
1ab14e9188 Extract routes to individual files 2015-01-14 18:07:27 +01:00
Piotr Sarnacki
8715087237 Extract ApplicationRoute to a separate file 2015-01-14 14:07:05 +01:00
Piotr Sarnacki
5c280001d3 Rename IndexRoute to MainRoute 2015-01-14 13:22:58 +01:00
Piotr Sarnacki
56e19df5f2 Require helpers/urls explicitly in helpers 2015-01-14 13:11:23 +01:00
Piotr Sarnacki
ec8d93f8cf Refactor Travis.Helpers to prepare it for ES6 modules
In order to make it easy to switch to ember-cli I'm starting changing a series
of refactorings that will prepare the codebase to the switch. Here I'm:

1. Assign all of the external objects and functions to variables in order to
   make it easy to change them to imports in the feature
2. Extract functions from Travis.Helpers into local functions and create the
   object at the end of file to prepare it for exporting
2015-01-14 12:55:17 +01:00
Piotr Sarnacki
2b86e93d13 Fix close button on flash messages 2015-01-14 12:47:16 +01:00
Piotr Sarnacki
df74b618ce Enable removeLog on pro 2015-01-14 12:27:31 +01:00
Piotr Sarnacki
8ff844e5a1 Strengthen the check to display download log button
Technically jobIdForLog should be sufficient, because it has job id only when
it's a job or a build page, but for some reason it doesn't get refreshed
properly.
2015-01-13 15:46:21 +01:00
Piotr Sarnacki
3c224c809e Remove extra status link from topbar 2015-01-13 12:13:55 +01:00
Piotr Sarnacki
e1a61af64a Fix PR URL on PRs list 2015-01-12 14:26:20 +01:00
Piotr Sarnacki
f7b2f0cbf1 Disable remove log button on pro for now 2015-01-12 14:22:48 +01:00
Piotr Sarnacki
1e8daa3e2c Fix PRs list - it was missing a PR column 2015-01-12 14:21:23 +01:00
Piotr Sarnacki
d69ab156e0 Merge pull request #324 from travis-ci/remove-log
Remove log
2015-01-12 12:56:54 +01:00
Piotr Sarnacki
8b6db4461c Don't use events to open popup for allowed failures help 2015-01-12 12:20:19 +01:00
Piotr Sarnacki
43e06fc180 Viewing user's repositories needs auth 2015-01-12 11:39:34 +01:00
Piotr Sarnacki
9c9002b204 Remove 'sponsored by' text 2015-01-09 15:46:59 +01:00
Piotr Sarnacki
0db4a3a6ca Don't use 'event' in popupClose
It doesn't work on firefox and we don't need it anyway
2015-01-09 15:33:24 +01:00
Piotr Sarnacki
9023d0ca06 Remove extra removeLogPopup function (merge
leftover)
2015-01-09 15:19:36 +01:00
Piotr Sarnacki
23cebc4826 Merge branch 'remove-log' of github.com:travis-ci/travis-web into remove-log 2015-01-09 15:03:46 +01:00
Piotr Sarnacki
09075e880d Don't display remove log button if it's already removed 2015-01-09 15:02:34 +01:00
Lisa P
486e417d12 some styles for remove-log-popup 2015-01-09 15:01:07 +01:00
Piotr Sarnacki
aca82a0379 Display remove log only when user hasPermissions to use it 2015-01-09 14:59:21 +01:00
Lisa P
8c74c10654 Merge branch 'remove-log' of github.com:travis-ci/travis-web into remove-log 2015-01-09 14:54:09 +01:00
Josh Kalderimis
68a08ac51b Merge pull request #318 from aprescott/concurrent-jobs-not-builds-in-settings
Rename 'Concurrent builds' setting to 'Concurrent jobs'
2015-01-09 13:34:50 +01:00
Piotr Sarnacki
eb78d62adb Change popup functions to not use events 2015-01-09 13:07:12 +01:00
Piotr Sarnacki
4d9d0f10d9 Bring back hack for download log button 2015-01-09 13:07:12 +01:00
Lisa P
3bf326a942 Add actions for remove log 2015-01-09 13:07:12 +01:00
Lisa P
3582969e90 add popup stub 2015-01-09 13:06:15 +01:00
Piotr Sarnacki
2a64382563 Use Urls.githubCommit for githubify 2015-01-09 11:18:02 +01:00
Piotr Sarnacki
ee2db5d891 Allow to set different title for different instances of the app 2015-01-09 10:17:16 +01:00
Piotr Sarnacki
2d468190e0 Fix the message about public/private repos on account page 2015-01-08 17:14:38 +01:00
Piotr Sarnacki
7959442a99 Disable remove log button for now 2015-01-08 17:11:48 +01:00
Piotr Sarnacki
78dccd194c Bring back hack for download log button 2015-01-08 17:03:34 +01:00
Lisa P
97050b8111 Add actions for remove log 2015-01-08 16:56:40 +01:00
Lisa P
c0a681e73b add popup stub 2015-01-08 15:45:43 +01:00
Piotr Sarnacki
cc7fef21ca Fix download log and remove log button display checks
For some reason when we run get('build.jobs.firstObject.id') it returns
different result than get('build.jobs').objectAt(0).get('id'). I can't reproduce
it on a clean Ember application, so it's probably a consequence of something
that we do in our views.
2015-01-08 15:15:41 +01:00
Lisa P
f1f5d26a51 fix help/close icon on popups 2015-01-08 15:02:06 +01:00
Piotr Sarnacki
34759558dd min-height: 100vh should be applied only to first div inside body 2015-01-08 14:22:46 +01:00
Piotr Sarnacki
e6bde154ec Put statusImages in actions 2015-01-08 14:16:53 +01:00
Piotr Sarnacki
b335bc9f20 Allow to order stylesheets 2015-01-08 14:07:44 +01:00
Piotr Sarnacki
d2faa71acc Show code climate for both pro and org 2015-01-08 14:07:44 +01:00
Lisa P
725a2f3014 Merge branch 'master' of github.com:travis-ci/travis-web 2015-01-08 13:18:34 +01:00
Lisa P
810eacf15a truly center popup 2015-01-08 13:18:27 +01:00
Piotr Sarnacki
ad0567fe13 Remove regenerate key option from settings menu for now
We added regenerate key button in order to allow people reset their private key
on Travis CI after a possible security breach. Travis CI users can't leak the
key, because they don't even have access to it, so at this point it's not needed
anymore.
2015-01-08 12:16:07 +01:00
Piotr Sarnacki
e68b6b49c0 Fix getting started page 2015-01-08 11:50:02 +01:00
Piotr Sarnacki
b5a41b5271 Fix CSS issues on safari 2015-01-08 11:25:38 +01:00
Piotr Sarnacki
8abbdb931a Show lint only on org 2015-01-08 10:42:00 +01:00
Piotr Sarnacki
f921e2fa1d Remove rack-ssl require 2015-01-08 10:31:59 +01:00
Piotr Sarnacki
37b1155383 Redirect to https also on staging 2015-01-07 17:57:17 +01:00
Piotr Sarnacki
7e3e056e1c Fix not-found's page CSS for topbar 2015-01-07 17:40:09 +01:00
Piotr Sarnacki
05ff10c0cb Fix sidebar slider CSS 2015-01-07 17:33:20 +01:00
Piotr Sarnacki
2d69946772 It's Travis.config not Travis.features 2015-01-07 17:19:08 +01:00
Piotr Sarnacki
86a02ad1da Add access_token only on pro for log url 2015-01-07 13:06:05 +01:00
Piotr Sarnacki
9759735249 Actually show charm tab on pro 2015-01-06 18:14:56 +01:00
Piotr Sarnacki
35b059e783 Fix initialization for pro 2015-01-06 18:14:19 +01:00
Piotr Sarnacki
f566d601ee Move toggleTailing to actions in PreView 2015-01-06 14:08:21 +01:00
Piotr Sarnacki
36b174102a Change /my_repositories to /repositories 2015-01-06 14:01:41 +01:00
Piotr Sarnacki
963ad64d62 Oh, logic, how does it work 2015-01-06 13:50:03 +01:00
Piotr Sarnacki
c6195f124a Show 'we're hiring' message only on .org 2015-01-06 13:49:11 +01:00
Piotr Sarnacki
68c29eee6a Remove support tab on org 2015-01-06 13:47:13 +01:00
Piotr Sarnacki
60410d50ec Show 'we're hiring message 2015-01-06 13:47:11 +01:00
Piotr Sarnacki
84878e9394 Merge pull request #323 from travis-ci/ps-travis-pro-merge
Update to Ember 1.9.1, merge Travis CI Pro
2015-01-06 13:28:01 +01:00
Piotr Sarnacki
6130d835de Allow phantom and firefox to fail
Tests pass on chrome and firefox locally, disabling firefox and phantom for now.
2015-01-06 13:20:49 +01:00
Piotr Sarnacki
321c1efb33 Fix specs 2015-01-06 13:08:41 +01:00
Piotr Sarnacki
514a127083 Add layout for notFound view 2015-01-06 13:08:16 +01:00
Piotr Sarnacki
0074acb8fe Fix profile info tab 2015-01-06 12:45:08 +01:00
Piotr Sarnacki
e95e679e80 Use label helper on ssh key form 2014-12-31 15:45:53 +01:00
Piotr Sarnacki
5cfc3d44a6 Fix ssh key form when returning after form was open
When user opens ssh key form, navigates to a different rote and returns, ssh key
form shows that a custom key is added, but it's just a leftover from the
previous open of the form. It seems that Ember Model caches the new model in
the store and returns it from fetch. The fix is to return null in such case.
2014-12-31 15:35:02 +01:00
Piotr Sarnacki
04e97aa9ab Fix HTML on repos/show/empty.hbs 2014-12-31 15:18:25 +01:00
Piotr Sarnacki
8241c2b91e Bring back billing link in the user menu on top bar 2014-12-30 13:37:11 +01:00
Piotr Sarnacki
dee7e7758a Fix auth view to include layout 2014-12-30 13:06:43 +01:00
Piotr Sarnacki
d95738c975 Use Handlebars.registerHelper instead of .helper 2014-12-30 12:25:43 +01:00
Piotr Sarnacki
fbcfa04859 Don't destroy parts on cleanup
Destroying parts on cleanup can have weird effects, because we observe parts in
log view.
2014-12-30 11:58:56 +01:00
Piotr Sarnacki
eb9eac2b09 Merge branch 'refactoring' into ps-travis-pro-merge 2014-12-30 11:30:08 +01:00
Piotr Sarnacki
47e1de1d26 Extract Github URLs to controller 2014-12-30 11:28:49 +01:00
Piotr Sarnacki
f64adfbc89 Use injected 'config' object instead of global Travis.config 2014-12-30 11:19:55 +01:00
Piotr Sarnacki
15283b0294 Use model property instead of content on controllers 2014-12-30 11:19:38 +01:00
Piotr Sarnacki
820c4b8377 Fix subscribe button on profile page 2014-12-30 11:13:49 +01:00
Piotr Sarnacki
376c95f474 Missing coma 2014-12-29 18:20:22 +01:00
Piotr Sarnacki
63ea231fe6 [pro-merge] Use proper template for running jobs 2014-12-29 18:20:22 +01:00
Piotr Sarnacki
94b5989e23 [pro-merge] Fix pro CSS rules 2014-12-29 18:20:22 +01:00
Piotr Sarnacki
86c2e8334e [pro-merge] Sidebar can be rendered, no need to use outlet 2014-12-29 18:20:22 +01:00
Piotr Sarnacki
8a37d9e92d Remove unneeded code 2014-12-29 18:20:22 +01:00
Piotr Sarnacki
b3cfeea612 [pro-merge] Add missing config entries to index.html 2014-12-29 18:20:21 +01:00
Piotr Sarnacki
88ce89d34c [pro-merge] Update views and templates with travis-pro specific code 2014-12-29 18:20:21 +01:00
Piotr Sarnacki
e9cbd98713 [pro-merge] Update routes with changes from travis-pro 2014-12-29 18:17:58 +01:00
Piotr Sarnacki
fde3af46f2 [pro-merge] Add application configuration hooks for pro 2014-12-29 18:17:58 +01:00
Piotr Sarnacki
b7bb36769f [pro-merge] Remove unneeded require for pro 2014-12-29 18:17:58 +01:00
Piotr Sarnacki
23dd688d09 [pro-merge] Add token to log urls when in pro mode 2014-12-29 18:17:58 +01:00
Piotr Sarnacki
73f06eba0f [pro-merge] Add token when fetching logs 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
8309941c95 [pro-merge] Add pusher extensions for travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
88eb2e09db [pro-merge] Feature flip url helpers that need token in travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
51e8806d17 [pro-merge] Set ajax.pro to whatever value Travis.cofnig.pro holds 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
e712644a86 [pro-merge] Add views used only on pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
2c05af6588 [pro-merge] Add travis-pro auth extensions 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
0fc0d0eb03 [pro-merge] Properly set defaults for travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
8e2f8fc7f3 [pro-merge] Add controllers and controller extensions from travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
284734ee65 [pro-merge] Add charm initialization script if charm_key is available 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
b4573ff293 [pro-merge] Add model extensions from travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
62d9fdc6a6 [pro-merge] Add images from travis-pro-web 2014-12-29 18:17:56 +01:00
Piotr Sarnacki
3c99ec395c [pro-merge] Add styles from travis-pro-web
For now I put all of the pro styles in a ".pro" selector, which is added to the
body element.
2014-12-29 18:17:56 +01:00
Piotr Sarnacki
f8c17775ed [pro-merge] Add config entries from travis pro 2014-12-29 18:17:56 +01:00
Piotr Sarnacki
e904067679 Update Ember.js to 1.9.1 2014-12-29 18:17:56 +01:00
Piotr Sarnacki
249d45ace6 Move save method in settings to actions 2014-12-29 18:17:56 +01:00
Piotr Sarnacki
385287489c Fix toggling hooks on profile page 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
66be22af68 Fix actions on views
Almost all actions on views were not properly handled, because they were still
methods directly on a view object rather than in `actions` property. This commit
fixes it.
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
f355bc58f3 Fix search to work with new way of handling repos tabs 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
345dacff29 Remove deprecation warnings for #with 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
b771f79587 No need to specify path when path is the same as name 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
9d4146f155 Refactor index.recent and index.my_repositories routes 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
5f2f4c3852 First stab at fixing weird view errors
This commit starts refactoring of one of the remaining areas where we do weird
tricks to get the desired behaviour. Namely, we were treating "my_repositories"
and "recent" not as individual routes with separate URLs, but only different
states on the repos controller. Such approach leads to various problem with
connecting outlets on rerenders (ie. we don't explicitly connect outlets when
changing from one view to another programatically).

A new cleaner way is to change both tabs into routes.
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
0dfb5dc10c Get parts from a log object
For some reason using this.get('log.parts') is not equivalent to
log.get('parts')
2014-12-29 18:16:16 +01:00
Piotr Sarnacki
e08584b879 Fix HTML 2014-12-29 18:16:16 +01:00
Piotr Sarnacki
8d867010b5 Outlet names should be passed as strings 2014-12-29 18:16:16 +01:00
Piotr Sarnacki
fa6b0fe161 No need to destroy parts in runloop 2014-12-29 18:16:16 +01:00
Piotr Sarnacki
c13cd4e72e Update Ember.js to 1.9.0 and handlebars to 2.0.0 2014-12-29 18:16:16 +01:00
Piotr Sarnacki
0a69a5424d Fix log errors on 1.8.1
This part needs further refactoring, but for now I just fixed log view to
teardown and setup things properly in all cases something changes (when element
is inserted or removed, but also when log object is changed).
2014-12-29 18:16:15 +01:00
Piotr Sarnacki
e6800c80c6 Refactor our layout handling
Layout handling in travis-web was implemented in a dynamic way, so we
could change a main layout from any of the routes. This needed a
`rerender` call which was making things harder and needed some hacks. It
also broke a few transitions when upgrading to 1.8.1.

After examining our usage of layouts I've noticed that we don't need to
change the entire layout dynamically and instead we can set layout on
root routes (like "index", "profile" and other root routes).
2014-12-29 18:16:14 +01:00
Piotr Sarnacki
09eeeaff1b Revert "Revert "Merge pull request #308 from rwjblue/update-ember""
This reverts commit 840ce5a47d.
2014-12-29 18:16:14 +01:00
Justine Arreche
ce11b48c9d Merge branch 'master' of github.com:travis-ci/travis-web 2014-12-23 09:45:10 +01:00
Justine Arreche
9a055e4640 new favicon 2014-12-23 09:44:33 +01:00
Mathias Meyer
1e97d6fb59 Merge pull request #319 from travis-ci/ja-new-topbar
ch-ch-changes on topbar
2014-12-23 09:30:01 +01:00
Adam Prescott
922fb93dca Rename 'Concurrent builds' setting to 'Concurrent jobs'.
My understanding is that this setting is actually a value used to
control job concurrency, not build concurrency, so this clarifies that
by referring to jobs instead of builds.
2014-12-22 15:48:46 -05:00
Piotr Sarnacki
3e8b55e41c Don't break words in commit body 2014-12-22 19:01:33 +01:00
Piotr Sarnacki
62824e2a97 Add webkit specific flex properties 2014-12-22 18:55:58 +01:00
Piotr Sarnacki
296d25206e Forgot to remove static text used for testing 2014-12-22 18:51:07 +01:00
Piotr Sarnacki
f2bd748526 Make commit first line go under branch if it's too long 2014-12-22 18:49:21 +01:00
Justine Arreche
59115b7779 ch-ch-changes on topbar 2014-12-22 16:47:55 +01:00
Piotr Sarnacki
a287026aa2 Merge branch 'ps-fix-subject' 2014-12-19 11:09:17 +01:00
Mathias Meyer
a2af3f859b Uncomment hiring message. 2014-12-19 09:10:43 +01:00
Piotr Sarnacki
70485132ef A few more improvements to new build header 2014-12-18 22:07:37 +01:00
Piotr Sarnacki
d421d4f9fe Don't limit commit's body 2014-12-18 21:53:07 +01:00
Piotr Sarnacki
fc18c185cc Change request-kind background to have flexible height 2014-12-18 21:52:49 +01:00
Piotr Sarnacki
febd134f54 Fix subject wrapping 2014-12-18 16:33:16 +01:00
Mathias Meyer
2a5b1c89d8 Fix link to status page. 2014-12-18 09:29:21 +01:00
Josh Kalderimis
4da636a5c4 Merge pull request #314 from travis-ci/ja-build-header
The build header grows up!
2014-12-15 15:37:03 +01:00
Alexandre Ardhuin
df54fc5807 Dart support 2014-12-14 14:57:05 +01:00
Mathias Meyer
b5276ef4a6 Hacky fix to make the status images work again.
The bindings are a bit odd in this setup. The status images view
reaches into the repos/show view to fetch relevant information.
2014-12-12 18:21:46 +01:00
Justine Arreche
54b666a86a realigned repo-header items 2014-12-12 14:55:32 +01:00
Justine Arreche
e44052f299 reverted previous h3 change and only changed #profile #main h3 2014-12-12 12:26:27 +01:00
Justine Arreche
8ea9dbf0c8 fixed settings secondary tab spacing 2014-12-12 12:23:05 +01:00
Mathias Meyer
096e9872a6 Fix eventType for the build.
This (somehow) ensures that the job page is properly populated.
2014-12-12 12:22:20 +01:00
Justine Arreche
a2de29baf5 fixed h3 padding to align #profile tabs with #left tabs 2014-12-12 12:16:14 +01:00
Mathias Meyer
81ffc3d6a7 Fix pull request number display. 2014-12-12 12:06:21 +01:00
Mathias Meyer
aef53f4554 Fix event type display on the jobs page. 2014-12-12 11:41:54 +01:00
Justine Arreche
806fd899bc attempting to add job event types to jobs tab 2014-12-12 11:36:43 +01:00
Josh Kalderimis
90c8997379 Merge branch 'ja-build-header' of github.com:travis-ci/travis-web into ja-build-header 2014-12-11 20:23:13 +01:00
Josh Kalderimis
354c6a4410 Revert "trying to fix ember stuffs"
This reverts commit e4a76499a8.
2014-12-11 20:22:47 +01:00
Josh Kalderimis
a2d4446382 Revert "comment out push code"
This reverts commit 2d5643f392.

Conflicts:
	assets/scripts/app/models/build.coffee
2014-12-11 20:22:33 +01:00
Josh Kalderimis
b09d26b1e8 removed some commented out code for now
recommended by @rwjblue
2014-12-11 20:14:40 +01:00
Justine Arreche
2f1933a137 Merge branch 'ja-build-header' of github.com:travis-ci/travis-web into ja-build-header 2014-12-11 19:54:58 +01:00
Justine Arreche
e4a76499a8 trying to fix ember stuffs 2014-12-11 19:52:37 +01:00
Justine
a7ad256324 Auto-merged master into ja-build-header on deployment. 2014-12-11 19:36:21 +01:00
Justine Arreche
860977347f add push 2014-12-11 19:34:56 +01:00
Justine Arreche
2d5643f392 comment out push code 2014-12-11 19:31:05 +01:00
Justine Arreche
b8f8383a5e changed svg to png file format 2014-12-11 19:10:38 +01:00
Justine Arreche
718b2aaddc added png 2014-12-11 18:50:12 +01:00
Justine Arreche
08780deeca Merge branch 'master' of github.com:travis-ci/travis-web 2014-12-11 18:39:35 +01:00
Justine Arreche
6aa44ff060 changing default gravatar from svg to png 2014-12-11 18:39:06 +01:00
Josh Kalderimis
18450c7ba6 compile the images/ui directory as well 2014-12-11 16:41:55 +01:00
Justine Arreche
3995a0aa90 added default avatar and hid hiring 2014-12-11 15:54:39 +01:00
Hiro Asari
864a2d527a Merge pull request #313 from simi/add-new-languages-to-matrix
Add C#, D and Julia languages into matrix.
2014-12-11 08:23:07 -05:00
Justine Arreche
edcdb61e31 fixed the background positioning on pull and push icons 2014-12-11 13:51:07 +01:00
Justine Arreche
22aab4a629 created classes for push and pull requests 2014-12-11 11:55:08 +01:00
Hiro Asari
df4b10e057 Send builds to containers and enable caching gems 2014-12-10 21:59:26 -05:00
Josef Šimánek
29c01c9bd2 Add C#, D and Julia languages into matrix. 2014-12-11 03:29:18 +01:00
Justine Arreche
a1eac086fd commented out the remove log tool for now 2014-12-10 22:04:47 +01:00
Justine Arreche
69ef9f147f Increased height on #new-summary 2014-12-10 21:30:46 +01:00
Sven Fuchs
8a3c05fe36 fix repo settings menu to not display the "regenerate key" item when user does not have admin access 2014-12-10 21:30:46 +01:00
Sven Fuchs
776e3e9c3b set the build request type class from build.eventType 2014-12-10 21:30:46 +01:00
Justine Arreche
541273a33b fixed duration icons 2014-12-10 21:30:46 +01:00
Justine Arreche
4035c3c435 wip fixing duration labels on #left 2014-12-10 21:30:46 +01:00
Justine Arreche
8647880cc7 more work on tabs 2014-12-10 21:30:46 +01:00
Justine Arreche
e7ed51e20f cleaned up more tab and repo header styles 2014-12-10 21:30:46 +01:00
Justine Arreche
4d0bd26d65 added new default avatar and changed tab appearances between #left and #main 2014-12-10 21:30:46 +01:00
Justine Arreche
1e793575e0 began altering tabs appearance 2014-12-10 21:30:45 +01:00
Justine Arreche
7e54228386 removed min-wid from body for beter responsive display 2014-12-10 21:30:45 +01:00
Justine Arreche
b4da069990 fixed regenerate key line for settings 2014-12-10 21:30:45 +01:00
Justine Arreche
ce3ef8f7d2 fixed line-height issue in Chrome and Firefox 2014-12-10 21:30:45 +01:00
Justine Arreche
ae00085f88 added pull request and push icons and pushed author to baseline of new-summary div 2014-12-10 21:30:45 +01:00
Justine Arreche
2f2d05689e fixed the restart build loading icon bug 2014-12-10 21:30:45 +01:00
Justine Arreche
391890f299 fixed the build header cut-off on pull requests 2014-12-10 21:30:45 +01:00
Justine Arreche
11b20aa7dc fix to the github icon 2014-12-10 21:30:45 +01:00
Piotr Sarnacki
a8bd45eaec Fix code climate icon 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
03926ddc70 Text breaks icons position, removing for now 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
55f6fa30ec Fix PR info on jobs/show 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
cb3f1a4d9f More fixes for IE 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
e32e2922de Change loading spinner type on icons 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
79968ca76b Compatibility fixes for new build header 2014-12-10 21:30:44 +01:00
Justine Arreche
326e31b6a1 svg icons 2014-12-10 21:30:44 +01:00
Justine Arreche
df8f6c1b7c fixes to settings dropdown styles 2014-12-10 21:30:44 +01:00
Justine Arreche
847786cbea changed delete log to download log 2014-12-10 21:30:43 +01:00
Justine Arreche
72a355d46a fixes to action icon sizes and position and addition of new log action icons 2014-12-10 21:30:43 +01:00
Piotr Sarnacki
abb5f422f2 Fix status badge icon 2014-12-10 21:30:43 +01:00
Justine Arreche
702b975624 added arrow and size adjustments to settings dropdown button 2014-12-10 21:30:43 +01:00
Justine Arreche
e7e283ab8f moved build status img to repo-header 2014-12-10 21:30:43 +01:00
Justine Arreche
2df958ca15 fixed spacing in build status text align 2014-12-10 21:30:43 +01:00
Justine Arreche
f5db8c5cc8 added icon and space for tags 2014-12-10 21:30:43 +01:00
Piotr Sarnacki
c3a843a886 Add button for removing logs 2014-12-10 21:30:43 +01:00
Justine Arreche
e98d429426 fixed colors, position on build status 2014-12-10 21:30:42 +01:00
Justine Arreche
844f99155c got bgimg working on build-status 2014-12-10 21:30:42 +01:00
Justine Arreche
2a3c1424dc for some reason giant svgs 2014-12-10 21:30:42 +01:00
Justine Arreche
d32fbf4565 small change to right div width for longer messages 2014-12-10 21:30:42 +01:00
Justine Arreche
82983b1c02 fixed bg image sizes and settings dropdown color 2014-12-10 21:30:42 +01:00
Justine Arreche
5b53628634 latest for piotr review 2014-12-10 21:30:42 +01:00
Justine Arreche
e9b8183ead fixing what was lost this morning 2014-12-10 21:30:42 +01:00
Justine Arreche
b897e81fd2 updated build status bg colors 2014-12-10 21:30:42 +01:00
Justine Arreche
4ce70d2784 we're hiring changes 2014-12-10 16:44:45 +01:00
Justine Arreche
c03514763c Add vendor/bundle to gitignore 2014-12-10 16:38:16 +01:00
Mathias Meyer
f8aaf2c2b2 Remove merge conflict remnants. 2014-12-10 13:36:11 +01:00
Justine Arreche
60a8cd5a40 merging we're hiring styles 2014-12-10 10:53:28 +01:00
Justine Arreche
ebbc93ff25 fixed we're hiring a tag 2014-12-10 08:40:43 +01:00
Mathias Meyer
b51ca7e50a Fix hiring link to point to the proper page.
Also includes a quick fix for styling the link.
2014-12-09 19:01:39 +01:00
Justine Arreche
3d0b50c679 we're hiring message added to #top bar 2014-12-09 18:31:13 +01:00
Piotr Sarnacki
9057650646 Fix client on Firefox 34.0 beta
Our ajax function was passing params as object to xhr.send function.
For some reason this breaks on Firefox 34.0 beta. Sending stringified
version of params works correctly.
2014-11-13 18:04:58 +01:00
Piotr Sarnacki
95538498f0 Make pusher log fallback configurable and disable it by default 2014-11-12 12:26:49 +01:00
Piotr Sarnacki
840ce5a47d Revert "Merge pull request #308 from rwjblue/update-ember"
After upgrading ember to 1.8.1 tests pass, but I found a few cases where
things break (for example when navigating between certain routes). I'm
reverting for now.

This reverts commit fa5e9179af, reversing
changes made to 978c887123.
2014-11-12 12:11:53 +01:00
Piotr Sarnacki
767c546ab5 Change timeout for pusher fallback to 30s
We have a bug that results in sending unneeded ajax queries on missing
log parts. I'm working on a fix, but it may take a while, because I want
to refactor a few parts of the app instead of putting more hacks on
legacy code. To help with the situation I'm increasing timeout for
pusher fallback.
2014-11-12 11:15:38 +01:00
Piotr Sarnacki
fa5e9179af Merge pull request #308 from rwjblue/update-ember
Update to Ember 1.8.1.
2014-11-10 15:31:37 +01:00
Josh Kalderimis
978c887123 Merge pull request #309 from whit537/patch-1
fix typo: "the the" -> "the"
2014-11-08 16:03:20 +13:00
Chad Whitacre
3084212f2e fix typo: "the the" -> "the" 2014-11-07 08:37:00 -05:00
Robert Jackson
e40d8a282f
Inject config into controllers.
Avoid deprecations from globals in template.
2014-11-05 15:29:26 -05:00
Robert Jackson
aa7fab4cc0
Use container to lookup views (instead of globals). 2014-11-05 15:29:03 -05:00
Robert Jackson
5d72292915
No need to advanceReadiness (automatic with visit now). 2014-11-05 15:12:39 -05:00
Robert Jackson
2b0f107225
Metamorph tags are no longer added, reducing the number of children. 2014-11-05 12:51:27 -05:00
Robert Jackson
b21ceadc63
Use alias when appropriate. 2014-11-05 12:51:16 -05:00
Robert Jackson
8e0b2e9fb3
Remove extra nesting level in integration test. 2014-11-05 12:50:56 -05:00
Robert Jackson
e66ccfdfcd
Remove view.state checks (in favor of _state). 2014-11-05 12:50:40 -05:00
Robert Jackson
89a3c20217
Keep elements fully within a single element.
{{if}} is implemented as an Ember.View (without an element), and
children must be valid DOM.
2014-11-05 12:48:26 -05:00
Robert Jackson
2faca2e9d6
Do not use globals to lookup views from template. 2014-11-05 08:19:49 -05:00
Robert Jackson
a789fdab6f
Do not run timers in testing. 2014-11-05 08:19:16 -05:00
Robert Jackson
3db8a7624b
Update to Ember 1.8.1. 2014-11-05 08:19:02 -05:00
Robert Jackson
0972475dcb
Controller#content -> Controller#model. 2014-11-05 08:18:32 -05:00
Robert Jackson
f9fe221e9a
Use standard Ember.Handlebars.registerBoundHelper.
No need for the custom Ember.registerBoundHelper implementation.
2014-11-05 07:39:45 -05:00
Robert Jackson
9011f9d85d
Pass test suite.
* Add `travis.source_endpoint` meta (fixes many tests with hard
  expectations on `http://github.com` being in URL paths).
* Wrap `Ember.run.once` in a `Ember.run` (prevents test auto-run
  assertion).
* Fix expect counts for a couple tests.
2014-11-04 21:22:58 -05:00
Sven Fuchs
bc3a6e41df Merge pull request #306 from travis-ci/sf-te2
Port changes for enterprise
2014-10-18 18:42:17 +02:00
Sven Fuchs
7315efed5f remove extra comma 2014-10-14 15:29:12 +02:00
Sven Fuchs
b348ee0e40 Revert "Make sorting more in line with what we will do on a server"
This makes the timeline ordering odd when restarting: The repo will be
sorted to be bottom of the timeline while in :created state, and then
pops back up to the top when :started.

One weird thing is that it only seems to behave this way on com
(staging) and enterprise, but not on org (staging).

This reverts commit ce8237b4e7.
2014-10-14 15:20:14 +02:00
Sven Fuchs
bb034704d2 Patch pusher.js to set a default activity_timeout
The current pusher.js throws an error if a connnection handshake reply
does not include an activity_timeout.

This seems to be new since 2.1.6, and would require changes in slanger
for enterprise.
2014-10-14 14:27:14 +02:00
Sven Fuchs
bd4c0aa0a0 do not create two Pusher instances 2014-10-13 17:20:02 +02:00
Sven Fuchs
1909c50647 bundle update 2014-10-13 15:08:15 +02:00
Sven Fuchs
fa8a00194a remove stale prefix 2014-10-13 15:00:04 +02:00
Sven Fuchs
6ab834f516 fix Travis.Pusher.prefix 2014-10-13 15:00:00 +02:00
Sven Fuchs
e9552a5f60 can channel be undefined? 2014-10-13 14:59:34 +02:00
Sven Fuchs
5130726389 restore CHANNEL_PREFIX, but check if it is already present 2014-10-13 14:59:31 +02:00
Sven Fuchs
1951784c28 add private attribute to repo, prefix job channels based on the private status, otherwise use what api hands over 2014-10-13 14:59:25 +02:00
Sven Fuchs
aa286866a8 try simplifying pusher channel subscriptions 2014-10-13 14:59:19 +02:00
Sven Fuchs
f827c155f5 disable sending metrics to pusher 2014-10-13 14:56:23 +02:00
Sven Fuchs
be63d535e1 on the repos list remove "summary" elements for repos without a build 2014-10-13 14:56:07 +02:00
Piotr Sarnacki
ce8237b4e7 Make sorting more in line with what we will do on a server 2014-10-13 14:55:54 +02:00
Sven Fuchs
ef9b5d8646 the joys of non-portable unix command options 2014-10-13 14:54:21 +02:00
Sven Fuchs
aa7baffb9f use all roots for generating the version hash 2014-10-13 14:54:10 +02:00
Sven Fuchs
0d062be3a0 travis-web does not use travis-core 2014-10-13 14:47:32 +02:00
Sven Fuchs
73c98ef9db allow setting hsts for Rack::SSL 2014-10-13 14:47:01 +02:00
Sven Fuchs
0468b1e327 remove path from endpoint 2014-10-13 14:46:49 +02:00
Sven Fuchs
2aba520512 more hardcoded github.com urls 2014-10-13 14:46:36 +02:00
Sven Fuchs
8b1dfd67f9 ignore pusher error code 1006 2014-10-13 14:46:19 +02:00
Sven Fuchs
bf8f944ab1 fix ignoreWarning 2014-10-13 14:45:58 +02:00
Sven Fuchs
b2d3a6199d config source_endpoint
Conflicts:
	config.ru
	public/index.html
2014-10-13 14:45:50 +02:00
Sven Fuchs
65ee0d5486 allow setting the pusher host 2014-10-13 14:42:12 +02:00
Sven Fuchs
89826c70e0 pass pusher_host through config.ru 2014-10-13 14:37:16 +02:00
Sven Fuchs
10b19b64b1 why did we use the minispade string strategy for development? 2014-10-13 14:34:25 +02:00
Hiro Asari
818a91e1e5 Merge pull request #304 from zamabe/master
Correct IRC URL
2014-09-30 22:40:18 +09:00
zamabe
2c027f730e irc urls have a / between the server and target 2014-09-29 22:44:57 -05:00
Piotr Sarnacki
e84b7b81c5 Remove incomplete records loading implementation 2014-09-19 15:43:17 +02:00
Piotr Sarnacki
5c913fcaaa Destroy parts object when leaving log 2014-09-12 16:20:52 +02:00
Piotr Sarnacki
1200d27fb3 Merge pull request #301 from travis-ci/ps-pusher-timeout
Implement fallback for pusher log messages
2014-09-12 16:02:42 +02:00
Piotr Sarnacki
43a7ad927f Fix tests syntax 2014-09-12 15:45:47 +02:00
Piotr Sarnacki
1297c99396 Don't fetch missing log parts if test haven't started yet 2014-09-12 15:43:43 +02:00
Mathias Meyer
fe7ea41425 Change link from mailing list to stack overflow. 2014-09-12 11:03:47 +02:00
Piotr Sarnacki
13408d875a Implement fallback for pusher log messages
If we don't get any pusher messages with log updates after 5 seconds, we
will try to download them from the API.
2014-09-11 18:22:31 +02:00
Mathias Meyer
fd007dcb84 Reduce and change the help menu. 2014-09-11 15:56:09 +02:00
Piotr Sarnacki
5dec305cda Caches and requests need authentication
(closes #299)
2014-09-03 13:56:56 +02:00
Piotr Sarnacki
d15b6f851c _referenceCache is not a function 2014-08-25 15:32:19 +02:00
Piotr Sarnacki
5c41529d07 Reset ssh key controller properly 2014-08-25 15:22:17 +02:00
Piotr Sarnacki
3b8ecdad41 Add a newline in ssh key screen 2014-08-25 13:58:25 +02:00
Piotr Sarnacki
ecd1b7292c Handle validation error messages better 2014-08-25 13:16:05 +02:00
Piotr Sarnacki
0df22b4c3b Set min-width for settings 2014-08-22 17:36:16 +02:00
Piotr Sarnacki
b6b5bf5778 A few more styling fixes (for multiline names and values) 2014-08-22 17:24:37 +02:00
Justine Arreche
0013073892 Merge branch 'master' of https://github.com/travis-ci/travis-web 2014-08-22 17:06:25 +02:00
Justine Arreche
960f26f627 adjusted line height for var name 2014-08-22 17:01:08 +02:00
Piotr Sarnacki
5e45008044 Env var should be saved with PATCH 2014-08-22 16:55:55 +02:00
Justine Arreche
9ad263e984 increased width for env.name and added word-break 2014-08-22 16:51:43 +02:00
2095 changed files with 53161 additions and 213725 deletions

4
.bowerrc Normal file
View File

@ -0,0 +1,4 @@
{
"directory": "bower_components",
"analytics": false
}

View File

@ -1,2 +1,2 @@
https://github.com/heroku/heroku-buildpack-ruby.git
https://github.com/travis-ci/travis-web-buildpack.git
https://github.com/travis-ci/travis-web-ember-cli-buildpack.git

34
.editorconfig Normal file
View File

@ -0,0 +1,34 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
[*.js]
indent_style = space
indent_size = 2
[*.hbs]
insert_final_newline = false
indent_style = space
indent_size = 2
[*.css]
indent_style = space
indent_size = 2
[*.html]
indent_style = space
indent_size = 2
[*.{diff,md}]
trim_trailing_whitespace = false

9
.ember-cli Normal file
View File

@ -0,0 +1,9 @@
{
/**
Ember CLI sends analytics information by default. The data is completely
anonymous, but there are times when you might want to disable this behavior.
Setting `disableAnalytics` to true will prevent any data from being sent.
*/
"disableAnalytics": false
}

27
.gitignore vendored
View File

@ -1,14 +1,19 @@
/.bundle
/config/travis.yml
/tmp
# compiled output
dist
tmp
# dependencies
node_modules
bower_components
# misc
.sass-cache
.localeapp/key
/assets/scripts/config/locales.js
connect.lock
coverage/*
libpeerconnection.log
npm-debug.log
testem.log
.DS_Store
*.sw[op]
/public/images
/public/scripts
/public/styles/app.css
/public/version
# files generated by older build tools
public/scripts

42
.jshintrc Normal file
View File

@ -0,0 +1,42 @@
{
"predef": [
"server",
"document",
"window",
"-Promise",
"jQuery",
"Visibility",
"$",
"Travis",
"_cio",
"_gaq",
"Log",
"moment",
"Pusher",
"md5"
],
"browser": true,
"boss": true,
"curly": true,
"debug": false,
"devel": true,
"eqeqeq": true,
"evil": true,
"forin": false,
"immed": false,
"laxbreak": false,
"newcap": true,
"noarg": true,
"noempty": false,
"nonew": false,
"nomen": false,
"onevar": false,
"plusplus": false,
"regexp": false,
"undef": true,
"sub": true,
"strict": false,
"white": false,
"eqnull": true,
"esnext": true
}

1
.ruby-version Normal file
View File

@ -0,0 +1 @@
2.1.2

View File

@ -1,34 +1,66 @@
language: ruby
rvm:
- 2.1.2
---
language: node_js
node_js: stable
env:
global:
- secure: "RFuCOppyjWHC4XWKtQlgS4zO4B6KVxytdX8+G5jRY3XM+OEGte8VDD88gZLM\nKDpkqMFDbNJAVTsh1kMANCTct2ONi30RTxuJWLtRyK7RE5zCcaGbAkTNZgXo\nOR5OWLEPJZbNfbh17H6J7izTy6yiLR+CsVP1wMgeVusP0eoDhCA="
- secure: "duqMXPALumXB3e2j/kM2uCaCGwgZsRrU0GCDY+3Zk6a+PK+s0mE9BftcXdxm\n6u87ld2PvCBO0inpe5YeS9LOZsT+OFS4jj+GGTsRI6rmGz+kok0N+ATLTdcj\nu15zhLhUUlhoKW0DZURrDv/iTiC/FKvJ0u5Rft0XbjfTY+0go/M="
# SAUCE_ACCESS_KEY
- secure: "vf+RnbxcpCZcJYCcJdlT/EbPm9go5BnyyGKHCBwdPqb3+w+k0XyYnUkO5V9pIewIFAKof50i2YlAT8DG9GiUmKrX8z54dqSDlA+R1arMxgZRCHJohLxBjcxHVZe05aVZm/9U7YMOl3DuX88gISG91XC6nr8jnmmp2xGNQR8MkaU="
# SAUCE_USERNAME
- secure: "tg6TWOS7ZtS4/SXezv4mK482rR+F2MPKCe6PCp+U4oYidm5Jj0NPw/lVog26HSVxxLpayMq35WrBJPwR+7DiNLc+RyBS+yeL8zsLnDlBdGFqSYg6L0j3QK3mVUhQi/ivgvd5NiTcxLROKBie+NJ58HKbenwFFTfvVCy/WjK+dPA="
- EMBER_VERSION=default
- EMBER_VERSION=release
- EMBER_VERSION=beta
- EMBER_VERSION=canary
matrix:
- "TEST_SUITE=ruby ARTIFACTS_S3_BUCKET=travis-web-production"
- "TEST_SUITE=phantomjs"
- "TEST_SUITE=saucelabs BROWSER='firefox::Windows XP'"
- "TEST_SUITE=saucelabs BROWSER='chrome::Windows XP'"
matrix:
allow_failures:
- env: EMBER_VERSION=release
- env: EMBER_VERSION=beta
- env: EMBER_VERSION=canary
script: "script/ci"
fast_finish: true
addons:
sauce_connect: true
sudo: false
cache:
branch: md5deep
directories:
- node_modules
before_install:
- "gem install bundler"
before_script:
- "test $TEST_SUITE = \"ruby\" && gem install travis-artifacts || true"
- "bundle exec rakep"
- "phantomjs --version"
after_script:
- "test $TEST_SUITE = \"ruby\" && test $TRAVIS_PULL_REQUEST = \"false\" && travis-artifacts upload --target-path assets/$TRAVIS_BRANCH --path public/scripts:scripts --path public/styles:styles || true"
- "npm config set spin false"
- "npm install -g npm@^2"
- mkdir travis-phantomjs
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs:$PATH
install:
- npm install -g bower
- npm install
- bower install
script:
- ember try $EMBER_VERSION
notifications:
irc: "irc.freenode.org#travis"
campfire:
secure: "JJezWGD9KJY/LC2aznI3Zyohy31VTIhcTKX7RWR4C/C8YKbW9kZv3xV6Vn11\nSHxJTeZo6st2Bpv6tjlWZ+HCR09kyCNavIChedla3+oHOiuL0D4gSo+gkTNW\nUKYZz9mcQUd9RoQpTeyxvdvX+l7z62/7JwFA7txHOqxbTS8jrjc="
before_deploy:
- ASSETS_HOST=https://s3.amazonaws.com/travis-error-pages ember build --env production
# delete some of the stuff that's useless for maintenance page
- rm -fr dist/assets/*.js dist/images/emoji dist/index.html dist/images/sponsors
- cp dist/maintenance.html dist/index.html
deploy:
provider: s3
access_key_id: $MAINTENANCE_S3_ACCESS_KEY_ID
secret_access_key: $MAINTENANCE_S3_SECRET_ACCESS_KEY
bucket: travis-error-pages
skip_cleanup: true
acl: public_read
local_dir: dist
region: us-east-1
on:
branch: master
condition: "$EMBER_VERSION = default"

3
.watchmanconfig Normal file
View File

@ -0,0 +1,3 @@
{
"ignore_dirs": ["tmp", "dist"]
}

View File

@ -1,91 +0,0 @@
$: << 'lib'
require 'rake-pipeline-web-filters'
require 'travis/assets'
require 'compass'
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
assets ||= Travis::Assets.new
assets.setup_compass
assets.update_version
output 'public/scripts'
input assets.scripts do
match '**/*.hbs' do
travis_handlebars :precompile => false # assets.production?
concat 'templates.js'
end
match '**/*.coffee' do
coffee_script
end
match 'vendor/**/*.js' do
if assets.production?
reject 'ember.js'
else
reject 'ember.prod.js'
end
safe_concat assets.vendor_order, 'vendor.js'
end
match '{spec,spec/integration,spec/unit,spec/unit/views}/*.js' do
concat 'spec/specs.js'
end
match 'spec/support/*.js' do
concat 'spec/support.js'
end
match 'spec/vendor/*.js' do
concat assets.spec_vendor_order, 'spec/vendor.js'
end
match 'spec/{vendor,support,specs}.js' do
concat ['spec/vendor.js', 'spec/support.js', 'spec/specs.js'], 'specs.js'
end
match %r(^(?!vendor|spec).*\.js$) do
modules = proc { |input| input.path.gsub(%r((^app/|lib/|\.js$)), '') }
minispade(string: assets.development?, rewrite_requires: true, module_id_generator: modules)
end
match %r(^(?!spec).*\.js$) do
paths = ['min/app.js']
paths.push 'app.js' unless assets.production?
concat ['vendor.js'], paths
end
if assets.production?
match 'min/app.js' do
strip_debug
# uglify squeeze: true
concat 'app.js'
end
end
end
output 'public/styles'
input assets.styles do
match '**/*.{scss,sass,css}' do
sass assets.production? ? { style: :compressed } : {}
concat [], ['app.css']
end
end
output 'public/images'
input assets.images do
skip %r(^ui/)
match '**/*' do
copy
end
end
# output 'public'
# input assets.static do
# match '**/*' do
# copy
# end
# end

14
Gemfile
View File

@ -1,20 +1,13 @@
source 'http://rubygems.org'
ruby '2.1.2'
gem 'travis-web', path: 'waiter'
gem 'puma'
gem 'rack-ssl', '~> 1.3'
gem 'rack-protection', '~> 1.3'
gem 'rack-mobile-detect'
gem 'sinatra'
gem 'rake-pipeline', github: 'livingsocial/rake-pipeline'
gem 'rake-pipeline-web-filters', github: 'wycats/rake-pipeline-web-filters'
gem 'coffee-script'
gem 'compass'
gem 'tilt'
gem 'uglifier'
gem 'yui-compressor'
gem 'libv8', '~> 3.16.0'
gem 'hashr'
group :development, :test do
gem 'rake'
@ -24,9 +17,6 @@ end
group :development do
# gem 'debugger'
gem 'foreman'
gem 'rerun', '~> 0.10.0'
gem 'guard'
gem 'rb-fsevent', '~> 0.9.1'
end
group :test do

View File

@ -1,137 +1,70 @@
GIT
remote: git://github.com/livingsocial/rake-pipeline.git
revision: 65b1e744defa208e313703d89f3453447cc103b2
PATH
remote: waiter
specs:
rake-pipeline (0.8.0)
json
rake (~> 10.0.0)
thor
GIT
remote: git://github.com/wycats/rake-pipeline-web-filters.git
revision: fd8d838491bd6b8de0bab72d90115b9a4f2da8a1
specs:
rake-pipeline-web-filters (0.6.0)
rack
rake-pipeline (~> 0.6)
travis-web (0.0.1)
GEM
remote: http://rubygems.org/
specs:
POpen4 (0.1.4)
Platform (>= 0.4.0)
open4
Platform (0.4.0)
backports (3.0.3)
celluloid (0.15.2)
timers (~> 1.1.0)
chunky_png (1.2.7)
coderay (1.0.9)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.5.0)
compass (0.12.2)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
diff-lcs (1.2.1)
eventmachine (1.0.0)
execjs (1.4.0)
multi_json (~> 1.0)
ffi (1.9.3)
foreman (0.61.0)
thor (>= 0.13.6)
fssm (0.2.10)
guard (1.6.2)
listen (>= 0.6.0)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
terminal-table (>= 1.4.3)
thor (>= 0.14.6)
json (1.7.7)
libv8 (3.16.14.3)
listen (2.7.9)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
lumberjack (1.0.2)
method_source (0.8.1)
multi_json (1.6.1)
open4 (1.3.0)
pry (0.9.12)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
puma (2.6.0)
backports (3.6.3)
diff-lcs (1.2.5)
dotenv (0.11.1)
dotenv-deployment (~> 0.0.2)
dotenv-deployment (0.0.2)
foreman (0.75.0)
dotenv (~> 0.11.1)
thor (~> 0.19.1)
hashr (0.0.22)
multi_json (1.10.1)
puma (2.9.1)
rack (>= 1.1, < 2.0)
rack (1.5.2)
rack-mobile-detect (0.4.0)
rack
rack-protection (1.3.2)
rack-protection (1.5.3)
rack
rack-ssl (1.3.3)
rack-ssl (1.4.1)
rack
rack-test (0.6.2)
rack (>= 1.0)
rake (10.0.3)
rb-fsevent (0.9.3)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rerun (0.10.0)
listen (~> 2.7, >= 2.7.3)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rspec-core (2.13.0)
rspec-expectations (2.13.0)
rake (10.1.1)
rspec (2.99.0)
rspec-core (~> 2.99.0)
rspec-expectations (~> 2.99.0)
rspec-mocks (~> 2.99.0)
rspec-core (2.99.2)
rspec-expectations (2.99.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.0)
sass (3.2.6)
sinatra (1.3.5)
rspec-mocks (2.99.2)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.3)
tilt (~> 1.3, >= 1.3.3)
sinatra-contrib (1.3.2)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
sinatra-contrib (1.4.2)
backports (>= 2.0)
eventmachine
multi_json
rack-protection
rack-test
sinatra (~> 1.3.0)
sinatra (~> 1.4.0)
tilt (~> 1.3)
slop (3.4.3)
terminal-table (1.4.5)
thor (0.17.0)
tilt (1.3.3)
timers (1.1.0)
uglifier (1.3.0)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
yui-compressor (0.9.6)
POpen4 (>= 0.1.4)
thor (0.19.1)
tilt (1.4.1)
PLATFORMS
ruby
DEPENDENCIES
coffee-script
compass
foreman
guard
libv8 (~> 3.16.0)
hashr
puma
rack-mobile-detect
rack-protection (~> 1.3)
rack-ssl (~> 1.3)
rake
rake-pipeline!
rake-pipeline-web-filters!
rb-fsevent (~> 0.9.1)
rerun (~> 0.10.0)
rspec (~> 2.11)
sinatra
sinatra-contrib
tilt
uglifier
yui-compressor
travis-web!
BUNDLED WITH
1.10.1

View File

@ -1,7 +0,0 @@
$: << 'lib'
guard 'assets' do
watch(%r(^Assetfile))
watch(%r(^assets))
end

View File

@ -1,6 +0,0 @@
$: << 'lib'
guard 'specs' do
watch(%r(^public))
end

View File

@ -1,3 +1,3 @@
web: bundle exec rackup -s puma -p $PORT
web: bundle exec rackup -s puma -p $PORT waiter/config.ru
assets: rerun -x -p 'assets/**/*' 'bundle exec rakep'
#specs: rerun -x -p 'public/**/*' './run_jasmine.coffee public/spec.html'

105
README.md
View File

@ -2,56 +2,77 @@
[![Build Status](https://travis-ci.org/travis-ci/travis-web.png?branch=master)](https://travis-ci.org/travis-ci/travis-web)
### Running the app
The app is developed using [Ember CLI](http://ember-cli.com). It requires nodejs
with npm installed.
In order to run the app you need to install dependencies with:
bundle install
bower install
npm install
Then you have to run the server, the easiest way to do this is to
use foreman:
Now you can run the server:
bundle exec foreman start
ember serve
Now you can open [localhost:5000](http://localhost:5000)
And open http://localhost:4200 in the browser.
By default it uses the official API at `https://api.travis-ci.org`, but you
can customize the API server URL using:
Alternatively you can run `ember build --watch` and start the server with `waiter/script/server`
### Running the app in private repos mode
At the moment Travis CI is available as two separate sites - https://travis-ci.org for Open Source
projects and https://travis-ci.com for private projects. travis-web will connect
to the Open Source version by default. In order to connect it to the API for private projects
you need to run:
```
TRAVIS_PRO=true ember serve --ssl --ssl-key=ssl/server.key --ssl-cert=ssl/server.crt
```
One caveat here is that the command will start server with SSL, so the page will
be accessible at https://localhost:4200 (note `https` part).
### Running on SSL in general
Sometimes there is a need to test the app with an SSL connection. This is required
to make Pusher work when running Travis CI Pro, but it may also be needed in other
situations.
There's already an SSL certificate in the `ssl` directory, which is set for `localhost`
host. If you want to use it, you can start the server with:
```
ember serve --ssl --ssl-key=ssl/server.key --ssl-cert=ssl/server.crt
```
In case you want your own certificate, you can follow the instructions posted
here: https://gist.github.com/trcarden/3295935 and then point the server to your
certificate with `--ssl-key` and `--ssl-cert`.
### Running tests
To run a test suite execute:
ember test
You can also start an interactive test runner for easier development:
ember test --serve
API_ENDPOINT="http://localhost:3000/" bundle exec foreman start
### Updating the team page
This will run against API run locally.
The team information can be found in `app/routes/team.js`.
To add another member just add the info in the same style as the previous ones. Like so
### Compiling assets manually
{
name: 'Mr T'
title: 'Mascot'
handle: 'travisci'
nationality: 'internet'
country: 'internet'
image: 'mrt'
}
bundle exec rakep
ENV=production bundle exec rakep
### Running the spec suite
First, start the app (see above).
bundle exec foreman start
To run the Ruby specs, run rspec against the spec/ directory:
bundle exec rspec spec/
To run the Jasmine specs, open the spec page: [localhost:5000/spec.html](http://localhost:5000/spec.html)
### i18n
Localization for travis-web is managed via [localeapp](http://localeapp.com).
If you are interested in improving the existing localizations or adding
a new locale, please contact us on irc (#travis) and we will set you up.
Please do **not** edit the YAML files directly.
Localization data can be synced with the following rake task:
bundle exec localeapp:update
This will publish any new keys in en.yml, as well as any missing keys
from your handlebars templates and pull down the latest localizations.
*note*: You will need to have the localeapp api key exported to
LOCALEAPP_API_KEY
The order of value pairs does not matter, the quotationmarks do. Name and title will be displayed as they are. The handle will be used to generate a link to Twitter and displayed with a '@' in front of it. Nationality and country determine the flags. Please use the name of the country and not the adjective (like 'germany' and NOT 'german'). Image is the identifier to find the right image and animated gif. 'mrt' in the example will result in `team-mrt.png` and `mrt-animated.gif`.
Add the images themselves to `public/images/team/` and additional flags to `public/images/pro-landing/`. Mind the naming conventions already in place.

View File

@ -1,36 +0,0 @@
$: << 'lib'
namespace :localeapp do
desc "syncs localeapp, yaml and handlebars"
task :update do
require 'localeapp-handlebars_i18n'
Localeapp::HandlebarsI18n.configure($stdout) do |config|
config.hbs_load_path = Dir[File.expand_path '../assets/scripts/app/templates/**/*.hbs', __FILE__]
config.yml_load_path = File.expand_path '../locales/', __FILE__
config.localeapp_api_key = ENV['LOCALEAPP_API_KEY']
end
system "localeapp push locales/#{Localeapp::HandlebarsI18n.default_locale}.yml"
Localeapp::HandlebarsI18n.send_missing_translations
system "localeapp pull"
end
end
namespace :ember do
desc 'update ember'
task :update do
if File.exists?('tmp/ember.js')
system 'cd tmp/ember.js; git fetch origin; git reset --hard origin/master'
else
system 'git clone https://github.com/emberjs/ember.js.git tmp/ember.js'
end
system 'cd tmp/ember.js; bundle update'
system 'cd tmp/ember.js; rake dist'
system 'cp tmp/ember.js/dist/ember.js assets/javascripts/vendor/ember.js'
end
end
task :update_emojis do
s = Dir.glob('assets/images/emoji/*.png').map {|png| png.split('/', 4)[3].gsub('.png', '')}.map{|png| "'#{png}'"}.join(", ")
e = "@EmojiDictionary = [#{s}]"
File.open("assets/scripts/config/emoij.coffee", "w") {|f| f.write(e) }
end

View File

@ -0,0 +1,57 @@
import config from 'travis/config/environment';
import Ember from 'ember';
import ActiveModelAdapter from 'active-model-adapter';
export default ActiveModelAdapter.extend({
auth: Ember.inject.service(),
host: config.apiEndpoint,
coalesceFindRequests: true,
// Before Ember Data 2.0 the default behaviour of running `findAll` was to get
// new records only when there're no records in the store. This will change
// to a different strategy in 2.0: when you run `findAll` it will not get any
// new data initially, but it will try loading new data in the background.
//
// I'm disabling the new behaviour for now.
shouldBackgroundReloadRecord() {
return false;
},
ajaxOptions(url, type, options) {
var base, hash, token;
hash = this._super(...arguments);
hash.headers = hash.headers || {};
hash.headers['accept'] = 'application/json; version=2';
if (token = this.get('auth').token()) {
if(!hash.headers['Authorization']) {
hash.headers['Authorization'] = "token " + token;
}
}
return hash;
},
findMany(store, type, ids) {
return this.ajax(this.buildURL(type.modelName), 'GET', {
data: {
ids: ids
}
});
},
handleResponse(status, headers, payload) {
if (status > 299) {
console.log("[ERROR] API responded with an error (" + status + "): " + (JSON.stringify(payload)));
}
return this._super(...arguments);
},
// this can be removed once this PR is merged and live:
// https://github.com/emberjs/data/pull/4204
findRecord(store, type, id, snapshot) {
return this.ajax(this.buildURL(type.modelName, id, snapshot, 'findRecord'), 'GET');
}
});

27
app/adapters/env-var.js Normal file
View File

@ -0,0 +1,27 @@
import Ember from 'ember';
import ApplicationAdapter from 'travis/adapters/application';
export default ApplicationAdapter.extend({
namespace: 'settings',
buildURL(type, id, record) {
var delimiter, repoId, url;
url = this._super.apply(this, arguments);
if (record && record.belongsTo('repo') && (repoId = record.belongsTo('repo').id)) {
delimiter = url.indexOf('?') !== -1 ? '&' : '?';
url = "" + url + delimiter + "repository_id=" + repoId;
}
return url;
},
updateRecord(store, type, record) {
var data, serializer;
data = {};
serializer = store.serializerFor(type.modelName);
serializer.serializeIntoHash(data, type, record);
var id = record.id;
return this.ajax(this.buildURL(type.modelName, id, record), "PATCH", {
data: data
});
}
});

9
app/adapters/hook.js Normal file
View File

@ -0,0 +1,9 @@
import ApplicationAdapter from 'travis/adapters/application';
export default ApplicationAdapter.extend({
updateRecord(store, type, snapshot) {
return this._super(...arguments).then( (data) => {
return { hook: { id: snapshot.id } };
});
}
});

26
app/adapters/repo.js Normal file
View File

@ -0,0 +1,26 @@
import V3Adapter from 'travis/adapters/v3';
import ApplicationAdapter from 'travis/adapters/application';
import Config from 'travis/config/environment';
let Adapter = Config.useV3API ? V3Adapter : ApplicationAdapter;
export default Adapter.extend({
defaultSerializer: '-repo',
ajaxOptions(url, type, options) {
var hash = options || {};
if(!hash.data) {
hash.data = {};
}
if(Config.useV3API) {
if(hash.data.include) {
hash.data.include += ',repository.default_branch,branch.last_build,build.commit';
} else {
hash.data.include = 'repository.default_branch,branch.last_build,build.commit';
}
}
return this._super(url, type, hash);
}
});

29
app/adapters/ssh-key.js Normal file
View File

@ -0,0 +1,29 @@
import Ember from 'ember';
import ApplicationAdapter from 'travis/adapters/application';
export default ApplicationAdapter.extend({
namespace: 'settings',
findRecord(store, type, id, record) {
return this.ajax(this.urlPrefix() + '/ssh_key/' + id, 'GET');
},
deleteRecord(store, type, record) {
var id = record.id;
return this.ajax(this.urlPrefix() + '/ssh_key/' + id, "DELETE");
},
createRecord(store, type, record) {
var data, serializer;
data = {};
serializer = store.serializerFor(type.modelName);
serializer.serializeIntoHash(data, type, record, {
includeId: true
});
var id = record.id;
return this.ajax(this.urlPrefix() + '/ssh_key/' + id, "PATCH", {
data: data
});
}
});

64
app/adapters/v3.js Normal file
View File

@ -0,0 +1,64 @@
import Ember from 'ember';
import config from 'travis/config/environment';
import RESTAdapter from 'ember-data/adapters/rest';
export default RESTAdapter.extend({
auth: Ember.inject.service(),
host: config.apiEndpoint,
sortQueryParams: false,
coalesceFindRequests: false,
headers: {
'Travis-API-Version': '3',
'Accept': 'application/json',
'Content-Type': 'application/json'
},
ajaxOptions: function(url, type, options) {
var hash = this._super(...arguments);
hash.headers = hash.headers || {};
var token;
if(token = this.get('auth').token()) {
hash.headers['Authorization'] = "token " + token;
}
return hash;
},
// TODO: I shouldn't override this method as it's private, a better way would
// be to create my own URL generator
_buildURL: function(modelName, id) {
var url = [];
var host = Ember.get(this, 'host');
var prefix = this.urlPrefix();
var path;
if (modelName) {
path = this.pathForType(modelName, id);
if (path) { url.push(path); }
}
if (id) { url.push(encodeURIComponent(id)); }
if (prefix) { url.unshift(prefix); }
url = url.join('/');
if (!host && url && url.charAt(0) !== '/') {
url = '/' + url;
}
return url;
},
pathForType: function(modelName, id) {
var underscored = Ember.String.underscore(modelName);
return id ? underscored : Ember.String.pluralize(underscored);
},
// this can be removed once this PR is merged and live:
// https://github.com/emberjs/data/pull/4204
findRecord(store, type, id, snapshot) {
return this.ajax(this.buildURL(type.modelName, id, snapshot, 'findRecord'), 'GET');
}
});

130
app/app.js Normal file
View File

@ -0,0 +1,130 @@
import Ember from 'ember';
import Resolver from './resolver';
import loadInitializers from 'ember-load-initializers';
import config from './config/environment';
Ember.MODEL_FACTORY_INJECTIONS = true;
Ember.LinkComponent.reopen({
attributeBindings: ['alt']
});
var App = Ember.Application.extend(Ember.Evented, {
LOG_TRANSITIONS: true,
LOG_TRANSITIONS_INTERNAL: true,
LOG_ACTIVE_GENERATION: true,
LOG_MODULE_RESOLVER: true,
LOG_VIEW_LOOKUPS: true,
modulePrefix: config.modulePrefix,
podModulePrefix: config.podModulePrefix,
Resolver: Resolver,
flash(options) {
return Ember.getOwner(Travis).lookup('controller:flash').loadFlashes([options]);
},
toggleSidebar() {
var element;
$('body').toggleClass('maximized');
element = $('<span></span>');
$('#top .profile').append(element);
Ember.run.later((function() {
return element.remove();
}), 10);
element = $('<span></span>');
$('#repo').append(element);
return Ember.run.later((function() {
return element.remove();
}), 10);
},
ready() {
if (location.hash.slice(0, 2) === '#!') {
location.href = location.href.replace('#!/', '');
}
this.on('user:signed_in', function(user) {
return Travis.onUserUpdate(user);
});
this.on('user:refreshed', function(user) {
return Travis.onUserUpdate(user);
});
this.on('user:synced', function(user) {
return Travis.onUserUpdate(user);
});
return this.on('user:signed_out', function() {
if (config.userlike) {
return Travis.removeUserlike();
}
});
},
currentDate() {
return new Date();
},
onUserUpdate(user) {
if (config.pro) {
this.identifyCustomer(user);
}
if (config.userlike) {
this.setupUserlike(user);
}
return this.subscribePusher(user);
},
subscribePusher(user) {
var channels;
if (!user.channels) {
return;
}
channels = user.channels;
if (config.pro) {
channels = channels.map(function(channel) {
if (channel.match(/^private-/)) {
return channel;
} else {
return "private-" + channel;
}
});
}
return Travis.pusher.subscribeAll(channels);
},
setupUserlike(user) {
var btn, s, userlikeData;
btn = document.getElementById('userlikeCustomTab');
btn.classList.add("logged-in");
userlikeData = window.userlikeData = {};
userlikeData.user = {};
userlikeData.user.name = user.login;
userlikeData.user.email = user.email;
if (!document.getElementById('userlike-script')) {
s = document.createElement('script');
s.id = 'userlike-script';
s.src = '//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/0327dbb23382ccbbb91b445b76e8a91d4b37d90ef9f2faf84e11177847ff7bb9.js';
return document.body.appendChild(s);
}
},
removeUserlike() {
var btn;
btn = document.getElementById('userlikeCustomTab');
return btn.classList.remove("logged-in");
},
identifyCustomer(user) {
if (_cio && _cio.identify) {
return _cio.identify({
id: user.id,
email: user.email,
name: user.name,
created_at: (Date.parse(user.created_at) / 1000) || null,
login: user.login
});
}
}
});
loadInitializers(App, config.modulePrefix);
export default App;

View File

@ -0,0 +1,55 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['form--envvar'],
classNameBindings: ['nameIsBlank:form-error'],
store: Ember.inject.service(),
isValid() {
if (Ember.isBlank(this.get('name'))) {
this.set('nameIsBlank', true);
return false;
} else {
return true;
}
},
reset() {
return this.setProperties({
name: null,
value: null,
"public": null
});
},
actions: {
save() {
var env_var, self;
if (this.get('isSaving')) {
return;
}
this.set('isSaving', true);
if (this.isValid()) {
env_var = this.get('store').createRecord('env_var', {
name: this.get('name'),
value: this.get('value'),
"public": this.get('public'),
repo: this.get('repo')
});
self = this;
return env_var.save().then(() => {
this.set('isSaving', false);
return this.reset();
}, () => {
return this.set('isSaving', false);
});
} else {
return this.set('isSaving', false);
}
},
nameChanged() {
return this.set('nameIsBlank', false);
}
}
});

View File

@ -0,0 +1,85 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['form--sshkey'],
classNameBindings: ['valueError:form-error'],
store: Ember.inject.service(),
isSaving: false,
didInsertElement() {
var id = this.get('repo.id');
var model = this.get('store').recordForId('ssh_key', id);
if (model) {
this.get('store').unloadRecord(model);
var typeMap = this.get('store').typeMapFor(model.constructor);
var idToRecord = typeMap.idToRecord;
delete idToRecord[id];
}
model = this.get('store').createRecord('ssh_key', { id: id });
return this.set('model', model);
},
isValid() {
if (Ember.isBlank(this.get('value'))) {
this.set('valueError', 'Value can\'t be blank.');
return false;
} else {
return true;
}
},
reset() {
return this.setProperties({
description: null,
value: null
});
},
valueChanged: function() {
return this.set('valueError', false);
}.observes('value'),
addErrorsFromResponse(errArr) {
var error = errArr[0].detail;
if (error.code === 'not_a_private_key') {
return this.set('valueError', 'This key is not a private key.');
} else if (error.code === 'key_with_a_passphrase') {
return this.set('valueError', 'The key can\'t have a passphrase.');
}
},
actions: {
save() {
var ssh_key;
this.set('valueError', false);
if (this.get('isSaving')) {
return;
}
this.set('isSaving', true);
if (this.isValid()) {
ssh_key = this.get('model');
ssh_key.setProperties({
description: this.get('description'),
value: this.get('value')
});
return ssh_key.save().then(() => {
this.set('isSaving', false);
this.reset();
return this.sendAction('sshKeyAdded', ssh_key);
}, (error) => {
this.set('isSaving', false);
if (error.errors) {
return this.addErrorsFromResponse(error.errors);
}
});
} else {
return this.set('isSaving', false);
}
}
}
});

View File

@ -0,0 +1,103 @@
import Ember from 'ember';
import { githubCommit as githubCommitUrl } from 'travis/utils/urls';
import TravisRoute from 'travis/routes/basic';
import config from 'travis/config/environment';
export default Ember.Component.extend({
routing: Ember.inject.service('-routing'),
tagName: 'li',
classNameBindings: ['build.last_build.state'],
classNames: ['branch-row', 'row-li'],
isLoading: false,
isTriggering: false,
hasTriggered: false,
urlGithubCommit: function() {
return githubCommitUrl(this.get('build.repository.slug'), this.get('build.last_build.commit.sha'));
}.property('build.last_build'),
getLast5Builds: function() {
var apiEndpoint, branchName, lastBuilds, options, repoId;
lastBuilds = Ember.ArrayProxy.create({
content: [{}, {}, {}, {}, {}],
isLoading: true,
count: 0
});
if (!this.get('build.last_build')) {
lastBuilds.set('isLoading', false);
} else {
apiEndpoint = config.apiEndpoint;
repoId = this.get('build.repository.id');
branchName = this.get('build.name');
options = {};
if (this.get('auth.signedIn')) {
options.headers = {
Authorization: "token " + (this.auth.token())
};
}
$.ajax(apiEndpoint + "/v3/repo/" + repoId + "/builds?branch.name=" + branchName + "&limit=5&build.event_type=push,api", options).then(function(response) {
var array, i, j, ref;
array = response.builds.map(function(build) {
return Ember.Object.create(build);
});
if (array.length < 5) {
for (i = j = 1, ref = 5 - array.length; j <= ref; i = j += 1) {
array.push({});
}
}
lastBuilds.set('count', response['@pagination'].count);
lastBuilds.set('content', array);
return lastBuilds.set('isLoading', false);
});
}
return lastBuilds;
}.property(),
canTrigger: function() {
var permissions;
if (!this.get('auth.signedIn')) {
return false;
} else {
permissions = this.get('auth.currentUser.permissions');
if (permissions.contains(parseInt(this.get('build.repository.id')))) {
return true;
} else {
return false;
}
}
}.property(),
triggerBuild: function() {
var apiEndpoint, options, repoId;
apiEndpoint = config.apiEndpoint;
repoId = this.get('build.repository.id');
options = {
type: 'POST',
body: {
request: {
branch: this.get('build.name')
}
}
};
if (this.get('auth.signedIn')) {
options.headers = {
Authorization: "token " + (this.auth.token())
};
}
return $.ajax(apiEndpoint + "/v3/repo/" + repoId + "/requests", options).then(() => {
this.set('isTriggering', false);
return this.set('hasTriggered', true);
});
},
actions: {
tiggerBuild(branch) {
this.set('isTriggering', true);
return this.triggerBuild();
},
viewAllBuilds(branch) {
return this.get('routing').transitionTo('builds');
}
}
});

View File

@ -0,0 +1,21 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['broadcast'],
isOpen: false,
timeoutId: '',
actions: {
toggleBroadcasts() {
this.toggleProperty('isOpen');
this.sendAction('toggleBroadcasts');
if (this.get('isOpen') === true) {
return this.set('timeoutId', setTimeout(() => {
this.toggleProperty('isOpen');
return this.sendAction('toggleBroadcasts');
}, 10000));
} else {
return clearTimeout(this.get('timeoutId'));
}
}
}
});

View File

@ -0,0 +1,27 @@
import Ember from 'ember';
import { gravatarImage } from 'travis/utils/urls';
import GithubUrlProperties from 'travis/mixins/github-url-properties';
import { durationFrom, safe } from 'travis/utils/helpers';
import { githubCommit } from 'travis/utils/urls';
export default Ember.Component.extend({
tagName: 'section',
classNames: ['build-header'],
classNameBindings: ['item.state'],
isJob: function() {
if (this.get('item.build')) {
return true;
} else {
return false;
}
}.property('item'),
urlGithubCommit: function() {
return githubCommit(this.get('repo.slug'), this.get('commit.sha'));
}.property('item'),
elapsedTime: function() {
return durationFrom(this.get('item.startedAt'), this.get('item.finishedAt'));
}.property('item.startedAt', 'item.finishedAt', 'item.duration')
});

View File

@ -0,0 +1,7 @@
import Ember from 'ember';
import RepoActionsItemComponentMixin from 'travis/utils/repo-actions-item-component-mixin';
export default Ember.Component.extend(RepoActionsItemComponentMixin, {
item: Ember.computed.alias('build'),
type: 'build'
});

View File

@ -0,0 +1,14 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'li',
classNameBindings: ['build.state'],
attributeBindings: ['title'],
title: function() {
var num, state;
num = this.get('build.number');
state = this.get('build.state');
return "Build #" + num + " " + state;
}.property('build')
});

View File

@ -0,0 +1,12 @@
import Ember from 'ember';
import { colorForState } from 'travis/utils/helpers';
import Polling from 'travis/mixins/polling';
export default Ember.Component.extend({
classNameBindings: ['color'],
pollModels: 'build',
color: function() {
return colorForState(this.get('build.state'));
}.property('build.state')
});

View File

@ -0,0 +1,12 @@
import Ember from 'ember';
import { githubCommit as githubCommitUrl } from 'travis/utils/urls';
export default Ember.Component.extend({
tagName: 'li',
classNameBindings: ['build.state'],
classNames: ['row-li', 'pr-row'],
urlGithubCommit: function() {
return githubCommitUrl(this.get('build.repo.slug'), this.get('build.commit.sha'));
}.property('build.commit.sha')
});

View File

@ -0,0 +1,30 @@
import Ember from 'ember';
import Polling from 'travis/mixins/polling';
export default Ember.Component.extend({
store: Ember.inject.service('store'),
pollHook: function(store) {
var contentType, repositoryId;
contentType = this.get('contentType');
repositoryId = this.get('repo.id');
store = this.get('store');
if (contentType === 'builds') {
return store.query('build', {
event_type: 'push',
repository_id: repositoryId
});
} else if (contentType === 'pull_requests') {
return store.filter('build', {
event_type: 'pull_request',
repository_id: repositoryId
});
} else {
return store.query('build', {
repository_id: repositoryId,
branches: true
});
}
}
});

View File

@ -0,0 +1,33 @@
import Ember from 'ember';
export default Ember.Component.extend({
ajax: Ember.inject.service(),
tagName: 'li',
classNames: ['cache-item'],
classNameBindings: ['cache.type'],
isDeleting: false,
actions: {
"delete": function() {
var data, deletingDone, repo;
if (this.get('isDeleting')) {
return;
}
if (confirm('Are you sure?')) {
this.set('isDeleting', true);
data = {
branch: this.get('cache.branch')
};
deletingDone = () => {
return this.set('isDeleting', false);
};
repo = this.get('repo');
return this.get('ajax').ajax("/repos/" + (repo.get('id')) + "/caches", "DELETE", {
data: data
}).then(deletingDone, deletingDone).then(() => {
return this.get('caches').removeObject(this.get('cache'));
});
}
}
}
});

View File

@ -0,0 +1,36 @@
import Ember from 'ember';
import { githubCommit as githubCommitUrl } from 'travis/utils/urls';
import config from 'travis/config/environment';
import { hasAdminPermission, hasPushPermission } from 'travis/utils/permission';
export default Ember.Component.extend({
tagName: 'li',
classNameBindings: ['repo.default_branch.last_build.state'],
classNames: ['rows', 'rows--dashboard'],
isLoading: false,
isTriggering: false,
hasTriggered: false,
dropupIsOpen: false,
urlGithubCommit: function() {
return githubCommitUrl(this.get('repo.slug'), this.get('repo.default_branch.last_build.commit.sha'));
}.property('repo'),
displayMenuTofu: function() {
return hasPushPermission(this.get('currentUser'), this.get('repo.id'));
},
displayActivateLink: function() {
return hasAdminPermission(this.get('currentUser'), this.get('repo.id'));
},
actions: {
tiggerBuild(branch) {
this.set('isTriggering', true);
return this.triggerBuild();
},
openDropup() {
this.toggleProperty('dropupIsOpen');
}
}
});

28
app/components/env-var.js Normal file
View File

@ -0,0 +1,28 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['settings-envvar'],
classNameBindings: ['envVar.public:is-public'],
isDeleting: false,
validates: { name: ['presence'] },
actionType: 'Save',
showValueField: Ember.computed.alias('public'),
value: function(key) {
if (this.get('envVar.public')) {
return this.get('envVar.value');
} else {
return '••••••••••••••••';
}
}.property('envVar.value', 'envVar.public'),
actions: {
"delete": function() {
if (this.get('isDeleting')) {
return;
}
this.set('isDeleting', true);
return this.get('envVar').destroyRecord();
}
}
});

View File

@ -0,0 +1,6 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'span',
classNames: ['icon-eye']
});

View File

@ -0,0 +1,14 @@
import Ember from 'ember';
export default Ember.Component.extend({
flashes: Ember.inject.service(),
classNames: ['flash'],
tagName: 'ul',
messagesBinding: 'flashes.messages',
actions: {
closeMessage(msg) {
return this.get('flashes').close(msg);
}
}
});

View File

@ -0,0 +1,16 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'li',
classNameBindings: ['type'],
type: function() {
return this.get('flash.type') || 'broadcast';
}.property('flash.type'),
actions: {
close() {
return this.attrs.close(this.get('flash'));
}
}
});

View File

@ -0,0 +1,17 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'a',
classNames: ['switch--icon'],
classNameBindings: ['active'],
activeBinding: "hook.active",
click() {
var hook;
this.sendAction('onToggle');
hook = this.get('hook');
return hook.toggle().then((function() {}), () => {
this.toggleProperty('hook.active');
return this.sendAction('onToggleError', hook);
});
}
});

View File

@ -0,0 +1,23 @@
import Ember from 'ember';
import config from 'travis/config/environment';
export default Ember.Component.extend({
tagName: 'li',
classNames: ['row'],
classNameBindings: ['hook.active:active'],
githubOrgsOauthAccessSettingsUrl: config.githubOrgsOauthAccessSettingsUrl,
actions: {
handleToggleError() {
return this.set("showError", true);
},
close() {
return this.send('resetErrors');
},
resetErrors() {
return this.set("showError", false);
}
}
});

35
app/components/job-log.js Normal file
View File

@ -0,0 +1,35 @@
import Ember from 'ember';
export default Ember.Component.extend({
logBinding: 'job.log',
classNames: ['job-log'],
didReceiveAttrs: function(options) {
this._super(...arguments);
let oldJob = options.oldAttrs && options.oldAttrs.job && options.oldAttrs.job.value,
newJob = options.newAttrs && options.newAttrs.job && options.newAttrs.job.value;
if(newJob !== oldJob) {
if(newJob) {
this.setupLog(newJob);
}
if(oldJob) {
this.teardownLog(oldJob);
}
}
},
teardownLog(job) {
job.unsubscribe();
},
setupLog(job) {
this.set('error', false);
job.get('log').fetch().then(function() { }, () => {
this.set('error', true);
});
job.subscribe();
}
});

View File

@ -0,0 +1,7 @@
import Ember from 'ember';
import RepoActionsItemComponentMixin from 'travis/utils/repo-actions-item-component-mixin';
export default Ember.Component.extend(RepoActionsItemComponentMixin, {
item: Ember.computed.alias('job'),
type: 'job'
});

View File

@ -0,0 +1,18 @@
import Ember from 'ember';
import { colorForState } from 'travis/utils/helpers';
import { githubCommit } from 'travis/utils/urls';
import Polling from 'travis/mixins/polling';
export default Ember.Component.extend({
pollModels: 'job.build',
commitBinding: 'job.commit',
currentItemBinding: 'job',
color: function() {
return colorForState(this.get('job.state'));
}.property('job.state'),
urlGithubCommit: function() {
return githubCommit(this.get('repo.slug'), this.get('commit.sha'));
}.property('repo.slug', 'commit.sha')
});

View File

@ -0,0 +1,36 @@
import Ember from 'ember';
import { colorForState } from 'travis/utils/helpers';
import { languageConfigKeys } from 'travis/utils/keys-map';
export default Ember.Component.extend({
tagName: 'li',
classNameBindings: ['job.state'],
classNames: ['jobs-item'],
languages: function() {
var config, gemfile, key, languageName, output, version;
output = [];
if (config = this.get('job.config')) {
for (key in languageConfigKeys) {
languageName = languageConfigKeys[key];
if (version = config[key]) {
output.push(languageName + ': ' + version);
}
}
gemfile = this.get('job.config.gemfile');
if (gemfile && this.get('job.config.env')) {
output.push("Gemfile: " + gemfile);
}
}
return output.join(' ');
}.property('job.config'),
environment: function() {
var env, gemfile;
if (env = this.get('job.config.env')) {
return env;
} else if (gemfile = this.get('job.config.gemfile')) {
return "Gemfile: " + gemfile;
}
}.property('job.config.env', 'job.config.gemfile')
});

View File

@ -0,0 +1,13 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'section',
classNames: ['jobs'],
jobTableId: Ember.computed(function() {
if (this.get('required')) {
return 'jobs';
} else {
return 'allowed_failure_jobs';
}
})
});

View File

@ -0,0 +1,8 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'li',
classNameBindings: ['build.state']
});

View File

@ -0,0 +1,55 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['limit-concurrent-builds'],
description: function() {
var description;
description = "Limit concurrent jobs";
if (this.get('enabled')) {
description += " ";
}
return description;
}.property('enabled'),
limitChanged() {
var limit, repo, savingFinished;
repo = this.get('repo');
limit = parseInt(this.get('value'));
if (limit) {
this.set('isSaving', true);
savingFinished = () => {
return this.set('isSaving', false);
};
return repo.saveSettings({
maximum_number_of_builds: limit
}).then(savingFinished, savingFinished);
}
},
actions: {
toggle() {
var savingFinished;
if (!this.get('enabled')) {
if (this.get('value') === 0) {
return;
}
if (this.get('isSaving')) {
return;
}
this.set('isSaving', true);
savingFinished = () => {
return this.set('isSaving', false);
};
this.get('repo').saveSettings({
maximum_number_of_builds: 0
}).then(savingFinished, savingFinished);
return this.set('value', 0);
}
},
limitChanged() {
return Ember.run.debounce(this, 'limitChanged', 1000);
}
}
});

View File

@ -0,0 +1,7 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'div',
classNameBindings: ['center:loading-container', 'inline:inline-block', 'height:icon-height'],
center: false
});

View File

@ -0,0 +1,238 @@
import Ember from 'ember';
import LinesSelector from 'travis/utils/lines-selector';
import LogFolder from 'travis/utils/log-folder';
import config from 'travis/config/environment';
import { plainTextLog as plainTextLogUrl } from 'travis/utils/urls';
Log.DEBUG = false;
Log.LIMIT = 10000;
Log.Scroll = function(options) {
options = options || {};
this.beforeScroll = options.beforeScroll;
return this;
};
Log.Scroll.prototype = $.extend(new Log.Listener(), {
insert: function(log, data, pos) {
if (this.numbers) {
this.tryScroll();
}
return true;
},
tryScroll: function() {
var element, ref;
if (element = $("#log p:visible.highlight:first")) {
if (this.beforeScroll) {
this.beforeScroll();
}
$('#main').scrollTop(0);
return $('html, body').scrollTop(((ref = element.offset()) != null ? ref.top : void 0) - (window.innerHeight / 3));
}
}
});
Log.Limit = function(max_lines, limitedLogCallback) {
this.max_lines = max_lines || 1000;
this.limitedLogCallback = limitedLogCallback || (function() {});
return this;
};
Log.Limit.prototype = Log.extend(new Log.Listener(), {
count: 0,
insert: function(log, node, pos) {
if (node.type === 'paragraph' && !node.hidden) {
this.count += 1;
if (this.limited) {
this.limitedLogCallback();
}
return this.count;
}
}
});
Object.defineProperty(Log.Limit.prototype, 'limited', {
get: function() {
return this.count >= this.max_lines;
}
});
export default Ember.Component.extend({
popup: Ember.inject.service(),
classNameBindings: ['logIsVisible:is-open'],
logIsVisible: false,
currentUserBinding: 'auth.currentUser',
didInsertElement() {
if (Log.DEBUG) {
console.log('log view: did insert');
}
this._super.apply(this, arguments);
Ember.run.scheduleOnce('afterRender', this, 'createEngine');
},
willDestroyElement() {
if (Log.DEBUG) {
console.log('log view: will destroy');
}
Ember.run.scheduleOnce('afterRender', this, 'teardownLog');
},
teardownLog(log) {
var parts, ref;
if (log || (log = this.get('log'))) {
parts = log.get('parts');
parts.removeArrayObserver(this, {
didChange: 'partsDidChange',
willChange: 'noop'
});
parts.destroy();
log.notifyPropertyChange('parts');
if ((ref = this.lineSelector) != null) {
ref.willDestroy();
}
this.clearLogElement();
}
},
clearLogElement() {
var logElement = this.$('#log');
if (logElement && logElement[0]) {
logElement[0].innerHTML = '';
}
},
createEngine(log) {
if (log || (log = this.get('log'))) {
this.clearLogElement();
log.onClear(() => {
this.teardownLog();
return this.createEngine();
});
this.scroll = new Log.Scroll({
beforeScroll: () => {
return this.unfoldHighlight();
}
});
this.limit = new Log.Limit(Log.LIMIT, () => {
return this.set('limited', true);
});
this.engine = Log.create({
listeners: [this.scroll, this.limit]
});
this.engine.limit = this.limit;
this.logFolder = new LogFolder(this.$('#log'));
this.lineSelector = new LinesSelector(this.$('#log'), this.scroll, this.logFolder);
this.observeParts(log);
}
},
didUpdateAttrs(changes) {
this._super.apply(this, arguments);
if (!changes.oldAttrs) {
return;
}
if (changes.newAttrs.job.value && changes.oldAttrs.job.value && changes.newAttrs.job.value !== changes.oldAttrs.job.value) {
this.teardownLog(changes.oldAttrs.job.value.get('log'));
return this.createEngine(changes.newAttrs.job.value.get('log'));
}
},
unfoldHighlight() {
return this.lineSelector.unfoldLines();
},
observeParts(log) {
var parts;
if (log || (log = this.get('log'))) {
parts = log.get('parts');
parts.addArrayObserver(this, {
didChange: 'partsDidChange',
willChange: 'noop'
});
parts = parts.slice(0);
this.partsDidChange(parts, 0, null, parts.length);
}
},
partsDidChange(parts, start, _, added) {
Ember.run.schedule('afterRender', this, function() {
var i, j, len, part, ref, ref1, ref2, results;
if (Log.DEBUG) {
console.log('log view: parts did change');
}
if (this.get('_state') !== 'inDOM') {
return;
}
ref = parts.slice(start, start + added);
results = [];
for (i = j = 0, len = ref.length; j < len; i = ++j) {
part = ref[i];
if ((ref1 = this.engine) != null ? (ref2 = ref1.limit) != null ? ref2.limited : void 0 : void 0) {
break;
}
results.push(this.engine.set(part.number, part.content));
}
return results;
});
},
plainTextLogUrl: function() {
var id, url;
if (id = this.get('log.job.id')) {
url = plainTextLogUrl(id);
if (config.pro) {
url += "&access_token=" + (this.get('job.log.token'));
}
return url;
}
}.property('job.log.id', 'job.log.token'),
hasPermission: function() {
var permissions;
if (permissions = this.get('currentUser.permissions')) {
return permissions.contains(parseInt(this.get('job.repo.id')));
}
}.property('currentUser.permissions.length', 'job.repo.id'),
canRemoveLog: function() {
var job;
if (job = this.get('job')) {
return job.get('canRemoveLog') && this.get('hasPermission');
}
}.property('job.canRemoveLog', 'hasPermission'),
showToTop: function() {
return this.get('log.hasContent') && this.get('job.canRemoveLog');
}.property('log.hasContent', 'job.canRemoveLog'),
showTailing: Ember.computed.alias('showToTop'),
actions: {
toTop() {
Travis.tailing.stop();
return $(window).scrollTop(0);
},
toggleTailing() {
Travis.tailing.toggle();
this.engine.autoCloseFold = !Travis.tailing.isActive();
return false;
},
removeLogPopup() {
if (this.get('canRemoveLog')) {
this.get('popup').open('remove-log-popup');
return false;
}
},
toggleLog() {
this.toggleProperty('logIsVisible');
}
},
// don't remove this, it's needed as an empty willChange callback
noop: function() {}
});

View File

@ -0,0 +1,20 @@
import Ember from 'ember';
import config from 'travis/config/environment';
export default Ember.Component.extend({
actions: {
triggerBuild() {
var apiEndpoint;
this.set('isLoading', true);
apiEndpoint = config.apiEndpoint;
return $.ajax(apiEndpoint + ("/v3/repo/" + (this.get('repo.repo.id')) + "/requests"), {
headers: {
Authorization: 'token ' + this.get('repo.auth')
},
type: "POST"
}).then(() => {
return this.set('isLoading', false);
});
}
}
});

View File

@ -0,0 +1,3 @@
import Ember from 'ember';
export default Ember.Component.extend();

View File

@ -0,0 +1,3 @@
import Ember from 'ember';
export default Ember.Component.extend();

View File

@ -0,0 +1,28 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['media', 'account'],
tagName: 'li',
classNameBindings: ['type', 'selected'],
typeBinding: 'account.type',
selectedBinding: 'account.selected',
tokenIsVisible: false,
name: function() {
return this.get('account.name') || this.get('account.login');
}.property('account'),
avatarUrl: function() {
return this.get('account.avatarUrl') || false;
}.property('account'),
isUser: function() {
return this.get('account.type') === 'user';
}.property('account'),
actions: {
tokenVisibility() {
return this.toggleProperty('tokenIsVisible');
}
}
});

View File

@ -0,0 +1,17 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['organisation-filter'],
actions: {
toggleOrgFilter() {
this.toggleProperty('showFilter');
return false;
},
select(org) {
this.toggleProperty('showFilter');
return this.sendAction('action', org);
}
}
});

View File

@ -0,0 +1,24 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'li',
classNames: ['owner-tile', 'row-li'],
classNameBindings: ['repo.default_branch.last_build.state'],
ownerName: function() {
return this.get('repo.slug').split(/\//)[0];
}.property('repo.slug'),
repoName: function() {
return this.get('repo.slug').split(/\//)[1];
}.property('repo.slug'),
isAnimating: function() {
var animationStates, state;
state = this.get('repo.default_branch.last_build.state');
animationStates = ['received', 'queued', 'started', 'booting'];
if (animationStates.indexOf(state) !== -1) {
return true;
}
}.property('repo.default_branch.last_build.state')
});

View File

@ -0,0 +1,4 @@
import Ember from 'ember';
import SyncButton from 'travis/components/sync-button';
export default SyncButton.extend();

View File

@ -0,0 +1,17 @@
import Ember from 'ember';
export default Ember.Component.extend({
popup: Ember.inject.service(),
classNames: ['application'],
click(event) {
var targetAndParents = $(event.target).parents().andSelf();
if (!(targetAndParents.hasClass('open-popup') || targetAndParents.hasClass('popup'))) {
this.get('popup').close();
}
if (!targetAndParents.hasClass('menu') && !targetAndParents.is('#tools > a')) {
$('.menu').removeClass('display');
}
}
});

View File

@ -0,0 +1,6 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['profile-orglist', 'columns', 'medium-4'],
tagName: 'aside',
});

View File

@ -0,0 +1,18 @@
import Ember from 'ember';
import config from 'travis/config/environment';
export default Ember.Component.extend({
store: Ember.inject.service(),
updateTimesService: Ember.inject.service('updateTimes'),
init() {
this._super.apply(this, arguments);
if (!Ember.testing) {
return Visibility.every(config.intervals.updateTimes, this.updateTimes.bind(this));
}
},
updateTimes() {
this.get('updateTimesService').push(this.get('jobs'));
}
});

View File

@ -0,0 +1,27 @@
import Ember from 'ember';
export default Ember.Component.extend({
actions: {
close() {
$('.popup').removeClass('display');
return false;
},
removeLog() {
var job = this.get('job');
$('.popup').removeClass('display');
return job.removeLog().then(function() {
return Travis.flash({ success: 'Log has been successfully removed.' });
}, function(xhr) {
if (xhr.status === 409) {
return Travis.flash({ error: 'Log can\'t be removed' });
} else if (xhr.status === 401) {
return Travis.flash({ error: 'You don\'t have sufficient access to remove the log' });
} else {
return Travis.flash({ error: 'An error occured when removing the log' });
}
});
}
}
});

View File

@ -0,0 +1,7 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['repo-main-tools']
});

View File

@ -0,0 +1,74 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'nav',
classNames: ['tabnav'],
ariaRole: 'tablist',
classCurrent: function() {
if (this.get('tab') === 'current') {
return 'active';
}
}.property('tab'),
classBuilds: function() {
if (this.get('tab') === 'builds') {
return 'active';
}
}.property('tab'),
classPullRequests: function() {
if (this.get('tab') === 'pull_requests') {
return 'active';
}
}.property('tab'),
classBranches: function() {
if (this.get('tab') === 'branches') {
return 'active';
}
}.property('tab'),
classBuild: function() {
var classes, tab;
tab = this.get('tab');
classes = [];
if (tab === 'build') {
classes.push('active');
}
if (tab === 'build' || tab === 'job') {
classes.push('display-inline');
}
return classes.join(' ');
}.property('tab'),
classJob: function() {
if (this.get('tab') === 'job') {
return 'active';
}
}.property('tab'),
classRequests: function() {
if (this.get('tab') === 'requests') {
return 'active';
}
}.property('tab'),
classCaches: function() {
if (this.get('tab') === 'caches') {
return 'active';
}
}.property('tab'),
classSettings: function() {
if (this.get('tab') === 'settings') {
return 'active';
}
}.property('tab'),
classRequest: function() {
if (this.get('tab') === 'request') {
return 'active';
}
}.property('tab')
});

View File

@ -0,0 +1,38 @@
import Ember from 'ember';
import config from 'travis/config/environment';
import { hasPermission, hasPushPermission } from 'travis/utils/permission';
export default Ember.Component.extend({
popup: Ember.inject.service(),
classNames: ['option-button'],
classNameBindings: ['isOpen:display'],
isOpen: false,
click(event) {
if ($(event.target).is('a') && $(event.target).parents('.settings-dropdown').length) {
return this.closeMenu();
}
},
closeMenu() {
return this.toggleProperty('isOpen');
},
actions: {
menu() {
return this.toggleProperty('isOpen');
}
},
displaySettingsLink: function() {
return hasPushPermission(this.get('currentUser'), this.get('repo.id'));
}.property('currentUser.pushPermissions.length', 'repo'),
displayCachesLink: function() {
return hasPushPermission(this.get('currentUser'), this.get('repo.id')) && config.endpoints.caches;
}.property('currentUser.pushPermissions.length', 'repo'),
displayStatusImages: function() {
return hasPermission(this.get('currentUser'), this.get('repo.id'));
}.property('currentUser.permissions.length', 'repo.id')
});

View File

@ -0,0 +1,7 @@
import Polling from 'travis/mixins/polling';
import Ember from 'ember';
export default Ember.Component.extend(Polling, {
pollModels: 'repo',
classNameBindings: ['isLoading:loading']
});

View File

@ -0,0 +1,3 @@
import Ember from 'ember';
export default Ember.Component.extend();

View File

@ -0,0 +1,27 @@
import Ember from 'ember';
import Polling from 'travis/mixins/polling';
import { colorForState } from 'travis/utils/helpers';
export default Ember.Component.extend(Polling, {
routing: Ember.inject.service('-routing'),
tagName: 'li',
pollModels: 'repo',
classNames: ['repo'],
classNameBindings: ['selected'],
selected: function() {
return this.get('repo') === this.get('selectedRepo');
}.property('selectedRepo'),
color: function() {
return colorForState(this.get('repo.lastBuildState'));
}.property('repo.lastBuildState'),
scrollTop: function() {
if (window.scrollY > 0) {
return $('html, body').animate({
scrollTop: 0
}, 200);
}
}
});

View File

@ -0,0 +1,48 @@
import Ember from 'ember';
export default Ember.Component.extend({
auth: Ember.inject.service(),
currentUserBinding: 'auth.currentUser',
classRecent: function() {
if (this.get('tab') === 'recent') {
return 'active';
} else if (this.get('tab') === 'search' && this.get('auth.signedIn')) {
return 'hidden';
}
}.property('tab'),
classRunning: function() {
var classes;
classes = [];
if (this.get('tab') === 'running') {
classes.push('active');
}
return classes.join(' ');
}.property('tab'),
classOwned: function() {
var classes;
classes = [];
if (this.get('tab') === 'owned') {
classes.push('active');
}
if (this.get('currentUser')) {
classes.push('display-inline');
}
return classes.join(' ');
}.property('tab', 'currentUser'),
classSearch: function() {
if (this.get('tab') === 'search') {
return 'active';
}
}.property('tab'),
classNew: function() {
if (this.get('currentUser')) {
return 'display-inline';
}
}.property('currentUser')
});

View File

@ -0,0 +1,7 @@
import Ember from 'ember';
var ReposListComponent = Ember.Component.extend({
tagName: 'ul'
});
export default ReposListComponent;

View File

@ -0,0 +1,25 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'span',
classNames: ['request-icon', 'icon'],
classNameBindings: ['event', 'state'],
isPush: function() {
return this.get('event') === 'push';
}.property('event'),
isPR: function() {
return this.get('event') === 'pull_request';
}.property('event'),
isAPI: function() {
return this.get('event') === 'api';
}.property('event'),
isEmpty: function() {
if (this.get('event') === null || this.get('event') === null) {
return true;
}
}.property('event')
});

View File

@ -0,0 +1,57 @@
import Ember from 'ember';
import config from 'travis/config/environment';
export default Ember.Component.extend({
classNames: ['request-item'],
classNameBindings: ['requestClass'],
tagName: 'li',
isGHPages: function() {
var message = this.get('request.message');
if (message === 'github pages branch') {
return true;
} else {
return false;
}
}.property('request.message'),
requestClass: function() {
if (this.get('request.isAccepted')) {
return 'accepted';
} else {
return 'rejected';
}
}.property('content.isAccepted'),
type: function() {
if (this.get('request.isPullRequest')) {
return 'pull_request';
} else {
return 'push';
}
}.property('request.isPullRequest'),
status: function() {
if (this.get('request.isAccepted')) {
return 'Accepted';
} else {
return 'Rejected';
}
}.property('request.isAccepted'),
hasBranchName: function() {
return this.get('request.branchName');
}.property('request'),
message: function() {
var message;
message = this.get('request.message');
if (config.pro && message === "private repository") {
return '';
} else if (!message) {
return 'Build created successfully ';
} else {
return message;
}
}.property('request.message')
});

View File

@ -0,0 +1,6 @@
import Ember from 'ember';
import Polling from 'travis/mixins/polling';
export default Ember.Component.extend(Polling, {
pollModels: 'job'
});

View File

@ -0,0 +1,23 @@
import Ember from 'ember';
import Polling from 'travis/mixins/polling';
import config from 'travis/config/environment';
export default Ember.Component.extend(Polling, {
store: Ember.inject.service(),
updateTimesService: Ember.inject.service('updateTimes'),
pollHook(store) {
return this.get('store').find('job', {});
},
init() {
this._super.apply(this, arguments);
if (!Ember.testing) {
return Visibility.every(config.intervals.updateTimes, this.updateTimes.bind(this));
}
},
updateTimes() {
this.get('updateTimesService').push(this.get('jobs'));
}
});

View File

@ -0,0 +1,26 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'a',
classNames: ['switch'],
classNameBindings: ['active'],
click() {
var setting;
if (this.get('isSaving')) {
return;
}
this.set('isSaving', true);
this.toggleProperty('active');
setting = {};
setting[this.get('key')] = this.get('active');
return this.get('repo').saveSettings(setting).then(() => {
return this.set('isSaving', false);
}, () => {
this.set('isSaving', false);
return Travis.flash({
error: 'There was an error while saving settings. Please try again.'
});
});
}
});

View File

@ -0,0 +1,22 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'button',
classNames: ['showmore-button'],
classNameBindings: ['isLoading', 'showMore'],
showMore: true,
attributeBindings: ['disabled'],
disabledBinding: 'isLoading',
buttonLabel: function() {
if (this.get('isLoading')) {
return 'Loading';
} else {
return 'Show more';
}
}.property('isLoading'),
click() {
return this.attrs.showMore();
}
});

22
app/components/ssh-key.js Normal file
View File

@ -0,0 +1,22 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['settings-sshkey'],
isDeleting: false,
actions: {
"delete": function() {
var deletingDone;
if (this.get('isDeleting')) {
return;
}
this.set('isDeleting', true);
deletingDone = () => {
return this.set('isDeleting', false);
};
this.get('key').deleteRecord();
return this.get('key').save().then(deletingDone, deletingDone).then(() => {
return this.sendAction('sshKeyDeleted');
});
}
}
});

View File

@ -0,0 +1,44 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'span',
classNames: ['status-icon', 'icon'],
classNameBindings: ['status'],
attributeBindings: ['label:aria-label', 'label:title'],
label: function() {
return 'Job ' + this.get('status');
}.property('status'),
hasPassed: function() {
return this.get('status') === 'passed' || this.get('status') === 'accepted';
}.property('status'),
hasFailed: function() {
return this.get('status') === 'failed' || this.get('status') === 'rejected';
}.property('status'),
hasErrored: function() {
return this.get('status') === 'errored';
}.property('status'),
wasCanceled: function() {
return this.get('status') === 'canceled';
}.property('status'),
isRunning: function() {
return this.get('status') === 'started' || this.get('status') === 'queued' || this.get('status') === 'booting' || this.get('status') === 'received' || this.get('status') === 'created';
}.property('status'),
isEmpty: function() {
if (!this.get('status')) {
return true;
} else {
if (this.get('status') === '') {
return true;
} else {
return false;
}
}
}.property('status')
});

View File

@ -0,0 +1,7 @@
import Ember from 'ember';
export default Ember.TextArea.extend({
click() {
this.get('element').select();
}
});

View File

@ -0,0 +1,61 @@
import Ember from 'ember';
import { format as formatStatusImage } from 'travis/utils/status-image-formats';
import Config from 'travis/config/environment';
export default Ember.Component.extend({
popup: Ember.inject.service(),
auth: Ember.inject.service(),
popupNameBinding: 'popup.popupName',
id: 'status-images',
attributeBindings: ['id'],
classNames: ['popup', 'status-images'],
formats: ['Image URL', 'Markdown', 'Textile', 'Rdoc', 'AsciiDoc', 'RST', 'Pod', 'CCTray'],
branches: function() {
let repoId = this.get('repo.id'),
popupName = this.get('popupName');
if(popupName === 'status-images') {
let array = Ember.ArrayProxy.create({ content: [] }),
apiEndpoint = Config.apiEndpoint,
options = {};
array.set('isLoaded', false);
if (this.get('auth.signedIn')) {
options.headers = {
Authorization: "token " + (this.auth.token())
};
}
$.ajax(apiEndpoint + "/v3/repo/" + repoId + "/branches?limit=100", options).then(function(response) {
if(response.branches.length) {
array.pushObjects(response.branches.map((branch) => { return branch.name; }));
} else {
array.pushObject('master');
}
array.set('isLoaded', true);
});
return array;
} else {
// if status images popup is not open, don't fetch any branches
return [];
}
}.property('popupName', 'repo'),
actions: {
close() {
return this.get('popup').close();
}
},
statusString: function() {
let format = this.get('format') || this.get('formats.firstObject'),
branch = this.get('branch') || 'master';
return formatStatusImage(format, this.get('repo.slug'), branch);
}.property('format', 'repo.slug', 'branch')
});

View File

@ -0,0 +1,6 @@
import Ember from 'ember';
import config from 'travis/config/environment';
export default Ember.Component.extend({
classNames: ['cta-btn']
});

View File

@ -0,0 +1,10 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ["sync-button"],
actions: {
sync() {
return this.get('user').sync();
}
}
});

View File

@ -0,0 +1,6 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'li',
classNames: ['team-member']
});

View File

@ -0,0 +1,3 @@
import Ember from 'ember';
export default Ember.Component.extend({});

View File

@ -0,0 +1,26 @@
import Ember from 'ember';
import config from 'travis/config/environment';
export default Ember.Component.extend({
status: null,
statusPageStatusUrl: function() {
return config.statusPageStatusUrl;
}.property(),
didInsertElement() {
var self, url;
if (url = this.get('statusPageStatusUrl')) {
self = this;
return this.getStatus(url).then(function(response) {
if (response.status && response.status.indicator) {
return self.set('status', response.status.indicator);
}
});
}
},
getStatus(url) {
return $.ajax(url);
}
});

View File

@ -0,0 +1,26 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'a',
classNames: ['travis-switch', 'switch'],
classNameBindings: ['_active:active'],
_active: function() {
return this.get('target.active') || this.get('active');
}.property('target.active', 'active'),
click() {
var target;
target = this.get('target');
if (this.get('toggleAutomatically') !== 'false') {
if (target) {
this.set('target.active', !this.get('target.active'));
} else {
this.set('active', !this.get('active'));
}
}
return Ember.run.next(this, function() {
return this.sendAction('action', target);
});
}
});

View File

@ -0,0 +1,21 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'span',
classNameBindings: ['small:avatar--small:avatar'],
userInitials: function() {
var name = this.get('name');
var arr = name.split(' ');
var initials = '';
if (arr.length >= 2) {
initials = arr[0].split('')[0] + arr[1].split('')[0];
} else {
initials = arr[0].split('')[0];
}
return initials;
}.property('userInitials')
});

View File

@ -0,0 +1,85 @@
import Ember from 'ember';
export default Ember.Controller.extend({
allHooks: [],
userBinding: 'auth.currentUser',
init() {
var self;
this._super.apply(this, arguments);
self = this;
return Travis.on("user:synced", (function() {
return self.reloadHooks();
}));
},
actions: {
sync() {
return this.get('user').sync();
},
toggle(hook) {
return hook.toggle();
}
},
reloadHooks() {
var hooks, login;
if (login = this.get('model.login')) {
hooks = this.store.query('hook', {
all: true,
owner_name: login
});
hooks.then(function() {
return hooks.set('isLoaded', true);
});
return this.set('allHooks', hooks);
}
},
accountName: function() {
return this.get('model.name') || this.get('model.login');
}.property('model.name', 'model.login'),
hooks: function() {
var hooks;
if (!(hooks = this.get('allHooks'))) {
this.reloadHooks();
}
return this.get('allHooks').filter(function(hook) {
return hook.get('admin');
});
}.property('allHooks.length', 'allHooks'),
hooksWithoutAdmin: function() {
var hooks;
if (!(hooks = this.get('allHooks'))) {
this.reloadHooks();
}
return this.get('allHooks').filter(function(hook) {
return !hook.get('admin');
});
}.property('allHooks.length', 'allHooks'),
showPrivateReposHint: function() {
return this.config.show_repos_hint === 'private';
}.property(),
showPublicReposHint: function() {
return this.config.show_repos_hint === 'public';
}.property(),
billingUrl: function() {
var id;
id = this.get('model.type') === 'user' ? 'user' : this.get('model.login');
return this.config.billingEndpoint + "/subscriptions/" + id;
}.property('model.name', 'model.login'),
subscribeButtonInfo: function() {
return {
billingUrl: this.get('billingUrl'),
subscribed: this.get('model.subscribed'),
education: this.get('model.education')
};
}.property('model.login', 'model.type')
});

View File

@ -0,0 +1,3 @@
import Ember from 'ember';
export default Ember.Controller.extend();

View File

@ -0,0 +1,6 @@
import Ember from 'ember';
export default Ember.Controller.extend({
repos: Ember.inject.controller(),
userBinding: 'auth.currentUser'
});

3
app/controllers/auth.js Normal file
View File

@ -0,0 +1,3 @@
import Ember from 'ember';
export default Ember.Controller.extend();

View File

@ -0,0 +1,37 @@
import Ember from 'ember';
import GithubUrlProperties from 'travis/mixins/github-url-properties';
export default Ember.Controller.extend({
defaultBranch: function() {
var output, repos;
repos = this.get('model');
output = repos.filter(function(item, index) {
return item.default_branch;
});
if (output.length) {
return output[0];
}
}.property('model'),
branchesExist: function() {
var branches = this.get('model');
return branches.length;
}.property('model'),
activeBranches: function() {
var repos;
repos = this.get('model');
return repos = repos.filter(function(item, index) {
return item.exists_on_github && !item.default_branch;
}).sortBy('last_build.finished_at').reverse();
}.property('model'),
inactiveBranches: function() {
var repos;
repos = this.get('model');
return repos = repos.filter(function(item, index) {
return !item.exists_on_github && !item.default_branch;
}).sortBy('last_build.finished_at').reverse();
}.property('model')
});

29
app/controllers/build.js Normal file
View File

@ -0,0 +1,29 @@
import Ember from 'ember';
import GithubUrlProperties from 'travis/mixins/github-url-properties';
export default Ember.Controller.extend(GithubUrlProperties, {
repoController: Ember.inject.controller('repo'),
repoBinding: 'repoController.repo',
commitBinding: 'build.commit',
currentUserBinding: 'auth.currentUser',
tabBinding: 'repoController.tab',
sendFaviconStateChanges: true,
currentItemBinding: 'build',
jobsLoaded: function() {
var jobs;
if (jobs = this.get('build.jobs')) {
return jobs.isEvery('config');
}
}.property('build.jobs.@each.config'),
loading: function() {
return this.get('build.isLoading');
}.property('build.isLoading'),
buildStateDidChange: function() {
if (this.get('sendFaviconStateChanges')) {
return this.send('faviconStateDidChange', this.get('build.state'));
}
}.observes('build.state')
});

59
app/controllers/builds.js Normal file
View File

@ -0,0 +1,59 @@
import Ember from 'ember';
export default Ember.Controller.extend({
buildsSorting: ['number:desc'],
builds: Ember.computed.sort('model', 'buildsSorting'),
repoController: Ember.inject.controller('repo'),
repoBinding: 'repoController.repo',
tabBinding: 'repoController.tab',
isLoadedBinding: 'model.isLoaded',
isLoadingBinding: 'model.isLoading',
showMore() {
var id, number, type;
id = this.get('repo.id');
number = this.get('builds.lastObject.number');
type = this.get('tab') === "builds" ? 'push' : 'pull_request';
this.olderThanNumber(id, number, type);
},
displayShowMoreButton: function() {
return this.get('tab') !== 'branches' && parseInt(this.get('builds.lastObject.number')) > 1;
}.property('tab', 'builds.lastObject.number'),
displayPullRequests: function() {
return this.get('tab') === 'pull_requests';
}.property('tab'),
displayBranches: function() {
return this.get('tab') === 'branches';
}.property('tab'),
noticeData: function() {
return {
repo: this.get('repo'),
auth: this.auth.token()
};
}.property('repo'),
olderThanNumber(id, number, type) {
var options;
options = {
repository_id: id,
after_number: number
};
if (type != null) {
options.event_type = type.replace(/s$/, '');
if (options.event_type === 'push') {
options.event_type = ['push', 'api'];
}
}
return this.store.query('build', options);
},
actions: {
showMoreBuilds() {
return this.showMore();
}
}
});

31
app/controllers/caches.js Normal file
View File

@ -0,0 +1,31 @@
import Ember from 'ember';
export default Ember.Controller.extend({
ajax: Ember.inject.service(),
repoController: Ember.inject.controller('repo'),
repo: Ember.computed.alias('repoController.repo'),
isDeleting: false,
cachesExist: function() {
return this.get('model.pushes.length') || this.get('model.pullRequests.length');
}.property('model.pushes.length', 'model.pullRequests.length'),
actions: {
deleteRepoCache() {
var deletingDone, repo;
if (this.get('isDeleting')) {
return;
}
if (confirm('Are you sure?')) {
this.set('isDeleting', true);
deletingDone = () => {
return this.set('isDeleting', false);
};
repo = this.get('repo');
return this.get('ajax').ajax("/repos/" + (this.get('repo.id')) + "/caches", "DELETE").then(deletingDone, deletingDone).then(() => {
return this.set('model', {});
});
}
}
}
});

View File

@ -0,0 +1,18 @@
import Ember from 'ember';
export default Ember.Controller.extend({
sync() {
return this.get('model').sync();
},
model: Ember.computed.alias('auth.currentUser'),
syncingDidChange: function() {
var user;
if ((user = this.get('model')) && user.get('isSyncing') && !user.get('syncedAt')) {
return Ember.run.scheduleOnce('routerTransitions', this, function() {
return Ember.getOwner(this).lookup('router:main').send('renderFirstSync');
});
}
}.observes('isSyncing', 'auth.currentUser')
});

View File

@ -0,0 +1,82 @@
import Ember from 'ember';
import config from 'travis/config/environment';
export default Ember.Controller.extend({
queryParams: ['org'],
filter: null,
org: null,
filteredRepositories: function() {
var filter, org, repos;
filter = this.get('filter');
repos = this.get('model');
org = this.get('org');
repos = repos.filter(function(item, index) {
if (item.get('default_branch')) {
return item.get('default_branch.last_build') !== null;
}
}).sortBy('default_branch.last_build.finished_at').reverse();
if (org) {
repos = repos.filter(function(item, index) {
return item.get('owner.login') === org;
});
}
if (Ember.isBlank(filter)) {
return repos;
} else {
return repos.filter(function(item, index) {
return item.slug.match(new RegExp(filter));
});
}
}.property('filter', 'model', 'org'),
updateFilter() {
var value;
value = this.get('_lastFilterValue');
this.transitionToRoute({
queryParams: {
filter: value
}
});
return this.set('filter', value);
},
selectedOrg: function() {
return this.get('orgs').findBy('login', this.get('org'));
}.property('org', 'orgs.[]'),
orgs: function() {
var apiEndpoint, orgs;
orgs = Ember.ArrayProxy.create({
content: [],
isLoading: true
});
apiEndpoint = config.apiEndpoint;
$.ajax(apiEndpoint + '/v3/orgs', {
headers: {
Authorization: 'token ' + this.auth.token()
}
}).then(function(response) {
var array;
array = response.organizations.map(function(org) {
return Ember.Object.create(org);
});
orgs.set('content', array);
return orgs.set('isLoading', false);
});
return orgs;
}.property(),
actions: {
updateFilter(value) {
this.set('_lastFilterValue', value);
return Ember.run.throttle(this, this.updateFilter, [], 200, false);
},
selectOrg(org) {
var login;
login = org ? org.get('login') : null;
return this.set('org', login);
}
}
});

15
app/controllers/error.js Normal file
View File

@ -0,0 +1,15 @@
import Ember from 'ember';
export default Ember.Controller.extend({
layoutName: Ember.computed({
get(key) {
if(this._layoutName) {
return 'layouts/' + this._layoutName;
}
},
set(key, value) {
return this._layoutName = value;
}
})
});

Some files were not shown because too many files have changed in this diff Show More