Commit Graph

64 Commits

Author SHA1 Message Date
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
03ae9df2b5 dashboard/loading view doesn't need layout 2015-02-06 11:31:28 +01:00
Piotr Sarnacki
3f7a9df8ba Change tipsy to scss 2015-02-06 10:40:01 +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
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
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
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
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
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
f82025c6d5 Don't use Handlebars.compile, ember-cli includes only runtime for performance 2015-02-03 20:48:02 +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
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
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
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
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
Sven Fuchs
c8246efab6 use rake-pipeline 2012-06-22 03:18:07 +02:00