Merge branch 'changelog/update-changelog' into 'master'

Changelog/update changelog

See merge request framasoft/mobilizon!368
This commit is contained in:
Thomas Citharel 2019-12-18 16:34:15 +01:00
commit 131730ce5e
8 changed files with 128 additions and 14 deletions

View file

@ -4,7 +4,7 @@ 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).
## [Unreleased] ## [1.0.0-beta.2] - 2019-12-18
### Special operations ### Special operations
These two operations couldn't be handled during migrations. These two operations couldn't be handled during migrations.
@ -18,18 +18,27 @@ In order to move participant stats to the event table for existing events, you n
* `mix mobilizon.move_participant_stats` * `mix mobilizon.move_participant_stats`
### Added ### Added
- Federation is active
- Added an interface for admins to view and manage instance followers and followings
- Ability to comment below events
- Implement search engine & service in backend **(read special instructions above)** - Implement search engine & service in backend **(read special instructions above)**
- Allow WebP and Gif pics upload - Allow WebP and Gif pics upload
- Optimize uploaded pics - Optimize uploaded pics
- Make tags clickable, redirecting to search - Make tags clickable, redirecting to search
- Added a websocket API call to check if your participation status has changed
- Add a different welcome message when coming from registration - Add a different welcome message when coming from registration
- Link to participation page from event page when you are an organizer - Link to participation page from event page when you are an organizer
- Added mix commands to manage users and view actors - Added several mix commands to manage users and view actors (`mix mobilizon.users` and `mix mobilizon.actors`) and their documentation
- Added a demo mode to show or hide instance warnings that data is deleted - Added a demo mode to show or hide instance warning
- Added a warning on login that everything is deleted regularly - Added a config option to whitelist users emails or email domains
- Updated Occitan translations (Quentin) - Updated Occitan translations (Quentin)
- Updated French translations (Gavy, Zilverspar, ty kayn) - Updated French translations (Gavy, Zilverspar, ty kayn, numéro6)
- Updated Swedish translations (Anton Strömkvist) - Updated Swedish translations (Anton Strömkvist, Filip Bengtsson)
- Updated Polish translations (Marcin Mikolajczak)
- Updated Italian translations (AlessiBilos)
- Updated Arabic translations (Butterflyoffire)
- Updated Catalan translations (fadelkon, Francesc)
- Updated Belarusian translations (fadelkon)
- Upgraded frontend and backend dependencies - Upgraded frontend and backend dependencies
### Changed ### Changed
@ -42,11 +51,16 @@ In order to move participant stats to the event table for existing events, you n
- Upgrade vue-cli to v4, change the way server params injection is made - Upgrade vue-cli to v4, change the way server params injection is made
- Improve some production ipv6 configuration - Improve some production ipv6 configuration
- Limited year range in the DatePicker - Limited year range in the DatePicker
- Event title is now clickable on cards (Léo Mouyna)
- Also consider the PeerTube `CommentsEnabled` property to know if you can reply to an event
### Fixed ### Fixed
- Fix event URL validation and check if hostname is correct before showing it - Fix event URL validation and check if hostname is correct before showing it
- Fix participations stats on the MyEvents page - Fix participations stats on the MyEvents page
- Fix event description lists margin - Fix event description lists margin
- Clear errors on resend password page (Léo Mouyna)
- End datetime being able to happen before begin datetime (Léo Mouyna)
- Fix issue when activating/deactivating limited places (Léo Mouyna)
- Fix Cypress tests - Fix Cypress tests
- Fix contribution guide link and improve contribution guide (Joel Takvorian) - Fix contribution guide link and improve contribution guide (Joel Takvorian)
- Improve grammar (Damien) - Improve grammar (Damien)
@ -55,11 +69,19 @@ In order to move participant stats to the event table for existing events, you n
- Add polyfill for IntersectionObserver so that it's usable on relatively old browsers - Add polyfill for IntersectionObserver so that it's usable on relatively old browsers
- Fixed crash on Safari on description input by removing `-apple-system` from font-family - Fixed crash on Safari on description input by removing `-apple-system` from font-family
- Improve installation docs (mkljczk) - Improve installation docs (mkljczk)
- Fixed links to contributing and docs (Alex Addams)
- Limit file uploads to 10MB - Limit file uploads to 10MB
- Added missing `setup_db.psql` file (Geno) - Added missing `setup_db.psql` file (Geno)
- Fixed docker setup when using non-GNU make (JohanBaskovec) - Fixed docker setup when using non-GNU make (JohanBaskovec)
- Fixed actors deletion that didn't cascade to followers - Fixed actors deletion that didn't cascade to followers
- Reduced datetime picker input width - Reduced datetime picker input width
- Clear ActivityPub cache when content is updated or deleted
- Fix HTTP signatures not checked for relay inbox
- Handle actor or object being AP Public string (for Mastodon relay subscriptions)
- Fixed Mastodon relay instances subscriptions being shown as users
- Fixed an issue when accessing "My Account"
- Fixed pagination for followers/followings page
- Fixed event HTML representation when `GET` request has no `Accept` header
### Security ### Security
- Sanitize event title to avoid XSS - Sanitize event title to avoid XSS

View file

@ -30,6 +30,9 @@ mix mobilizon.instance gen [<options>]
### move_participant_stats ### move_participant_stats
!!! tip "Environment"
You need to run these commands with the appropriate environment loaded
Task to move participant stats directly on the `event` table (so there's no need to count event participants each time). Task to move participant stats directly on the `event` table (so there's no need to count event participants each time).
This task should **only be run once** when migrating from `v1.0.0-beta.1` to `v1.0.0-beta.2`. This task should **only be run once** when migrating from `v1.0.0-beta.1` to `v1.0.0-beta.2`.
@ -41,6 +44,9 @@ mix mobilizon.move_participant_stats
### setup_search ### setup_search
!!! tip "Environment"
You need to run these commands with the appropriate environment loaded
Task to setup search for existing events. Task to setup search for existing events.
This task should **only be run once** when migrating from `v1.0.0-beta.1` to `v1.0.0-beta.2`. This task should **only be run once** when migrating from `v1.0.0-beta.1` to `v1.0.0-beta.2`.

View file

@ -0,0 +1,17 @@
# Manage actors
!!! tip "Environment"
You need to run these commands with the appropriate environment loaded
## List all available commands
```bash
mix mobilizon.actors
```
## Show an actors details
```bash
mix mobilizon.actors.show
```
In addition to basic informations, it also tells which user the profile belongs to, if local.

View file

@ -1,4 +1,56 @@
# Manage users # Manage users
!!! bug !!! tip "Environment"
Not yet existing You need to run these commands with the appropriate environment loaded
## List all available commands
```bash
mix mobilizon.users
```
## Create a new user
```bash
mix mobilizon.users.new <email> [<options>]
```
### Options
* `--password <password>`/ `-p <password>` - the user's password. If this option is missing, a password will be generated randomly.
* `--moderator` - make the user a moderator
* `--admin` - make the user an admin
## Show an user's details
Displays if the user has confirmed their email, if they're a moderator or an admin and their profiles.
```bash
mix mobilizon.users.show <email>
```
## Modify an user
```bash
mix mobilizon.users.modify <email>
```
### Options
* `--email <email>` - the user's new email
* `--password <password>` - the user's new password.
* `--user` - make the user a regular user
* `--moderator` - make the user a moderator
* `--admin` - make the user an admin
* `--enable` - enable the user
* `--disable` - disable the user
## Delete an user
```bash
mix mobilizon.users.delete <email>
```
### Options
* `--assume_yes`/`-y` Don't ask for confirmation

View file

@ -2,24 +2,27 @@
Manages remote relays Manages remote relays
!!! tip "Environment"
You need to run these commands with the appropriate environment loaded
## Make your instance follow a mobilizon instance ## Make your instance follow a mobilizon instance
```bash ```bash
mix mobilizon.relay follow <relay_url> mix mobilizon.relay follow <relay_host>
``` ```
Example: Example:
```bash ```bash
mix mobilizon.relay follow https://example.org/relay mix mobilizon.relay follow example.org
``` ```
## Make your instance unfollow a mobilizon instance ## Make your instance unfollow a mobilizon instance
```bash ```bash
mix mobilizon.relay unfollow <relay_url> mix mobilizon.relay unfollow <relay_host>
``` ```
Example: Example:
```bash ```bash
mix mobilizon.relay unfollow https://example.org/relay mix mobilizon.relay unfollow example.org
``` ```

View file

@ -115,7 +115,7 @@ Example:
#### location #### location
We use Schema.org's `location` property on `Event`. We use Schema.org's `location` property on `Event`.
[The ActivityStream vocabulary to represent places](https://www.w3.org/TR/activitystreams-vocabulary/#places) is quite limited so instead of just using `Place` from ActivityStreams we also a a few properties from Schema.org's `Place` vocabulary. [The ActivityStream vocabulary to represent places](https://www.w3.org/TR/activitystreams-vocabulary/#places) is quite limited so instead of just using `Place` from ActivityStreams we also add a few properties from Schema.org's `Place` vocabulary.
We add [an `address` property](https://schema.org/address), which we assume to be [of `PostalAddress` type](https://schema.org/PostalAddress). We add [an `address` property](https://schema.org/address), which we assume to be [of `PostalAddress` type](https://schema.org/PostalAddress).

View file

@ -0,0 +1,14 @@
defmodule Mix.Tasks.Mobilizon.Actors do
@moduledoc """
Tasks to manage actors
"""
use Mix.Task
@shortdoc "Manages Mobilizon actors"
@impl Mix.Task
def run(_) do
Mix.shell().info("\nAvailable tasks:")
Mix.Tasks.Help.run(["--search", "mobilizon.actors."])
end
end

View file

@ -1,7 +1,7 @@
defmodule Mobilizon.Mixfile do defmodule Mobilizon.Mixfile do
use Mix.Project use Mix.Project
@version "1.0.0-beta.1" @version "1.0.0-beta.2"
def project do def project do
[ [