2244 Commits

Author SHA1 Message Date
Dhruv Dhruv
1e3c910c07 feat: [CDE-231]: Adding logs method to orchestrator and fixing logic to catch cmd execuction errors in devcontainer.Exec. (#2472)
* feat: [CDE-231]: Adding logs method to orchestrator and fixing logic to catch cmd execuction errors in devcontainer.Exec.
2024-08-13 04:27:04 +00:00
Johannes Batzill
5bea61a139 feat: [CODE-2220]: Change default ssh port to 3022 (#2484) 2024-08-13 00:27:49 +00:00
Johannes Batzill
6db16133b5 fix: [CODE-2217]: Reverting go-generate to Pre-V1-Yaml (#2479) 2024-08-12 18:37:11 +00:00
Deepesh Kumar
ec2a7c3361 fix: lookup-repo error handling (#2466)
* fix: lookup-repo error handling
2024-08-11 09:13:00 +00:00
Ansuman Satapathy
f247c70311 feat: [CDE-192]: ignore deleted spaces during fetching gitspaces for account (#2465)
* feat: [CDE-192]: ignore deleted spaces during fetching gitspaces for account
2024-08-11 08:30:37 +00:00
Ansuman Satapathy
65b3cabf8f feat: [CDE-192]: validate url scheme for repos for gitspaces (#2464)
* feat: [CDE-192]: validate url scheme for repos for gitspaces
2024-08-11 07:04:10 +00:00
Vikyath Harekal
9452c7b21a feat: [CDE-217]: auto increment id (#2463)
* feat: [CDE-217]: auto increment id
2024-08-11 06:15:37 +00:00
Dhruv Dhruv
b1b4111271 fix: [CDE-229]: Updating code-repo mgmt inside gitspace container. (#2460)
* feat: [CDE-230]: Cleaning logs from command exec inside gitspace container.
* fix: [CDE-229]: Updating code-repo mgmt inside gitspace container.
2024-08-11 05:22:58 +00:00
Vikyath Harekal
86be5e2e8d feat: [CDE-217]: Migration: Fix column and constraint (#2458)
* feat: [CDE-217]: address comments
* feat: [CDE-217]: Migration: Fix column and constraint
* feat: [CDE-217]: Migration: Fix column and constraint
2024-08-10 07:00:07 +00:00
Tan Nhu
f626dc640e Render off-screen diffs in a single pre tag to boost performance (#2271)
* Tan's last PR :)
* Sync with main
* Prevent browser crash on big PR (>200 files changed)
* Fixed link to comment not working
* Add NPE prevention
* Fixed Show Diff works only once
* Fix Harness nav is not auto-collapsed when visiting PR Changes
* Add code to restore new and edited comments
* Render off-screen diffs in a single pre tag to boost performance
2024-08-09 17:41:59 +00:00
Johannes Batzill
68af08e69e feat: [CODE-2212]: Improve SSH Configuration (#2446) 2024-08-09 16:21:41 +00:00
Dhruv Dhruv
e1979c0b24 feat: [CDE-228]: Remove raw template params from the list of final params passed to the provider. (#2452)
* feat: [CDE-228]: Remove raw template params from the list of final params passed to the provider.
2024-08-09 15:49:11 +00:00
Ansuman Satapathy
a8ea70c96d feat: [CDE-192]: use json library to serde (#2451)
* feat: [CDE-192]: use json library to serde
* feat: [CDE-192]: use json library to serde
* feat: [CDE-192]: use json library to serde
* feat: [CDE-192]: use json library to serde
2024-08-09 14:23:31 +00:00
Abhinav Singh
9548ba0cee Revert "fix: [CODE-2203]: fix Dockerfile (#2424)" (#2440)
* Revert "fix: [CODE-2203]: fix Dockerfile (#2424)"

This reverts commit 5024a23f056cd41a27e8ceb466f58a840cbea00f.
2024-08-09 11:39:58 +00:00
Darko Draskovic
d2fe8b7da0 Refactor OR pr label filter to AND filter (#2433)
* Refactor OR pr label filter to AND filter
2024-08-09 11:23:46 +00:00
Dhruv Dhruv
008aa5c17a feat: [CDE-227]: Change SSH port for VSCode. (#2445)
* feat: [CDE-227]: Change SSH port for VSCode.
2024-08-09 08:31:14 +00:00
Dhruv Dhruv
e400a6df44 feat: [CDE-226]: Migrations to drop iprov_opentofu_template column. (#2444)
* feat: [CDE-226]: Migrations to drop iprov_opentofu_template column.
2024-08-09 07:34:07 +00:00
Ansuman Satapathy
2146145ff9 fix: [CDE-192]: fix incorrect resource reference (#2441)
* fix: [CDE-192]: fix incorrect resource reference
* fix: [CDE-192]: fix incorrect resource reference
2024-08-09 04:18:04 +00:00
Shivakumar Ningappa
5024a23f05 fix: [CODE-2203]: fix Dockerfile (#2424)
* fix: [CODE-2203]: fix Dockerfile
2024-08-08 19:23:59 +00:00
Ansuman Satapathy
3d4cbb95ec feat: [CDE-192]: added a new factory method for infraproviders. (#2431)
* feat: [CDE-192]: added a new factory method for infraproviders.
* feat: [CDE-192]: added a new factory method for infraproviders.
2024-08-08 12:39:09 +00:00
Vikyath Harekal
1748e57189 feat: [CDE-212]: Add migration for new table ovh_task_details (#2428)
* feat: [CDE-212]: remove cascade delete
* feat: [CDE-212]: update index
* feat: [CDE-212]: update constraint
* feat: [CDE-212]: rename table to delegate_provision_details
* feat: [CDE-212]: Add migration for new table ovh_task_details
2024-08-08 10:50:05 +00:00
Ansuman Satapathy
c94fd94d77 feat: [CDE-192]: updated missing swagger (#2430)
* feat: [CDE-192]: updated missing swagger
* feat: [CDE-192]: updated missing swagger
2024-08-08 06:49:37 +00:00
Johannes Batzill
ef526db38a [Dockerfile] Enable CDE and SSH by default (#2426) 2024-08-08 01:03:49 +00:00
Atefeh Mohseni Ejiyeh
cef6708a1e Support Repo Migration APIs (create repo, import PRs, webhooks, and branch rules) (#2158)
* update migrator mdoule
* added formatted forbidden error helper
* delete work sum
* check branch rule identifier check
* match migrator data contract for webhooks
* self review
* self review
* self review, code cleaning
* resolve conflicts
* updated import api calls
* resolve conflicts
* lint
* bypass pre-receive block ref update on push if it's migrator push
* migrate controller and apis
* pull main
* add migrate routes to terminate path prefix apis
* move apis to migrate pkg
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into atmsn/import_meta
* import branch rules API
* wip import webhooks
2024-08-07 23:40:09 +00:00
Ritik Kapoor
91291b8b27 fix: URL for case insensitive repo name and block infinite render (#2410)
* remove unnecessary block
* update: condition for replacing the incorrect URL
* Apply suggestion from code review
* fix: strict handle the case insensitve repo names
* update: using replace instead of push for invalid URL
* fix: URL for case insensitive repo name and block infinite render
2024-08-07 20:13:14 +00:00
Darko Draskovic
b1ac141460 Add list labels per pr to pr list (#2372) (#2387)
* Add list labels per pr to pr list (#2372)

* Refactor to pullreq(s) backfill funcs
* Add list labels per pr to pr list
2024-08-07 15:32:30 +00:00
Marko Gaćeša
4b289c1232 feat: [CODE-2153]: add limits on PR text fields (#2412) 2024-08-07 10:07:41 +00:00
Ansuman Satapathy
9fc9a498e2 feat: [CDE-192]: modularize gitspace services (#2404)
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: address comments
* feat: [CDE-192]: split config and resource creation
* feat: [CDE-192]: split config and res creation
* feat: [CDE-192]: modularize gitspace services
2024-08-07 08:27:29 +00:00
Dhruv Dhruv
52bfdfb3f8 feat: [CDE-220]: Adding gitspace instance identifier to infra provisioning. Adding checks to ensure infra status is always same as required. Adding infra status type error enum. Adding util method to derive gitspace container name. Cleaning parameters to use values instead of references. Refactoring fields for infra struct to make them more explicit. Adding config to read agent port and pass it on to infra provider for provisioning and finding. (#2411)
* feat: [CDE:220]: Adding util method to get working dir from repo name.
* feat: [CDE:220]: Addressing review comments.
* feat: [CDE-220]: Adding gitspace instance identifier to infra provisioning. Adding checks to ensure infra status is always same as required. Adding infra status type error enum. Adding util method to derive gitspace container name. Cleaning parameters to use values instead of references. Refactoring fields for infra struct to make them more explicit. Adding config to read agent port and pass it on to infra provider for provisioning and finding.
2024-08-07 02:29:10 +00:00
Johannes Batzill
0c5c478652 add logging for redis history sanning (#2417) 2024-08-07 00:15:34 +00:00
Calvin Lee
aa24282254 fix: [code-2196]: fix overlay issue (#2415)
* fix: [code-2196]: fix overlay issue
2024-08-06 17:28:03 +00:00
Ritik Kapoor
b1f8f528da added support for gitness public repo (#2405)
* update: to primary btn for signin
* update index2 sign in btn to secondary
* update index2 to index_public and add sign in btn
* lint errors
* remove redundant code
* update isCurrentSessionPublic with gitness public session changes
* added support for gitness public repo
2024-08-06 12:39:02 +00:00
Ansuman Satapathy
ce8b17bb93 feat: [CDE-192]: handle docker-host for non darwin internal url (#2406)
* feat: [CDE-192]: handle docker-host for non darwin internal url
* feat: [CDE-192]: handle docker-host for non darwin internal url
2024-08-06 11:10:42 +00:00
Johannes Batzill
8e7398d362 Inject X-Allow-Public-Access Header For UI (#2300) 2024-08-05 23:39:16 +00:00
Ansuman Satapathy
6338af6336 feat: [CDE-192]: modularize gitspace services (#2396)
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: modularize gitspace services
v1.0.4-gitspaces-beta
2024-08-05 10:00:48 +00:00
Dhruv Dhruv
34a07f4d8b feat: [CDE-192]: Adding infra template and provisioned stores and using those in infra provisioning flows. (#2392)
* Addressing review comments and fixing lint issues.
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: Adding infra template and provisioned stores and using those in infra provisioning flows.
2024-08-05 07:48:47 +00:00
Deepesh Kumar
196ee8c6d0 feat: [CDE-211]: vs code extension route change for gitness (#2389)
* feat: [CDE-211]: vs code extension route change for gitness
2024-08-04 02:39:53 +00:00
Calvin Lee
4680192ba6 feat: [code-2177]: add regex icon in keyword search (#2340)
* fix: [code-2177]: fix jumping issue
* feat: [code-2177]: fix padding
* fix: [code-2177]: fix icons
* fix: [code-2177]: fix issue when message box is not there
* fix: [code-2177]: remove search for repo dropdown
* feat: [code-2177]: fix issue on recursive toggle in repolvlsrch
* fix: [code-2177]: fix issue on not showing
* fix: [code-2177]: fix comments
* feat: [code-2177]: update to mocks and fix some issues
* feat: [code-2177]: add regex icon in keyword search
2024-08-03 05:17:30 +00:00
Darko Draskovic
497c426a01 Add list labels per pr to pr list (#2372)
* Refactor to pullreq(s) backfill funcs
* Add list labels per pr to pr list
2024-08-02 11:57:09 +00:00
Darko Draskovic
bb77a835cf Add pullreq label activities (#2296)
* Add colors to label activity info
* Refactor FindValueByLabelID query
* Simplify more label activity assign logic
* Simplify label activity assign logic
* Add pullreq label activities
2024-08-01 19:20:54 +00:00
Darko Draskovic
f392fb1015 Add restricted by query label count when using query and sanitize empty label (value) text (#2335)
* Add restricted by query label count when using query and sanitize empty label (value) text
2024-08-01 15:38:21 +00:00
Dhruv Dhruv
9d5071b45c feat: [CDE-203]: Making infra processing async. (#2325)
* Cleaning the flow around gitspace instance update.
* Renaming params and param schema types.
* Correcting comments.
* feat: [CDE-203]: Making infra processing async.
* feat: [CDE-203]: Making infra processing async.
* feat: [CDE-203]: Making infra processing async.
2024-08-01 10:01:31 +00:00
Yogesh Chauhan
bd9cfce3ab techdebt: [CODE-2173]: Update go version to 1.22.0 from 1.22 to fix build issues (#2333)
* Update go version to 1.22.0 from 1.22 to fix build issues
2024-07-31 16:36:17 +00:00
Shashwat Sachan
1e6330a589 feat: [CDE-195]: gitness use repo ref (#2336)
* feat: [CDE-195]: gitness use repo ref
* feat: [CDE-195]: UI changes for type and ref.
* feat: [CDE-195]: gitness use repo ref
v1.0.3-gitspaces-beta
2024-07-31 14:30:09 +00:00
Shashwat Sachan
910c4819c7 feat: [CDE-205]: revert the changes in pr for ticket CDE-205 (#2334)
* feat: [CDE-205]: revert the changes in pr for ticket CDE-205
2024-07-31 12:41:28 +00:00
Shashwat Sachan
6232a8f5b8 feat: [CDE-186]: Add different icon for vs code browser in gitness. (#2316)
* feat: [CDE-186]: Add different icon for vs code browser in gitness.
2024-07-31 11:57:25 +00:00
Shashwat Sachan
c2cb422c28 feat: [CDE-205]: Update body for create gitspace api to make it work for private repos. (#2331)
* feat: [CDE-205]: Update body for create gitspace api to make it work for private repos.
2024-07-31 11:55:50 +00:00
Calvin Lee
e1724bfd5e feat: [code-2061]: add recursive search toggle (#2180)
* feat: [code-2075]: fix issue
* feat: [code-2061]: fixed search
* feat: [code-2061]: add support for enable recursive
* feat: [code-2061]: fix text
* feat: [code-2061]: add recursive search toggle
2024-07-30 17:24:28 +00:00
Darko Draskovic
0cb3c8a4cf Add render pagination and incremental search to labels (#2311)
* Remove unused upsert method from label value store
* Add render pagination and incremental search to labels
2024-07-30 15:43:31 +00:00
Kapil Garg
3edc1db615 feat: [CDE-195]: Add factory constructor method to create factory with providers map (#2323)
* update method name
* feat: [CDE-195]: Add factory constructor method to create factory with providers map
2024-07-30 10:49:24 +00:00