Commit Graph

2527 Commits

Author SHA1 Message Date
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
Johannes Batzill
11e5c26c51 pull latest gitleaks/gitleaks with harness SAT/PAT (#2120) 2024-06-17 23:36:27 +00:00
Calvin Lee
71d37cc632 fix: [code-1991]: fix padding and scroll (#2119) 2024-06-17 23:12:12 +00:00
Johannes Batzill
4c4924495c [Fix] Fix .git path rewriting for end of path scenarios (#2117) 2024-06-17 21:19:41 +00:00
Dhruv Dhruv
b36b2315ad Updating events and gitspaces tables (#2115) 2024-06-17 12:06:05 +00:00
Dhruv Dhruv
d903c0ffed Changing names to display names and replacing default unique constraints with named unique indexes (#2098) 2024-06-17 06:25:55 +00:00
Dhruv Dhruv
64268b96c3 feat: [CDE-69]: Making page and limit query params in openapi spec public. (#2114) 2024-06-16 03:41:10 +00:00
Calvin Lee
263e8647aa fix: [code-1991]: fix check icon and alignment (#2112) 2024-06-14 22:53:16 +00:00
Johannes Batzill
6645c274d3 Ensure principal_uid_unique is updated with principal_uid (#2111) 2024-06-14 18:18:26 +00:00
Darko Draskovic
fe7b1941ef Add omitempty to stats and run get change info for changes and types in parallel (#2105) 2024-06-14 15:41:53 +00:00
Johannes Batzill
329181ed1a Update principal uid for user/sa/service (#2107) 2024-06-14 01:16:09 +00:00
Calvin Lee
6ebf2a9bbc fix: [code-1991]: fix commit message (#2104) 2024-06-13 18:51:54 +00:00
Atefeh Mohseni Ejiyeh
b005db9920 fix: Return Unauthorized for /user endpoint APIs if session is anonymous (#2102) 2024-06-13 02:05:26 +00:00
Atefeh Mohseni Ejiyeh
bcb8e7e3ce fix import space API output repo type (#2099) 2024-06-12 23:43:14 +00:00
Johannes Batzill
2970d52cb3 Hide ssh url field if empty (#2103) 2024-06-12 23:31:59 +00:00
Calvin Lee
45acf04250 fix: [code-1991]: hide ssh and add optional chaining to filter function (#2100) 2024-06-12 18:50:18 +00:00