Mobilizon-compatible events #7843

Open
mkljczk wants to merge 20 commits from mkljczk/pleroma:events into develop
Owner

This MR introduces ability to create and interact with Mobilizon-compatible events. Users can join them and they receive a notification 2 hours before they take place.

Events have a banner, a description, date (and optionally end date), location and you can configure whether joins are reviewed manually. Locations are provided by a library, which simply extracts the Geospatial module from Mobilizon, this is the only part which reuses code from Mobilizon.

Event discussions are simply replies to the event post. There's a route which exports a single event to .ics.

Screenshots from pl-fe:

image

image

image

This MR introduces ability to create and interact with Mobilizon-compatible events. Users can join them and they receive a notification 2 hours before they take place. Events have a banner, a description, date (and optionally end date), location and you can configure whether joins are reviewed manually. Locations are provided by [a library](https://hex.pm/packages/geospatial), which simply extracts the Geospatial module from Mobilizon, this is the only part which reuses code from Mobilizon. Event discussions are simply replies to the event post. There's a route which exports a single event to .ics. ### Screenshots from pl-fe: ![image](/attachments/acd0a4be-0168-450d-8408-09b18c9179a4) ![image](/attachments/8dbf2c67-d3ea-4d7d-9311-0c5c94db11ed) ![image](/attachments/2e596a34-0c28-42a4-82ed-72655ad7480a)
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
another events fix
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending approval
f084fa0656
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
embarassing
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending approval
831d6477f9
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Merge remote-tracking branch 'origin/develop' into events
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
150206feef
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Update database config whitelist
All checks were successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.18 Pipeline was successful
d084965787
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
All checks were successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.18 Pipeline was successful
This pull request has changes conflicting with the target branch.
  • mix.lock
  • priv/static/schemas/litepub-0.1.jsonld
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u events:mkljczk-events
git switch mkljczk-events

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch develop
git merge --no-ff mkljczk-events
git switch mkljczk-events
git rebase develop
git switch develop
git merge --ff-only mkljczk-events
git switch mkljczk-events
git rebase develop
git switch develop
git merge --no-ff mkljczk-events
git switch develop
git merge --squash mkljczk-events
git switch develop
git merge --ff-only mkljczk-events
git switch develop
git merge mkljczk-events
git push origin develop
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma!7843
No description provided.