Commit graph

851 commits

Author SHA1 Message Date
Thomas Citharel 974620b3b3 Merge branch 'upload-and-avatar-improvements' into 'master'
Upload and avatar improvements

See merge request framasoft/mobilizon!646
2020-10-26 09:00:08 +01:00
Quentin PAGÈS e3bec11c31 Translated using Weblate (Occitan)
Currently translated at 78.6% (643 of 818 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2020-10-26 04:28:00 +01:00
Kate ffe6b64a66 Translated using Weblate (German)
Currently translated at 92.2% (755 of 818 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/de/
2020-10-26 04:27:59 +01:00
Thomas Citharel 0be3e0c9fa
Improve avatar selection on edit identity
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-25 12:01:50 +01:00
Thomas Citharel 613ac1203b
Fix a few typescript issues in Interact.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-24 17:32:27 +02:00
Thomas Citharel 992077044a
Fix a few routes being accessible without auth
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-24 17:32:15 +02:00
Thomas Citharel 5cb3ef9110
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-24 17:17:44 +02:00
josé m 8767d055bf Translated using Weblate (Galician)
Currently translated at 100.0% (818 of 818 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-24 14:28:44 +02:00
Berto Te ee9009c0af Translated using Weblate (Spanish)
Currently translated at 100.0% (818 of 818 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-24 14:28:44 +02:00
Thomas Citharel 2f27604fd1
1.0.0rc.4
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 18:10:03 +02:00
Thomas Citharel 20cc7e4e67
Release 1.0.0-rc.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 18:00:41 +02:00
Thomas Citharel 40174090f8
Fix more Apollo cache issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 16:19:26 +02:00
josé m 8b92153540 Translated using Weblate (Galician)
Currently translated at 100.0% (817 of 817 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-22 10:52:32 +02:00
Berto Te 88e98719d8 Translated using Weblate (Spanish)
Currently translated at 100.0% (817 of 817 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-22 10:52:32 +02:00
Thomas Citharel 2ce5f8e66c
Improve group dashboard for members without moderator rights
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 10:48:49 +02:00
Thomas Citharel e754e1172a
Disable updating/deleting group posts and discussions for non-moderators
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 09:37:30 +02:00
Thomas Citharel 0523388560
Improve create discussion page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 08:40:17 +02:00
Berto Te a30fed4467 Translated using Weblate (Spanish)
Currently translated at 100.0% (808 of 808 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-21 18:20:19 +02:00
Thomas Citharel fa7cd7e0e3
New unlogged homepage
With fancy illustrations 

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 17:49:18 +02:00
Thomas Citharel ae027b4e39
Fix GraphQL cache errors because of missing id on some queries
Also moves some queries to cache-and-network policy and improve
typescript a bit

Closes #387

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 12:14:53 +02:00
Thomas Citharel a40c9fd4b5
Handle timezone not found in preferences
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 09:04:43 +02:00
Thomas Citharel ff2826b891
Upgrade to version 1.0.0-rc.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 14:33:49 +02:00
Thomas Citharel 79c9f4dbd2
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 14:33:48 +02:00
Thomas Citharel 28887722dc
Add picture to 404 page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 13:29:27 +02:00
Thomas Citharel 0b299497c5
Use footer pictures
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 13:29:27 +02:00
Thomas Citharel 717bc010c3
Only import functions and variables into variables.scss
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 13:29:26 +02:00
Thomas Citharel 7f76404432
Add pictures
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 13:29:25 +02:00
Thomas Citharel d7c0cc158b
Remove undraw picture on comments and let the organiser know they are
the only profile that can comment if it's set in the event settings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 10:59:56 +02:00
Thomas Citharel fb8e94c4e3
Show languages on instance about
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 10:36:43 +02:00
Thomas Citharel 23dcb47ce5
Make sure only group moderators can update/delete events, posts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:58:17 +02:00
Thomas Citharel 4e02885692
Add title information to post list page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:44:02 +02:00
Thomas Citharel 31bc2f7c10
Fix redirection after deleting a post
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:44:00 +02:00
josé m d5db58bd25 Translated using Weblate (Galician)
Currently translated at 100.0% (807 of 807 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-19 06:51:54 +02:00
Berto Te 7e4aeee058 Translated using Weblate (Spanish)
Currently translated at 100.0% (807 of 807 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-16 21:51:54 +02:00
Thomas Citharel 3d963cf3bc
Handle nothing found for reverse geocode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 16:48:11 +02:00
Thomas Citharel 8c9546ff2a
Improve member management
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 14:24:51 +02:00
Thomas Citharel f6480cb37e
Improve dashboard
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 11:04:05 +02:00
Thomas Citharel dacec2672b
Fix error message always showed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 19:10:57 +02:00
Thomas Citharel ea70b96a26
Use modern mode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 19:04:14 +02:00
Thomas Citharel 0693defd03
Move all routes to async components
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 18:59:36 +02:00
Thomas Citharel bada3d1cb3
Remove outdated comments in vue.config.js
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 18:57:44 +02:00
Thomas Citharel a9c8875f49
Fix title level on homepage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 18:57:05 +02:00
Thomas Citharel f96510a0b2
Couple of i18n and homepage fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 12:43:52 +02:00
Thomas Citharel bb6e7070bd
Fix typo in translation string
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 09:46:34 +02:00
Thomas Citharel 93cecbe49c
Improve build times
* Fix bulma/buefy being imported many (many !!!) times

* Remove javascript-time-ago because date-fns pretty much does the same
thing

* Make sure languages are loaded asynchronously

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 09:46:33 +02:00
josé m 7d886ad1c3 Translated using Weblate (Galician)
Currently translated at 99.8% (802 of 803 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-14 09:32:33 +02:00
Berto Te 71bdb2ddd3 Translated using Weblate (Spanish)
Currently translated at 100.0% (803 of 803 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-14 09:32:29 +02:00
Thomas Citharel db56bd142f
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-13 17:03:49 +02:00
Thomas Citharel 3f2664cf47
Improve edit page on mobile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-13 17:03:48 +02:00
Thomas Citharel 92bff34df8
Fix AccountSettings for 3rd-party auth
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-13 15:05:32 +02:00
Thomas Citharel b97b42ea95
Bump version to 1.0.0-rc.1 and add changelog
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-12 14:05:11 +02:00
Thomas Citharel cd5418825b
Make sure a person profile page returns 404
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-12 13:38:25 +02:00
Thomas Citharel 1d82b29d61
Improve UI on home & register pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-12 08:50:51 +02:00
josé m 66e0fe6fd4 Translated using Weblate (Galician)
Currently translated at 76.6% (613 of 800 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-10 19:48:52 +02:00
Thomas Citharel b9792ece9e Merge branch 'remove-bulma-placeholders' into 'master'
Remove bulma placeholders

Closes #391

See merge request framasoft/mobilizon!601
2020-10-10 17:39:01 +02:00
Thomas Citharel 273777c5ec
Remove bulma placeholders
Close #391

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-10 17:13:59 +02:00
Thomas Citharel 19c613f920 Translated using Weblate (French (France))
Currently translated at 100.0% (800 of 800 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr_FR/
2020-10-10 02:54:22 +02:00
Thomas Citharel cc0d32daae
Merge remote-tracking branch 'weblate/master' 2020-10-09 20:02:41 +02:00
Taru Luojola 722eddfe92 Translated using Weblate (Finnish)
Currently translated at 91.2% (730 of 800 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2020-10-09 19:51:21 +02:00
Thomas Citharel dad9623482
Make sure only proper pictures are uploaded
Closes #384

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 19:29:12 +02:00
Thomas Citharel 646f298e0b
Position the footer on the bottom of the screen
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 18:13:15 +02:00
Thomas Citharel c296381ed6
[Security] Fix events being editable by other users that organizers
Closes #385

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 18:12:35 +02:00
Thomas Citharel 75fc1f125a
Show a proper error message on creating/updating an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 16:09:45 +02:00
Thomas Citharel 9430f1145f
Fix profiles not administrators able to edit a group
Related to #385

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 16:09:44 +02:00
Berto Te 67a9bcf66f Translated using Weblate (Spanish)
Currently translated at 100.0% (800 of 800 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-09 15:06:48 +02:00
josé m 03815c99ae Translated using Weblate (Galician)
Currently translated at 65.6% (525 of 800 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-09 10:03:02 +02:00
Thomas Citharel e895ba32be
Prevent creating a new event when editing one
Close #381

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 16:16:42 +02:00
josé m 0b856c6369 Translated using Weblate (Galician)
Currently translated at 57.7% (462 of 800 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-08 11:57:42 +02:00
Thomas Citharel d5c90af809
Allow nodejs build process to use a lower RAM value
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 10:20:14 +02:00
Thomas Citharel cdca2d24e4
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 09:24:26 +02:00
josé m 054cda2e19 Translated using Weblate (Galician)
Currently translated at 54.7% (438 of 800 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-08 08:20:24 +02:00
josé m 3707851e6a Translated using Weblate (Galician)
Currently translated at 51.4% (407 of 791 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-08 08:20:24 +02:00
Berto Te 3aecf8cb20 Translated using Weblate (Spanish)
Currently translated at 100.0% (791 of 791 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-08 08:20:24 +02:00
Thomas Citharel ebaa9154ee
Put back removed confirmation crypto call
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 08:19:44 +02:00
Thomas Citharel 77970b8091
Improve anonymous participation and confirmation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 17:05:15 +02:00
Thomas Citharel 586d8c440d
Add languages to admin settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 16:38:24 +02:00
Thomas Citharel 02eac30c9b
Expose more statistics
* differenciate local & all events/comments/groups
* add instance follows/followings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 10:52:29 +02:00
josé m d574785bdb Translated using Weblate (Galician)
Currently translated at 43.4% (343 of 789 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-07 08:28:53 +02:00
frama late 0480dbdc6a Translated using Weblate (Italian)
Currently translated at 10.8% (86 of 789 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/it/
2020-10-07 08:28:53 +02:00
Berto Te d81f7d0f29 Translated using Weblate (Spanish)
Currently translated at 100.0% (789 of 789 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-07 08:28:53 +02:00
Thomas Citharel 375e6d2bef
[Groups] Allow to promote/demote to moderator
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-06 15:38:53 +02:00
Thomas Citharel 27a75cd0df
Improve some texts on account registration and email notification
settings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-06 15:36:19 +02:00
josé m 24d5f344c9 Translated using Weblate (Galician)
Currently translated at 43.2% (340 of 787 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-06 10:06:35 +02:00
Quentin PAGÈS 6d1fffccfe Translated using Weblate (Occitan)
Currently translated at 75.3% (593 of 787 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2020-10-06 10:06:35 +02:00
frama late 544f95cc17 Translated using Weblate (Italian)
Currently translated at 10.1% (80 of 787 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/it/
2020-10-06 10:06:35 +02:00
Thomas Citharel 641abfd696
Improve profile registration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-06 09:54:07 +02:00
Thomas Citharel 8eca9d9702
Make sure only organizer actor can comment if event comments are
disabled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-05 17:42:53 +02:00
Thomas Citharel efae6c3510
Specify that only users with account can comment
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-05 16:42:31 +02:00
josé m fec860e2ba Translated using Weblate (Galician)
Currently translated at 36.1% (284 of 786 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-05 11:01:08 +02:00
frama late 59a90f2a57 Translated using Weblate (Italian)
Currently translated at 9.7% (77 of 786 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/it/
2020-10-05 11:01:08 +02:00
setop 4e8d9ec1e8
restore locate me button in search form 2020-10-05 10:48:00 +02:00
Thomas Citharel 48344072ec
Merge remote-tracking branch 'weblate/master' 2020-10-02 16:30:12 +02:00
Berto Te 95ae14ae04 Translated using Weblate (Spanish)
Currently translated at 100.0% (786 of 786 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-10-02 16:19:46 +02:00
Thomas Citharel afb7d75307
Fix invitations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 16:19:31 +02:00
josé m 6ece5d50ef Translated using Weblate (Galician)
Currently translated at 29.1% (229 of 786 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-10-02 10:47:39 +02:00
Thomas Citharel 26d5cb4e8a Translated using Weblate (French (France))
Currently translated at 100.0% (786 of 786 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr_FR/
2020-10-02 10:47:39 +02:00
Thomas Citharel 56d33214f1
Improve Typescript support for ActorAutoComplete component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 10:47:12 +02:00
Thomas Citharel 5c11bef368
Better handle group invitation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 10:46:58 +02:00
Thomas Citharel d41aa3b2fd
Disallow accessing identity page when logged in
And disallow calls to fetchPerson when not our own profile or unlogged

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 09:53:32 +02:00
Thomas Citharel bd581d896e
Comments improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 18:53:42 +02:00