Commit Graph

1486 Commits

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