Commit Graph

588 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Thomas Citharel
b1ab0dabbe
Discussions views improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-08 10:04:40 +02:00
Thomas Citharel
d81c479aa6
Show actual language instead of language code in Users admin view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-08 10:04:40 +02:00
Thomas Citharel
68065a611a
Cleanup getting instance's languages in AboutInstance
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-08 10:04:37 +02:00
Thomas Citharel
291a788438
Various accessibility improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-08 10:04:06 +02:00
Thomas Citharel
d36f1d4b5e
Refactor notification view to disable push column when push is not
currently possible

Closes #821

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-07 17:46:28 +02:00
Thomas Citharel
3a79806c0f
Accessibility improvements in AccountSettings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 10:20:55 +02:00
Thomas Citharel
c2b72b45d3
Fix deleting own account
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-23 10:20:31 +02:00
Thomas Citharel
846a4c376a
Fix events pagination on tags page
Not a perfect fix because of a blinking issue, but works properly

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 19:05:17 +02:00
Thomas Citharel
ba075c1973
Fix config onboarding after LDAP initial connexion
Closes #840

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 18:49:03 +02:00
Thomas Citharel
a7a0c58ae3
Fix moving resources
Closes #838

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 17:13:46 +02:00
Thomas Citharel
04fff8485e
Fix resource list not refreshing after adding/deleting resource
Closes #837

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 17:13:46 +02:00
Thomas Citharel
db6f88c0a0
Save timezone to current timezone if no timezone is set
The preferences showed the detected timezone as the selected timezone if no timezone was null. Now we force set it in that case.

Closes #815

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 16:52:32 +02:00
Thomas Citharel
ae31835923
Add Etherpad Integration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-17 10:42:03 +02:00
Thomas Citharel
639309ed92
Add some visio services to preconfigured metadata
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-17 10:42:02 +02:00
Thomas Citharel
23b8da2085
Add link from homepage last published events section to search page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 18:07:38 +02:00
Thomas Citharel
cc029a52f9
Make the number of events fit the page on Explore
Close #826

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 18:07:38 +02:00
Thomas Citharel
e781fd5b49
Fix search on 404 page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 17:00:21 +02:00
Thomas Citharel
d71e76d692
Fix some queries being called even when not logged-in
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 16:56:51 +02:00
Thomas Citharel
964d3cc0d6
Fix event options being uneditable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 12:24:40 +02:00
Thomas Citharel
16c52c3802
Fix broken popup warning about changes in event edition
Well, partially at least

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-11 16:06:30 +02:00
Thomas Citharel
34a6144c3a
Handle service worker registration with Firefox « forget all site data »
When the Firefox setting « Delete cookies and site data when Firefox is
closed », we can't register the service worker and then webpush
notification can't work

Closes #819

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-11 11:31:50 +02:00
Thomas Citharel
0cb43515bc
Fix language and redirection issues when connecting from 3rd-party
Closes #626

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 19:29:15 +02:00
Thomas Citharel
bbc5ba323d
Add pagination to featured events
Closes #811

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 18:08:23 +02:00
Thomas Citharel
5f3d1f89df
Allow to add metadata to an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 16:16:14 +02:00
Thomas Citharel
bfc9dd7ea3
Redirect from Login page to Homepage if already logged-in
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 14:25:36 +02:00
Thomas Citharel
783486a366
Support denying registration based on email or domain
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-08 19:56:33 +02:00
Thomas Citharel
5bcf8a2305
Fix apollo cache bugs with identity creation/edition/deletion
Closes #798

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 16:10:04 +02:00
Thomas Citharel
f3a05929d9
Allow members-restricted posts to be viewable by instance moderators
But add a warning message on top of the post

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 16:10:03 +02:00
setop
7d40a75650
add loading wheel to some slow views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-04 11:23:37 +02:00
Thomas Citharel
549b82c94a
Remove unused getter
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 15:13:30 +02:00
Thomas Citharel
0110124b32
Add an await before a router push when login
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 15:01:22 +02:00
Thomas Citharel
b53d8d54ef
Fix apollo cache issue when registrering first profile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 14:58:42 +02:00
Thomas Citharel
1c9513c073
Remove unused CSS filter on homepage picture
It was ugly on Safari/Webkit

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 20:09:14 +02:00
Thomas Citharel
691f7ab141
Translate reset password error message title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 19:37:27 +02:00
Thomas Citharel
8c480af4bd
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 18:11:22 +02:00
Thomas Citharel
41f54ef2f3
Fix empty domain tag showing up for remote event from local actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:51 +02:00
Thomas Citharel
68d3315999
Fix event editing joinMode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:50 +02:00
Thomas Citharel
a3181fd68b
[Front-end] Allow group events to be edited by group moderators
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:19 +02:00
Thomas Citharel
961f08e27f
[Front-end] Allow remote moderators to edit group events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel
53dc3f470b
Allow post edition by remote moderator
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel
69bc6f0390
Fix FeedToken recreation
Closes #769

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 16:05:31 +02:00
Thomas Citharel
9b6aee0102 Merge branch 'fix-push-notifications-safari' into 'master'
Fix Notifications page broken page on Safari

Closes #772

See merge request framasoft/mobilizon!991
2021-07-21 10:55:45 +00:00
Thomas Citharel
02187b1158
Fix Notifications page broken page on Safari
Closes #772

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 12:11:59 +02:00
Thomas Citharel
64af148c7e
Hide drafts and visibility limited content on group public preview page
Closes #775

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 12:02:14 +02:00
Thomas Citharel
1fe5ff802d
Aria improvements on group page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 10:47:40 +02:00
Thomas Citharel
7ca7c132fb
Add back RSS/ical links on public group pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 10:45:42 +02:00
Thomas Citharel
dc0efe9bac
Fix lodash import
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-01 10:48:37 +02:00
Thomas Citharel
4c5eb58aa7
Fixed profile suspension
Closes #749

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 18:04:01 +02:00
Thomas Citharel
909a1030ef
Fix submission button for posts on mobile
Closes #747

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 17:15:13 +02:00
Thomas Citharel
02931ec0cd
Improve UI for participations when message is too long
Add a button to make the details more discoverable

Closes #452

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 16:17:29 +02:00
Thomas Citharel
47cc3173ac
Cleanup Group.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 15:31:17 +02:00
Thomas Citharel
081e87209b
Fix pictures without metadata information in post display
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 18:38:38 +02:00
Thomas Citharel
ea01b50b32
Don't show webpush section if navigator.serviceWorker is undefined
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 14:46:28 +02:00
Set Sakrecoer
05cc55ad24 🎨Correct image ratio in admin dashboard. fix #735 2021-06-28 10:23:48 +02:00
Thomas Citharel
333bdabab9
Show a different error message in Notifications if the feature is
disabled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-28 09:38:35 +02:00
Thomas Citharel
bf44d6d2b3
Fix editing subproperties of an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-27 18:17:24 +02:00
Thomas Citharel
784c607c65
Send activity digests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-26 16:09:02 +02:00
Thomas Citharel
54c23c6673
Better error handler for push notifications subscription
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-24 11:17:30 +02:00
Thomas Citharel
762f917ff7
Homepage improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 20:23:44 +02:00
Thomas Citharel
b884d88ac3
Fix crash when group undefined
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 14:47:36 +02:00