Commit Graph

290 Commits

Author SHA1 Message Date
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
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
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
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
e9e12500dc
Fix tags autocomplete
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-26 17:52:21 +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
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
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
5f3d1f89df
Allow to add metadata to an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 16:16:14 +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
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
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
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
b884d88ac3
Fix crash when group undefined
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 14:47:36 +02:00
Thomas Citharel
c89c6f11e8
Fix text overflow in event metadata with long organizer name
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 12:43:31 +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
Thomas Citharel
7c37b10ceb
Fix typo leftover in participation pagination path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 15:13:18 +02:00
Thomas Citharel
b53867181f
Various improvements to MyEvents & event cards
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:31:24 +02:00
Thomas Citharel
a7a38c7f69
Cleanup GroupEvents
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:30:28 +02:00
Thomas Citharel
7f61dd0c8e
Set groupId in query params when creating an event from group events
page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:29:16 +02:00
Thomas Citharel
1d75ce095a
Fix events creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:08:53 +02:00
Thomas Citharel
92a07c1ded
Fix some more a11y issues with grey text
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:05:58 +02:00
Thomas Citharel
13763ba7f9
Upgrade vue-apollo to @vue/apollo-option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 14:21:27 +02:00
Thomas Citharel
8e59e2f06b
Event components enhancements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:12 +02:00
Thomas Citharel
74c127b4dc
Fix event creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:10 +02:00
Thomas Citharel
1a0a31255f
Improve the calendar datetime "icon" componenent
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:09 +02:00
Thomas Citharel
6353c4f372
Fix missing metainfo on some views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:22 +02:00
Thomas Citharel
e84492fe4c
Remove useless cloneDeep when loading event to edit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:20 +02:00
Thomas Citharel
04f902333b
Fix event participation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:19 +02:00
Thomas Citharel
b5a5de5c0c
Event edit and participant fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel
e96dcc42b9
Move to Apollo v3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel
3ff7bc4512
WIP vue-cli 5
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:32:07 +02:00
Thomas Citharel
0e15abfc26
Lint files with prettier
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:17:37 +02:00
Thomas Citharel
70ca2d68a6
Improve some translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 16:16:46 +02:00
Thomas Citharel
fab8ee6f05
Fix organizer metadata overflow
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-26 17:27:27 +02:00
Thomas Citharel
cd874e1bfc
Fix edit event warning popup size
Imcrease width to 500px and allow to wrap text correctly if even longer

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-19 12:04:52 +02:00
Thomas Citharel
fb821ac455
Update to modern slot syntax
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 18:13:17 +02:00
Thomas Citharel
174f52b2ab
Fix participation button position
Closes #676

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-13 16:58:59 +02:00
Thomas Citharel
69339700cd
Fix event creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 19:26:33 +02:00
Thomas Citharel
13c8080097
Allow to create an event from a group preconfigured with the organizer
Refactored the organizer-picker components a lot

Close #464

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 10:33:19 +02:00
Thomas Citharel
3fe64a4389
Introduce the group activity section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-26 09:37:06 +01:00
Thomas Citharel
6a063cf655
Fix accessing group event unlogged
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-05 15:18:46 +01:00
Thomas Citharel
c41b80301f
Fix redirection after deleting an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-04 17:18:42 +01:00
Thomas Citharel
3d2fafc254
Add an error component
Shows when a rendering error has been triggered, like the one in 5edc402a01

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-03 18:01:53 +01:00
Thomas Citharel
5edc402a01
Fix showing event origin when the event organizer is a group
Related to !806 and #561

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-03 09:38:27 +01:00
Thomas Citharel
166ce52a7f
Fix z-index issue with datepickers on Edit event page
Closes #558

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-25 18:06:50 +01:00
ty kayn
5c57f1ce3c if an event has geo coordinates, add links to routing on OSM, with correct place and zoom of 14, 3 buttons to get routig as car, bike, and by feet.
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-12-17 11:26:25 +01:00
Thomas Citharel
594d5a91ec
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-14 09:23:29 +01:00
Thomas Citharel
6a52ca0d91
Produce and use webp pictures with different sizes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-11 15:27:04 +01:00
Thomas Citharel
736020392b
Use direct datetime picker from Buefy
Closes #494
Closes #459
Closes #207

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-10 12:16:35 +01:00
Thomas Citharel
71854ec7b7
Improve my events / my groups when there's no content
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-09 19:09:31 +01:00
9de04695d9
add suggest create button when there is not any one found on 'my event' page 2020-12-09 18:09:57 +01:00
Thomas Citharel
6c0ee2446a
Group enhancements
And fixes #492

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-09 10:01:37 +01:00
Thomas Citharel
96938a5511
Refactor the participation section for an event
And add a test for this new section

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-04 15:12:41 +01:00
Thomas Citharel
cb4b251c77
Simplify event list card with a dropdown, load group attribution and
show identity for participation

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 17:42:08 +01:00
Thomas Citharel
4b021f50e5
Clearer logic whether to show or not the participation button
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 12:35:05 +01:00
Thomas Citharel
a76917b8e1
Fix participation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 12:35:03 +01:00
Thomas Citharel
2d541f2e32
Fix lint issues
And disable eslint when building in prod mode

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-30 12:48:21 +01:00
Thomas Citharel
da42522073
Fix eslint warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-30 12:48:21 +01:00
Thomas Citharel
c9457fe0d3
Track usage of media files and add a job to clean them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-26 17:53:33 +01:00
Thomas Citharel
605239130e
Refactor Picture upload
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-23 17:00:39 +01:00
Thomas Citharel
3eacbb2ca3
Improve GraphQL documentation and cleanup API
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-20 11:44:00 +01:00
Thomas Citharel
9b8b17adc8
Rename /deep/ to ::v-deep since we use dart-sass now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-16 10:04:47 +01:00
Thomas Citharel
223512f8ae
Rework onboarding
Close #435

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-13 13:42:13 +01:00
Thomas Citharel
7c11807c14
Allow to join an open group
Also:

* Refactor interacting with a remote event so that you can interact with
  a remote group as well
* Add a setting for group admins to pick between an open and invite-only
  group
* Fix new groups without posts/todos/resources/events/conversations URL
  set
* Repair local groups that haven't got their
  posts/todos/resources/events/conversations URL set
* Add a scheduled job to refresh remote groups every hour
* Add a user setting to pick when to receive notifications when there's
  new members to approve (will be used when this feature is available)
* Fix pagination for members

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-06 15:19:36 +01:00
Thomas Citharel
2ce5f8e66c
Improve group dashboard for members without moderator rights
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 10:48:49 +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
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
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
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
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
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
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
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
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
2e67c423db
Fix group event list
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 15:57:49 +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
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
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
49a5725da3
Improve and activate groups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-29 10:25:00 +02:00
Thomas Citharel
9b726fabb5
Make sure anonymous participation doesn't show up when logged-in
And improve a little typescript usage

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-22 15:04:29 +02:00
Thomas Citharel
b0e8a32d2a
Improvements to group page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-21 11:18:49 +02:00
Thomas Citharel
5f0497144a
Improve texts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-31 14:25:21 +02:00
Thomas Citharel
9b0b753064
Run Prettier with updated version
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-27 15:41:48 +02:00
Thomas Citharel
1984f71cbf
Add group admin profiles
And other fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-27 12:12:54 +02:00
Thomas Citharel
4a87d520b6
Adapt for Buefy 0.9 <b-table> scope changes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-18 15:50:50 +02:00