Commit Graph

6633 Commits

Author SHA1 Message Date
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
48ae930b64 Show only enabled links in the navbar menu 2025-09-12 21:46:48 +02:00
Massedil
fd3e3010fc Improve the navbar menu
- The center `mobile-menu-2` can now contain an unlimited number of elements
- Components remain fixed at the top of the screen on small displays when the menu is expanded
- Menu items are always directly to the right of the logo (even when logged out)

Solves #1604
2025-09-12 21:46:48 +02:00
Massedil
ca304d6333 feat: Add a section in admin SettingsView to manage external links
Related to #1764
2025-09-12 21:46:48 +02:00
Massedil
56facb204a refactor: Improve admin settings design
Adding sections permit to be more clear and will help if we add a new "External links" section (#1764)
2025-09-12 21:46:40 +02:00
Massedil
407f5b881e fix: solves some TypeScript errors 2025-09-12 21:36:58 +02:00
Massedil
960b2ca4f7 feat(front): add external links in the NavBar menu
Related to #1764
2025-09-12 21:36:58 +02:00
Massedil
5b77cc17d2 feat(front): Remove __typename from variables
When reusing data from a query as an argument to another GraphQL operation, __typename fields can cause errors. To avoid this, you can use the removeTypenameFromVariables link to automatically remove __typename fields from variables in operations.

https://www.apollographql.com/docs/react/api/link/apollo-link-remove-typename
2025-09-12 21:36:58 +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
fbf22a83b2 Manage error about register - #877 2025-09-11 16:46:40 +02:00
Laurent GAY
45378f0e40 Add moderation text in user - #877 2025-09-11 13:57:24 +02:00
Laurent GAY
004b586cfe Permform frontend unittest - #877 2025-09-11 11:00:49 +02:00
Laurent GAY
d5f3d515a8 Add reason for registration mode = "moderate" - #877 2025-09-10 16:57:23 +02:00
Laurent GAY
8b2f23f41e correct test for rss export - (Issue #1496) 2025-09-03 22:01:04 +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
Massedil
8f8aa0ffbe Improve notification settings handling
- Reduce backend calls: only one request is made per parameter change, using the mutation response
- Use `watch` with `immediate: true` instead of a separate `setNotificationSettings` function
- Update notifications individually instead of via an `updatedSettings` group (like originally)

Solves #1585
2025-09-03 17:59:52 +02:00
Andreas Michaelides (Hochschule Stralsund)
bcbc5acf67 Fix saving of notification settings 2025-09-03 17:32:08 +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
setop
78a2a45bce Merge branch '1539-clean-translations' into 'devs'
Make interpolation parameters match up in the English and translated strings.

See merge request kaihuri/mobilizon!1587
2025-08-29 09:25:41 +00:00
Oliver Geer
fe6fc7345b fix(i18n): Make interpolation parameters match up in the English and translated strings.
closes #1539
2025-08-29 09:25:41 +00:00
setop
cc2e88d231 fix(backend): wrong host being logged in RefreshInstances
See merge request kaihuri/mobilizon!1584
2025-08-29 09:03:28 +00:00
Sosthène Guédon
1517351252 Fix wrong host being logged 2025-08-29 09:00:38 +00:00
setop
ac014e94c8 chore(build): fix OCI image annotations
cherry picked from !1599
2025-08-29 10:53:15 +02:00
Laurent GAY
8cb078f643 remove demo.mobilizon.org link (#1702) 2025-08-06 12:08:54 +02:00
Laurent GAY
357a842180 Correct search by location: bad radus distance sended (Issue #1821) 2025-08-05 18:26:02 +02:00
Laurent GAY
e69e149d00 replace joinmobilizon.org by mobilizon.org: correct tests using mobilizon.org resources (#1702) 2025-08-05 17:10:04 +02: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
35b73eb20c atom/ics link copy to clipboard: using in "GroupView" + "EditIdentity" + "NotificationsView" + "AboutInstanceView" - refactoring to use same mecanizem (Issue #1496) 2025-08-01 18:15:14 +02:00
Laurent GAY
b339de8815 event icon: correct tests (#1822 & #1823) 2025-08-01 18:15:14 +02:00
Laurent GAY
aeeb52aced event icon: text contrast in light mode and add year in footer (#1822 & #1823) 2025-08-01 18:15:14 +02:00
setop
5f3c3b2c7d chore: prepare for release 2025-07-11 14:40:47 +02:00
setop
b3a9f6619f chore: make linter happy 2025-07-11 13:25:43 +02:00
setop
3911693fa8 Merge branch 'icon-rss' into 'devs'
Improvement of the RSS export with the addition of the image

See merge request kaihuri/mobilizon!1634
2025-07-11 10:48:47 +00: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
fc41d3c4bd Merge branch 'mcnesium-main-patch-82668' into 'devs'
add support for MOBILIZON_INSTANCE_DESCRIPTION environment variable

See merge request kaihuri/mobilizon!1595
2025-07-11 10:47:45 +00:00
mcnesium
e2f76d4c39 add support for MOBILIZON_INSTANCE_DESCRIPTION environment variable 2025-07-11 10:13:45 +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
Laurent GAY
07707f645b correction Accessibility about tab & focus - Issue #1788 2025-07-07 17:01:47 +02:00
Laurent GAY
0e3cf05bd2 add check_i18n.py in pre-commit (husky) - Issue #1776 2025-07-07 16:26:36 +02:00
Laurent GAY
39d8b7d7e6 add check_i18n.py in pre-commit (husky) - Issue #1776 2025-07-07 16:22:15 +02:00
Laurent GAY
4fd9e3bc86 Correct commentTree failure unit-test - issue #1776 2025-07-07 16:14:13 +02:00
Massedil
fc2ee69505 fix(tests): Tries to login with valid credentials, confirmed account but no profile
article.o-notification is not enouth specific
2025-07-04 21:37:34 +02:00