Commit Graph

2395 Commits (050d82041c9ddd76b57bcf553318a7aa2b1b464d)

Author SHA1 Message Date
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
Arvind Choudhary 77e93d587c [AH-310]: temp push; need to check (#2607)
* [AH-310]: Updated secret flows
* [AH-310]: Fixed build issues
* [AH-310]: temp push; need to check
2024-08-29 19:42:22 +00:00
Karan Saraswat 57368eba55 fix: [CODE-2316]: Send empty list in case of no repos present in space (#2613)
* fix: [CODE-2316]: Send empty list in case of no repos present in space
2024-08-29 19:34:10 +00:00
Dhruv Dhruv d50945fd60 feat: [CDE-278]: Ensure infra is in provisioned state before triggering stop or delete, or before fectching logs. (#2616)
* feat: [CDE-278]: Ensure infra is in provisioned state before triggering stop or delete, or before fectching logs.
2024-08-29 13:38:54 +00:00
Deepesh Kumar cc22b367d5 feat: [CDE-275]: Removed map from region dropdown (#2615)
* feat: [CDE-275]: Removed map from region dropdown
2024-08-29 12:47:33 +00:00
Deepesh Kumar 7863f68bb3 feat: [CDE-275]: Log width overflow fixed (#2614)
* feat: [CDE-275]: Log width overflow fixed
2024-08-29 12:08:28 +00:00
Marko Gaćeša 75042e9293 add pullreq list API for spaces (#2606)
* moved the service to the existing pullreq package
* add pullreq list API for spaces
2024-08-29 11:49:33 +00:00
Deepesh Kumar e2de9ba77e feat: [CDE-275]: pass parentIdentifier in getTokenList api (#2611)
* feat: [CDE-275]: pass parentIdentifier in getTokenList api
2024-08-29 06:10:34 +00:00
Deepesh Kumar bea4048d0e feat: [CDE-265]: SCM API Integration (#2610)
* feat: [CDE-265]: SCM API Integration
2024-08-29 05:20:59 +00:00
Ansuman Satapathy 74e00cbcdf feat: [CDE-244]: API for infraprovider template (#2609)
* feat: [CDE-244]: API for infraprovider template
2024-08-29 04:45:29 +00:00
Marko Gaćeša 6b12b45950 add log entries for rejected merges (#2604)
* add log entries for rejected merges
2024-08-28 12:51:42 +00:00
Marko Gaćeša ffe585f8c4 add missing error check in CommitFiles (#2605)
* add missing error check in CommitFiles
2024-08-28 12:51:18 +00:00
Karan Saraswat 55d2b1dee3 feat: [CODE-2297]: add dry run param for delete branch API (#2590)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-2297
* updated comment
* worked on review comments and added to openapi spec
* return empty violations array when dry_run = true
* feat: [CODE-2297]: add dry run param for delete branch API
2024-08-28 08:39:04 +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 e18a8c410f feat: [AH-317]: add space_ref query param (#2597)
* feat: [AH-317]: add space_ref query param
2024-08-28 05:57:53 +00:00
Kapil Garg 1697d15f8e create ssh directory in manager_user (#2598)
* set user directory perm to 755
* set userpass in case of ssh
* fix ssh server script
* change access type if condition
* create ssh directory in manager_user
2024-08-27 18:06:50 +00:00
Darko Draskovic 0346a91cda Fix label value define permissions (#2596)
* Simplify if test and keep check- prefix
* Fix label value define permissions
2024-08-27 17:12:42 +00:00
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