Commit Graph

1414 Commits

Author SHA1 Message Date
Massedil
bb71ec763c Add backend for group invitations
For #887
2025-11-29 19:14:28 +01:00
Massedil
249c5bf178 fix a elixir warning 2025-11-29 19:14:28 +01:00
Laurent GAY
3cdfc76aff modify event's participatiants permission - #687 2025-11-29 19:14:27 +01:00
Laurent GAY
8116f03ebf Add :allow_see_participants in group/actor - #687 2025-11-29 19:14:27 +01:00
setop
bdbbb3549b fix: photon test 2025-11-29 19:14:27 +01:00
Davey Faherty
7bfe83b899 Added originId property to Photon API response.
Corrected endpoint url for Photon to .io TLD.
2025-11-29 19:14:27 +01:00
Massedil
c7ab651449 fix: A disabled user can't create a new profile
Fixes #1842
2025-10-08 12:33:13 +02:00
Laurent GAY
17046c4552 send email to change role pending -> user + i18n - #877 2025-10-01 16:08:44 +02:00
Laurent GAY
36e045ed3d send email to moderators for pending user - #877 2025-10-01 12:42:45 +02:00
Massedil
9d4a558c1a Possibility to unban a user
#1843
2025-09-27 17:54:59 +02:00
Laurent GAY
726a5e1d78 user list for moderation of pending users - #877 2025-09-13 19:57:53 +02:00
Laurent GAY
23cd7333c4 can not login for pending user - #877 2025-09-13 16:43:00 +02:00
Laurent GAY
e3f3ccd148 Administration of users with pending - #877 2025-09-12 23:05:07 +02:00
Massedil
3a3c452e92 Validate external_links on both server and client sides.
Display errors from SaveAdminSettings to the user.
2025-09-12 21:46:48 +02:00
Massedil
66f3956d14 refactor: rename externalUrls to externalLinks 2025-09-12 21:46:48 +02:00
Massedil
3f078fa96f fix(backend): Return all the admin settings for saveAdminSettings
Solves the null info returned if we only save a part of the admin settings and requested another part of the admin config as result.

For example : save instanceName, and request instanceName and contact in your response. Before : instanceName has the good value, but contact is wrongly null. After : instanceName and contact have the good and updated values.
2025-09-12 21:36:58 +02:00
Massedil
88b48f3350 feat(backend): add external_urls to GraphQL
Available for :
- saveAdminSettings
- adminSettings
- config

For #1764
2025-09-12 21:36:58 +02:00
Laurent GAY
04cf4efee4 manage user pending of moderation - #877 2025-09-11 20:07:20 +02:00
Laurent GAY
45378f0e40 Add moderation text in user - #877 2025-09-11 13:57:24 +02:00
Laurent GAY
328cd6a96b elixir reformat - #877 2025-09-03 21:18:38 +02:00
Laurent GAY
3e4899c8e4 [Adminitration] Allow registrations: 3 modes = "close", "allowed", "moderate" - #877 2025-09-03 21:07:49 +02:00
André Menrath
63d44ce4db fix(activitypub): Remote event processing fails if featured image is of type Image 2025-08-29 09:42:14 +00:00
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