Commit Graph

178 Commits

Author SHA1 Message Date
Thomas Citharel
44559a71ee
Remove duplicate @doc blocs
Elixir 11 notifies this a lot

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-06 15:48:05 +01:00
Thomas Citharel
0861f79c45
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-02 12:42:49 +01:00
Thomas Citharel
5f6d346b44
Release 1.0.0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-26 12:04:18 +01:00
Thomas Citharel
2f27604fd1
1.0.0rc.4
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 18:10:03 +02:00
Thomas Citharel
20cc7e4e67
Release 1.0.0-rc.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 18:00:41 +02:00
Thomas Citharel
ff2826b891
Upgrade to version 1.0.0-rc.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 14:33:49 +02:00
Thomas Citharel
db56bd142f
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-13 17:03:49 +02:00
Thomas Citharel
b97b42ea95
Bump version to 1.0.0-rc.1 and add changelog
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-12 14:05:11 +02:00
Thomas Citharel
5c3e83acfa
Upgrade ex_vcr to latest version
https://github.com/parroty/exvcr/pull/160 fixes an issue with v0.12.0

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 15:58:54 +02:00
Thomas Citharel
ed6964de31
Rollback to ex_vcr 11.2
https://github.com/parroty/exvcr/issues/159 causes issues with other
Mocks

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 11:40:13 +02:00
Thomas Citharel
cdca2d24e4
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 09:24:26 +02:00
Thomas Citharel
586d8c440d
Add languages to admin settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 16:38:24 +02:00
Thomas Citharel
cc4ddbbb93
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 10:39:00 +02:00
Thomas Citharel
ceb98c6781
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-21 12:04:39 +02:00
Thomas Citharel
7c0b813dce
Fix getting remote IP behind reverse proxy
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-27 15:54:43 +02:00
Thomas Citharel
c2f3b4b7e0
Upgrade Elixir deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-27 14:46:05 +02:00
Thomas Citharel
c56fb710b6
Introduce Sitemaps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-12 16:29:34 +02:00
Thomas Citharel
9a0068dfea
Upgrade oban to 2.0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-12 16:06:09 +02:00
Thomas Citharel
dba1072af8
Upgrade mogrify dependency
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-11 10:13:09 +02:00
Thomas Citharel
9c9f1385fb
Introduce group posts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-30 16:55:35 +02:00
Thomas Citharel
daa6b59af8
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-06 15:42:59 +02:00
Thomas Citharel
9a080c1f10
Introduce support for 3rd-party auth (OAuth2 & LDAP)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-06 15:42:59 +02:00
Thomas Citharel
83aa005faf
Drop HTMLSanitizeEx and fix title sanitizing
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-24 16:37:00 +02:00
Thomas Citharel
22cb8538f4
Release 1.0.0-beta.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-24 10:11:09 +02:00
Thomas Citharel
4144e9ffd0
Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00
Thomas Citharel
55902b56e7
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-13 17:06:09 +01:00
Thomas Citharel
9e3df495dc
Move configuration to traditional way
️ This is the way.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-06 16:12:13 +01:00
Thomas Citharel
04aa9b2394
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-01-29 17:28:07 +01:00
Thomas Citharel
2ed9050a90
Add anonymous and remote participations 2020-01-29 17:28:11 +01:00
rustra
848691541f Correct docs modules in mix.exs 2020-01-26 21:44:19 +01:00
rustra
8856cc2f55 Rename MobilizonWeb to Mobilizon.Web 2020-01-26 21:39:49 +01:00
rustra
3577fe42e1 Improve Federation boundaries 2020-01-24 22:02:10 +01:00
rustra
8ca5c0b320 Separate Web modules related to Federation 2020-01-23 01:03:33 +01:00
rustra
d1251280c5 Put HTTPSignatures, WebFinger and ActivityStream alongside with ActivityPub 2020-01-22 22:40:40 +01:00
rustra
cdb520a95b Split Federation as separate context 2020-01-22 02:14:42 +01:00
Thomas Citharel
695c6a72a4
Update version
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-18 16:15:44 +01:00
Thomas Citharel
3574a9b5ae
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-15 21:56:22 +01:00
Thomas Citharel
334d66bf5d
Add admin interface to manage instances subscriptions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-15 21:56:16 +01:00
Thomas Citharel
dc07f34d78
Introduce comments below events
Also add tomstones

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-28 12:33:58 +01:00
Thomas Citharel
3d905714c3
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-18 18:56:29 +01:00
Thomas Citharel
4fab4e1d25
Move docs to mkdocs and improve them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-17 20:00:09 +01:00
Thomas Citharel
95ba76a0fa
Fix issue when updating event and introduce background jobs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:40:36 +01:00
Thomas Citharel
ffffe106f5
Upgrade dependencies
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-31 10:50:24 +01:00
Thomas Citharel
b5f9518faf
Implement search engine & service in backend
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
d1fb90eece
Add the optimize filter for uploaded pics
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:42:45 +02:00
Thomas Citharel
fdd3720639
Bump version to 1.0.0-beta.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 16:28:47 +02:00
Thomas Citharel
77d286ebb6
Introduce Cypress
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 18:28:18 +02:00
Thomas Citharel
5fd38ace2e
Notifications on event update
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-30 19:01:46 +02:00
Thomas Citharel
d4a7b6fe0d
Remove unneeded Markdown converter (earmark)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-26 16:49:49 +02:00
Thomas Citharel
8006b8e0f3
Fixes for email
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-24 12:09:43 +02:00
Thomas Citharel
27665dd4da
Finish deps upgrade
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-24 09:43:54 +02:00
Thomas Citharel
41354c8692
Merge branch 'deps/geolix' into deps/upgrade 2019-09-24 09:26:29 +02:00
Thomas Citharel
36e7ca0e46
Add geolix adapter mmdb2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-24 09:26:04 +02:00
dependabot-preview[bot]
4e27092915
Bump earmark from 1.3.6 to 1.4.0
Bumps [earmark](https://github.com/pragdave/earmark) from 1.3.6 to 1.4.0.
- [Release notes](https://github.com/pragdave/earmark/releases)
- [Changelog](https://github.com/pragdave/earmark/blob/master/RELEASE.md)
- [Commits](https://github.com/pragdave/earmark/compare/v1.3.6...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 09:18:52 +02:00
dependabot-preview[bot]
d4422a33bb
Bump geolix from 0.18.0 to 1.0.0
Bumps [geolix](https://github.com/elixir-geolix/geolix) from 0.18.0 to 1.0.0.
- [Release notes](https://github.com/elixir-geolix/geolix/releases)
- [Changelog](https://github.com/elixir-geolix/geolix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-geolix/geolix/compare/v0.18.0...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 05:05:27 +00:00
Thomas Citharel
8cceb15aad
Upgrade bamboo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 20:27:49 +02:00
Thomas Citharel
6a41b13446
🎨 Add fancy html emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 19:50:33 +02:00
Thomas Citharel
2d087fb810
Move Mobilizon.Events.Activity to Mobilizon.Service.ActivityPub.Activity
It's only used for ActivityPub stuff, nothing DB related.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 09:24:18 +02:00
miffigriffi
48dbec51f5 Move caching to MobilizonWeb 2019-09-18 00:01:16 +02:00
miffigriffi
da97c29340 Move Email context under MobilizonWeb 2019-09-17 02:45:32 +02:00
miffigriffi
6372599493 Refactoring of Application module 2019-09-16 01:43:06 +02:00
miffigriffy
d3f3553ae7 Move Activity under Events context 2019-09-13 01:35:03 +02:00
miffigriffy
e358dcce77 Refactoring of Events context 2019-09-13 01:01:17 +02:00
Thomas Citharel
60707b8f8d
Fix cleaning upload files after running tests
See https://elixirforum.com/t/running-code-after-all-exunit-tests-are-done/9937/6

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-09 09:55:33 +02:00
miffigriffy
4418275223 Refactoring of Actors context 2019-09-09 00:52:49 +02:00
miffy
2e2dcc8208 Add script for cleaning for tests 2019-09-08 01:51:18 +02:00
miffy
fa037fd683 Separating of Storage context 2019-09-08 01:49:56 +02:00
miffy
f316f0a940 Refactoring of Users context 2019-09-07 19:55:45 +02:00
Thomas Citharel
c51115bdbe
Introduce relay
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:13 +02:00
Chocobozzz
6d221212ef
Remove apollo link state 2019-08-12 16:04:32 +02:00
Thomas Citharel
6d80bf43ea
Refactor adding tags to an event
Also refactor extracting tags from content, now uses Pleroma's Formatter

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-26 12:06:26 +02:00
Thomas Citharel
93984eb53a
Upgrade backend deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 15:41:59 +02:00
Thomas Citharel
ea82af874e
Update Source and homepage urls
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-08 17:35:22 +02:00
Thomas Citharel
3375b91234
Upgrade to Elixir 1.9
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-03 18:44:08 +02:00
Thomas Citharel
1be2e839e6
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-28 19:11:22 +02:00
Thomas Citharel
f90089e1bf
Refactor media upload
Use Upload Media logic from Pleroma

Backend changes for picture upload

Move AS <-> Model conversion to separate module

Front changes

Downgrade apollo-client: https://github.com/Akryum/vue-apollo/issues/577

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-24 17:29:51 +02:00
Thomas Citharel
f8ed5cd779
Fix Docker setup and add back back an entrypoint
* Also add special deps for argon2 support inside the Alpine image
* Make sure yarn install is triggered

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-30 13:56:20 +02:00
Thomas Citharel
20a4f7244c Merge branch 'minor_fix_webfinger' into 'master'
Minor change on web_finger_controller

See merge request framasoft/mobilizon!115
2019-04-18 10:53:09 +02:00
Vincent
447c9afd08 Update elixir libs 2019-04-18 10:02:26 +02:00
Vincent
990bfac44c Add phx.migrate_serve command that runs ecto commands and launch server 2019-04-17 17:15:36 +02:00
Thomas Citharel
da2a0593ca
Various UI stuff (mainly implement mookup)
Fix lint

Disable modern mode

Fixes

UI fixes

Fixes

Ignore .po~ files

Fixes

Fix homepage

Fixes

Fixes

Mix format

Fix tests

Fix tests (yeah…)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 11:58:13 +02:00
Thomas Citharel
1bbe077cbf
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-01 17:17:08 +02:00
Thomas Citharel
2fe33aa470
ℹ Improve docs and documentation (again)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-19 11:16:03 +01:00
Thomas Citharel
bba6629046
Better docs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Nicer docs

No 3rd stage

Add mix.deps get before docs

Add :ex_doc on test env so that it runs into CI
2019-03-18 12:10:29 +01:00
Thomas Citharel
98b7618338
Add GeoSpatial backends for geocoding
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Geospatial Backend

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-15 16:37:43 +01:00
Thomas Citharel
6300362099
Set iCalendar to proper release
The maintainer was really faster than I thought

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 14:03:31 +01:00
Thomas Citharel
bc47816a30
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 13:48:50 +01:00
Thomas Citharel
ab3e0c8d7d
Set icalendar fork repo url to https instead of Git
I'm so stupid

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-06 17:19:40 +01:00
Thomas Citharel
d3e2f28b49
Implement public actor ICS endpoint and event ICS export
Closes #83 and #84

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-06 17:07:42 +01:00
Thomas Citharel
5713670ac9
Refactor Atom feed caching
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fixes
Fix tests
Fix tests
2019-03-01 14:53:56 +01:00
Thomas Citharel
02d1cea2d7
Add cached RSS feeds for actors endpoints 2019-02-27 18:30:01 +01:00
Thomas Citharel
4ec40d601b
Implement search with PostgreSQL trigrams
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Rename function to reflect that we only get one result

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add loggers and make Ecto call parallels during search

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Implement trigrams for events & replace pg similarity operator % with <%

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 13:53:10 +01:00
Thomas Citharel
ae09e0ae4a
Update ex_crypto
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 16:59:39 +01:00
Thomas Citharel
256d50e855
Allow tag relations + bump ecto deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 16:58:14 +01:00
Thomas Citharel
2b0ebfa726 Bump ecto_autoslug_field from 0.5.1 to 1.0.0
Bumps [ecto_autoslug_field](https://github.com/sobolevn/ecto_autoslug_field) from 0.5.1 to 1.0.0.
- [Release notes](https://github.com/sobolevn/ecto_autoslug_field/releases)
- [Changelog](https://github.com/sobolevn/ecto_autoslug_field/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sobolevn/ecto_autoslug_field/compare/0.5.1...1.0.0)
2019-02-08 10:17:47 +01:00
Thomas Citharel
54b94a65b6 Bump cors_plug from 1.5.2 to 2.0.0
Bumps [cors_plug](https://github.com/mschae/cors_plug) from 1.5.2 to 2.0.0.
- [Release notes](https://github.com/mschae/cors_plug/releases)
- [Changelog](https://github.com/mschae/cors_plug/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mschae/cors_plug/compare/v1.5.2...v2.0.0)
2019-02-07 16:53:58 +01:00
Thomas Citharel
c660210439
Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:36:09 +01:00
Thomas Citharel
617b59c038
Bump rdf for Elixir 1.8 compat
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:36:04 +01:00
Thomas Citharel
2f2c538cc9
Add Credo checks and refactor code
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Make Logger.debug calls lazy

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add missing @moduledocs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Refactor according to credo

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Final fixes and add credo to CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Closes #52
2019-01-03 15:52:48 +01:00
Chocobozzz
fa0f47d8e1
Add digest, date and request-target in HTTP signature 2018-12-07 16:13:30 +01:00