Ansuman Satapathy
93af2c724e
feat: [CDE-192]: show user info for gitspace listing. ( #2531 )
...
* feat: [CDE-192]: added TODO to move to user int as key
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: wire principal info cache
* feat: [CDE-192]: show user info for gitspace listing.
* feat: [CDE-192]: show user info for gitspace listing.
2024-08-20 09:34:10 +00:00
Ansuman Satapathy
54113d4b06
fix: [CDE-192]: correctly set resources for infraprovider config. ( #2527 )
...
* fix: [CDE-192]: db show ids in error
* fix: [CDE-192]: db show ids in error
* fix: [CDE-192]: db show ids in error
* fix: [CDE-192]: correctly set resources for infraprovider config.
2024-08-19 07:48:37 +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
Ansuman Satapathy
2f3b6a6f85
feat: [CDE-177]: Update listing page for CDE ( #2506 )
...
* feat: [CDE-207]: Fixed typecheck (#2513 )
* feat: [CDE-207]: remove currentUserInfo app prop
* Merge branch 'CDE-207-FixTypeCheck' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-207-FixTypeCheck
* feat: [CDE-207]: remove currentUserInfo app prop
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* fix lint errors (#2520 )
* add copyright header
* add copyright header
* fix lint errors
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: fix gitspace instance store
* Merge remote-tracking branch 'origin/main' into CDE-New
* add secret resolver in gitness (#2493 )
* rename identifier to space identifier
* update factory method
* remove access_key from gitspace table
* add access key and type to devcontainer exec
* add migration for gitspace access key ref
* fix error message for resolver factory
* update resolver interface
* add secret resolver in gitness
* feat: [CDE-192]: correctly update date and sync update
* Merge remote-tracking branch 'origin/main' into CDE-New
# Conflicts:
# app/api/controller/gitspace/action.go
# app/api/controller/gitspace/delete.go
* feat: [CDE-192]: correctly update dates for updated
* feat: [CDE-192]: handle empty inputparams
* feat: [CDE-192]: handle empty inputparams
* Merge remote-tracking branch 'origin/main' into CDE-New
* Merge remote-tracking branch 'origin/main' into CDE-New
* feat: [CDE-207]: Use SCM api hook (#2499 )
* feat: [CDE-207]: Updated Strings
* feat: [CDE-207]: Use SCM api hook
* feat: fixed string issue (#2476 )
* feat: [CDE-211]: fixed lint issues
* feat: [CDE-211]: fixed lint issues
* feat: fixed string issue
* feat: fixed string issue (#2474 )
* feat: fixed string issue
* add ssh identifier in map functions in gitness store
* add ssh fields in types
* feat: fixed GitspaceCodeRepoType in create payload
* feat: updated common hooks
* feat: update for listing
* feat: update for listing
* feat: removed cde folder
* feat: [CDE-177]: Update listing page for CDE
2024-08-16 06:46:02 +00:00
Marko Gaćeša
d089d04025
add space descendants data layer fn ( #2511 )
...
* add space descendants data layer fn
2024-08-14 16:49:30 +00:00
Dhruv Dhruv
236f4dc12a
feat: [CDE-240]: Drop gitspace data in down migration. ( #2503 )
...
* feat: [CDE-240]: Drop gitspace data in down migration.
2024-08-14 07:09:38 +00:00
Johannes Batzill
313c706be7
fix 0051_create_table_public_key.down migration ( #2494 )
2024-08-13 21:03:47 +00:00
Dhruv Dhruv
be471c2151
fix: [CDE-232]: Dropping FK constraint and correcting order of dropping tables. ( #2490 )
...
* fix: [CDE-232]: Dropping FK constraint and correcting order of dropping tables.
2024-08-13 06:52:16 +00:00
Vikyath Harekal
7b275f29e7
feat: [CDE-217]: fix migration ( #2489 )
...
* feat: [CDE-217]: fix migration
2024-08-13 06:43:53 +00:00
Vikyath Harekal
9452c7b21a
feat: [CDE-217]: auto increment id ( #2463 )
...
* feat: [CDE-217]: auto increment id
2024-08-11 06:15:37 +00:00
Vikyath Harekal
86be5e2e8d
feat: [CDE-217]: Migration: Fix column and constraint ( #2458 )
...
* feat: [CDE-217]: address comments
* feat: [CDE-217]: Migration: Fix column and constraint
* feat: [CDE-217]: Migration: Fix column and constraint
2024-08-10 07:00:07 +00:00
Darko Draskovic
d2fe8b7da0
Refactor OR pr label filter to AND filter ( #2433 )
...
* Refactor OR pr label filter to AND filter
2024-08-09 11:23:46 +00:00
Dhruv Dhruv
e400a6df44
feat: [CDE-226]: Migrations to drop iprov_opentofu_template column. ( #2444 )
...
* feat: [CDE-226]: Migrations to drop iprov_opentofu_template column.
2024-08-09 07:34:07 +00:00
Vikyath Harekal
1748e57189
feat: [CDE-212]: Add migration for new table ovh_task_details ( #2428 )
...
* feat: [CDE-212]: remove cascade delete
* feat: [CDE-212]: update index
* feat: [CDE-212]: update constraint
* feat: [CDE-212]: rename table to delegate_provision_details
* feat: [CDE-212]: Add migration for new table ovh_task_details
2024-08-08 10:50:05 +00:00
Darko Draskovic
b1ac141460
Add list labels per pr to pr list ( #2372 ) ( #2387 )
...
* Add list labels per pr to pr list (#2372 )
* Refactor to pullreq(s) backfill funcs
* Add list labels per pr to pr list
2024-08-07 15:32:30 +00:00
Dhruv Dhruv
52bfdfb3f8
feat: [CDE-220]: Adding gitspace instance identifier to infra provisioning. Adding checks to ensure infra status is always same as required. Adding infra status type error enum. Adding util method to derive gitspace container name. Cleaning parameters to use values instead of references. Refactoring fields for infra struct to make them more explicit. Adding config to read agent port and pass it on to infra provider for provisioning and finding. ( #2411 )
...
* feat: [CDE:220]: Adding util method to get working dir from repo name.
* feat: [CDE:220]: Addressing review comments.
* feat: [CDE-220]: Adding gitspace instance identifier to infra provisioning. Adding checks to ensure infra status is always same as required. Adding infra status type error enum. Adding util method to derive gitspace container name. Cleaning parameters to use values instead of references. Refactoring fields for infra struct to make them more explicit. Adding config to read agent port and pass it on to infra provider for provisioning and finding.
2024-08-07 02:29:10 +00:00
Dhruv Dhruv
34a07f4d8b
feat: [CDE-192]: Adding infra template and provisioned stores and using those in infra provisioning flows. ( #2392 )
...
* Addressing review comments and fixing lint issues.
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: Adding infra template and provisioned stores and using those in infra provisioning flows.
2024-08-05 07:48:47 +00:00
Darko Draskovic
497c426a01
Add list labels per pr to pr list ( #2372 )
...
* Refactor to pullreq(s) backfill funcs
* Add list labels per pr to pr list
2024-08-02 11:57:09 +00:00
Darko Draskovic
bb77a835cf
Add pullreq label activities ( #2296 )
...
* Add colors to label activity info
* Refactor FindValueByLabelID query
* Simplify more label activity assign logic
* Simplify label activity assign logic
* Add pullreq label activities
2024-08-01 19:20:54 +00:00
Darko Draskovic
f392fb1015
Add restricted by query label count when using query and sanitize empty label (value) text ( #2335 )
...
* Add restricted by query label count when using query and sanitize empty label (value) text
2024-08-01 15:38:21 +00:00
Dhruv Dhruv
9d5071b45c
feat: [CDE-203]: Making infra processing async. ( #2325 )
...
* Cleaning the flow around gitspace instance update.
* Renaming params and param schema types.
* Correcting comments.
* feat: [CDE-203]: Making infra processing async.
* feat: [CDE-203]: Making infra processing async.
* feat: [CDE-203]: Making infra processing async.
2024-08-01 10:01:31 +00:00
Shashwat Sachan
1e6330a589
feat: [CDE-195]: gitness use repo ref ( #2336 )
...
* feat: [CDE-195]: gitness use repo ref
* feat: [CDE-195]: UI changes for type and ref.
* feat: [CDE-195]: gitness use repo ref
2024-07-31 14:30:09 +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
Marko Gaćeša
d687080cf4
pr reviewer removal ( #2269 )
...
* add reviewer principal ID to activity payload
* pr reviewer removal
2024-07-25 09:55:41 +00:00
Abhinav Singh
ba934bb4e2
feat: [CODE-2127]: fix pr count with filter ( #2238 )
...
* feat: [CODE-2127]: fix pr count with filter
2024-07-17 22:49:36 +00:00
Dhruv Dhruv
afd24f911b
feat: [CDE-146]: API to list all gitspaces for a user. ( #2209 )
...
* feat: [CDE-146]: Addressing review comments-
restructuring method.
* feat: [CDE-146]: API to list all gitspaces.
* feat: [CDE-146]: API to list all gitspaces.
* feat: [CDE-146]: API to list all gitspaces for a user.
2024-07-15 09:43:50 +00:00
Dhruv Dhruv
b9d3bb4d2b
feat: [CDE-140]: Adding docker machine host name config to identify the public host name on which the docker host is running. Updated the docker config to read from the default docker env variables if config values are not set. Updated the events timestamp to use nanoseconds. Fixed the working directory response and cleaned the logic of how the gitspace instance url is generated. Updated the scm service to parse repo name in a provider agnostic manner. ( #2201 )
...
* feat: [CDE-140]: Fixing ProvideGitspaceContainerOrchestratorConfig.
* feat: [CDE-140]: Fixing ProvideGitspaceContainerOrchestratorConfig.
* feat: [CDE-140]: Addressing review comments.
* feat: [CDE-140]: Reverting changes done for docker config default values. Adding default value of GITNESS_GITSPACE_DEFAULT_BIND_MOUNT_SOURCE_BASE_PATH and GITNESS_DOCKER_HOST to Dockerfile. Adding new column in gitspace_events table for storing event timestamp in nanoseconds and corresponding migrations.
* Lingting.
* feat: [CDE-140]: Adding docker machine host name config to identify the public host name on which the docker host is running. Updated the docker config to read from the default docker env variables if config values are not set. Updated the events timestamp to use nanoseconds. Fixed the working directory response and cleaned the logic of how the gitspace instance url is generated. Updated the scm service to parse repo name in a provider agnostic manner.
2024-07-13 04:35:20 +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
Marko Gaćeša
4ac42fc6c9
Add additions and deletions to PRs ( #2196 )
2024-07-11 10:01:17 +00:00
Ansuman Satapathy
18226c8914
feat: [CDE-137]: check valid code repository for CDE use. ( #2197 )
...
* feat: [CDE-137]: check valid code repository for CDE use.
* feat: [CDE-137]: check valid code repository for CDE use.
* feat: [CDE-137]: check valid code repository for CDE use.
2024-07-11 05:47:29 +00:00
Kapil Garg
dd143cc37e
add migration to add columns in infra_provisioned table ( #2154 )
...
* rename migration files
* change column type to TEXT
* change column type to TEXT
* update migration scripts
* add migration to add columns in infra_provisioned table
2024-07-10 13:35:50 +00:00
Dhruv Dhruv
e712903728
feat: [CDE-94]: Adding events for gitspace transitions. ( #2195 )
...
* feat: [CDE-94]: Fixing gitspace url.
* feat: [CDE-94]: Linting
* feat: [CDE-94]: Adding events for gitspace transitions.
2024-07-10 13:06:38 +00:00
Ansuman Satapathy
bf0890bd07
feat: [CDE-127]: updated gitspace delete logic, fixed listing ( #2183 )
...
* fixed events list API query
* feat: [CDE-127]: fixed events list API
* fixed events list API query
* feat: [CDE-127]: updated gitspace delete logic, fixed listing
2024-07-09 14:03: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
Dhruv Dhruv
f3d3f7392a
feat: [CDE-93]: List API to fetch gitspace events. ( #2176 )
...
* feat: [CDE-93]: Adding openapi spec.
* feat: [CDE-93]: List API to fetch gitspace events.
2024-07-08 08:29:56 +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
Dhruv Dhruv
3ccd39df01
feat: [CDE-126]: Addressing review comments. ( #2171 )
...
* feat: [CDE-126]: Addressing review comments.
* feat: [CDE-126]: Addressing review comments.
* feat: [CDE-126]: Addressing review comments.
* feat: [CDE-126]: Addressing review comments.
2024-07-05 11:20:09 +00:00
Dhruv Dhruv
1b244fe624
Adding soft delete to gitspace_configs table ( #2125 )
2024-06-19 08:42:41 +00:00
Dhruv Dhruv
b36b2315ad
Updating events and gitspaces tables ( #2115 )
2024-06-17 12:06:05 +00:00
Dhruv Dhruv
d903c0ffed
Changing names to display names and replacing default unique constraints with named unique indexes ( #2098 )
2024-06-17 06:25:55 +00:00
Johannes Batzill
6645c274d3
Ensure principal_uid_unique is updated with principal_uid ( #2111 )
2024-06-14 18:18:26 +00:00
Johannes Batzill
329181ed1a
Update principal uid for user/sa/service ( #2107 )
2024-06-14 01:16:09 +00:00
Dhruv Dhruv
26760cdbd2
Adding commands to alter cde tables ( #2085 )
2024-06-10 13:27:21 +00:00
Dhruv Dhruv
58bf870038
fix: [CDE-62]: Adding gitspaces FK post table creation in infra_provisioned table in postgres ( #2084 )
2024-06-07 13:37:46 +00:00
Dhruv Dhruv
7c2431c652
fix: [CDE-62]: Fixing foreign key constraint in gitspaces table, making gits_infra_provisioned_id nullable ( #2079 )
2024-06-05 13:40:06 +00:00
Dhruv Dhruv
67be37cb08
feat: [CDE-62]: Introducing changes related to Gitspaces in Gitness ( #2072 )
2024-05-29 09:37:35 +00:00
Marko Gaćeša
0d72a20450
ssh public keys: db and api ( #2058 )
2024-05-27 14:26:21 +00:00
Johannes Batzill
1f43f091de
Fix Sorting of PR Activity Listing ( #2061 )
2024-05-23 20:12:25 +00:00
Atefeh Mohseni Ejiyeh
c365ef246a
Support Public Access ( #2021 )
2024-05-23 04:56:26 +00:00
Atefeh Mohseni Ejiyeh
831cf18abc
Exclude soft deleted spaces on membership listing ( #2059 )
2024-05-22 18:15:51 +00:00
Johannes Batzill
9e7f80ebe0
Code Suggestions - Backend Support ( #2006 )
2024-04-26 16:54:50 +00:00
Johannes Batzill
86537b2c39
Fix merge related issues ( #2012 )
2024-04-25 22:00:53 +00:00
Darko Draskovic
9699ec503d
Add closed timestamp to pull req ( #1222 )
2024-04-17 20:24:04 +00:00
Abhinav Singh
aff7391e08
feat: add multi user created by filter ( #1190 )
2024-04-09 09:30:26 +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
Abhinav Singh
f20189812b
feat: list pr time filter ( #1188 )
2024-04-05 23:17:33 +00:00
Atefeh Mohseni-Ejiyeh
b64f4c41fa
Update default branch on empty repo for first commit ( #1122 )
2024-04-04 01:16:43 +00:00
Johannes Batzill
2eac3c3499
add custom comparison for setting_value in postgres ( #1161 )
2024-03-28 16:36:43 +00:00
Johannes Batzill
39a998eacd
Adding Repo Level Settings ( #1145 )
2024-03-28 03:36:15 +00:00
Atefeh Mohseni-Ejiyeh
5d0d28e4a3
Support Space Soft Delete, Restore, and Purge ( #1076 )
2024-03-21 23:34:19 +00:00
Darko Draskovic
e7436eef80
Add support for mentions in comments ( #1064 )
2024-03-15 20:54:25 +00:00
Marko Gacesa
06109ccce7
space path InsertSegment() returns ID ( #1082 )
2024-02-29 14:47:22 +00:00
Johannes Batzill
73ffe71afe
Log error translation under requestID to improve traceability ( #1070 )
2024-02-27 06:05:42 +00:00
Marko Gacesa
f8f1453de1
add new API: list status checks for a pullreq ( #1042 )
2024-02-22 10:39:25 +00:00
Atefeh Mohseni-Ejiyeh
24fbf49168
repo soft delete improvements ( #1045 )
2024-02-22 05:25:29 +00:00
Darko Draskovic
c949308596
List all Repos at Account level or Space Level recursively ( #999 )
2024-02-21 16:59:44 +00:00
Atefeh Mohseni-Ejiyeh
a6d017de02
soft delete improvements and bug fixes ( #1044 )
2024-02-15 01:32:59 +00:00
Atefeh Mohseni-Ejiyeh
fc9e77c91c
Support soft delete, restore and purge repos plus a cleanup job for old deleted repos ( #1005 )
2024-02-14 01:39:39 +00:00
Johannes Batzill
adf2046a94
[MISC] Move UID
to Identifier
to match Harness Standards ( #992 )
2024-01-29 23:29:53 +00:00
Darko Draskovic
a4d47e12b2
Add integration tests for GetRootSpace, CountAll and GetSize spc and repo store methods ( #969 )
2024-01-22 16:44:15 +00:00
Abhinav Singh
92761a11ee
fix: change created to be bigint ( #978 )
2024-01-20 04:38:01 +00:00
Abhinav Singh
60acd67047
fix: bump migration number ( #977 )
2024-01-20 00:03:08 +00:00
Abhinav Singh
837ba6f29d
feat: add start and end time to check ( #958 )
2024-01-18 00:17:45 +00:00
Vistaar Juneja
76e3c06b6b
Templates support for v1 pipelines ( #955 )
2024-01-12 11:02:31 +00:00
Darko Draskovic
38a2d43cbc
Add repo and space store funcs for repo size and repo count ( #957 )
2024-01-11 17:39:05 +00:00
Atefeh Mohseni-Ejiyeh
4c90cec3e5
remove default Admin account /environment variables ( #938 )
2024-01-03 18:31:47 +00:00
Johannes Batzill
53555544a2
[Webhook] Add UID field ( #936 )
2023-12-29 16:39:45 +00:00
Darko Draskovic
c58e82672b
Add func to git service to count repo objects and read repo size ( #886 )
2023-12-29 12:33:53 +00:00
Atefeh Mohseni-Ejiyeh
14e241f764
delete single job func added to job package ( #932 )
2023-12-28 22:03:14 +00:00
Atefeh Mohseni-Ejiyeh
5aec7bf37f
move job package to the top level ( #883 )
2023-12-08 17:06:44 +00:00
Marko Gacesa
03b33aca77
store PR commit count in the DB ( #842 )
2023-11-30 15:01:18 +00:00
Abhinav Singh
5dc8c93233
feat: protect internal webhook from mutation and listing ( #830 )
2023-11-29 18:25:52 +00:00
Abhinav Singh
a2e1cd8653
feat: init usrgrp store ( #782 )
2023-11-11 01:47:37 +00:00
Marko Gacesa
3a7617a2e6
add dry_run option to the merge API ( #737 )
2023-11-01 19:57:28 +00:00
Abhinav Singh
00cc64029a
MISC: Fix go lint issues
2023-10-20 15:30:32 -07:00
Marko Gacesa
fcc8c0be73
use dedicated DB query to fetch all repo rules ( #702 )
2023-10-20 11:06:33 +00:00
Marko Gacesa
7e4632cb5f
add API: get recent status check UIDs ( #685 )
2023-10-19 06:19:42 +00:00
Marko Gacesa
7bbeca2750
status checks: use DB-layer list status checks results func ( #692 )
2023-10-19 05:43:36 +00:00
Johannes Batzill
1ea0025f99
[MISC] Fix Linting/Formatting/Generated Files ( #697 )
2023-10-19 00:36:07 +00:00
Marko Gacesa
419fe92dde
add branch protection: DB and API layer ( #671 )
2023-10-16 11:33:00 +00:00
Vistaar Juneja
b26a75d4f6
unmarshal step deps only if step exists during stage join ( #660 )
2023-10-06 14:08:31 +00:00
Johannes Batzill
d83552f288
[MISC] Cleanup stale Webhook-Executions
& Session Tokens
( #640 )
2023-10-03 17:54:18 +00:00
Johannes Batzill
a8cb5dc8d2
remove internal package and move to app - might be refactored more in the coming weeks
2023-09-26 11:25:15 -07:00