Commit Graph

14 Commits

Author SHA1 Message Date
oxmc ecc340e7b1 feat: add dark mode UI and SQLite as alternate database backend
Release Please / release-please (push) Has been cancelled
Docker Build and Push (Development) / build-and-push-dev (push) Has been cancelled
Dark mode: CSS custom properties + .dark class toggled via Redux/localStorage,
with a theme toggle in the Header and Settings page. Foundation didn't exist
yet despite prior assumption, so it was built from scratch.

SQLite: new DB_ENGINE=mongo|sqlite env var selects the metadata backend at
runtime (Mongo stays default, no behavior change unless opted in). File/thumbnail
bytes continue to use the existing fs/S3 storage path. Implemented via a shared
DB interface (dbTypes.ts) with parallel mongoDB/ and sqliteDB/ implementations,
selected through dbFactory.ts, with JWT/encryption logic extracted into
userCrypto.ts so both engines share it.
2026-07-05 04:18:33 -07:00
subnub 4a321e3609 added access token refresher, renamed files 2024-12-30 09:05:37 -05:00
subnub 831dc78bf5 updated BE file naming convention 2024-08-10 01:54:22 -04:00
subnub 9a97489e0e moer project structure changes 2024-08-10 01:41:02 -04:00
subnub c088076140 fixed hotloading, fixed _id types, fixed some links, downloading, and started imrpoving db code 2024-06-09 00:28:42 -04:00
subnub 6518094410 init 2024-06-08 19:23:34 -04:00
kyle hoell 3edb5ac81b changed mongoose version and added types, removed console log from refresh, and added some comments 2020-12-21 12:08:49 -05:00
kyle hoell 6b8b828aad removed some console logs, made it so broswerID check for axios should only load from localstorage once. Removed the IP address library from server. 2020-12-13 18:06:38 -05:00
kyle hoell 39b22ee2ab trying new auth method of using uuid instead of ip address. ip address is causing issues. Updated axios to automatically put the uuid header. Added util to remove user tokens 2020-12-08 08:13:40 -05:00
kyle hoell 09e930cf63 testing auth 2020-12-08 06:47:24 -05:00
kyle hoell 9baa363a98 added console log to auth refresh and removed types from mongoose 2020-12-08 02:24:06 -05:00
kyle hoell 93b33ea0d6 improved auth logging 2020-12-03 04:31:47 -05:00
kyle hoell 2a9de718ce made access token last 20 minutes, is no longer in testing. Made it so refresh tokens get removed 1 hour after they are created for cleanup 2020-11-28 01:50:37 -05:00
kyle hoell 938d5698a4 init mydrive-3 commit 2020-11-23 21:51:08 -05:00