Commit Graph

972 Commits

Author SHA1 Message Date
Hakan Shehu
7149ef5466 Update packages (#267) 2025-11-19 13:55:39 -08:00
Ylber Gashi
90b7e2f8b0 Introduce config.json-driven server config (#246)
* feat: implement JSON-based configuration system with env var overrides
- Add config.json support (replaces .env file dependency)
- Implement deepMerge and normalizeValue functions in loader.ts
- Support env:// syntax in JSON for runtime environment variable injection
- Add optional env var support with ? suffix (e.g., env://VAR_NAME?)
- Extract schema.ts to separate concerns (validation vs loading)
- Rename read*ConfigVariables to read*ConfigFromEnv for clarity
- Improve boolean env var parsing (handle false explicitly, not just truthy)
- Document configuration precedence: env > config.json > defaults
- Add config.json and config.local.json to .gitignore
- Update .env.example with migration guide for new system
- Maintain backward compatibility: env vars still work without JSON files
* - add docker compose and kuberenetes support for the new configuration flow.
- document config.json workflow for self-hosting
* update config json implementation
2025-11-19 13:00:18 -08:00
Hakan Shehu
03587b4e53 Merge with upstream 2025-11-19 12:51:38 -08:00
Hakan Shehu
22b8ce6970 Open in modal and other file improvements (#263) 2025-11-18 22:58:19 -08:00
Hakan Shehu
262e2d9d51 Fix query subscription in web (#262) 2025-11-18 11:18:25 -08:00
Hakan Shehu
f46f65c7a3 Open records in a modal (#261) 2025-11-18 11:07:58 -08:00
Hakan Shehu
a3df5e5f26 Fix calendar view filtering (#260) 2025-11-17 22:14:19 -08:00
Hakan Shehu
18cc7b44be Improve storage tracking and UI (#259) 2025-11-17 16:56:28 -08:00
Hakan Shehu
114a72e313 Increase sync batch size (#257) 2025-11-16 17:34:04 -08:00
Hakan Shehu
eee31d61bd Improve server loading and syncing (#253) 2025-11-14 07:50:19 -08:00
Hakan Shehu
cff19b1c5b Add animation for login screen and improve app loading screen (#252) 2025-11-13 23:22:36 -08:00
Hakan Shehu
b4cd046b53 Improve authentication flow (#251) 2025-11-13 22:38:19 -08:00
Alex G
c9a145a622 chore: fix npm security vulnerabilities (#250)
Update vulnerable dependencies to address security issues:
- tar: 7.5.1 -> 7.5.2 (moderate severity)
- vite: 7.1.10 -> 7.2.2 (moderate severity)

Also removes unused peer dependencies detected by npm audit fix.

Tested: Server starts successfully and API responds correctly.
2025-11-13 08:55:56 -08:00
Hakan Shehu
239b4d0632 Improve breadcrumbs, headers and tabs (#249) 2025-11-11 09:49:16 -08:00
Hakan Shehu
3e4c8b8125 Implement new routing with tanstack router and mobile app kickoff (#248)
* Init mobile app
* Minor fixes and improvements
* Improve assets loading
* Fix event bus proxy
* Improve emojis and icons loading
* Improve app initialization in web
* Init tanstack router
* Refactor components
* Refactor some more components
* Refactor layouts
* Improve routing
* Improve routing
* Routing improvements
* Make sidebar work in mobile
* Refactor container and breadcrumb
* Fix some packages and warnings
* Encode and decode yjs update for ipc communication
* Refactor servers in client
* Fix some errors and warnings in editor and sidebar
* Add route masking for web
* Improve container layout
* Improve ui for mobile
* Improve mobile ui
* Create custom link component
* Router improvements
* Implement tabs for desktop
* tabs improvements
* Refactor routes
* Layout improvements
* Improve desktop tabs
* Use tanstack-db for global collections
* Improve tanstack db collections
* Refactor workspaces and accounts databases and routes locally
* Use tanstackdb for users
* Use tanstackdb for uploads and downloads
* Use tanstackdb for temp files
* Rename database to collections
* Improve tabs
* Fix packages
* Improve local file handling
* Rename sync cursor keys
* Save some bootstrap data in a file
* Reset all data on new version update in desktop
* Minor refactor
* Implement app reset on startup
* UI fixes and improvements
* More Ui improvements
* Fix logout
* Add tab in route contexts for workspace routes
* Store last used workspace id as metadata
* Fix account logout
* Fix file preview
* Fix file thumbnail loading in tabs
* Fix chat tab loading
* Fix some redirect handling
* Disable staletime for icon.svg.get query
* Fix not found pages and throws
* add readme for mobile
* fix some keys
* Improve add tab handler
* Fix path
2025-11-11 07:00:14 -08:00
Jonathan Hyry
316a388d4a Fix node22 lightningcss workaround (#231)
* Latest npm in @colanode/web Docker, add optional plat/arch dependencies

There are a number of issues with lightningcss and node 22/npm.
This is related to platform-/architecture-specific packages.
This uses a number of pieces from multiple solutions found in the notes
 for #160.

This addresses the issues by the following measures:
- Make sure npm is up-to-date in the @colanode/web Docker build
- Add optional dependencies for all the platform-specific lightningcss
  packages that are most likely to be used in the project (HSF and
  mainline) in the npm project modules that require them:
  - @colanode/desktop
  - @colanode/web
  - @colanode/ui

Closes #159.

* Fix darwin-arm64 version.

* Remove unnecessary optional dependencies; remove duplicate version property

* Fix merge issue where the version field got deleted.

* Move the version field back to where it was before.
2025-11-04 05:47:30 -08:00
Hakan Shehu
9fb4467d56 Add Colanode Cloud plan upgrade card (#244) v0.3.11 2025-10-23 15:44:50 +02:00
Hakan Shehu
94815bca5c Fix date picker date conversion (#243) 2025-10-23 11:28:24 +02:00
Hakan Shehu
db83d0bcdd Implement a cleanup job for deleting orphan data (#242) 2025-10-23 10:25:39 +02:00
Hakan Shehu
80b4235bf2 Update packages (#233) v0.3.10 2025-10-15 09:37:45 +02:00
Hakan Shehu
73af9582e1 Fix toolbar menu rendering (#232) 2025-10-15 09:18:22 +02:00
Ylber Gashi
2f8438549e Add configurable storage backends (File, S3, GCS, Azure) (#225) 2025-10-11 01:59:30 +02:00
Hakan Shehu
c64c5a6406 Update packages (#224) v0.3.9 2025-10-07 20:22:27 +02:00
Hakan Shehu
0b11deb7a7 Improve sleep scheduler implementation for jobs (#223) 2025-10-07 19:42:45 +02:00
Hakan Shehu
e2460a8b26 Use new logo for assets (#220) v0.3.8 2025-09-30 00:57:53 +02:00
Hakan Shehu
d6d84be194 Fix MacOS title dots placeholder (#219) 2025-09-30 00:12:03 +02:00
Hakan Shehu
733a4d1f59 Consider servers as available by default on init (#214) v0.3.7 2025-09-11 16:50:05 +02:00
Hakan Shehu
f8cf2c8c56 Improve file preview handling for non finished uploads (#213) 2025-09-11 16:44:35 +02:00
Hakan Shehu
3217764a7b Update packages (#212) 2025-09-11 14:19:45 +02:00
Hakan Shehu
095651ea60 Add a message in file preview if it hasn't been uploaded yet (#211) 2025-09-11 11:39:38 +02:00
Hakan Shehu
49ee759e93 Fix message files handling (#210) 2025-09-11 11:22:40 +02:00
Hakan Shehu
692a0dbe87 Fix onClick and floating mounting for mention menu (#206) v0.3.6 2025-09-04 08:27:42 +02:00
Hakan Shehu
ac2464f8f7 Fix onClick and floating mounting for slash command menu in editor (#205) 2025-09-04 08:24:20 +02:00
Jonathan Hyry
e0f89e71d7 Fix issues with ArrayBuffer compatibility (#204)
Between 0.2.9 and 0.3.0, there were changes in dependencies that caused
 the types to become incompatible between Uint8Array and
 FileSystemWriteChunkType where the base compatible type is ArrayBuffer
 but Uint8Array is based on ArrayBufferLike, which can be an
 ArrayBuffer but also can be a number of other incompatible types, and
 is thus incompatible with FileSystemWriteChunkType.
I introduced a compatibility layer (Adapter Pattern-like) to copy the
 buffer into an ArrayBuffer if it is not an ArrayBuffer, otherwise just
 use the buffer if it already is.
2025-09-04 00:00:51 +02:00
Hakan Shehu
fd8cfb63d5 Remove electron-fuses dependency (#202) v0.3.5 2025-09-01 23:50:07 +02:00
Hakan Shehu
f49d9a4abe Delete node block from document when node is deleted (#199) 2025-08-29 23:55:29 +02:00
Hakan Shehu
a813877c2d Decrease mutation sync retry delay (#198) v0.3.4 2025-08-29 16:52:40 +02:00
Hakan Shehu
0d62b5c8bb Fix login page in dark mode (#197) 2025-08-29 16:36:25 +02:00
Hakan Shehu
4a2ac3f1ed Update packages (#196) 2025-08-29 16:25:52 +02:00
Hakan Shehu
185ec4abbd Update emojis and icons (#195) 2025-08-29 15:57:59 +02:00
Hakan Shehu
fc3669bedb Dark theme & color customizations (#194) 2025-08-29 13:55:35 +02:00
Hakan Shehu
a3de8a84ac Update packages (#191) v0.3.3 2025-08-12 10:31:28 +02:00
Hakan Shehu
363ed3c51e Use tsx for running scripts (#190) 2025-08-11 20:47:02 +02:00
Hakan Shehu
3bb1d81f4b Decrease update electron app interval check (#189) 2025-08-11 20:34:56 +02:00
Hakan Shehu
0a20bc4301 Add back to login button after successful password reset (#188) 2025-08-11 20:32:20 +02:00
Hakan Shehu
7cbbce885d Manually add dedupe for react in vite react plugin for react (#186) v0.3.2 2025-08-11 11:54:49 +02:00
Hakan Shehu
91073c41b7 Add password placeholder for confirm input in register (#185) v0.3.1 2025-08-08 14:36:59 +02:00
Hakan Shehu
84f7cb70f0 Downgrade typescript version tempirary (#184) 2025-08-08 14:32:40 +02:00
Hakan Shehu
4fb5b7db85 Update packages (#183) 2025-08-08 13:42:31 +02:00
Hakan Shehu
3de2bdf2f7 Fix editor drag handle positioning (#182) 2025-08-08 13:02:22 +02:00