Commit Graph

2142 Commits

Author SHA1 Message Date
Calvin Lee
feecde9faa fix: [code-2105]: fix available merge strats (#2206)
* fix: [code-2105]: fix available merge strats
2024-07-11 18:00:08 +00:00
Marko Gaćeša
4ac42fc6c9 Add additions and deletions to PRs (#2196) 2024-07-11 10:01:17 +00:00
Dhruv Dhruv
94b0f0178a feat: [CDE-136]: Removing password authentication for code-server and breaking setup in installation and run. (#2202)
* feat: [CDE-136]: Removing password authentication for code-server and breaking setup in installation and run.
2024-07-11 08:30:21 +00:00
Calvin Lee
dd7ef06c24 fix: [code-2088]: fix pr title update (#2200)
* fix: [code-2088]: fix pr title update
2024-07-11 06:42:29 +00:00
Ansuman Satapathy
18226c8914 feat: [CDE-137]: check valid code repository for CDE use. (#2197)
* feat: [CDE-137]: check valid code repository for CDE use.
* feat: [CDE-137]: check valid code repository for CDE use.
* feat: [CDE-137]: check valid code repository for CDE use.
2024-07-11 05:47:29 +00:00
Johannes Batzill
76682ad400 [FIX] update unresolved comment count when suggestions are applied (#2198) 2024-07-10 23:05:22 +00:00
Kapil Garg
dd143cc37e add migration to add columns in infra_provisioned table (#2154)
* rename migration files
* change column type to TEXT
* change column type to TEXT
* update migration scripts
* add migration to add columns in infra_provisioned table
2024-07-10 13:35:50 +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
Calvin Lee
6864710e8e fix: [code-2088]: fix bugs on pr panel (#2190)
* fix: [code-2088]: fix bugs on pr panel
2024-07-10 07:38:21 +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
Dhruv Dhruv
d577102d5e feat: [CDE-127]: Adding changes to include logging in container orchestration. (#2178)
* feat: [CDE-127]: Linting.
* Merge branch 'refs/heads/main' into CDE-127

# Conflicts:
#	app/gitspace/orchestrator/container/embedded_docker.go
#	cmd/gitness/wire.go
* feat: [CDE-127]: Addressing review comments.
* 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]: 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]: 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 stop flow.
* feat: [CDE-127]: Adding changes to include logging in container orchestration's start flow.
2024-07-09 21:13:47 +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
34df7cf137 feat: [CDE-94]: Adding orchestration to start, stop and delete Gitspaces. (#2159)
* Addressing review comments.
* feat: [CDE-94]: Rebasing PR. Adding StartResponse to store container orchestration start response. Refactoring provisioner to clean the method params.
* feat: [CDE-94]: Using ports returned by the container orchestrator
* feat: [CDE-94]: Adding orchestrtion to start, stop and delete Gitspaces.
2024-07-08 20:10:44 +00:00
Karan Saraswat
b10fa3ea76 fix for making imported ADO repos' visibility the same as it's project's visibility (#2179)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into ks/CODE-2073
* removed extra check for azure provider type for importing
* fix for making imported ADO repos' visibility the same as it's project's visibility
2024-07-08 18:39:48 +00:00
Johannes Batzill
28b55f0e53 Move Register/Login/Logout (#2172)
* move register/login/logout, git resources, and system check APIs outside of auth
2024-07-08 17:53:45 +00:00
Karan Saraswat
c6f6d83e74 fix for making imported ADO repos' visibility the same as it's project's visibility (#2174)
* fix for making imported ADO repos' visibility the same as it's project's visibility
2024-07-08 17:39:50 +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
Deepesh Kumar
0fffff1416 feat: Fixed aligment issue in CDE (#2175)
* feat: Fixed aligment issue in CDE
2024-07-08 04:10:46 +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
Shashwat Sachan
30dfa92023 feat: [CDE-125]: Pass token to the browser call. (#2162)
* feat: [CDE-125]: Fix linting error
* feat: [CDE-125]: Open vscode in same window
* feat: [CDE-125]: Add routing in case of invalid token
* feat: [CDE-125]: Pass token to the browser call.
2024-07-06 00:05:01 +00:00
Ritik Kapoor
87e418bb86 update: [code-2017] swagger (#2110)
* update: [code-2017] id and display_name to identifier
* fix: [code-2017] comment update
* fix: [code-2017] replace identifier with id in pipelines
* fix: [code-2017] prettier
* update: [code-2017] swagger
2024-07-05 16:39:26 +00:00
Dhruv Dhruv
d46516baa7 feat: [CDE-115]: Adding implementation for infra_provisioner
* feat: [CDE-115]: Rebasing
* feat: [CDE-115]: Rebasing
* feat: [CDE-115]: Rebasing
* feat: [CDE-115]: Adding default value for docker host
* feat: [CDE-115]: Rebasing
* Rebasing
* Rebasing
* Rebasing
2024-07-05 15:07:07 +00:00
Ansuman Satapathy
728a419267 feat: [CDE-83]: Added scaffolding for APIs for gitspaces (#2173)
* feat: [CDE-83]: Added scaffolding for APIs
* feat: [CDE-83]: Added scaffolding for APIs
2024-07-05 13:03:10 +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
Calvin Lee
21fe66b47f fix: [code-2061]: add last used field (#2167)
* fix: [code-2061]: fix lint
* fix: [code-2061]: fix comment
* fix: [code-2061]: add last used field
2024-07-04 05:41:59 +00:00
Dhruv Dhruv
21897dc090 feat: [CDE-116]: Adding SCM pkg responsible for fetching devcontainer config from public code repos (#2141) 2024-07-02 18:40:36 +00:00
Deepesh Kumar
37cce5c8a4 feat: create repo from gitspace (#2157) 2024-07-02 17:19:48 +00:00
Calvin Lee
ceb86704be fix: [code-2061]: fix save btn (#2156) 2024-07-02 16:56:19 +00:00
Calvin Lee
f836cbec89 fix: [code-2061]: fix text (#2151) 2024-07-02 08:06:32 +00:00
Calvin Lee
9dd98910a8 fix: [code-2061]: fix text (#2145) 2024-07-02 07:52:42 +00:00
Calvin Lee
063731a752 fix: [code-2061]: hide clone button (#2144) 2024-07-01 23:24:33 +00:00
Abhinav Singh
b333f42142 feat: add users check (#2132) 2024-07-01 20:45:12 +00:00
Calvin Lee
6a6c62f9b3 feat: [code-2061]: add ssh support in gitness (#2140) 2024-07-01 19:09:53 +00:00
Ritik Kapoor
baa31cce9e Refactor routes to fix 'search' folder navigation in standalone gitness (#2135) 2024-07-01 11:43:56 +00:00
Dhruv Dhruv
06a514976f feat: [CDE-115]: Adding infra provider factory (#2138) 2024-06-28 14:22:58 +00:00
Dhruv Dhruv
f53480a8ad feat: [CDE-85]: Adding impl for docker provider (#2131) 2024-06-28 06:47:45 +00:00
Atefeh Mohseni Ejiyeh
d06dd5c2fd fix:update default branch for empty repos if doesnt exist (#2127) 2024-06-28 02:16:39 +00:00
Deepesh Kumar
d202b67fcb feat: [CDE-87]: fixed start gitspace getting disabled (#2133) 2024-06-27 07:13:17 +00:00
Dhruv Dhruv
62e5ae34b4 feat: [CDE-85]: Creating new pkg for infra providers. Adding interface and types. (#2128) 2024-06-25 05:44:45 +00:00
Calvin Lee
a2e3a3e90a fix: [code-1991]: fix latest approval (#2130) 2024-06-24 05:28:07 +00:00
Deepesh Kumar
8b454426a7 feat: [CDE-68]: Edit Gitspace and add Gitspace Events (#2129) 2024-06-22 05:16:58 +00:00
Calvin Lee
16fa4e7acf feat: [code-1991]: adding merge conflict files to be seen in merge section (#2126) 2024-06-21 15:46:17 +00:00
Dhruv Dhruv
1b244fe624 Adding soft delete to gitspace_configs table (#2125) 2024-06-19 08:42:41 +00:00
Calvin Lee
a1b9512c59 fix: [code-1991]: fix status icon for check section (#2123) 2024-06-18 23:51:45 +00:00
Calvin Lee
98bac50f64 fix: [code-1991]: fix header message and padding (#2122) 2024-06-18 22:23:20 +00:00