Commit graph

1642 commits

Author SHA1 Message Date
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
Thomas Citharel 1bac0285b9
Release 1.2.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-01 10:00:36 +02:00
Thomas Citharel b78b0900f4
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-01 10:00:23 +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 2c4af0d267
Release 1.2.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 16:28:23 +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 8ad7af8296
Release 1.2.0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 11:53:25 +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
Thomas Citharel 6614f90532
Release 1.2.0-beta.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-27 19:01:27 +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 fde560208f
Release 1.2.0-beta.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-26 16:45:22 +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
Thomas Citharel 51b5108639
Release version 1.2.0-beta.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-21 11:36:35 +02:00
Thomas Citharel dd27c09184
Update Browser compatibility
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-21 09:18:32 +02:00
Thomas Citharel 688a9ab895
Update jest snapshot
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-21 09:12:12 +02:00
Thomas Citharel ec322ce042
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-21 09:12:02 +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
Thomas Citharel b52c2bb1d1
Fix Apollo IDE integration and update schema.graphql file
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-17 09:51:11 +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 6a68198867
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 14:39:37 +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 6d9170cdb6
Remove vue-cli-plugin-svg
It was bringing in an old version of webpack-html-plugin

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-06 20:25:50 +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 f480936eb4
Upgrade deps
The `quietDeps` sass option isn't working yet

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:27 +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 c07ae1c785
Update deps
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 5a13c2191c
Fix loading sass variables
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 d19de15c11
Add orientation to web manifest
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 96c81050bc
Release 1.1.4
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-19 11:35:20 +02:00
Thomas Citharel 18d6d0f8a6
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-19 11:35:20 +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
Thomas Citharel 68e223e480
Upgrade deps
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
Alexandra bc2c03eec5 Translated using Weblate (French (France) (fr_FR))
Currently translated at 100.0% (992 of 992 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr_FR/
2021-05-17 18:22:17 +02:00
Thomas Citharel 5b36e71581
Fix rich media parsers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-03 15:34:25 +02:00
Thomas Citharel 741a084f4a
Fix favicon alignment on resource item
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-03 14:56:50 +02:00
Thomas Citharel e25f13582e
fix vue warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-03 14:56:50 +02:00
Thomas Citharel 0abba5ecd4
Version 1.1.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-03 10:07:59 +02:00
Thomas Citharel 90bde7a29b Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!922
2021-05-03 08:06:21 +00:00
josé m e5b76f0566 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-03 09:58:10 +02:00
deadmorose 6f7840adff Translated using Weblate (Russian)
Currently translated at 100.0% (992 of 992 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-05-03 09:58:10 +02:00
Berto Te 76ca854dd3 Translated using Weblate (Spanish)
Currently translated at 100.0% (992 of 992 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-05-03 09:58:10 +02:00
Thomas Citharel a841469ce8
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-03 09:32:25 +02:00
Thomas Citharel 73ed0f5e34
Fixed programatically inserting comments
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-02 20:41:23 +02:00
Thomas Citharel 3afc7c7feb
Fix mentions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-02 19:27:23 +02:00
Thomas Citharel e3753c041e
Fix event address display
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-30 13:48:10 +02:00
Thomas Citharel 7d65375117
fixup! Upgrade tiptap to version 2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-30 13:48:06 +02:00
Thomas Citharel fa9ddf8ce0
Upgrade tiptap to version 2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-30 13:23:17 +02:00
Thomas Citharel 557d599adf
Do not emit events when setting editor content
Fixes spaces being eater

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-30 08:39:33 +02:00
Thomas Citharel ece0b4cfec
Merge remote-tracking branch 'weblate/master' 2021-04-28 16:54:08 +02:00
Kristijan Tkalec 1e7a506e04 Translated using Weblate (Slovenian)
Currently translated at 100.0% (987 of 987 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/sl/
2021-04-28 16:49:04 +02:00
Leo Durruti 7bff5cb142 Translated using Weblate (Italian)
Currently translated at 90.2% (891 of 987 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/it/
2021-04-28 16:49:03 +02:00
Thomas Citharel 70ca2d68a6
Improve some translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 16:16:46 +02:00
Thomas Citharel 4b13f2a572
Version 1.1.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 15:05:43 +02:00
Thomas Citharel 5d60845b7c
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 15:05:34 +02:00
Thomas Citharel 1dc20889da
Fix missing deleted comment moderation logaction
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 11:59:15 +02:00
Thomas Citharel 495fbda330
Add pagination to moderation logs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 10:27:29 +02:00
Thomas Citharel 6646391558
Cleanup fragmentTypes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-27 16:51:58 +02:00
Thomas Citharel c58e54d5b9
Add Group as a possible ActionLog object
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-27 16:51:28 +02:00
Thomas Citharel fab8ee6f05
Fix organizer metadata overflow
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-26 17:27:27 +02:00
Thomas Citharel 625ed64382
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-26 11:13:19 +02:00
Thomas Frenzel fab277744c Translated using Weblate (German)
Currently translated at 100.0% (987 of 987 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/de/
2021-04-24 21:15:01 +02:00
deadmorose 96b5781181 Translated using Weblate (Russian)
Currently translated at 100.0% (987 of 987 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-23 09:17:02 +02:00
Thomas Citharel afbd393d4f
Version 1.1.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-21 11:36:33 +02:00
Thomas Citharel cd48dbe65e
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-21 11:36:32 +02:00
Thomas Citharel 73e1ceb5cc
Revert "Restrict browserlist"
This reverts commit b2a7f134a7.
2021-04-21 11:36:32 +02:00
Thomas Frenzel c08dfcdfc4 Translated using Weblate (German)
Currently translated at 100.0% (987 of 987 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/de/
2021-04-21 09:10:31 +02:00
josé m 92beaeca53 Translated using Weblate (Galician)
Currently translated at 99.8% (986 of 987 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2021-04-20 17:42:29 +02:00
Berto Te 913d2d27f2 Translated using Weblate (Spanish)
Currently translated at 100.0% (987 of 987 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-04-20 17:42:29 +02:00
Thomas Citharel 9a65b29640
Rename "Close events" to "Nearby events"
Closes #662

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-20 14:47:19 +02:00
Thomas Citharel bcf52ccdf7
Expose instance feed config option in the API and show it on About page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-19 12:40:51 +02:00
Thomas Citharel cd874e1bfc
Fix edit event warning popup size
Imcrease width to 500px and allow to wrap text correctly if even longer

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-19 12:04:52 +02:00
Thomas Citharel b2a7f134a7
Restrict browserlist
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-19 10:07:29 +02:00
Thomas Citharel fb821ac455
Update to modern slot syntax
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 18:13:17 +02:00