Commit graph

1798 commits

Author SHA1 Message Date
Thomas Citharel ab724b0893
Bump version to 2.0.0-rc.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 11:09:20 +01:00
Thomas Frenzel 82af0f10b0 Translated using Weblate (German)
Currently translated at 83.5% (1048 of 1255 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/de/
2021-11-22 10:37:36 +01:00
Thomas Citharel 506a6dd4c7
Avoid giving an error page if the apollo futureParticipations query is
undefined

Closes #932

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 10:08:12 +01:00
Thomas Citharel 83783ad34b
Remove type validation in AddressAutoComplete mixin
Because it can be null

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 10:04:12 +01:00
Thomas Citharel 49ad1637f9
Set initial values for some EventMetadata elements
Otherwise it fails backend validation

Closes #931

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 10:04:00 +01:00
Thomas Citharel 6167d8c416
Improve MyEvents page description text
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 09:40:34 +01:00
Thomas Citharel 3fd79f89a8
Fix accessing user profile in admin section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 09:40:33 +01:00
Thomas Citharel 1d1574b426
Increate number of close events and follow group events
Closes #930

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 09:40:22 +01:00
Thomas Citharel 83e8136b0e
Fix spacing in organizer picker
Closes #929

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 08:36:48 +01:00
Thomas Citharel 785bc539d6
Release 2.0.0-rc.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-21 12:20:20 +01:00
GunChleoc 60484ef426 Translated using Weblate (Gaelic)
Currently translated at 99.8% (1253 of 1255 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-11-19 10:22:06 +01:00
Berto Te 07a6f1c584 Translated using Weblate (Spanish)
Currently translated at 100.0% (1255 of 1255 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-11-17 16:53:56 +01:00
Thomas Citharel 2032586352
Show the warning about casing on the login screen as well
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-16 11:44:13 +01:00
Thomas Citharel 19794bde23
Mention following groups on the registration page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-16 11:40:22 +01:00
Thomas Citharel d291a83cc9
Warn when registering with email containing uppercase characters
Closes #884 and #803

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-16 11:38:17 +01:00
Berto Te 9c8b01c2a5 Translated using Weblate (Spanish)
Currently translated at 100.0% (1253 of 1253 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-11-15 09:26:08 +01:00
Thomas Citharel 94652bbf44
Version 2.0.0-beta.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-15 09:25:45 +01:00
Thomas Citharel 42d6b8a9ab
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-15 09:24:55 +01:00
Thomas Citharel f3b97e44e5
Use different pagination for featured events and searched events
Closes #894

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-14 16:28:28 +01:00
Thomas Citharel 5fa9eb68b1
Fixed event metadata not saved on event creation
Closes #890

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-14 16:28:28 +01:00
Thomas Citharel 819f2af518
Fix duplicating group event not using the current actor as event
organizer

Closes #910

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-14 16:28:27 +01:00
Thomas Citharel 6d599441a9
Allow group members to access group drafts
Closes #843

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 19:57:14 +01:00
Thomas Citharel 63e7807f0d
Fix group map display
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 19:57:13 +01:00
Thomas Citharel 0a37719029
Expose content language in HTML
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 19:57:13 +01:00
Thomas Citharel cf7744ab51
Add sanitize-html on front-end when pasting into a comment field
So that only allowed tags are inputted into a comment, when copying from
elsewhere

Closes #836

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 19:57:12 +01:00
Thomas Citharel 0e98010906
Update translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 14:38:59 +01:00
Thomas Citharel 3dc8663c3e
Improve report modal accessibility
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 14:38:59 +01:00
Thomas Citharel 4a8284fa6d
Improve comment tree
Closes #862

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 14:38:59 +01:00
Thomas Citharel b1a9c28a97
Add closeButtonAriaLabel to everymodal
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 12:33:14 +01:00
Thomas Citharel e6b186026d
Fix a couple of Apollo cache issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 11:47:56 +01:00
Thomas Citharel 6eba531c89
Allow group admins to moderate new members
Closes #881

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-12 17:17:05 +01:00
GunChleoc 34ba8bd298 Translated using Weblate (Gaelic)
Currently translated at 99.7% (1232 of 1235 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-11-11 17:22:06 +01:00
Berto Te 97bddd70ec Translated using Weblate (Spanish)
Currently translated at 100.0% (1235 of 1235 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-11-11 17:22:06 +01:00
GunChleoc c68a7e8c0c Translated using Weblate (Gaelic)
Currently translated at 97.5% (1205 of 1235 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-11-11 17:22:06 +01:00
Berto Te a04ffcd6ce
Translated using Weblate (Spanish)
Currently translated at 100.0% (1234 of 1234 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-11-11 16:29:39 +01:00
Thomas Citharel 9583804890
Only show datetime tz toggle if offset is different
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-11 16:29:38 +01:00
Thomas Citharel 5c7067b22b
Send notification emails to followers and members when a group publishes
a new event

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 16:36:32 +01:00
Thomas Citharel 184b1cbdd2
Bump version to 2.0.0-beta.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:33 +01:00
Thomas Citharel cd8a5552bb
Improve converting to username from non-latin characters
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:33 +01:00
Thomas Citharel a54607a57d
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:33 +01:00
Thomas Citharel 90665f0294
Fix some new eslint rules
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:33 +01:00
Thomas Citharel 3961a2067b
Fix search exposing events to unlogged users
Closes #892

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:32 +01:00
Thomas Citharel 4fe5625597
Fix map height
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:30 +01:00
Thomas Citharel 73a7ef988f
Rename master branch to main
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:12:04 +01:00
Berto Te 81f189b385 Translated using Weblate (Spanish)
Currently translated at 100.0% (1234 of 1234 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-11-07 21:37:02 +01:00
Thomas Citharel 5de0cee025
Allow to access to a language directly though instance.tld/:lang
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-07 21:09:31 +01:00
Thomas Citharel 7c4a76cc89
More bidi improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-07 21:09:30 +01:00
Thomas Citharel f55ca90c35
Allow to search for past events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-07 18:12:23 +01:00
Thomas Citharel a46372094c
Add dir="auto" to most user generated content
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-07 18:12:22 +01:00
Thomas Citharel 69e91e89f5
Allow to search events by online status
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-06 14:39:23 +01:00
Thomas Citharel 9ac3da618d
Improve components
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-06 14:39:22 +01:00
Thomas Citharel 1cc776622a Merge branch 'bugs' into 'master'
Various bugs

See merge request framasoft/mobilizon!1097
2021-11-06 10:44:23 +00:00
Thomas Citharel a2017a3546
Rename event address to inline address
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-06 11:15:50 +01:00
Thomas Citharel 53de80dfee
Add a warning message on the group page that the group is remote
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-06 11:15:50 +01:00
Thomas Citharel 9290ab9487
Make PostListItem post title an actual title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-06 11:15:49 +01:00
Thomas Citharel 4340cf7569
Group map fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-06 10:50:48 +01:00
Thomas Citharel 096c3a435a
Improve some components
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-06 10:08:20 +01:00
Thomas Citharel 0625e7f3e0 Merge branch 'bugs' into 'master'
Various bugfixes

See merge request framasoft/mobilizon!1096
2021-11-04 18:11:46 +00:00
Thomas Citharel 39ea05a04a
Add mixins to handle RTL languages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-04 18:38:47 +01:00
Thomas Citharel 547e222f5f
Add dir="auto" to index.html
See #882

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-04 18:38:47 +01:00
Berto Te 8c2e4e21ea Translated using Weblate (Spanish)
Currently translated at 100.0% (1228 of 1228 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-11-04 16:47:56 +01:00
Thomas Citharel 497bac8453
Update front-end snapshots
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-03 10:14:44 +01:00
Thomas Citharel d89c0fc414
Make sure some action pages don't get indexed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-03 10:14:44 +01:00
Thomas Citharel 20999c4ef4
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-03 10:14:43 +01:00
Thomas Citharel 4923c52f3b
Improve post & events cards, homepage and my events page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:38 +01:00
Thomas Citharel 39f40a86f7
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:37 +01:00
Thomas Citharel ea4116c207
Refactor GraphQL queries and event cards
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:37 +01:00
Thomas Citharel 807b1084b0
Show group followed/member events on homepage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:27 +01:00
Thomas Citharel 2a9098975d
Remove last week's events from homepage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:26 +01:00
Thomas Citharel d0b125064f
Improvements to group following
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:25 +01:00
Thomas Citharel f8eda4aac5
Add front-end for managing group follow
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:23 +01:00
Thomas Citharel 244a349b7d
Bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:22 +01:00
GunChleoc cf2c260e79 Translated using Weblate (Gaelic)
Currently translated at 100.0% (1205 of 1205 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-11-01 17:22:07 +01:00
Eivind Ødegård df8e3e913d Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (1205 of 1205 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/nn/
2021-11-01 17:22:07 +01:00
Miroslav Mazel f4faf9f85c Translated using Weblate (Czech)
Currently translated at 16.8% (203 of 1205 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/cs/
2021-11-01 17:22:05 +01:00
GunChleoc 2131a774fb Translated using Weblate (Gaelic)
Currently translated at 99.9% (1204 of 1205 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-10-28 00:22:03 +02:00
deadmorose 693545d3c6 Translated using Weblate (Russian)
Currently translated at 100.0% (1205 of 1205 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-10-28 00:21:59 +02:00
Berto Te acef56ee7c Translated using Weblate (Spanish)
Currently translated at 100.0% (1205 of 1205 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-10-21 10:24:32 +02:00
Thomas Citharel 8eddc2cf88
Fix welcome stepper after validating account
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-20 17:31:07 +02:00
Thomas Citharel 52e69bb2a3
Fix event options being undefined in event view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-20 11:49:55 +02:00
Thomas Citharel 1df9f84c20
Fix jest tests by adding tz to mocks
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:49:41 +02:00
Thomas Citharel 7ecf2e1da0
Add isOnline event option to mark event as fully online
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:37 +02:00
Thomas Citharel 8a1dfb0612
Extract vue-announcer and vue-skip-to styles (so that they're nt inline)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:36 +02:00
Thomas Citharel 4de78f58e0
Allow anonymous participants to have timezone metadata
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:35 +02:00
Thomas Citharel 44f90c7b0b
Fix focustarget in some cases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:35 +02:00
Jurij Podgoršek 46feb40908 Translated using Weblate (Slovenian)
Currently translated at 81.7% (984 of 1204 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/sl/
2021-10-14 06:21:55 +02:00
Berto Te 895728e4b0 Translated using Weblate (Spanish)
Currently translated at 100.0% (1204 of 1204 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-10-14 06:21:54 +02:00
Thomas Citharel 6925420e97
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-12 09:48:39 +02:00
Thomas Citharel e280820e9c
Fix front-end tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 18:29:01 +02:00
Thomas Citharel d4b6fb2b49
Update translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 17:56:23 +02:00
Thomas Citharel 62af1e72d6
Some fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 17:56:23 +02:00
Thomas Citharel d58ca5743d
Add timezone handling
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 17:37:17 +02:00
Thomas Citharel eba3c70c9b
Various accessibility improvements
* Add announcement element with `aria-live`
* Add skip to main content element

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 17:37:16 +02:00
z4m 034b9ad9f0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 67.3% (781 of 1160 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/pt_BR/
2021-10-11 16:36:34 +02:00
Eivind Ødegård cdfef60414 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 99.8% (1158 of 1160 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/nn/
2021-10-11 16:36:34 +02:00
setop 7940d69d5a
add "only platform admin can create groups" and "only groups can create events" restrictions 2021-10-11 15:59:59 +02:00
Thomas Citharel f4237dc469
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-05 12:23:00 +02:00
Thomas Citharel 9d5bf806df
Adding icons to exports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-05 10:52:56 +02:00
Thomas Citharel 0c667b13ae
Export participants to different formats
* CSV
* PDF (requires Python dependency `weasyprint`)
* ODS (requires Python dependency `pyexcel_ods3`)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-05 10:52:55 +02:00
Thomas Citharel 5ef50766b1
Don't link to the group page from admin when actor is suspended
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-30 15:58:06 +02:00