Commit Graph

576 Commits

Author SHA1 Message Date
Ritik Kapoor
f3c646190f fix: [CODE-2944] remove button removes multiple id users and sa in bypass list (#3467) 2025-02-21 18:29:51 +00:00
Ritik Kapoor
e9f0d8729a feat: [CODE-2944]: add service account support in bypass list for branch rules (#3381)
* feat: [CODE-2944]: address comment and updated placeholder
*

feat: [CODE-2944]: add service account support in bypass list for branch rules
2025-02-07 17:55:39 +00:00
Ritik Kapoor
f8a4584dca fix: [CODE-3109]: handle new line character for mentions (#3353)
* fix: [CODE-3109]: handle new line char for mentions
2025-01-30 09:53:02 +00:00
Ritik Kapoor
adca887dbf fix: [CODE-3109]: mentions enhancements (#3346)
* fix: [CODE-3109]: fix height issue
* fix: [CODE-3109]: mentions to start only if it has a space before @
* fix: [CODE-3109]: mentions enhancements
2025-01-30 08:15:35 +00:00
Ritik Kapoor
7621233355 chore: [CODE-3073]: Remove circular dependencies - 2 (#3326)
* fix: [CODE-3073]: lint check
*

fix: [CODE-3097]: address comments
*

chore: [CODE-3073]: lint check
*

chore: [CODE-3073]: Remove circular dependencies - 2
2025-01-29 12:43:11 +00:00
Ritik Kapoor
7d1b421504 fix: [CODE-2864] disable upload btn (#3303)
* fix: [CODE-2864] disable upload btn
2025-01-21 13:17:50 +00:00
Ritik Kapoor
6e8cd9bdba fix: [CODE-2491]: Change "Checks" Progress Indicator Color (#3258)
* fix: [CODE-2491] remove css
*

fix: [ritik/CODE-2491] change running text color to primary
*

fix: [ritik/CODE-2491] change running icon color to primary
2025-01-15 21:25:51 +00:00
Ritik Kapoor
ddff3fc390 fix: [CODE-3038] label selector height (#3277)
* fix: [CODE-3038] label selector height
2025-01-15 18:04:41 +00:00
Atefeh Mohseni Ejiyeh
e9a7fd1e88 feat: [CODE-2819]: Archive Repo functionality (#3097) 2025-01-13 23:00:54 +00:00
Ritik Kapoor
0ce1cde6c8 fix: [CODE-2760] exclude principal calls from readonly Editor (#3234)
* fix: [CODE-2760] exclude principal calls from readonly Editor
2025-01-07 16:57:57 +00:00
Ritik Kapoor
de91e0ddef feat: [CODE-2765]: add Branch rules support on Account, Org, and Project level (#3143)
* fix: [CODE-2765] prettier
* fix: [CODE-2765] fix lint
* feat: [CODE-1509] added BranchProtectionHeader with permission utils
* feat: [CODE-1509] added BranchProtectionForm with permissions props
* feat: [CODE-1509] added BranchProtectionHeader with permission util abstracted
* feat: [CODE-1509] added BranchProtectionListing with permission props
* feat: [CODE-1509] added BranchProtectionHeader with permission props
* fix: [CODE-1509] lint
* feat: [CODE-1509] permission utility
* feat: [CODE-2765]: add Branch rules support on Account, Org, and Project level
2024-12-17 08:27:43 +00:00
Ritik Kapoor
b1cd12846f fix: [CODE-1509]: mentions support in harness code (#3126)
* feat: [CODE-1509] change limit and modify mention element
* feat: [CODE-1509] modify mention font weight
* fix: [CODE-1509]: handle XSS vulnerablities
* fix: [CODE-1509]: address comments
* fix: [CODE-1509]: if condition check
* fix: [CODE-1509]: lint check
* fix: [CODE-1509]: mentions support in harness code
2024-12-13 11:54:45 +00:00
Atefeh Mohseni Ejiyeh
8abfe73a37 fix: [CODE-2893]: handle rbac permission check on create repo button (#3111) 2024-12-04 23:37:22 +00:00
Ritik Kapoor
8487b8c044 fix: [CODE-2734] identical batch suggestion issue on code comment (#2961)
* fix: [code-2734] identical batch suggesstion issue on code comment
2024-11-15 11:12:53 +00:00
Karan Saraswat
ff00a8ba7a fix: [CODE-2628]: replaced TypesRepository with RepoRepositoryOutput from swagger (#2882)
* fixed other types too
* fix: [CODE-2628]: replaced TypesRepository with RepoRepositoryOutput from swagger
2024-10-28 17:21:39 +00:00
Ritik Kapoor
6a17336aaa fix: [CODE-2566] add FF config and hide plugin step behind a UI Flag - GITNESS_UI_SHOW_PLUGIN (#2847)
* fix: [code-2566] address comment
* fix: [code-2566] address comment
* fix: [code-2566] address comments
* fix: [CODE-2566] lint check
* fix: [CODE-2566] add FF config and hide plugin step behind local FF - GITNESS_FF_SHOW_PLUGIN_STEP
2024-10-24 18:40:52 +00:00
Ritik Kapoor
f6ac58f036 feat: [CODE-2411] add support for Fast-forward merge (#2803)
* feat: [CODE-2411] add support for Fast-forward merge
2024-10-10 22:36:19 +00:00
Abhinav Singh
9e8775e1a2 techdebt: [CODE-2481]: remove ctrl k from search ui (#2779)
* Update web/src/components/CodeSearch/CodeSearch.tsx
* Update web/src/components/CodeSearch/KeywordSearch.tsx
* techdebt: [CODE-2481]: remove ctrl k from search ui
2024-10-08 05:29:34 +00:00
Ritik Kapoor
3e7ee33b94 fix: [CODE-2418] add routing id to labels (#2749)
* fix: [CODE-2418] add routing id to labels
2024-09-30 11:21:46 +00:00
Ritik Kapoor
9f38e07bf3 fix: [CODE-2406] pr link in pr listing (#2740)
* fix: [CODE-2406] pr link in pr listing
2024-09-25 11:58:35 +00:00
Ritik Kapoor
9e3fded084 fix: [CODE-2386] status check rule (#2729)
* fix: [CODE-2386] fix reviewer update
* fix: [CODE-2386] status check rule
2024-09-25 05:08:16 +00:00
Patrick Wolf
d789e5775e feat: [CODE-2402] : Update all occurences of 'gitness' to 'harness' within comments and markdown. Updated the logo reference (did not delete the Gitness logo directory yet). No active code changes except display strings. (#2684)
* Apply suggestion from code review
* updating images for signin and register page.
* fix: lint
* fix: logo update
* revert golangci
* Adding more strings and updated the logo. Still need to update the signin page images
* Apply suggestion from code review

Updating harness logo to use Open Source logo
* Update all occurences of 'gitness' to 'harness' within comments and markdown. Updated the logo reference (did not delete the Gitness logo directory yet).  No active code changes except display strings.
2024-09-25 00:13:28 +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
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
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
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
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
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
Ritik Kapoor
81b10ba01c fix: public repo config and labels flicker (#2571)
* fix lint
* label fixes and minor ui fix
* udpate: label values api to use query params
* fix: public repo config and labels flicker
2024-08-28 08:14:43 +00:00
Tudor Macari
40ee05ca11 feat: [AH-309]: Artifact Registry integration (#2318) 2024-08-22 00:28:17 +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
Tan Nhu
f626dc640e Render off-screen diffs in a single pre tag to boost performance (#2271)
* Tan's last PR :)
* Sync with main
* Prevent browser crash on big PR (>200 files changed)
* Fixed link to comment not working
* Add NPE prevention
* Fixed Show Diff works only once
* Fix Harness nav is not auto-collapsed when visiting PR Changes
* Add code to restore new and edited comments
* Render off-screen diffs in a single pre tag to boost performance
2024-08-09 17:41:59 +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
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
Tan Nhu
a00265b22b Normalize diff.oldName and diff.newName to fix incorrect filePath when filename has spaces (#2237) 2024-07-17 07:47:28 +00:00
Calvin Lee
dc77767afa fix: [code-2105]: fix issue in branch listing on element wrap (#2212)
* fix: [code-2105]: fix issue in branch listing on element wrap
2024-07-15 23:46:13 +00:00
Deepesh Kumar
6f7d1079d9 feat: [CDE-107]: Gitspace in standalone gitness (#2207) 2024-07-13 02:18:25 +00:00
Ritik Kapoor
75f4e9e932 status check checkbox in rules to update with checkbox (#2205)
* status check checkbox in rules to update with checkbox
2024-07-11 20:12:54 +00:00
Calvin Lee
6864710e8e fix: [code-2088]: fix bugs on pr panel (#2190)
* fix: [code-2088]: fix bugs on pr panel
2024-07-10 07:38:21 +00:00
Ritik Kapoor
87e418bb86 update: [code-2017] swagger (#2110)
* update: [code-2017] id and display_name to identifier
* fix: [code-2017] comment update
* fix: [code-2017] replace identifier with id in pipelines
* fix: [code-2017] prettier
* update: [code-2017] swagger
2024-07-05 16:39:26 +00:00
Deepesh Kumar
37cce5c8a4 feat: create repo from gitspace (#2157) 2024-07-02 17:19:48 +00:00
Calvin Lee
9dd98910a8 fix: [code-2061]: fix text (#2145) 2024-07-02 07:52:42 +00:00
Calvin Lee
063731a752 fix: [code-2061]: hide clone button (#2144) 2024-07-01 23:24:33 +00:00
Calvin Lee
6a6c62f9b3 feat: [code-2061]: add ssh support in gitness (#2140) 2024-07-01 19:09:53 +00:00
Calvin Lee
6ebf2a9bbc fix: [code-1991]: fix commit message (#2104) 2024-06-13 18:51:54 +00:00
Calvin Lee
45acf04250 fix: [code-1991]: hide ssh and add optional chaining to filter function (#2100) 2024-06-12 18:50:18 +00:00
Enver Biševac
f0e12faa67 [code-2009] only if ssh is enabled show ssh url box (#2101) 2024-06-12 18:34:25 +00:00
Calvin Lee
21607267c1 fix: [code-1991]: fix commit message (#2097) 2024-06-12 06:11:43 +00:00