Commit Graph

221 Commits

Author SHA1 Message Date
Arunavo Ray
6e48d3f86c refactor: remove bun setup for pre-built images and streamline database initialization scripts 2025-05-22 19:29:15 +05:30
Arunavo Ray
c5de7e616d chore: bump version to 2.5.0 v2.5.0 2025-05-22 18:53:43 +05:30
Arunavo Ray
309f8c4341 feat: add version information component and integrate version check in health API 2025-05-22 18:51:11 +05:30
ARUNAVO RAY
0c596ac241 Merge pull request #15 from arunavo4/parallel-jobs
Implement parallel processing
2025-05-22 18:18:14 +05:30
Arunavo Ray
894be88a28 feat: migrate testing framework to Bun and update test configurations
- Updated GitHub Actions workflow to use Bun's test runner and coverage reporting.
- Added comprehensive testing documentation for the Gitea Mirror project.
- Refactored test scripts in package.json to align with Bun's testing commands.
- Created new test files for database, Gitea, GitHub, health, and mirroring APIs.
- Implemented mock functions for API tests to handle various scenarios and responses.
- Established a test setup file for consistent test environment configuration.
2025-05-22 18:08:51 +05:30
Arunavo Ray
6ab7f0a5a0 fix: add missing --bun flag to vitest and astro build commands 2025-05-22 16:44:14 +05:30
Arunavo Ray
abe3113755 feat: enhance job resilience with new database schema and recovery mechanisms
- Added new fields to the mirror_jobs table for job resilience, including job_type, batch_id, total_items, completed_items, item_ids, completed_item_ids, in_progress, started_at, completed_at, and last_checkpoint.
- Implemented database migration scripts to update the mirror_jobs table schema.
- Introduced processWithResilience utility for handling item processing with checkpointing and recovery capabilities.
- Updated API routes for mirroring organizations and repositories to utilize the new resilience features.
- Created recovery system to detect and resume interrupted jobs on application startup.
- Added middleware to initialize the recovery system when the server starts.
2025-05-22 14:33:03 +05:30
Arunavo Ray
f4bc28e6c2 Implement parallel processing with retry logic for repository mirroring and syncing operations 2025-05-22 13:28:28 +05:30
Arunavo Ray
aaf8dc6fe4 Bump version to 2.1.0 v2.1.0 2025-05-22 11:05:07 +05:30
ARUNAVO RAY
cda78bc0f5 Merge pull request #13 from arunavo4/fix-bun-permissions-in-lxc
Fix Bun permissions issue in LXC container installer
2025-05-22 09:15:49 +05:30
Arunavo Ray
9ccd656734 Update documentation: revise architecture, configuration, and quick start guides to reflect new features and deployment options 2025-05-22 09:12:32 +05:30
Arunavo Ray
8b5c5d8ed2 Update README to include event management scripts and LXC deployment details 2025-05-22 09:06:47 +05:30
Arunavo Ray
1ab642c9e7 Update LXC deployment scripts: replace installer script with Proxmox-specific script and update README references 2025-05-22 09:04:05 +05:30
Arunavo Ray
1eae725535 Update LXC deployment guide references and remove outdated documentation 2025-05-22 08:56:53 +05:30
Arunavo Ray
5bf52c806f Update README and add LXC deployment guide; enhance LXC installer scripts 2025-05-22 08:53:19 +05:30
Arunavo Ray
a15178d2cd Implement health check API and update health check commands in Docker and Docker Compose 2025-05-22 08:39:07 +05:30
Arunavo Ray
32ef9124a7 Remove sqlite3 dependency from package.json 2025-05-22 08:12:26 +05:30
Arunavo Ray
161685b966 Add directory permission check before creating symlink in systemd service setup 2025-05-21 22:30:15 +05:30
Arunavo Ray
0cf95b2a0e Improve error handling and permission checks in LXC installer 2025-05-21 22:26:50 +05:30
Arunavo Ray
c896194aeb Fix Bun permissions issue in LXC container installer 2025-05-21 22:19:43 +05:30
Arunavo Ray
315d892cf4 Bump version to 2.0.0 v2.0.0 2025-05-21 22:09:10 +05:30
Arunavo Ray
b7eaa94ca2 Update README for improved structure and clarity 2025-05-21 14:32:34 +05:30
Arunavo Ray
52dbe6a2d9 Refactor code structure for improved readability and maintainability 2025-05-21 14:23:42 +05:30
ARUNAVO RAY
e423d78cf9 Merge pull request #11 from arunavo4/feature/lxc-container-support
Add LXC container support with single-command installer
2025-05-21 14:08:59 +05:30
Arunavo Ray
f6b51414a0 Remove unnecessary daemon-reload from README based on PR feedback 2025-05-21 14:06:41 +05:30
Arunavo Ray
8a35c0368f Address Copilot suggestions for LXC installer improvements 2025-05-21 13:58:07 +05:30
Arunavo Ray
6f64838b55 Add LXC container support with single-command installer 2025-05-21 13:49:41 +05:30
Arunavo Ray
f37867ea0c feat: remove project status section from README.md 2025-05-21 11:34:01 +05:30
Arunavo Ray
4aa7e665ac feat: remove Redis dependencies and cleanup scripts after migrating to SQLite 2025-05-21 11:31:22 +05:30
ARUNAVO RAY
4b570f555a Merge pull request #9 from arunavo4/bun
Migrate to Bun
2025-05-21 11:23:08 +05:30
Arunavo Ray
97676f3b04 feat: add skeleton loaders for improved loading state in Dashboard and Header components 2025-05-21 11:19:37 +05:30
Arunavo Ray
04e8b817d3 feat: add event cleanup scripts and Docker Compose setup for automated maintenance 2025-05-21 02:25:05 +05:30
Arunavo Ray
6d13ff29ca feat: migrate from Redis to SQLite for event handling and notifications 2025-05-20 19:09:48 +05:30
Arunavo Ray
c179953649 feat: enhance SSE connection with reconnect logic and error handling
- Updated `useSSE` hook to include max reconnect attempts and exponential backoff for reconnections.
- Improved error handling for SSE messages and connection errors.
- Added connection status reset on successful connection.

fix: improve SQLite database connection handling

- Simplified database initialization and connection logic.
- Ensured the database file is created if it doesn't exist.

fix: enhance Redis client connection with retry strategy

- Implemented exponential backoff for Redis connection retries.
- Added event handlers for connection success and error handling.

feat: improve SSE API endpoint with robust Redis connection management

- Added connection retry logic for Redis in the SSE API.
- Implemented heartbeat messages to keep the connection alive.
- Enhanced error handling for Redis subscription and connection attempts.
2025-05-20 18:33:56 +05:30
Arunavo Ray
eb2d76a4b7 refactor: migrate database handling to Bun's SQLite and ensure data directory exists 2025-05-20 16:39:47 +05:30
Arunavo Ray
145bee8d96 chore: update dependencies to latest versions for improved stability and performance 2025-05-20 16:14:06 +05:30
Arunavo Ray
cad72da016 Update Docker and workflow configurations for bun.lock handling 2025-05-20 16:03:40 +05:30
Arunavo Ray
4a01a351f0 Refactor code structure for improved readability and maintainability 2025-05-20 15:57:46 +05:30
ARUNAVO RAY
98973adfe5 Merge pull request #8 from arunavo4/ray/test-code-and-migrate-ci-to-bun
Switch Dockerfile to Bun
2025-05-20 15:45:13 +05:30
ARUNAVO RAY
f6b5df472a chore: switch docker build to bun 2025-05-20 15:43:41 +05:30
ARUNAVO RAY
b09cabd154 Merge pull request #6 from arunavo4/l9s9sl-ray/migrate-project-to-bun-with-redis-and-sqlite
Switch package management to Bun
2025-05-20 15:19:45 +05:30
ARUNAVO RAY
f9c77bbee0 Merge branch 'bun' into l9s9sl-ray/migrate-project-to-bun-with-redis-and-sqlite 2025-05-20 15:18:55 +05:30
ARUNAVO RAY
e95f1d99b5 Merge pull request #5 from arunavo4/ray/migrate-project-to-bun-with-redis-and-sqlite
Migrate project to Bun runtime
2025-05-20 15:17:41 +05:30
ARUNAVO RAY
d5b0102080 chore: switch to bun package manager 2025-05-20 15:16:51 +05:30
ARUNAVO RAY
94aff30dda feat: migrate to bun 2025-05-20 14:58:00 +05:30
Arunavo Ray
38206e7d3d Update README.md to include additional badges and enhance quick start instructions 2025-05-19 19:21:53 +05:30
Arunavo Ray
645006afe3 Update Docker build workflow to tag images with version number from git tags v1.0.0 2025-05-19 15:32:11 +05:30
Arunavo Ray
7b231d8d8a Add GitHub configuration check and conditional rendering in Repository component 2025-05-19 15:27:30 +05:30
Arunavo Ray
4e4c494621 Refactor Docker code generation for improved readability and formatting in ConfigTabs component 2025-05-19 15:27:30 +05:30
Arunavo Ray
f9a7c85dc0 Update README.md for improved formatting and clarity, including enhanced feature descriptions and better alignment of images and notes 2025-05-19 11:17:39 +05:30