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/), 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). 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 ### 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 sending events & posts to group followers
- Fixed redirection after deleting an event - Fixed redirection after deleting an event
## 1.0.5 - 27-01-2020 ## 1.0.5 - 27-01-2021
### Fixed ### Fixed
- Fixed duplicate entries in search with empty search query - Fixed duplicate entries in search with empty search query
## 1.0.4 - 26-01-2020 ## 1.0.4 - 26-01-2021
### Added ### Added

View File

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

View File

@ -31,7 +31,7 @@
/> />
</b-field> </b-field>
<b-field :label="$t('Radius')" label-for="radius"> <b-field :label="$t('Radius')" label-for="radius">
<b-select v-model="radius" id="radius"> <b-select v-model="radius" id="radius" expanded>
<option <option
v-for="(radiusOption, index) in radiusOptions" v-for="(radiusOption, index) in radiusOptions"
:key="index" :key="index"
@ -42,7 +42,12 @@
</b-select> </b-select>
</b-field> </b-field>
<b-field :label="$t('Date')" label-for="date"> <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 <option
v-for="(option, index) in options" v-for="(option, index) in options"
:key="index" :key="index"
@ -463,5 +468,16 @@ form {
::v-deep .field label.label { ::v-deep .field label.label {
margin-bottom: 0; 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> </style>

View File

@ -43,7 +43,8 @@ defmodule Mobilizon.Discussions do
:replies, :replies,
:tags, :tags,
:mentions, :mentions,
:discussion :discussion,
:media
] ]
@discussion_preloads [ @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]) 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 =
["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]) Config.get([:http_security, :csp_policy, :connect_src])
script_src = script_src =

View File

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