These are the changes by @dmathieu (reverted at d7bef2b) slightly changed to allow us to use them also on Travis Pro. The change is to still use onScroll calculations in order to position elements instead of using "position: fixed". The latter method is harder to use when element needs to be positioned relatively to other element - on Pro we would have to still calculate the position because of the right sidebar.
Update to Ember 1.4.0.
Also rename renderNoOwnedRepos to redirectToGettingStarted
The label not being vertically centered was driving me mad.
With new array computed helpers we can simplify code and get rid of nested array proxies.
arrayComputed was added recently in order to make array computations easier. Using arrayComputed we can improve LimitedArray which now uses an isolated multipurpose Ember.computed.limit.
Rendering views outside of routes cycle seems problematic at the moment, so redirection is our best bet. However, the way I initially did it in cc90200 causes problems for people who don't have any own repositories set up for Travis CI, but still want to log in and browse around - rendering getting started page as a full page hides left sidebar with a list of repositories. This commit changes getting started page to render in the main outlet, just as before redirection changes.
It would be nice to allow to just render getting started page, but because of the way we manage layouts, it's hard to get it running without weird bugs popping up now and then. This should be easier to achieve once the templates are cleaned up to use better laout management.
Hook switches are toggled in the controller "toggle" action, so if we toggle them in the component and then in the controller, it will just return to the original state.
This reverts commit e5ae06a.
This reverts commit 357b176. This commit seems to be where the bug with enabling hooks was introduced, and reverting this commit seems to fix that bug. Conflicts: assets/scripts/app/controllers.coffee assets/scripts/app/templates/repo/settings.hbs
I found the commit that caused the bug that caused me to do the last revert. I'm therefore reverting the previous revert and I will be committing a revert that reverts the commit that introduced the bug. See next commit. This reverts commit db2d38a.
This seems to have caused issues with enabling the hooks for repositories.