Evig
Admin platform — 30+ sections, 165 tables
Problem
Electronic waste and lack of access to technology for those in need.
Solution
evig provides refurbished technology to those in need, while promoting sustainability and digital inclusion.
Mission
To provide refurbished technology to those in need, while promoting sustainability and digital inclusion.
Vision
A world where technology is accessible to all, and electronic waste is minimized.
Technical context
The stack has not been written down yet.
Investigate this project with Loki →Roadmap
Match build recommendations to actual inventory
- Verify which listing subcategories reach the storefront — not done
- Use available inventory for component matches; keep unavailable products explicit — not done
- Retain evidence for price, stock and condition claims — not done
Finish approval-hub discovery
- Review per-type destinations and permission boundaries — not done
- Add useful filter chips without creating a second approval-count engine — not done
Changelog
August 29, 2026
Fixed visitor-reported bug — mobile-menu "Experimentelle Site" banner rendered unconditionally with an empty href even though ORG.websiteLegacy is '' for evig; gated it on ORG.websiteLegacy in src/components/layout/MobileMenu.tsx, verified live in a browser (dev server, 390px, mobile drawer opened, banner/link confirmed gone via screenshot), pushed branch fix/hide-empty-legacy-site-banner, opened PR #406 (https://github.com/bitbaum/evig/pull/406).
August 25, 2026
Removed the gray bg-surface-raised slab from the blog newsletter promise strip; PR #378 merged as 1bab57a93, deploy in flight.
August 25, 2026
Removed the gray bg-surface-raised slab from the blog newsletter block; PR #378 open, CI running.
July 28, 2026
Fixed visitor feedback on vague /ru/about copy. The flagged element (p.mx-auto.text-text-tertiary, the about-page hero subtitle) previously read "evig — это ответвление швейцарского циклического IT, с одним ясным убеждением: доступ к интеллекту принадлежит всем" ("evig is a spin-off of Swiss circular IT, with one clear belief: access to intelligence belongs to everyone") — an abstract slogan naming neither what evig does nor for whom. Traced messages/ru.json -> about.hero.subtitle through src/app/[locale]/about/content.tsx (t('hero.subtitle') passed into <PageHero subtitle=...>) to src/components/layout/PageHero.tsx:71-80, confirming the p.mx-auto.text-text-tertiary DOM match. Rewrote to "evig — ответвление швейцарского циклического IT: отобранная техника, ИИ и робототехника по доступным ценам для тех, кому это иначе не по карману" (curated tech/AI/robotics at affordable prices, for people otherwise priced out) — concreteness matched to the DE/EN about hero framing and to the established RU homepage hero tone (messages/ru.json home.hero.subtitle). Copy-only, single string in messages/ru.json, no code/logic touched. NOTE: this repo now serves the "evig" product (2026 spin-off of Revamp-IT, GitHub repo itself renamed to maonakamoto/evig) — revampit.orangecat.ch remains a live alias of the same deployed app pending the Layer-B systemd/deploy-path cutover documented in the host-canonicalization commit; this is a pre-existing, intentional rebrand, not something touched or introduced this session.
July 17, 2026
Fixed the @revamp-it.ch staff-registration bypass (commit 1fc8a23 on local main). Root cause was two-part: (1) registerUser() in src/auth.ts wrote is_staff:true to the DB straight from isStaffEmail(email) domain-suffix matching, no human approval; (2) authorize()/jwt() in src/auth.ts, plus middleware/admin.ts, api/time-off/*, api/ai/extract, and api/listings/[id] all OR'd isStaffEmail(session.user.email) into staff-authorization checks on every request, so even an explicitly-revoked is_staff=false account regained admin access on next login purely from its email domain. Fixed by making the DB is_staff column the sole source of truth everywhere (registration now always creates regular customers; staff promotion requires the existing super-admin-gated PATCH /api/admin/users/[id]/permissions route or the HR hire flow) and removing every isStaffEmail() authorization fallback. isStaffEmail() itself is untouched, still used only for cosmetic welcome-email copy selection. Updated one Jest test in listings/[id] that had asserted the vulnerable behavior as correct; added assertions it now returns 403. tsc clean, lint 0 errors (50 pre-existing unrelated warnings), 149/149 tests pass across all directly-touched suites, full suite 7673/7679 pass (6 pre-existing unrelated failures). Verified via memory/scripts/e2e-seed.ts that the e2e admin test accounts are seeded with is_staff/is_super_admin written directly to the DB (not domain-inferred), so this fix does not break e2e login for the seeded staff/admin test users.
June 2, 2026
Committed (5a03dba1) and pushed the Monitor-Upcycling enhancements (open questions, source+github, AI brainstorm prompts for public+AI use); synced full content to all 7 locales so page loads+shows rich details everywhere; page.tsx now renders the 3 new sections via shared primitives (no custom per-proj JSX, follows PROJECT_PAGES_GUIDE + design tokens); resolved uncommitted; tsc/lint 0; prod routes healthy; 1 commit. Push confirmed; vercel cli sees recent previews (no explicit Ready in ls head yet); prod curl still pre-deploy (age 0); local clean + HEAD 5a03dba1.