Commit Graph

2401 Commits (3c4c6ae923aeb017602cd58034c4f755e47f32a8)

Author SHA1 Message Date
Deepesh Kumar d370295e7c feat: [CDE-267]: Add custom hook useOpenVSCodeBrowserURL (#2595)
* feat: [CDE-267]: Add custom hook useOpenVSCodeBrowserURL
2024-08-27 10:53:05 +00:00
Deepesh Kumar 219c2142f4 feat: [CDE-255]: Use Query Params to populate create gitspace URL , repoType and branch (#2593)
* feat: [CDE-255]: UI lint fix
* feat: [CDE-255]: Use Query Params to populate create gitspace URL , repoType and branch
2024-08-27 08:42:57 +00:00
Kapil Garg 7af28da479 add credentials in getfilecontent (#2591)
* add credentials in getfilecontent
2024-08-26 19:23:28 +00:00
Akhilesh Pandey ffd999eaff feat: [CODE-1941]: update db migration serials (#2588)
* feat: [CODE-1941]: update db migration serials
2024-08-26 15:52:11 +00:00
Akhilesh Pandey 0578be8afe feat: [CODE-1941]: user group changes (#2134)
* feat: [CODE-1941]: remove usergroup filter from request
* feat: [CODE-1941]: decrement page for harness-core
* feat: [CODE-1941]: update pagination request
* feat: [CODE-1941]: change interface from find to list
* feat: [CODE-1941]: change reviewer add permissions
* feat: [CODE-1941]: comments
* feat: [CODE-1941]: comments
* fix wire issues
* feat: [CODE-1941]: remove users from the db table usergroups
* feat: [CODE-1941]: annotate errors
* feat: [CODE-1941]: annotate errors
* feat: [CODE-1941]: sql style
* feat: [CODE-1941]: revert common.go change for parse limit
* feat: [CODE-1941]: move usergroup listing to space level
* feat: [CODE-1941]: update usergroup listing and update delete to push permission
* feat: [CODE-1941]: Update combined listing
* feat: [CODE-1941]: Update combined listing
* feat: [CODE-1941]: format
* feat: [CODE-1941]: rebase
* feat: [CODE-1941]: separate db struct for usergroup.go
* feat: [CODE-1941]: change usergroup filter to default query and review comments
* feat: [CODE-1941]: change usergroup filter to default
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: Search Service interface and wire changes
* feat: [CODE-1941]: Search Service interface and wire changes
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change
* feat: [CODE-1941]: Big change: New LOGIC for UserGroup Reviewers
* feat: [CODE-1941]: DB changes
* feat: [CODE-1941]: listing api
* feat: [CODE-1941]: mapping methods
* feat: [CODE-1941]: list method for pullreq_reviewers db
* feat: [CODE-1941]: database queries
* feat: [CODE-1941]: database queries
* feat: [CODE-2058]: dbstore changes
* feat: [CODE-1941]: Controller and Database code
* feat: [CODE-1941]: update reviewer_add.go code
* feat: [CODE-1941]: update reviewers and usergroup db migrations
* feat: [CODE-1941]: Update API ops
* feat: [CODE-1941]: Update DB ops for reviewers
* feat: [CODE-1941]: db migration update
* feat: [CODE-1941]: db migration update
* feat: [CODE-1941]: code comments
* feat: [CODE-1941]: update migration numbering
* feat: [CODE-1941]: Add postgresql migrations
* feat: [CODE-1941]: Update DB ops for reviewers

feat: [CODE-1941]: Update API ops

feat: [CODE-1941]: update reviewers and usergroup db migrations

feat: [CODE-1941]: update reviewer_add.go code

feat: [CODE-1941]: break pr

feat: [CODE-1941]: break pr

feat: [CODE-1941]: Update migration numbering
* feat: [CODE-1941]: create table usergroups
* feat: [CODE-1941]: table migrations
* feat: [CODE-1941]: user group changes
2024-08-26 15:35:27 +00:00
Marko Gaćeša 34292b022e fix space path handling (#2577)
* fix space path handling
2024-08-26 13:13:25 +00:00
Ansuman Satapathy fde5e2c93b fix: [CDE-244]: infra status stopped added (#2587)
* Merge remote-tracking branch 'origin/main' into vm_suspend_gitness
* fix: [CDE-244]: infra status stopped added
* fix: [CDE-244]: infra status stopped added
2024-08-26 12:27:27 +00:00
Kapil Garg b79d217d8f add missing fields in scm types (#2586)
* add missing fields in scm types
2024-08-26 10:31:00 +00:00
Deepesh Kumar bbe617ce6f feat: [CDE-243]: Show SSH dropdown only while creating vs cod desktop (#2585)
* feat: [CDE-243]: Show SSH dropdown only while creating vs cod desktop
2024-08-26 09:28:36 +00:00
Kapil Garg e888f8c481 add methods in gitness scm (#2540)
* fix lint issue
* fix lint issue
* add credentials in methods
* add methods in gitness scm
2024-08-26 09:11:45 +00:00
Dhruv Dhruv 01e26bdb82 feat: [CDE-263]: Changes to track Gitspaces usage across installations. (#2584)
* feat: [CDE-263]: Changes to track Gitspaces usage across installations.
2024-08-26 08:24:06 +00:00
Tudor Macari 2595b5dba5 fix: [AH-313]: fix client setup details to contain only root space ref (#2583)
* fix: [AH-313]: fix lint
* fix: [AH-313]: fix client setup details to contain only root space ref
2024-08-26 06:41:28 +00:00
Arvind Choudhary ecce56f483 [AH-312]: Header fixes (#2582)
* [AH-312]: Header fixes
2024-08-26 05:03:48 +00:00
Shivakumar Ningappa d52a142cdb fix: [AH-306c]: fix anonymous flow (#2573)
* lint fixes
* fix: [AH-306]: fix anonymous flow - address review comments
* fix: [AH-306c]: fix anonymous flow - address review comments
* fix: [AH-306c]: fix anonymous flow
* fix: [AH-306c]: fix anonymous flow
* fix: [AH-306c]: fix anonymous flow
2024-08-24 02:34:05 +00:00
Darko Draskovic af6e94ba2c Use repo edit and repo view permissions for space label handling (#2569)
* Use repo edit and repo view permissions for space label handling
2024-08-23 17:03:52 +00:00
Deepesh Kumar b83779350d feat: [CDE-251]: SSH Dropdown (#2576)
* feat: [CDE-251]: Updated harness code icon
* feat: [CDE-251]: SSH Token creation modal
* feat: [CDE-251]: SSH Dropdown
2024-08-23 13:21:40 +00:00
Arvind Choudhary 9ed0df9e92 [AH-309]: Updated config to make Registry enabled by default (#2570)
* [AH-309]: Enabled Registry by default via config
* [AH-309]: Enabled Registry by default via config
* [AH-309]: Updated config to make Registry enabled by default
2024-08-22 21:46:01 +00:00
Shivakumar Ningappa 25d91247c2 feat: [AH-260]: add migration scripts for AR (#2572)
* feat: [AH-260]: add migration scripts for AR
* feat: [AH-260]: add migration scripts for AR
* feat: [AH-260]: add migration scripts for AR
* Updated drop queries
* feat: [AH-260]: add migration scripts for AR
2024-08-22 21:41:22 +00:00
Marko Gaćeša b10a30ca8f change the user used for the audit call in repo import (#2566)
* change the user used for the audit call in repo import
2024-08-22 14:10:48 +00:00
Deepesh Kumar dab431568f feat: [CDE-255]: Fixed Gitness Issues (#2564)
* feat: [CDE-255]: fixed ui lint issue
* feat: [CDE-255]: Fixed Gitness Issues
2024-08-22 09:40:35 +00:00
Karan Saraswat 4ebc0db9b3 feat: [CODE-2274]: Add repo description and UI url in the webhook emitted info (#2555)
* feat: [CODE-2274]: Add repo description and UI url in the webhook emitted info
2024-08-22 08:00:22 +00:00
Dhruv Dhruv 98e5f7c498 feat: [CDE-256]: Making gitspace delete async. (#2563)
* feat: [CDE-256]: Making gitspace delete async.
2024-08-22 07:36:05 +00:00
Tudor Macari 40ee05ca11 feat: [AH-309]: Artifact Registry integration (#2318) 2024-08-22 00:28:17 +00:00
Deepesh Kumar fddea6392f feat: [CDE-255]: Updated validation for private repo (#2557)
* feat: [CDE-255]: Updated validation for private repo
2024-08-21 15:06:49 +00:00
Deepesh Kumar cccece9829 feat: [CDE-243]: Show username in listing page (#2552)
* feat: [CDE-243]: removed commented code
* feat: [CDE-243]: Show username in listing page
2024-08-21 07:17:23 +00:00
Deepesh Kumar dadac33e57 feat: [CDE-243]: add repo_type in repo lookup api (#2550)
* feat: [CDE-243]: add repo_type in repo lookup api
2024-08-21 05:32:03 +00:00
Vikyath Harekal 57e7b7247c feat: [CDE-242]: Find flow for ovh (#2532)
* feat: [CDE-242]: refactor
* feat: [CDE-242]: Find flow for ovh
2024-08-21 04:40:56 +00:00
Yogesh Chauhan 59614e73f4 feat: [ML-302]: Framework For Harness Intelligence APIs (#2547)
* feat: [ML-302]: Framework For Harness Intelligence APIs
2024-08-20 22:05:29 +00:00
Ritik Kapoor fcfa540f7c update: [code-2195] increase limit of get checks for commit to 100 (#2542)
* update: [code-2195] increase limit of get checks for commit to 100
2024-08-20 21:41:04 +00:00
Ritik Kapoor 9e0b140961 update: label scope icon in activities (#2548)
* update: label scope icon in activities
2024-08-20 21:40:29 +00:00
Ritik Kapoor 2d14111677 labels support in Gitness (#2456)
* fix: lint check
* fix: page overflow
* resolve comments
* resolve comments
* fix: space label addition
* resolve comments : added enum
* update: settings -> manage repository
* update: resolved comments
* update: bugbash comments
* fix: ref exact scope for individual label values call
* fix lint
* add hook to handle current scope in HC and fix scope filter
* update space delete
* prettier check
* update labelAPIs to use getConfig in base
* support for harness-code labels
* fix no result card
* resolved comments for types
* resolved comments
* added sorting in labels and handled edge cases
* fix: replacement of any value label
* fix: spacing in value filter search input
* add: update modal on click for spaces
* added search for values in filter
* fix: UI issues and some enhancements
* handle empty labels list in space and remove tooltip for PR labels
* added getConifg and any values for label filter
* change label value color to enum
* make value-id a pionter
* update ordering
* expose value id
* handle long values
* update search in label selector
* handle edge cases
* fix lint
* added FF : CODE_PULLREQ_LABELS and standalone flag to labels
* fix popover on scrolling and added strings
* fix checks
* fix checks
* swagger update
* labels support in Gitness
2024-08-20 21:05:11 +00:00
Atefeh Mohseni Ejiyeh d2dcc9213b feat: [CODE-2245] (Public Access) Enforce repo-review permission (#2522)
* updated permission with review wherever is needed
2024-08-20 16:33:59 +00:00
Darko Draskovic 0952d00a31 Add label scope to label activity (#2545)
* Add label scope to label activity
2024-08-20 13:54:43 +00:00
Kapil Garg 516fd5c1ca add scm provider in lookup repo (#2544)
* fix: [CDE-244]: added validation for missing URL ref
* fix: [CDE-244]: added validation for missing URL ref
* fix: [CDE-244]: added validation for missing URL ref
* treat empty input as unknown repo type
* add scm provider in lookup repo
2024-08-20 13:16:32 +00:00
Darko Draskovic cd5de8fe62 Fix pullreq count when applying label/value id filter (#2525)
* Add sanitize func related to label define/update
* Fix pullreq count when applying label/value id filter
2024-08-20 10:46:20 +00:00
Ansuman Satapathy 93af2c724e feat: [CDE-192]: show user info for gitspace listing. (#2531)
* feat: [CDE-192]: added TODO to move to user int as key
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: wire principal info cache
* feat: [CDE-192]: show user info for gitspace listing.
* feat: [CDE-192]: show user info for gitspace listing.
2024-08-20 09:34:10 +00:00
Atefeh Mohseni Ejiyeh 8d487921a6 feat: [CODE-2259]: update allowed repo states list for reposettings APIs (#2538) 2024-08-20 01:22:55 +00:00
Deepesh Kumar 471dead872 feat: [CDE-243]: fixes cde logs in gitspace details (#2529)
* feat: [CDE-243]: fixes cde logs in gitspace details
* feat: [CDE-243]: fixes cde logs in gitspace details
2024-08-19 10:55:30 +00:00
Ansuman Satapathy 54113d4b06 fix: [CDE-192]: correctly set resources for infraprovider config. (#2527)
* fix: [CDE-192]: db show ids in error
* fix: [CDE-192]: db show ids in error
* fix: [CDE-192]: db show ids in error
* fix: [CDE-192]: correctly set resources for infraprovider config.
2024-08-19 07:48:37 +00:00
Enver Biševac 6d0db9512e feat: instrumentation, intitial work (#2475)
* requested changes
* requested changes
* feat: instrumentation, intitial work
2024-08-18 22:04:34 +00:00
Ansuman Satapathy eccb57fffe fix: [CDE-192]: correctly set resources for infraprovider config. (#2524)
* fix: [CDE-192]: correctly set resources for infraprovider config.
2024-08-16 12:02:43 +00:00
Deepesh Kumar 2ad02f1321 feat: [CDE-177]: Fixes for delete and open vscode (#2523)
* feat: [CDE-177]: Fix lint issues
* feat: [CDE-177]: Fixes for delete and open vscode
* feat: [CDE-177]: Fixes for delete and open vscode
2024-08-16 10:03:40 +00:00
Dhruv Dhruv 0f8eb568e2 feat: [CDE-241]: Adding protocol to the gitspace port returned by the IDE and corresponding changes. Fixing gitspace instance's reference instead of value in the orchestrator. (#2521)
* feat: [CDE-241]: Addressing review comment.
* feat: [CDE-241]: Addressing review comment.
* feat: [CDE-241]: Adding protocol to the gitspace port returned by the IDE and corresponding changes. Fixing gitspace instance's reference instead of value in the orchestrator.
2024-08-16 08:31:05 +00:00
Ansuman Satapathy 2f3b6a6f85 feat: [CDE-177]: Update listing page for CDE (#2506)
* feat: [CDE-207]: Fixed typecheck (#2513)

* feat: [CDE-207]: remove currentUserInfo app prop
* Merge branch 'CDE-207-FixTypeCheck' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-207-FixTypeCheck
* feat: [CDE-207]: remove currentUserInfo app prop
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* fix lint errors (#2520)

* add copyright header
* add copyright header
* fix lint errors
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: fix gitspace instance store
* Merge remote-tracking branch 'origin/main' into CDE-New
* add secret resolver in gitness (#2493)

* rename identifier to space identifier
* update factory method
* remove access_key from gitspace table
* add access key and type to devcontainer exec
* add migration for gitspace access key ref
* fix error message for resolver factory
* update resolver interface
* add secret resolver in gitness
* feat: [CDE-192]: correctly update date and sync update
* Merge remote-tracking branch 'origin/main' into CDE-New

# Conflicts:
#	app/api/controller/gitspace/action.go
#	app/api/controller/gitspace/delete.go
* feat: [CDE-192]: correctly update dates for updated
* feat: [CDE-192]: handle empty inputparams
* feat: [CDE-192]: handle empty inputparams
* Merge remote-tracking branch 'origin/main' into CDE-New
* Merge remote-tracking branch 'origin/main' into CDE-New
* feat: [CDE-207]: Use SCM api hook (#2499)

* feat: [CDE-207]: Updated Strings
* feat: [CDE-207]: Use SCM api hook
* feat: fixed string issue (#2476)

* feat: [CDE-211]: fixed lint issues
* feat: [CDE-211]: fixed lint issues
* feat: fixed string issue
* feat: fixed string issue (#2474)

* feat: fixed string issue
* add ssh identifier in map functions in gitness store
* add ssh fields in types
* feat: fixed GitspaceCodeRepoType in create payload
* feat: updated common hooks
* feat: update for listing
* feat: update for listing
* feat: removed cde folder
* feat: [CDE-177]: Update listing page for CDE
2024-08-16 06:46:02 +00:00
Atefeh Mohseni Ejiyeh aa66cca792 fix: [CODE-2192]: (Swagger) Add Update default-branch API (#2519)
* add update default branch open api
2024-08-16 00:45:45 +00:00
Vistaar Juneja e1ef7e9609 feat: [CI-13861]: support gitness provided variables for docker configuration (#2517)
* fix lint
* feat: [CDE-192]: implement overrides and honor env variables for CDE docker client
* remove default value of host from config and Dockerfile
* feat: [CI-13861]: support gitness provided variables for docker configuration
2024-08-15 12:15:31 +00:00
Ansuman Satapathy 7a3df78d8b feat: [CDE-192]: correctly cache login info during first checkout (#2515)
* feat: [CDE-192]: correctly cache login info during first checkout
2024-08-15 05:33:11 +00:00
Marko Gaćeša d089d04025 add space descendants data layer fn (#2511)
* add space descendants data layer fn
2024-08-14 16:49:30 +00:00
Darko Draskovic 7e3253d366 Fix missing empty type and color values validation (#2510)
* Fix missing empty type and color values validation
2024-08-14 16:41:11 +00:00
Darko Draskovic c3c75d47aa Refactor router and openapi related to labels to export setup funcs and params (#2500)
* Refactor router and openapi related to labels to export setup funcs and params
2024-08-14 14:06:04 +00:00