diff --git a/config/config.exs b/config/config.exs index a6a947e74..f12d6dc61 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 32883da93..c52310e73 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 c3f70f21d..5049ce143 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 4398dc80c..4c1dcac4f 100644 --- a/js/package.json +++ b/js/package.json @@ -28,6 +28,7 @@ "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", diff --git a/js/src/App.vue b/js/src/App.vue index 93586999c..7a9c6a16b 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 000000000..08bd4b415 --- /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 000000000..b0eca7b30 --- /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 fdb5d3304..fd6a85718 100644 --- a/js/src/components/Event/AddressAutoComplete.vue +++ b/js/src/components/Event/AddressAutoComplete.vue @@ -1,5 +1,5 @@