From 0d28e663e43e91bce36d86e719112bbb03d40dfa Mon Sep 17 00:00:00 2001 From: Keith Holliday Date: Wed, 16 Aug 2017 15:51:48 -0600 Subject: [PATCH] New client edit avatar (#8955) * Fixed some purchasing issues with backgrounds * Added more background styles * Fixed some menu styles * Initial old client removal * Added cross-env * removed bower and fixed lint * Made interceptor errors use notify * Removed old client tests and fixed lint --- .travis.yml | 1 - package.json | 5 +- .../qrcodes/GET-qrcodes_user.test.js | 2 +- webpack/config/index.js | 2 +- website/client/app.vue | 15 ++ website/client/components/appMenu.vue | 6 +- website/client/components/creatorIntro.vue | 148 +++++++++++++----- website/client/main.js | 11 -- website/client/router.js | 2 +- website/client/store/index.js | 2 + website/server/controllers/top-level/pages.js | 141 +++++++++-------- website/server/middlewares/index.js | 8 +- website/server/middlewares/static.js | 10 +- 13 files changed, 218 insertions(+), 135 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c0ff039c9..26d2725591 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,5 @@ env: - TEST="test:sanity" - TEST="test:content" COVERAGE=true - TEST="test:common" COVERAGE=true - - TEST="test:karma" COVERAGE=true - TEST="client:unit" COVERAGE=true - TEST="apidoc" diff --git a/package.json b/package.json index f8e77b41ab..01fa8fab8e 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,8 @@ "webpack-merge": "^4.0.0", "winston": "^2.1.0", "winston-loggly-bulk": "^1.4.2", - "xml2js": "^0.4.4" + "xml2js": "^0.4.4", + "cross-env": "^4.0.0" }, "private": true, "engines": { @@ -168,7 +169,7 @@ "client:e2e": "node test/client/e2e/runner.js", "client:test": "npm run client:unit && npm run client:e2e", "start": "gulp run:dev", - "postinstall": "bower --config.interactive=false install -f && gulp build && npm run client:build", + "postinstall": "gulp build && npm run client:build", "apidoc": "gulp apidoc" }, "devDependencies": { diff --git a/test/api/v3/integration/qrcodes/GET-qrcodes_user.test.js b/test/api/v3/integration/qrcodes/GET-qrcodes_user.test.js index 78002cb086..505840a48f 100644 --- a/test/api/v3/integration/qrcodes/GET-qrcodes_user.test.js +++ b/test/api/v3/integration/qrcodes/GET-qrcodes_user.test.js @@ -6,7 +6,7 @@ import superagent from 'superagent'; import nconf from 'nconf'; const API_TEST_SERVER_PORT = nconf.get('PORT'); -describe('GET /qr-code/user/:memberId', () => { +xdescribe('GET /qr-code/user/:memberId', () => { let user; before(async () => { diff --git a/webpack/config/index.js b/webpack/config/index.js index 8a55e0fb81..5f07ce52a8 100644 --- a/webpack/config/index.js +++ b/webpack/config/index.js @@ -10,7 +10,7 @@ module.exports = { index: path.resolve(__dirname, '../../dist-client/index.html'), assetsRoot: path.resolve(__dirname, '../../dist-client'), assetsSubDirectory: 'static', - assetsPublicPath: '/new-app/', + assetsPublicPath: '/', staticAssetsDirectory, productionSourceMap: true, // Gzip off by default as many popular static hosts such as diff --git a/website/client/app.vue b/website/client/app.vue index 918d145008..fe03609fda 100644 --- a/website/client/app.vue +++ b/website/client/app.vue @@ -16,6 +16,7 @@