Commit graph

1781 commits

Author SHA1 Message Date
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
Thomas Citharel 3fcdba9c1f
Add a config file for vue-i18n-extract
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-30 15:58:05 +02:00
Thomas Citharel 4ef70e7d0f
Cleanup en_US.json i18n file
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-30 08:31:33 +02:00
Thomas Citharel 9c0bc9dcd0
Bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-30 08:31:21 +02:00
Thomas Citharel 393c92bd03 Merge branch 'fixes' into 'master'
Upgrade deps and fixes

Closes #893

See merge request framasoft/mobilizon!1066
2021-09-29 18:56:54 +00:00
Thomas Citharel 327dfbb4c2
Rollback Phoenix client to 1.5 because of issues with Jest
See https://github.com/phoenixframework/phoenix/pull/4512

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 20:24:55 +02:00
Thomas Citharel 773a29d1f4
Add Telegram Logo component (icon was removed from MDI)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 19:12:34 +02:00
Thomas Citharel 9d910db040
Fix admin settings edition
Closes #893

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 19:06:57 +02:00
Thomas Citharel 120d79d580
Fix an issue with TagInput
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 18:21:44 +02:00
Thomas Citharel 9e4378d4db
Fix an issue with Identity Picker
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 18:21:24 +02:00
Thomas Citharel 20ffd2ad0f
Fix a color issue with the comment author name when comment is selected
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 18:20:55 +02:00
Thomas Citharel dc52cd042b
Fix a typescript issue with catch variable type
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 18:20:33 +02:00
Thomas Citharel 7bf745edf7
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 18:19:26 +02:00
Thomas Citharel d8b64e9a19 Merge branch 'dializer' into 'master'
Various typespec and compilation improvements

See merge request framasoft/mobilizon!1062
2021-09-29 15:11:43 +00:00
Thomas Citharel 8226007a94
Clean unused i18n string
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 16:31:12 +02:00
Eivind Ødegård 10bb228ce9 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 99.8% (1172 of 1174 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/nn/
2021-09-29 10:16:06 +02:00
Thomas Citharel 734e4684f7
Empty old & new passwords fields when successful change
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-26 17:52:23 +02:00
Thomas Citharel e9e12500dc
Fix tags autocomplete
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-26 17:52:21 +02:00