Commit Graph

1236 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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 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 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
fb821ac455
Update to modern slot syntax
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 18:13:17 +02:00
Thomas Citharel
6eb42660d5
Reset address when field is empty
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 18:12:57 +02:00
Thomas Citharel
1fff71ee0e
Allow to remove user location setting
Closes #671

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 17:47:33 +02:00
Eivind Ødegård
2abdfd3f5b Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (986 of 986 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/nn/
2021-04-16 16:01:10 +02:00
josé m
3f1488f9e7 Translated using Weblate (Galician)
Currently translated at 99.8% (985 of 986 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2021-04-16 16:01:10 +02:00
Berto Te
20e65eba46 Translated using Weblate (Spanish)
Currently translated at 100.0% (986 of 986 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-04-16 16:01:10 +02:00
Thomas Frenzel
502a6aec21 Translated using Weblate (German)
Currently translated at 100.0% (986 of 986 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/de/
2021-04-16 16:01:10 +02:00
deadmorose
45a7b9075f Translated using Weblate (Russian)
Currently translated at 100.0% (986 of 986 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-16 16:01:10 +02:00
Thomas Citharel
77200ea587
Add unit tests on Login component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 14:57:03 +02:00
Thomas Citharel
174f52b2ab
Fix participation button position
Closes #676

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-13 16:58:59 +02:00
GunChleoc
736da03469 Translated using Weblate (Gaelic)
Currently translated at 98.7% (969 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-04-12 14:09:54 +02:00
Eivind Ødegård
d0881847e6 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 93.0% (913 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/nn/
2021-04-12 14:09:54 +02:00
deadmorose
e400937fa9 Translated using Weblate (Russian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-12 14:09:54 +02:00
Thomas Citharel
de7ad98cd5 Merge branch 'fixes' into 'master'
More fixes

See merge request framasoft/mobilizon!889
2021-04-12 12:09:49 +00:00
Thomas Citharel
5f291336fd
Disable vue-apollo network handler for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-12 12:16:17 +02:00
Thomas Citharel
e2721af456
Refactor picture-upload and take into account picture size limits
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-12 12:01:53 +02:00
Thomas Citharel
0210b677c5
Expose maximum picture sizes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-12 12:01:52 +02:00
deadmorose
5a1f0f3955 Translated using Weblate (Russian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-09 12:55:09 +02:00
Thomas Citharel
c4f8fe0fe8
Fix comments closed message when not connected
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-08 09:54:23 +02:00
Thomas Citharel
569a4b6356
Fix reloading the members list after excluding a member
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-08 09:54:23 +02:00
Thomas Citharel
356f69cef2
Fix accessing a discussion without being a member
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-08 09:54:22 +02:00
deadmorose
25f365c394 Translated using Weblate (Russian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-07 17:34:49 +02:00
deadmorose
523d2b3e4f Translated using Weblate (Russian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-07 15:10:12 +02:00
deadmorose
c7ca9bd805 Translated using Weblate (Russian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-07 15:03:18 +02:00
deadmorose
b22c12da0d Translated using Weblate (Russian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-07 14:53:32 +02:00
deadmorose
defb09aef1 Translated using Weblate (Russian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-07 14:44:54 +02:00
deadmorose
2238f2980e Translated using Weblate (Russian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-06 19:58:34 +02:00
Kristijan Tkalec
af396ac072 Translated using Weblate (Slovenian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/sl/
2021-04-06 19:58:34 +02:00
Slimane Selyan AMIRI
c530f289dc Translated using Weblate (Kabyle)
Currently translated at 18.6% (183 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/kab/
2021-04-06 19:58:34 +02:00
deadmorose
301bdb815b Translated using Weblate (Russian)
Currently translated at 100.0% (981 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-06 19:58:34 +02:00
deadmorose
1c67a7548f Translated using Weblate (Russian)
Currently translated at 81.9% (804 of 981 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-04-06 19:58:34 +02:00