Commit Graph

1251 Commits

Author SHA1 Message Date
Mathias Meyer
162b4386ef Rework guide a whee bit to be more compact. 2013-06-13 20:47:21 +02:00
Mathias Meyer
20432d7254 Increase padding for images. 2013-06-13 13:50:31 +02:00
Mathias Meyer
a5b6e16d3e Add a contact section to the guide. 2013-06-13 13:43:26 +02:00
Mathias Meyer
b2bdd8ec7a More details for the getting started guide. 2013-06-13 13:34:26 +02:00
Mathias Meyer
87790fb6e1 Start fleshing out the getting started guide. 2013-06-13 12:44:21 +02:00
Piotr Sarnacki
b0d1e11e97 Allow to see getting started page through the URL 2013-06-13 12:40:46 +02:00
Piotr Sarnacki
3a4d52f52b Change URL when clicking on repos tabs 2013-06-12 19:55:34 +02:00
Piotr Sarnacki
75784da25e Render information about no repos into main template 2013-06-12 15:27:15 +02:00
Piotr Sarnacki
704bd9434e Redirect to getting started page if user has no repositories 2013-06-11 17:22:52 +02:00
Josh Kalderimis
56422df915 add some images used in a jk branch 2013-06-10 21:49:42 +02:00
Josh Kalderimis
60ac5e8080 remove the link to the stats page as it has been disabled for sooooo long now 2013-06-08 19:32:21 +02:00
Josh Kalderimis
abeba40d3f move Docs into Help, and capitalize for fun and profit! 2013-06-08 19:29:46 +02:00
Josh Kalderimis
a42e0b092f set the scope correctly when checking if a build/job is a PR in the template 2013-06-08 19:17:40 +02:00
Mathias Meyer
6708412a4d Sidebar be gone! 2013-06-08 10:12:41 +02:00
Piotr Sarnacki
e1b5e5d883 Rename routeTo to routeToPath
Ember already uses routeTo, we don't want to override this
2013-06-07 15:59:47 +02:00
Mathias Meyer
50c2565540 Add a small Blue Box logo. 2013-06-07 14:52:16 +02:00
Piotr Sarnacki
9eafd917ab Properly check for lastBuild on repo in routes 2013-06-06 21:28:55 +02:00
Piotr Sarnacki
ca835f5a1c Use CONFIG_KEYS in formatConfig 2013-06-06 19:06:32 +02:00
Piotr Sarnacki
299e227342 Add go config to the matrix 2013-06-06 15:39:39 +02:00
Piotr Sarnacki
58d3795644 Properly set model on build controller on build/show 2013-06-05 12:45:35 +02:00
Piotr Sarnacki
0d12176239 Don't error out if router is not yet setup
When router is not set up yet sending events to it will fail. If that's
the case, we can just swallow the error, because afterSignIn will take
effect only if we are already in some state in the router.
2013-06-05 12:43:27 +02:00
Piotr Sarnacki
50cdc4cf98 Move checking for errors to router rather than template
Previously we were checking if we should display an error message by
adding if statements in a template. This is not the best way to do
it, because it clutters a template and makes code harder to follow.

In this commit I move rendering error templates to the router. Code for
rendering error when there is no builds is not the best way to do it
either, but it can be improved when new router changes are merged to
Ember's master and a way Ember Data is handling promises is revised and
improved.
2013-06-05 11:37:29 +02:00
Piotr Sarnacki
f87e4108a8 Rethrow error if the error coming from router is not "Route missing" 2013-06-05 11:37:28 +02:00
Piotr Sarnacki
6bc7b69088 Refactor a way we setup things on repo controller
Till now, when switching between different views, we were switching
different bindings on repo controller. This was quite innefficient,
because then we needed to add bindings also from other controllers and
it's hard to manage such structure when we would like to add specialized
controllers (like LogController).

The new setup is more declarative, meaning that we do such things on the
router and set things on proper controllers. The only drawback is that
now we need to setup a few observers instead of bindings for "current"
views (ie. when viewing the newest repo or when viewing the last build
in current repo).

At this point it may not look like huge improvement, but it will open a
way to more refactorings.
2013-06-05 11:37:28 +02:00
Mathias Meyer
f6fde27258 Refine sidebar GA details. 2013-06-01 10:17:56 +02:00
Mathias Meyer
494ab53f83 Add tracking link tags. 2013-06-01 10:06:10 +02:00
Mathias Meyer
17a4ef79a7 Add help section and a link to travisci.com. 2013-05-31 21:47:56 +02:00
Mathias Meyer
a0ab577b6c Add RGSoC logo to the top of the sidebar.
Remove the current sponsors from the sidebar.
2013-05-31 21:17:06 +02:00
Piotr Sarnacki
aaf35365b1 Don't process pusher events immediately when running in background
When user has Travis CI's web page open in the background we should not
process pusher events immediately, because she will not see the changes
on a page anyway. During peak hours we can get several messages per
second, which requires some CPU work almost all the time. By using
visibility API we can detect if the tab with Travis CI is in the
background and if that's the case we will process pusher messages in
batches every 5 minutes. This is much better for the CPU, because it
means one bigger spike every few minutes and additionally some of the
updates don't have to be done (for example if we get several job:started
events, Ember's run loop will process only last one when it comes to
rendering 'current' build).
2013-05-29 16:54:12 +03:00
Piotr Sarnacki
8004766cfe Don't set sortProperties to null
Sorting could be triggered on controller and then when tab would be
switched, nullified sortProperties can result in an error.
2013-05-29 13:51:21 +03:00
Piotr Sarnacki
05859a5a3c Use visibility.js to run timer updates
Visibility.js provides a thin wrapper over page visibility API, which
allows to detect if page is currently visible by user. This allows us to
stop live updates when it's not needed. This is especially easy in case
of timers, because Visibility.js provides setInterval replacement, which
runs given code only when page is visible.

A lot of ❤️ for @tchack, who showed me visibility.js!
2013-05-29 13:42:51 +03:00
Piotr Sarnacki
46dc7e930d Add visibility.js, wrapper on page visibility API 2013-05-29 13:42:28 +03:00
Piotr Sarnacki
4288e79044 Change Ember.run.later to setTimeout in periodic actions
It seems that running Ember.run.later periodically can cause CPU usage
to increase over time. Such increase adds up to already increasing CPU
usage because of data amount growing.

This commit tries to mitigate the issue by using setTimeout instead
2013-05-29 11:17:58 +03:00
Henrik Hodne
3df9ee9723 Fix the CI script
The [ function doesn't support "&&" (you need [[ for that).

Also added an echo statement to inform that no tests were run if no if
statements matched.
2013-05-28 14:33:28 +02:00
Henrik Hodne
94ab700e0b Merge pull request #189 from nschonni/shortcircut-pr-builds
Only run Sauce Labs test when secure environment variables are available
2013-05-28 00:19:58 -07:00
Nick Schonning
0f643851c7 Only run Saucelabs test with secure variables
This is intended to short circut PRs so that they don't get marked as
failed when they don't have access to the Sauce vars.
2013-05-28 01:06:23 -04:00
Mathias Meyer
b761536d80 Add newsletter link to "Community" menu. 2013-05-24 16:19:31 +02:00
Henrik Hodne
e659659861 Download 2x images from Gravatar
This will make them look nicer on Retina screens. We may want to make
them even bigger if people are increasing the size of the page on
Travis, but doing that causes all kinds of alignment issues, so it's not
necessary to do now, I think.
2013-05-22 13:09:24 +02:00
Henrik Hodne
c1814fa062 Change shadow for "Follow logs" button
In general, the "light" on web pages come from directly above, so
shadows should be directly below things. This isn't really a shadow,
though, but rather a way to make it seem like the text is "embossed"
into the surface by giving it a slight sheen on the bottom edge, in
which case the shadow definitely shouldn't be shifted left or right.
2013-05-22 12:58:29 +02:00
Piotr Sarnacki
22c1710e14 Update user data after sign in 2013-05-21 19:30:19 +02:00
Piotr Sarnacki
294f1a4c57 Add changes on Gemfile.lock 2013-05-21 15:00:18 +02:00
Piotr Sarnacki
dd33378c47 Show repo on repos list even if it's not complete, but has lastBuildId 2013-05-21 14:59:32 +02:00
Mathias Meyer
7831fbc70b Move join links from sidebar into the top menu. 2013-05-20 15:56:13 +02:00
Mathias Meyer
d2d1c2a942 Switch to http for now. 2013-05-17 08:15:44 +02:00
Mathias Meyer
f2dd0181aa Add Bundler patch for retries. 2013-05-17 08:08:59 +02:00
Mathias Meyer
3caf5adfc2 Set an opacity on the GitHub octomark images.
Leaving them black makes them stand out a bit too much, this is
a bit more subtle.
2013-05-17 07:54:27 +02:00
Mathias Meyer
be432528d8 Disable stats menu item for now.
Until a proper stats page is back, that is.
2013-05-17 07:54:27 +02:00
Henrik Hodne
e1877e13e7 Fix typo, commiter -> committer 2013-05-16 22:27:03 +02:00
Henrik Hodne
f05477bb0c Add GitHub mark to GitHub links
This was requested in #95.

Adds a little 10x10px GitHub mark to every GitHub link in the main
frame.
2013-05-16 17:59:07 +02:00
Piotr Sarnacki
d0f7c75795 Remove sidebar elements, which need to query API
This reverts commit b6e89073dc.
2013-05-16 13:55:18 +02:00