Commit graph

1495 commits

Author SHA1 Message Date
Thomas Citharel 0cb43515bc
Fix language and redirection issues when connecting from 3rd-party
Closes #626

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 19:29:15 +02:00
Thomas Citharel bbc5ba323d
Add pagination to featured events
Closes #811

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 18:08:23 +02:00
Thomas Citharel 5f3d1f89df
Allow to add metadata to an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 16:16:14 +02:00
Thomas Citharel 33bf8334fe
Allow all rel values for event & post links in descriptions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 14:26:19 +02:00
Thomas Citharel 9243be2448
Fix apollo cache merge issue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 14:25:36 +02:00
Thomas Citharel bfc9dd7ea3
Redirect from Login page to Homepage if already logged-in
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 14:25:36 +02:00
Thomas Citharel 682da46fda Merge branch 'add-email-deny-list' into 'master'
Support denying registration based on email or domain

See merge request framasoft/mobilizon!1016
2021-08-08 18:55:50 +00:00
Thomas Citharel 783486a366
Support denying registration based on email or domain
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-08 19:56:33 +02:00
GunChleoc 2d2cb556da Translated using Weblate (Gaelic)
Currently translated at 100.0% (1074 of 1074 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-08-08 14:15:44 +02:00
Berto Te 00ecc181eb Translated using Weblate (Spanish)
Currently translated at 100.0% (1074 of 1074 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-08-07 10:15:41 +02:00
Thomas Citharel 5bcf8a2305
Fix apollo cache bugs with identity creation/edition/deletion
Closes #798

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 16:10:04 +02:00
Thomas Citharel f3a05929d9
Allow members-restricted posts to be viewable by instance moderators
But add a warning message on top of the post

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 16:10:03 +02:00
TA 532e38ef5f Translated using Weblate (Indonesian)
Currently translated at 61.6% (659 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-08-04 12:25:27 +02:00
setop 7d40a75650
add loading wheel to some slow views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-04 11:23:37 +02:00
Thomas Citharel 549b82c94a
Remove unused getter
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 15:13:30 +02:00
Thomas Citharel 0110124b32
Add an await before a router push when login
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 15:01:22 +02:00
Thomas Citharel b53d8d54ef
Fix apollo cache issue when registrering first profile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 14:58:42 +02:00
Thomas Citharel a7753e6a5c
Refactor refreshing token
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 14:57:44 +02:00
TA 7d74b6c283 Translated using Weblate (Indonesian)
Currently translated at 61.2% (655 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-08-02 20:45:37 +02:00
Thomas Citharel 1c9513c073
Remove unused CSS filter on homepage picture
It was ugly on Safari/Webkit

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 20:09:14 +02:00
Thomas Citharel 691f7ab141
Translate reset password error message title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 19:37:27 +02:00
Thomas Citharel 383b3b6a78
Remove use of String.replaceAll for unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 19:26:44 +02:00
Thomas Citharel 8c480af4bd
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 18:11:22 +02:00
Thomas Citharel 41f54ef2f3
Fix empty domain tag showing up for remote event from local actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:51 +02:00
Thomas Citharel e26c431350
Fix only part of username showing up in OrganizerPickerWrapper
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:51 +02:00
Thomas Citharel 68d3315999
Fix event editing joinMode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:50 +02:00
Thomas Citharel caf9493a00
Various changes needed for AP refactor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:22 +02:00
Thomas Citharel a3181fd68b
[Front-end] Allow group events to be edited by group moderators
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:19 +02:00
Thomas Citharel 961f08e27f
[Front-end] Allow remote moderators to edit group events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel 53dc3f470b
Allow post edition by remote moderator
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel 8d23fca9a0
Add short format for datetimes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
TA b96ecc0bf3 Translated using Weblate (Indonesian)
Currently translated at 58.3% (624 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-07-31 05:15:38 +02:00
Enfong Cao 664abc3faf Translated using Weblate (Chinese (Traditional))
Currently translated at 1.0% (11 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/zh_Hant/
2021-07-31 05:15:38 +02:00
TA 7c0227b466 Translated using Weblate (Indonesian)
Currently translated at 58.1% (622 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-07-31 03:13:12 +02:00
Thomas Citharel bbaf752ab6 Merge branch 'fix-language-issues' into 'master'
Fix and improve language handling

See merge request framasoft/mobilizon!1004
2021-07-27 18:45:53 +00: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
TA f66ace0ce8 Translated using Weblate (Indonesian)
Currently translated at 36.5% (391 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-07-24 20:15:45 +02:00
TA fbc71aad63 Added translation using Weblate (Indonesian) 2021-07-24 00:36:09 +02:00
josé m 10c71b6635 Translated using Weblate (Galician)
Currently translated at 99.8% (1067 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2021-07-23 19:15:43 +02:00
-- 72185daed0 Translated using Weblate (Finnish)
Currently translated at 100.0% (1069 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-07-23 19:15:42 +02:00
deadmorose 9441be22d8 Translated using Weblate (Russian)
Currently translated at 100.0% (1069 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-07-23 19:15:42 +02:00
Berto Te d3166e1b53 Translated using Weblate (Spanish)
Currently translated at 100.0% (1069 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-07-23 19:15:41 +02:00
Thomas Citharel 71f50b35b6 Merge branch 'fix-profile-edition' into 'master'
Fix profile edition

Closes #763

See merge request framasoft/mobilizon!993
2021-07-21 14:55:50 +00:00
Thomas Citharel 69bc6f0390
Fix FeedToken recreation
Closes #769

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 16:05:31 +02:00
josé m b6547d77f5 Translated using Weblate (Galician)
Currently translated at 99.9% (1064 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2021-07-21 12:55:55 +02:00
Jimi Viita-aho 6dce01e818 Translated using Weblate (Finnish)
Currently translated at 100.0% (1065 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-07-21 12:55:55 +02:00
fadelkon 84bbcac9d8 Translated using Weblate (Catalan)
Currently translated at 99.7% (1062 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ca/
2021-07-21 12:55:55 +02:00
Thomas Citharel 9b6aee0102 Merge branch 'fix-push-notifications-safari' into 'master'
Fix Notifications page broken page on Safari

Closes #772

See merge request framasoft/mobilizon!991
2021-07-21 10:55:45 +00:00
Thomas Citharel a8b5f4fc11
Fix profile edition
Closes #763

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 12:20:02 +02:00
Thomas Citharel 02187b1158
Fix Notifications page broken page on Safari
Closes #772

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 12:11:59 +02:00
Thomas Citharel 64af148c7e
Hide drafts and visibility limited content on group public preview page
Closes #775

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 12:02:14 +02:00
Thomas Citharel 3d9ed58fa4
Update language files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 10:47:50 +02:00
Thomas Citharel 1fe5ff802d
Aria improvements on group page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 10:47:40 +02:00
Thomas Citharel 7ca7c132fb
Add back RSS/ical links on public group pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 10:45:42 +02:00
GunChleoc bb0f2e9310 Translated using Weblate (Gaelic)
Currently translated at 93.6% (997 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-07-20 18:37:59 +02:00
Jimi Viita-aho edc11561da Translated using Weblate (Finnish)
Currently translated at 100.0% (1065 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-07-20 18:37:58 +02:00
-- d109d91225 Translated using Weblate (Finnish)
Currently translated at 100.0% (1065 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-07-20 18:37:57 +02:00
Jimi Viita-aho 98c8679a1f Translated using Weblate (Finnish)
Currently translated at 95.8% (1021 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-07-20 15:06:12 +02:00
-- 42d13f92b2 Translated using Weblate (Finnish)
Currently translated at 95.8% (1021 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-07-20 15:06:11 +02:00
GunChleoc ec8325e604 Translated using Weblate (Gaelic)
Currently translated at 90.8% (968 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-07-20 10:15:34 +02:00
deadmorose 6f881d5ee3 Translated using Weblate (Russian)
Currently translated at 100.0% (1065 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-07-09 02:51:27 +02:00
Thomas Citharel bc09beadc2 Merge branch 'fixes' into 'master'
Fix lodash import

See merge request framasoft/mobilizon!976
2021-07-02 10:54:09 +00:00
Thomas Citharel d8fa50f127
UI fixes for group discussions items
Closes #754

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-02 10:11:22 +02:00
Thomas Citharel 63d0703b95
Fix deleted comments crashing the discussions
Closes #753

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-02 10:11:12 +02:00
Thomas Citharel dc0efe9bac
Fix lodash import
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-01 10:48:37 +02:00
Berto Te 57e5ded63c Translated using Weblate (Spanish)
Currently translated at 100.0% (1065 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-06-30 18:36:48 +02:00
Thomas Citharel 4c5eb58aa7
Fixed profile suspension
Closes #749

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 18:04:01 +02:00
Thomas Citharel 909a1030ef
Fix submission button for posts on mobile
Closes #747

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 17:15:13 +02:00
Thomas Citharel 02931ec0cd
Improve UI for participations when message is too long
Add a button to make the details more discoverable

Closes #452

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 16:17:29 +02:00
Thomas Citharel 47cc3173ac
Cleanup Group.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 15:31:17 +02:00
Thomas Citharel f63c81efbd
Fix ellipsis in DiscussionListView
Regression from 1.2.0

Closes #750

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 15:30:44 +02:00
Thomas Citharel 081e87209b
Fix pictures without metadata information in post display
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 18:38:38 +02:00
Thomas Citharel ea01b50b32
Don't show webpush section if navigator.serviceWorker is undefined
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 14:46:28 +02:00
Berto Te 97c5628c65 Translated using Weblate (Spanish)
Currently translated at 100.0% (1062 of 1062 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-06-29 11:53:40 +02:00
Thomas Citharel b3f91237a3
Update translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:50:32 +02:00
Thomas Citharel 83eb746b5a
Improve share modal accessibility
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:41:40 +02:00
Thomas Citharel d383d0ecff
Add Whatsapp and Telegram sharing providers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:27:20 +02:00
Thomas Citharel c5b9a98334
Add Mastodon as a sharing provider
Closes #227

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:27:20 +02:00
Thomas Citharel 4a63ff4487
Remove outdated vue logo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:27:20 +02:00
Thomas Citharel 83b43e8816
Fix missing Diaspora Logo in share modal
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:27:19 +02:00
Set Sakrecoer 05cc55ad24 🎨Correct image ratio in admin dashboard. fix #735 2021-06-28 10:23:48 +02:00
Thomas Citharel 333bdabab9
Show a different error message in Notifications if the feature is
disabled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-28 09:38:35 +02:00
Thomas Citharel 98b8b3338c
Fix a mutation that should have been a query
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-28 09:36:29 +02:00
Thomas Citharel b2a40d15fa
Set update app snackbar text in secondary
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-28 08:36:18 +02:00
Thomas Citharel 574152922d
Merge remote-tracking branch 'weblate/master' 2021-06-27 19:32:41 +02:00
josé m 5e61dc4f8a Translated using Weblate (Galician)
Currently translated at 99.1% (1048 of 1057 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2021-06-27 18:48:33 +02:00
Berto Te c073a264b1 Translated using Weblate (Spanish)
Currently translated at 100.0% (1057 of 1057 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-06-27 18:48:32 +02:00
Thomas Citharel bf44d6d2b3
Fix editing subproperties of an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-27 18:17:24 +02:00
Thomas Citharel 8ecfd111c5
Show a different message when we can't save anonymous participation
token in browser

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-27 18:17:02 +02:00
Thomas Citharel 8d1898e003
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-27 16:35:21 +02:00
Mostafa Ahangarha 45a4231195 Translated using Weblate (Persian)
Currently translated at 8.6% (91 of 1057 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fa/
2021-06-26 19:52:09 +02:00
Mostafa Ahangarha cbdcdb8fd5 Translated using Weblate (Persian)
Currently translated at 4.1% (44 of 1056 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fa/
2021-06-26 16:46:08 +02:00
Berto Te 1d0b4966da Translated using Weblate (Spanish)
Currently translated at 100.0% (1056 of 1056 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-06-26 16:46:08 +02:00
Thomas Citharel d3790a371a Merge branch 'email-notifications' into 'master'
Send activity digests

See merge request framasoft/mobilizon!953
2021-06-26 14:44:23 +00:00
Thomas Citharel 784c607c65
Send activity digests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-26 16:09:02 +02:00
Mostafa Ahangarha a16f1c4002 Added translation using Weblate (Persian) 2021-06-26 15:28:47 +02:00
Thomas Citharel a542f94379
Fix a typo in french translation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-24 11:17:52 +02:00
Thomas Citharel 54c23c6673
Better error handler for push notifications subscription
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-24 11:17:30 +02:00
Thomas Citharel 4dde5b8275
Fix actorId query sometimes being lost when creating an event from group
Closes #712

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-23 16:13:36 +02:00
Thomas Citharel b02fecfc78
Hide some warnings from apollo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-23 16:13:36 +02:00
Berto Te 82b030ec01 Translated using Weblate (Spanish)
Currently translated at 100.0% (1055 of 1055 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-06-22 13:15:24 +02:00
josé m a1f4c4a261 Translated using Weblate (Galician)
Currently translated at 99.9% (1048 of 1049 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2021-06-20 14:09:48 +02:00
deadmorose 04cd7b8c9d Translated using Weblate (Russian)
Currently translated at 100.0% (1049 of 1049 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-06-20 14:09:48 +02:00
Berto Te 92c6371f76 Translated using Weblate (Spanish)
Currently translated at 100.0% (1049 of 1049 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-06-20 14:09:48 +02:00
Thomas Citharel 4aaf92803a
Upgrade deps
- Remove `@types/vuedraggable` (already in vuedraggable)
- Upgrade Tiptap way of using StarterKit

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 20:23:44 +02:00
Thomas Citharel 762f917ff7
Homepage improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 20:23:44 +02:00
Thomas Citharel d570f44384
Remove mad margin on .title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 19:28:59 +02:00
Thomas Citharel 62e73e2e6c
Add width/height to avatar mini image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 19:25:47 +02:00
Thomas Citharel dbd1e6fe2c
Don't show 401 graphQL errors
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 18:42:54 +02:00
Thomas Citharel 4e1d49693f
Include uncontrolled clients into clients to focus
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 18:41:53 +02:00
Thomas Citharel aed3f74be1
Don't show notification if the client is already focused
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 18:41:34 +02:00
Thomas Citharel 637c7055c7
Add fonts to service-worker workbox cache
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 18:41:09 +02:00
Thomas Citharel 8b90aa0775
Add a snackbar message to allow the user to trigger service-worker refresh
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 18:19:04 +02:00
Thomas Citharel d1c31a5080
Handle going to notification URL on click
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-17 16:00:20 +02:00
Berto Te 7dbf9c5840 Translated using Weblate (Spanish)
Currently translated at 100.0% (1045 of 1045 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-06-16 17:40:20 +02:00
Thomas Citharel b884d88ac3
Fix crash when group undefined
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 14:47:36 +02:00
Thomas Citharel 6c0e503319
Upgrade types for Vue async component in router
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 14:39:43 +02:00
Thomas Citharel c89c6f11e8
Fix text overflow in event metadata with long organizer name
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 12:43:31 +02:00
Thomas Citharel 4f67d9cbe6
Fix joining an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 12:43:31 +02:00
Thomas Citharel a765d226b8
Refactor default image wrapper
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 11:26:39 +02:00
Thomas Citharel 2779846671
Add metainfo to JoinGroupWithAccount form
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 11:26:19 +02:00
Thomas Citharel f8e73ca990
Various group-related improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 11:25:53 +02:00
Thomas Citharel 6cc233a6d3
Improve group related UI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-15 17:25:33 +02:00
Thomas Citharel 9639a066ff
Fix overflow on group membership cards
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 16:39:04 +02:00
Thomas Citharel c040f6e114
Extract missing translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 16:22:41 +02:00
Thomas Citharel 085679b207
Event little UI fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 16:14:17 +02:00
Thomas Citharel 8158fe43ff
Fix event default image not showing up
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 16:13:45 +02:00
Thomas Citharel 55a3d2b1d3
Add pagination to resource mover modal as well
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 15:40:30 +02:00
Thomas Citharel 7c37b10ceb
Fix typo leftover in participation pagination path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 15:13:18 +02:00
Thomas Citharel 33838974c5
Improve resources display on mobile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 15:13:08 +02:00
Thomas Citharel 24b94d1860
Add pagination to resources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 15:12:38 +02:00
Taru Luojola 4d923d1671 Translated using Weblate (Finnish)
Currently translated at 81.0% (845 of 1043 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-06-12 02:15:22 +02:00
Thomas Citharel b2ff469ff5
Fix grey text on post page (not enough contrast)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:49:05 +02:00
Thomas Citharel 3e9747939d
Add noopener to koena connect link
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:48:51 +02:00
Thomas Citharel b53867181f
Various improvements to MyEvents & event cards
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:31:24 +02:00
Thomas Citharel 49df536b38
Improve Navbar on mobile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:31:13 +02:00
Thomas Citharel a7a38c7f69
Cleanup GroupEvents
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:30:28 +02:00
Thomas Citharel 7f61dd0c8e
Set groupId in query params when creating an event from group events
page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:29:16 +02:00
Thomas Citharel 1d75ce095a
Fix events creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:08:53 +02:00
Thomas Citharel 160e5fbdae
Fix discussions pagination
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:08:43 +02:00
Thomas Citharel fa8a958597
Add names to group graphQL queries
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:07:19 +02:00
Thomas Citharel 92a07c1ded
Fix some more a11y issues with grey text
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:05:58 +02:00
Thomas Citharel 9537221124
Add typed pagination for discussion comments
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:05:01 +02:00
Thomas Citharel 13763ba7f9
Upgrade vue-apollo to @vue/apollo-option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 14:21:27 +02:00
Thomas Citharel 8923319306
Fix JS unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:12 +02:00
Thomas Citharel 8e59e2f06b
Event components enhancements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:12 +02:00
Thomas Citharel dd8096507b
Footer UI improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:11 +02:00
Thomas Citharel f58cc98e55
Evict the event from the cache when it's deleted
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:11 +02:00
Thomas Citharel 60f5a76e57
Add a grey variable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:11 +02:00
Thomas Citharel 74c127b4dc
Fix event creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:10 +02:00
Thomas Citharel 910cae8562
Hide <hr> on home if no elements above
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:10 +02:00
Thomas Citharel c9e50da24a
Refactor GraphQL queries
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:10 +02:00
Thomas Citharel 1a0a31255f
Improve the calendar datetime "icon" componenent
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:09 +02:00
Thomas Citharel 552467b523
Improve display of comment announcements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:09 +02:00
Thomas Citharel a39eb38b5f
Fix lateral overflow on mobile view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:08 +02:00
Thomas Citharel 5ea530a13f
Fix apollo pagination merging
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:08 +02:00
Thomas Citharel 1ac9b43a61
Add Blurhash to front-end
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:08 +02:00
Berto Te 37643eac57 Translated using Weblate (Spanish)
Currently translated at 100.0% (1043 of 1043 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-06-09 03:15:22 +02:00
Thomas Citharel c3354c695c Translated using Weblate (French (France) (fr_FR))
Currently translated at 100.0% (1043 of 1043 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr_FR/
2021-06-07 08:24:40 +02:00
Thomas Citharel f2d2dc1620
Update locales
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-06 16:51:38 +02:00
Thomas Citharel 51106841ab
Fix Vue unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 20:24:43 +02:00
Thomas Citharel 58bffc5c66
WIP notification settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:25 +02:00
Thomas Citharel fd28b4d410
Automatically refresh jwt token periodically
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:24 +02:00
Thomas Citharel fb94c64c63
PictureUpload fix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:24 +02:00
Thomas Citharel fa6df2ccd0
Fix for group activity pagination
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:24 +02:00
Thomas Citharel 7e1409100f
Allow to leave directly from the group
- Also handle error when you are the last admin
- Also change order from the dropdown menu

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:23 +02:00
Thomas Citharel 6e59c2cb95
i18n updates
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:23 +02:00
Thomas Citharel 0942b518a1
Small js fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:23 +02:00
Thomas Citharel 6353c4f372
Fix missing metainfo on some views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:22 +02:00
Thomas Citharel a7da5ab269
Improve JWT tokens expiration
- Reduce access tokens TTL to 15 minutes
- Set refresh tokens TTL to 60 days
- Set Guardian.DB to only track refresh tokens
- Remove refresh token when logging out

Closes #710 #705 #706

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:22 +02:00
Thomas Citharel f6d564bb7e
Bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:20 +02:00
Thomas Citharel c9700906f5
Paginate the list of conversations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:20 +02:00
Thomas Citharel 1cd4958c31
Fix group display
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:20 +02:00
Thomas Citharel e84492fe4c
Remove useless cloneDeep when loading event to edit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:20 +02:00
Thomas Citharel 04f902333b
Fix event participation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:19 +02:00
Thomas Citharel 732785919a
Add some names to the GQL queries
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:19 +02:00
Thomas Citharel b28402f7a7
Report list fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:19 +02:00
Thomas Citharel 679600f003
Comment fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel b5a5de5c0c
Event edit and participant fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel e96dcc42b9
Move to Apollo v3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel 7cb40bd9e2
Notification improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel cb00f6f6b0
Use the enum for error route
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel a40d202dd7
No register guard on error route
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:17 +02:00
Thomas Citharel 7e7bbacbbf
Check if service worker is available in browser before tying to register
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:17 +02:00
Thomas Citharel d152803547
Import only what we need from lodash
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:15 +02:00
Thomas Citharel 3db4ee1aab
Warn when offline
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:15 +02:00
Thomas Citharel 938f698b7a
Add webpush front-end support
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:12 +02:00
Thomas Citharel 8c6b0003bc
Remove setCatchHandler
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:32:07 +02:00
Thomas Citharel 5357a7b6e2
Don't inject tiptap editor CSS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:32:07 +02:00
Thomas Citharel 3ff7bc4512
WIP vue-cli 5
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:32:07 +02:00
Thomas Citharel 4f6e203ced
Fix MEMBER_JOINED activity type not being handled in activity timeline
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:32:06 +02:00
Thomas Citharel 86c2512c62
WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:32:05 +02:00
Nicolas MIARD fd1d49613f Translated using Weblate (Occitan)
Currently translated at 83.4% (828 of 992 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2021-05-26 19:15:15 +02:00
Thomas Citharel c1fd7d558d
Make sure query is reloded after asking to join a group
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:56:50 +02:00
Thomas Citharel a56f28f98e
Make koena connect picture configurable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:56:49 +02:00
Thomas Citharel 159346d5b5
Hide other menu items when not logged in
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:17:38 +02:00
Thomas Citharel c6e0a198bb
Add Koena Connect button
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:17:38 +02:00
Thomas Citharel 0e15abfc26
Lint files with prettier
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:17:37 +02:00
josé m 8fb41a7af1 Translated using Weblate (Galician)
Currently translated at 99.8% (991 of 992 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2021-05-17 18:22:17 +02:00
Leo Durruti 2637d66195 Translated using Weblate (Italian)
Currently translated at 94.5% (938 of 992 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/it/
2021-05-17 18:22:17 +02:00