Commit Graph

2447 Commits

Author SHA1 Message Date
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
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
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
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
Piotr Sarnacki
3710dd8167 Move most of the ruby app related files into the 'server' directory 2015-02-03 09:28:39 +01:00
Piotr Sarnacki
a0932e51ae Merge branch 'master' into ember-cli
Conflicts:
	assets/scripts/app/helpers/handlebars.coffee
2015-02-03 09:01:53 +01:00
Piotr Sarnacki
ab7a818f4d Remove link to hiring page 2015-02-02 18:42:59 +01:00
Piotr Sarnacki
38b4b3ed95 Properly unload user on signout 2015-02-02 18:01:29 +01:00
Piotr Sarnacki
1be07ae5f7 Ember CLI compat - don't use Travis.* 2015-02-02 18:00:57 +01:00
Piotr Sarnacki
56f4be5bb1 Use pushPayload instead of push
push doesn't normalize data, so it needs camelized properties etc.
2015-02-02 17:59:56 +01:00
Piotr Sarnacki
429d580b00 Use durationFrom as durationFromHelper 2015-02-02 16:21:19 +01:00
Piotr Sarnacki
1e9d136911 Rename builds/item controller to builds-item 2015-02-02 16:21:03 +01:00
Piotr Sarnacki
2e05002a83 Use Ember.run.throttle instead of $.throttle 2015-02-02 15:56:16 +01:00
Piotr Sarnacki
5fd821d59e More ember-cli compat in views 2015-02-02 15:55:43 +01:00
Piotr Sarnacki
3f3781459d Export BasicView also as Travis.View 2015-02-02 12:07:32 +01:00
Piotr Sarnacki
a431f80f3a Use String.camelize instead of $.camelize 2015-02-02 12:07:18 +01:00
Piotr Sarnacki
bf33ffce41 Move some helpers from ext/jquery to utils/helpers 2015-02-02 11:56:43 +01:00
Piotr Sarnacki
051562540c Get back to using $.throttle 2015-02-02 11:56:12 +01:00
Piotr Sarnacki
f47b893cb8 Rename Travis.Route to Travis.BasicRoute and Travis.View to Travis.BasicView 2015-02-02 11:48:22 +01:00
Piotr Sarnacki
17df511c6a Rename computedLimit to limit in limited-array 2015-02-02 10:45:17 +01:00
Piotr Sarnacki
98892425bb Use ENV.config instead of injected config 2015-02-02 10:45:00 +01:00
Piotr Sarnacki
c8211520f2 Use Ember.run.throttle instead of $.throttle 2015-02-02 10:31:15 +01:00
Piotr Sarnacki
cd1d4a80ce Fix Slider, ToTop and Tailing for ember-cli 2015-02-02 10:25:53 +01:00