575 Commits

Author SHA1 Message Date
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
db83d0bcdd Implement a cleanup job for deleting orphan data (#242) 2025-10-23 10:25:39 +02:00
Hakan Shehu
80b4235bf2 Update packages (#233) 2025-10-15 09:37:45 +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) 2025-10-07 20:22:27 +02:00
Hakan Shehu
e2460a8b26 Use new logo for assets (#220) 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
3217764a7b Update packages (#212) 2025-09-11 14:19:45 +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) 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
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) 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
7cbbce885d Manually add dedupe for react in vite react plugin for react (#186) 2025-08-11 11:54:49 +02:00
Hakan Shehu
4fb5b7db85 Update packages (#183) 2025-08-08 13:42:31 +02:00
Hakan Shehu
e117770e20 Don't change upload id on resumed uploads (#175) 2025-08-02 14:19:48 +02:00
Hakan Shehu
7a2781fa51 Fix TUS upload url generation (#173) 2025-08-02 10:59:47 +02:00
Hakan Shehu
fefcd29664 Improve existing updates sync (#172) 2025-08-02 08:47:02 +02:00
Hakan Shehu
d747ebb0da Update packages (#171) 2025-08-02 08:40:10 +02:00
Hakan Shehu
80dd1c60c6 Define chunk and file part size constant (#170) 2025-08-01 23:07:21 +02:00
Hakan Shehu
eaf2b4afb2 Add max file size settings for user (#167) 2025-08-01 19:53:16 +02:00
Hakan Shehu
e8f168304f Fix app init in web (#165) 2025-08-01 14:29:44 +02:00
Hakan Shehu
79925e1fc6 Improve file uploads and downloads (#164)
* Track upload progress in clients
* Implement client side jobs
* Separate local files, downloads and uploads
* Use dates instead of timestamps in jobs
* Improve some recurring jobs
* Local file improvements
* Remove job schedules on cancel
* Improve avatar handling
* Fix manual download
* Improve file uploads and downloads
* Improve downloads
* Use tus resumable uploads
* Drop file states table migration
* Remove some unused file system methods and types
* Use Redis KV and Locker for distributed TUS deployments
* Fix file name generation
* Add uploads clean job
* Have a dedicated endpoint for TUS uploads
* Do not revert uploads state because ot TUS resumables
* Use integer instead of text for job and job schedule status
* Rename a query
* Fix error handling for file uploads and downloads jobs
* Check node sync for file uploads
* Rename the temp files clean job
* Minor renames for consistency
* Improve uploads badge
* Small refactor in server job service
* Add env varaibles config for some tus stuff
* Use ms package for millisecond conversions
* Fix some migrations
* Fix logout
* Update hosting values
2025-08-01 14:13:40 +02:00
Hakan Shehu
6212e7c65e Update packages (#155) 2025-07-23 10:10:23 +02:00
Hakan Shehu
d9f67a3154 Disable all ai features temporarily (#146) 2025-07-21 13:21:17 +02:00
Hakan Shehu
b6d6d73782 Add workspace configs (#145) 2025-07-21 13:18:33 +02:00
Hakan Shehu
b1ebfcf2e2 Use pino for server logging (#144) 2025-07-21 11:33:07 +02:00
Hakan Shehu
3f3aa3c79a Add a message that Colanode is not supported in mobile devices (#143) 2025-07-21 10:17:45 +02:00
Hakan Shehu
24a91fc154 Improve browser not supported message (#142) 2025-07-21 10:02:02 +02:00
Hakan Shehu
e1e503e7b2 Workspace storage limits (#140) 2025-07-21 09:22:15 +02:00
Hakan Shehu
4813d715ae Implement workspace and account settings in sidebar (#130) 2025-07-17 13:02:02 +02:00
Hakan Shehu
66ac097923 Reorder space children in sidebar (#115) 2025-07-06 09:30:12 +02:00
Hakan Shehu
6a2635320f Update packages (#112) 2025-07-04 09:12:30 +02:00
Hakan Shehu
e33e6cbddb Add docs how to run Colanode locally (#110) 2025-07-04 07:26:30 +02:00
Hakan Shehu
6c34c188e5 Fixes in document and node updates merge jobs (#109) 2025-07-04 06:50:13 +02:00
Hakan Shehu
e8f56449d5 Implement save file (#108)
* Implement save file
* Delete locally downloaded files that have not been opened in last 7 days
2025-07-03 20:42:21 +02:00
Hakan Shehu
1fd2cb0245 Update packages (#94) 2025-06-25 19:58:24 +02:00
Ylber Gashi
af44d9bc16 Add Helm charts for Kubernetes self-hosting (#87)
* Add Helm chart for Kubernetes deployment and reorganize hosting setup

- Created Helm chart for deploying Colanode on Kubernetes with PostgreSQL, Redis, and MinIO configurations
- Moved Docker Compose files to /hosting folder for better organization
- Added health check endpoints for database, Redis, and S3 services
- Introduced Dockerfile for PostgreSQL with pgvector extension to support Helm deployment
- Added GitHub Actions workflow for building and publishing Helm chart
- Updated README with Kubernetes deployment instructions

* Renames and restructure

* Update Helm chart workflow for Colanode deployment

* Remove health check route and related configurations from the server and Kubernetes deployment files.

---------

Co-authored-by: Hakan Shehu <hakanshehu15@gmail.com>
2025-06-25 19:06:35 +02:00
Hakan Shehu
035ed6b677 Add background jobs to merge document & node updates (#90) 2025-06-25 07:13:28 +02:00
Hakan Shehu
b3590a70ed Implement pre-aggregated counters for users, nodes and upload storage used (#82) 2025-06-23 21:45:52 +02:00
Jonathan Hyry
dad68dae32 Win32 local file path URI preprocessing (#76)
Closes #68

When the desktop app is running on os.platform() === 'win32', the path
 requires preprocessing before it can be used as part of a local file
 URI.

The logical components of this fix are:
- Add / in front of an absolute path (a path with a drive root like C:)
   that is already present in *nix paths because that's how the fs
   already represents an absolute path
- Convert all \ to / to conform to the file:// URI spec

This commit adds the required preprocessing in the file-system and
 protocols modules of the desktop app and fixes the issue of the
 disappearing account button in the SidebarMenuFooter UI component when
 a custom avatar is used for the user account that is logged in.
2025-06-17 16:10:20 +02:00
Hakan Shehu
94debc7da7 Fix web dockerfile to make sure assets are included (#75) 2025-06-16 15:42:06 +02:00
Hakan Shehu
9294600c61 Update packages (#66) 2025-06-15 11:55:43 +02:00
Hakan Shehu
b711af0431 Add force path style config for s3 - fixes #62 (#65) 2025-06-15 11:39:35 +02:00
Hakan Shehu
f454856ea4 Add bufferutil as desktop dependency - Fixes #63 (#64) 2025-06-15 11:17:42 +02:00
Hakan Shehu
e0db60fdef Change default cors origin to localhost:4000 (#59) 2025-06-12 23:59:29 +02:00