Commit Graph

33 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 11bed01c50 added dev docker file 2025-02-24 11:29:21 -05:00
subnub 56f0fe934f added more user test, improved validation, and added validation to login screen 2025-02-24 02:14:57 -05:00
subnub 1c7315b443 start user tests, improved user error messages 2025-02-24 00:36:43 -05:00
subnub cb28a1ad1c added more folder tests 2025-02-24 00:01:18 -05:00
subnub ff240c9afd more tests and fixed move folder not found status 2025-02-23 22:49:34 -05:00
subnub 65ebeb8c19 continued tests 2025-02-23 22:05:08 -05:00
subnub 4593acc6d6 more tests 2025-02-22 10:43:27 -05:00
subnub b4cd0825d0 started folder tests 2025-02-22 09:53:29 -05:00
subnub bbc55d9bf0 added more file tests 2025-02-22 09:19:14 -05:00
subnub 136e391ccc added more tests 2025-02-16 19:08:28 -05:00
subnub 567ee7aadb continued tests 2025-02-16 04:23:36 -05:00
subnub 2a6d7f3eb5 more tests 2025-02-16 04:06:50 -05:00
subnub b652654041 more test fixes 2025-02-13 11:42:54 -05:00
subnub c3c4c0f11f more testing and toast changes 2025-02-13 10:46:10 -05:00
subnub a9ad3a5d9d more unit testing changes 2025-02-12 17:16:27 -05:00
subnub 15f2541e90 started tests 2025-02-11 23:31:43 -05:00
subnub b917db52da fixed env variables and removed unneeded files 2024-12-22 20:22:27 -05:00
subnub 67b28d69c7 much more changes 2024-06-19 00:34:50 -04:00
kyle hoell ba755ca73d delete big buck bunny from tests 2020-12-26 15:00:06 -05:00
kyle hoell 596c72f970 added db tests 2020-12-06 19:16:46 -05:00
kyle hoell 26c161c1a6 added more folder tests, fixed bug where searching for folders would still return personal folders when disabled 2020-12-06 16:54:28 -05:00
kyle hoell 72f8d3b8bb finished most of the tests for file service 2020-12-06 16:00:05 -05:00
kyle hoell 54946cef9a added file service tests 2020-12-06 13:22:16 -05:00
kyle hoell 54046eced6 added epress folder routes test, also fixed issue with it saying home files when searching 2020-12-06 12:32:22 -05:00
kyle hoell 72f73cde78 added some tests for file express route, also added objectID to thumbnail files 2020-12-04 21:42:53 -05:00
kyle hoell 06afe298d7 fixed more user unit tests 2020-12-04 01:51:48 -05:00
kyle hoell 9feb7409a3 started adding user unit tests 2020-12-04 01:43:04 -05:00
kyle hoell 938d5698a4 init mydrive-3 commit 2020-11-23 21:51:08 -05:00
subnub d379e9aa24 Updated tests, all are working now :) 2020-05-16 21:17:43 -04:00
subnub 37eeb1db5b Started Seperating the backend from the frontend 2020-03-13 13:47:31 -04:00
subnub b0a268e02b init commit 2020-03-04 17:10:56 -05:00