Commit graph

243 commits

Author SHA1 Message Date
Thomas Citharel 1ceb976f4e
Add StructAccess for easy struct access
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:19 +02:00
Thomas Citharel a670a7d7a7
Fix and improve language handling
- Refactor plugs to detect and set language
- Translate ecto validation errors
- Use Gettext directly, not Mobilizon.Web.Gettext
- Set the language in the <html> attribute according to the one loaded
  on front-end

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-27 20:11:56 +02:00
Thomas Citharel f4cfed1bdf
Release 1.2.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-02 15:12:10 +02:00
Thomas Citharel 1bac0285b9
Release 1.2.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-01 10:00:36 +02:00
Thomas Citharel 2c4af0d267
Release 1.2.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 16:28:23 +02:00
Thomas Citharel 8ad7af8296
Release 1.2.0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 11:53:25 +02:00
Thomas Citharel 6614f90532
Release 1.2.0-beta.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-27 19:01:27 +02:00
Thomas Citharel 8d1898e003
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-27 16:35:21 +02:00
Thomas Citharel fde560208f
Release 1.2.0-beta.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-26 16:45:22 +02:00
Thomas Citharel 51b5108639
Release version 1.2.0-beta.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-21 11:36:35 +02:00
Thomas Citharel ec322ce042
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-21 09:12:02 +02:00
Thomas Citharel 3b33fc534b
Use version 1.2 of eblurhash
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:06:44 +02:00
Thomas Citharel a24e08a6de
Add blurhash support to backend
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:08 +02:00
Thomas Citharel c3e586af6e
Use patched version of web_push_encryption
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-07 16:38:51 +02:00
Thomas Citharel 4f0041ae31
Remove unused deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-07 10:15:02 +02:00
Thomas Citharel 86c2512c62
WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:32:05 +02:00
Thomas Citharel 96c81050bc
Release 1.1.4
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-19 11:35:20 +02:00
Thomas Citharel 0abba5ecd4
Version 1.1.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-03 10:07:59 +02:00
Thomas Citharel 4b13f2a572
Version 1.1.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 15:05:43 +02:00
Thomas Citharel 625ed64382
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-26 11:13:19 +02:00
Thomas Citharel afbd393d4f
Version 1.1.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-21 11:36:33 +02:00
Thomas Citharel 76de922996
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 14:57:02 +02:00
Thomas Citharel 6159cffc30
Add support in release and separate conf files for release/source
install

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-13 11:35:19 +02:00
Thomas Citharel b34958d3af
Refactor Webfinger module, use XRD host-meta to find webfinger endpoint
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-12 12:01:49 +02:00
Thomas Citharel ae2982b2d5
Bump version to 1.1.0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-31 10:33:57 +02:00
Thomas Citharel ce96627fb5
Bump version to 1.1.0-rc.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-30 15:14:39 +02:00
Thomas Citharel ef4a1d0b76
Only add unix executables in releases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-30 14:36:41 +02:00
Thomas Citharel 2b25953707
Bump version to 1.1.0-rc.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-30 09:55:21 +02:00
Thomas Citharel 8e6aa8c85c
Decode HTML entities when sanitized
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-30 09:12:53 +02:00
Thomas Citharel 7df18577e7
Bump version to 1.1.0-rc.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 11:42:38 +02:00
Thomas Citharel efea6f8423
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-25 14:42:02 +01:00
Thomas Citharel 99476dcfc7
Bump version to 1.1.0-beta.6
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-17 13:55:53 +01:00
Thomas Citharel cd3aaf6957
Bump version to 1.1.0-beta.5
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-17 11:13:42 +01:00
Thomas Citharel 00fa71dc66
Bump version to 1.1.0-beta.4
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-17 09:22:04 +01:00
Thomas Citharel 27a1d92e52
Bump version to 1.1.0-beta.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-16 16:09:07 +01:00
Thomas Citharel 56cc052e55
Bump to 1.1.0-beta.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-15 11:39:26 +01:00
Thomas Citharel d782ee37f0
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-09 10:42:01 +01:00
Thomas Citharel 3fe64a4389
Introduce the group activity section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-26 09:37:06 +01:00
Thomas Citharel d0567f783d
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-15 09:40:42 +01:00
Thomas Citharel 496debd6f3
Change everything for releases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-10 14:39:09 +01:00
Thomas Citharel 1c3f607eb5
Bump version to 1.1.0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-05 15:19:17 +01:00
Thomas Citharel ad74234ab4
Upgrade to use latest Sentry
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-05 15:19:16 +01:00
Thomas Citharel aeb6b2679c
Require Elixir 1.11
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-05 15:19:16 +01:00
Thomas Citharel 48e5ad89e7
Merge branch 'stable-1.0.x' 2021-02-04 17:20:59 +01:00
Thomas Citharel 5b737e2e5b
Bump version to 1.0.6
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-04 17:18:42 +01:00
Thomas Citharel 88707ff729
Add Sentry
We use Sentry 7.x for now because Sentry 8.0 requires Elixir 1.10

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-27 17:06:09 +01:00
Thomas Citharel 2810102136
Bump version to 1.0.5
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-27 09:59:03 +01:00
Thomas Citharel a6c2fb97a7
Add sobelow
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-22 19:44:58 +01:00
Thomas Citharel 010d1dce60
Update atomex dependency
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-22 14:02:28 +01:00
Thomas Citharel 208886fbea
Bump to 1.0.4
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-22 12:33:43 +01:00
Thomas Citharel 13609751ec
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-22 11:52:53 +01:00
Thomas Citharel 9f4dd06e43
Bump Absinthe to 1.6
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-18 14:20:08 +01:00
Thomas Parisot 5095be03ed
Define eldap as a transient application release. 2021-01-18 09:19:11 +01:00
Thomas Parisot c369e865d1 Explicitly include eldap in mix release. 2021-01-17 16:29:49 +01:00
Thomas Citharel 79e00a65b8
Add junit to exunit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-13 17:35:16 +01:00
Thomas Citharel 2215d50984
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-11 11:30:03 +01:00
Thomas Citharel b69daa7b54
Attach event ics files to event-related emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-11 11:29:28 +01:00
Thomas Citharel 425b28a426
Release 1.0.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-18 16:48:06 +01:00
Thomas Citharel 9b27e70eb0
Save remote profiles avatars & banners locally
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-15 17:17:42 +01:00
Thomas Citharel 79b52c1f10
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-09 10:40:40 +01:00
Thomas Citharel 207d5c0eb0
Use better upstream deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-30 12:48:23 +01:00
Thomas Citharel c9457fe0d3
Track usage of media files and add a job to clean them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-26 17:53:33 +01:00
Thomas Citharel 6fc43a3011
Release 1.0.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-16 10:05:01 +01:00
Thomas Citharel 43162faaa4
Upgrade deps and cleanup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-16 10:04:23 +01:00
Thomas Citharel 4aa42ac32c
Version 1.0.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-14 13:49:12 +01:00
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