Commit Graph

292 Commits (deepcrayonfish)

Author SHA1 Message Date
Thibault Duplessis 51605e46f1 {master} log team closure 2021-11-09 08:06:30 +01:00
Thibault Duplessis 33cfc3a248 fix coll scan in aggregation query
because of a mongodb bug that prevents using available index
in $expr $in in aggregation pipeline

https://jira.mongodb.org/browse/SERVER-32549
https://jira.mongodb.org/browse/SERVER-37470

Revert this when the mongodb bug is fixed, for additional perf
2021-09-16 11:48:21 +02:00
Thibault Duplessis 3a599e6680 can't kick team creator 2021-09-14 12:32:57 +02:00
Thibault Duplessis 7b52bcb4ce fetch user team IDs in a single (aggregation) request 2021-09-14 11:15:08 +02:00
Thibault Duplessis 4ff572f3f2 code golf 2021-09-12 18:16:29 +02:00
Thibault Duplessis c42d0898de minor tweaks after #9743 2021-09-11 19:50:49 +02:00
Ragul Balaji Ravichandran 5c01bb8b5d add explicit conditions 2021-09-11 15:13:18 +05:30
Ragul Balaji Ravichandran b00649da0e use team_requests collection for the declined requests 2021-09-11 14:18:15 +05:30
Ragul Balaji Ravichandran 8950f3608d Team Declined requests page
Create a page to view all the declined requests and allow a declined request to be accepted
2021-09-06 21:20:15 +05:30
Ragul Balaji Ravichandran 01f2d00218 Track declined team requests
Declined team requests are added to new collection team_request_declined and
the users are not allowed to join the team if the request is declined
2021-09-06 21:16:12 +05:30
Thibault Duplessis b8b122b86a filter markdown image URLs with a whitelist in user blogs
to prevent untrusted domains from collecting IP address on page load

also applies to team descriptions
2021-09-05 10:12:01 +02:00
Thibault Duplessis 6f3eb509bc remove team.location and finalize team.forum config
closes #9652
2021-08-27 10:34:46 +02:00
Thibault Duplessis 9b3de16f4d team forum field WIP - for #9652 2021-08-27 09:10:18 +02:00
Thibault Duplessis 9e7caab741 kids can't be team leaders 2021-08-18 13:36:51 +02:00
Thibault Duplessis ae270ce986 autocomplete with team members only - for #9556 2021-08-11 08:54:52 +02:00
andresrcom 7d84de4095 multiple autocomplete for kicking team members 2021-08-11 01:35:37 +03:00
Thibault Duplessis 2238301d26 fix type alias 2021-08-08 09:00:30 +02:00
Thibault Duplessis 0cb6b4e0be team names can't contain "lichess" 2021-08-06 11:11:06 +02:00
Thibault Duplessis 0e0b93b79d rename team password to entry code - closes #9467 2021-07-26 09:59:13 +02:00
Benedikt Werner 35e3295215
scalafmt 2021-07-23 10:58:02 +02:00
Quang Le a66b5695e9 fix: ability to remove closed leaders 2021-07-21 00:10:20 +07:00
Niklas Fiekas cb9dadc092 scalafmt 2021-07-03 09:05:56 +02:00
Niklas Fiekas 577af900fd remove oauth client authentication (closes #9199) 2021-07-01 09:07:43 +02:00
Niklas Fiekas 8befef746b log use of client authentication for #9199 2021-06-16 22:02:57 +02:00
Thibault Duplessis 937cb43b31 remove team cli 2021-05-01 10:28:23 +02:00
Thibault Duplessis e6e23d9c32 add a button for team admins to re-enable disabled teams 2021-05-01 10:28:23 +02:00
Thibault Duplessis fc6e20860a remove team join requests on account closure 2021-04-18 22:54:10 +02:00
Thibault Duplessis e090d98db0 add team checks 2021-04-13 22:55:01 +02:00
michael1241 5e95619f83 fixing options 2021-03-31 22:33:11 +01:00
michael1241 49a5800c11 separate forum and member functionality 2021-03-31 21:41:39 +01:00
michael1241 3e3908fa1a name change 2021-03-30 12:00:56 +01:00
michael1241 e6378d4c4a name change and updating model 2021-03-30 11:59:40 +01:00
michael1241 2356e63dfe WIP finding where to edit 2021-03-30 11:27:19 +01:00
Thibault Duplessis ce1c2a590a tweak and refactor team private description - for #8349 2021-03-11 08:55:03 +01:00
ralgun 1f09d31fd0 Rewrote using option 2021-03-11 00:29:42 +01:00
ralgun f6caada2aa Added a private description to teams, which are only visible to members
- Modified forms for team editing and creation to include the private
  description
- Modified team pages to show private description when the user is a
  member
- Added a key "descPrivate" to translation
2021-03-10 18:29:18 +01:00
Thibault Duplessis 35a40f520d tournament battle team info page - closes #8076 2021-02-24 17:00:26 +01:00
Thibault Duplessis ab3e2ff5ea another perk for verified accounts 2021-02-19 10:55:47 +01:00
Thibault Duplessis 39da6ebeff invalidate team cache 2021-02-17 12:11:59 +01:00
Thibault Duplessis cfe2845301 tweak team bus subs 2021-02-17 12:11:50 +01:00
Thibault Duplessis 218c948648 join 15 teams + 1 per week, up to 50 teams 2021-02-16 16:33:05 +01:00
Thibault Duplessis 2a6d4582b3 allow joining up to 32 teams 2021-02-15 21:24:33 +01:00
Thibault Duplessis 04ba1f7c72 fix kicking team players - closes #8180 2021-02-15 21:24:21 +01:00
Thibault Duplessis 1d0c5adf93 cancel a team join request - closes #8066 2021-02-07 20:30:23 +01:00
Niklas Fiekas 75be88be0b allow longer team descriptions 2021-02-03 21:21:17 +01:00
Thibault Duplessis 286b64ec4b trim and clean up text fields before validating them
to avoid accepting purely space content
2021-01-30 15:17:17 +01:00
Thibault Duplessis 1347992590 team closure hides membership and clears the cache
there's no reason to delete teams on request anymore
2021-01-29 12:46:20 +01:00
Thibault Duplessis 239ab17ccb remove team requests when closing it 2021-01-29 12:16:45 +01:00
Thibault Duplessis cd9ac247b7 rename team cli 2021-01-22 10:14:40 +01:00
Thibault Duplessis cd034c6b70 rewrite team password 2021-01-14 18:01:51 +01:00