Merge branch '1.0.2' into 'master'

1.0.2

See merge request framasoft/mobilizon!707
This commit is contained in:
Thomas Citharel 2020-11-16 10:21:47 +01:00
commit ff5d15bcbf
22 changed files with 299 additions and 4160 deletions

View file

@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
## 1.0.2 - 2020-11-15
**This release adds new migrations, be sure to run them before restarting Mobilizon**
### Changed
- PostgreSQL extensions creations are now automatically handled in the Docker's entrypoint
### Fixed
- Fixed an issue with Oban migrations and some PostgreSQL versions
- Fixed an issue that causes email not being able to be sent when the `TZ` environment variable is not available
- Fixed 3rd-party login Ueberauth providers not being usable if configured at runtime
### Translations
- Catalan
- Hungarian
- Italian
- Occitan
## 1.0.1 - 2020-11-14 ## 1.0.1 - 2020-11-14
**This release adds new migrations, be sure to run them before restarting Mobilizon** **This release adds new migrations, be sure to run them before restarting Mobilizon**

View file

@ -1,6 +1,6 @@
{ {
"name": "mobilizon", "name": "mobilizon",
"version": "1.0.1", "version": "1.0.2",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
@ -52,11 +52,9 @@
"vuedraggable": "2.23.2" "vuedraggable": "2.23.2"
}, },
"devDependencies": { "devDependencies": {
"@types/chai": "^4.2.11",
"@types/leaflet": "^1.5.2", "@types/leaflet": "^1.5.2",
"@types/leaflet.locatecontrol": "^0.60.7", "@types/leaflet.locatecontrol": "^0.60.7",
"@types/lodash": "^4.14.141", "@types/lodash": "^4.14.141",
"@types/mocha": "^8.0.3",
"@types/ngeohash": "^0.6.2", "@types/ngeohash": "^0.6.2",
"@types/prosemirror-inputrules": "^1.0.2", "@types/prosemirror-inputrules": "^1.0.2",
"@types/prosemirror-model": "^1.7.2", "@types/prosemirror-model": "^1.7.2",
@ -71,29 +69,25 @@
"@vue/cli-plugin-pwa": "~4.5.8", "@vue/cli-plugin-pwa": "~4.5.8",
"@vue/cli-plugin-router": "~4.5.8", "@vue/cli-plugin-router": "~4.5.8",
"@vue/cli-plugin-typescript": "~4.5.8", "@vue/cli-plugin-typescript": "~4.5.8",
"@vue/cli-plugin-unit-mocha": "~4.5.8",
"@vue/cli-service": "~4.5.8", "@vue/cli-service": "~4.5.8",
"@vue/eslint-config-airbnb": "^5.0.2", "@vue/eslint-config-airbnb": "^5.0.2",
"@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0", "@vue/eslint-config-typescript": "^7.0.0",
"@vue/test-utils": "^1.1.0", "@vue/test-utils": "^1.1.0",
"chai": "^4.1.2",
"eslint": "^7.7.0", "eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0", "eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2", "eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3", "eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-vue": "^7.0.0", "eslint-plugin-vue": "^7.0.0",
"graphql-cli": "^4.0.0",
"node-sass": "^4.12.0",
"prettier": "2.1.2", "prettier": "2.1.2",
"prettier-eslint": "^11.0.0", "prettier-eslint": "^11.0.0",
"sass": "^1.29.0",
"sass-loader": "^10.0.1", "sass-loader": "^10.0.1",
"typescript": "~4.0.2", "typescript": "~4.0.2",
"vue-cli-plugin-styleguidist": "~4.33.6",
"vue-cli-plugin-svg": "~0.1.3", "vue-cli-plugin-svg": "~0.1.3",
"vue-i18n-extract": "^1.0.2", "vue-i18n-extract": "^1.0.2",
"vue-template-compiler": "^2.6.11", "vue-template-compiler": "^2.6.11",
"webpack-cli": "^3.3.11" "webpack-cli": "^3.3"
}, },
"resolutions": { "resolutions": {
"prosemirror-model": "1.9.1", "prosemirror-model": "1.9.1",

View file

@ -171,33 +171,33 @@ article.comment {
div.description-content { div.description-content {
padding-bottom: 0.3rem; padding-bottom: 0.3rem;
/deep/ h1 { ::v-deep h1 {
font-size: 2rem; font-size: 2rem;
} }
/deep/ h2 { ::v-deep h2 {
font-size: 1.5rem; font-size: 1.5rem;
} }
/deep/ h3 { ::v-deep h3 {
font-size: 1.25rem; font-size: 1.25rem;
} }
/deep/ ul { ::v-deep ul {
list-style-type: disc; list-style-type: disc;
} }
/deep/ li { ::v-deep li {
margin: 10px auto 10px 2rem; margin: 10px auto 10px 2rem;
} }
/deep/ blockquote { ::v-deep blockquote {
border-left: 0.2em solid #333; border-left: 0.2em solid #333;
display: block; display: block;
padding-left: 1em; padding-left: 1em;
} }
/deep/ p { ::v-deep p {
margin: 10px auto; margin: 10px auto;
a { a {

View file

@ -128,13 +128,13 @@ export default class DateTimePicker extends Vue {
<style lang="scss" scoped> <style lang="scss" scoped>
.timepicker { .timepicker {
/deep/ .dropdown-content { ::v-deep .dropdown-content {
padding: 0; padding: 0;
} }
} }
.calendar-picker { .calendar-picker {
/deep/ .dropdown-menu { ::v-deep .dropdown-menu {
z-index: 200; z-index: 200;
} }
} }

View file

@ -343,11 +343,11 @@ article.box {
.button.is-text { .button.is-text {
text-decoration: none; text-decoration: none;
/deep/ span:first-child i.mdi::before { ::v-deep span:first-child i.mdi::before {
font-size: 24px !important; font-size: 24px !important;
} }
/deep/ span:last-child { ::v-deep span:last-child {
padding-left: 4px; padding-left: 4px;
} }

View file

@ -78,7 +78,7 @@ export default class OrganizerPicker extends Vue {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/ .list-item { ::v-deep .list-item {
box-sizing: content-box; box-sizing: content-box;
label.b-radio { label.b-radio {

View file

@ -218,7 +218,7 @@ export default class ParticipationButton extends Vue {
} }
.anonymousParticipationModal { .anonymousParticipationModal {
/deep/ .animation-content { ::v-deep .animation-content {
z-index: 1; z-index: 1;
} }
} }

View file

@ -64,7 +64,7 @@ div.group-section-title {
background: $purple-2; background: $purple-2;
} }
/deep/ & > a { ::v-deep & > a {
align-self: center; align-self: center;
margin-right: 5px; margin-right: 5px;
color: $orange-3; color: $orange-3;
@ -73,7 +73,7 @@ div.group-section-title {
h2 { h2 {
flex: 1; flex: 1;
/deep/ span { ::v-deep span {
display: inline; display: inline;
padding: 3px 8px; padding: 3px 8px;
font-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial, serif; font-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial, serif;
@ -82,7 +82,7 @@ div.group-section-title {
flex: 1; flex: 1;
} }
/deep/ span.icon { ::v-deep span.icon {
flex: 0; flex: 0;
height: 100%; height: 100%;
} }

View file

@ -88,7 +88,7 @@ export default class SettingsMenu extends Vue {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/ a { ::v-deep a {
text-decoration: none; text-decoration: none;
} }
</style> </style>

View file

@ -80,7 +80,7 @@ export default class Glossary extends Vue {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/ dt { ::v-deep dt {
font-weight: bold; font-weight: bold;
} }
</style> </style>

View file

@ -54,11 +54,11 @@ export default class Privacy extends Vue {
main > .container { main > .container {
background: $white; background: $white;
/deep/ dt { ::v-deep dt {
font-weight: bold; font-weight: bold;
} }
} }
.content /deep/ li { .content ::v-deep li {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
</style> </style>

View file

@ -30,7 +30,7 @@ export default class Rules extends Vue {
main > .container { main > .container {
background: $white; background: $white;
} }
.content /deep/ li { .content ::v-deep li {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
</style> </style>

View file

@ -51,7 +51,7 @@ export default class Terms extends Vue {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.content /deep/ li { .content ::v-deep li {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
</style> </style>

View file

@ -280,7 +280,7 @@ main section > .container {
} }
.save__navbar { .save__navbar {
/deep/ .navbar-menu, ::v-deep .navbar-menu,
.navbar-end { .navbar-end {
flex-wrap: wrap; flex-wrap: wrap;
} }
@ -303,7 +303,7 @@ h2.subtitle {
} }
.event__status__field { .event__status__field {
/deep/ .field.has-addons { ::v-deep .field.has-addons {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: flex-start; justify-content: flex-start;

View file

@ -1196,33 +1196,33 @@ div.sidebar {
} }
.description-content { .description-content {
/deep/ h1 { ::v-deep h1 {
font-size: 2rem; font-size: 2rem;
} }
/deep/ h2 { ::v-deep h2 {
font-size: 1.5rem; font-size: 1.5rem;
} }
/deep/ h3 { ::v-deep h3 {
font-size: 1.25rem; font-size: 1.25rem;
} }
/deep/ ul { ::v-deep ul {
list-style-type: disc; list-style-type: disc;
} }
/deep/ li { ::v-deep li {
margin: 10px auto 10px 2rem; margin: 10px auto 10px 2rem;
} }
/deep/ blockquote { ::v-deep blockquote {
border-left: 0.2em solid #333; border-left: 0.2em solid #333;
display: block; display: block;
padding-left: 1em; padding-left: 1em;
} }
/deep/ p { ::v-deep p {
margin: 10px auto; margin: 10px auto;
a { a {

View file

@ -722,7 +722,7 @@ div.container {
height: 5rem; height: 5rem;
width: 5rem; width: 5rem;
/deep/ i.mdi.mdi-account-group.mdi-48px:before { ::v-deep i.mdi.mdi-account-group.mdi-48px:before {
font-size: 100px; font-size: 100px;
} }
} }

View file

@ -391,7 +391,7 @@ h3.title {
} }
form { form {
/deep/ .field label.label { ::v-deep .field label.label {
margin-bottom: 0; margin-bottom: 0;
} }
} }

View file

@ -328,7 +328,7 @@ export default class AccountSettings extends Vue {
margin-top: 2rem; margin-top: 2rem;
} }
/deep/ .modal .modal-background { ::v-deep .modal .modal-background {
background-color: initial; background-color: initial;
} }
</style> </style>

View file

@ -238,7 +238,7 @@ h2.title {
} }
p.create-account { p.create-account {
/deep/ button { ::v-deep button {
margin: 1rem auto 2rem; margin: 1rem auto 2rem;
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
defmodule Mobilizon.Mixfile do defmodule Mobilizon.Mixfile do
use Mix.Project use Mix.Project
@version "1.0.1" @version "1.0.2"
def project do def project do
[ [
@ -132,7 +132,7 @@ defmodule Mobilizon.Mixfile do
{:ueberauth_gitlab_strategy, {:ueberauth_gitlab_strategy,
git: "https://github.com/tcitworld/ueberauth_gitlab.git", branch: "upgrade-deps"}, git: "https://github.com/tcitworld/ueberauth_gitlab.git", branch: "upgrade-deps"},
{:ecto_shortuuid, "~> 0.1"}, {:ecto_shortuuid, "~> 0.1"},
{:tesla, "~> 1.3.0"}, {:tesla, "~> 1.4.0"},
{:sitemapper, "~> 0.5.0"}, {:sitemapper, "~> 0.5.0"},
{:xml_builder, "~> 2.1.1", override: true}, {:xml_builder, "~> 2.1.1", override: true},
{:remote_ip, "~> 0.2.0"}, {:remote_ip, "~> 0.2.0"},

View file

@ -127,7 +127,7 @@
"slugger": {:hex, :slugger, "0.3.0", "efc667ab99eee19a48913ccf3d038b1fb9f165fa4fbf093be898b8099e61b6ed", [:mix], [], "hexpm", "20d0ded0e712605d1eae6c5b4889581c3460d92623a930ddda91e0e609b5afba"}, "slugger": {:hex, :slugger, "0.3.0", "efc667ab99eee19a48913ccf3d038b1fb9f165fa4fbf093be898b8099e61b6ed", [:mix], [], "hexpm", "20d0ded0e712605d1eae6c5b4889581c3460d92623a930ddda91e0e609b5afba"},
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.6", "cf344f5692c82d2cd7554f5ec8fd961548d4fd09e7d22f5b62482e5aeaebd4b0", [:make, :mix, :rebar3], [], "hexpm", "bdb0d2471f453c88ff3908e7686f86f9be327d065cc1ec16fa4540197ea04680"}, "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.6", "cf344f5692c82d2cd7554f5ec8fd961548d4fd09e7d22f5b62482e5aeaebd4b0", [:make, :mix, :rebar3], [], "hexpm", "bdb0d2471f453c88ff3908e7686f86f9be327d065cc1ec16fa4540197ea04680"},
"telemetry": {:hex, :telemetry, "0.4.2", "2808c992455e08d6177322f14d3bdb6b625fbcfd233a73505870d8738a2f4599", [:rebar3], [], "hexpm", "2d1419bd9dda6a206d7b5852179511722e2b18812310d304620c7bd92a13fcef"}, "telemetry": {:hex, :telemetry, "0.4.2", "2808c992455e08d6177322f14d3bdb6b625fbcfd233a73505870d8738a2f4599", [:rebar3], [], "hexpm", "2d1419bd9dda6a206d7b5852179511722e2b18812310d304620c7bd92a13fcef"},
"tesla": {:hex, :tesla, "1.3.3", "26ae98627af5c406584aa6755ab5fc96315d70d69a24dd7f8369cfcb75094a45", [:mix], [{:castore, "~> 0.1", [hex: :castore, repo: "hexpm", optional: true]}, {:exjsx, ">= 3.0.0", [hex: :exjsx, repo: "hexpm", optional: true]}, {:fuse, "~> 2.4", [hex: :fuse, repo: "hexpm", optional: true]}, {:gun, "~> 1.3", [hex: :gun, repo: "hexpm", optional: true]}, {:hackney, "~> 1.6", [hex: :hackney, repo: "hexpm", optional: true]}, {:ibrowse, "~> 4.4.0", [hex: :ibrowse, repo: "hexpm", optional: true]}, {:jason, ">= 1.0.0", [hex: :jason, repo: "hexpm", optional: true]}, {:mime, "~> 1.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mint, "~> 1.0", [hex: :mint, repo: "hexpm", optional: true]}, {:poison, ">= 1.0.0", [hex: :poison, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4", [hex: :telemetry, repo: "hexpm", optional: true]}], "hexpm", "2648f1c276102f9250299e0b7b57f3071c67827349d9173f34c281756a1b124c"}, "tesla": {:hex, :tesla, "1.4.0", "1081bef0124b8bdec1c3d330bbe91956648fb008cf0d3950a369cda466a31a87", [:mix], [{:castore, "~> 0.1", [hex: :castore, repo: "hexpm", optional: true]}, {:exjsx, ">= 3.0.0", [hex: :exjsx, repo: "hexpm", optional: true]}, {:finch, "~> 0.3", [hex: :finch, repo: "hexpm", optional: true]}, {:fuse, "~> 2.4", [hex: :fuse, repo: "hexpm", optional: true]}, {:gun, "~> 1.3", [hex: :gun, repo: "hexpm", optional: true]}, {:hackney, "~> 1.6", [hex: :hackney, repo: "hexpm", optional: true]}, {:ibrowse, "~> 4.4.0", [hex: :ibrowse, repo: "hexpm", optional: true]}, {:jason, ">= 1.0.0", [hex: :jason, repo: "hexpm", optional: true]}, {:mime, "~> 1.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mint, "~> 1.0", [hex: :mint, repo: "hexpm", optional: true]}, {:poison, ">= 1.0.0", [hex: :poison, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4", [hex: :telemetry, repo: "hexpm", optional: true]}], "hexpm", "bf1374a5569f5fca8e641363b63f7347d680d91388880979a33bc12a6eb3e0aa"},
"timex": {:hex, :timex, "3.6.2", "845cdeb6119e2fef10751c0b247b6c59d86d78554c83f78db612e3290f819bc2", [:mix], [{:combine, "~> 0.10", [hex: :combine, repo: "hexpm", optional: false]}, {:gettext, "~> 0.10", [hex: :gettext, repo: "hexpm", optional: false]}, {:tzdata, "~> 0.1.8 or ~> 0.5 or ~> 1.0.0", [hex: :tzdata, repo: "hexpm", optional: false]}], "hexpm", "26030b46199d02a590be61c2394b37ea25a3664c02fafbeca0b24c972025d47a"}, "timex": {:hex, :timex, "3.6.2", "845cdeb6119e2fef10751c0b247b6c59d86d78554c83f78db612e3290f819bc2", [:mix], [{:combine, "~> 0.10", [hex: :combine, repo: "hexpm", optional: false]}, {:gettext, "~> 0.10", [hex: :gettext, repo: "hexpm", optional: false]}, {:tzdata, "~> 0.1.8 or ~> 0.5 or ~> 1.0.0", [hex: :tzdata, repo: "hexpm", optional: false]}], "hexpm", "26030b46199d02a590be61c2394b37ea25a3664c02fafbeca0b24c972025d47a"},
"tzdata": {:hex, :tzdata, "1.0.4", "a3baa4709ea8dba552dca165af6ae97c624a2d6ac14bd265165eaa8e8af94af6", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm", "b02637db3df1fd66dd2d3c4f194a81633d0e4b44308d36c1b2fdfd1e4e6f169b"}, "tzdata": {:hex, :tzdata, "1.0.4", "a3baa4709ea8dba552dca165af6ae97c624a2d6ac14bd265165eaa8e8af94af6", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm", "b02637db3df1fd66dd2d3c4f194a81633d0e4b44308d36c1b2fdfd1e4e6f169b"},
"ueberauth": {:hex, :ueberauth, "0.6.3", "d42ace28b870e8072cf30e32e385579c57b9cc96ec74fa1f30f30da9c14f3cc0", [:mix], [{:plug, "~> 1.5", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "afc293d8a1140d6591b53e3eaf415ca92842cb1d32fad3c450c6f045f7f91b60"}, "ueberauth": {:hex, :ueberauth, "0.6.3", "d42ace28b870e8072cf30e32e385579c57b9cc96ec74fa1f30f30da9c14f3cc0", [:mix], [{:plug, "~> 1.5", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "afc293d8a1140d6591b53e3eaf415ca92842cb1d32fad3c450c6f045f7f91b60"},