diff --git a/config/config.exs b/config/config.exs index a6a947e7..f12d6dc6 100644 --- a/config/config.exs +++ b/config/config.exs @@ -156,6 +156,28 @@ config :mobilizon, :maps, attribution: System.get_env("MAPS_TILES_ATTRIBUTION") ] +config :mobilizon, :anonymous, + participation: [ + allowed: true, + validation: %{ + email: [ + enabled: true, + confirmation_required: true + ], + captcha: [enabled: false] + } + ], + event_creation: [ + allowed: false, + validation: %{ + email: [ + enabled: true, + confirmation_required: true + ], + captcha: [enabled: false] + } + ] + config :mobilizon, Oban, repo: Mobilizon.Storage.Repo, prune: {:maxlen, 10_000}, diff --git a/config/dev.exs b/config/dev.exs index 32883da9..c52310e7 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -73,3 +73,5 @@ config :mobilizon, Mobilizon.Storage.Repo, port: System.get_env("MOBILIZON_DATABASE_PORT") || "5432", pool_size: 10, show_sensitive_data_on_connection_error: true + +config :mobilizon, :activitypub, sign_object_fetches: false diff --git a/config/test.exs b/config/test.exs index c3f70f21..5049ce14 100644 --- a/config/test.exs +++ b/config/test.exs @@ -18,7 +18,9 @@ config :mobilizon, Mobilizon.Web.Endpoint, # Print only warnings and errors during test config :logger, backends: [:console], - compile_time_purge_level: :debug, + compile_time_purge_matching: [ + [level_lower_than: :debug] + ], level: :info # Configure your database diff --git a/js/package.json b/js/package.json index 4398dc80..2a3470cb 100644 --- a/js/package.json +++ b/js/package.json @@ -28,12 +28,13 @@ "apollo-link-ws": "^1.0.19", "apollo-utilities": "^1.3.2", "buefy": "^0.8.2", + "bulma-divider": "^0.2.0", "graphql": "^14.5.8", "graphql-tag": "^2.10.1", "intersection-observer": "^0.7.0", "javascript-time-ago": "^2.0.4", "leaflet": "^1.4.0", - "leaflet.locatecontrol": "^0.68.0", + "leaflet.locatecontrol": "^0.70.0", "lodash": "^4.17.11", "ngeohash": "^0.6.3", "phoenix": "^1.4.11", @@ -65,7 +66,7 @@ "@vue/cli-plugin-unit-mocha": "^4.0.3", "@vue/cli-service": "^4.0.3", "@vue/eslint-config-typescript": "^5.0.0", - "@vue/test-utils": "^1.0.0-beta.30", + "@vue/test-utils": "^1.0.0-beta.31", "apollo-link-error": "^1.1.12", "chai": "^4.2.0", "dotenv-webpack": "^1.7.0", @@ -73,7 +74,7 @@ "graphql-cli": "^3.0.12", "node-sass": "^4.11.0", "sass-loader": "^8.0.0", - "tslint": "^5.20.0", + "tslint": "^6.0.0", "tslint-config-airbnb": "^5.11.2", "typescript": "^3.6.3", "vue-cli-plugin-styleguidist": "^4.0.1", @@ -83,6 +84,9 @@ "vue-template-compiler": "^2.6.10", "webpack": "^4.41.0" }, + "resolutions": { + "prosemirror-model": "1.8.2" + }, "browserslist": [ ">0.25%", "ie 11", diff --git a/js/src/App.vue b/js/src/App.vue index 93586999..7a9c6a16 100644 --- a/js/src/App.vue +++ b/js/src/App.vue @@ -85,6 +85,7 @@ export default class App extends Vue { /* Bulma imports */ @import "~bulma/bulma"; +@import '~bulma-divider'; /* Buefy imports */ @import "~buefy/src/scss/buefy"; @@ -102,12 +103,12 @@ $mdi-font-path: "~@mdi/font/fonts"; body { // background: #f7f8fa; - background: #ebebeb; + background: $body-background-color; font-family: BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Helvetica,Arial,sans-serif; - main { - margin: 1rem auto 0; - } + /*main {*/ + /* margin: 1rem auto 0;*/ + /*}*/ } #mobilizon > .container > .message { diff --git a/js/src/assets/undraw_mail_2.svg b/js/src/assets/undraw_mail_2.svg new file mode 100644 index 00000000..08bd4b41 --- /dev/null +++ b/js/src/assets/undraw_mail_2.svg @@ -0,0 +1 @@ +mail_2 \ No newline at end of file diff --git a/js/src/assets/undraw_profile.svg b/js/src/assets/undraw_profile.svg new file mode 100644 index 00000000..b0eca7b3 --- /dev/null +++ b/js/src/assets/undraw_profile.svg @@ -0,0 +1 @@ +profile \ No newline at end of file diff --git a/js/src/components/Event/AddressAutoComplete.vue b/js/src/components/Event/AddressAutoComplete.vue index fdb5d330..fd6a8571 100644 --- a/js/src/components/Event/AddressAutoComplete.vue +++ b/js/src/components/Event/AddressAutoComplete.vue @@ -1,5 +1,5 @@