Commit Graph

2152 Commits

Author SHA1 Message Date
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
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