Commit graph

712 commits

Author SHA1 Message Date
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 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 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 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 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 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 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
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
Thomas Citharel 75b3a52077
Make sure we don't submit the event form twice
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 18:25:57 +02:00
Thomas Citharel 06f5f525dd
Add back depreciated Bulma list style
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 18:19:18 +02:00
Thomas Citharel 331f9bc915
Fix report button showing if anonymous reporting is disabled
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 17:51:59 +02:00
Thomas Citharel 32ff3cb69b
Fix merge locales issue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 16:13:07 +02:00
Thomas Citharel f5e6c648a4
Merge remote-tracking branch 'weblate/master' 2020-10-01 16:06:10 +02:00
spf 7b6bc26212
Little typo 2020-10-01 15:58:37 +02:00
Thomas Citharel 2e67c423db
Fix group event list
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 15:57:49 +02:00
frama late ddc6a151e7 Translated using Weblate (Italian)
Currently translated at 9.6% (75 of 775 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/it/
2020-10-01 15:30:51 +02:00
Thomas Citharel aced4d039b
Fix posts and rework graphql errors
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 15:07:15 +02:00
Vincent Finance 302ef891a2 Translated using Weblate (Japanese)
Currently translated at 9.9% (77 of 775 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ja/
2020-09-30 15:52:27 +02:00
Berto Te 6bfa2a0f45 Translated using Weblate (Spanish)
Currently translated at 100.0% (775 of 775 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2020-09-30 15:52:27 +02:00
Thomas Citharel 92367a5f33
Allow to report a group
And multiple group tweaks

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 15:26:58 +02:00
Vincent Finance cc784c94df Translated using Weblate (Japanese)
Currently translated at 9.2% (71 of 770 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ja/
2020-09-30 11:08:36 +02:00
frama late b51e4b9ec3 Translated using Weblate (Italian)
Currently translated at 8.8% (68 of 770 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/it/
2020-09-30 11:08:36 +02:00
josé m 2f357a5773 Translated using Weblate (Galician)
Currently translated at 21.8% (174 of 795 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2020-09-30 11:08:36 +02:00
Vincent Finance 45b3615573 Translated using Weblate (Japanese)
Currently translated at 2.6% (21 of 795 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ja/
2020-09-30 11:08:36 +02:00
Thomas Citharel c8449a0693
Move contact to organized by
And minor things

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 10:45:22 +02:00
Thomas Citharel a600720062
Add local groups as statistics
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 10:42:19 +02:00
Thomas Citharel 2dccd5eccd
Only remember anonymous participation 1 month
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 10:40:10 +02:00
Thomas Citharel 9ceda224d3
Ask to save anonymous participation in browser after email confirmation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 10:39:46 +02:00
Thomas Citharel 49a5725da3
Improve and activate groups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-29 10:25:00 +02:00
frama late 1ca46a6863 Translated using Weblate (Italian)
Currently translated at 8.0% (64 of 795 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/it/
2020-09-29 04:55:49 +02:00
Filip Bengtsson f6591725d6 Translated using Weblate (Swedish)
Currently translated at 43.3% (345 of 795 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/sv/
2020-09-28 11:51:47 +02:00
Quentin PAGÈS 408e41c737 Translated using Weblate (Occitan)
Currently translated at 78.6% (625 of 795 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/oc/
2020-09-28 11:51:46 +02:00