From 846377b586b4e843d9bb9e0d7cfe7059df7255a4 Mon Sep 17 00:00:00 2001 From: ayaka Date: Mon, 17 Jun 2024 22:29:52 +1200 Subject: [PATCH 1/3] implement mascots --- src/main.rs | 19 ++++++++++++++++++- src/settings.rs | 3 ++- src/utils.rs | 16 ++++++++++++++++ static/mascots/redsunlib.png | Bin 0 -> 4866 bytes static/style.css | 14 ++++++++++++++ templates/base.html | 7 +++++++ templates/settings.html | 6 ++++++ 7 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 static/mascots/redsunlib.png diff --git a/src/main.rs b/src/main.rs index e228dcd..fe034af 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,7 +26,7 @@ use client::{canonical_path, proxy}; use log::info; use once_cell::sync::Lazy; use server::RequestExt; -use utils::{error, redirect, ThemeAssets}; +use utils::{error, redirect, ThemeAssets, MascotAssets}; use crate::client::OAUTH_CLIENT; @@ -111,6 +111,20 @@ async fn style() -> Result, String> { ) } +/// Serve mascot +async fn mascot_image(req: Request) -> Result, String> { + let res = MascotAssets::get(&req.param("name").unwrap()) + .unwrap_or(MascotAssets::get("redsunlib.png").unwrap()); + Ok( + Response::builder() + .status(200) + .header("content-type", "image/png") + .header("Cache-Control", "public, max-age=1209600, s-maxage=86400") + .body(res.data.into()) + .unwrap_or_default(), + ) +} + #[tokio::main] async fn main() { // Load environment variables @@ -265,6 +279,9 @@ async fn main() { app.at("/settings/restore").get(|r| settings::restore(r).boxed()); app.at("/settings/update").get(|r| settings::update(r).boxed()); + // Mascots + app.at("/mascot/:name").get(|r| mascot_image(r).boxed()); + // Subreddit services app .at("/r/:sub") diff --git a/src/settings.rs b/src/settings.rs index 6964675..8c51a41 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -19,8 +19,9 @@ struct SettingsTemplate { // CONSTANTS -const PREFS: [&str; 16] = [ +const PREFS: [&str; 17] = [ "theme", + "mascot", "front_page", "layout", "wide", diff --git a/src/utils.rs b/src/utils.rs index dbaf1de..62f8f45 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -570,7 +570,9 @@ pub struct Params { #[derive(Default)] pub struct Preferences { pub available_themes: Vec, + pub available_mascots: Vec, pub theme: String, + pub mascot: String, pub front_page: String, pub layout: String, pub wide: String, @@ -595,6 +597,11 @@ pub struct Preferences { #[include = "*.css"] pub struct ThemeAssets; +#[derive(RustEmbed)] +#[folder = "static/mascots/"] +#[include = "*.png"] +pub struct MascotAssets; + impl Preferences { // Build preferences from cookies pub fn new(req: &Request) -> Self { @@ -605,9 +612,18 @@ impl Preferences { let chunks: Vec<&str> = file.as_ref().split(".css").collect(); themes.push(chunks[0].to_owned()); } + // Read available mascot names from embedded png files. + // Always make default "none" option available. + let mut mascots = vec!["none".to_string()]; + for file in MascotAssets::iter() { + let chunks: Vec<&str> = file.as_ref().split(".png").collect(); + mascots.push(chunks[0].to_owned()); + } Self { available_themes: themes, + available_mascots: mascots, theme: setting(req, "theme"), + mascot: setting(req, "mascot"), front_page: setting(req, "front_page"), layout: setting(req, "layout"), wide: setting(req, "wide"), diff --git a/static/mascots/redsunlib.png b/static/mascots/redsunlib.png new file mode 100644 index 0000000000000000000000000000000000000000..e3bf580eaff45ea72d8c107df4591015ab36e984 GIT binary patch literal 4866 zcmd5<30PBC7QP{YBrGF=uqhf=iNK%&$|4xH2(hvxfVhB+$SOr-kwwHPieRusw3P}d z5>Qbqj9L)cB7%Z;K%ufLtFkKl7D)2u1z`r9qV0TbKW}pK&bjC2-t*sc{&(LyZD(UC zCcIo203b%OvY-JV0ILE3gM=@o*HkLt{?#5kD4rCGI>5kv0Q?OWEZ_kYK)@Pb0OEtr zHxLVS0R$58=Q#!o64v=+h4`{SmzvZ0;}8NL<~arH0&{w*C~UwDGy8!Wpf(`Bbqi$+ zybynJ_y=kR<^UrkgccISpwVb779%W*7ZVi`5tWmWT!vq{oUm%;a(Q_L6)iOdB~4{{ zd7|DL&2{T_b#)192FCi@Mp`<$+WbinSS(glL{wHxOjcV_UQzpZH|Qb2VfZm25lTP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20em; +} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 84dc9c8..b2b2945 100644 --- a/templates/base.html +++ b/templates/base.html @@ -59,6 +59,13 @@ + + {% if prefs.mascot != "none" && prefs.mascot != "" %} + +
+ +
+ {% endif %} {% block body %} diff --git a/templates/settings.html b/templates/settings.html index 496b9b1..aaf8152 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -19,6 +19,12 @@ {% call utils::options(prefs.theme, prefs.available_themes, "system") %} +
+ + +
Interface -- 2.45.2 From 4c6a71171b2cf072bf59d447e119b386a6f785b5 Mon Sep 17 00:00:00 2001 From: ayaka Date: Mon, 17 Jun 2024 22:29:58 +1200 Subject: [PATCH 2/3] add boymoder --- static/mascots/BoymoderBlahaj.png | Bin 0 -> 9693 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 static/mascots/BoymoderBlahaj.png diff --git a/static/mascots/BoymoderBlahaj.png b/static/mascots/BoymoderBlahaj.png new file mode 100644 index 0000000000000000000000000000000000000000..1fca469befc62ff46c0b018e2ce35040a3282af2 GIT binary patch literal 9693 zcmch7c|25K{I{e;N`{nBmOIP{eaXJBx%ZA`49c!T8nTP*EyyUExyC5840jSGCHwkK zsG-OZAt^-m$WkQFe1CsDe?8CZ`R}>++EP%9~o+W<+fQ= zy5CuMA1{{~QBi`G`B596V<%3T8tR+r=osng=;`SlHg-CG{Md1I6(?Ew<4S6P0$xl> z7r^4glynrZvJ!Y@g(JXW$s^KSCnX^%by)bwQ7OrT;$jEH_8-vOu>&J2Cb(Zpc%O){ zu&|KOZUF(o9fEuL`FHKuv2(|c9ozo9{_9YbY~C2xlZYVMI`9aHN=jiB^^NV^e1k&c z(`dJE7e1=4`S<;`}IOVWf6Rc9Tl zQq2_?e{^9^JXB8GpYzagYb$$MmeMir-t{)GW_DD+tEY`&va79eeRcNj?CgaUGbRxy zCYb#H(^K>cSN|a8C8XpcqRd3aUW&n=MGTmLw5e$O!gt$a&Sq-u1#i3sa)|zN!;6AB zL`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Cub?~bH0yo1vw*XPVUxkL-j!NhwAz@=+{so#( z;#HduM=QPG$wEYoZ$Op)jC7?9AL-51o=j{4G$?{(0NjbfIAs9I-qX&qDIB)3=$MFbuP=t05n6^X}zum(#Hg7K6D==ZagCbc>0Ij zM+GbpId&L#pD8U$8QcR@0zx7B*nz!BDljLqv`Ae_lut#uq{4$F)41fK>mXzXOd;-xUwg24O7Gj= zROW;-91o?Ujlkp;n9++3j55Q@s%7I=f~79!-vidJz|`f_--qmVM_HuA1HrhQq8m2D z$KVk*ZZxo6f7GS;XHA00iX1G385(=7u6ghdXHdafps#}iq_@&0 z`K-9ykjVTDMkbwYKY~bOew{ZnYd(sx&{nrHBz&h<(|N~^nzh6jnpw54ym>DoCJt7gnl|?J;lDCJPia`U#yrV5*OyyI16#fE`$(~gGm{~`?E*o)8P<$1j{@P6DA{nG zb|1Vv5Z8LXPBF*o5si3Nei?ov@3_4v>7|jQtMZxNgIPK7s-ekZ@>PtN*fva>HybaQ zMr6`ciu0Oo1@CJ``Ai>KGkzp90gJBzW~>{{r>?;c$)(%=AIE(TJ=)^G;KX~AKSJT% Qe+QHxOIwSlW~Z Date: Mon, 17 Jun 2024 22:40:58 +1200 Subject: [PATCH 3/3] fix mascot css --- static/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/static/style.css b/static/style.css index 05108b0..4f99e34 100644 --- a/static/style.css +++ b/static/style.css @@ -1779,7 +1779,6 @@ td, th { position: fixed; right: 1em; bottom: 1em; - left: 85%; pointer-events: none; opacity: 0.5; z-index: 1; -- 2.45.2