diff --git a/.dockerignore b/.dockerignore index bf9782836..c1a60d799 100644 --- a/.dockerignore +++ b/.dockerignore @@ -15,6 +15,5 @@ Makefile README.md SECURITY.md ssh_match_hostname -support .js/package-lock.json js/node_modules \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index cb46be822..3d3cad232 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,49 @@ 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.1 - 21-03-2021 + +### Changed + +- Allow to remove user location setting and location information on an event or group +- Instance level feeds are now shown on the instance About page, and are exposed as `rel=alternate` links, if instance level feeds are activated in the config +- Webfinger module now queries the host-meta XRD endpoint to detect the webfinger well-known endpoint +- Instance maximum upload sizes are now exposed in the API +- Improve handling of media files which are too heavy +- Improve details when editing or showing an user through CLI +- More strict browser compatibility +- Renamed "Close events" to "Nearby events" ("close" is too close to "closed") +- Improved Sentry integration + +### Fixes + +- Fixed accessing a group discussion page without being a member (the page was just broken) +- Fixed reloading the members list after excluding a member +- Fixed comments being closed under an event message when not connected +- Fixed path issue when fetching favicon for resources +- Fixed content type and size missing for profile avatars +- Fixed HTTP clients user-agent not using runtime configuration +- Fixed the `support` folder not being copied into releases +- Fixed the participation button position when text is too long or in some cases +- Fixed the incorrect CSP configuration +- Fixed discussions being sent to followers instead of members +- Fixed showing broken public UI for deleted/suspended group +- Fixed warning when getting out of creating/editing an unsaved event that was broken for some languages +- Fixed addresses being not trimmed in the iCalendar exports +- Fixed editing an user's email in CLI +- Fixed suspended actors being refreshed + + +### Translations + +- Gaelic +- German +- Kabyle (New!) +- Norwegian +- Russian +- Slovenian +- Spanish + ## 1.1.0 - 31-03-2021 This version introduces a new way to install and host Mobilizon : Elixir releases. This is the new default way of installing Mobilizon. Please read [UPGRADE.md](./UPGRADE.md#upgrading-from-10-to-11) for details on how to migrate to Elixir binary releases or stay on source install. diff --git a/UPGRADE.md b/UPGRADE.md index 9e5d24b59..257e16eb9 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -16,7 +16,7 @@ Staying on source releases means: * You can change things in Mobilizon's code and recompile right away to test changes ## Releases -If you want to migrate to releases, [we provide a full guide](https://tcit.frama.io/documentation/administration/upgrading/source_to_release/). You may do this at any time. +If you want to migrate to releases, [we provide a full guide](https://docs.joinmobilizon.org/administration/upgrading/source_to_release/). You may do this at any time. ## Source install To stay on a source release, you just need to check the following things: diff --git a/config/config.exs b/config/config.exs index f860054e7..68456dd19 100644 --- a/config/config.exs +++ b/config/config.exs @@ -25,9 +25,9 @@ config :mobilizon, :instance, allow_relay: true, federating: true, remote_limit: 100_000, - upload_limit: 10_000_000, - avatar_upload_limit: 2_000_000, - banner_upload_limit: 4_000_000, + upload_limit: 10_485_760, + avatar_upload_limit: 2_097_152, + banner_upload_limit: 4_194_304, remove_orphan_uploads: true, orphan_upload_grace_period_hours: 48, remove_unconfirmed_users: true, diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index e047a4a3e..07136160c 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -23,6 +23,7 @@ COPY priv ./priv COPY config/config.exs config/prod.exs ./config/ COPY config/docker.exs ./config/runtime.exs COPY rel ./rel +COPY support ./support COPY --from=assets ./priv/static ./priv/static RUN mix phx.digest \ diff --git a/js/.prettierrc.json b/js/.prettierrc.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/js/.prettierrc.json @@ -0,0 +1 @@ +{} diff --git a/js/package.json b/js/package.json index 57cd063e7..012220ba8 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "mobilizon", - "version": "1.1.0", + "version": "1.1.1", "private": true, "scripts": { "serve": "vue-cli-service serve", @@ -28,7 +28,6 @@ "bulma-divider": "^0.2.0", "core-js": "^3.6.4", "date-fns": "^2.16.0", - "eslint-plugin-cypress": "^2.10.3", "graphql": "^15.0.0", "graphql-tag": "^2.10.3", "intersection-observer": "^0.12.0", @@ -42,7 +41,7 @@ "tiptap": "^1.32.0", "tiptap-extensions": "^1.34.0", "unfetch": "^4.2.0", - "v-tooltip": "^2.1.2", + "v-tooltip": "^2.1.3", "vue": "^2.6.11", "vue-apollo": "^3.0.3", "vue-class-component": "^7.2.3", @@ -65,11 +64,11 @@ "@types/prosemirror-state": "^1.2.4", "@types/prosemirror-view": "^1.11.4", "@types/vuedraggable": "^2.23.0", - "@typescript-eslint/eslint-plugin": "^4.14.1", - "@typescript-eslint/parser": "^4.14.1", + "@typescript-eslint/eslint-plugin": "^4.18.0", + "@typescript-eslint/parser": "^4.18.0", "@vue/cli-plugin-babel": "~4.5.12", "@vue/cli-plugin-e2e-cypress": "~4.5.12", - "@vue/cli-plugin-eslint": "~4.5.12", + "@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-pwa": "~4.5.12", "@vue/cli-plugin-router": "~4.5.12", "@vue/cli-plugin-typescript": "~4.5.12", @@ -78,17 +77,19 @@ "@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-typescript": "^7.0.0", "@vue/test-utils": "^1.1.0", - "eslint": "^7.7.0", - "eslint-config-prettier": "^7.0.0", - "eslint-plugin-prettier": "^3.1.3", - "eslint-plugin-vue": "^7.0.0", + "eslint": "^6.7.2", + "eslint-plugin-cypress": "^2.10.3", + "eslint-plugin-import": "^2.20.2", + "eslint-plugin-prettier": "^3.3.1", + "eslint-plugin-vue": "^6.2.2", + "flush-promises": "^1.0.2", "jest-junit": "^12.0.0", - "mock-apollo-client": "^0.5", - "prettier": "2.2.1", + "mock-apollo-client": "^0.6", + "prettier": "^2.2.1", "prettier-eslint": "^12.0.0", "sass": "^1.29.0", - "sass-loader": "^10.0.1", - "typescript": "^4.2.3", + "sass-loader": "^8.0.2", + "typescript": "~4.1.5", "vue-cli-plugin-svg": "~0.1.3", "vue-i18n-extract": "^1.0.2", "vue-template-compiler": "^2.6.11", diff --git a/js/src/components/Account/ActorAutoComplete.vue b/js/src/components/Account/ActorAutoComplete.vue index 879935102..a7f14334e 100644 --- a/js/src/components/Account/ActorAutoComplete.vue +++ b/js/src/components/Account/ActorAutoComplete.vue @@ -10,7 +10,7 @@ @select="handleSelect" @infinite-scroll="getAsyncData" > -