Commit Graph

1510 Commits

Author SHA1 Message Date
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