Commit Graph

2226 Commits

Author SHA1 Message Date
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
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
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
Ansuman Satapathy
a3203ef284 feat: [CDE-195]: missing repo type is treated as unknown for gitspaces (#2317)
* feat: [CDE-195]: missing repo type is treated as unknown for gitspaces
2024-07-30 08:14:49 +00:00
Ansuman Satapathy
42af216dc7 feat: [CDE-195]: use dependency-injection for scm providers for gitspaces. (#2308)
* feat: [CDE-195]: use dependency-injection for scm providers for gitspaces.
* feat: [CDE-195]: use dependency-injection for scm providers for gitspaces.
* feat: [CDE-195]: use dependency-injection for scm providers for gitspaces.
2024-07-30 07:02:59 +00:00
Ansuman Satapathy
f7928f1f77 feat: [CDE-195]: autoset git user config for internal repos (#2304)
* feat: [CDE-195]: autoset git user config for internal repos
2024-07-29 06:52:07 +00:00
Dhruv Dhruv
682925413b feat: [CDE-201]: Setting default docker api version. (#2303)
* feat: [CDE-201]: Setting default docker api version.
2024-07-29 05:54:11 +00:00
Vistaar Juneja
722caeddf8 fix: [CI-13599]: use latest version of docker (#2288)
* fix merge conflicts
* fix pr checks
* fix go mod tidy
* fix: [CI-13599]: use latest version of docker
2024-07-26 13:04:45 +00:00
Ansuman Satapathy
b6034a25aa feat: [CDE-195]: read devcontainer.json directly for gitness (#2294)
* feat: [CDE-195]: Run VS Code Web as non-root user.
* feat: [CDE-195]: read devcontainer.json directly for gitness
2024-07-26 12:44:36 +00:00
Dhruv Dhruv
9232029c74 WIP (#2284)
* feat: [CDE-194]: Reverting docker port range changes.
* feat: [CDE-194]: Removing extra types.
* feat: [CDE-194]: Restructuring code around port publishing and forwarding.
* WIP
* WIP
* WIP
* WIP
2024-07-26 06:26:22 +00:00
Calvin Lee
eeb4c50af1 fix: [code-2141]: fix icon color and merge option (#2291)
* fix: [code-2141]: fix icon color and merge option
2024-07-26 05:25:58 +00:00
Darko Draskovic
81fcd524c8 Add label feature (#2073)
* Address PR comments
* Add list label from ancestor scopes query param
* Add label feature
2024-07-25 14:57:56 +00:00
Vistaar Juneja
d36bf54f99 fix: get pipelines working with rancher desktop (#2286)
* fix: get pipelines working with rancher desktop
2024-07-25 12:49:52 +00:00
Ritik Kapoor
d40b020f80 fix: styles issues in repo description and summary (#2177)
* fix: styles issues in repo description and summary
2024-07-25 12:02:24 +00:00
Marko Gaćeša
c4b15ab5a9 fix build (#2287)
* fix build
2024-07-25 11:36:53 +00:00
Marko Gaćeša
7b17cc7831 add pr-updated webhook (#2247)
* add pr-updated webhook
2024-07-25 09:56:41 +00:00
Marko Gaćeša
d687080cf4 pr reviewer removal (#2269)
* add reviewer principal ID to activity payload
* pr reviewer removal
2024-07-25 09:55:41 +00:00
Abhinav Singh
d0562a573c feat: [CODE-2146]: add new router paradigm
* lint
* address comment
* fix
* ssh ctx
* add ctx for new places
* generate wiregen
* Merge remote-tracking branch 'harness0/main' into abhinav/new-router-paradigm
* Merge branch 'main' into abhinav/new-router-paradigm
* add new discussion changes
* address comment
* address comment
* address comment
* address comment
* address comment
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* style
* remove nil context
* add ctx to missing
* style
* remvoe ctx
* remvoe ctx
* feat: provider should have ctx
2024-07-23 21:39:39 +00:00
Dhruv Dhruv
fb88cb34ab feat: [CDE-182]: Using go:embed to load logo files. (#2260)
* feat: [CDE-182]: Using go:embed to load logo files.
2024-07-22 13:12:15 +00:00
Dhruv Dhruv
bed2659e03 feat: [CDE-182]: Fixing clone check. (#2259)
* feat: [CDE-182]: Fixing clone check.
2024-07-22 11:24:33 +00:00
Dhruv Dhruv
d159df6b7b feat: [CDE-182]: Changes to replace default vs code web icons with gitspaces icons. (#2258)
* feat: [CDE-182]: Changes to replace default vs code web icons with gitspaces icons.
2024-07-22 10:34:02 +00:00