Commit Graph

554 Commits

Author SHA1 Message Date
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
Hakan Shehu
756af021d1 Implement login with google (#57) 2025-06-12 22:08:54 +02:00
Hakan Shehu
574f617f90 Fix desktop build issues (#53) 2025-06-12 12:11:57 +02:00
Hakan Shehu
30bdd2dce2 Minor fixes for server config url generation and file preview (#50) 2025-06-11 21:47:06 +02:00
Hakan Shehu
29d7fcdb0d Prepare for release 0.2.0 (#49) 2025-06-11 20:07:12 +02:00
Hakan Shehu
9e6d53d147 Allow users to delete custom servers (#48) 2025-06-11 16:13:48 +02:00
Hakan Shehu
08ffd69229 Update mutation naming convention (#47) 2025-06-11 12:55:15 +02:00
Hakan Shehu
eb3a8a9216 Docker and workflow improvements (#46) 2025-06-11 12:31:52 +02:00
Hakan Shehu
30e15e4bd3 Web version (#43)
* Create client package
* Create the UI package
* Init web app
* Use isomorphic 'ws' for web sockets
* File and asset implementations
* Use Opfs SAH version of sqlite in browser
* Generate Svg sprites for emojis and icons
* Include emojis sprite
* Improve and refactor assets
* More assets improvements
* Implement emoji and icons db import as readonly
* Improve import paths
* Handle concurrency limits for sqlite
* Fix event broadcast in web
* Pass windowId for subscribe and unsubscribe queries in desktop
* Remove asset context
* Implement avatar upload/download with the new structure
* Improve file handlings
* Move the necessary dependencies to client and ui packages
* Update packages
* Improve open file dialog
* Make sure database files are deleted in browser
* Improve avatar loading
* Improve file loading
* Fix some assets
* Implement asset caching for offline access
* Small fixes and improvements
* Use server instead of pre signed urls for file upload/download
* Cleanup some client related metadata
* Switch Axios with ky
* Refactor mutation results
* Minor concurrency fix
* Refactor web sockets
* Improve file uploading
* Handle connection close on server
* Use stream for downloading the file
* Add config options for cors
* Update document in all tabs on local change
* Include necessary icons for web
* Update docker compose
* Implement server upgrade required component
* Use correct client type and platform in web and desktop
* Improve service worker
* Improve versioning
* Fix an import
* Minor fixes
* Update some user endpoints
* Minor endpoint changes
* Enable app badge for desktop
* Add error handling in some database operations
* Update mutation naming convention
* Update query naming convention
* Update event and some metadata naming conventions
* Update event and job naming conventions in server
* Update Github workflow files
* Restructure assets directory
* Update packages
* Upgrade to Zod v4
* Upgrade to react 19
* Upgrade to tailwind v4
* Minor ui improvements
* Fix some cursor pointers
* Add browser not supported message in web
* Enhance server create flow, allow insecure connections and custom api paths
* Execute electron-rebuild as postinstall command
* Update docker compose
2025-06-11 00:14:17 +02:00
Ylber Gashi
87e30a512c Improve config parsing (#37) 2025-05-07 20:41:17 +02:00
Ylber Gashi
47e5bed3a4 Fix JSON parsing in build info retrieval in server configuration (#36) 2025-05-07 19:59:45 +02:00
Ylber Gashi
147c4230d9 Enhance GitHub Actions workflow for server app deployment (#35)
- Added a step to set up QEMU for multi-platform builds
- Specified target platforms for Docker build: linux/amd64 and linux/arm64.
- Corrected the COPY command in Dockerfile to use relative paths correctly.
2025-05-07 18:44:44 +02:00
Hakan Shehu
f22e6d43bf Use zod for config parsing and some folder restructure (#29) 2025-05-04 11:31:41 +02:00
Ylber Gashi
14bcb55ea0 Updated docker-compose configuration: (#28)
- changed PostgreSQL and Redis passwords
- replaced Redis service with Valkey
- added Mailpit for local SMTP testing, and update MinIO image version

Updated email service to remove SMTP user and password checks.
2025-05-04 10:45:55 +02:00
Hakan Shehu
7067347110 Add desktop publish step for MacOS Intel (#26) 2025-05-02 15:48:55 +02:00
Hakan Shehu
4998a9d4b2 Refactor and improve node cleanups on delete (#24) 2025-05-02 10:32:38 +02:00
Hakan Shehu
b6c21ac3db Update packages (#23) 2025-05-01 23:19:31 +02:00
Hakan Shehu
cdea720526 Fix a kysely warning on user list query (#22) 2025-05-01 19:54:50 +02:00
Hakan Shehu
00b91c3e3c Implement workspace delete (#21) 2025-05-01 19:48:47 +02:00
Hakan Shehu
b86ae4e5e4 Implement auth ip rate-limits as fastify plugin (#20) 2025-05-01 11:30:12 +02:00
Hakan Shehu
90c7a22685 Send client metadata as headers on each request (#19) 2025-05-01 10:57:24 +02:00
Hakan Shehu
7e5c31d7f8 Include immutable version and commit sha as part of server docker build (#18) 2025-05-01 10:41:10 +02:00