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