Commit Graph

2292 Commits

Author SHA1 Message Date
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
Dhruv Dhruv
dcf2068873 feat: [CDE-192]: Updating instance state synchronously when calling orchestrator's trigger flows. (#2505)
* feat: [CDE-192]: Updating instance state synchronously when calling orchestrator's trigger flows.
2024-08-14 11:57:19 +00:00
Dhruv Dhruv
236f4dc12a feat: [CDE-240]: Drop gitspace data in down migration. (#2503)
* feat: [CDE-240]: Drop gitspace data in down migration.
2024-08-14 07:09:38 +00:00
Ritik Kapoor
1091cc3397 fix: merge option changes on polling (#2502)
* fix: merge option changes on polling
2024-08-13 23:10:35 +00:00
Johannes Batzill
313c706be7 fix 0051_create_table_public_key.down migration (#2494) 2024-08-13 21:03:47 +00:00
Ansuman Satapathy
99d8d2d6a3 feat: [CDE-192]: make hosts and ports in gitspace infrastructure more verbose (#2496)
* feat: [CDE-192]: make hosts and ports in gitspace infrastructure more verbose
2024-08-13 11:42:01 +00:00
Dhruv Dhruv
be471c2151 fix: [CDE-232]: Dropping FK constraint and correcting order of dropping tables. (#2490)
* fix: [CDE-232]: Dropping FK constraint and correcting order of dropping tables.
2024-08-13 06:52:16 +00:00
Vikyath Harekal
7b275f29e7 feat: [CDE-217]: fix migration (#2489)
* feat: [CDE-217]: fix migration
2024-08-13 06:43:53 +00:00
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