From 52952eab308fa89894dc7af99549a05fe807c7b6 Mon Sep 17 00:00:00 2001 From: Ari Archer Date: Sat, 1 Feb 2025 18:59:26 +0200 Subject: [PATCH] Add supa.cubiq.dev, sort comments by score. Signed-off-by: Ari Archer --- src/aw/views.py | 3 ++- src/static/legal.sig | Bin 566 -> 566 bytes src/static/legal.txt | 5 +++-- src/templates/index.j2 | 5 +++++ src/templates/legal.j2 | 7 ++++++- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/aw/views.py b/src/aw/views.py index f421374..0c31814 100644 --- a/src/aw/views.py +++ b/src/aw/views.py @@ -83,7 +83,8 @@ def index() -> str: "index.j2", visitor=models.Counter.first().inc().count, comments=models.Comment.query.filter_by(confirmed=True).order_by( - models.Comment.posted.desc() # type: ignore + models.Comment.score.desc(), # type: ignore + models.Comment.posted.desc(), # type: ignore ), status=status, comment=flask.request.args.get("gb"), diff --git a/src/static/legal.sig b/src/static/legal.sig index 608e5f8b087331db1c6d8628cec90905e3383bb0..5febbdce7b84e88306f13e55a38cfba7b881ff0e 100644 GIT binary patch delta 542 zcmV+(0^$9(1hxc_BY&P!P&G}3^u@TUuPmxHxj2&!76}vf&A^-cL-Y6!_s1{pB26PK z2}g-}dm;TWLNtw@T<4(b%vap`MKuyN{gti5$1qr~$h@YK>Tk&P6$0)w8KO*=XJcvDcdW`{v0WhUZloI2lHJ1erf`AUos^hEq!YBDZ_uW00 zpBlT7(oWODZLc0Y=NvK*jkAHm;3oReEkQ@ErYkJPnw?+CK&X5; zR-4W)xjIKdoqwt<<4U?$tOly85GRrR)gb~uPvJrTo>1+B-V>c4wv3yO; zQVe@`FRR~x9)i3TNRW)L&OeinCfmILw6dNVm0HM|kInPHP3_JQBNc}2*RrFP3Poit zlf}4L{nF~P?tO%7m~y|`4pUzi8pw4A97T@1oqxY52LHJL&}aD`B~1+HTdanMboYB_ zo`D0gWVGy%BCkg?J(?_OF)S@(f27Gz5qtIvL`X7Ke9aWo5-@>G=<19av-JGntCtWD gQhXue*cUUI14rI}wO!_o?;im(VsFG>3aI%IjJiSvuK)l5 delta 542 zcmV+(0^$9(1hxc_BY&MyAOH#p5Ty-UOIe!uqW_~0{wgpRJ24THtz;(6RWMY6OM>Wx zGNqg6Lq*($68vIr?zJvm`&m826~oOaW~p+++KeQ5_-cW~vx^jnBmpTkHkh-8EV8w> zlHFn;08>8Fq-rxj?+oj|_JQHUjf0YP!7VNDP(QOeRjIDi7k{C$7U40_y2n6|VUwqW zM@)yG>)l$!L=BRPhP5=O#WCD;e?RRL3pN}$Aj8yVC$U48*+(M1vo;P*5hpNl zKN|sh+MK<-W@!%j&)SS@mGDb<>HTmiG<3O3KzJA10qp%~TTxHD_P~|*Er{NEApF&^0Cfz0$R|KhPrivate database storage for Github: TheCubiq db.cubiq.dev + + Private SupaBase instance + Private database storage for Github: TheCubiq + supa.cubiq.dev + Forgejo instance for kappach.at Git forge instance of KappaChat - An extensible Matrix client written in C. diff --git a/src/templates/legal.j2 b/src/templates/legal.j2 index 8cf0fac..45d37ec 100644 --- a/src/templates/legal.j2 +++ b/src/templates/legal.j2 @@ -177,7 +177,7 @@
  • - Cubiq (Managed db.cubiq.dev Hoster) + Cubiq (Managed db.cubiq.dev and supa.cubiq.dev Hoster)