Commit Graph

92 Commits

Author SHA1 Message Date
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 291a788438
Various accessibility improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-08 10:04:06 +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 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 47cc3173ac
Cleanup Group.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 15:31:17 +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 7e1409100f
Allow to leave directly from the group
- Also handle error when you are the last admin
- Also change order from the dropdown menu

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:23 +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 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 c1fd7d558d
Make sure query is reloded after asking to join a group
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:56:50 +02:00
Thomas Citharel e25f13582e
fix vue warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-03 14:56:50 +02:00
Thomas Citharel e2721af456
Refactor picture-upload and take into account picture size limits
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-12 12:01:53 +02:00
Thomas Citharel 569a4b6356
Fix reloading the members list after excluding a member
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-08 09:54:23 +02:00
Thomas Citharel da1fee2cc7
Show group feeds for members as well
Closes #646

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 18:08:02 +02:00
Thomas Citharel fcc3fe746e
Fix number of group followers per page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 17:25:52 +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 1f926902aa
Add comments under events to activities
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-10 17:40:55 +01:00
Thomas Citharel d8e4d6c24f
Introduce activity filters
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-09 16:21:12 +01:00
Thomas Citharel 03824b898c
Get membership status only for the current group
Closes #575

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-05 11:23:17 +01:00
Thomas Citharel 191be0f8e4
Fix success message when validating group follower
Closes #612

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-02 17:34:28 +01:00
Thomas Citharel 9fd1822a05
Make sure timeline is refreshed when page is accessed
Change to fetchPolicy: "cache-and-network"

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-02 10:20:53 +01:00
Thomas Citharel a415eeb5d8
Fixup empty timeline issue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-26 19:59:20 +01:00
Thomas Citharel 5e63e54697
Fix activity timeline being empty
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-26 19:55:29 +01: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 4fbdc94e7c
Fix following groups + Add interface to manage followers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-22 11:52:52 +01:00
Thomas Citharel e76a270e72
Feed improvements
And show public feed links on the group page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-19 15:30:02 +01:00
Thomas Citharel 4100fd8705
Fix discussion list page showing empty content when not a member
Introduce the EmptyContent component to display an empty content message

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-14 19:17:12 +01:00
Thomas Citharel c2987beb31
Fix group avatar upload
Close #549

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-11 18:02:21 +01:00
Thomas Citharel 4f7faf4f4c
Fix leftover
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-17 16:01:18 +01:00
Thomas Citharel a646d4a40a
Fix unlisted groups being available in search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-17 15:38:03 +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 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
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 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 e6077d0dc3
Forbid creating usernames with uppercase characters
We don't actually enforce anything on the ActivityPub level, only
user-facing interfaces

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-17 19:54:40 +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 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
Marcin Mikolajczak 1a20a24301
Make 'Federated Group Name' explanation text clearer 2020-10-27 16:33:42 +01:00
Thomas Citharel 87ee0e156c
Improve group public page display when there's no description/events/posts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-26 09:48:25 +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