Thomas Citharel
28063bd1d9
fix(docker): fix getting configuration value from env MOBILIZON_SMTP_TLS
...
Closes #1381
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 16:05:33 +01:00
Thomas Citharel
11e42d6601
feat(background): add a job to refresh participant stats
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-01 11:29:56 +01:00
Thomas Citharel
0ed48d5b0a
Merge branch 'fix-docker-development' into 'main'
...
Fix docker development:
See merge request framasoft/mobilizon!1483
2023-11-23 14:53:53 +00:00
summersamara
bfb7e3ca40
introduce VITE_HOST env var and pass it to the node watcher vite --host
2023-11-23 15:33:31 +01:00
Thomas Citharel
b2bacbf6eb
build: downgrade Sentry since it doesn't want to compile
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-23 11:20:38 +01:00
Thomas Citharel
f47889b5e0
fix: set correct watcher config for E2E tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-21 16:58:30 +01:00
Thomas Citharel
99c80c6490
chore: upgrade deps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-21 16:40:32 +01:00
Thomas Citharel
105d3b5814
test: fix front-end tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-15 12:38:36 +01:00
Thomas Citharel
2e72f6faf4
build: switch from yarn to npm to manage js dependencies and move js contents to root
...
yarn v1 is being deprecated and starts to have some issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-14 17:24:42 +01:00
Thomas Citharel
2ecdf05bf9
fix(docker): allow to configure SMTP TLS
...
The :tls configuration was not configurable with ENV variables, so it couldn't be changed to
:always, :never or :if_available
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-10-09 17:33:02 +02:00
Hugo Renard
b3be7c6a20
fix(docker): convert smtp tls sni to char list
...
Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-09-19 11:45:23 +02:00
Thomas Citharel
3d63c12e88
fix(config): rollback Mailer tls setting to :never by default
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-09-07 12:41:42 +02:00
Thomas Citharel
f28109ad50
fix(sitemap): save generated sitemaps in configurable directory
...
Previously in priv/static, now by default in production in /var/lib/mobilizon/sitemap and
configurable through the $MOBILIZON_SITEMAP_PATH ENV variable
Closes #1321
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-09-05 20:04:26 +02:00
Thomas Citharel
f6611e8eb5
feat(back): add admin setting to disable external event feature
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-09-01 18:16:40 +02:00
Thomas Citharel
f54fff56fc
fix(mail): fix sending mail on OTP26
...
For TLS connections specifying cacerts & server_name_indication is now required
Closes #1341
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-08-18 13:41:46 +02:00
Thomas Citharel
d63999c081
fix(deps): fix compatibility with elixir-plug/mime 2.0.5
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-20 12:06:38 +02:00
Thomas Citharel
6745590e54
fix(federation): only refresh instances once a day
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-06 12:12:19 +02:00
Thomas Citharel
618b3d23d9
refactor(anti-spam): make anti-spam agnostic from Akismet
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-01 14:48:42 +02:00
Thomas Citharel
94182aed2d
feat(i18n): activate croatian language
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-05-24 11:19:47 +02:00
Thomas Citharel
4bb062528f
feat(docker): Specify the folder where tzdata downloads data so that it can be used in a volume
...
Closes #1280
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-21 15:49:40 +02:00
Thomas Citharel
eda2761032
refactor(credo): Refactor to appease new credo checks (complexity and logging)
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-19 18:33:06 +02:00
oscar
4a9121825f
Fix config requiring boolean
2023-04-12 11:34:23 +00:00
oscar
53782bf6e6
Add env var to use SSL when connection to DB
2023-04-11 13:59:30 +00:00
Thomas Citharel
c07ba3a5d1
Add rate-limiting on queries with Hammer
...
Closes #67
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-24 15:32:27 +01:00
Thomas Citharel
986ae45f52
Add worker to clean obsolete application data, token revokation and spec conformance
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-24 09:18:53 +01:00
Thomas Citharel
8984bd7636
Introduce authorizations with Rajska
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-22 10:19:25 +01:00
Thomas Citharel
6792ee3127
Fix port number type
...
After d8616899
and https://framagit.org/framasoft/mobilizon/-/merge_requests/1339#note_1894390
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-22 09:22:18 +01:00
Thomas Citharel
d861689970
Allow to specify database port for Docker configuration
...
Closes #1193
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-21 11:05:39 +01:00
Thomas Citharel
e7e4ed2ac9
Add Ecto.DevLogger in dev mode
...
See https://github.com/fuelen/ecto_dev_logger
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 16:56:04 +01:00
Thomas Citharel
30b0d3ca08
Add GraphQL operation name, user ID and actor name in logs
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 13:03:53 +01:00
Thomas Citharel
a51b36fb75
Fix building CSP policy
...
You can't use 'none' as a CSP Policy if there's other things among
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 16:47:24 +01:00
Thomas Citharel
57fac37347
Support CSP report_uri, report_to and the Report-To and Reporting-Endpoints headers
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 10:55:26 +01:00
Thomas Citharel
579bcaba06
Allow to disable non-SSO login
...
With a new disable_database_login parameter under :mobilizon, :instance
Closes #1154
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 17:41:49 +02:00
Thomas Citharel
8b53d40928
Don't inline phoenix manifest
...
Closes #1176
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-24 11:57:36 +02:00
Thomas Citharel
8915a5caad
Fix Sentry registration
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-27 18:19:01 +02:00
Thomas Citharel
1087e19ee5
Enable E2E tests in CI
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-27 13:43:09 +02:00
Thomas Citharel
6675c62d94
Add unplug to dynamically load plugs
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-21 10:15:47 +02:00
Thomas Citharel
4db13046b7
Provide an accept CSP policy for global search pictures
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-28 10:02:06 +02:00
Thomas Citharel
48935e2168
Add global search
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-28 10:02:06 +02:00
Thomas Citharel
d818557469
Update deps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-19 15:07:34 +02:00
Thomas Citharel
ee20e03cc2
Migrate to Vue 3 and Vite
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-11 16:46:31 +02:00
Thomas Citharel
bcf936d103
Set initial analytics configuration
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-06 14:25:38 +02:00
Thomas Citharel
c1a59f5536
Use better default for SMTP mailer
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-06 10:24:14 +02:00
Thomas Citharel
4b9a38b2a7
Merge branch 'email-spam' into 'main'
...
Move mailer from Bamboo to Swoosh
Closes #491
See merge request framasoft/mobilizon!1203
2022-04-05 11:21:24 +00:00
Thomas Citharel
e841fb6fbb
Move mailer from Bamboo to Swoosh
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-05 12:38:02 +02:00
Thomas Citharel
d2864a22d9
Allow to exclude stale actors from group search (one week without refreshment)
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-04 15:42:16 +02:00
Thomas Citharel
9daf031928
Remove the oc locale
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-23 16:10:15 +01:00
Thomas Citharel
fbe5a8d0c4
Detect and convert html body in the correct charset before parsing it
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-18 12:47:45 +01:00
Thomas Citharel
e717312de7
Introduce instances admin page
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-17 14:41:03 +01:00
Thomas Citharel
19bf587dc9
Update deps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-21 19:47:38 +01:00