Marko Gaćeša
53142b18a8
techdebt: [CODE-3218]: use context.WithoutCancel in contextutil ( #3457 )
2025-02-20 19:20:48 +00:00
Marko Gaćeša
a906259562
feat: [CODE-3148]: refactor refcache ( #3390 )
...
* linter issues fix
* reintroduce repofinder to aiagent
* Merge remote-tracking branch 'origin/main' into mg/cache/space-and-repo-finder
* removed refcache deps from aiagent
* pr comments
* fix linter issues
* refactor refcache
2025-02-12 12:42:12 +00:00
Darko Draskovic
3b31d78da6
feat: [CODE-3134]: Add fetch label with include_values query param ( #3369 )
...
* Compose/repack LabelWithValues in find label controller
* Merge remote-tracking branch 'origin/main' into dd/fetch-label-with-values
* Revert to non pointer ListQueryFilter
* Replace Label with LabelWithValues in find repo/space label
* Address review comments
* Add pagination to list values and return all values when fetching a single value
* Add new svc label find with values func
* Add fetch space label with include_values query param
* Add fetch label with include_values query param
2025-02-04 19:53:27 +00:00
Darko Draskovic
2f9d9583e6
feat: [CODE-1805]: Add service account rule bypass list support ( #3297 )
...
* Make service account store code more consistent
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Remove principal controller interface
* Address review comments
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Add pagination to repo/space list service account
* Revert to non embedded Principal to ServiceAccount
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Add query param to service account list
* Add inherited param to principal filter
* Merge remote-tracking branch 'origin/main' into akp/CODE-1805
* Merge remote-tracking branch 'origin/main' into akp/CODE-1805
* Return service account info instead of vanilla service account
* Return principal info to return id instead o
2025-01-31 17:46:24 +00:00
Shivakumar Ningappa
c9d62fdc0e
fix: [AH-626]: check for nil controller to prevent PANIC ( #3280 )
...
* fix: [AH-626]: check for nil controller to prevent PANIC
2025-01-16 07:04:07 +00:00
Ansuman Satapathy
083a24d8eb
feat: [CDE-582]: refactor gitspaces, use spaceCache ( #3227 )
...
* feat: [CDE-582]: refactor gitspaces seperate DB layer.
* feat: [CDE-582]: refactor gitspaces seperate DB layer.
* feat: [CDE-582]: refactor gitspaces seperate DB layer.
* feat: [CDE-582]: refactor gitspaces seperate DB layer.
2025-01-07 05:06:39 +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
c94a181e7e
fix: [code-2912]: minor improvements, requested changes ( #3197 )
...
* minor improvements, requested changes
2024-12-23 16:20:40 +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
Johannes Batzill
096b86da47
fix: [CODE-2942]: space level permission checks for status checks and webhooks ( #3167 )
2024-12-16 22:19:47 +00:00
Johannes Batzill
5698383d44
fix: [CODE-2908]: Fix permission checks for space level rule + label operations ( #3123 )
2024-12-06 21:59:07 +00:00
Ansuman Satapathy
c65f994af9
feat: [CDE-522]: send total gitspaces without applying user filters in header ( #3089 )
...
* feat: [CDE-522]: formatting
* feat: [CDE-522]: formatting
* feat: [CDE-522]: send total gitspaces without applying user filters in header
* feat: [CDE-522]: send total gitspaces without applying filter in header
2024-12-02 07:03:22 +00:00
Darko Draskovic
1c0e049151
fix: [CODE-2855]: Use space permissions in labels and rules controllers ( #3060 )
...
* Use space permissions in labels and rules controllers
2024-11-27 17:22:55 +00:00
Darko Draskovic
d114c23f01
fix: [CODE-2845]: Change space permissions for space rules to repo permissions ( #3044 )
...
* Change space permissions for space rules to repo permissions
2024-11-25 15:11:10 +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
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
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
Andreas Deininger
ff2da8563e
[GH] Fix typos ( #3566 )
...
This PR fixes various typos i spotted in the project.
2024-11-07 11:34:07 -08: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
Deepak Bhatt
516fadfe8f
fix: [CDE-290]: modify list function for gitspaces ( #2908 )
...
* feat: [CDE-332]: debugging
* feat: [CDE-332]: debugging
* feat: [CDE-332]: debugging
* feat: [CDE-332]: debugging
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: remove duplication of code
* feat: [CDE-332]: remove duplication of code
* feat: [CDE-332]: remove duplication of code
*
feat: [CDE-332]: remove duplication of code
*
modify list all
*
fix lint
*
add sorting
*
modify list function
2024-11-01 06:07:53 +00:00
Atefeh Mohseni Ejiyeh
0a35385255
feat: [CODE-2426]: Separate CODE Repo Create/Edit into distinct permissions ( #2758 )
2024-10-23 16:37:06 +00:00
Marko Gaćeša
c628d3307d
feat: [CODE-2483]: skip permission check for space pullreq API and fix the inner loop ( #2791 )
...
* skip permission check for space pullreq API and fix the inner loop
2024-10-09 10:43:32 +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
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
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
Darko Draskovic
af6e94ba2c
Use repo edit and repo view permissions for space label handling ( #2569 )
...
* Use repo edit and repo view permissions for space label handling
2024-08-23 17:03:52 +00:00
Yogesh Chauhan
59614e73f4
feat: [ML-302]: Framework For Harness Intelligence APIs ( #2547 )
...
* feat: [ML-302]: Framework For Harness Intelligence APIs
2024-08-20 22:05:29 +00:00
Darko Draskovic
cd5de8fe62
Fix pullreq count when applying label/value id filter ( #2525 )
...
* Add sanitize func related to label define/update
* Fix pullreq count when applying label/value id filter
2024-08-20 10:46:20 +00:00
Enver Biševac
6d0db9512e
feat: instrumentation, intitial work ( #2475 )
...
* requested changes
* requested changes
* feat: instrumentation, intitial work
2024-08-18 22:04:34 +00:00
Darko Draskovic
c3c75d47aa
Refactor router and openapi related to labels to export setup funcs and params ( #2500 )
...
* Refactor router and openapi related to labels to export setup funcs and params
2024-08-14 14:06:04 +00:00
Ansuman Satapathy
6338af6336
feat: [CDE-192]: modularize gitspace services ( #2396 )
...
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: modularize gitspace services
2024-08-05 10:00:48 +00:00
Darko Draskovic
0cb3c8a4cf
Add render pagination and incremental search to labels ( #2311 )
...
* Remove unused upsert method from label value store
* Add render pagination and incremental search to labels
2024-07-30 15:43:31 +00:00
Darko Draskovic
81fcd524c8
Add label feature ( #2073 )
...
* Address PR comments
* Add list label from ancestor scopes query param
* Add label feature
2024-07-25 14:57:56 +00:00
Abhinav Singh
d0562a573c
feat: [CODE-2146]: add new router paradigm
...
* lint
* address comment
* fix
* ssh ctx
* add ctx for new places
* generate wiregen
* Merge remote-tracking branch 'harness0/main' into abhinav/new-router-paradigm
* Merge branch 'main' into abhinav/new-router-paradigm
* add new discussion changes
* address comment
* address comment
* address comment
* address comment
* address comment
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* style
* remove nil context
* add ctx to missing
* style
* remvoe ctx
* remvoe ctx
* feat: provider should have ctx
2024-07-23 21:39:39 +00:00
Ansuman Satapathy
0bbcc98b61
feat: [CDE-142]: extract gitspace find to its own svc ( #2251 )
...
* feat: [CDE-142]: extract gitspace find to its own svc
* feat: [CDE-142]: extract gitspace find to its own svc
* feat: [CDE-142]: extract gitspace find to its own svc
* feat: [CDE-142]: extract gitspace find to its own svc
* feat: [CDE-142]: extract gitspace find to its own svc
2024-07-19 11:43:43 +00:00
Ansuman Satapathy
b7e720c220
feat: [CDE-142]: gitspace count query optimization ( #2230 )
...
* feat: [CDE-142]: gitspace count query optimization
* feat: [CDE-142]: gitspace count query optimization
2024-07-16 07:59:17 +00:00
Ansuman Satapathy
050415afdf
feat: [CDE-137]: add a service layer for infraproviders, autoadd infraprovider ( #2204 )
...
* feat: [CDE-137]: add missing type.
* feat: [CDE-137]: add missing type.
* feat: [CDE-137]: add missing type.
* feat: [CDE-137]: add missing type.
* feat: [CDE-137]: add a service layer for infraproviders, autoadd infraprovider
2024-07-12 08:45:10 +00:00
Ansuman Satapathy
6e525fca4a
feat: [CDE-127]: read multi-table and multi query data in a single SQL txn ( #2193 )
...
* feat: [CDE-127]: starting and stopping states.
* feat: [CDE-127]: read multi-table and multi query data in a single SQL txn
2024-07-10 07:10:54 +00:00
Ansuman Satapathy
f78439593c
gitspaces API Implementation ( #2136 )
...
* feat: [CDE-83]: fixed linting issues.
* feat: [CDE-83]: fixed linting issues.
* feat: [CDE-83]: fixed linting issues.
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed types
* feat: [CDE-83]: fixed DB comments.
* feat: [CDE-83]: fixed DB comments.
* feat: [CDE-83]: Implemented the action API
* gitspaces API Implementation
2024-07-09 05:23:02 +00:00
Marko Gaćeša
5427130a42
pull request import ( #2121 )
...
* bypass lint
* bump golang version
* using types from migrator
* moving Importing to the RepositoryOutput
* minor changes; improved unit tests
* pr comments
* pr import
* pull request import
2024-07-06 00:46:36 +00:00
Ansuman Satapathy
728a419267
feat: [CDE-83]: Added scaffolding for APIs for gitspaces ( #2173 )
...
* feat: [CDE-83]: Added scaffolding for APIs
* feat: [CDE-83]: Added scaffolding for APIs
2024-07-05 13:03:10 +00:00
Atefeh Mohseni Ejiyeh
bcb8e7e3ce
fix import space API output repo type ( #2099 )
2024-06-12 23:43:14 +00:00
Enver Biševac
2f8900e463
[code-1946] initial work on ssh server ( #2075 )
2024-06-03 12:47:31 +00:00
Johannes Batzill
bc568edd85
fix cleanup for failed repo create, cleanup summary git api ( #2064 )
2024-05-24 00:38:29 +00:00
Atefeh Mohseni Ejiyeh
c365ef246a
Support Public Access ( #2021 )
2024-05-23 04:56:26 +00:00
Enver Bisevac
2ce0f96b59
[code-1524] audit trail for import repositories ( #1209 )
2024-04-12 18:35:29 +00:00
Atefeh Mohseni-Ejiyeh
fea9e46dc8
Mitigate racing condition between create repos and delete space ( #1178 )
2024-04-08 19:14:10 +00:00
Atefeh Mohseni-Ejiyeh
aa330928dd
Restore the space to its exact state at the time of deletion ( #1180 )
2024-04-08 18:19:07 +00:00
Atefeh Mohseni-Ejiyeh
719db4483c
Check limiter on restoring repo and spaces ( #1174 )
2024-04-03 00:36:57 +00:00
Atefeh Mohseni-Ejiyeh
5d0d28e4a3
Support Space Soft Delete, Restore, and Purge ( #1076 )
2024-03-21 23:34:19 +00:00