77 Commits

Author SHA1 Message Date
oxmc f660708962 chore: bump nodemailer v6 -> v9 (resolves high-severity advisories)
Release Please / release-please (push) Has been cancelled
Docker Build and Push (Development) / build-and-push-dev (push) Has been cancelled
createTransport()/sendMail() callback API unchanged between majors - smoke
tested the transport directly (confirmed correct error type, not an API
shape error) since the test suite doesn't exercise the email-sending path
(EMAIL_VERIFICATION off in tests). Full build + 179-test suite still pass.

3 unique vulnerable packages remain (aws-sdk's own advisory + its nested
uuid, vite/esbuild dev-server issue needing a major v5->v8 bump) - left
deliberately, all lower practical risk or need a dedicated upgrade pass.
2026-07-05 06:22:11 -07:00
oxmc eb21092f46 chore: resolve remaining audit vulnerabilities (uuid, @types/request, brace-expansion)
Release Please / release-please (push) Has been cancelled
Docker Build and Push (Development) / build-and-push-dev (push) Has been cancelled
- Removed @types/request (unused devDependency, no "request" import anywhere
  in the codebase) - it was the actual source of the critical form-data
  vulnerability via its own outdated nested dependency.
- Bumped uuid v3 -> v11 (patched version) across all 8 call sites, migrating
  from the old default-import "uuid.v4()"/"uuid()" style to the named-export
  "v4 as uuidv4" style the new major requires. Tried v14 first - it broke the
  Jest test suite entirely (ships ESM-only, Node's CJS require() choked on
  it) - v11 is the oldest patched version that still works under Jest/CJS.
  Removed 2 more unused "import uuid" lines with no actual usage.
- Picked up brace-expansion via a follow-up non-breaking npm audit fix.

Verified full build (frontend+backend) and full test suite (179 tests)
after each step. 45 -> 4 unique vulnerable packages remaining: aws-sdk
(its own advisory, "fix" would downgrade it - not worth it), aws-sdk's
own nested uuid (same reason), esbuild/vite (major version bump to vite 8,
needs its own dedicated upgrade pass), and nodemailer (breaking API change,
only exercised when EMAIL_VERIFICATION is enabled) - all left for a
deliberate separate decision rather than forced through here.
2026-07-05 06:16:19 -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 ceb0866174 fix: removed unneeded package that was also causing build issues 2025-03-01 17:34:35 -05:00
Ayush Sehrawat b82c3665a1 feat(docker): add MongoDB and improve setup instructions (#82)
* feat(docker): add MongoDB and improve setup instructions

* fix: reduce docker image size and other minor improvements

* fix: reduce docker image size and other minor improvements

* docs: update README for correct env file naming

* feat(docker): add environment variables and enhance Docker instructions

* docs: update README structure and enhance installation instructions

* docs: update README to clarify requirements for Docker and non-Docker setups

* docs: update README to improve Docker instructions and formatting

* docs: update code blocks in README to use shell syntax highlighting

* docs: refine installation steps and environment variable instructions

* docs: enhance README formatting for Docker instructions

* docs: correct formatting for environment variable examples in README

* docs: enhance README with badges and improved formatting

* docs: improve Docker instructions and formatting in README

* docs: update README to use figure elements for image captions

* docs: update README to replace figure elements with markdown images

* docs: update README to use shell syntax highlighting for code blocks

* docs: fix typo in README for environment file renaming step
2025-03-01 17:27:32 -05:00
github-actions[bot] 960ab2c0b2 chore(master): release 4.0.2 (#79)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-01 02:59:07 -05:00
subnub 8da52410f2 updated readme, removed uneeded docker commands 2025-03-01 00:07:24 -05:00
subnub 22da02506c bumped version number 2025-02-28 23:44:22 -05:00
subnub be66d0096b started docker changes 2025-02-27 21:31:35 -05:00
subnub a5ec0ff0c2 added prod docker config 2025-02-24 13:31:27 -05:00
subnub 11bed01c50 added dev docker file 2025-02-24 11:29:21 -05:00
subnub 240d959d41 PWA test 2025-02-21 12:58:26 -05:00
subnub 15f2541e90 started tests 2025-02-11 23:31:43 -05:00
subnub 1ab318fd2c cleanup and context menu fixes 2025-01-11 02:56:34 -05:00
subnub 56c57a6cdf optimizations 2025-01-10 14:03:04 -05:00
subnub 459dc6c2e7 made it so media items display error, improved some scripts 2025-01-07 00:52:07 -05:00
subnub e65ac93edb added proplt for key stored in memory, also improved vite script 2024-12-30 02:55:29 -05:00
subnub 94aac88023 fixed infinite scroll on high res screens on fixed ts issues 2024-12-28 14:06:05 -05:00
subnub 84407a340c adding migrate script 2024-12-27 19:19:03 -05:00
subnub 0a16d3c6cc temp skip lib check remove this 2024-12-27 19:02:05 -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 9f92000bf4 more cleanup 2024-12-26 04:35:28 -05:00
subnub e54161464f more video stream changes 2024-12-25 01:10:09 -05:00
subnub 5a1e3044a3 fixed video streaming (for now) 2024-12-23 13:10:09 -05:00
subnub a0e79e2642 fixed build scripts 2024-12-22 20:41:47 -05:00
subnub a22fc6bb6a continued cleanup 2024-12-22 20:26:09 -05:00
subnub b917db52da fixed env variables and removed unneeded files 2024-12-22 20:22:27 -05:00
subnub f160a80f41 Added concurrency with limit for zipping files 2024-11-06 01:53:04 -05:00
subnub 43151731f4 started zip download changes 2024-11-05 21:25:38 -05:00
subnub 5f443a7101 started better error handling and validation 2024-09-28 08:24:35 -04:00
subnub c648b9bfc6 started mover modal 2024-08-04 02:46:09 -04:00
subnub 38f74c9bed started adding toasts 2024-07-19 03:32:21 -04:00
subnub c0a9e17330 added create user back and also updated email senderAPI 2024-07-18 23:53:24 -04:00
subnub b45d06151f continued making files ts and updaitng store to new style 2024-07-07 19:51:00 -04:00
subnub e36aeaa6aa added media mode and linter 2024-07-01 02:51:23 -04:00
subnub e3970ad394 started video thumbnails 2024-06-29 13:39:11 -04:00
subnub 99201318b5 lots more changes 2024-06-27 02:10:03 -04:00
subnub b4b191b3a5 css fixes 2024-06-24 12:58:54 -04:00
subnub b1b4469782 made CSS fixes, added classnames library 2024-06-20 12:51:48 -04:00
subnub 49e6bab79c changed react files to jsx instead and added typescript support to the FE 2024-06-19 16:00:39 -04:00
subnub 40473eb0f2 Added tailwind, react query, removed lots of depends 2024-06-19 15:29:27 -04:00
subnub 67b28d69c7 much more changes 2024-06-19 00:34:50 -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 3462701394 updating depends 2024-06-08 21:13:22 -04:00
subnub 6518094410 init 2024-06-08 19:23:34 -04:00
Kyle Hoell f974b23fc7 typescript hotfix 2021-05-04 21:31:37 -04:00
kyle hoell b1d472a88f changed node version and version number 2020-12-26 13:48:54 -05:00
kyle hoell 2aed0443ea removed unneeded npm modules 2020-12-21 14:56:24 -05: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 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