From fc9a4ea22eb91757b95cbe1bf1708be17fc2337a Mon Sep 17 00:00:00 2001 From: yo momma Date: Tue, 27 Jan 2026 03:33:16 +0000 Subject: Fix HTTPS/mixed content; make config env-driven - Replace hardcoded dump.fm URLs with host/scheme config\n- Add optional passwordless login flow\n- Update templates/static assets to avoid blocked HTTP resources\n- Ignore local uploads/SQL dumps --- static/resizetest/dump.fm.all.files/dump.css | 18 ++-- static/resizetest/dump.fm.all.files/pichat.js | 16 ++-- static/resizetest/dump.fm.all.htm | 118 +++++++++++++------------- static/resizetest/dump.fm.av.files/dump.css | 18 ++-- static/resizetest/dump.fm.av.files/pichat.js | 16 ++-- static/resizetest/dump.fm.av.htm | 118 +++++++++++++------------- static/resizetest/dump.fm.htm | 118 +++++++++++++------------- static/resizetest/dump.fm_files/dump.css | 18 ++-- static/resizetest/dump.fm_files/pichat.js | 16 ++-- 9 files changed, 228 insertions(+), 228 deletions(-) (limited to 'static/resizetest') diff --git a/static/resizetest/dump.fm.all.files/dump.css b/static/resizetest/dump.fm.all.files/dump.css index 332680d..ae021fc 100755 --- a/static/resizetest/dump.fm.all.files/dump.css +++ b/static/resizetest/dump.fm.all.files/dump.css @@ -63,25 +63,25 @@ a.img_roll:link, .img_roll{ width:130px; height:46px; display:block; - background-image:url(http://dump.fm/static/img/dumppixel.png); + background-image:url(/static/img/dumppixel.png); } a.img_roll:hover{ width:130px; height:46px; display:block; - background-image:url(http://dump.fm/static/img/dumppixelhover.png); + background-image:url(/static/img/dumppixelhover.png); } a.img_rolldis:link, .img_rolldis{ width:130px; height:46px; display:inline-block; - background-image:url(http://dump.fm/static/img/dumppixel.png); + background-image:url(/static/img/dumppixel.png); } a.img_rolldis:hover{ width:130px; height:46px; display:inline-block; - background-image:url(http://dump.fm/static/img/dumppixelhover.png); + background-image:url(/static/img/dumppixelhover.png); } #userlist a{ @@ -106,7 +106,7 @@ width:190px; } #search-query .search_icon { -background:url("http://dump.fm/static/img/hourglass.png") no-repeat scroll center center transparent; +background:url("/static/img/hourglass.png") no-repeat scroll center center transparent; bottom:3px; cursor:pointer; left:6px; @@ -494,7 +494,7 @@ a.msg-image-zoom img.zoom-icon:hover { } .search_icon { - background:url("http://dump.fm/static/img/hourglass.png") no-repeat scroll center center transparent; + background:url("/static/img/hourglass.png") no-repeat scroll center center transparent; bottom:3px; cursor:pointer; left:6px; @@ -1941,7 +1941,7 @@ top:50px; div.apple_overlay.black { color:#fff; - background-image:url(http://dump.fm/static/img/bg.dither.gif); + background-image:url(/static/img/bg.dither.gif); width:90%; height:70%; margin: 0 auto 0 auto; @@ -1981,7 +1981,7 @@ div.black h2 { } .apple_overlay .close { -background-image:url(http://dump.fm/static/img/thumbs/clode.png); +background-image:url(/static/img/thumbs/clode.png); border:2px solid #000; position:absolute; right:-11px; top:-8px; cursor:pointer; @@ -2054,7 +2054,7 @@ padding-bottom:45px; text-align: justify; text-justify: newspaper } #dis_welcome { - background-image: url(http://dump.fm/static/img/hearts.gif); + background-image: url(/static/img/hearts.gif); position: fixed; top: 0; left: 0; diff --git a/static/resizetest/dump.fm.all.files/pichat.js b/static/resizetest/dump.fm.all.files/pichat.js index 6da51b0..9397978 100755 --- a/static/resizetest/dump.fm.all.files/pichat.js +++ b/static/resizetest/dump.fm.all.files/pichat.js @@ -301,7 +301,7 @@ function buildMessageDiv(msg, isLoading) { var displayStyle = (TextEnabled || LastMsgContainsImage) ? '' : ' style="display: none"'; return '
' - + '' + nick + '' + + '' + nick + '' + ' ' + '' + '' + builtContent + '' @@ -311,7 +311,7 @@ function buildMessageDiv(msg, isLoading) { function buildUserDiv(user) { if (user.avatar) { return ''; } else { @@ -327,7 +327,7 @@ function buildUserDiv(user) { function buildFav(f) { var h = '
' + '' - + '' + f.from + '' + + '' + f.from + '' + ' just faved you!' + '
'; return $(h); @@ -363,7 +363,7 @@ function updateFavs(fs) { function buildGrowlDataAndPopDatShit(msg) { var nick = escapeHtml(msg.nick); - nick = '' + nick + ':' + nick = '' + nick + ':' var msg = buildMsgContent(msg.content) growl(nick, msg) } @@ -531,7 +531,7 @@ function refresh() { var onError = function(resp, textStatus, errorThrown) { var msg = $.trim(resp.responseText); if (msg == "UNKNOWN_ROOM") - location.href = "http://dump.fm"; + location.href = "/"; if (IsAdmin && window.console) { console.error(resp, textStatus, errorThrown); } @@ -1142,7 +1142,7 @@ function getMessageInfo(e){ var message = $(e).parents(".dump") var id = message.attr("id").substr(8) // cut "message-001" to "001" var nick = message.attr("nick") - var link = "http://dump.fm/p/" + nick + "/" + id + var link = "/p/" + nick + "/" + id var content = message.find(".linkify") if (!content.length) content = message.find(".content") var rawContent = content.html() @@ -1159,7 +1159,7 @@ Share = { }, "facebook": function(button){ var message = getMessageInfo(button) - var url = "http://www.facebook.com/share.php?u=" + message.img + "&t=" + message.via + var url = "https://www.facebook.com/share.php?u=" + message.img + "&t=" + message.via Share.openLink(url) }, "tumblr": function(button){ @@ -1340,7 +1340,7 @@ function initChatMsgs() { var zoomlink = $('') .attr({'href': img.attr('src') }) .addClass('msg-image-zoom') - .append($('').attr('src', 'http://dump.fm/static/img/zoom.gif') + .append($('').attr('src', '/static/img/zoom.gif') .addClass('zoom-icon')) .click(function() { window.open(img.attr('src')); return false; }); $(this).append(zoomlink); diff --git a/static/resizetest/dump.fm.all.htm b/static/resizetest/dump.fm.all.htm index b923098..866fee4 100755 --- a/static/resizetest/dump.fm.all.htm +++ b/static/resizetest/dump.fm.all.htm @@ -1,5 +1,5 @@ - + @@ -14,11 +14,11 @@ - + dump.fm @@ -64,7 +64,7 @@
@@ -72,19 +72,19 @@
- - + + Profile - + Directory - + Hall of Fame - - Favs - Image Search + + Favs + Image Search @@ -93,17 +93,17 @@ @@ -118,7 +118,7 @@
@@ -129,7 +129,7 @@
@@ -137,8 +137,8 @@
-
- Logout + + Logout
@@ -183,187 +183,187 @@ jQuery('#textbutton input').attr('checked', TextEnabled).change(setTextEnable); - +
- shaq + shaq
- worm + worm nightwolf v.2
- samthekeeper + samthekeeper Cinder Ultra combo.
- samthekeeper + samthekeeper Cinder Ultra combo.
- lux + lux
- srx + srx dsd
- srx + srx
- lolumad + lolumad im in class
- yert + yert
- psludump + psludump they're so tiny!

-
psludump i see...
psludump your blog should be reported for adult and sexual mature contents. this is tumblr! gtfo
Savour does anyone have just the dolphin gif or where they alwasys together?
noisia it's 10 posts above
Savour x_x
Savour thanks, i need to sleep
+
psludump i see...
psludump your blog should be reported for adult and sexual mature contents. this is tumblr! gtfo
Savour does anyone have just the dolphin gif or where they alwasys together?
noisia it's 10 posts above
Savour x_x
Savour thanks, i need to sleep
@@ -384,11 +384,11 @@
- @2010 dump.fm - About Us - Help FAQ - Terms - Privacy + @2010 dump.fm + About Us + Help FAQ + Terms + Privacy - + dump.fm @@ -64,7 +64,7 @@
- +
@@ -72,19 +72,19 @@
- - + + Profile - + Directory - + Hall of Fame - - Favs - Image Search + + Favs + Image Search @@ -93,17 +93,17 @@ @@ -118,7 +118,7 @@
@@ -129,7 +129,7 @@
@@ -137,8 +137,8 @@
-
- Logout + + Logout
@@ -183,187 +183,187 @@ jQuery('#textbutton input').attr('checked', TextEnabled).change(setTextEnable); - +
- shaq + shaq
- worm + worm nightwolf v.2
- samthekeeper + samthekeeper Cinder Ultra combo.
- samthekeeper + samthekeeper Cinder Ultra combo.
- lux + lux
- srx + srx dsd
- srx + srx
- lolumad + lolumad im in class
- yert + yert
- psludump + psludump they're so tiny!

-
psludump i see...
psludump your blog should be reported for adult and sexual mature contents. this is tumblr! gtfo
Savour does anyone have just the dolphin gif or where they alwasys together?
noisia it's 10 posts above
Savour x_x
Savour thanks, i need to sleep
+
psludump i see...
psludump your blog should be reported for adult and sexual mature contents. this is tumblr! gtfo
Savour does anyone have just the dolphin gif or where they alwasys together?
noisia it's 10 posts above
Savour x_x
Savour thanks, i need to sleep
@@ -384,11 +384,11 @@
- @2010 dump.fm - About Us - Help FAQ - Terms - Privacy + @2010 dump.fm + About Us + Help FAQ + Terms + Privacy - + dump.fm @@ -64,7 +64,7 @@
- +
@@ -72,19 +72,19 @@
- - + + Profile - + Directory - + Hall of Fame - - Favs - Image Search + + Favs + Image Search @@ -93,17 +93,17 @@ @@ -118,7 +118,7 @@
@@ -129,7 +129,7 @@
@@ -137,8 +137,8 @@
-
- Logout + + Logout
@@ -183,187 +183,187 @@ jQuery('#textbutton input').attr('checked', TextEnabled).change(setTextEnable); - +
- shaq + shaq
- worm + worm nightwolf v.2
- samthekeeper + samthekeeper Cinder Ultra combo.
- samthekeeper + samthekeeper Cinder Ultra combo.
- lux + lux
- srx + srx dsd
- srx + srx
- lolumad + lolumad im in class
- yert + yert
- psludump + psludump they're so tiny!

-
psludump i see...
psludump your blog should be reported for adult and sexual mature contents. this is tumblr! gtfo
Savour does anyone have just the dolphin gif or where they alwasys together?
noisia it's 10 posts above
Savour x_x
Savour thanks, i need to sleep
+
psludump i see...
psludump your blog should be reported for adult and sexual mature contents. this is tumblr! gtfo
Savour does anyone have just the dolphin gif or where they alwasys together?
noisia it's 10 posts above
Savour x_x
Savour thanks, i need to sleep
@@ -384,11 +384,11 @@
- @2010 dump.fm - About Us - Help FAQ - Terms - Privacy + @2010 dump.fm + About Us + Help FAQ + Terms + Privacy