Commit Graph

2417 Commits (abhinav-harness-patch-1)

Author SHA1 Message Date
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
Kapil Garg 370007c0f7 remove creds from clone url (#2653)
* wrap template variables in quotes
* remove redundant fields from credentials
* add creds in gitness clone url
* set git user name and email after cloning
* remove creds from clone url
2024-09-09 08:30:04 +00:00
Shivanand Sonnad 81e3e6f029 fix: issue with pre-commit husky hook (#2669)
* fix: issue with pre-commit husky hook
2024-09-09 08:08:32 +00:00
Shivanand Sonnad 16ba4e056f fix: fix issue with breaking page header css in code module (#2668)
* fix: add lazy loading for ar app
* fix: remove not used css and move global css behind arApp class to avoid conflicting with other modules
* fix: fix issue with breaking page header css in code module
2024-09-09 08:08:08 +00:00
Arvind Choudhary ea3c2eda13 [AH-310]: Updated secret flows so removing foreign key constraints (#2618)
* [AH-310]: Updated secret flows
* [AH-310]: Updated secret flows so removing foreign key constraints
2024-09-06 20:48:12 +00:00
Johannes Batzill 77b01718bd feat: [CODE-2179]: Add error message to protection rule violation error responses (#2665) 2024-09-06 18:54:15 +00:00
Karan Saraswat 9e0b86d290 feat: [CODE-2330]: auto collapse resolved code comments (#2655)
* fixed ui lint
* feat: [CODE-2330]: auto collapse resolved code comments
2024-09-06 12:26:17 +00:00
Enver Biševac 61c794da0b feat: unrealted histories error handling (#2642)
* comments added
* return proper status and message for unrelated history
* code cleanup
* requested changes
* feat: unrealted histories error handling
2024-09-06 11:41:21 +00:00
Marko Gaćeša 88485ade75 add commit message to pullreq update branch activity (#2654)
* add commit message to pullreq update branch activity
2024-09-06 08:21:03 +00:00
Marko Gaćeša d96ee12399 limit text size for PRs in the migrator (#2662)
* limit text size for PRs in the migrator
2024-09-05 15:00:41 +00:00
Dhruv Dhruv 1c8a47636f fix: [CDE-316]: Increasing timeout for gitspace start/stop to 10m from 5m. (#2661)
* fix: [CDE-316]: Changing context of instance update to non-canceable context during gitspace start/stop.
* fix: [CDE-316]: Changing context of instance update to non-canceable context during gitspace start/stop.
* fix: [CDE-316]: Increasing timeout for gitspace start/stop to 10m from 5m.
2024-09-05 11:22:17 +00:00
Arvind Choudhary 744b884c1f fix: [AH-306c]: fix anonymous flow (#2574)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* [AH-307]: Comments
* 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-04 20:48:57 +00:00
Marko Gaćeša fb99bcb8d2 add mentioned_id filter to the pull request list API (#2635)
* add mentioned_id filter to the pull request list API
2024-09-04 08:21:29 +00:00
Abhinav Singh b5c313a510 fix: [CODE-2314]: check / at end to for routing (#2612)
* fix: [CODE-2314]: check / at end to for routing
2024-09-04 00:20:08 +00:00
Arvind Choudhary 905b4e5d37 [AH-329]: Updated manifest issue and unnecessary logging (#2650)
* [AH-329]: Updated env vars
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-329-gitness-lower-case-main-2
* [AH-329]: Updated manifest issue and unnecessary logging

(cherry picked from commit ee1bfc443ed5a6625994115ef2014b7bb568c2ec)
2024-09-03 21:36:37 +00:00
Arvind Choudhary acef055ea2 [AH-329]: Updated manifest issue and unnecessary logging (#2648)
* [AH-329]: Updated manifest issue and unnecessary logging

(cherry picked from commit ee1bfc443ed5a6625994115ef2014b7bb568c2ec)
2024-09-03 21:21:24 +00:00
Ansuman Satapathy 7ff4fd0186 fix: [CDE-202]: use correct resource ID (#2645)
* fix: [CDE-202]: use correct resource ID
2024-09-03 19:15:30 +00:00
Deepesh Kumar 020b974b8d feat: [CDE-305]: fixed package.json command for cde (#2644)
* feat: [CDE-305]: fixed package.json command for cde
2024-09-03 15:04:00 +00:00
Deepesh Kumar 2d0b398a4c feat: added custom webpack for CDE (#2643)
* feat: fixed remote entry file
* feat: added custom webpack for CDE
* feat: added custom webpack for CDE
2024-09-03 14:51:15 +00:00
Ansuman Satapathy f8f54c43c7 feat: [CDE-202]: remove extra spaceID (#2641)
* feat: [CDE-202]: remove extra spaceID
* feat: [CDE-202]: remove extra spaceID
* feat: [CDE-202]: remove extra spaceID
2024-09-03 14:07:52 +00:00
Ansuman Satapathy ec7eca7491 feat: [CDE-202]: infra provider resource cache (#2639)
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
2024-09-03 11:58:48 +00:00
Ansuman Satapathy 5cfd41ae1a feat: [CDE-202]: infra provider resource cache (#2637)
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
2024-09-03 09:59:29 +00:00
Vikyath Harekal 636f6a9847 feat: [CDE-284]: Return infra by unmarshalling it from meetadata (#2638)
* feat: [CDE-284]: fix lint
* feat: [CDE-284]: Return infra by unmarshalling it from meetadata
2024-09-03 09:44:04 +00:00
Akhilesh Pandey ae16dfc312 feat: [CODE-2232]: update conflict clause (#2608)
* feat: [CODE-2232]: lint
* feat: [CODE-2232]: remove migrations
* feat: [CODE-1941]: create table usergroups
* feat: [CODE-1941]: table migrations
* feat: [CODE-2232]: lower conflict clause
* feat: [CODE-2232]: lower conflict clause
* feat: [CODE-2232]: update create and update timestamps
* feat: [CODE-2232]: update conflict clause
2024-09-02 14:43:48 +00:00
Dhruv Dhruv 38023da2db feat: [CDE-286]: Moving user and git mgmt to respective services. (#2634)
* feat: [CDE-286]: Moving user and git mgmt to respective services.
2024-09-02 10:27:27 +00:00
Marko Gaćeša a2d2ba07aa add user filters to the pull request list API (#2624)
* add user filters to the pull request list API
2024-09-02 09:00:50 +00:00
Marko Gaćeša ccf267f1cc update pull request edited field after successful merge (#2625)
* update pull request edited field after successful merge
2024-09-02 08:59:50 +00:00
Deepesh Kumar ee51318478 feat: [CDE-285]: added fallback icon for repoType (#2633)
* feat: [CDE-285]: added fallback icon for repoType
2024-09-02 08:17:55 +00:00
Ansuman Satapathy 3b0c20ae53 fix: [CDE-244]: set user details automatically (#2632)
* fix: [CDE-244]: set user details automatically
* fix: [CDE-244]: set user details automatically
* fix: [CDE-244]: set user details automatically
2024-09-02 07:16:07 +00:00