Commit Graph

126 Commits (unified-ui)

Author SHA1 Message Date
Dhruv Dhruv 1af6be80e9 feat: [CDE-174]: Adding logic to restart gitspaces. (#2239)
* feat: [CDE-174]: Linting
* feat: [CDE-174]: Updating the entrypoint to trap SIGTERM.
* feat: [CDE-174]: Adding logic to restart gitspaces.
2024-07-17 09:28:29 +00:00
Dhruv Dhruv e712903728 feat: [CDE-94]: Adding events for gitspace transitions. (#2195)
* feat: [CDE-94]: Fixing gitspace url.
* feat: [CDE-94]: Linting
* feat: [CDE-94]: Adding events for gitspace transitions.
2024-07-10 13:06:38 +00:00
Ansuman Satapathy 61f1bc55fe feat: [CDE-137]: made gitspace actions async and refactored orchestrator to handle errors correctly (#2194)
* feat: [CDE-137]: made gitspace actions async and refactored orchestrator to handle errors correctly
2024-07-10 10:44:36 +00:00
Dhruv Dhruv 87157de7fa feat: [CDE-127]: Adding changes to include logging in container orchestration's start flow. (#2192)
* feat: [CDE-96]: Renaming reusable scanner as scanner doesn't support resetting the reader. Removing closec as return param in livelog.Tail method. CLosing the handler channel when the stream is closed, this ensures the consumer to know the channel is closed. Adding a check in the render.StreamSSE to close the stream when the events channel is closed and drained.
* feat: [CDE-127]: Changes to enable log stream API for gitspaces. Adding close channel to the logstream Tail method. Changes to use a default host and working dir from config for a running gitspace instance's URL. Change to append gitspaces to the bind mount of the gitspace container in the container orchestrator instead of in the config provider.
* Initial commit
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Adding flush stream logic to delete gitspace in orchestrator. Linting.
* feat: [CDE-127]: Addressing review comments.
* feat: [CDE-127]: Adding changes to make logutil.StatefulLogger a wrapper on livelog.LogStream and adding initialisation and flush functions.
* feat: [CDE-127]: Adding changes to make logutil.StatefulLogger a wrapper on livelog.LogStream and adding initialisation and flush functions.
* feat: [CDE-127]: Adding changes to include logging in container orchestration's start flow.
2024-07-10 10:25:41 +00:00
Ansuman Satapathy 6e525fca4a feat: [CDE-127]: read multi-table and multi query data in a single SQL txn (#2193)
* feat: [CDE-127]: starting and stopping states.
* feat: [CDE-127]: read multi-table and multi query data in a single SQL txn
2024-07-10 07:10:54 +00:00
Ansuman Satapathy bf0890bd07 feat: [CDE-127]: updated gitspace delete logic, fixed listing (#2183)
* fixed events list API query
* feat: [CDE-127]: fixed events list API
* fixed events list API query
* feat: [CDE-127]: updated gitspace delete logic, fixed listing
2024-07-09 14:03:54 +00:00
Ansuman Satapathy f78439593c gitspaces API Implementation (#2136)
* feat: [CDE-83]: fixed linting issues.
* feat: [CDE-83]: fixed linting issues.
* feat: [CDE-83]: fixed linting issues.
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed DB comments.
* feat: [CDE-83]: fixed DB comments.
* feat: [CDE-83]: Implemented the action API
* gitspaces API Implementation
2024-07-09 05:23:02 +00:00
Dhruv Dhruv f3d3f7392a feat: [CDE-93]: List API to fetch gitspace events. (#2176)
* feat: [CDE-93]: Adding openapi spec.
* feat: [CDE-93]: List API to fetch gitspace events.
2024-07-08 08:29:56 +00:00
Marko Gaćeša 5427130a42 pull request import (#2121)
* bypass lint
* bump golang version
* using types from migrator
* moving Importing to the RepositoryOutput
* minor changes; improved unit tests
* pr comments
* pr import
* pull request import
2024-07-06 00:46:36 +00:00
Dhruv Dhruv 3ccd39df01 feat: [CDE-126]: Addressing review comments. (#2171)
* feat: [CDE-126]: Addressing review comments.
* feat: [CDE-126]: Addressing review comments.
* feat: [CDE-126]: Addressing review comments.
* feat: [CDE-126]: Addressing review comments.
2024-07-05 11:20:09 +00:00
Dhruv Dhruv 3acded8ed8 feat: [CDE-92]: Container orchestrator and IDE service
* feat: [CDE-92]: Removing Client method from infraprovider interface and using DockerClientFactory to generate docker clients. Using go templates to substitute values in gitspace scripts. Setting a default base path for gitspaces if not provided.
* Rebasing
* feat: [CDE-92]: Addressing review comments.
* Rebasing
* Rebasing
* feat: [CDE-92]: Addressing review comments
* Rebasing
* feat: [CDE-92]: Using port from config for code-server installation
* feat: [CDE-92]: Initial commit
* Rebasing
2024-07-05 05:28:31 +00:00
Ansuman Satapathy 4833ed67a5 feat: [CDE-83]: Added base types for gitspaces (#2170)
* feat: [CDE-83]: Added base types for gitspaces
2024-07-04 09:25:45 +00:00
Enver Biševac 2f8900e463 [code-1946] initial work on ssh server (#2075) 2024-06-03 12:47:31 +00:00
Marko Gaćeša 0d72a20450 ssh public keys: db and api (#2058) 2024-05-27 14:26:21 +00:00
Atefeh Mohseni Ejiyeh c365ef246a Support Public Access (#2021) 2024-05-23 04:56:26 +00:00
Johannes Batzill 39a998eacd Adding Repo Level Settings (#1145) 2024-03-28 03:36:15 +00:00
Atefeh Mohseni-Ejiyeh 5d0d28e4a3 Support Space Soft Delete, Restore, and Purge (#1076) 2024-03-21 23:34:19 +00:00
Johannes Batzill a79a5ca489 [AUTHZ] Fix scope of permission checks for checks without resource (#1119) 2024-03-15 16:10:30 +00:00
Darko Draskovic c949308596 List all Repos at Account level or Space Level recursively (#999) 2024-02-21 16:59:44 +00:00
Atefeh Mohseni-Ejiyeh fc9e77c91c Support soft delete, restore and purge repos plus a cleanup job for old deleted repos (#1005) 2024-02-14 01:39:39 +00:00
Johannes Batzill adf2046a94 [MISC] Move `UID` to `Identifier` to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
Abhinav Singh 837ba6f29d feat: add start and end time to check (#958) 2024-01-18 00:17:45 +00:00
Vistaar Juneja 76e3c06b6b Templates support for v1 pipelines (#955) 2024-01-12 11:02:31 +00:00
Johannes Batzill 53555544a2 [Webhook] Add UID field (#936) 2023-12-29 16:39:45 +00:00
Abhinav Singh 8a47c11be5 feat: add pr merge webhook and trigger (#928) 2023-12-20 09:40:16 +00:00
Johannes Batzill 99c27f8fac [Pullreq] Send SSE on Merge DryRun (#850) 2023-12-01 00:54:39 +00:00
Enver Bisevac 67f560874d [maint] gitrpc package removed (#726) 2023-11-15 10:15:32 +00:00
Marko Gacesa 98dc67fc71 return allowed merge methods for merge dry run (#781) 2023-11-08 18:55:25 +00:00
Marko Gacesa b6ee8b6ba9 fix sse space events API blocking app shutdown (#774) 2023-11-08 07:24:14 +00:00
Abhinav Singh 93c5cfd36e feat: [CODE-651]: add updated filter in pr listing (#754) 2023-11-03 19:02:25 +00:00
Abhinav Singh e0df722ce3 feat: add codeowner validate api (#733) 2023-10-30 22:16:39 +00:00
Marko Gacesa 2fc134b7b5 fix rule enum types (#738) 2023-10-27 16:10:42 +00:00
Johannes Batzill 0961ee0906 [MISC] Separate Git Smart HTTP Protocol Into `Handler` and `Controller` (#717) 2023-10-25 17:23:19 +00:00
Abhinav Singh 3b2ed1de50 feat: [CODE-580]: code comment webhook (#706) 2023-10-23 23:59:45 +00:00
Marko Gacesa 419fe92dde add branch protection: DB and API layer (#671) 2023-10-16 11:33:00 +00:00
Abhinav Singh 1a5c6b06ac feat: Add pr closed event (#643) 2023-10-05 01:39:33 +00:00
Johannes Batzill dc351cdcef [LINT] Fix All Linting Errors (#609) 2023-09-26 00:56:53 +00:00
Johannes Batzill a83cd21c17 [OPEN-SOURCE] Prepare Repository (#605) 2023-09-24 07:33:16 +00:00
Johannes Batzill 6c42b77500 [SSE] Add full stack SSE support for PRs (#591) 2023-09-21 02:55:41 +00:00
Vistaar Juneja 7eaed15272 add stage.when support and cancel/schedule downstream stages (#524) 2023-09-18 21:34:54 +00:00
Abhinav Singh b28df9bde2 address coments 2023-09-18 12:57:41 -07:00
Abhinav Singh 16e6889811 feat: [CODE-888]: minor export improvements 2023-09-18 01:10:47 -07:00
Abhinav Singh a09421e01b Merge remote-tracking branch 'origin' into abhinav/CODE-888 2023-09-18 00:38:44 -07:00
Abhinav Singh c7971bbbb1 feat: [CODE-888]: minor export improvements 2023-09-18 00:27:55 -07:00
Johannes Batzill ac87d06e5e [SWAGGER] Minor Swagger Fix and `yarn services` (#506) 2023-09-15 18:59:34 +00:00
Johannes Batzill 0a9dde7459 [Refactor] Move from `paths` to `space_paths` Table (#500) 2023-09-15 15:19:53 +00:00
Abhinav Singh 4ff032c968 feat: [CODE-852]: code export e2e (#483) 2023-09-15 08:08:13 +00:00
Abhinav Singh 3f58c5bc3e feat: [CODE-861]: Export progress (#490) 2023-09-15 08:04:46 +00:00
Johannes Batzill 8cd3e5d015 [Standalone] Add temporary JWT for pipeline executions (#480) 2023-09-14 08:54:03 +00:00
Vistaar Juneja 625d8af797 add cancellation support for CI builds (#456) 2023-09-13 15:22:26 +00:00