23 Commits

Author SHA1 Message Date
oxmc 22af2caec7 feat: default to SQLite engine, disable Mongo service by default in compose
Release Please / release-please (push) Has been cancelled
Docker Build and Push (Development) / build-and-push-dev (push) Has been cancelled
Mongo services in both compose files are now commented out (with instructions
to re-enable) since DB_ENGINE now defaults to sqlite - no separate database
container required out of the box. db-data volume is mounted into the app
service (not just mongo) so it can hold the SQLite file too.

Also fixes a require-order bug in tests/utils/express-app.js: routers were
required (eagerly instantiating DB singletons via dbFactory) before the test
env file was loaded, so DB_ENGINE from .env.test was silently never applied -
it only worked before because the old hardcoded default happened to be mongo.
2026-07-05 04:48:54 -07:00
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 fc48827338 feat: Add block account creation (#80) 2025-03-01 03:07:19 -05:00
kyle hoell 2938d83fd4 added cert path option changes 2025-02-28 15:49:31 -05:00
subnub 11bed01c50 added dev docker file 2025-02-24 11:29:21 -05:00
subnub 22394666ca added env support to video thumbnails, fixed thumbnail script, and added example env 2024-12-27 17:07:45 -05:00
subnub b917db52da fixed env variables and removed unneeded files 2024-12-22 20:22:27 -05:00
subnub 2e6b7c05f7 finished resend email verification, reset password, and forgot password logic 2024-12-22 18:41:39 -05:00
subnub 831dc78bf5 updated BE file naming convention 2024-08-10 01:54:22 -04:00
subnub c0a9e17330 added create user back and also updated email senderAPI 2024-07-18 23:53:24 -04:00
subnub 45e4b26829 finished BE service injection :) 2024-07-05 14:07:58 -04:00
subnub 6518094410 init 2024-06-08 19:23:34 -04:00
kyle hoell ee79d60105 updated setup 2020-12-07 18:01:22 -05:00
kyle hoell 415c9c3b77 added disable email verification option 2020-12-03 19:32:57 -05:00
kyle hoell 938d5698a4 init mydrive-3 commit 2020-11-23 21:51:08 -05:00
subnub 698a41732d Made it so production is default, fixes windows issue 2020-05-25 20:43:21 -04:00
subnub 63ed58b990 Improved webpack config file, and also improved the way env variables are loaded 2020-05-08 16:41:58 -04:00
subnub e18ae1eee1 Added more typescript support to the backend 2020-04-18 00:16:31 -04:00
subnub c70abc69bb Added more typescript support, and started adding documentDB support 2020-04-17 23:18:06 -04:00
subnub 4a03523c96 Started adding the Amazon S3 Chunk Service, so far Uploading, Downloading, and Streaming video works 2020-04-17 01:20:54 -04:00
subnub 4821c5a408 Added path option for storing files on file system, started to add s3 support 2020-04-17 00:13:12 -04:00
subnub 7bdede8d4d Added config option to change wether users want to use mongo or fs, removed the dist folder, will ignore it later 2020-04-16 17:31:29 -04:00
subnub 37eeb1db5b Started Seperating the backend from the frontend 2020-03-13 13:47:31 -04:00