Commit Graph

58 Commits

Author SHA1 Message Date
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
Thomas Citharel 8c9546ff2a
Improve member management
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 14:24:51 +02:00
Thomas Citharel dacec2672b
Fix error message always showed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 19:10:57 +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 9430f1145f
Fix profiles not administrators able to edit a group
Related to #385

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 16:09:44 +02:00
Thomas Citharel 375e6d2bef
[Groups] Allow to promote/demote to moderator
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-06 15:38:53 +02:00
Thomas Citharel afb7d75307
Fix invitations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 16:19:31 +02:00
Thomas Citharel 5c11bef368
Better handle group invitation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 10:46:58 +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 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 49a5725da3
Improve and activate groups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-29 10:25:00 +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 952e592e2c
Show group address in group metadata
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-02 10:57:19 +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 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 4782221ef4
Allow to update a member role
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-20 10:54:58 +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
Thomas Citharel 156eba0551
Improve member adding and excluding flow
Allow to exclude a member

Send emails to the member when it's excluded

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-18 14:37:31 +02:00
Thomas Citharel 55003c73ab
Improve group view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-11 14:46:58 +02:00
Thomas Citharel 727814c6a7
Add address to public group page and handle empty collections
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-11 11:45:21 +02:00
Thomas Citharel 3c077c59ad
Allow to search groups by location
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 15:40:24 +02:00
Thomas Citharel 3bae65374f
Add group search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 15:40:23 +02:00
Thomas Citharel 9c9f1385fb
Introduce group posts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-30 16:55:35 +02:00
Thomas Citharel c3f73f4f87
Rename conversation strings to discussion
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-26 12:08:07 +02:00
Thomas Citharel 6797075461
Fix settings menu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-25 12:30:29 +02:00
Thomas Citharel 4144e9ffd0
Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00
Thomas Citharel d5a44eee9a
UI improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-18 08:49:30 +01:00
Thomas Citharel 0c732ab4f7
Add a cancel button to event edit & make buttons fixed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-01 20:10:53 +02:00
Thomas Citharel abf3a58657
Allow to accept / reject participants
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 10:40:12 +02:00
Thomas Citharel 96380f7df2
Move i18n to vue-i18n and json files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-12 12:19:02 +02:00
Thomas Citharel 6bceb5b463
Add identity pickers on event creation & join
Also it now saves current actor in localStorage and initalizes it in
Apollo Cache (just like user stuff). This allows not relying on
loggedPerson query anymore.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-11 11:03:17 +02:00
Chocobozzz 18b2854d99
Prepare create group 2019-09-02 11:51:42 +02:00
Thomas Citharel 0e0b68445b
Reuse existing addresses when creating an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-22 16:20:42 +02:00
Thomas Citharel f90089e1bf
Refactor media upload
Use Upload Media logic from Pleroma

Backend changes for picture upload

Move AS <-> Model conversion to separate module

Front changes

Downgrade apollo-client: https://github.com/Akryum/vue-apollo/issues/577

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-24 17:29:51 +02:00
Chocobozzz 92ff05f505
Test implementation of my account page 2019-04-26 15:36:53 +02:00