Commit graph

449 commits

Author SHA1 Message Date
Thomas Citharel 59c39efb80
Redesign organizer picker with tailwind
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-04 15:42:17 +02:00
Thomas Citharel 4c9065ce68
Resource fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-31 11:24:22 +02:00
Thomas Citharel f5bdedf789
Introduce event categories
Closes #1056

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-28 17:42:59 +02:00
Thomas Citharel 85f8450a85
Debounce tag input autocomplete
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-28 11:22:40 +02:00
Thomas Citharel 1b0f59937d
Show only 3 lines of description on group card
Closes #1021

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-24 16:39:43 +01:00
Thomas Citharel 35fb06c345
Pass the date to getTimezoneOffset() so that the DST is accounted for
See https://github.com/marnusw/date-fns-tz#gettimezoneoffset

Closes #1069

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-24 10:01:04 +01:00
Thomas Citharel 63356b5994
Fix wrong prop initialization
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-24 09:43:59 +01:00
Thomas Citharel 9d3cd05e33
Fix embed of actor card
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-23 12:35:27 +01:00
Thomas Citharel c57d192abe
Fix actor auto-complete
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-18 12:51:37 +01:00
Thomas Citharel 6e5061250c
Improve admin views (2)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-17 15:53:24 +01:00
Thomas Citharel ca6ef9b06b
Improve admin views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-17 14:49:48 +01:00
Thomas Citharel 1daa8c5f5a
Add a breadcrumbs component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-17 14:49:47 +01:00
Thomas Citharel e717312de7
Introduce instances admin page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-17 14:41:03 +01:00
Thomas Citharel eb9b9d8f69
Fix first day of week not depending on locale
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-13 17:33:37 +01:00
Thomas Citharel 7771b27b55
Allow to filter user memberships and group memberships (contacts=) on
backend side

Closes #981 #969

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-13 17:33:36 +01:00
Thomas Citharel 305f53cb03
Fix text overflow when a link is too long in event mobile view
Closes #941

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-13 10:43:32 +01:00
Thomas Citharel 67ee95f81e
Fix position of tentative tag on EventCard
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-30 11:30:38 +01:00
Thomas Citharel 3fb0265d2d
Refresh loggeduser information before the final step of onboarding
Otherwise we endup in a loop

Closes #964

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-29 10:39:20 +01:00
Thomas Citharel 3da846cdf9
Always show the cancelled status of an event
Closes #959

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-26 14:47:10 +01:00
Thomas Citharel be7905cebf
Update tiptap styles
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-25 16:32:10 +01:00
Thomas Citharel df364371a1
Replace @tiptap/starter-kit with indidual extensions
So that @tiptap/extension-code-block is removed

Closes #956

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-25 16:31:09 +01:00
Thomas Citharel ed7e6e4d4b
Fix extra padding on event truncated title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 18:31:13 +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 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 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 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
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 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
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 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 9ac3da618d
Improve components
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-06 14:39:22 +01: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 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 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 d0b125064f
Improvements to group following
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:25 +01: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 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 e280820e9c
Fix front-end tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 18:29:01 +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 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 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 e9e12500dc
Fix tags autocomplete
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-26 17:52:21 +02:00
Thomas Citharel 9c7a4f0079
Refactor TagInput.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-08 10:04:08 +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 3564b69db8
Only show locatecontrol button in leaflet map when we can do geolocation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-07 17:43:16 +02:00
Thomas Citharel bc1f71e742
Refactor addressautocomplete components into a mixin
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-07 17:40:31 +02:00
Thomas Citharel 8a58f5ba7c
Cleanup Followers.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-07 17:38:47 +02:00
Thomas Citharel 9e2e071609
Fix an issue with group activity items when moving resources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-07 17:37:41 +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 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 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 4831379d13
Allow prop for EventBanner to be null
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 16:56:27 +02:00
Thomas Citharel 275126d199
Translate the leaflet control texts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-12 10:54:55 +02:00
Thomas Citharel 1280b66f41
Catch blurhash decoding errors
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-12 10:11:46 +02:00
Thomas Citharel 1e75713b1c
Make identity picker work with many profiles and groups
Close #784

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-11 12:43:54 +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 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 33bf8334fe
Allow all rel values for event & post links in descriptions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 14:26:19 +02:00
Thomas Citharel e26c431350
Fix only part of username showing up in OrganizerPickerWrapper
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:51 +02:00
Thomas Citharel caf9493a00
Various changes needed for AP refactor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:22 +02:00
Thomas Citharel d8fa50f127
UI fixes for group discussions items
Closes #754

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-02 10:11:22 +02:00
Thomas Citharel 63d0703b95
Fix deleted comments crashing the discussions
Closes #753

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-02 10:11:12 +02:00
Thomas Citharel f63c81efbd
Fix ellipsis in DiscussionListView
Regression from 1.2.0

Closes #750

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 15:30:44 +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 83eb746b5a
Improve share modal accessibility
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:41:40 +02:00
Thomas Citharel d383d0ecff
Add Whatsapp and Telegram sharing providers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:27:20 +02:00
Thomas Citharel c5b9a98334
Add Mastodon as a sharing provider
Closes #227

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:27:20 +02:00
Thomas Citharel 83b43e8816
Fix missing Diaspora Logo in share modal
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 10:27:19 +02:00
Thomas Citharel 8ecfd111c5
Show a different message when we can't save anonymous participation
token in browser

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-27 18:17:02 +02:00
Thomas Citharel 4dde5b8275
Fix actorId query sometimes being lost when creating an event from group
Closes #712

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-23 16:13:36 +02:00
Thomas Citharel 4aaf92803a
Upgrade deps
- Remove `@types/vuedraggable` (already in vuedraggable)
- Upgrade Tiptap way of using StarterKit

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 20:23:44 +02:00
Thomas Citharel d570f44384
Remove mad margin on .title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 19:28:59 +02:00
Thomas Citharel 62e73e2e6c
Add width/height to avatar mini image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 19:25:47 +02:00
Thomas Citharel a765d226b8
Refactor default image wrapper
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 11:26:39 +02:00
Thomas Citharel 2779846671
Add metainfo to JoinGroupWithAccount form
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 11:26:19 +02:00
Thomas Citharel f8e73ca990
Various group-related improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 11:25:53 +02:00
Thomas Citharel 6cc233a6d3
Improve group related UI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-15 17:25:33 +02:00
Thomas Citharel 9639a066ff
Fix overflow on group membership cards
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 16:39:04 +02:00
Thomas Citharel 085679b207
Event little UI fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 16:14:17 +02:00