diff --git a/CHANGELOG.md b/CHANGELOG.md index a494239e0..63deaad9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 1.1.4 - 19-05-2021 + +### Fixes + +- Fixes rich media parsers, so that some resource links work again +- Fixes some depreciated calls that were removed in OTP24 +- Fixes groups not being refreshed after joining a group +- Fixes the notice that is shown when joining a group that the content may not be available right away - because the group is remote - being shown everytime, even when the group is local +- Fixes OGP image not being defined for posts + +### Translations + +- French +- Galician +- Italian + ## 1.1.3 - 03-05-2021 ### Changed diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index b6f752afb..51d9910b2 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -1,5 +1,5 @@ # First build the application assets -FROM node:14-alpine as assets +FROM node:16-alpine as assets RUN apk add --no-cache python build-base libwebp-tools bash imagemagick ncurses diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index ce413ee74..73f0d6c8c 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -1,9 +1,9 @@ FROM elixir:latest LABEL maintainer="Thomas Citharel " -ENV REFRESHED_AT=2021-04-30 +ENV REFRESHED_AT=2021-05-19 RUN apt-get update -yq && apt-get install -yq build-essential inotify-tools postgresql-client git curl gnupg xvfb libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 cmake exiftool -RUN curl -sL https://deb.nodesource.com/setup_14.x | bash && apt-get install nodejs -yq +RUN curl -sL https://deb.nodesource.com/setup_16.x | bash && apt-get install nodejs -yq RUN npm install -g yarn wait-on RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN mix local.hex --force && mix local.rebar --force diff --git a/js/package.json b/js/package.json index 886d28272..b8dc795ed 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "mobilizon", - "version": "1.1.3", + "version": "1.1.4", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/js/yarn.lock b/js/yarn.lock index ef39169ed..7f7f625e6 100644 --- a/js/yarn.lock +++ b/js/yarn.lock @@ -28,9 +28,9 @@ zen-observable "0.8.11" "@apollo/client@^3.0.0": - version "3.3.18" - resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.3.18.tgz#dc722576a88fddb5c3ae0bb03d5675e0bb7ec07e" - integrity sha512-SaJSda4V36/pnv7jkCBROBPwd3w/3TnG/Bd8oLESuNqm6ruXDHt067ow00Y2zz1AOL8SuOI9LXjmkr+FcTqnIQ== + version "3.3.19" + resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.3.19.tgz#f1172dc9b9d7eae04c8940b047fd3b452ef92d2c" + integrity sha512-vzljWLPP0GwocfBhUopzDCUwsiaNTtii1eu8qDybAXqwj4/ZhnIM46c6dNQmnVcJpAIFRIsNCOxM4OlMDySJug== dependencies: "@graphql-typed-document-node/core" "^3.0.0" "@types/zen-observable" "^0.8.0" @@ -66,16 +66,16 @@ integrity sha512-vu9V3uMM/1o5Hl5OekMUowo3FqXLJSw+s+66nt0fSWVWTtmosdzn45JHOB3cPtZoe6CTBDzvSw0RdOY85Q37+Q== "@babel/core@^7.1.0", "@babel/core@^7.11.0", "@babel/core@^7.8.4": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.2.tgz#54e45334ffc0172048e5c93ded36461d3ad4c417" - integrity sha512-OgC1mON+l4U4B4wiohJlQNUU3H73mpTyYY3j/c8U9dr9UagGGSm+WFpzjy/YLdoyjiG++c1kIDgxCo/mLwQJeQ== + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.3.tgz#5395e30405f0776067fbd9cf0884f15bfb770a38" + integrity sha512-jB5AmTKOCSJIZ72sd78ECEhuPiDMKlQdDI/4QRI6lzYATx5SSogS1oQA2AoPecRCknm30gHi2l+QVvNUu3wZAg== dependencies: "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.14.2" + "@babel/generator" "^7.14.3" "@babel/helper-compilation-targets" "^7.13.16" "@babel/helper-module-transforms" "^7.14.2" "@babel/helpers" "^7.14.0" - "@babel/parser" "^7.14.2" + "@babel/parser" "^7.14.3" "@babel/template" "^7.12.13" "@babel/traverse" "^7.14.2" "@babel/types" "^7.14.2" @@ -86,10 +86,10 @@ semver "^6.3.0" source-map "^0.5.0" -"@babel/generator@^7.14.2", "@babel/generator@^7.4.0": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.2.tgz#d5773e8b557d421fd6ce0d5efa5fd7fc22567c30" - integrity sha512-OnADYbKrffDVai5qcpkMxQ7caomHOoEwjkouqnN2QhydAjowFAZcsdecFIRUBdb+ZcruwYE4ythYmF1UBZU5xQ== +"@babel/generator@^7.14.2", "@babel/generator@^7.14.3", "@babel/generator@^7.4.0": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.3.tgz#0c2652d91f7bddab7cccc6ba8157e4f40dcedb91" + integrity sha512-bn0S6flG/j0xtQdz3hsjJ624h3W0r3llttBMfyHX3YrZ/KtLYr15bjA0FXkgW7FpvrDuTuElXeVjiKlYRpnOFA== dependencies: "@babel/types" "^7.14.2" jsesc "^2.5.1" @@ -120,22 +120,22 @@ browserslist "^4.14.5" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.13.0", "@babel/helper-create-class-features-plugin@^7.14.0", "@babel/helper-create-class-features-plugin@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.2.tgz#4e455b0329af29c2d3ad254b5dd5aed34595385d" - integrity sha512-6YctwVsmlkchxfGUogvVrrhzyD3grFJyluj5JgDlQrwfMLJSt5tdAzFZfPf4H2Xoi5YLcQ6BxfJlaOBHuctyIw== +"@babel/helper-create-class-features-plugin@^7.13.0", "@babel/helper-create-class-features-plugin@^7.14.0", "@babel/helper-create-class-features-plugin@^7.14.2", "@babel/helper-create-class-features-plugin@^7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.3.tgz#832111bcf4f57ca57a4c5b1a000fc125abc6554a" + integrity sha512-BnEfi5+6J2Lte9LeiL6TxLWdIlEv9Woacc1qXzXBgbikcOzMRM2Oya5XGg/f/ngotv1ej2A/b+3iJH8wbS1+lQ== dependencies: "@babel/helper-annotate-as-pure" "^7.12.13" "@babel/helper-function-name" "^7.14.2" "@babel/helper-member-expression-to-functions" "^7.13.12" "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/helper-replace-supers" "^7.13.12" + "@babel/helper-replace-supers" "^7.14.3" "@babel/helper-split-export-declaration" "^7.12.13" "@babel/helper-create-regexp-features-plugin@^7.12.13": - version "7.12.17" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.17.tgz#a2ac87e9e319269ac655b8d4415e94d38d663cb7" - integrity sha512-p2VGmBu9oefLZ2nQpgnEnG0ZlRPvL8gAGvPUMQwUdaE8k49rOMuZpOwdQoy5qJf6K8jL3bcAMhVUlHAjIgJHUg== + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.14.3.tgz#149aa6d78c016e318c43e2409a0ae9c136a86688" + integrity sha512-JIB2+XJrb7v3zceV2XzDhGIB902CmKGSpSl4q2C6agU9SNLG/2V1RtFRGPG1Ajh9STj3+q6zJMOC+N/pp2P9DA== dependencies: "@babel/helper-annotate-as-pure" "^7.12.13" regexpu-core "^4.7.1" @@ -234,15 +234,15 @@ "@babel/helper-wrap-function" "^7.13.0" "@babel/types" "^7.13.0" -"@babel/helper-replace-supers@^7.12.13", "@babel/helper-replace-supers@^7.13.12": - version "7.13.12" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz#6442f4c1ad912502481a564a7386de0c77ff3804" - integrity sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw== +"@babel/helper-replace-supers@^7.12.13", "@babel/helper-replace-supers@^7.13.12", "@babel/helper-replace-supers@^7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.14.3.tgz#ca17b318b859d107f0e9b722d58cf12d94436600" + integrity sha512-Rlh8qEWZSTfdz+tgNV/N4gz1a0TMNwCUcENhMjHTHKp3LseYH5Jha0NSlyTQWMnjbYcwFt+bqAMqSLHVXkQ6UA== dependencies: "@babel/helper-member-expression-to-functions" "^7.13.12" "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.12" + "@babel/traverse" "^7.14.2" + "@babel/types" "^7.14.2" "@babel/helper-simple-access@^7.13.12": version "7.13.12" @@ -303,10 +303,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.12.13", "@babel/parser@^7.14.2", "@babel/parser@^7.4.3": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.2.tgz#0c1680aa44ad4605b16cbdcc5c341a61bde9c746" - integrity sha512-IoVDIHpsgE/fu7eXBeRWt8zLbDrSvD7H1gpomOkPpBoEN8KCruCqSDdqo8dddwQQrui30KSvQBaMUOJiuFu6QQ== +"@babel/parser@^7.1.0", "@babel/parser@^7.12.13", "@babel/parser@^7.14.2", "@babel/parser@^7.14.3", "@babel/parser@^7.4.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.3.tgz#9b530eecb071fd0c93519df25c5ff9f14759f298" + integrity sha512-7MpZDIfI7sUC5zWo2+foJ50CSI5lcqDehZ0lVgIhSi4bFEk94fLAKlF3Q0nzSQQ+ca0lm+O6G9ztKVBeu8PMRQ== "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.13.12": version "7.13.12" @@ -335,10 +335,11 @@ "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-proposal-class-static-block@^7.13.11": - version "7.13.11" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.13.11.tgz#6fcbba4a962702c17e5371a0c7b39afde186d703" - integrity sha512-fJTdFI4bfnMjvxJyNuaf8i9mVcZ0UhetaGEUHaHV9KEnibLugJkZAtXikR8KcYj+NYmI4DZMS8yQAyg+hvfSqg== + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.14.3.tgz#5a527e2cae4a4753119c3a3e7f64ecae8ccf1360" + integrity sha512-HEjzp5q+lWSjAgJtSluFDrGGosmwTgKwCXdDQZvhKsRlwv3YdkUEqxNrrjesJd+B9E9zvr1PVPVBvhYZ9msjvQ== dependencies: + "@babel/helper-create-class-features-plugin" "^7.14.3" "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-syntax-class-static-block" "^7.12.13" @@ -763,9 +764,9 @@ "@babel/helper-plugin-utils" "^7.12.13" "@babel/plugin-transform-runtime@^7.11.0": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.2.tgz#4e24389bd680dd94ea1b871465d00112ae974425" - integrity sha512-LyA2AiPkaYzI7G5e2YI4NCasTfFe7mZvlupNprDOB7CdNUHb2DQC4uV6oeZ0396gOcicUzUCh0MShL6wiUgk+Q== + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.3.tgz#1fd885a2d0de1d3c223795a4e9be72c2db4515cf" + integrity sha512-t960xbi8wpTFE623ef7sd+UpEC5T6EEguQlTBJDEO05+XwnIWVfuqLw/vdLWY6IdFmtZE+65CZAfByT39zRpkg== dependencies: "@babel/helper-module-imports" "^7.13.12" "@babel/helper-plugin-utils" "^7.13.0" @@ -1330,10 +1331,10 @@ ejs "^2.6.1" magic-string "^0.25.0" -"@tiptap/core@^2.0.0-beta.41", "@tiptap/core@^2.0.0-beta.61": - version "2.0.0-beta.61" - resolved "https://registry.yarnpkg.com/@tiptap/core/-/core-2.0.0-beta.61.tgz#75afbf47d67311b6e24a32ecc0621c5b696e1f38" - integrity sha512-WdUm05DpVO/7acI1nlgoIQpWy9jsIP2Sj7uGvB/L0lhCsdiHQBvluTph8rIKsoUL380N3QosA+akP4Dlp2rbOg== +"@tiptap/core@^2.0.0-beta.41", "@tiptap/core@^2.0.0-beta.65": + version "2.0.0-beta.65" + resolved "https://registry.yarnpkg.com/@tiptap/core/-/core-2.0.0-beta.65.tgz#624dc3bf70686633a2476db8946c90238ff4a73d" + integrity sha512-mdPhJ19Tcx371tGqvw4dVZ9B/1p7V89tocIt+vLXjxsQSoORA7sr4CFS5+femHjp4SKySmjcUsl+zRG/4EhJDQ== dependencies: "@types/prosemirror-commands" "^1.0.4" "@types/prosemirror-inputrules" "^1.0.4" @@ -1350,213 +1351,215 @@ prosemirror-schema-list "^1.1.4" prosemirror-state "^1.3.4" prosemirror-transform "^1.3.2" - prosemirror-view "^1.18.4" + prosemirror-view "^1.18.6" -"@tiptap/extension-blockquote@^2.0.0-beta.12", "@tiptap/extension-blockquote@^2.0.0-beta.6": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-blockquote/-/extension-blockquote-2.0.0-beta.12.tgz#9d8062f13f4f1b306203f340566e9f91ec94d2f2" - integrity sha512-Td5HOGlZVYANWjosir/iFgA9/k2uvVL60e5ODxOYYRu2QCMcZZHQqJNWaGQU2f0dgB/NF18AoQ/yT+I2buSB7Q== +"@tiptap/extension-blockquote@^2.0.0-beta.13", "@tiptap/extension-blockquote@^2.0.0-beta.6": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-blockquote/-/extension-blockquote-2.0.0-beta.13.tgz#72a26dd54e5edb9abc4488ad7c1f0a43d4089bd5" + integrity sha512-7Pis9bXMjyyXVIZS9zIytfRohofEhbTS8tQWCPrBNfb3ceSMQhNZf4jBBXQsngQntkO+0Di5LI1hFpa+XF+RYA== dependencies: prosemirror-inputrules "^1.1.3" -"@tiptap/extension-bold@^2.0.0-beta.12": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-bold/-/extension-bold-2.0.0-beta.12.tgz#3fc774c981adf430f22e578189b34d74d8b38836" - integrity sha512-u6+ABN9QdKz3EdqyBxD0Aj835QuWgQNrerLbvwgNYNIoNlP8/yF1PplQP3hCYS3lawSrmrMfuPQSWy0Uzgz4ag== +"@tiptap/extension-bold@^2.0.0-beta.13": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-bold/-/extension-bold-2.0.0-beta.13.tgz#d6b8f3797a6f7932ae38b9d761cc1effa886b715" + integrity sha512-hMA6GItX/cWN1K9TBI1LeEPo8bFhX9JrE1flr6dxGJ9q58XVbzb2/ojZzcRFVdUp7oxNyQaFe6yP1JhTVcIrog== -"@tiptap/extension-bubble-menu@^2.0.0-beta.16", "@tiptap/extension-bubble-menu@^2.0.0-beta.9": - version "2.0.0-beta.16" - resolved "https://registry.yarnpkg.com/@tiptap/extension-bubble-menu/-/extension-bubble-menu-2.0.0-beta.16.tgz#f25abe14676b80fcee2d73e9d62603ccd943304b" - integrity sha512-gnF57Kya11eXMAXPRiqsIXle3KiN3CRb9gVEIKat/Fk7Ob9dcVZ6U8Ppbg5nfXqAhLRen7v6WQa7smaz0qxfjA== +"@tiptap/extension-bubble-menu@^2.0.0-beta.18", "@tiptap/extension-bubble-menu@^2.0.0-beta.9": + version "2.0.0-beta.18" + resolved "https://registry.yarnpkg.com/@tiptap/extension-bubble-menu/-/extension-bubble-menu-2.0.0-beta.18.tgz#b3f197f2d7492472e3c5bae0f1fd18c62c99756a" + integrity sha512-cCllHCVE4jF1jGVeKTAeM0yqr5I6dzfG5N61gibwDlbjP7rNN0bs1zqCBRGUKJ6u3t0CM975rKYsb8MtHyQuiw== dependencies: prosemirror-state "^1.3.4" - prosemirror-view "^1.18.4" + prosemirror-view "^1.18.6" tippy.js "^6.3.1" -"@tiptap/extension-bullet-list@^2.0.0-beta.12": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-bullet-list/-/extension-bullet-list-2.0.0-beta.12.tgz#bd2e458472e5466cd10c68bec643a0a2a9d297ca" - integrity sha512-B8ck1xKPz6QJ5JrslhoJ5oM9NHFuw2XfB4DiO0pqNVjQhrVR0RPVQjJ4PTheJM1YJ1q88zoHBf5QZfHab1R00g== +"@tiptap/extension-bullet-list@^2.0.0-beta.13": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-bullet-list/-/extension-bullet-list-2.0.0-beta.13.tgz#8b2c4ec8decc5562ae9bb5d97b0a99e0b27f9794" + integrity sha512-6W0T6U/Gm3ypLJDTe79K/0mFc88svJrP6TFjj3tcXwpygnwcCpBmpJv4DG656eGmB6rGGVPe1K/zoT1j6HB8+A== dependencies: prosemirror-inputrules "^1.1.3" "@tiptap/extension-character-count@^2.0.0-beta.5": - version "2.0.0-beta.11" - resolved "https://registry.yarnpkg.com/@tiptap/extension-character-count/-/extension-character-count-2.0.0-beta.11.tgz#ca438b5bdf17fbc7f4d00f6993edbe544b6efad2" - integrity sha512-8k42e5SJJwSlxxO81MX2FpUWUl9HaaVGYgE3lhejAP4obF3FjD+Q+gU0RuJAQTS+vaqyK4QYV1PyhX2qDGU1ag== + version "2.0.0-beta.12" + resolved "https://registry.yarnpkg.com/@tiptap/extension-character-count/-/extension-character-count-2.0.0-beta.12.tgz#3431c1ba784ccbe879cea7cb0418f7762328ab8f" + integrity sha512-45mh/63Y3u9yCFp3DcSyq/Vv6TI9NCIZfGvFLKIxPIm3mD0+DG3y7LnuaWYcZLgC66OdYSFidoLtD9u3/tdK2w== -"@tiptap/extension-code-block@^2.0.0-beta.14": - version "2.0.0-beta.14" - resolved "https://registry.yarnpkg.com/@tiptap/extension-code-block/-/extension-code-block-2.0.0-beta.14.tgz#b1476ac0fa77d2d3d05918b435d0d1d2d17cbab3" - integrity sha512-uhgoEtFhOwsl/KeKcytLexsTKfaHhrS9wbrzOwNIYt5lm23pjNkSwmQHZzcsFGv9x7hD+ByL94HQOulwn/CD8w== +"@tiptap/extension-code-block@^2.0.0-beta.15": + version "2.0.0-beta.15" + resolved "https://registry.yarnpkg.com/@tiptap/extension-code-block/-/extension-code-block-2.0.0-beta.15.tgz#3fb0f04c38f8276195a1a958cc7d3399b52dc46a" + integrity sha512-iBuK/nnUw37O9mZVnuZu+viSNzLz7SRktjDtFhp6RM3ZVSOYIYjt6pJ05EVJ263QEeXB4Q1Qae8/xJOPPHN9hw== dependencies: prosemirror-inputrules "^1.1.3" -"@tiptap/extension-code@^2.0.0-beta.12": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-code/-/extension-code-2.0.0-beta.12.tgz#eec9e7cdf158a6f6823f4e70cd754126641a9223" - integrity sha512-r5rvxelz7oNgclUaie7it42NC/cN1BVOJir6lAoSs9eoiC/M9ZE35MFss+RbZ1jA4qG06afSYqIiwkW1BdS5IA== +"@tiptap/extension-code@^2.0.0-beta.13": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-code/-/extension-code-2.0.0-beta.13.tgz#fa2d14c61fe213c2c40b196e1b1b7a8862cec987" + integrity sha512-em1rGWZXYlH6DrcIWRTvYefBzig34y7HBeWIB3uRHULd2GpRIowfbl8SRFgeapoKj1kbYjAtVr+wshlNi9/ujw== -"@tiptap/extension-document@^2.0.0-beta.11": - version "2.0.0-beta.11" - resolved "https://registry.yarnpkg.com/@tiptap/extension-document/-/extension-document-2.0.0-beta.11.tgz#f1bdd7104dd89eb05a92d37eb598a18b9e084875" - integrity sha512-mew+RsPCL5nvYhlrk1zzSi2q460q76ttlvCk82WWIsoTMQNYqfW7SUYjwA5dvYZIxzbwBJpWyiW9iNOvpwddsg== - -"@tiptap/extension-dropcursor@^2.0.0-beta.12": +"@tiptap/extension-document@^2.0.0-beta.12": version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-dropcursor/-/extension-dropcursor-2.0.0-beta.12.tgz#ecf7caf42507329ae6688da0e0d2882cd491eba2" - integrity sha512-LnYv+ndD+djAv+ayAwd4g1tOahEObfK4bsZmk6vRALouqelm4i3kHPjgTS8QjWiAxUT6iGAqNPKIOEW39cQ9pw== + resolved "https://registry.yarnpkg.com/@tiptap/extension-document/-/extension-document-2.0.0-beta.12.tgz#dfbc7e686075a38662a43708903cd2047cf7f4b2" + integrity sha512-i5anc2n98Jg1gi6WDLTaS76jLIUe41FHuMHgL4DCIDXv8m2q0qnktfmOvh9AMF7cPzJ2NVAR9xYw0Pxm3qXY4w== + +"@tiptap/extension-dropcursor@^2.0.0-beta.13": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-dropcursor/-/extension-dropcursor-2.0.0-beta.13.tgz#2cec03275e23a5394af9da98e7ce1b6c77bbfef7" + integrity sha512-We80k3r//ujjboF2/8H07Y8TStP/U2Nw1nOwTPgWHX5CkrFN2Y9Q0Tdofc8SME8REql+osw8CcSB34iLU+kIcA== dependencies: "@types/prosemirror-dropcursor" "^1.0.1" prosemirror-dropcursor "^1.3.4" -"@tiptap/extension-floating-menu@^2.0.0-beta.13": - version "2.0.0-beta.13" - resolved "https://registry.yarnpkg.com/@tiptap/extension-floating-menu/-/extension-floating-menu-2.0.0-beta.13.tgz#875076953b4f92458b88bcb2e01f143365625e6a" - integrity sha512-xvH+U8eY6ex2OX6O6cJQ+jEcAhCpC1oNx/3QNCk/jXbjjRv3FfePnnG6xqJT25ceqqyDBhqzMA72CXu8UP9ktg== +"@tiptap/extension-floating-menu@^2.0.0-beta.15": + version "2.0.0-beta.15" + resolved "https://registry.yarnpkg.com/@tiptap/extension-floating-menu/-/extension-floating-menu-2.0.0-beta.15.tgz#876526535a2329e27374bd09775d8981c94bfd47" + integrity sha512-ioBegoCx3N6E2MPLsOgbAWeQEz01I91CLRdRQMorGRx+4Q+mAarlGJV11sNeW2rCV9ZQ/LWTw/QzLuBnyESzrA== dependencies: prosemirror-state "^1.3.4" - prosemirror-view "^1.18.4" + prosemirror-view "^1.18.6" tippy.js "^6.3.1" -"@tiptap/extension-gapcursor@^2.0.0-beta.16": - version "2.0.0-beta.16" - resolved "https://registry.yarnpkg.com/@tiptap/extension-gapcursor/-/extension-gapcursor-2.0.0-beta.16.tgz#e0b4512b7c3816afcd05ceb8d0c4d68784267421" - integrity sha512-tGv41qJ3yAe22DvKDxJCd4DAe14RX+K4gunk6n0NBdAqSM692JiNWawlRmL0/zw9xnggNi4agLv7BjVCwh0sHQ== +"@tiptap/extension-gapcursor@^2.0.0-beta.17": + version "2.0.0-beta.17" + resolved "https://registry.yarnpkg.com/@tiptap/extension-gapcursor/-/extension-gapcursor-2.0.0-beta.17.tgz#774037fddab50379b21a58cab91bfd988b9b793f" + integrity sha512-ItucjmbjpIfjBkoarkekfZ2BB4nsJuBptZc2xWj36zpC9ehQvH3uVcgyRPM/5To2gvj4uj8MmYyxO8Q6/PszAg== dependencies: "@types/prosemirror-gapcursor" "^1.0.3" prosemirror-gapcursor "^1.1.5" -"@tiptap/extension-hard-break@^2.0.0-beta.12": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-hard-break/-/extension-hard-break-2.0.0-beta.12.tgz#c28fd0640d55dd99077246301b1abc44788ac191" - integrity sha512-QMzqbelEWE/CBkv0QoAwrONhDE7TeWkIrcxKrU1kUcXq7nF+Za449pTg+uCRWJlZi2uPy7ngFVwr/0ihpd8FYQ== +"@tiptap/extension-hard-break@^2.0.0-beta.13": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-hard-break/-/extension-hard-break-2.0.0-beta.13.tgz#36b5433e70e8eac121d6d26871ff60527b500442" + integrity sha512-C84BzpP3G+86iPJOyJTlfA7RK2IhLkiosvo3qKzPMCELVc2I8mICbuA7cEbveO0Rpg24AAyeec0Q0GYf+WiItw== -"@tiptap/extension-heading@^2.0.0-beta.12": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-heading/-/extension-heading-2.0.0-beta.12.tgz#17704a62d0c6fef4241c0f9cd63d075c40bacba0" - integrity sha512-JZKEMq+wEuzxJxMbVD/FDUCmoy1t+jR+HWopmsLoO8SCdN5W0bZvx2lhnVxXChgik9iX35r/QGzp3f5Xy1ZnOw== +"@tiptap/extension-heading@^2.0.0-beta.13": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-heading/-/extension-heading-2.0.0-beta.13.tgz#7d6f4a0e28af47ad1a1e455af01dbd1997a9f948" + integrity sha512-fGuFs6ZG1mBWceSwes4fAWf4d97xKhbdDWaMjo2+2WAdx6y9fX1s64psYJYwQ5KXnKHaCU+JBPged9igDcXVsg== dependencies: prosemirror-inputrules "^1.1.3" -"@tiptap/extension-history@^2.0.0-beta.11", "@tiptap/extension-history@^2.0.0-beta.5": - version "2.0.0-beta.11" - resolved "https://registry.yarnpkg.com/@tiptap/extension-history/-/extension-history-2.0.0-beta.11.tgz#042c7b55fa196ae8e4a6eb180607b52c3fa474bc" - integrity sha512-E5LVdyVED5fPgrZ5Zp+vnF4Rax3RemKmWFpBhccCxaoqVT67Xf71pVwDaD4C4Usvm9ChQ2AYm7ZzQ6Ekvxbb0Q== +"@tiptap/extension-history@^2.0.0-beta.12", "@tiptap/extension-history@^2.0.0-beta.5": + version "2.0.0-beta.12" + resolved "https://registry.yarnpkg.com/@tiptap/extension-history/-/extension-history-2.0.0-beta.12.tgz#a25607aab594998d6b46576724d56701a2833689" + integrity sha512-8H7fQ1dHMAnNxRar6WOdDJ9+7/S7DX8Mg2hJbahUqN3UfTKZxqorXJB+k/QSeicozz5xWHp+b/RxqiHA3nMu5g== dependencies: "@types/prosemirror-history" "^1.0.2" prosemirror-history "^1.1.3" -"@tiptap/extension-horizontal-rule@^2.0.0-beta.15": - version "2.0.0-beta.15" - resolved "https://registry.yarnpkg.com/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.0.0-beta.15.tgz#011b159c26889696baff372ac29ee314200433c8" - integrity sha512-uvndbPrnvxJJRxlEZSThE6Lj7IuqUuqGtBWqgjHaDL1/yROfXZE7JxceHFI5dXZuV0LSpTWKssAo7J9TkTY04Q== +"@tiptap/extension-horizontal-rule@^2.0.0-beta.16": + version "2.0.0-beta.16" + resolved "https://registry.yarnpkg.com/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.0.0-beta.16.tgz#7f8a3e14de2fc8bbb52816a697450a61d8797689" + integrity sha512-Yh8AM5ArI/FfzdA0TcvIZEpMkRo0Rd9lLyEXYfWV0Be6qkPApa/QDzEreQMf4JIKDE8z0R0yX0XRxh/N5iUmew== dependencies: prosemirror-state "^1.3.4" "@tiptap/extension-image@^2.0.0-beta.6": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-image/-/extension-image-2.0.0-beta.12.tgz#dc3a983c31ec20fb206614ba1b9c6adf57c6edc9" - integrity sha512-/hy2Cq2Qn123btQUQLilc9gB9BSxnGbfDfpIss3lbujSGmVHexnh8Cs2X/tkve/9gvyEHFaqp4s5gisqlMRC7g== + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-image/-/extension-image-2.0.0-beta.13.tgz#58a2e66533e2ef63e67aeb7980fe642b75fa17a0" + integrity sha512-3uapkYVV8xp62+qYWteKYYIzUgP8AK8HzWFnnN/QMO5yZg7Me3u+r+1hJ7FrCQeT+4IyxBlni7jHDEDftmVR4w== -"@tiptap/extension-italic@^2.0.0-beta.12": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-italic/-/extension-italic-2.0.0-beta.12.tgz#1111b56f4b8398cce8f2b6a71c8007922b08cb70" - integrity sha512-49NupSJACtHn+3EMxCNW9mNBgQitMHwoqwR3PsqdMRbRyAIkwN0QCwFg2+II1qxm5dss1izzoHZNZHhJkP/5ew== +"@tiptap/extension-italic@^2.0.0-beta.13": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-italic/-/extension-italic-2.0.0-beta.13.tgz#8b0810e41dc5c3bfb0640d638b0b40464cd81fea" + integrity sha512-IUvXnR9bnOiyE+k0Oa2ugCW5p5Nibvstr6W6g/C6RA36AbV9K/zr4XzQgClfZo96pM8Ay5Ia+jCYeYGOD6Mdaw== "@tiptap/extension-link@^2.0.0-beta.8": - version "2.0.0-beta.16" - resolved "https://registry.yarnpkg.com/@tiptap/extension-link/-/extension-link-2.0.0-beta.16.tgz#4b4356e2ab8d9a03bc17855cf7f2b79855810877" - integrity sha512-0VLbtUSKVCJ7nURMKJzgdG34/67uo3ZoWYhj6itVaaCR1KBzN/c/oG0XOtZFULoOKTCpm3C4ZRDD++BXz1759A== + version "2.0.0-beta.17" + resolved "https://registry.yarnpkg.com/@tiptap/extension-link/-/extension-link-2.0.0-beta.17.tgz#5a3c28762cf332bb4de0fb13ce6973b11496697a" + integrity sha512-/xvUEMRh3E651kXidTEpmlSGqdVXjtnA0KuVModmCmxMchDCpO7kTIpjzS60joCl2Nx2WgICFoJ4SO6dSTMf/w== dependencies: prosemirror-state "^1.3.4" -"@tiptap/extension-list-item@^2.0.0-beta.12", "@tiptap/extension-list-item@^2.0.0-beta.6": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-list-item/-/extension-list-item-2.0.0-beta.12.tgz#546f12dd32949e976bf9f340d2d55d6b71b641bd" - integrity sha512-pATVIofrp0Ap9mYkTZtZzifa8n1cNBPM9+445je6HVyB7TWSPliG6aSToPFnfkEkC62qzgS+pOstD7ZPwyRakg== +"@tiptap/extension-list-item@^2.0.0-beta.13", "@tiptap/extension-list-item@^2.0.0-beta.6": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-list-item/-/extension-list-item-2.0.0-beta.13.tgz#49f32d70a554897ffa3b37b492ebaf5953f8a975" + integrity sha512-5nvrCvcV35J6WjLd8xQCQWnj2HIDsfTalr0D57jMwym3ZCIEvLwf23DQQ1nNsOHhopmS/Emixh+RQpXUZjH8lQ== "@tiptap/extension-mention@^2.0.0-beta.42": - version "2.0.0-beta.54" - resolved "https://registry.yarnpkg.com/@tiptap/extension-mention/-/extension-mention-2.0.0-beta.54.tgz#6a943627b5ebb453a252f0ed56cf092b001f9c50" - integrity sha512-z6if+2kzUv2pvMQjko1vWReaLSg0rYIMAKq1JQGIyOKACKBgwwa4Ua/5+LUJu5R7IM/V/PPuXSQr18Htedt9cg== + version "2.0.0-beta.56" + resolved "https://registry.yarnpkg.com/@tiptap/extension-mention/-/extension-mention-2.0.0-beta.56.tgz#6c113ec84488d982400bf826779d3888fe88d1f3" + integrity sha512-4o3Y8zjmflJJmr6uLOaYVtur1VISWf5rvSl6QNR2UaLVFYofEx0JanMZ83qlv5GchDDNvB1tQ2tqE/jhphAOPg== dependencies: - "@tiptap/suggestion" "^2.0.0-beta.54" + "@tiptap/suggestion" "^2.0.0-beta.56" -"@tiptap/extension-ordered-list@^2.0.0-beta.12", "@tiptap/extension-ordered-list@^2.0.0-beta.6": - version "2.0.0-beta.12" - resolved "https://registry.yarnpkg.com/@tiptap/extension-ordered-list/-/extension-ordered-list-2.0.0-beta.12.tgz#3f82258e7a0f818e627eb6ea938b34f6d6d4019d" - integrity sha512-Jh8v51V1296Y2Q4TGrPUltNP2zSUmZDKN7eR1atYgZHxMm97ngcP4gXqloVgFwuWG3VDwVKqt4ye/O6Tohflvw== +"@tiptap/extension-ordered-list@^2.0.0-beta.13", "@tiptap/extension-ordered-list@^2.0.0-beta.6": + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/@tiptap/extension-ordered-list/-/extension-ordered-list-2.0.0-beta.13.tgz#4df2264e1405f73848cd2fedcea95f3064911cd7" + integrity sha512-BX4cGRmiNJ/n6VHao7BALJOMAofwcp1zrleWI5d0/7YqkUKP7ExIMiRFVrgjrg4qxq9cVNXa00GLs++FeuySQA== dependencies: prosemirror-inputrules "^1.1.3" -"@tiptap/extension-paragraph@^2.0.0-beta.13": - version "2.0.0-beta.13" - resolved "https://registry.yarnpkg.com/@tiptap/extension-paragraph/-/extension-paragraph-2.0.0-beta.13.tgz#2e47383f20fcac08cfb660a6be3f21f59f9e63a5" - integrity sha512-Fc0NVp+M/qs8BfXrd0hnyU/DzTzRHWzVN/ZILWUh2VBev+XBNSlkP0XXv4deB3TOPNbayLaQWx89Y/6qbUnPWw== +"@tiptap/extension-paragraph@^2.0.0-beta.14": + version "2.0.0-beta.14" + resolved "https://registry.yarnpkg.com/@tiptap/extension-paragraph/-/extension-paragraph-2.0.0-beta.14.tgz#6b8c64166f3b581a1f8e1ae415b895e5bd2952d1" + integrity sha512-IFc2/WMgmpPTRS/h++5vNCiSyT4yTj/NGG9L+x35aPCDQutTYW2V2i1Lwe2lcxpPVF4ofDX50skjdIiWZoGEqA== -"@tiptap/extension-strike@^2.0.0-beta.13": - version "2.0.0-beta.13" - resolved "https://registry.yarnpkg.com/@tiptap/extension-strike/-/extension-strike-2.0.0-beta.13.tgz#53e2ee94b9f79cf7ea8b70ebef04d6e585f1b0c5" - integrity sha512-889DpU/iE70da/b4Vbl8SXxeqG0XFO6o2Lpsyo/A4LDXy/SwpHQMUJI2snIeDoyqq/W1ZCtr+QDAVUyiCU3Wwg== +"@tiptap/extension-strike@^2.0.0-beta.14": + version "2.0.0-beta.14" + resolved "https://registry.yarnpkg.com/@tiptap/extension-strike/-/extension-strike-2.0.0-beta.14.tgz#409ec292368d65ba8b4e55fb9825f4e44cc075ad" + integrity sha512-25D+neKErB8svQ8TOkUqUq9Nln+O62Kp5doR/aATVtNCohWOqeAF/Q439QL4GsCkAAhXMdh2yQIF/mCSxFsdTQ== -"@tiptap/extension-text@^2.0.0-beta.11": - version "2.0.0-beta.11" - resolved "https://registry.yarnpkg.com/@tiptap/extension-text/-/extension-text-2.0.0-beta.11.tgz#7e8579b7311e92dd929652c492fe2fc055c84fc6" - integrity sha512-ueNdZYhFQURkHF/QfGNft9Kr6d0n42pqMr0PM0YgiC+7kxEsxHeehPqj/Db3TzyRxiW+gS4ttg1cWB+tPHB+Vg== +"@tiptap/extension-text@^2.0.0-beta.12": + version "2.0.0-beta.12" + resolved "https://registry.yarnpkg.com/@tiptap/extension-text/-/extension-text-2.0.0-beta.12.tgz#b857f36dda5e8cedd350f9bad7115e4060f8d9c0" + integrity sha512-JEWLYOJKSpmpaI0YTzj30uodpsrSYDGSvy5dT5bYvWovIvLmggKPHl0iKIPDWAM5xfd07CkP2+BFFRblMh96IA== "@tiptap/extension-underline@^2.0.0-beta.7": - version "2.0.0-beta.13" - resolved "https://registry.yarnpkg.com/@tiptap/extension-underline/-/extension-underline-2.0.0-beta.13.tgz#c5970091031bbcfd1ea14c7fb069fdef13ee14ed" - integrity sha512-ZBHNruw8oj9sLVs5RKlY7D2Eb5P8POi8AuazekHk17yuzW/rn/aLhfqDglDItc14DRumefaIt3PwZUij9IKMuw== + version "2.0.0-beta.14" + resolved "https://registry.yarnpkg.com/@tiptap/extension-underline/-/extension-underline-2.0.0-beta.14.tgz#b85f3421a773422f4e6d3ee8b46432c23a311774" + integrity sha512-x/XN12gKrKwNx4RB5/h8bC474fpacivnM2F5A5zUWKIviS+kYJ8pZgAPhQBvMjeJoFrn5oLgUc5f+HEjJaLJJw== "@tiptap/starter-kit@^2.0.0-beta.37": - version "2.0.0-beta.58" - resolved "https://registry.yarnpkg.com/@tiptap/starter-kit/-/starter-kit-2.0.0-beta.58.tgz#a121eb896521bc5cf403d8e2a75b5a5f04da83ed" - integrity sha512-J8h5rqfCbG/Ir14JDsNh2eQEqy67UExA99B2WZu8bjV7aXW2zuIXKFZQ7qOvbzy2IbahHKIqhjq7fHpY4AhpEw== + version "2.0.0-beta.62" + resolved "https://registry.yarnpkg.com/@tiptap/starter-kit/-/starter-kit-2.0.0-beta.62.tgz#56813fe45c59f613c3568b1ee070fcbfb8735c17" + integrity sha512-49BV+CtqK/g6/sxiC3iCcONKbjGZ6/QEdpYdmOVPs0MgCI19woign6DomOv+HeV3XbhYraq+MWwYG77Q21rxcg== dependencies: - "@tiptap/core" "^2.0.0-beta.61" - "@tiptap/extension-blockquote" "^2.0.0-beta.12" - "@tiptap/extension-bold" "^2.0.0-beta.12" - "@tiptap/extension-bullet-list" "^2.0.0-beta.12" - "@tiptap/extension-code" "^2.0.0-beta.12" - "@tiptap/extension-code-block" "^2.0.0-beta.14" - "@tiptap/extension-document" "^2.0.0-beta.11" - "@tiptap/extension-dropcursor" "^2.0.0-beta.12" - "@tiptap/extension-gapcursor" "^2.0.0-beta.16" - "@tiptap/extension-hard-break" "^2.0.0-beta.12" - "@tiptap/extension-heading" "^2.0.0-beta.12" - "@tiptap/extension-history" "^2.0.0-beta.11" - "@tiptap/extension-horizontal-rule" "^2.0.0-beta.15" - "@tiptap/extension-italic" "^2.0.0-beta.12" - "@tiptap/extension-list-item" "^2.0.0-beta.12" - "@tiptap/extension-ordered-list" "^2.0.0-beta.12" - "@tiptap/extension-paragraph" "^2.0.0-beta.13" - "@tiptap/extension-strike" "^2.0.0-beta.13" - "@tiptap/extension-text" "^2.0.0-beta.11" + "@tiptap/core" "^2.0.0-beta.65" + "@tiptap/extension-blockquote" "^2.0.0-beta.13" + "@tiptap/extension-bold" "^2.0.0-beta.13" + "@tiptap/extension-bullet-list" "^2.0.0-beta.13" + "@tiptap/extension-code" "^2.0.0-beta.13" + "@tiptap/extension-code-block" "^2.0.0-beta.15" + "@tiptap/extension-document" "^2.0.0-beta.12" + "@tiptap/extension-dropcursor" "^2.0.0-beta.13" + "@tiptap/extension-gapcursor" "^2.0.0-beta.17" + "@tiptap/extension-hard-break" "^2.0.0-beta.13" + "@tiptap/extension-heading" "^2.0.0-beta.13" + "@tiptap/extension-history" "^2.0.0-beta.12" + "@tiptap/extension-horizontal-rule" "^2.0.0-beta.16" + "@tiptap/extension-italic" "^2.0.0-beta.13" + "@tiptap/extension-list-item" "^2.0.0-beta.13" + "@tiptap/extension-ordered-list" "^2.0.0-beta.13" + "@tiptap/extension-paragraph" "^2.0.0-beta.14" + "@tiptap/extension-strike" "^2.0.0-beta.14" + "@tiptap/extension-text" "^2.0.0-beta.12" -"@tiptap/suggestion@^2.0.0-beta.54": - version "2.0.0-beta.54" - resolved "https://registry.yarnpkg.com/@tiptap/suggestion/-/suggestion-2.0.0-beta.54.tgz#a4dc182a8f091f4b5ff4a44714f54b80cc74228c" - integrity sha512-b9IK+LRJgPyQ35+JH8Wc2yZ40tH8qwJ09arx8DMCQ7WP0vMLYfKdl20OXT/0UKDyEYFudobGYusWdatr3hZvvg== +"@tiptap/suggestion@^2.0.0-beta.56": + version "2.0.0-beta.56" + resolved "https://registry.yarnpkg.com/@tiptap/suggestion/-/suggestion-2.0.0-beta.56.tgz#cbf52f698d78de83a8dd72b781d4d4011731cd5e" + integrity sha512-pImKbVHqWyv3L73PRwGks9sP2VykqacXXt3FqKM417T9KSdAfMjjt0i++yedxpxlTFeWhXEZonhTunDvXVjSbw== dependencies: prosemirror-model "^1.14.1" prosemirror-state "^1.3.4" - prosemirror-view "^1.18.4" + prosemirror-view "^1.18.6" "@tiptap/vue-2@^2.0.0-beta.21": - version "2.0.0-beta.28" - resolved "https://registry.yarnpkg.com/@tiptap/vue-2/-/vue-2-2.0.0-beta.28.tgz#64325280568b1a70ac8a1db37f7eef0fbfb8e030" - integrity sha512-xV1NPfdxT7bHoy5W9vs76/0SLnOb6kpGL2TxWBYOwP7/iZtWp5L/Y9b/0IklQgALpimxpuV2wnCvcnTGRPZ/sw== + version "2.0.0-beta.31" + resolved "https://registry.yarnpkg.com/@tiptap/vue-2/-/vue-2-2.0.0-beta.31.tgz#7262f1c24ea39930281dc6644057019c93dbc76d" + integrity sha512-kx37cU8rz41rSBahhoveQloVp/vHuTSIn/e9gpZGysWg4Yudsc/Cv75L9efPUAebdtFIqiHDVpKUq04Ag6Omcg== dependencies: - "@tiptap/extension-bubble-menu" "^2.0.0-beta.16" - "@tiptap/extension-floating-menu" "^2.0.0-beta.13" - prosemirror-view "^1.18.4" + "@tiptap/extension-bubble-menu" "^2.0.0-beta.18" + "@tiptap/extension-floating-menu" "^2.0.0-beta.15" + prosemirror-view "^1.18.6" "@types/anymatch@*": - version "1.3.1" - resolved "https://registry.yarnpkg.com/@types/anymatch/-/anymatch-1.3.1.tgz#336badc1beecb9dacc38bea2cf32adf627a8421a" - integrity sha512-/+CRPXpBDpo2RK9C68N3b2cOvO0Cf5B9aPijHsoDQTHivnGSObdOF2BRQOYjojWTDy6nQvMjmqRXIxH55VjxxA== + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/anymatch/-/anymatch-3.0.0.tgz#c95ff14401dbb2869913afac3935af4ad0d37f1a" + integrity sha512-qLChUo6yhpQ9k905NwL74GU7TxH+9UODwwQ6ICNI+O6EDMExqH/Cv9NsbmcZ7yC/rRXJ/AHCzfgjsFRY5fKjYw== + dependencies: + anymatch "*" "@types/babel__core@^7.1.0": version "7.1.14" @@ -2006,12 +2009,12 @@ integrity sha512-HrCIVMLjE1MOozVoD86622S7aunluLb2PJdPfb3nYiEtohm8mIB/vyv0Fd37AdeMFrTUQXEunw78YloMA3Qilg== "@typescript-eslint/eslint-plugin@^4.18.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.23.0.tgz#29d3c9c81f6200b1fd6d8454cfb007ba176cde80" - integrity sha512-tGK1y3KIvdsQEEgq6xNn1DjiFJtl+wn8JJQiETtCbdQxw1vzjXyAaIkEmO2l6Nq24iy3uZBMFQjZ6ECf1QdgGw== + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.24.0.tgz#03801ffc25b2af9d08f3dc9bccfc0b7ce3780d0f" + integrity sha512-qbCgkPM7DWTsYQGjx9RTuQGswi+bEt0isqDBeo+CKV0953zqI0Tp7CZ7Fi9ipgFA6mcQqF4NOVNwS/f2r6xShw== dependencies: - "@typescript-eslint/experimental-utils" "4.23.0" - "@typescript-eslint/scope-manager" "4.23.0" + "@typescript-eslint/experimental-utils" "4.24.0" + "@typescript-eslint/scope-manager" "4.24.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" lodash "^4.17.15" @@ -2030,15 +2033,15 @@ eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/experimental-utils@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.23.0.tgz#f2059434cd6e5672bfeab2fb03b7c0a20622266f" - integrity sha512-WAFNiTDnQfrF3Z2fQ05nmCgPsO5o790vOhmWKXbbYQTO9erE1/YsFot5/LnOUizLzU2eeuz6+U/81KV5/hFTGA== +"@typescript-eslint/experimental-utils@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.24.0.tgz#c23ead9de44b99c3a5fd925c33a106b00165e172" + integrity sha512-IwTT2VNDKH1h8RZseMH4CcYBz6lTvRoOLDuuqNZZoThvfHEhOiZPQCow+5El3PtyxJ1iDr6UXZwYtE3yZQjhcw== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.23.0" - "@typescript-eslint/types" "4.23.0" - "@typescript-eslint/typescript-estree" "4.23.0" + "@typescript-eslint/scope-manager" "4.24.0" + "@typescript-eslint/types" "4.24.0" + "@typescript-eslint/typescript-estree" "4.24.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2054,32 +2057,32 @@ eslint-visitor-keys "^1.1.0" "@typescript-eslint/parser@^4.18.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.23.0.tgz#239315d38e42e852bef43a4b0b01bef78f78911c" - integrity sha512-wsvjksHBMOqySy/Pi2Q6UuIuHYbgAMwLczRl4YanEPKW5KVxI9ZzDYh3B5DtcZPQTGRWFJrfcbJ6L01Leybwug== + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.24.0.tgz#2e5f1cc78ffefe43bfac7e5659309a92b09a51bd" + integrity sha512-dj1ZIh/4QKeECLb2f/QjRwMmDArcwc2WorWPRlB8UNTZlY1KpTVsbX7e3ZZdphfRw29aTFUSNuGB8w9X5sS97w== dependencies: - "@typescript-eslint/scope-manager" "4.23.0" - "@typescript-eslint/types" "4.23.0" - "@typescript-eslint/typescript-estree" "4.23.0" + "@typescript-eslint/scope-manager" "4.24.0" + "@typescript-eslint/types" "4.24.0" + "@typescript-eslint/typescript-estree" "4.24.0" debug "^4.1.1" -"@typescript-eslint/scope-manager@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.23.0.tgz#8792ef7eacac122e2ec8fa2d30a59b8d9a1f1ce4" - integrity sha512-ZZ21PCFxPhI3n0wuqEJK9omkw51wi2bmeKJvlRZPH5YFkcawKOuRMQMnI8mH6Vo0/DoHSeZJnHiIx84LmVQY+w== +"@typescript-eslint/scope-manager@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.24.0.tgz#38088216f0eaf235fa30ed8cabf6948ec734f359" + integrity sha512-9+WYJGDnuC9VtYLqBhcSuM7du75fyCS/ypC8c5g7Sdw7pGL4NDTbeH38eJPfzIydCHZDoOgjloxSAA3+4l/zsA== dependencies: - "@typescript-eslint/types" "4.23.0" - "@typescript-eslint/visitor-keys" "4.23.0" + "@typescript-eslint/types" "4.24.0" + "@typescript-eslint/visitor-keys" "4.24.0" "@typescript-eslint/types@3.10.1": version "3.10.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-3.10.1.tgz#1d7463fa7c32d8a23ab508a803ca2fe26e758727" integrity sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ== -"@typescript-eslint/types@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.23.0.tgz#da1654c8a5332f4d1645b2d9a1c64193cae3aa3b" - integrity sha512-oqkNWyG2SLS7uTWLZf6Sr7Dm02gA5yxiz1RP87tvsmDsguVATdpVguHr4HoGOcFOpCvx9vtCSCyQUGfzq28YCw== +"@typescript-eslint/types@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.24.0.tgz#6d0cca2048cbda4e265e0c4db9c2a62aaad8228c" + integrity sha512-tkZUBgDQKdvfs8L47LaqxojKDE+mIUmOzdz7r+u+U54l3GDkTpEbQ1Jp3cNqqAU9vMUCBA1fitsIhm7yN0vx9Q== "@typescript-eslint/typescript-estree@3.10.1": version "3.10.1" @@ -2095,13 +2098,13 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.23.0.tgz#0753b292097523852428a6f5a1aa8ccc1aae6cd9" - integrity sha512-5Sty6zPEVZF5fbvrZczfmLCOcby3sfrSPu30qKoY1U3mca5/jvU5cwsPb/CO6Q3ByRjixTMIVsDkqwIxCf/dMw== +"@typescript-eslint/typescript-estree@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.24.0.tgz#b49249679a98014d8b03e8d4b70864b950e3c90f" + integrity sha512-kBDitL/by/HK7g8CYLT7aKpAwlR8doshfWz8d71j97n5kUa5caHWvY0RvEUEanL/EqBJoANev8Xc/mQ6LLwXGA== dependencies: - "@typescript-eslint/types" "4.23.0" - "@typescript-eslint/visitor-keys" "4.23.0" + "@typescript-eslint/types" "4.24.0" + "@typescript-eslint/visitor-keys" "4.24.0" debug "^4.1.1" globby "^11.0.1" is-glob "^4.0.1" @@ -2115,12 +2118,12 @@ dependencies: eslint-visitor-keys "^1.1.0" -"@typescript-eslint/visitor-keys@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.23.0.tgz#7215cc977bd3b4ef22467b9023594e32f9e4e455" - integrity sha512-5PNe5cmX9pSifit0H+nPoQBXdbNzi5tOEec+3riK+ku4e3er37pKxMKDH5Ct5Y4fhWxcD4spnlYjxi9vXbSpwg== +"@typescript-eslint/visitor-keys@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.24.0.tgz#a8fafdc76cad4e04a681a945fbbac4e35e98e297" + integrity sha512-4ox1sjmGHIxjEDBnMCtWFFhErXtKA1Ec0sBpuz0fqf3P+g3JFGyTxxbF06byw0FRsPnnbq44cKivH7Ks1/0s6g== dependencies: - "@typescript-eslint/types" "4.23.0" + "@typescript-eslint/types" "4.24.0" eslint-visitor-keys "^2.0.0" "@vue/babel-helper-vue-jsx-merge-props@^1.2.1": @@ -2837,6 +2840,14 @@ any-promise@^1.0.0: resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= +anymatch@*, anymatch@~3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" + integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + anymatch@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" @@ -2845,14 +2856,6 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -anymatch@~3.1.1: - version "3.1.2" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" - integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - apollo-absinthe-upload-link@^1.5.0: version "1.7.0" resolved "https://registry.yarnpkg.com/apollo-absinthe-upload-link/-/apollo-absinthe-upload-link-1.7.0.tgz#74e76ef510cd6bbf24809f764220280c9e5179e9" @@ -5126,9 +5129,9 @@ ejs@^2.6.1: integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA== electron-to-chromium@^1.3.723: - version "1.3.728" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.728.tgz#dbedd6373f595ae10a13d146b66bece4c1afa5bd" - integrity sha512-SHv4ziXruBpb1Nz4aTuqEHBYi/9GNCJMYIJgDEXrp/2V01nFXMNFUTli5Z85f5ivSkioLilQatqBYFB44wNJrA== + version "1.3.731" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.731.tgz#9f17f7e16f798eaddb21409d80aa755b5b5053dc" + integrity sha512-dn1Nyd0DuFa3xhqZJr6/L9phyk+YXJpvrz6Vcu6mFxFqr5TQ9r/F3yvOYFUrEwY4Tbb1YBjN19TDKnSVCQvalA== elegant-spinner@^1.0.1: version "1.0.1" @@ -10377,7 +10380,7 @@ prosemirror-transform@^1.0.0, prosemirror-transform@^1.1.0, prosemirror-transfor dependencies: prosemirror-model "^1.0.0" -prosemirror-view@^1.0.0, prosemirror-view@^1.1.0, prosemirror-view@^1.18.4: +prosemirror-view@^1.0.0, prosemirror-view@^1.1.0, prosemirror-view@^1.18.6: version "1.18.6" resolved "https://registry.yarnpkg.com/prosemirror-view/-/prosemirror-view-1.18.6.tgz#52dbad5e0748a4babce017359d7ab3750baa0ac2" integrity sha512-ufY4EFvvTOI6011KFNFt6AXKEcSMUVxMOvoTrCiXR8UZOKTSx5CmPNzGoF+vYE5cDCco76ciokDrucAFN5imbQ== diff --git a/lib/service/metadata/post.ex b/lib/service/metadata/post.ex index 6553b78f9..db3486eba 100644 --- a/lib/service/metadata/post.ex +++ b/lib/service/metadata/post.ex @@ -1,6 +1,7 @@ defimpl Mobilizon.Service.Metadata, for: Mobilizon.Posts.Post do alias Phoenix.HTML alias Phoenix.HTML.Tag + alias Mobilizon.Medias.{File, Media} alias Mobilizon.Posts.Post alias Mobilizon.Web.JsonLD.ObjectView import Mobilizon.Service.Metadata.Utils, only: [process_description: 2, strip_tags: 1] @@ -8,15 +9,17 @@ defimpl Mobilizon.Service.Metadata, for: Mobilizon.Posts.Post do def build_tags(%Post{} = post, locale \\ "en") do post = Map.put(post, :body, process_description(post.body, locale)) - tags = [ - Tag.tag(:meta, property: "og:title", content: post.title), - Tag.tag(:meta, property: "og:url", content: post.url), - Tag.tag(:meta, property: "og:description", content: post.body), - Tag.tag(:meta, property: "og:type", content: "article"), - Tag.tag(:meta, property: "twitter:card", content: "summary"), - # Tell Search Engines what's the origin - Tag.tag(:link, rel: "canonical", href: post.url) - ] + tags = + [ + Tag.tag(:meta, property: "og:title", content: post.title), + Tag.tag(:meta, property: "og:url", content: post.url), + Tag.tag(:meta, property: "og:description", content: post.body), + Tag.tag(:meta, property: "og:type", content: "article"), + Tag.tag(:meta, property: "twitter:card", content: "summary"), + # Tell Search Engines what's the origin + Tag.tag(:link, rel: "canonical", href: post.url) + ] + |> maybe_add_post_picture(post) tags ++ [ @@ -31,4 +34,17 @@ defimpl Mobilizon.Service.Metadata, for: Mobilizon.Posts.Post do |> ObjectView.render(%{post: %{post | title: strip_tags(title)}}) |> Jason.encode!() end + + @spec maybe_add_post_picture(list(), Post.t()) :: list() + defp maybe_add_post_picture(tags, %Post{picture: %Media{file: %File{url: url}}}), + do: + tags ++ + [ + Tag.tag(:meta, + property: "og:image", + content: url + ) + ] + + defp maybe_add_post_picture(tags, _), do: tags end diff --git a/mix.exs b/mix.exs index 45f23f100..7e56ef2d1 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Mobilizon.Mixfile do use Mix.Project - @version "1.1.3" + @version "1.1.4" def project do [ diff --git a/mix.lock b/mix.lock index 9ac2ea9ad..6e2c03442 100644 --- a/mix.lock +++ b/mix.lock @@ -86,14 +86,14 @@ "makeup": {:hex, :makeup, "1.0.5", "d5a830bc42c9800ce07dd97fa94669dfb93d3bf5fcf6ea7a0c67b2e0e4a7f26c", [:mix], [{:nimble_parsec, "~> 0.5 or ~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cfa158c02d3f5c0c665d0af11512fed3fba0144cf1aadee0f2ce17747fba2ca9"}, "makeup_elixir": {:hex, :makeup_elixir, "0.15.1", "b5888c880d17d1cc3e598f05cdb5b5a91b7b17ac4eaf5f297cb697663a1094dd", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.1", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "db68c173234b07ab2a07f645a5acdc117b9f99d69ebf521821d89690ae6c6ec8"}, "makeup_erlang": {:hex, :makeup_erlang, "0.1.1", "3fcb7f09eb9d98dc4d208f49cc955a34218fc41ff6b84df7c75b3e6e533cc65f", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "174d0809e98a4ef0b3309256cbf97101c6ec01c4ab0b23e926a9e17df2077cbb"}, - "meck": {:hex, :meck, "0.8.13", "ffedb39f99b0b99703b8601c6f17c7f76313ee12de6b646e671e3188401f7866", [:rebar3], [], "hexpm", "d34f013c156db51ad57cc556891b9720e6a1c1df5fe2e15af999c84d6cebeb1a"}, + "meck": {:hex, :meck, "0.9.2", "85ccbab053f1db86c7ca240e9fc718170ee5bda03810a6292b5306bf31bae5f5", [:rebar3], [], "hexpm", "81344f561357dc40a8344afa53767c32669153355b626ea9fcbc8da6b3045826"}, "metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"}, "mime": {:hex, :mime, "1.6.0", "dabde576a497cef4bbdd60aceee8160e02a6c89250d6c0b29e56c0dfb00db3d2", [:mix], [], "hexpm", "31a1a8613f8321143dde1dafc36006a17d28d02bdfecb9e95a880fa7aabd19a7"}, "mimerl": {:hex, :mimerl, "1.2.0", "67e2d3f571088d5cfd3e550c383094b47159f3eee8ffa08e64106cdf5e981be3", [:rebar3], [], "hexpm", "f278585650aa581986264638ebf698f8bb19df297f66ad91b18910dfc6e19323"}, "mimetype_parser": {:hex, :mimetype_parser, "0.1.3", "628ac9fe56aa7edcedb534d68397dd66674ab82493c8ebe39acb9a19b666099d", [:mix], [], "hexpm", "7d8f80c567807ce78cd93c938e7f4b0a20b1aaaaab914bf286f68457d9f7a852"}, "mix_test_watch": {:hex, :mix_test_watch, "1.0.2", "34900184cbbbc6b6ed616ed3a8ea9b791f9fd2088419352a6d3200525637f785", [:mix], [{:file_system, "~> 0.2.1 or ~> 0.3", [hex: :file_system, repo: "hexpm", optional: false]}], "hexpm", "47ac558d8b06f684773972c6d04fcc15590abdb97aeb7666da19fcbfdc441a07"}, "mmdb2_decoder": {:hex, :mmdb2_decoder, "3.0.0", "54828676a36e75e9a25bc9a0bb0598d4c7fcc767bf0b40674850b22e05b7b6cc", [:mix], [], "hexpm", "359dc9242915538d1dceb9f6d96c72201dca76ce62e49d22e2ed1e86f20bea8e"}, - "mock": {:hex, :mock, "0.3.6", "e810a91fabc7adf63ab5fdbec5d9d3b492413b8cda5131a2a8aa34b4185eb9b4", [:mix], [{:meck, "~> 0.8.13", [hex: :meck, repo: "hexpm", optional: false]}], "hexpm", "bcf1d0a6826fb5aee01bae3d74474669a3fa8b2df274d094af54a25266a1ebd2"}, + "mock": {:hex, :mock, "0.3.7", "75b3bbf1466d7e486ea2052a73c6e062c6256fb429d6797999ab02fa32f29e03", [:mix], [{:meck, "~> 0.9.2", [hex: :meck, repo: "hexpm", optional: false]}], "hexpm", "4da49a4609e41fd99b7836945c26f373623ea968cfb6282742bcb94440cf7e5c"}, "mogrify": {:hex, :mogrify, "0.8.0", "3506f3ca3f7b95a155f3b4ef803b5db176f5a0633723e3fe85e0d6399e3b11c8", [:mix], [], "hexpm", "2278d245f07056ea3b586e98801e933695147066fa4cf563f552c1b4f0ff8ad9"}, "mox": {:hex, :mox, "1.0.0", "4b3c7005173f47ff30641ba044eb0fe67287743eec9bd9545e37f3002b0a9f8b", [:mix], [], "hexpm", "201b0a20b7abdaaab083e9cf97884950f8a30a1350a1da403b3145e213c6f4df"}, "nimble_parsec": {:hex, :nimble_parsec, "1.1.0", "3a6fca1550363552e54c216debb6a9e95bd8d32348938e13de5eda962c0d7f89", [:mix], [], "hexpm", "08eb32d66b706e913ff748f11694b17981c0b04a33ef470e33e11b3d3ac8f54b"}, diff --git a/test/service/metadata/metadata_test.exs b/test/service/metadata/metadata_test.exs index a2148258f..0a747eab2 100644 --- a/test/service/metadata/metadata_test.exs +++ b/test/service/metadata/metadata_test.exs @@ -120,7 +120,7 @@ defmodule Mobilizon.Service.MetadataTest do Metadata.Utils.process_description(post.body) }\" property=\"og:description\">