Enver Biševac
da44afe021
improve audit logs ( #2242 )
...
* improve audit logs
2024-07-18 12:15:31 +00:00
Dhruv Dhruv
dfb69afade
fix: [CDE-179]: Fixing gitspaces OpenAPI spec. ( #2246 )
...
* fix: [CDE-179]: Fixing gitspaces OpenAPI spec.
2024-07-18 09:19:34 +00:00
Dhruv Dhruv
bb7433ef9a
feat: [CDE-175]: Changing all shell commands from bash to sh. ( #2244 )
...
* feat: [CDE-175]: Changing all shell commands from bash to sh.
2024-07-18 08:01:37 +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
ed92f75f68
feat: [CDE-173]: Running IDE and related services on boot up. Changing entrypoint cmd for quicker stopping. ( #2240 )
...
* feat: [CDE-173]: Running IDE and related services on boot up. Changing entrypoint cmd for quicker stopping.
2024-07-17 13:12:49 +00:00
Dhruv Dhruv
1af6be80e9
feat: [CDE-174]: Adding logic to restart gitspaces. ( #2239 )
...
* feat: [CDE-174]: Linting
* feat: [CDE-174]: Updating the entrypoint to trap SIGTERM.
* feat: [CDE-174]: Adding logic to restart gitspaces.
2024-07-17 09:28:29 +00:00
Dhruv Dhruv
411eda9819
Changing order of execution for postCreateCommand and using repo name as working dir ( #2236 )
...
* Changing order of execution for postCreateCommand and using repo name as working dir
2024-07-16 14:23:22 +00:00
Ansuman Satapathy
767bb717d9
feat: [CDE-142]: provider interface pass pointers. ( #2232 )
...
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
* feat: [CDE-142]: provider interface pass pointers.
2024-07-16 13:06:08 +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
Dhruv Dhruv
6e516183fd
feat: [CDE-163]: Moving dir creation and deletion to infra provider. Refactoring gitspace env variables. Renaming unprovisioning to deprovisioning. ( #2231 )
...
* feat: [CDE-163]: Moving dir creation and deletion to infra provider. Refactoring gitspace env variables. Renaming unprovisioning to deprovisioning.
2024-07-16 07:59:02 +00:00
Johannes Batzill
7d5ac7b45c
fix: [CODE-2114]: Return 404 if anonymous makes user restricted call ( #2225 )
2024-07-15 19:07:14 +00:00
Enver Biševac
7c2c732c9f
fix complex file extensions like tar.gz ( #2143 )
...
* fix complex file extensions like tar.gz
2024-07-15 14:41:58 +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
b4f35ddbbe
feat: [CDE-156]: Changes to install SSH server only when the IDE is VS Code. ( #2222 )
...
* feat: [CDE-156]: Changes to install SSH server only when the IDE is VS Code.
2024-07-15 09:21:31 +00:00
Dhruv Dhruv
8315560180
feat: [CDE-153]: Cloning the code inside the Gitspace using the given branch. ( #2220 )
...
* feat: [CDE-153]: Cloning the code inside the Gitspace using the given branch.
2024-07-15 08:13:06 +00:00
Dhruv Dhruv
2785206535
fix: [CDE-150]: In logstream, adding locking and panic recovery around a subscriber's publish method. Adding check in the stream's publish method to not publish if the sub is closed. Closing the err channel in the log stream API handler. ( #2218 )
...
* Formatting.
* fix: [CDE-150]: In logstream, adding locking and panic recovery around a subscriber's publish method. Adding check in the stream's publish method to not publish if the sub is closed. Closing the err channel in the log stream API handler.
2024-07-15 08:10:59 +00:00
Ansuman Satapathy
56df9da6b8
fix: [CDE-141]: gitspace start stop ( #2216 )
...
* fix: [CDE-141]: gitspace start stop
* fix: [CDE-141]: gitspace start stop
* fix: [CDE-141]: gitspace start stop
2024-07-15 06:36:46 +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
Deepesh Kumar
0a5ed06f02
feat: [CDE-129]: added flag gitspace_enabled ( #2214 )
...
* feat: [CDE-129]: fixed lint
* feat: [CDE-129]: fixed lint
* feat: [CDE-129]: updated flag gitspace_enabled
* feat: [CDE-129]: updated webpack
* feat: [CDE-129]: updated webpack
* feat: [CDE-129]: added flag gitspace_enabled
2024-07-13 04:28:07 +00:00
Ansuman Satapathy
31ae886d00
fix: [CDE-141]: corrected infraprovider auto-creation check ( #2210 )
...
* fix: [CDE-141]: corrected infraprovider auto-creation check
2024-07-12 16:56:53 +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
Dhruv Dhruv
94b0f0178a
feat: [CDE-136]: Removing password authentication for code-server and breaking setup in installation and run. ( #2202 )
...
* feat: [CDE-136]: Removing password authentication for code-server and breaking setup in installation and run.
2024-07-11 08:30:21 +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
Johannes Batzill
76682ad400
[FIX] update unresolved comment count when suggestions are applied ( #2198 )
2024-07-10 23:05:22 +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
61f1bc55fe
feat: [CDE-137]: made gitspace actions async and refactored orchestrator to handle errors correctly ( #2194 )
...
* feat: [CDE-137]: made gitspace actions async and refactored orchestrator to handle errors correctly
2024-07-10 10:44:36 +00:00
Dhruv Dhruv
87157de7fa
feat: [CDE-127]: Adding changes to include logging in container orchestration's start flow. ( #2192 )
...
* feat: [CDE-96]: Renaming reusable scanner as scanner doesn't support resetting the reader. Removing closec as return param in livelog.Tail method. CLosing the handler channel when the stream is closed, this ensures the consumer to know the channel is closed. Adding a check in the render.StreamSSE to close the stream when the events channel is closed and drained.
* feat: [CDE-127]: Changes to enable log stream API for gitspaces. Adding close channel to the logstream Tail method. Changes to use a default host and working dir from config for a running gitspace instance's URL. Change to append gitspaces to the bind mount of the gitspace container in the container orchestrator instead of in the config provider.
* Initial commit
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Adding flush stream logic to delete gitspace in orchestrator. Linting.
* feat: [CDE-127]: Addressing review comments.
* feat: [CDE-127]: Adding changes to make logutil.StatefulLogger a wrapper on livelog.LogStream and adding initialisation and flush functions.
* feat: [CDE-127]: Adding changes to make logutil.StatefulLogger a wrapper on livelog.LogStream and adding initialisation and flush functions.
* feat: [CDE-127]: Adding changes to include logging in container orchestration's start flow.
2024-07-10 10:25:41 +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
Dhruv Dhruv
d577102d5e
feat: [CDE-127]: Adding changes to include logging in container orchestration. ( #2178 )
...
* feat: [CDE-127]: Linting.
* Merge branch 'refs/heads/main' into CDE-127
# Conflicts:
# app/gitspace/orchestrator/container/embedded_docker.go
# cmd/gitness/wire.go
* feat: [CDE-127]: Addressing review comments.
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Removing streams map from StatefulLogger. Flushing the stream every time the invoking function is closed.
* feat: [CDE-127]: Adding flush stream logic to delete gitspace in orchestrator. Linting.
* feat: [CDE-127]: Adding flush stream logic to delete gitspace in orchestrator. Linting.
* feat: [CDE-127]: Addressing review comments.
* feat: [CDE-127]: Adding changes to make logutil.StatefulLogger a wrapper on livelog.LogStream and adding initialisation and flush functions.
* feat: [CDE-127]: Adding changes to make logutil.StatefulLogger a wrapper on livelog.LogStream and adding initialisation and flush functions.
* feat: [CDE-127]: Adding changes to include logging in container orchestration's stop flow.
* feat: [CDE-127]: Adding changes to include logging in container orchestration's start flow.
2024-07-09 21:13:47 +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
34df7cf137
feat: [CDE-94]: Adding orchestration to start, stop and delete Gitspaces. ( #2159 )
...
* Addressing review comments.
* feat: [CDE-94]: Rebasing PR. Adding StartResponse to store container orchestration start response. Refactoring provisioner to clean the method params.
* feat: [CDE-94]: Using ports returned by the container orchestrator
* feat: [CDE-94]: Adding orchestrtion to start, stop and delete Gitspaces.
2024-07-08 20:10:44 +00:00
Karan Saraswat
b10fa3ea76
fix for making imported ADO repos' visibility the same as it's project's visibility ( #2179 )
...
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into ks/CODE-2073
* removed extra check for azure provider type for importing
* fix for making imported ADO repos' visibility the same as it's project's visibility
2024-07-08 18:39:48 +00:00
Johannes Batzill
28b55f0e53
Move Register/Login/Logout ( #2172 )
...
* move register/login/logout, git resources, and system check APIs outside of auth
2024-07-08 17:53:45 +00:00
Karan Saraswat
c6f6d83e74
fix for making imported ADO repos' visibility the same as it's project's visibility ( #2174 )
...
* fix for making imported ADO repos' visibility the same as it's project's visibility
2024-07-08 17:39:50 +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
Dhruv Dhruv
d46516baa7
feat: [CDE-115]: Adding implementation for infra_provisioner
...
* feat: [CDE-115]: Rebasing
* feat: [CDE-115]: Rebasing
* feat: [CDE-115]: Rebasing
* feat: [CDE-115]: Adding default value for docker host
* feat: [CDE-115]: Rebasing
* Rebasing
* Rebasing
* Rebasing
2024-07-05 15:07:07 +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
3acded8ed8
feat: [CDE-92]: Container orchestrator and IDE service
...
* feat: [CDE-92]: Removing Client method from infraprovider interface and using DockerClientFactory to generate docker clients. Using go templates to substitute values in gitspace scripts. Setting a default base path for gitspaces if not provided.
* Rebasing
* feat: [CDE-92]: Addressing review comments.
* Rebasing
* Rebasing
* feat: [CDE-92]: Addressing review comments
* Rebasing
* feat: [CDE-92]: Using port from config for code-server installation
* feat: [CDE-92]: Initial commit
* Rebasing
2024-07-05 05:28:31 +00:00
Dhruv Dhruv
21897dc090
feat: [CDE-116]: Adding SCM pkg responsible for fetching devcontainer config from public code repos ( #2141 )
2024-07-02 18:40:36 +00:00
Abhinav Singh
b333f42142
feat: add users check ( #2132 )
2024-07-01 20:45:12 +00:00
Atefeh Mohseni Ejiyeh
d06dd5c2fd
fix:update default branch for empty repos if doesnt exist ( #2127 )
2024-06-28 02:16:39 +00:00
Dhruv Dhruv
1b244fe624
Adding soft delete to gitspace_configs table ( #2125 )
2024-06-19 08:42:41 +00:00
Johannes Batzill
4c4924495c
[Fix] Fix .git
path rewriting for end of path scenarios ( #2117 )
2024-06-17 21:19: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
Dhruv Dhruv
64268b96c3
feat: [CDE-69]: Making page and limit query params in openapi spec public. ( #2114 )
2024-06-16 03:41:10 +00:00
Johannes Batzill
6645c274d3
Ensure principal_uid_unique is updated with principal_uid ( #2111 )
2024-06-14 18:18:26 +00:00
Darko Draskovic
fe7b1941ef
Add omitempty to stats and run get change info for changes and types in parallel ( #2105 )
2024-06-14 15:41:53 +00:00
Johannes Batzill
329181ed1a
Update principal uid for user/sa/service ( #2107 )
2024-06-14 01:16:09 +00:00
Atefeh Mohseni Ejiyeh
b005db9920
fix: Return Unauthorized for /user endpoint APIs if session is anonymous ( #2102 )
2024-06-13 02:05:26 +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
f0e12faa67
[code-2009] only if ssh is enabled show ssh url box ( #2101 )
2024-06-12 18:34:25 +00:00
Atefeh Mohseni Ejiyeh
7899ebd3a3
fix: duplicate openapi operation id for public access ( #2087 )
2024-06-10 16:48:47 +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
Johannes Batzill
d35db42583
Update CODEOWNERS to match github ( #2069 )
2024-06-06 16:58:01 +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
Enver Biševac
2f8900e463
[code-1946] initial work on ssh server ( #2075 )
2024-06-03 12:47:31 +00:00
Marko Gaćeša
ef18a7aff2
fix ssh key fingerprint ( #2076 )
2024-06-03 08:40:02 +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
Karan Saraswat
8d5c83d035
fix: [CODE-1949]: fix for trigger filters not working ( #2068 )
2024-05-25 04:37:55 +00:00
Shubham Agrawal
226fc83849
fix: [CODE-1926]: Fix incorrect error code in openai commit files api ( #2049 )
2024-05-24 06:30:11 +00:00
Johannes Batzill
bc568edd85
fix cleanup for failed repo create, cleanup summary git api ( #2064 )
2024-05-24 00:38:29 +00:00
Johannes Batzill
1f43f091de
Fix Sorting of PR Activity Listing ( #2061 )
2024-05-23 20:12:25 +00:00
Darko Draskovic
adf041d747
Add repo summary endpoint ( #2037 )
2024-05-23 18:45:28 +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
Marko Gaćeša
0d1e536531
feat: [CODE-1788]: code comment block must start and end on the same side ( #2053 )
2024-05-22 15:42:47 +00:00
Atefeh Mohseni Ejiyeh
f66bfa153f
fix: clone repos with .git prefix not found error ( #2057 )
2024-05-22 03:00:43 +00:00
Shubham Agrawal
a0ac3e86c5
fix: [CODE-1924]: Add support for keyword search recursively in space paths ( #2048 )
2024-05-21 05:58:50 +00:00
Johannes Batzill
38553bca7b
Lock pr number for dryrun instead of across whole repo ( #2038 )
2024-05-20 18:45:09 +00:00
Darko Draskovic
d4ca33b82d
Temporary rename info/alternates so --batch-all-objects doesn't follow it ( #2039 )
2024-05-20 18:43:52 +00:00
Johannes Batzill
6da5c93706
Only allow admin to bypass rules if bypassing is allowed ( #2047 )
2024-05-17 22:32:35 +00:00
Karan Saraswat
ca0148816a
feat: [CODE-1908]: Worked on ADO import functionality review comments ( #2044 )
2024-05-16 06:30:35 +00:00
Darko Draskovic
8049651963
Temporarily comment out file size check ( #2040 )
2024-05-15 16:26:10 +00:00
Johannes Batzill
ea49937a1e
[MISC] Fix routing for gitXXX and apiXXX space names ( #2035 )
2024-05-14 00:02:57 +00:00
Karan Saraswat
a489b28ed8
feat: [CODE-1876]: adding azure driver for importing azure repos ( #2025 )
2024-05-13 11:26:32 +00:00
Darko Draskovic
e31f33adde
Add comment mentions metadata and return id to principal info mapping in list activity response ( #2024 )
2024-05-10 23:22:59 +00:00
Johannes Batzill
423801d51a
[Secret Scanning] Add basic support for gitleaksignore ( #2030 )
2024-05-09 22:00:03 +00:00
Johannes Batzill
f6614fe151
Minor Fixes ( #2028 )
2024-05-09 00:01:52 +00:00
Abhinav Singh
cfddbeb143
feat: add desc to webhooks ( #2022 )
2024-05-06 18:41:17 +00:00
Abhinav Singh
a576087694
feat: add etag for raw api ( #2018 )
2024-05-03 20:03:37 +00:00
Abhinav Singh
7103d88109
feat: convert to private for export ( #2020 )
2024-04-30 23:28:39 +00:00
Enver Biševac
ed97ff8398
[code-1822-maint] minor requested changes ( #2017 )
2024-04-26 23:51:26 +00:00
Enver Biševac
723377482c
[code-1822] Download repository as archive using git archive
command ( #2010 )
2024-04-26 20:03:51 +00:00
Johannes Batzill
915cf2cbb9
Minor Change to Match Commit API ( #2015 )
2024-04-26 19:32:45 +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
Akhilesh Pandey
4748966078
feat: [CODE-1741]: add new API endpoint for principal find operation ( #1227 )
2024-04-25 13:10:56 +00:00
Abhinav Singh
e528ce2370
fix: codeowner file parse error as first class error ( #2003 )
2024-04-24 19:53:21 +00:00
Darko Draskovic
e2689a3b40
Add push file size limit and report func (and use it in githook) ( #1173 )
2024-04-24 16:31:18 +00:00
Abhinav Singh
28ba149c74
fix: remove extra error for indexer on gitness ( #2004 )
2024-04-23 15:27:59 +00:00
suchsoon
d9b04d51c6
remove repetitive words ( #3484 )
2024-04-19 16:28:04 -07:00
Enver Bisevac
d31dd11fcf
[code-1692] update repo settings audit log ( #1231 )
2024-04-19 09:43:51 +00:00
Johannes Batzill
a690fa4ebc
small fixes ( #1232 )
2024-04-19 01:36:03 +00:00
Darko Draskovic
9699ec503d
Add closed timestamp to pull req ( #1222 )
2024-04-17 20:24:04 +00:00
Enver Bisevac
2ce0f96b59
[code-1524] audit trail for import repositories ( #1209 )
2024-04-12 18:35:29 +00:00
Marko Gacesa
781b3547c0
refactor git hook calling and shared repo ( #1200 )
2024-04-12 09:48:35 +00:00
Akhilesh Pandey
fb78234a0f
feat: [CODE-1741]: add new interface and controller method for principal fetch ( #1206 )
2024-04-12 05:30:08 +00:00
Johannes Batzill
8ed9457cd3
fix indentation for secret scan CLI output ( #1201 )
2024-04-10 20:04:19 +00:00
Johannes Batzill
5652ca7bb3
Add Repo Path Listing API ( #1197 )
2024-04-10 20:04:08 +00:00
Abhinav Singh
aff7391e08
feat: add multi user created by filter ( #1190 )
2024-04-09 09:30:26 +00:00
Enver Bisevac
227aac90b5
[code-1524] audit trails package ( #1176 )
2024-04-08 21:13:57 +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
Johannes Batzill
c5383940bd
Integrate approvals.RequireLatestcommit to merge dryrun ( #1183 )
2024-04-04 22:39:23 +00:00
Atefeh Mohseni-Ejiyeh
b64f4c41fa
Update default branch on empty repo for first commit ( #1122 )
2024-04-04 01:16:43 +00:00
Atefeh Mohseni-Ejiyeh
719db4483c
Check limiter on restoring repo and spaces ( #1174 )
2024-04-03 00:36:57 +00:00
Johannes Batzill
b02da4b78a
Improve secret scanning output ( #1170 )
2024-03-29 19:33:08 +00:00
Johannes Batzill
594cb3bae5
Add summary line to secret scan ( #1167 )
2024-03-29 04:01:06 +00:00
Johannes Batzill
e4db4dc4ff
Enable Secret Scanning for Empty Repo ( #1165 )
2024-03-29 00:40:16 +00:00
Johannes Batzill
2eac3c3499
add custom comparison for setting_value in postgres ( #1161 )
2024-03-28 16:36:43 +00:00
Johannes Batzill
6093a4cab8
Put secret scanning behind setting ( #1160 )
2024-03-28 06:43:37 +00:00
Atefeh Mohseni-Ejiyeh
bd2e9f4899
[GITLEAKS] Support Secret Scanning in Git and Pre-receive Hook ( #1155 )
2024-03-28 05:49:04 +00:00
Johannes Batzill
39a998eacd
Adding Repo Level Settings ( #1145 )
2024-03-28 03:36:15 +00:00
Johannes Batzill
e96ab4159b
Add alternate_object_dirs support to githook handlers ( #1141 )
2024-03-26 23:52:49 +00:00
Abhinav Singh
96f35b6e01
feat: add repochecks ( #1132 )
2024-03-26 22:22:30 +00:00
Enver Bisevac
cecfecdb06
[code-1016] Replace gitea
Usages (not wrapper) ( #1063 )
2024-03-26 20:31:30 +00:00
Darko Draskovic
8dc82433c5
Add generic pre/post receive extender ( #1138 )
2024-03-26 18:17:28 +00:00
Atefeh Mohseni-Ejiyeh
5d0d28e4a3
Support Space Soft Delete, Restore, and Purge ( #1076 )
2024-03-21 23:34:19 +00:00
Johannes Batzill
fd2f3c1e38
[MISC] Add customized commit message support to PR ( #1126 )
2024-03-21 06:41:12 +00:00
Johannes Batzill
a6bfe6235f
[MISC] Fix naming inconsistencies for FileDiffStatus ( #1128 )
2024-03-21 01:39:02 +00:00
Abhinav Singh
16ef31bcb6
feat: support diff repo id check in harness code ( #1123 )
2024-03-21 00:38:18 +00:00
Darko Draskovic
564a0fef61
Add support for listing commit related per file stats ( #1116 )
2024-03-20 18:31:48 +00:00
Abhinav Singh
dae465a111
feat: self as codeowner can be skipped ( #1124 )
2024-03-20 00:41:02 +00:00
Darko Draskovic
e7436eef80
Add support for mentions in comments ( #1064 )
2024-03-15 20:54:25 +00:00
Johannes Batzill
a79a5ca489
[AUTHZ] Fix scope of permission checks for checks without resource ( #1119 )
2024-03-15 16:10:30 +00:00
Johannes Batzill
dc7b3bc79a
[Rules] Expose extra Branch.PullReq
fields on merge DryRyn as required by UI ( #1117 )
2024-03-13 23:37:10 +00:00
Abhinav Singh
e1927fd162
feat: fix repo rule swagger ( #1103 )
2024-03-07 01:07:26 +00:00
Shubham Agrawal
7ee761c632
Add non-regex search capability in keyword search ( #1059 )
2024-03-01 07:55:47 +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
Darko Draskovic
8150be7a3b
Add commit diff stat to list commits ( #1062 )
2024-02-23 11:27:06 +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
Johannes Batzill
e7520a983b
[SECURITY] move to latest swagger-ui version to fix url injection vulnerability ( #1061 )
2024-02-22 00:38:06 +00:00
Darko Draskovic
c949308596
List all Repos at Account level or Space Level recursively ( #999 )
2024-02-21 16:59:44 +00:00
Darko Draskovic
6f270eb3ae
Add rule to block PR merge if changes are requested by reviewer ( #1054 )
2024-02-21 16:32:02 +00:00
Marko Gacesa
5d44bd0128
improve git push rule bypass messages ( #1043 )
2024-02-21 10:47:27 +00:00
Johannes Batzill
dd11c0eff5
Fix Rebase
implementation ( #1049 )
2024-02-20 17:45:09 +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
Atefeh Mohseni-Ejiyeh
a937793edb
fix lint errors ( #1034 )
2024-02-09 01:15:15 +00:00
Darko Draskovic
d96afd89bd
Add additions and deletions stats to commit file response ( #1015 )
2024-02-07 16:07:53 +00:00
Marko Gacesa
e3bf017f78
Rewrite of git merge ( #1023 )
2024-02-07 09:40:04 +00:00
Abhinav Singh
e0f8248ead
feat: files in webhook payload ( #1013 )
2024-02-06 02:06:43 +00:00
Johannes Batzill
b173a7cbec
[Swagger] Update Webhook URLs to webhook_identifier and add retrigger execution operation ( #1019 )
2024-02-03 01:59:47 +00:00
Abhinav Singh
87cae05747
feat: different openapi for harness code ( #997 )
2024-01-30 21:51:44 +00:00
Johannes Batzill
adf2046a94
[MISC] Move UID
to Identifier
to match Harness Standards ( #992 )
2024-01-29 23:29:53 +00:00
Enver Bisevac
f39852dc62
[fix] internal error should be always logged in error level ( #982 )
2024-01-24 12:28:01 +00:00
Enver Bisevac
7f7f8bf625
[code-1288] new diff api features [paths, line expanders] ( #968 )
2024-01-23 12:36:04 +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
Atefeh Mohseni-Ejiyeh
29f781201f
support update default branch ( #973 )
2024-01-20 07:10:16 +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
Johannes Batzill
8be57c6f09
[MISC] fix repo delete for older repos that failed import ( #972 )
2024-01-17 19:10:10 +00:00
Johannes Batzill
5ad3f8567a
Add support of git url redirect for custom git domain ( #971 )
2024-01-17 08:58:28 +00:00
Vistaar Juneja
5869c132e6
add support for container networks for pipelines ( #962 )
2024-01-15 15:02:04 +00:00
Johannes Batzill
123267c918
[MISC] Remove References From Diff Cut ( #966 )
2024-01-12 23:25:03 +00:00
Johannes Batzill
a892dda829
[CODE-1287] Improve PR Merge for canceled Request ( #963 )
2024-01-12 20:25:16 +00:00
Akhilesh Pandey
74def977f2
feat: add support for video formats to upload ( #960 )
2024-01-12 15:43:53 +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
Darko Draskovic
9f69a4fee1
Add missing parameters to repo count limiter func ( #944 )
2024-01-09 17:20:27 +00:00
Shubham Agrawal
18c81b04b4
Fix repo sizing job cron ( #948 )
2024-01-08 09:19:30 +00:00
Vistaar Juneja
a27a1e4abb
add support for starlark/jsonnet for drone v1 ( #940 )
2024-01-05 14:10:22 +00:00
Atefeh Mohseni-Ejiyeh
4c90cec3e5
remove default Admin account /environment variables ( #938 )
2024-01-03 18:31:47 +00:00
Darko Draskovic
dd49c18b2e
Add a repo size limiter method to Unlimited limiter ( #943 )
2024-01-03 14:13:51 +00:00
Johannes Batzill
b6e031c447
[Webhook] Replace X-Gitness-Id in payload with X-Gitness-Uid ( #937 )
2023-12-29 17:30:20 +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
Darko Draskovic
8de3020f22
Export unlimited resource limiter to Unlimited ( #933 )
2023-12-27 13:12:11 +00:00
Darko Draskovic
1a8e99f0b6
Add noop repo resource limiter to controller ( #926 )
2023-12-22 17:31:15 +00:00
Abhinav Singh
0ebee9af18
add pr link to webhooks ( #929 )
2023-12-20 20:21:27 +00:00
Abhinav Singh
8a47c11be5
feat: add pr merge webhook and trigger ( #928 )
2023-12-20 09:40:16 +00:00
Johannes Batzill
1d8d50a188
[Githook] Introduce InMemory Githook ( #916 )
2023-12-19 15:50:15 +00:00
Enver Bisevac
98a18210a1
[maint] in when tree entry is not found return PathNotFound error ( #921 )
2023-12-18 14:29:09 +00:00
Akhilesh Pandey
850672a2d7
feat: Add notification and templates support for pullreq state change [Merged/Closed/ReOpened] ( #917 )
2023-12-16 12:30:12 +00:00
Shubham Agrawal
35d8d29965
Fix error on no repo found during search ( #918 )
2023-12-16 03:35:27 +00:00
Akhilesh Pandey
880f62a857
feat: Add notifications support and templates for PR reviewer decision ( #881 )
2023-12-15 18:02:53 +00:00
Johannes Batzill
9a4e4fa74d
WIP [Permissions] Allow anyone with view permission to add reviewers ( #915 )
2023-12-15 15:43:27 +00:00
Johannes Batzill
a5fd2ce3f8
fix linting error ( #914 )
2023-12-15 13:14:36 +00:00
Abhinav Singh
05af8b777b
feat: refactor status check to create abstraction ( #902 )
2023-12-15 07:13:13 +00:00
Marko Gacesa
528ed2252a
omit deleted comment threads ( #901 )
2023-12-14 12:47:20 +00:00
Marko Gacesa
551a2e478c
create pr comment in tx ( #903 )
2023-12-14 12:27:47 +00:00
Marko Gacesa
5cfb1f5679
delete pr comment in tx ( #900 )
2023-12-14 12:27:38 +00:00
Johannes Batzill
e6f67bb6dd
[CODEOWNERS] Fix NotFound Error Translation ( #909 )
2023-12-14 07:44:40 +00:00
Marko Gacesa
a7f11126fa
remove gogit ( #887 )
2023-12-11 10:15:15 +00:00
Atefeh Mohseni-Ejiyeh
5aec7bf37f
move job package to the top level ( #883 )
2023-12-08 17:06:44 +00:00
Abhinav Singh
b1bb7f0a0f
fix: change gitrpc error status in codeowners ( #876 )
2023-12-07 13:30:07 +00:00
Marko Gacesa
1899e70e56
detect force push ( #856 )
2023-12-07 10:25:08 +00:00