Commit Graph

2395 Commits (CODE-2402)

Author SHA1 Message Date
Patrick Wolf 050d82041c updating images for signin and register page. 2024-09-24 15:40:59 -07:00
Patrick Wolf 31d181c61a Missed a file 2024-09-24 12:08:59 -07:00
Patrick Wolf b249d06b89 fix: [code-2402] updating static web elements to update logo 2024-09-24 12:08:23 -07:00
Shivanand Sonnad 31c8fa62f0 feat: [AH-346]: bump har api service client to fix issue with client (#2732)
* feat: [AH-346]: bump har api service client to fix issue with client
2024-09-24 16:03:52 +00:00
Marko Gaćeša 746e3f0275 feat: [CODE-2335]: fix rebase API rule check (#2731)
* fix rebase API rule check
2024-09-24 15:38:09 +00:00
Marko Gaćeša 1fd081199e feat: [CODE-2087]: fix rule check for force update push (#2728)
* fix rule check for force update push
2024-09-24 12:52:08 +00:00
Arvind Choudhary 479c9b9fe7 feat: [AH-307]: GC interface Integration, event framework; schema changes; UI changes (#2688)
* fix
* Merge branch 'main' into AH-307-plus-url-support-2_no_rbac
* resolve PR comments
* resolve PR comments
* resolve PR comments
* feat: [AH-346]: new api changes for version list and digest list (#2726)

* feat: [AH-346]: new api changes for version list and digest list
* resolve pr comments
* resolve pr comments
* feat: [AH-346]: new api yaml integration (#2716)

* feat: [AH-346]: new api yaml integration
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2_no_rbac
* fix wire check
* fix lint issues
* fix: [AH-357]: migrations
* changes for global artifact listing (#2708)

* changes for global artifact listing
* Merge branch 'main' into AH-307-plus-url-support-2_no_rbac
* merged main
* Merge branch 'main' into AH-307-plus-url-support-2_no_rbac
* [AH-307]: Updated lint
* fix comment
* add new method to spacestore
* feat: [AH-307]: fix after rebase with main
* [AH-307]: Removing comments
* [AH-307]: linting fixes
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events (#2657)

* feat: [AH-286]: publish artifact event - no row found is not error
* feat: [AH-286]: publish artifact event - no row found is not error
* feat: [AH-286]: publish artifact event - lint errors, move publishing event outside DB transaction
* feat: [AH-286]: publish artifact event - review comments
* feat: [AH-286]: publish artifact event - address review comments
* feat: [AH-286]: publish artifact event - keep payload generic
* feat: [AH-286]: publish artifact event - as sqlite locks DB, perform db operation outside goroutine publishing of events
* feat: [AH-286]: publish artifact event - make publishing event async
* feat: [AH-286]: publish artifact event - use api types
* feat: [AH-286]: Publish event for SSCA to trigger scans - no need to export spacePathStore
* feat: [AH-286]: Publish event for SSCA to trigger scans - send spacePath instead of parentID
* feat: [AH-286]: Publish event for SSCA to trigger scans - rename scanner as generic reporter
* feat: [AH-286]: Publish event for SSCA to trigger scans - rename scanner as generic reporter
* feat: [AH-286]: publish artifact event - reuse redis.Send()
* feat: [AH-286]: Publish event for SSCA to trigger scans - review comments
* feat: [AH-286]: Publish event for SSCA to trigger scans - remove unused interface
* feat: [AH-286]: Publish event for SSCA to trigger scans - update msg format
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events
* feat: [AH-286]: Publish event for SSCA to trigger scans - extract acctID/orgID/projectID from spacepathStore
* feat: [AH-286]: publish artifact event - remove protobuf reference, fix lint errors
* feat: [AH-286]: publish artifact event - fix msg format
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events
* feat: [AH-321]: make repo form disabled for rbac (#2687)

* feat: [AH-321]: make repo form disabled for rbac
* fix wire-gen
* GC refactoring
* feat: [AH-340]: update UI as per the product feedbacks (#2685)

* feat: [AH-340]: update UI as per the product feedbacks
* feat: [AH-44]: add module data while redirecting to pipeline execution page
* feat: [AH-44]: add build pipeline details in overview cards
* feat: [AH-44]: update view for prod and non prod tag
* feat: [AH-44]: rearrange filters on artifact list apge
* feat: [AH-10]: add schema for overview cards, update artifact list, add ai search input, update api for registry artifact list and update mapping for deployments table
* feat: [AH-307]: add secretSpacePath in upstream password field while sending to BE (#2631)

* feat: [AH-307]: add secretSpacePath in upstream password field while sending to BE
* feat: [AH-299]: support new changes for artifact list page (#2630)

* feat: update har service api version
* feat: [AH-30]: integrate API schema for deployments list content
* feat: [AH-300]: update tag colors for prod and non prod tags
* feat: [AH-300]: Add Deployments table in artiface version details page
* feat: [AH-299]: support new changes for artifact list page
* feat: [AH-299]: support new changes for artifact list page
* feat: [AH-321]: support artifact registry rbac permission on UI (#2671)

* feat: [AH-321]: support artifact registry rbac permission on UI
* enable rbac (#2664)

* fix scope
* enable rbac
* feat: [AH-307]: hide code tab from version details page for both docker and helm
* feat: [AH-240]: add custom handling for enterprise auth type field
* Merge branch 'AH-307-plus-url-support-2_no_rbac' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2_no_rbac
* feat: [AH-307]: send space_ref in query param while creating registries
* lowercase rootRef
* [AH-307]: updated route
* [AH-307]: Added logs
* [AH-307]: Added logs
* feat: [AH-317]: add space_ref query param
* local
* Merge commit
* Merge commit
* Merge commit
* Added comments
* Revert changes
* Merge commit
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* Merge branch 'AH-306d' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* fix space path handling
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* Updated URLs to support slashes with + separator
* fix: [AH-306c]: fix anonymous flow
* fix: [AH-306c]: fix anonymous flow
* feat: [AH-307]: plus url support on UI

(cherry picked from commit 3fb6add3ce03498b6668b5f8f6d547e1acedaec4)
* [AH-307]: Added examples

(cherry picked from commit e83e41303da536f421be333be04aed09fbf75f5f)
* [AH-307]: Added Regex request rewrite support

(cherry picked from commit ed7b155256bdcd1134bc228b5705556a1233add6)
* fix: [AH-306c]: fix anonymous flow
2024-09-24 12:47:53 +00:00
Pragyesh Mishra dcc85d5545 [feat]: [AH-363]: made few fields public in registryReq (#2727)
* [feat]: [AH-363]: made few fields public in registryReq
* [feat]: [AH-363]: made few fields public in registryReq
2024-09-24 11:44:33 +00:00
Yogesh Chauhan cb616e48a7 feat: [ML-338]: Simplify HarnessIntelligence struct dependencies (#2700)
* Simplify HarnessIntelligence struct dependencies
2024-09-24 06:25:03 +00:00
Arvind Choudhary 25ca720888 [fix]: [AH-283]: Fixed distribution-spec build issue (#2725)
* [AH-231]: Fixed distribution-spec build issue
2024-09-24 04:09:46 +00:00
Ritik Kapoor 534f5a8293 feat: [CODE-2386] added rules to update branch [ block_branch_update , block_force_push ] (#2710)
* fix: [CODE-2386] updated return for branch rules map logic
* fix: [CODE-2386] fix force update on require PR
* fix: [CODE-2382] disable force-push for require pr
* fix: [CODE-2382] disable force-push and require pr rule if branch update rule is selected
* fix: [CODE-2386] commented sub heading, will be added later
* feat: [CODE-2386] added rules to update branch
2024-09-23 17:01:46 +00:00
Ritik Kapoor 1725841f67 feat: [CODE-2382] update review events with the latest changes (#2717)
* fix: [CODE-2382] updated interface
* feat: [CODE-2382] update review events with the latest changes
2024-09-23 17:01:11 +00:00
Marko Gaćeša 8dac8c2797 feat: [CODE-2335]: add dryrun option for rebase API (#2721)
* dryrun rebase
2024-09-23 14:46:17 +00:00
Darko Draskovic 9811929980 feat: [CODE-2364]: Add uinque install id to segment events (#2694)
* Use settings table for sys config
* Add Add uinque install id to segment events
2024-09-23 12:08:39 +00:00
Marko Gaćeša 7c83c5520e feat: [CODE-2385]: add fast-forward merge (#2718)
* add fast-forward merge
2024-09-23 11:34:19 +00:00
Vikyath Harekal 8bcd4aa0a6 feat: [CDE-334]: infra.HostScheme is already set (#2720)
* feat: [CDE-334]: infra.HostScheme is already set
2024-09-23 11:18:52 +00:00
Marko Gaćeša 4a3a87f1b1 feat: [CODE-2324]: add missing pr activity type: reviewer-add (#2715)
* add missing pr activity type: reviewer-add
2024-09-20 11:20:52 +00:00
Karan Saraswat cea79227c2 feat: [CODE-2370]: updated errors for restore/delete PR source branch API in swagger (#2714)
* fixed op name
* feat: [CODE-2370]: updated errors for restore/delete PR source branch API in swagger
2024-09-20 09:32:48 +00:00
Karan Saraswat 8bc9714c92 feat: [CODE-2370]: changes for using PR source branch delete/restore API (#2702)
* fixed error for branch not found
* swagger.yaml prettier
* removed commitSha queryParam and do a getBranch to get the commitSha
* fixed lint issue
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-2370-2
* added commit_sha query param to PR delete branch API
* fixed linting issues
* updated swagger
* feat: [CODE-2370]: changes for using PR source branch delete/restore API
2024-09-20 08:13:50 +00:00
Tudor Macari 4482527dbf fix: [AH-357]: migrations (#2709)
* fix: [AH-357]: migrations
2024-09-19 17:18:13 +00:00
Ritik Kapoor 2d96b62e07 feat: [CODE-2337] add rebase button in PR Conversation page (#2683)
* fix: [CODE-2362] updated message
* fix: [CODE-2362] lint
* fix: [CODE-2362] memoize sha state
* fix: [CODE-2362] add permission check
* fix: [CODE-2362] refetch activity on rebase
* fix: [CODE-2362] updated activity for rebase
* feat: [CODE-2337] add rebase button in PR Conversation page
2024-09-18 21:32:00 +00:00
Ritik Kapoor b9be854b72 fix: [CODE-2337] ui issue on execution page (#2696)
* fix: [CODE-2337] commit message
* fix: [CODE-2300] extra 0
2024-09-18 19:26:41 +00:00
Tudor Macari 7a53717c11 feat: [AH-357]: fix migrations (#2704)
* feat: [AH-357]: fix lint
* fix migrations
2024-09-18 18:29:26 +00:00
Vistaar Juneja d91b3f8ed8 feat: [CI-14316]: Connectors support in gitness (#2699)
* fix postgres migration
* address comments
* fix lint
* fix lint issues
* fix db schema, remove unnecessary files
* normalize schema to enforce secret integrity
* connectors fixes
* add created_by field
* rebase connectors implementation with latest
* fix lint
* change UID -> identifier
* refactor files around and lint
* Basic implementation for connectors
2024-09-18 13:24:48 +00:00
Marko Gaćeša fb58f8c04f feat: [CODE-2380]: add error message to rebase api (#2701)
* add error message to rebase api
2024-09-18 12:25:58 +00:00
Karan Saraswat 93b642b2ba feat: [CODE-2359]: PR source branch delete/restore API (#2690)
* passed 409 for open PRs for restore branch API
* addressed review comments
* fixed lint issue
* feat: [CODE-2359]: PR source branch delete/restore API
2024-09-18 12:17:21 +00:00
Karan Saraswat 327c5ed284 fix: [CODE-2373]: Parse the username out of email for clone credentials dialog box (#2697)
* fix: [CODE-2373]: Parse the username out of email for clone credentials dialog box
2024-09-17 18:34:14 +00:00
Marko Gaćeša cafa0148d8 feat: [CODE-2324]: added reviewer-add PR activity entry (#2698)
* added reviewer-add PR activity entry
2024-09-17 15:45:01 +00:00
Marko Gaćeša dc5bc6ed44 refactor parsing of time range filters (#2693)
* refactor parsing of time range filters
2024-09-17 08:07:57 +00:00
Pragyesh Mishra 34513680fb bandwidth and download metrics (#2568)
* fix
* merge conflict
* change artifact version to text
* review comments
* review comments
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-283-main-fix
* fix
* merge conflict resolved
* fix
* fix
* fix
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-283-main-fix
* download and bandwidth stats
* download and bandwidth stats
* bandwidth and download metrics
2024-09-17 07:15:41 +00:00
Marko Gaćeša 1e644163d3 deprecate PR edited field (#2692)
* deprecate PR edited field
2024-09-16 15:44:17 +00:00
Marko Gaćeša 934b3e8e5a fix method in openapi for rebase api (#2689)
* fix method in openapi for rebase api
2024-09-16 11:20:59 +00:00
Ritik Kapoor 62f27bb816 fix: [code-2300] width and style of branch/tag select dropdown (#2617)
* fix: [CODE-2300] changed to relative width
* fix: [CODE-2300] input-spinner enum
* fix: [CODE-2300] strings
* fix: [CODE-2300] popover rules dialog box
* feat: [CODE-2300] fix flicker and empty repo/branch states
* fix: [code-2300] latest commit alignment
* fix: [code-2300] lint
* fix: [code-2300] fix branch rules truncate issue with rule title
* fix: [code-2300] pr count on hard refresh
* fix: [code-2300] interaction to click from hover for PR options menu
* fix: [code-2300] handle pr count on initial loading
* fix: [code-2300] handle long branch names in commit modal
* fix: [code-2300] width and style of branch/tag select dropdown
2024-09-13 17:15:39 +00:00
Ritik Kapoor 55c6cacbde feat: [code-2337] add support for webhook execution logs (#2681)
* fix: [code-2337] address comments
* fix: [code-2337] increase drawer width to 50%
* fix: [code-2337] editor to scroll beyond last line
* fix: [code-2337] event title
* fix: [code-2337] remove commented code
* feat: [code-2337] add support for webhook execution logs
2024-09-13 06:59:06 +00:00
Abhinav Singh bdc01e85f7 feat: [CODE-2352]: update gitleaks with latest master (#2682)
* feat: [CODE-2352]: update gitleaks with latest master
2024-09-12 20:57:01 +00:00
Darko Draskovic 060d977433 Add two new settings to branch rules: block merge and force push to branch (#2656)
* Fix rule naming, warn log and use switch case for ref update
* Fix tests
* Refactor isForcePush to remove post-receive only related msg
* Add two new settings to branch rules: block merge and force push to branch
2024-09-12 14:17:13 +00:00
Karan Saraswat 2f4b0036d1 feat: [CODE-2338]: Add dry run rules param to create branch API (#2680)
* addressed review comments
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-2346
* feat: [CODE-2346]: Add an option to restore branch for merged/closed PR
* feat: [CODE-2338]: Add dry run rules param to create branch API
2024-09-11 11:50:04 +00:00
Karan Saraswat 80105035f4 feat: [CODE-2338]: Add dry run rules param to create branch API (#2679)
* return struct instead of pointer in deleteBranch and createBranch methods
* feat: [CODE-2338]: Add dry run rules param to create branch API
2024-09-11 09:51:44 +00:00
Akhilesh Pandey a2cea52155 feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List (#2640)
* feat: [CODE-2327]: add usergroup change to rebase api
* Merge branch 'main' into akp/CODE-2327
* feat: [CODE-2327]: wrap error
* feat: [CODE-2327]: move resolver inside bypass.go and update tests
* feat: [CODE-2327]: newline
* feat: [CODE-2327]: update wire
* Merge remote-tracking branch 'origin' into akp/CODE-2327
* feat: [CODE-2327]: update tests
* feat: [CODE-2327]: fix build
* feat: [CODE-2327]: merge main
* feat: [CODE-2327]: add and update unit tests
* feat: [CODE-2327]: fix
* feat: [CODE-2312]: introduce parser and enclosing method
* Apply suggestion from code review
* feat: [CODE-2327]: annotate error
* Merge branch 'main' into akp/CODE-2327
* feat: [CODE-2327]: usergroup resolver via controller
* feat: [CODE-2312]: update interface in protection
* feat: [CODE-2312]: export and update deduplication use
* feat: [CODE-2327]: Branch Rules: Allow Group bypass.go
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-09-11 08:04:31 +00:00
Marko Gaćeša 16cb3d5bc1 add rebase api (#2675)
* add rebase api
2024-09-10 16:58:44 +00:00
Abhinav Singh 50dc7f1d2c fix: [CODE-2352]: fix repo listing open api (#2676)
* fix: [CODE-2352]: fix repo listing open api
2024-09-10 16:42:03 +00:00
Deepesh Kumar 1e5030d25e feat: [CDE-320]: fixed strings in app (#2678)
* feat: [CDE-320]: fixed strings in app
2024-09-10 07:28:02 +00:00
Deepesh Kumar 4d86707345 feat: [CDE-320]: Updated CDE webpack and Strings file (#2677)
* feat: [CDE-320]: Updated CDE webpack and Strings file
* feat: [CDE-320]: Updated CDE webpack and Strings file
* feat: [CDE-320]: Updated CDE webpack and Strings file
2024-09-10 05:10:55 +00:00
Karan Saraswat 539ba120ef feat: [CODE-2249]: Add an option to delete branch for merged/closed PR (#2646)
* fixed ui lint issues
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-2249
* start sending the commit SHA to delete branch API and type changes acc to swagger
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-2249
* open for review will be disabled if branch deleted and some more refactoring
* ran prettier
* changed delete branch button to secondary blue button and refactoring
* corrected types
* removed license text from stringTypes.ts file
* feat: [CODE-2249]: Add an option to delete branch for merged/closed PR
2024-09-09 20:04:07 +00:00
Yogesh Chauhan 0af264d09f feat: [ML-338]: APIs for Harness Intelligence (#2667)
* Return empty summary/branch for now
* Fix Lint Issues
* feat: [ML-288]: API skeletons for Harness Intelligence
* fix ai pipelines (#2659)

* fix ai pipelines
* Update pipeline name (#2658)

* Update pipeline name
* fix: [ML-288]: update remediation prompt and suggestions (#2652)

* fix: [ML-288]: update remediation prompt and suggestions
* fix: [ML-288]: update url for artifact registry (#2651)

* fix: [ML-288]: update url for artifact registry
* Add snippet to mark code as written by Harness Intelligence (#2628)

* Add snippet to mark code as written by Harness Intelligence
* Add snippet to mark code as written by Harness Intelligence (#2626)

* Add snippet to mark code as written by Harness Intelligence
* feat: [ML-288]: link to harness artifact registry (#2619)

* some linting fixes
* feat: [ML-288]: link to harness artifact registry
* feat: [ML-286]: updating pipeline suggestions (#2620)

* updating suggestions
* feat: [ML-286]: updating pipeline suggestions
* feat: [ML-288]: adding slackbot (#2603)

* updating slack responses
* prevent responding to any bot messages
* feat: [ML-288]: adding slackbot
* throw error for commit
* commit stubbed
* feat: [ML-286]: moving stubbed response earlier in execution (#2602)

* feat: [ML-286]: moving stubbed response earlier in execution
* feat: [ML-286]: adding stubbed response for analyze execution (#2600)

* updating branch name
* adding updated-main for analyse-execution endpoint
* feat: [ML-286]: adding stubbed response for analyze execution
* Update AnalyseExecutionOutput to contain multi file diff (#2592)

* Create branch and commit changes on analyse
* Simplify AnalyseExecutionOutput to contain only high level summary and branch
* Update AnalyseExecutionOutput to contain multi file diff
* updating endpoints for unscripted demo (#2594)

* cleaning up code, adding suggested pipeline response
* updating suggestions api
* updating endpoints for unscripted demo
* Stub out generate pipeline yaml
2024-09-09 17:49:44 +00:00
Akhilesh Pandey 905d027cc3 feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List (#2636)
* feat: [CODE-2312]: annotate error
* feat: [CODE-2312]: name change and todo removal
* feat: [CODE-2312]: Annotate errors
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-09-09 14:41:03 +00:00
Pragyesh Mishra 010e584b3f fix digest count (#2674)
* fix digest count
* fix digest count
* fix digest count
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-293-fix
* fix digest count
2024-09-09 12:55:44 +00:00
Karan Saraswat 644678f50c feat: [CODE-2339]: Send sha in delete branch API and fix dry run rules behaviour (#2672)
* go lint issues and added return in the Deletebranch method
* removed the comment
* fixed go lint issues
* fixed query param in swagger
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into ks/CODE-2339
* feat: [CODE-2339]: Send sha in delete branch API and fix dry run rules behaviour
2024-09-09 11:45:18 +00:00
Kapil Garg df4b0d5400 rename migration files (#2673)
* rename migration files
* rename migration files
2024-09-09 08:42:43 +00:00
Kapil Garg 029a033be7 add migration to drop deprecated gateway columns (#2670)
* update cde gateway full sync query
* add migration to drop deprecated gateway columns
2024-09-09 08:30:49 +00:00