diff --git a/.eslintrc.js b/.eslintrc.js index 3c48baa8..4868f360 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,6 +21,8 @@ module.exports = { 'generator-star-spacing': 0, // allow debugger during development 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, - 'vue/require-prop-types': 0 + 'vue/require-prop-types': 0, + 'vue/no-unused-vars': 0, + 'no-tabs': 0 } } diff --git a/.gitignore b/.gitignore index 479d57c4..c8beda86 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ test/e2e/reports selenium-debug.log .idea/ config/local.json +config/local.*.json diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 00000000..9e66f523 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,54 @@ +pipeline: + lint: + when: + event: + - push + - pull_request + image: node:16 + commands: + - yarn + - yarn lint + - yarn stylelint + + test: + when: + event: + - push + - pull_request + image: node:16 + commands: + - apt update + - apt install firefox-esr -y --no-install-recommends + - yarn + - yarn unit + + build: + when: + event: + - push + branch: + - develop + image: node:16 + commands: + - yarn + - yarn build + + release: + when: + event: + - push + branch: + - develop + image: node:16 + secrets: + - SCW_ACCESS_KEY + - SCW_SECRET_KEY + - SCW_DEFAULT_ORGANIZATION_ID + commands: + - apt-get update && apt-get install -y rclone wget zip + - wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64 + - mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli + - chmod +x scaleway-cli + - ./scaleway-cli object config install type=rclone + - zip akkoma-fe.zip -r dist + - rclone copyto akkoma-fe.zip scaleway:akkoma-updates/frontend/akkoma-fe.zip diff --git a/CHANGELOG.md b/CHANGELOG.md index d7cc6994..fac68ac0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Media modal now also displays description and counter position in gallery (i.e. 1/5) - Ability to rearrange order of attachments when uploading - Enabled users to zoom and pan images in media viewer with mouse and touch +- Added frontend ui for account migration ## [2.4.2] - 2022-01-09 diff --git a/index.html b/index.html index baf6d276..1f4e798c 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,12 @@ + Pleroma + + + + + diff --git a/package.json b/package.json index 58aeb363..405b6fe4 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "escape-html": "1.0.3", "js-cookie": "^3.0.1", "localforage": "1.10.0", + "mfm-js": "^0.22.1", "parse-link-header": "1.0.1", "phoenix": "1.6.2", "punycode.js": "2.1.0", diff --git a/src/App.vue b/src/App.vue index 21f6f686..d1d4217b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,8 +15,12 @@ class="app-layout container" :class="classes" > -
-