From ccfeb4a157dd164aa127e9139666e8b17f6699ed Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Sat, 21 Dec 2024 08:53:55 +0100 Subject: [PATCH 1/4] tweak appeal wording --- translation/source/appeal.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translation/source/appeal.xml b/translation/source/appeal.xml index b03caa666bc35..de7a62ebe852c 100644 --- a/translation/source/appeal.xml +++ b/translation/source/appeal.xml @@ -8,7 +8,7 @@ Your account is marked for rating manipulation. We define this as deliberately manipulating rating by losing games on purpose or by playing against another account that is deliberately losing games. Your account is muted. - Read our %s. Failure to follow the communication guidelines can result in accounts being muted. + Read our %s. Failure to comply with the communication guidelines may result in accounts being muted. Your account has been excluded from leaderboards. We define this as using any unfair way to get on the leaderboard. Your account was closed by moderators. From 17cb3f54ca207ddf89cc3470e26b00861293d3e8 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Sat, 21 Dec 2024 09:04:23 +0100 Subject: [PATCH 2/4] tweak dependency graph --- bin/dependency-graph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/dependency-graph.py b/bin/dependency-graph.py index 146a17d93636a..345a9c305cf28 100755 --- a/bin/dependency-graph.py +++ b/bin/dependency-graph.py @@ -93,7 +93,7 @@ def pick(essentials, providers_dict): print() pydot_graph = nx.drawing.nx_pydot.to_pydot(G) -pydot_graph.set_rankdir('LR') +# pydot_graph.set_rankdir('LR') # pydot_graph.set_ratio(1) sink_nodes = pydot.Subgraph(rank="same") @@ -120,6 +120,6 @@ def pick(essentials, providers_dict): pydot_graph.add_edge(edge) edge.set_color('red') - edge.set_penwidth(2) + edge.set_penwidth(1) pydot_graph.write_png(output_path) From add294b8146c3b21d12f3443634d1d6a9a5078fb Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Sat, 21 Dec 2024 09:04:44 +0100 Subject: [PATCH 3/4] scala imports --- modules/recap/src/main/RecapBuilder.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/recap/src/main/RecapBuilder.scala b/modules/recap/src/main/RecapBuilder.scala index ff82f385e4c99..994f9cecc1cc7 100644 --- a/modules/recap/src/main/RecapBuilder.scala +++ b/modules/recap/src/main/RecapBuilder.scala @@ -1,6 +1,7 @@ package lila.recap import reactivemongo.akkastream.{ AkkaStreamCursor, cursorProducer } +import reactivemongo.api.bson.BSONNull import chess.ByColor import chess.opening.OpeningDb import chess.format.pgn.SanStr @@ -9,11 +10,8 @@ import scalalib.model.Days import lila.common.SimpleOpening import lila.db.dsl.{ *, given } import lila.game.Query -import lila.puzzle.PuzzleRound import lila.common.LichessDay import lila.core.game.Source -import java.time.LocalDate -import reactivemongo.api.bson.BSONNull private final class RecapBuilder( repo: RecapRepo, From 3010f9a1d76e87d004c5406cfbde689aa1af747b Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Sat, 21 Dec 2024 09:04:51 +0100 Subject: [PATCH 4/4] recap module dependencies --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 0531e24e350d8..bda60e14c4749 100644 --- a/build.sbt +++ b/build.sbt @@ -477,7 +477,7 @@ lazy val notifyModule = module("notify", ) lazy val recap = module("recap", - Seq(memo, ui, user, game, puzzle), + Seq(user, game, puzzle), Seq() )