Commit Graph

205 Commits

Author SHA1 Message Date
Johannes Batzill
cbd889881b feat: [CODE-2693]: Add backend support to track time of last push. (#3320) 2025-01-27 22:03:35 +00:00
Karan Saraswat
d51474badc fix: [CODE-3057]: Revert "temporary fix for listing more than 30 repos in a single request" (#3324)
* Revert "fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134) (#3308)"

This reverts commit 636f6f2750.
2025-01-27 08:06:38 +00:00
Tudor Macari
a655c2f8e9 feat: [AH-396]: webhook support (#2778)
* feat: [AH-396]: resolve PR comments
* feat: [AH-396]: adjust sql
* feat: [AH-396]: implement registry webhooks
2025-01-23 17:22:35 +00:00
Karan Saraswat
636f6f2750 fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134) (#3308)
* fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134)

* temporary fix for listing more than 30 repos in a single request
* max repos changed to 500
2025-01-22 13:14:43 +00:00
Karan Saraswat
63b3134a09 fix: [CODE-3057]: Revert "temporary fix for listing more than 30 repos in a single request (#3134)" (#3296)
* Revert "fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134)"

This reverts commit 2a5b475778.
2025-01-21 12:33:40 +00:00
Sourabh Awashti
a532c9c386 feat:[AH-628]: Add queries for node and generic blob tables (#3295)
* [fix]: [AH-629]: FIXED PR CHECK
* feat:[AH-629]: fix checks
* Merge branch 'main' into AH-629-db
* feat:[AH-629]: fix checks
* feat:[AH-628]: Add queries for node and generic blob tables
2025-01-21 11:25:54 +00:00
Darko Draskovic
6ed620bdc3 feat: [PIPE-24548]: Add label PR label assignment count (#3292)
* Refactor count pullreq assignments to backfill form
* Add label PR label assignment count
2025-01-17 17:37:46 +00:00
Darko Draskovic
6554c472d1 feat: [PIPE-24548]: Add label creation to pullreq creation (#3276)
* Refactor label select base const and its use
* Add created labels to create pr response
* Merge remote-tracking branch 'origin/main' into dd/pr-creation-label-assign
* Add label creation to pullreq creation
2025-01-16 16:48:56 +00:00
Ritek Rounak
77e8ef45d1 fix: [AH-831]: Updated Error Message for Upstream Delete Fail (#3272)
* fix: [AH-831]: Updated Manifest_reference Foreign
* fix: [AH-831]: Updated Error Message for Upstream Delete Fail
2025-01-15 12:30:13 +00:00
Akhilesh Pandey
21bb774275 feat: [CODE-2573]: add scope in type for usergroupinfo (#3241) 2025-01-10 21:20:55 +00:00
Pragyesh Mishra
016a0ce2f5 [feat]: [AH-724]: ECR upstream proxy support (#3181)
* [fix]: [AH-724]: pr checks
* [fix]: [AH-724]: pr checks
* [fix]: [AH-724]: pr checks
* [fix]: [AH-724]: fix upstream proxy update
* [fix]: [AH-724]: fix upstream proxy update
* [fix]: [AH-724]: fix upstream proxy update
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-724-schema-change
* [feat]: [AH-724]: ECR upstream proxy support
2025-01-06 07:59:59 +00:00
Sourabh Awashti
f270bc596a feat:[AH-628]: migration fix for file manager (#3219)
* feat:[AH-628]: review changes
* feat:[AH-628]: migration fix for file manager
2025-01-03 09:16:23 +00:00
Marko Gaćeša
3d5feb0315 feat: [CODE-2862]: support integer ref for repo finder (#3205) 2024-12-30 17:24:06 +00:00
Arvind Choudhary
15f4adcbe0 feat:[AH-628]: File manager framework DB migration and objects (#3207)
* Merge commit
* [AH-628]: Updated schema
2024-12-30 11:09:06 +00:00
Arvind Choudhary
5d17af97d3 feat:[AH-628]: File manager framework DB migration and objects (#2954) (#3206)
* Revert "feat:[AH-628]: File manager framework DB migration and objects (#2954)"

This reverts commit ea1d934dec.
2024-12-26 21:49:35 +00:00
Sourabh Awashti
ea1d934dec feat:[AH-628]: File manager framework DB migration and objects (#2954)
* [AH-628]: Renamed files
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-628
* feat:[AH-628]: review changes
* feat:[AH-628]: review changes
* feat:[AH-628]: review changes
* feat:[AH-628]: review changes
* feat:[AH-628]: fix uts
* feat:[AH-628]: fix node object
* feat:[AH-628]: change in DB objects
* feat:[AH-628]: change in DB objects
* feat:[AH-628]: change in DB objects
* Merge branch 'main' into AH-628
* feat:[AH-628]: review changes
* feat:[AH-628]: file manager changes with some DB and swagger changes
* feat:[Ah-628]: File manager framwork migrations
2024-12-26 19:34:12 +00:00
Ansuman Satapathy
cafa55b2e5 feat: [CDE-573]: refactor to reduce number of abstractions and modules. (#3203)
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
2024-12-26 08:58:41 +00:00
Marko Gaćeša
2b959817d5 feat: [CODE-2862]: put space fetch behind a cache (#3201)
* replaced type of the inner cache to SpaceCache
* put space fetch behind a cache
2024-12-25 11:37:40 +00:00
Enver Biševac
a178e629ea fix: [code-2912]: issue with pq sql (#3185)
* requested changes
* fix issue with pqsql
2024-12-20 17:41:41 +00:00
Enver Biševac
db38802e83 feat: [code-2912]: usage service implementation (#3168)
* feat: [code-2912]: rest and ui changes (#3178)

* requested changes
* rest and ui changes
* requested changes
* add midleware to raw and archieve endpoints
* wire fixed
* requested changes
* Merge remote-tracking branch 'origin/main' into eb/code-2912
* added initial values from db
* minor improvements
* requested changes
* remove check for bandwidth
* wiring dep
* improved test
* limits check added
* config added, minor improvements
* usage service implementation
2024-12-20 10:28:47 +00:00
Abhinav Singh
4a55edad29 fix: [CODE-2954]: fix webhook query (#3175)
* fix: [CODE-2954]: fix webhook query
2024-12-19 05:02:19 +00:00
Enver Biševac
48f07f0f0c feat: [code-2912]: db layer for usage metrics (#3159)
* db layer for usage metrics
2024-12-13 21:17:28 +00:00
Johannes Batzill
69fa8f06b3 fix: [CODE-2931]: Remove leftover webhook_internal usage - make type fixed (#3150) 2024-12-11 19:10:47 +00:00
Enver Biševac
2a5b475778 fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134)
* temporary fix for listing more than 30 repos in a single request
* max repos changed to 500
2024-12-10 07:55:33 +00:00
Ansuman Satapathy
a5d442f289 feat: [CDE-544]: allow actions if stuck in starting/stopping transient state (#3113)
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
2024-12-05 05:02:57 +00:00
Abhinav Singh
bd9d15500c feat: [CODE-2885]: support for webhook type (#3098) 2024-12-05 02:01:08 +00:00
Darko Draskovic
18da27f968 feat: [CODE-2857]: Add checks API to spaces (#3084)
* Fix stmt reassignment
* Add get descendent ids helper to space store
* Add checks API to spaces
2024-12-03 15:31:56 +00:00
Ansuman Satapathy
293aa5ff29 feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command (#3087)
* feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command
2024-12-01 06:50:59 +00:00
Johannes Batzill
f2d72cba46 fix: [CODE-2631] : fix issue on label unassign activity (#3062) 2024-11-27 18:16:03 +00:00
Darko Draskovic
3a3c8e2c85 feat: [CODE-2854]: Add scope info to webhooks (#3050)
* Change space permissions to repo permissions for and add scope info to webhooks
2024-11-26 22:16:10 +00:00
Darko Draskovic
c79fe0f829 fix: [CODE-2846]: Add scope info to rule (#3045)
* Add scope info to rule
2024-11-25 17:43:21 +00:00
Ansuman Satapathy
c43d0e62a7 fix: [CDE-525]: update parsing for devcontainer.json (#3035)
* fix: [CDE-525]: fix step names
* fix: [CDE-525]: fix step names
* feat: [CDE-470]: update the parsing logic for lifecycle steps

fix: [CDE-525]: fix step names
2024-11-22 07:37:12 +00:00
Darko Draskovic
fd9a1ad400 feat: [CODE-2568]: Add rules API for space level (#2865)
* Add openapi spec for space rules
* Merge branch 'main' into dd/space-branch-rules
* Fix doc comments and space permissions
* Merge branch 'main' into dd/space-branch-rules
* Add equal check to update rule
* Merge branch 'main' into dd/space-branch-rules
* Use consistently RuleParentInfo
* Add RuleParentInfo type
* Merge branch 'main' into dd/space-branch-rules
* Rename r to rule in funcs and rule to protection
* Merge remote-tracking branch 'origin/main' into dd/space-branch-rules
* Unifiy instrumentation and audit handling
* Add delete, find, list and patch svc funcs and API endpoints
* Add rules API for space level
2024-11-19 12:52:27 +00:00
Shivakumar Ningappa
a63e2ca2a0 feat: [AH-658]: perform various query optimizations to improve docker pull and other operations (#2994)
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
2024-11-13 21:45:08 +00:00
Deepak Bhatt
f3713715c4 feat: [CDE-483]: add lastupdated filter (#2992)
* add lastupdated filter
2024-11-13 11:55:46 +00:00
Shivakumar Ningappa
edf01c5a9b fix: [AH-585]: add index to improve query performance found during load testing (#2982)
* fix: [AH-585]: add index to improve query performance found during load testing
2024-11-12 13:18:42 +00:00
Dhruv Dhruv
1781c3be70 feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state. (#2977)
* feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state.
2024-11-12 05:58:28 +00:00
Karan Saraswat
123969c7e1 feat: [PIPE-23137]: updated executionInfo struct with more data and added lastExecutions to list space pipelines API (#2958)
* fixed go lint
* fixed go lint
* feat: [CODE-23137]: added execution summary data to list space pipelines API
2024-11-08 19:08:20 +00:00
Marko Gaćeša
b630e9f248 feat: [CODE-2702]: fix string search by '_' or '%' (#2959)
* fix string search by '_' or '%'
2024-11-08 16:27:51 +00:00
Karan Saraswat
0cd3e0693f feat: [PIPE-22871]: API for listing executions for a project/space (#2941)
* fixed go lint
* added header
* Apply suggestions from code review
* feat: [PIPE-22871]: added filters for list space executions API
* feat: [PIPE-22871]: count of pipelines db query will be run if there is more than 1 page
* removed pipelineId ans repoId from executionPipelineRepoJoin
* fixed go lint
* addressed review comments
* Apply suggestions from code review
* Apply suggestions from code review
* fixed lint
* feat: [PIPE-22871]: API for listing executions for a project/space
2024-11-08 11:55:40 +00:00
Ansuman Satapathy
565820fbc8 fix: [CDE-469]: remove pointer types from gitspace scm (#2956)
* fix: [CDE-461]: remove pointer types from gitspace scm
* fix: [CDE-461]: remove pointer types from gitspace scm
* fix: [CDE-461]: remove pointer types from gitspace scm
2024-11-08 09:51:59 +00:00
Marko Gaćeša
7336cab958 feat: [CODE-2702]: fix string search by '_' or '%' (#2946)
* fix string search by '_' or '%'
2024-11-07 15:09:35 +00:00
Deepak Bhatt
d6f64c8af6 feat: [CDE-460]:filter events for cde (#2950)
* filter events
2024-11-07 14:11:51 +00:00
Deepak Bhatt
16dd28329b fix: [CDE-462]:add migration script (#2947)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-migration-script
* update migration script
* add migration file
* fix query
* add migration script
2024-11-07 13:33:25 +00:00
Deepak Bhatt
f79d785f60 fix: [CDE-438]: modify filter logic for marked-for-deletion field (#2935)
* modify delete api
* modify filter logic for marked-for-deletion field
2024-11-06 08:06:56 +00:00
Akhilesh Pandey
2f45f99f8b feat: [CODE-2573]: Allow ID to be sent in userGroupInfo object (#2923)
* feat: [CODE-2573]: Scan UserGroup ID to be returned after creation
* feat: [CODE-2573]: Allow ID to be sent in userGroupInfo object
2024-11-05 16:02:19 +00:00
Ansuman Satapathy
0ca7e83e34 fix: [CDE-454]: added null check for logs, apply state filter (#2922)
* 

fix: [CDE-454]: added null check for logs.
* 

fix: [CDE-454]: added null check for logs.
2024-11-05 03:41:57 +00:00
Ansuman Satapathy
abe335ddd2 fix: [CDE-454]: add the db filter for last used before. (#2917)
* fix: [CDE-454]: add the db filter for last used before.
2024-11-04 13:36:43 +00:00
Ansuman Satapathy
2daeee0b93 feat: [CDE-332]: added a way to filter gitspaces (#2915)
* feat: [CDE-332]: added a way to filter gitspaces
* feat: [CDE-332]: added a way to filter gitspaces
2024-11-04 06:57:06 +00:00
Ansuman Satapathy
2fc779c32a feat: [CDE-332]: updated swagger for gitspaces and sort order for gitspaces activation (#2913)
* feat: [CDE-332]: added a way to filter gitspaces
* feat: [CDE-332]: updated swagger for gitspaces and sort order for gitspaces activation
* feat: [CDE-332]: updated swagger for gitspaces
2024-11-04 04:40:28 +00:00