From 7786f9042f599e8031f9423833ca877f247067ee Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 29 Apr 2018 17:55:36 -0400 Subject: [PATCH] feat: locales remote fetch+ deps update + fixes --- client/components/admin/admin-general.vue | 4 - client/components/admin/admin-locale.vue | 98 +- client/components/admin/admin-theme.vue | 10 +- client/components/admin/admin-utilities.vue | 21 +- client/components/setup.vue | 49 +- client/graph/admin-locale-query-list.gql | 14 + config.sample.yml | 1 + dev/webpack/webpack.dev.js | 53 +- dev/webpack/webpack.prod.js | 64 +- package.json | 109 +- server/app/data.yml | 87 +- server/core/kernel.js | 10 +- server/core/localization.js | 9 +- server/core/logger.js | 5 +- server/core/queue.js | 29 +- server/core/worker.js | 18 + server/graph/resolvers/localization.js | 46 + server/graph/schemas/localization.graphql | 45 + server/index.js | 2 +- server/jobs/purge-uploads.js | 33 + server/jobs/sync-git.js | 69 + server/jobs/sync-graph-locales.js | 38 + server/locales/default.json | 38 + server/models/locale.js | 39 + server/queues/git-sync.js | 68 - server/queues/upl-clear-temp.js | 29 - server/setup.js | 12 +- server/views/main/setup.pug | 2 +- server/worker.js | 62 - yarn.lock | 1416 +++++++++++-------- 30 files changed, 1374 insertions(+), 1106 deletions(-) create mode 100644 client/graph/admin-locale-query-list.gql create mode 100644 server/core/worker.js create mode 100644 server/graph/resolvers/localization.js create mode 100644 server/graph/schemas/localization.graphql create mode 100644 server/jobs/purge-uploads.js create mode 100644 server/jobs/sync-git.js create mode 100644 server/jobs/sync-graph-locales.js create mode 100644 server/locales/default.json create mode 100644 server/models/locale.js delete mode 100644 server/queues/git-sync.js delete mode 100644 server/queues/upl-clear-temp.js delete mode 100644 server/worker.js diff --git a/client/components/admin/admin-general.vue b/client/components/admin/admin-general.vue index 88a7284f..edce16df 100644 --- a/client/components/admin/admin-general.vue +++ b/client/components/admin/admin-general.vue @@ -34,12 +34,8 @@