From b7289c2e0e5b0f0292f84492472d0a99882c9497 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 30 Nov 2023 11:36:04 +0000 Subject: [PATCH 01/12] remove comments compality --- html/poketube.ejs | 95 +++++++++++++++++++++++++++-------------------- 1 file changed, 55 insertions(+), 40 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 7d9ce0ed..3c4f57e4 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -2060,7 +2060,7 @@ a {
<% if (lightOrDark(color) == "dark") { %> -
- <% let randomNumber = Math.floor(Math.random() * 2) + 1; %> - - <% if (Array.isArray( inv.comments)) { %> - -
- -
Comments - <%- convert(inv.commentCount) %> -
-
- - - -
- - -
- + +
+
+ <% if (twitter) { %> +
+ @<%- twitter.name %> +
+ + <% } %> + + <% if (discord) { %> +
+ /<%- discord.name %> +
+ <% } %> + + + <% if (twitch) { %> +
+ /<%- twitch.name %> +
+ <% } %> + + + <% if (reddit) { %> +
+ r/<%- reddit.name %> +
+ <% } %> + + <% if (instagram) { %> +
+ <%- instagram.name %> +
+ <% } %> + + <% if (!twitter) { %> + <% if (!discord) { %> + <% if (!reddit) { %> + <% if (!twitch) { %> + + <% if (!instagram) { %> +
+ Nyo connections found ;_; +
+ <% } %> + <% } %> + <% } %> - <% } %> - - -
+ <% } %> <% } %> +
+ +
@@ -2404,7 +2419,7 @@ the channels social media accounts!
<% if (twitter) { %>
- @<%- twitter.name %> + @<%- twitter.name %>
<% } %> From 88ae49a3eb80f06aa901b5da12ea01bc60605f6b Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 30 Nov 2023 11:50:50 +0000 Subject: [PATCH 02/12] yeah lol --- html/poketube.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 3c4f57e4..95bbc189 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -2147,7 +2147,7 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap;
- + <%=k.Video.Channel.Name%>
From 296339157cfd3884190088994104dd544c879d87 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 30 Nov 2023 12:02:29 +0000 Subject: [PATCH 03/12] update ver --- p/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/server.js b/p/server.js index 98dfec6a..fdad6585 100644 --- a/p/server.js +++ b/p/server.js @@ -98,7 +98,7 @@ const listener = (req, res) => { app.get("/", (req, res) => { var json = { status: "200", - version: "1.1.0", + version: "1.2.0", URL_WHITELIST, cache: "max-age-232337763", }; From 0be09b6e9353c76ff5459c95bba0e8d0c55ceadd Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 30 Nov 2023 16:36:07 +0000 Subject: [PATCH 04/12] add stuff :3 --- html/poketube.ejs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 95bbc189..285f6042 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -51,12 +51,7 @@ <% } %> - - - poketube.eventloader = this.eventloader - load() - - + <%=inv_vid.title%> | PokeTube <% } %> - + + + <% if(secure) { %> @@ -1882,8 +1883,7 @@ if (Ashley && !Ashley.dntEnabled()) { <% } %> - - From da26403f06a178e7bfaeaa392882c92ecda85788 Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 1 Dec 2023 16:26:19 +0000 Subject: [PATCH 10/12] lol --- html/poketube.ejs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index dfb4d0f2..bc679ede 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -352,12 +352,12 @@ a[data-onclick="jump_to_time"] { - - - - - - + + + + + + From db4314c072d4b0abe5d3357ba259047e512e581f Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 1 Dec 2023 16:28:47 +0000 Subject: [PATCH 11/12] new cache tiem :3 --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index f9fee911..c0d7419d 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "invapi": "https://invid-api.poketube.fun/api/v1", "dislikes": "https://returnyoutubedislikeapi.com/votes?videoId=", "invchannel": "https://invid-api.poketube.fun/api/v1", - "cacher_max_age": "1800", + "cacher_max_age": "864000", "enablealwayshttps": false, "t_url": "https://t.poketube.fun/", "server_port": "6003" From 34a952e6279561752cb6b9f5df9d405bc8011794 Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 1 Dec 2023 19:21:53 +0000 Subject: [PATCH 12/12] fix this :3 --- html/poketube.ejs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index bc679ede..1b71f0c1 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1808,15 +1808,9 @@ window.addEventListener("unload", cleanup) <% } %> - + + <% if(secure) { %> @@ -1883,7 +1877,9 @@ if (Ashley && !Ashley.dntEnabled()) { <% } %> - +