diff --git a/client/components/admin/admin-contribute.vue b/client/components/admin/admin-contribute.vue index bbc72512..807e1f47 100644 --- a/client/components/admin/admin-contribute.vue +++ b/client/components/admin/admin-contribute.vue @@ -1,52 +1,43 @@ diff --git a/client/components/admin/admin-rendering.vue b/client/components/admin/admin-rendering.vue index a44dae69..c4783286 100644 --- a/client/components/admin/admin-rendering.vue +++ b/client/components/admin/admin-rendering.vue @@ -1,15 +1,212 @@ diff --git a/client/components/login.vue b/client/components/login.vue index e5c61f6c..56baa56e 100644 --- a/client/components/login.vue +++ b/client/components/login.vue @@ -13,15 +13,16 @@ .login-frame(v-show='screen === "login"') h1.text-xs-center.display-1 {{ siteTitle }} h2.text-xs-center.subheading {{ $t('auth:loginRequired') }} - v-text-field(solo, ref='iptEmail', v-model='username', :placeholder='$t("auth:fields.emailUser")') + v-text-field(solo, hide-details, ref='iptEmail', v-model='username', :placeholder='$t("auth:fields.emailUser")') v-text-field.mt-2( - solo, - ref='iptPassword', - v-model='password', - :append-icon='hidePassword ? "visibility" : "visibility_off"', - :append-icon-cb='() => (hidePassword = !hidePassword)', - :type='hidePassword ? "password" : "text"', - :placeholder='$t("auth:fields.password")', + solo + hide-details + ref='iptPassword' + v-model='password' + :append-icon='hidePassword ? "visibility" : "visibility_off"' + :append-icon-cb='() => (hidePassword = !hidePassword)' + :type='hidePassword ? "password" : "text"' + :placeholder='$t("auth:fields.password")' @keyup.enter='login' ) v-btn.mt-3(block, large, color='primary', @click='login') {{ $t('auth:actions.login') }} diff --git a/package.json b/package.json index 2aa9ad13..88ebf615 100644 --- a/package.json +++ b/package.json @@ -234,6 +234,7 @@ "vue-router": "3.0.1", "vue-simple-breakpoints": "1.0.3", "vue-template-compiler": "2.5.16", + "vuedraggable": "2.16.0", "vuetify": "1.1.1", "vuex": "3.0.1", "vuex-persistedstate": "2.5.4", diff --git a/server/modules/storage/azure.js b/server/modules/storage/azure.js index 8f0612f6..37e4374d 100644 --- a/server/modules/storage/azure.js +++ b/server/modules/storage/azure.js @@ -6,10 +6,13 @@ module.exports = { accountKey: String, container: String }, - activate() { + activated(opts) { }, - deactivate() { + deactivated(opts) { + + }, + init(opts) { }, created(opts) { diff --git a/server/modules/storage/digitalocean.js b/server/modules/storage/digitalocean.js index d1ce8ef8..11bd96c1 100644 --- a/server/modules/storage/digitalocean.js +++ b/server/modules/storage/digitalocean.js @@ -10,10 +10,13 @@ module.exports = { }, bucket: String }, - activate() { + activated(opts) { }, - deactivate() { + deactivated(opts) { + + }, + init(opts) { }, created(opts) { diff --git a/server/modules/storage/disk.js b/server/modules/storage/disk.js index 028ff02a..21eb6ea8 100644 --- a/server/modules/storage/disk.js +++ b/server/modules/storage/disk.js @@ -4,10 +4,13 @@ module.exports = { props: { path: String }, - activate() { + activated(opts) { }, - deactivate() { + deactivated(opts) { + + }, + init(opts) { }, created(opts) { diff --git a/server/modules/storage/dropbox.js b/server/modules/storage/dropbox.js index 38b892d5..3c4d6aab 100644 --- a/server/modules/storage/dropbox.js +++ b/server/modules/storage/dropbox.js @@ -5,10 +5,13 @@ module.exports = { appKey: String, appSecret: String }, - activate() { + activated(opts) { }, - deactivate() { + deactivated(opts) { + + }, + init(opts) { }, created(opts) { diff --git a/server/modules/storage/gdrive.js b/server/modules/storage/gdrive.js index 5d63cd3c..e74d6a34 100644 --- a/server/modules/storage/gdrive.js +++ b/server/modules/storage/gdrive.js @@ -5,10 +5,13 @@ module.exports = { clientId: String, clientSecret: String }, - activate() { + activated(opts) { }, - deactivate() { + deactivated(opts) { + + }, + init(opts) { }, created(opts) { diff --git a/server/modules/storage/git.js b/server/modules/storage/git.js index 8c4a9454..e332ddd7 100644 --- a/server/modules/storage/git.js +++ b/server/modules/storage/git.js @@ -20,10 +20,13 @@ module.exports = { basicUsername: String, basicPassword: String }, - activate() { + activated(opts) { }, - deactivate() { + deactivated(opts) { + + }, + init(opts) { }, created(opts) { diff --git a/server/modules/storage/onedrive.js b/server/modules/storage/onedrive.js index 888bd777..74c1c91e 100644 --- a/server/modules/storage/onedrive.js +++ b/server/modules/storage/onedrive.js @@ -5,10 +5,13 @@ module.exports = { clientId: String, clientSecret: String }, - activate() { + activated(opts) { }, - deactivate() { + deactivated(opts) { + + }, + init(opts) { }, created(opts) { diff --git a/server/modules/storage/s3.js b/server/modules/storage/s3.js index 16fbcf0d..b9ea17fb 100644 --- a/server/modules/storage/s3.js +++ b/server/modules/storage/s3.js @@ -7,10 +7,13 @@ module.exports = { region: String, bucket: String }, - activate() { + activated(opts) { }, - deactivate() { + deactivated(opts) { + + }, + init(opts) { }, created(opts) { diff --git a/server/modules/storage/scp.js b/server/modules/storage/scp.js index be637a62..a33bc951 100644 --- a/server/modules/storage/scp.js +++ b/server/modules/storage/scp.js @@ -14,10 +14,13 @@ module.exports = { default: '~' } }, - activate() { + activated(opts) { }, - deactivate() { + deactivated(opts) { + + }, + init(opts) { }, created(opts) { diff --git a/yarn.lock b/yarn.lock index 9dc4681a..439a3ed4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11602,6 +11602,10 @@ sort-keys@^1.0.0: dependencies: is-plain-obj "^1.0.0" +sortablejs@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/sortablejs/-/sortablejs-1.7.0.tgz#80a2b2370abd568e1cec8c271131ef30a904fa28" + source-list-map@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085" @@ -12823,6 +12827,12 @@ vue@2.5.16: version "2.5.16" resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085" +vuedraggable@2.16.0: + version "2.16.0" + resolved "https://registry.yarnpkg.com/vuedraggable/-/vuedraggable-2.16.0.tgz#52127081a2adb3de5fabd214d404ff3eee63575a" + dependencies: + sortablejs "^1.7.0" + vuetify@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-1.1.1.tgz#8d8f64306a45aaf862487addae8decf082dac0a3"