Commit Graph

162 Commits

Author SHA1 Message Date
Arunavo Ray bb045b037b fix: update tests to work in CI environment
- Add http-client mocks to gitea-enhanced.test.ts for proper isolation
- Fix GiteaRepoInfo interface to handle owner as object or string
- Add gitea module mocks to gitea-starred-repos.test.ts
- Update test expectations to match actual function behavior
- Fix handleExistingNonMirrorRepo to properly extract owner from repoInfo

These changes ensure tests pass consistently in both local and CI environments
by properly mocking all dependencies and handling API response variations.
2025-07-27 22:03:44 +05:30
Arunavo Ray 1a77a63a9a fix: add config-encryption mocks to test files for CI compatibility
- Add config-encryption module mocks to gitea-enhanced.test.ts
- Add config-encryption module mocks to gitea-starred-repos.test.ts
- Update helpers mock in setup.bun.ts to include createEvent function

The CI environment was loading modules in a different order than local,
causing the config-encryption module to be accessed before it was mocked
in the global setup. Adding the mocks directly to the test files ensures
they are available regardless of module loading order.
2025-07-27 20:34:38 +05:30
Arunavo Ray 3a9b8380d4 fix: resolve CI test failures and timeouts
- Update Bun version in CI to match local version (1.2.16)
- Add bunfig.toml with 5s test timeout to prevent hanging tests
- Mock setTimeout globally in test setup to avoid timing issues
- Add NODE_ENV check to skip delays during tests
- Fix missing exports in config-encryption mock
- Remove retryDelay in tests to ensure immediate execution

These changes ensure tests run consistently between local and CI environments
2025-07-27 20:27:33 +05:30
Arunavo Ray 5d5429ac71 test fix 2025-07-27 20:19:47 +05:30
Arunavo Ray de314cf174 Fixed Tests 2025-07-27 19:09:56 +05:30
Arunavo Ray e637d573a2 Fixes 2025-07-27 00:25:19 +05:30
Arunavo Ray 5f45a9a03d updates 2025-07-26 22:06:29 +05:30
Arunavo Ray 0920314679 More fixes in SSO 2025-07-26 20:33:26 +05:30
Arunavo Ray 1f6add5fff Updates to SSO Testing 2025-07-26 19:45:20 +05:30
Arunavo Ray 3ff15a46e7 Fix TypeError 2025-07-26 17:08:13 +05:30
Arunavo Ray 465c812e7e Starred repos fix errors 2025-07-26 17:04:05 +05:30
Arunavo Ray dcdb06ac39 fixed tests 2025-07-21 15:17:53 +05:30
Arunavo Ray 9fa10dae00 removed unused import 2025-07-21 12:30:04 +05:30
Arunavo Ray 99dd501a52 Added textarea comp 2025-07-21 12:26:31 +05:30
Arunavo Ray d4aa665873 more SSO and OIDC fixes 2025-07-21 12:09:38 +05:30
Arunavo Ray 0244133e7b Fix: Starred Repos Organization Bug | Organization Repos Routing 2025-07-21 10:39:48 +05:30
Sulaiman Khan Ghori 8d7ca8dd8f Add GITHUB_EXCLUDED_ORGS support for organization filtering 2025-07-18 15:58:04 -07:00
Arunavo Ray 9d5db86bdf Updates to Org strategy 2025-07-18 09:52:55 +05:30
Arunavo Ray 3458891511 Updates for starred and personal repos 2025-07-18 09:37:38 +05:30
Arunavo Ray d388f2e691 consistent and distinct colors for status 2025-07-18 08:37:00 +05:30
Arunavo Ray 7bd862606b More fixes 2025-07-18 00:52:03 +05:30
Arunavo Ray 251baeb1aa Fixed Private Repo Issues 2025-07-17 23:46:01 +05:30
Arunavo Ray e6a31512ac some more fixes 2025-07-17 23:31:45 +05:30
Arunavo Ray cad77320f3 Added Header Authentication 2025-07-17 16:19:56 +05:30
Arunavo Ray 744064f3aa Updated SSO UI 2025-07-17 16:08:12 +05:30
Arunavo Ray f83711ecd6 Potential security fixes 2025-07-17 13:41:17 +05:30
Arunavo Ray bde1f7b5d6 Fix tests 2025-07-17 13:05:18 +05:30
Arunavo Ray a5a827c85f updates 2025-07-17 11:44:27 +05:30
Arunavo Ray 948250deef Updated some interfaces to be more future proof 2025-07-16 22:47:33 +05:30
Arunavo Ray beedbaf9a4 Added Encryptions to All stored token and passwords 2025-07-16 16:02:34 +05:30
Arunavo Ray 7cc4aa87f2 Fix for mirroring issues for starred repositories 2025-07-16 14:02:31 +05:30
Arunavo Ray 938a909787 tsc fixes 2025-07-11 01:17:54 +05:30
Arunavo Ray fad78516ef Added SSO and OIDC 2025-07-11 01:04:50 +05:30
Arunavo Ray 7cb414c7cb FIxing issues 2025-07-11 00:01:52 +05:30
Arunavo Ray 6cfe43932f Fixing issues with Better Auth 2025-07-11 00:00:37 +05:30
Arunavo Ray b838310872 Added Better Auth 2025-07-10 23:15:37 +05:30
Arunavo Ray 46cf117bdf Migrate to Drizzle kit 2025-07-10 21:44:35 +05:30
Arunavo Ray 316d263298 Added few logos 2025-07-08 23:27:59 +05:30
Arunavo Ray d0e8e754a7 Type fix 2025-07-07 23:37:52 +05:30
Arunavo Ray c95a501974 Removed some console.logs 2025-07-07 23:12:26 +05:30
Arunavo Ray fd8f782f34 Updated org list cards 2025-07-07 23:07:22 +05:30
Arunavo Ray 472f67a6ae Updates to Repository and Org Pages for Responsive Layouts 2025-07-07 22:02:43 +05:30
Arunavo Ray 6270907e70 Updates for mobile 2025-07-07 20:24:09 +05:30
Arunavo Ray 1deaae4d34 More responsive layout updates to Config Page 2025-07-07 19:27:07 +05:30
Arunavo Ray b984ff9af4 feat: improve mobile layout across components
- Update ActivityLog component for better mobile responsiveness
- Enhance Header layout for mobile devices
- Improve mobile UX in AddOrganizationDialog
- Optimize Organization component mobile display
- Enhance AddRepositoryDialog mobile layout
2025-07-07 18:51:24 +05:30
Arunavo Ray 24bd0aefe6 Added basic responsive layout 2025-07-07 17:34:54 +05:30
Arunavo Ray c3c129d923 fix: enhance mirror strategy handling for mixed mode configuration 2025-07-07 14:03:23 +05:30
Arunavo Ray 983b47fa76 fix: update repository references from arunavo4 to RayLabsHQ 2025-07-07 10:52:33 +05:30
Arunavo Ray 993e7c1bc0 fix: remove unused import from MirrorDestinationEditor component 2025-07-07 08:49:33 +05:30
Arunavo Ray d68b822c76 feat: enhance OrganizationStrategy component with override options for mirror destinations 2025-06-24 13:54:47 +05:30