<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[GearFeed Logs]]></title><description><![CDATA[<p dir="auto">================================================================================</p>
<p dir="auto">GEARFEED DAILY CHANGE LOG &amp; SESSION SUMMARY</p>
<p dir="auto">Date: October 23, 2026</p>
<p dir="auto">Domain: <a href="http://gearfeed.org" rel="nofollow ugc">gearfeed.org</a></p>
<p dir="auto">Container: app-app-1</p>
<p dir="auto">Build Path: /opt/app/gearfeed-build/</p>
<p dir="auto">================================================================================</p>
<ol>
<li>OVERVIEW</li>
</ol>
<hr />
<p dir="auto">Configured and styled dynamic community photo background cards (featureCards)</p>
<p dir="auto">on the GearFeed landing page. Corrected heading link colors, balanced dark</p>
<p dir="auto">gradient scrim overlays for photo visibility, and resolved asset caching and</p>
<p dir="auto">PHP-FPM OPcache hurdles.</p>
<ol start="2">
<li>BACKEND: HASHTAG PHOTO QUERIES</li>
</ol>
<hr />
<p dir="auto">File: /var/www/app/Services/LandingService.php</p>
<p dir="auto">Added dynamic 'featureCards' payload to LandingService::get() querying public,</p>
<p dir="auto">local posts containing media that match target hashtags, with fallback to</p>
<p dir="auto">random media posts:</p>
<ul>
<li>
<p dir="auto">01 / FIELD NOTES:</p>
<p dir="auto">Hashtags: #fieldnotes, #pocketdump, #inuse, #notes</p>
</li>
<li>
<p dir="auto">02 / GEAR:</p>
<p dir="auto">Hashtags: #gear, #edc, #knife, #multitool, #everydaycarry</p>
</li>
<li>
<p dir="auto">03 / BUILDS &amp; MODS:</p>
<p dir="auto">Hashtags: #mods, #modding, #custom, #builds, #workbench</p>
</li>
<li>
<p dir="auto">04 / COMMUNITY:</p>
<p dir="auto">Hashtags: #community, #edctv, #gearfeed, #camp, #outdoors</p>
</li>
</ul>
<ol start="3">
<li>FRONTEND: BLADE TEMPLATE &amp; CACHE BUSTING</li>
</ol>
<hr />
<p dir="auto">File: /var/www/resources/views/site/index.blade.php</p>
<p dir="auto">Synced Host: /opt/app/gearfeed-build/resources/views/site/index.blade.php</p>
<ul>
<li>
<p dir="auto">Fixed Laravel 500 error caused by arithmetic operand conflict on mix() return:</p>
<p dir="auto">"Unsupported operand types: Illuminate\Support\HtmlString + string"</p>
</li>
<li>
<p dir="auto">Resolved by placing cache busters outside the Blade mix function:</p>
<p dir="auto">{{ mix('css/landing.css') }}?v=&lt;timestamp&gt;</p>
<p dir="auto">{{ mix('js/landing.js') }}?v=&lt;timestamp&gt;</p>
</li>
<li>
<p dir="auto">Maintained window.pfl = {!! App\Services\LandingService::get() !!} payload.</p>
</li>
</ul>
<ol start="4">
<li>CSS &amp; PRESENTATION UPDATES</li>
</ol>
<hr />
<p dir="auto">Source File: /opt/app/gearfeed-build/resources/assets/sass/landing.scss</p>
<p dir="auto">Compiled Target: /var/www/public/css/landing.css (via landing-combined.css)</p>
<ul>
<li>
<p dir="auto">Reduced dark overlay opacity to allow photos to show through vibrantly:</p>
<p dir="auto">Linear gradient from rgba(6, 8, 10, 0.58) down to 0.28.</p>
</li>
<li>
<p dir="auto">Forced heading color on a.gf-feature to solid #ffffff with text-shadow drop.</p>
</li>
<li>
<p dir="auto">Styled numbers (.gf-number) in cyan (#65e6df) with tracking.</p>
</li>
<li>
<p dir="auto">Set descriptive text to readable off-white (#e5eceb).</p>
</li>
<li>
<p dir="auto">Polished hover effects: subtle card lift (translateY -3px), cyan border</p>
<p dir="auto">glow, and background photo zoom/saturation boost.</p>
</li>
</ul>
<ol start="5">
<li>SERVER CACHE PURGING PROCEDURES</li>
</ol>
<hr />
<p dir="auto">To reload code changes when modifying views or backend services:</p>
<ol>
<li>
<p dir="auto">Reload PHP-FPM Master to invalidate OPcache:</p>
<p dir="auto">docker exec -it app-app-1 kill -USR2 201</p>
</li>
<li>
<p dir="auto">Clear Laravel view and route caches:</p>
<p dir="auto">docker exec -it app-app-1 php artisan view:clear</p>
<p dir="auto">docker exec -it app-app-1 php artisan route:clear</p>
</li>
<li>
<p dir="auto">Asset compile &amp; bundle command:</p>
<p dir="auto">docker run --rm -v /opt/app/gearfeed-build:/var/www -w /var/www node:20 sh -lc 'npx webpack --config gearfeed.webpack.js'</p>
<p dir="auto">cat /opt/app/gearfeed-build/public/css/landing.css /opt/app/gearfeed-build/public/css/landing-css.css &gt; /opt/app/gearfeed-build/public/css/landing-combined.css</p>
<p dir="auto">docker cp /opt/app/gearfeed-build/public/css/landing-combined.css app-app-1:/var/www/public/css/landing.css</p>
</li>
</ol>
<p dir="auto">================================================================================</p>
<p dir="auto">STATUS: Locked in and deployed live on <a href="https://gearfeed.org/" rel="nofollow ugc">https://gearfeed.org/</a></p>
<p dir="auto">================================================================================</p>
]]></description><link>https://multitool.ninja/topic/95559/gearfeed-logs</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 00:27:08 GMT</lastBuildDate><atom:link href="https://multitool.ninja/topic/95559.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Oct 2026 05:25:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GearFeed Logs on Tue, 27 Oct 2026 23:57:45 GMT]]></title><description><![CDATA[<p dir="auto">================================================================================</p>
<p dir="auto">SYSTEM AUDIT &amp; HARDENING LOG: <a href="http://GEARFEED.ORG" rel="nofollow ugc">GEARFEED.ORG</a> (PIXELFED / LARAVEL)</p>
<p dir="auto">Date: October 27, 2026</p>
<p dir="auto">Host / Container: pixelfed-xagxw-u73921 / app-app-1</p>
<p dir="auto">Hardware: Netcup 4 vCPU / 8 GB RAM / 100 GB SSD (Nuremberg, DE)</p>
<p dir="auto">================================================================================</p>
<ol>
<li>INCIDENT &amp; OBJECTIVE</li>
</ol>
<hr />
<ul>
<li>
<p dir="auto">Purpose: Network-wide pre-migration hardening and audit of GearFeed to</p>
<p dir="auto">ensure complete container recreation persistence, anti-spam protections,</p>
<p dir="auto">and media upload scalability (accommodating 15-second video uploads).</p>
</li>
<li>
<p dir="auto">Primary Risk Identified: Compiled custom landing assets (landing.css,</p>
<p dir="auto">landing.js) were residing solely inside ephemeral container directories</p>
<p dir="auto">(/var/www/public/), making them vulnerable to destruction on any future</p>
<p dir="auto">automated Docker image pull, Elestio update, or container rebuild.</p>
</li>
</ul>
<ol start="2">
<li>AUDIT FINDINGS</li>
</ol>
<hr />
<p dir="auto">[PASS] Reverse Proxy Stability:</p>
<pre><code>   - TRUSTED_PROXIES="*" confirmed in /opt/app/.env.

   - Prevents Symfony IpUtils::checkIp4() 0-byte header parse crashes.
</code></pre>
<p dir="auto">[PASS] Anti-Spam / Abuse Gate:</p>
<pre><code>   - OPEN_REGISTRATION=false active.

   - PF_BOUNCER_ENABLED=true active.

   - PF_BOUNCER_BAN_CLOUD_SIGNUPS=true active (blocks automated cloud ASN 

     registration attempts).
</code></pre>
<p dir="auto">[PASS] Persistent Core Storage:</p>
<pre><code>   - Host directory /opt/app/storage/app-storage successfully mapped to 

     /var/www/storage. All local uploads, media, and avatars persist on SSD.

   - Host directory /opt/app/custom-views/index.blade.php cleanly mapped 

     to /var/www/resources/views/site/index.blade.php.
</code></pre>
<p dir="auto">[FAIL -&gt; RESOLVED] Ephemeral Landing Page Asset Vulnerability:</p>
<pre><code>   - /var/www/public/css/landing.css (336 KB) and landing.js (212 KB) 

     existed in container storage with no host mount in docker-compose.yml.
</code></pre>
<ol start="3">
<li>HARDENING ACTIONS PERFORMED</li>
</ol>
<hr />
<p dir="auto">A. Landing Page Asset Host Backup &amp; Bind-Mounting:</p>
<ul>
<li>
<p dir="auto">Created host backup target: /opt/app/gearfeed-build/public/{css,js}</p>
</li>
<li>
<p dir="auto">Extracted running production assets:</p>
<p dir="auto">docker cp app-app-1:/var/www/public/css/landing.css \</p>
<pre><code>/opt/app/gearfeed-build/public/css/landing.css
</code></pre>
<p dir="auto">docker cp app-app-1:/var/www/public/js/landing.js \</p>
<pre><code>/opt/app/gearfeed-build/public/js/landing.js
</code></pre>
</li>
<li>
<p dir="auto">Updated /opt/app/docker-compose.yml to bind-mount host assets permanently:</p>
<ul>
<li>
<p dir="auto">./gearfeed-build/public/css/landing.css:/var/www/public/css/landing.css</p>
</li>
<li>
<p dir="auto">./gearfeed-build/public/js/landing.js:/var/www/public/js/landing.js</p>
</li>
</ul>
</li>
<li>
<p dir="auto">Recreated container via 'docker compose up -d app'.</p>
</li>
<li>
<p dir="auto">Verified active container inspection shows persistent mounts bound.</p>
</li>
</ul>
<p dir="auto">B. Video Duration &amp; Upload Ceiling Expansion:</p>
<ul>
<li>
<p dir="auto">Configured video parameters to allow 15-second clip imports (replacing</p>
<p dir="auto">previous 10-second ceiling) and raised memory/payload ceilings to 64 MB:</p>
<p dir="auto">MAX_VIDEO_LENGTH=15</p>
<p dir="auto">MAX_VIDEO_SIZE=65536</p>
<p dir="auto">PF_MAX_VIDEO_SIZE=65536</p>
</li>
<li>
<p dir="auto">Flushed framework caches to register environment changes immediately:</p>
<p dir="auto">docker exec app-app-1 php artisan config:clear</p>
<p dir="auto">docker exec app-app-1 php artisan cache:clear</p>
</li>
</ul>
<ol start="4">
<li>STORAGE &amp; ARCHITECTURAL VERIFICATION</li>
</ol>
<hr />
<ul>
<li>
<p dir="auto">Disk Capacity Analysis:</p>
<ul>
<li>
<p dir="auto">100 GB SSD with ~85+ GB dedicated free storage.</p>
</li>
<li>
<p dir="auto">GearFeed operates primarily as an internal gallery / community media</p>
<p dir="auto">vault feeding NodeBB, with minimal external Fediverse inbound follow bloat.</p>
</li>
<li>
<p dir="auto">Outbound ActivityPub federation handles 15s clips well below the</p>
<p dir="auto">standard 60s/100MB thresholds enforced by Mastodon/Misskey.</p>
</li>
<li>
<p dir="auto">Confirmed built-in 'media:prune-remote' selectively deletes foreign</p>
<p dir="auto">cached assets only, completely safeguarding local user uploads.</p>
</li>
</ul>
</li>
</ul>
<ol start="5">
<li>NETWORK &amp; ENDPOINT HEALTH CHECKS</li>
</ol>
<hr />
<ul>
<li>
<p dir="auto">Bridge HTTP Check (172.17.0.1:8686): HTTP 200 OK</p>
</li>
<li>
<p dir="auto">Public HTTPS Check (<a href="https://gearfeed.org/" rel="nofollow ugc">https://gearfeed.org/</a><img src="https://multitool.ninja/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=b41cf6e2207" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title="):" alt="😞" /> HTTP 200 OK</p>
</li>
<li>
<p dir="auto">Persistence Status: Container pull/rebuild immune.</p>
</li>
</ul>
<p dir="auto">================================================================================</p>
<p dir="auto">END OF LOG - <a href="http://GEARFEED.ORG" rel="nofollow ugc">GEARFEED.ORG</a> HARDENING COMPLETE</p>
<p dir="auto">================================================================================</p>
]]></description><link>https://multitool.ninja/post/2592281</link><guid isPermaLink="true">https://multitool.ninja/post/2592281</guid><dc:creator><![CDATA[Grant Lamontagne]]></dc:creator><pubDate>Tue, 27 Oct 2026 23:57:45 GMT</pubDate></item><item><title><![CDATA[Reply to GearFeed Logs on Tue, 27 Oct 2026 06:17:35 GMT]]></title><description><![CDATA[<h1>================================================================================<br />
SYSTEM LOG: <a href="http://GearFeed.org" rel="nofollow ugc">GearFeed.org</a> (Pixelfed Custom Landing Page &amp; Proxy Hardening)<br />
DATE: October 2026<br />
ENVIRONMENT: Elestio / Hetzner Cloud (Docker, Pixelfed, PHP 8.2+, Nginx)</h1>
<p dir="auto">OBJECTIVE:<br />
Resolve fatal 0-byte proxy errors on root domain and build a robust, zero-JS<br />
custom landing page showcasing live federation media and network assets.</p>
<p dir="auto">ROOT CAUSE INVESTIGATION:</p>
<ol>
<li>Empty HTTP 200 Responses:
<ul>
<li>PHP 8.2+ strict typing triggered a fatal TypeError inside Symfony's<br />
IpUtils::checkIp4() due to uninitialized trusted proxies behind Elestio's<br />
reverse proxy architecture.</li>
</ul>
</li>
<li>View Caching &amp; Stale OPcache:
<ul>
<li>PHP-FPM process pools retained cached view bytecode in memory across file<br />
edits until a full container process restart and storage view purge.</li>
</ul>
</li>
</ol>
<p dir="auto">WORK COMPLETED:</p>
<ol>
<li>
<p dir="auto">Core Middleware &amp; Proxy Hardening:</p>
<ul>
<li>Added TRUSTED_PROXIES="*" to persistent /opt/app/.env.</li>
<li>Patched App\Http\Middleware\TrustProxies ($proxies = "*") to resolve<br />
reverse-proxy client IP resolution cleanly.</li>
<li>Backed up patched TrustProxies.php to host persistent storage.</li>
</ul>
</li>
<li>
<p dir="auto">Custom Landing Page View (Zero-JS Blade):</p>
<ul>
<li>Created persistent bind-mount at /opt/app/custom-views/index.blade.php<br />
mapped to /var/www/resources/views/site/index.blade.php.</li>
<li>Implemented responsive, uncropped full-width hero graphic preserving<br />
upper branding and bottom category icons.</li>
<li>Built server-rendered 6-post live photo gallery querying unique public<br />
statuses with deduplicated media and hover username tags.</li>
<li>Integrated 2x2 graphical banner grid linking <a href="http://Multitool.org" rel="nofollow ugc">Multitool.org</a>, SAKWiki,<br />
SAKSelector, and EDC-TV with lift-on-hover effects.</li>
<li>Refined two-column community section ("A Better Home for Gear" mission<br />
pitch paired with "Community Standards").</li>
</ul>
</li>
</ol>
<p dir="auto">STATUS:</p>
<ul>
<li>Landing page fully active over HTTPS (HTTP 200, 219+ lines parsed).</li>
<li>Completely decoupled from fragile Vue SPA compilation and Node build scripts.</li>
<li>Upgrades and container reboots preserved via persistent bind mounts.</li>
</ul>
<p dir="auto">================================================================================</p>
]]></description><link>https://multitool.ninja/post/2592208</link><guid isPermaLink="true">https://multitool.ninja/post/2592208</guid><dc:creator><![CDATA[Grant Lamontagne]]></dc:creator><pubDate>Tue, 27 Oct 2026 06:17:35 GMT</pubDate></item></channel></rss>