Commit Graph

1392 Commits

Author SHA1 Message Date
André Menrath
2a29b623e9 hotfix: announce might also contain an activity 2025-08-29 09:27:38 +00:00
Sosthène Guédon
1517351252 Fix wrong host being logged 2025-08-29 09:00:38 +00:00
Laurent GAY
9845b3a82d atom/ics link copy to clipboard: correct URL copied for notificationsview + correct events list (participated + owned) (Issuer #1496) 2025-08-05 16:16:26 +02:00
Laurent GAY
40339a8f5b replace joinmobilizon.org by mobilizon.org (#1702) 2025-08-01 18:15:14 +02:00
Laurent GAY
d2ce0de020 add event image in iCal export (#842) 2025-08-01 18:15:14 +02:00
Laurent GAY
289128dbdb Improvement of the RSS export with the addition of the image as a logo if it exists - Issue #1653 2025-07-11 10:48:06 +00:00
setop
d047c130a7 fix: solves 3 compilation warnings, closes #1774
- group function variations together
- merge doc of all function variations at the top
2025-07-11 11:13:35 +02:00
Massedil
108d34305e fix: Ensure "show existing user" test passes reliably
Make the output of mix "mobilizon.users.show" deterministic by sorting actors before displaying them.

Fixes #1799
2025-06-20 17:04:59 +02:00
Massedil
7b657c2ac6 fix(backend): catch all remaining errors in the accept_invitation and reject_invitation function
Solves the error when accepting an already refused invitation

Solves #1796
2025-06-19 17:15:27 +02:00
Massedil
77a05ac862 fix: solves 3 compilation warnings in feed_token.ex 2025-06-19 15:42:42 +02:00
Massedil
dcf9f82156 fix(backend): catch all remaining errors in the update_post function
Solves the case where a post is updated without a title

Fixes #1790
2025-06-18 19:30:27 +02:00
setop
52ef7fb9af feat(backend): add html hooks into the app main page
html snippets are injected in the main template.
they can be defined in the application config.
documentation to come.

closes #1719
2025-06-16 23:30:51 +02:00
Massedil
569d27f0b9 fix: Allow updating media in admin_settings_medias by UUID
Fixes #1769
2025-06-10 15:30:31 +02:00
Massedil
73165a0216 Call refresh_instance_actor when an external instance asks to follow us
Fixes #1638
2025-06-10 05:38:49 +02:00
Massedil
62a54d42fe remove refresh_instance_actor 2025-06-10 05:38:49 +02:00
Massedil
0af4745c98 Add relayAddress in the get_instances() reply
Solves #1694
2025-06-10 05:38:49 +02:00
Massedil
933ee9f959 Return :none instead of nil for follower_status and followed_status
Solves #1690
2025-06-10 05:38:49 +02:00
setop
265803cb26 fix(backend): admin cant access profile page 2025-05-28 15:10:44 +02:00
setop
1ad8b268ed fix(backend): Conversations that include any user who has commented on an event are exposed 2025-05-28 10:28:42 +02:00
Massedil
8bb6b0b97c refactor: Remove the registerPerson GraphQL query
- The first profile is now created after the user email validation
- NavBar is correctly updated when a user is connected but without any profile
- Always fetch identities from the server at login (no cache)
- NoIdentitiesException is thrown again
- Refactor EditIdentity to create the first profile
- Translations updated
- Tests updated

Fixes #1762
2025-05-27 11:18:21 +02:00
Massedil
a50681c9ac refactor(media): use UUID instead of ID for media retrieval in GraphQL
Fixes #1760
2025-05-27 11:18:21 +02:00
Massedil
1b2c55508e Prevent access to confirmation_token and reset_password_token via GraphQL API
Those tokens do not need to be exposed to authenticated users, not even admin users.

Fixes #1761
2025-05-27 11:18:21 +02:00
setop
394e66683a Merge branch 'fix-chunked-encoding' into 'main'
fix(proxy): chunked encoding mustn't set content-length header

See merge request kaihuri/mobilizon!1604
2025-05-09 09:55:56 +00:00
setop
6ecab1df1b fix: sanatize FeedToken 2025-04-05 23:45:33 +02:00
Niklas Korz
241d18273a fix(proxy): chunked encoding mustn't set content-length header 2025-02-16 14:54:25 +01:00
Massedil
8303eb13a5 feat(config): add durationOfLongEvent in FullConfig query
For #1568
2025-02-11 17:40:03 +01:00
Laurent GAY
fbcca23057 #1629: remove GeoIP for default location 2025-01-22 16:18:45 +01:00
André Menrath
ed85ae2bee fix(activitypub): remote event processing fails when featured image is of type Image 2025-01-12 22:55:36 +01:00
setop
255c8fda67 fix(back): event.ends_on can be nil 2024-12-06 15:57:53 +01:00
Massedil
f67bd900f7 Issue #1567 : use ends_on for comparaisons to get future and ongoing events 2024-11-29 19:19:19 +01:00
Massedil
71c0ce37a9 case harmonization with other fields
- longevents -> long_events (back-end)
- longevents -> longEvents (front-end)
2024-11-29 19:15:35 +01:00
Massedil
91b0e7d265 remove an obsolete comment 2024-11-29 19:15:35 +01:00
Massedil
752da9e641 Issue #1567 : Add a long_event computed field to an event
The actual long_event implementation is only done for search and long_event is a parameter of the search request.

This change is needed for the the front-end to know if an event is a long_event everywhere an event is received.

The computed field (Ecto virtual field) is set after the Ecto request with the function with_virtual_fields().

with_virtual_fields() handles cases where there is an event, a list of events and a paginated list of events returned.
2024-11-29 19:15:35 +01:00
Massedil
6ff3525764 #1308 Fix group sorting and add new criteria (creation date, last event activity) 2024-10-24 19:09:28 +02:00
Massedil
41aa81097d #1308 update build_page() to permit query with group_by()
Using Repo.aggregate() to count the total of elements is incompatible with group_by().

Changing this to a subquery with a count(*) of results permit to use group_by().
2024-10-24 19:09:28 +02:00
setop
79bd6a5d21 fix #1469 and # 1475 2024-07-08 21:44:22 +00:00
André Menrath
6d7688e4f7 Use RemoteMediaDownloaderClient, not Tesla directly to use global ssl options 2024-06-30 13:18:10 +02:00
André Menrath
b8b2e895b0 1503 fix ActivityPub publishing for self-signed CA certs 2024-06-20 22:02:31 +02:00
setop
d5adda00a9 feat(backend): add hat geocoder as a config 2024-04-24 12:19:44 +02:00
setop
7030d56864 all developments of milestone 1 2024-04-10 12:36:21 +00:00
778a69cd
a0a873d234 fix wrong link in instance follow request text email 2024-02-17 14:04:01 +01:00
Thomas Citharel
baa11c18b0 feat(http): allow to provide self-signed certificates
Allow for the MOBILIZON_CA_CERT_PATH to be used to provide your own root certificates. The CAStore
and certify certificates stores should be always already be used as fallback instead of the system
store.

Closes #1355

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 13:51:59 +01:00
Thomas Citharel
9d99684402 feat: allow to filter events by local-only
In addition to internal (self + federated) and global (global external search engine), introduce the
self possibility

Closes #1322

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 13:51:59 +01:00
Thomas Citharel
e3b36434cb fix(activitypub): handle issue with AP Fetcher not catching some changeset errors
Closes #1409

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:56:50 +01:00
Thomas Citharel
4dc2f489e7 fix(activitypub): also handle as:Public and Public values for public addressing
Closes #1413

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:52:03 +01:00
Thomas Citharel
28430d6d57 feat(docker): add new environment variables for Docker config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:52:03 +01:00
Thomas Citharel
1acf931ac5 fix(back): sitemapper fix after upgrade
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
ef20585f8c fix(announcements): error message not showing when an event announcement is created with empty text
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:22 +01:00
Thomas Citharel
0bd00de501 fix(backend): only send announcement event emails when the comment author has the right to do so
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
95379885c8 fix(backend): fix sending N notifications to a single conversation participant
Because of the conversation participant ID being necessary in the email, we launch N jobs to send
notifications, so we need to send the email straight away.

Anonymous participants are always only a single conversation actor
participant, so we're fine

Closes #1384

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00