Merge tag '1.0.7' into chapril

This commit is contained in:
Tykayn 2021-03-01 21:29:45 +01:00 committed by tykayn
commit 74a3757e1e
6 changed files with 37 additions and 9 deletions

View File

@ -5,7 +5,17 @@ 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.0.6 - 04-02-2020
## 1.0.7 - 27-02-2021
### Fixed
- Fixed accessing group event unlogged
- Fixed broken redirection with Webfinger due to strict connect-src
- Fixed editing group discussions
- Fixed search form display
- Fixed wrong year in CHANGELOG.md
## 1.0.6 - 04-02-2021
### Added
@ -17,13 +27,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed sending events & posts to group followers
- Fixed redirection after deleting an event
## 1.0.5 - 27-01-2020
## 1.0.5 - 27-01-2021
### Fixed
- Fixed duplicate entries in search with empty search query
## 1.0.4 - 26-01-2020
## 1.0.4 - 26-01-2021
### Added

View File

@ -1,6 +1,6 @@
{
"name": "mobilizon",
"version": "1.0.6",
"version": "1.0.7",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",

View File

@ -31,7 +31,7 @@
/>
</b-field>
<b-field :label="$t('Radius')" label-for="radius">
<b-select v-model="radius" id="radius">
<b-select v-model="radius" id="radius" expanded>
<option
v-for="(radiusOption, index) in radiusOptions"
:key="index"
@ -42,7 +42,12 @@
</b-select>
</b-field>
<b-field :label="$t('Date')" label-for="date">
<b-select v-model="when" id="date" :disabled="activeTab !== 0">
<b-select
v-model="when"
id="date"
:disabled="activeTab !== 0"
expanded
>
<option
v-for="(option, index) in options"
:key="index"
@ -463,5 +468,16 @@ form {
::v-deep .field label.label {
margin-bottom: 0;
}
.field.is-expanded:last-child > .field-body > .field.is-grouped {
flex-wrap: wrap;
flex: 1;
.field {
flex: 1 0 auto;
&:first-child {
flex: 3 0 300px;
}
}
}
}
</style>

View File

@ -43,7 +43,8 @@ defmodule Mobilizon.Discussions do
:replies,
:tags,
:mentions,
:discussion
:discussion,
:media
]
@discussion_preloads [

View File

@ -52,8 +52,9 @@ defmodule Mobilizon.Web.Plugs.HTTPSecurityPlug do
media_src = ["media-src 'self' "] ++ Config.get([:http_security, :csp_policy, :media_src])
# Connect-src is available for any origin because of webfinger query to redirect to content
connect_src =
["connect-src 'self' blob: ", static_url, ?\s, websocket_url] ++
["connect-src 'self' * blob: ", static_url, ?\s, websocket_url] ++
Config.get([:http_security, :csp_policy, :connect_src])
script_src =

View File

@ -1,7 +1,7 @@
defmodule Mobilizon.Mixfile do
use Mix.Project
@version "1.0.6"
@version "1.0.7"
def project do
[