From fed8dd5a898b104807e9ad4e9228a90b52e22271 Mon Sep 17 00:00:00 2001 From: les Date: Thu, 1 Jul 2021 22:27:57 +0200 Subject: [PATCH 01/16] update deps and fix typo in docs --- docs/changelog.md | 1 + package.json | 16 ++++++++----- yarn.lock | 60 ++++++++--------------------------------------- 3 files changed, 21 insertions(+), 56 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index edabdc76..a4e2692b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file. - improve AP resource UI - fix Docker setup - update deps + ### 1.0 (alpha) This release is a complete rewrite of frontend UI and many internals, main changes are: diff --git a/package.json b/package.json index 418a0ba6..8071215c 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "pg": "^8.6.0", "pg-native": "3.0.0", "prom-client": "^13.1.0", - "sequelize": "^6.6.2", + "sequelize": "^6.6.4", "sequelize-cli": "^6.2.0", "sequelize-slugify": "^1.5.0", "sharp": "^0.28.2", @@ -83,7 +83,7 @@ "v-calendar": "2.3.0", "vue": "^2.6.14", "vue-clipboard2": "^0.3.1", - "vue-i18n": "^8.24.4", + "vue-i18n": "^8.24.5", "vue-server-renderer": "^2.6.14", "vue-template-compiler": "^2.6.14", "winston": "^3.3.3", @@ -110,14 +110,14 @@ "eslint-plugin-vue": "^7.10.0", "fibers": "^5.0.0", "less-loader": "7", - "prettier": "^2.3.0", + "prettier": "^2.3.2", "pug": "^3.0.2", "pug-plain-loader": "^1.1.0", "sass": "^1.32.12", "sass-loader": "10", - "typescript": "^4.3.4", + "typescript": "^4.3.5", "vue-cli-plugin-vuetify": "~2.4.0", - "vuetify": "^2.5.4", + "vuetify": "^2.5.6", "vuetify-loader": "^1.7.1", "webpack": "4", "webpack-cli": "^4.7.2" @@ -130,7 +130,11 @@ "jimp": "0.16.1", "resize-img": "2.0.0", "underscore": "1.13.1", - "@nuxtjs/vuetify/**/sass": "1.32.12" + "@nuxtjs/vuetify/**/sass": "1.32.12", + "css-what": "5.0.1", + "postcss": "7.0.36", + "glob-parent": "5.1.2", + "core-js": "3.14.0" }, "bin": { "gancio": "server/cli.js" diff --git a/yarn.lock b/yarn.lock index f669623e..69efa8f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3711,21 +3711,11 @@ core-js-compat@^3.12.1, core-js-compat@^3.14.0, core-js-compat@^3.15.0: browserslist "^4.16.6" semver "7.0.0" -core-js@3.14.0: +core-js@3.14.0, core-js@^2.6.5, core-js@^3.6.5: version "3.14.0" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.14.0.tgz#62322b98c71cc2018b027971a69419e2425c2a6c" integrity sha512-3s+ed8er9ahK+zJpp9ZtuVcDoFzHNiZsPbNAAE4KXgrRHbjSqqNN6xGSXq6bq7TZIbKj4NLrLb6bJ5i+vSVjHA== -core-js@^2.6.5: - version "2.6.12" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec" - integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== - -core-js@^3.6.5: - version "3.15.2" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.15.2.tgz#740660d2ff55ef34ce664d7e2455119c5bdd3d61" - integrity sha512-tKs41J7NJVuaya8DxIOCnl8QuPHx5/ZVbFo1oKgVl1qHFBBrDctzQGtuLjPpRdNTWmKPH6oEvgN/MUID+l485Q== - core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -3930,17 +3920,7 @@ css-tree@^1.1.2: mdn-data "2.0.14" source-map "^0.6.1" -css-what@2.1: - version "2.1.3" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2" - integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg== - -css-what@^3.2.1: - version "3.4.2" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-3.4.2.tgz#ea7026fcb01777edbde52124e21f327e7ae950e4" - integrity sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ== - -css-what@^5.0.0, css-what@^5.0.1: +css-what@2.1, css-what@5.0.1, css-what@^3.2.1, css-what@^5.0.0, css-what@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.0.1.tgz#3efa820131f4669a8ac2408f9c32e7c7de9f4cad" integrity sha512-FYDTSHb/7KXsWICVsxdmiExPjCfRC4qRFBdVwv7Ax9hMnvMmEjP9RfxTEZ3qPZGmADDn2vAKSo9UcN1jKVYscg== @@ -5726,15 +5706,7 @@ github-from-package@0.0.0: resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" integrity sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4= -glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4= - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" - -glob-parent@^5.1.2, glob-parent@~5.1.2: +glob-parent@5.1.2, glob-parent@^3.1.0, glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== @@ -6571,7 +6543,7 @@ is-extendable@^1.0.1: dependencies: is-plain-object "^2.0.4" -is-extglob@^2.1.0, is-extglob@^2.1.1: +is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= @@ -6603,13 +6575,6 @@ is-generator@^1.0.2: resolved "https://registry.yarnpkg.com/is-generator/-/is-generator-1.0.3.tgz#c14c21057ed36e328db80347966c693f886389f3" integrity sha1-wUwhBX7TbjKNuANHlmxpP4hjifM= -is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo= - dependencies: - is-extglob "^2.1.0" - is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" @@ -8799,11 +8764,6 @@ path-browserify@0.0.1: resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA= - path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" @@ -9656,7 +9616,7 @@ postcss-values-parser@^2.0.0, postcss-values-parser@^2.0.1: indexes-of "^1.0.1" uniq "^1.0.1" -postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.27, postcss@^7.0.32, postcss@^7.0.36, postcss@^7.0.5, postcss@^7.0.6: +postcss@7.0.36, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.27, postcss@^7.0.32, postcss@^7.0.36, postcss@^7.0.5, postcss@^7.0.6: version "7.0.36" resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.36.tgz#056f8cffa939662a8f5905950c07d5285644dfcb" integrity sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw== @@ -9738,7 +9698,7 @@ prettier@^1.18.2: resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== -prettier@^2.3.0: +prettier@^2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d" integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ== @@ -10813,7 +10773,7 @@ sequelize-slugify@^1.5.0: dependencies: sluglife "^0.9.8" -sequelize@^6.6.2: +sequelize@^6.6.4: version "6.6.4" resolved "https://registry.yarnpkg.com/sequelize/-/sequelize-6.6.4.tgz#616072aa5e7226db1050cc485942ee2fd04d475f" integrity sha512-SOSu3tclOjHJfvuIITUlAsh2Q642gFxjpNN+IM1quFZ7jU5Pep7FIAwBK8UWgTpNc9TK9rUr1cyLB/G25CGicA== @@ -11987,7 +11947,7 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^4.3.4: +typescript@^4.3.5: version "4.3.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4" integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA== @@ -12354,7 +12314,7 @@ vue-hot-reload-api@^2.3.0: resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2" integrity sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog== -vue-i18n@^8.24.4: +vue-i18n@^8.24.5: version "8.24.5" resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.24.5.tgz#7127a666d5be2199be69be39e439a419a90ff931" integrity sha512-p8W5xOmniuZ8fj76VXe0vBL3bRWVU87jHuC/v8VwmhKVH2iMQsKnheB1U+umxDBqC/5g9K+NwzokepcLxnBAVQ== @@ -12436,7 +12396,7 @@ vuetify-loader@^1.7.1, vuetify-loader@^1.7.2: file-loader "^6.2.0" loader-utils "^2.0.0" -vuetify@^2.5.3, vuetify@^2.5.4: +vuetify@^2.5.3, vuetify@^2.5.6: version "2.5.6" resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-2.5.6.tgz#9cbb1eacece6c42028216312b9be23e35a7f5cf4" integrity sha512-2T8ML5PYuJ/AdMVH3ZIvzHnsM0nX8t4Xzj+0HFFGfLT7jLlptCFpG+JE8+kyrgGZlbUgulyOwCUu8hJkVsReFA== From 283aa21aba149ae09d761f216780cff13b39ed31 Mon Sep 17 00:00:00 2001 From: les Date: Fri, 2 Jul 2021 17:30:20 +0200 Subject: [PATCH 02/16] clean WPGancio readme --- wp-plugin/readme.txt | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/wp-plugin/readme.txt b/wp-plugin/readme.txt index a705fa08..98c6d73e 100644 --- a/wp-plugin/readme.txt +++ b/wp-plugin/readme.txt @@ -1,10 +1,10 @@ === WPGancio === Contributors: lesion Donate link: https://gancio.org -Tags: events, gancio +Tags: events, gancio, fediverse, AP, activity pub Requires at least: 4.7 Tested up to: 5.4 -Stable tag: 4.3 +Stable tag: 1.0 Requires PHP: 7.0 License: AGPLv3 or later License URI: https://www.gnu.org/licenses/agpl-3.0.html @@ -13,36 +13,12 @@ Connect a gancio instance to a Wordpress user so that published events are autom == Description == +This plugin connects a [Gancio](https://gancio.org) instance to a Wordpress website to automatically push events published on Wordpress. - -== Frequently Asked Questions == - -= A question that someone might have = - -An answer to that question. - -= What about foo bar? = - -Answer to foo bar dilemma. - -== Screenshots == - -1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is stored in the /assets directory. -2. This is the second screen shot +It requires an event manager plugin, only [Event Organiser[(https://wp-event-organiser.com/) is supported but adding another plugin it's an easy task. + == Changelog == = 1.0 = -* A change since the previous version. -* Another change. - -= 0.5 = -* List versions from most recent at top to oldest at bottom. - -== Upgrade Notice == - -= 1.0 = -Upgrade notices describe the reason a user should upgrade. No more than 300 characters. - -= 0.5 = -This version fixes a security related bug. Upgrade immediately. +* First release From 3a56b6422b5961f033bbe4270145aa9cd9c13998 Mon Sep 17 00:00:00 2001 From: les Date: Fri, 2 Jul 2021 22:33:41 +0200 Subject: [PATCH 03/16] [WP] support tags, fix #114 --- wp-plugin/gancio.php | 1 - wp-plugin/oauth.php | 18 ++++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/wp-plugin/gancio.php b/wp-plugin/gancio.php index b39d0f1b..60ea1e42 100644 --- a/wp-plugin/gancio.php +++ b/wp-plugin/gancio.php @@ -5,7 +5,6 @@ Plugin URI: https://gancio.org Description: Connects an user of a gancio instance to a Wordpress user so that published events are automatically pushed with Gancio API. Version: 1.0 Author: Gancio -Author URI: https://gancio.org License: AGPL 3.0 WPGancio is free software: you can redistribute it and/or modify it under the diff --git a/wp-plugin/oauth.php b/wp-plugin/oauth.php index 75470b52..1c902278 100644 --- a/wp-plugin/oauth.php +++ b/wp-plugin/oauth.php @@ -27,6 +27,13 @@ function delete_post ($post_id) { function wpgancio_save_event ($post_id) { $event = get_post( $post_id ); + function tagName ($tag) { + return $tag->name; + } + + $tmp_tags = get_the_terms( $event, 'event-tag' ); + $tags = array_map('tagName', $tmp_tags); + // do not save if it's a draft if ($event->post_status != 'publish') { return; @@ -45,6 +52,7 @@ function wpgancio_save_event ($post_id) { $body = array ( 'title' => $event->post_title, + 'tags' => $tags, 'description' => $event->post_content, 'start_datetime' => intval($date), 'place_name' => $place_name, @@ -64,13 +72,15 @@ function wpgancio_save_event ($post_id) { $response = $http->request( $instance_url . '/api/event', array( 'method' => 'PUT', 'headers' => array ( - 'Authorization' => 'Bearer ' . get_option('wpgancio_token') - ), 'body' => $body )); + 'Authorization' => 'Bearer ' . get_option('wpgancio_token'), + 'Content-Type' => 'application/json' + ), 'body' => wp_json_encode($body) )); } else { // or create $response = wp_remote_post($instance_url . '/api/event', array( 'headers' => array ( - 'Authorization' => 'Bearer ' . get_option('wpgancio_token') - ), 'body' => $body )); + 'Authorization' => 'Bearer ' . get_option('wpgancio_token'), + 'Content-Type' => 'application/json' + ), 'body' => wp_json_encode($body) )); } if ( is_wp_error( $response ) ) { From 8e53a1f26a12fc2f3fdbabe45a318e2f5d26d3da Mon Sep 17 00:00:00 2001 From: les Date: Sat, 3 Jul 2021 22:41:59 +0200 Subject: [PATCH 04/16] [WPGancio] Tested Up To Value is Out of Date --- wp-plugin/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-plugin/readme.txt b/wp-plugin/readme.txt index 98c6d73e..c1315b70 100644 --- a/wp-plugin/readme.txt +++ b/wp-plugin/readme.txt @@ -3,7 +3,7 @@ Contributors: lesion Donate link: https://gancio.org Tags: events, gancio, fediverse, AP, activity pub Requires at least: 4.7 -Tested up to: 5.4 +Tested up to: 5.7.2 Stable tag: 1.0 Requires PHP: 7.0 License: AGPLv3 or later From 7acd34f4964c9d7f972f706f6f5018a7739d4b96 Mon Sep 17 00:00:00 2001 From: les Date: Sun, 4 Jul 2021 00:45:17 +0200 Subject: [PATCH 05/16] [WPGancio] Sanitize / validate input/output --- wp-plugin/oauth.php | 19 +++++++++---------- wp-plugin/settings.php | 19 ++++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/wp-plugin/oauth.php b/wp-plugin/oauth.php index 1c902278..45da5e48 100644 --- a/wp-plugin/oauth.php +++ b/wp-plugin/oauth.php @@ -4,16 +4,15 @@ defined( 'ABSPATH' ) or die( 'Nope, not accessing this' ); // eventorganizer / triggered after an event has been updated // http://codex.wp-event-organiser.com/hook-eventorganiser_save_event.html add_action('eventorganiser_save_event', 'wpgancio_save_event', 15); -add_action('wp_trash_post', 'delete_post', 15); +add_action('wp_trash_post', 'wpgancio_delete_post', 15); -function delete_post ($post_id) { +function wpgancio_delete_post ($post_id) { $post = get_post($post_id); $instance_url = get_option('wpgancio_instance_url'); if ($post->post_type == 'event') { - $gancio_id = get_post_meta($post_id, 'gancio_id', TRUE); + $gancio_id = get_post_meta($post_id, 'wpgancio_gancio_id', TRUE); if ($gancio_id) { - $body['id'] = $gancio_id; $http = _wp_http_get_object(); $response = $http->request( "${instance_url}/api/event/${gancio_id}", array( 'method' => 'DELETE', @@ -28,7 +27,7 @@ function wpgancio_save_event ($post_id) { $event = get_post( $post_id ); function tagName ($tag) { - return $tag->name; + return sanitize_title($tag->name); } $tmp_tags = get_the_terms( $event, 'event-tag' ); @@ -39,9 +38,9 @@ function wpgancio_save_event ($post_id) { return; } - $gancio_id = get_post_meta($post_id, 'gancio_id', TRUE); + $gancio_id = get_post_meta($post_id, 'wpgancio_gancio_id', TRUE); - // image_path + // when $date = eo_get_schedule_start( 'U', $post_id ); // get place details @@ -62,7 +61,7 @@ function wpgancio_save_event ($post_id) { // add image if specified $image_url = get_the_post_thumbnail_url($post_id); if ($image_url) { - $body['image_url'] = $image_url; + $body['image_url'] = esc_url($image_url); } // update @@ -84,10 +83,10 @@ function wpgancio_save_event ($post_id) { } if ( is_wp_error( $response ) ) { - $error_message = $response->get_error_message(); + $error_message = esc_html($response->get_error_message()); echo "

${error_message}

"; return; } $data = json_decode(wp_remote_retrieve_body($response)); - update_post_meta($post_id, 'gancio_id', $data->id); + update_post_meta($post_id, 'wpgancio_gancio_id', intval($data->id)); } diff --git a/wp-plugin/settings.php b/wp-plugin/settings.php index 55e57712..d0900540 100644 --- a/wp-plugin/settings.php +++ b/wp-plugin/settings.php @@ -22,7 +22,7 @@ function wpgancio_update_options ($old_value, $instance_url) { $redirect_uri = get_site_url(null, '/wp-admin/options-general.php?page=wpgancio' ); $query = join('&', array( 'response_type=code', - 'redirect_uri=' . esc_html($redirect_uri), + 'redirect_uri=' . esc_url($redirect_uri), 'scope=event:write', 'client_id=' . get_option('wpgancio_client_id'), )); @@ -53,8 +53,8 @@ function wpgancio_instance_url_validate ($instance_url) { $response->get_error_message()); } else { $data = json_decode( wp_remote_retrieve_body($response), true); - update_option('wpgancio_client_secret', $data['client_secret']); - update_option('wpgancio_client_id', $data['client_id']); + update_option('wpgancio_client_secret', sanitize_key($data['client_secret'])); + update_option('wpgancio_client_id', sanitize_key($data['client_id'])); return $instance_url; } } @@ -88,7 +88,7 @@ function wpgancio_instance_url_cb( $args ) { name="wpgancio_instance_url">

- +

From 94db206c2c2a2d6f4fd38d2fc6871b43ddd4e7b9 Mon Sep 17 00:00:00 2001 From: les Date: Sun, 4 Jul 2021 00:46:08 +0200 Subject: [PATCH 06/16] minor on dialog layout / authorize form --- layouts/default.vue | 4 ++-- pages/Authorize.vue | 29 ++++++++++++++--------------- server/federation/helpers.js | 2 +- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/layouts/default.vue b/layouts/default.vue index 103829f9..d2eca62d 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,10 +1,10 @@