Commit Graph

2178 Commits (unified-ui)

Author SHA1 Message Date
“tan-nhu” aa3fc7a625 Initial integration with Harness Canary 2024-07-22 14:47:56 -07:00
“tan-nhu” bec3c01991 Add canary and icons-noir packages 2024-07-19 19:57:22 -07:00
Ritik Kapoor 3539266fb3 fix: [code-2114] API redirecting to Login (#2245)
* fix: [code-2114] return Unauthorized for anonymous principal call to user api
* fix: [code-2114]   API redirecting to Login
2024-07-19 18:46:22 +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 b3d9a58c5c feat: [CDE-142]: specify resource for a gitspace in api call (#2249)
* feat: [CDE-142]: specify resource for a gitspace in api call
2024-07-19 05:56:35 +00:00
Marko Gaćeša 340cdd659c feat: [CODE-2086]: backfill PR stats data for list PRs API (#2234)
* backfill PR stats data for list PRs API
2024-07-18 12:18:03 +00:00
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
Tan Nhu a00265b22b Normalize diff.oldName and diff.newName to fix incorrect filePath when filename has spaces (#2237) 2024-07-17 07:47:28 +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
Deepesh Kumar 050c0f6aa3 feat: [CDE-147]: Add zero day graphics (#2235)
* chore: Sync main
* feat: [CDE-147]: fixed icon
* feat: [CDE-147]: Add zero day graphics
2024-07-16 13:47:16 +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
Deepesh Kumar b83348c0d7 feat: [CDE-147]: Add zero day graphics (#2233)
* feat: [CDE-147]: Add zero day graphics
2024-07-16 10:39:36 +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
Deepesh Kumar 1711ee098a feat: [CDE-143]: updated vs code plugin url (#2229)
* feat: [CDE-143]: Updated URL for VSCode plugin url
* feat: [CDE-143]: updated vs code plugin url
2024-07-16 06:08:27 +00:00
Calvin Lee dc77767afa fix: [code-2105]: fix issue in branch listing on element wrap (#2212)
* fix: [code-2105]: fix issue in branch listing on element wrap
2024-07-15 23:46:13 +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
Deepesh Kumar 6c3627621e feat: [CDE-107]: Product feedback chanegs (#2221)
* feat: [CDE-107]: Product feedback chanegs
2024-07-15 08:47:19 +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
Deepesh Kumar 227cb55749 feat: [CDE-141]: handle failure to parse container logs (#2215)
* feat: [CDE-141]: fixed time format in event timeline
* feat: [CDE-141]: handle failure to parse container logs
* feat: [CDE-141]: handle failure to parse container logs
2024-07-13 13:07:10 +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
Deepesh Kumar 6f7d1079d9 feat: [CDE-107]: Gitspace in standalone gitness (#2207) 2024-07-13 02:18:25 +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
Ritik Kapoor 75f4e9e932 status check checkbox in rules to update with checkbox (#2205)
* status check checkbox in rules to update with checkbox
2024-07-11 20:12:54 +00:00
Calvin Lee feecde9faa fix: [code-2105]: fix available merge strats (#2206)
* fix: [code-2105]: fix available merge strats
2024-07-11 18:00:08 +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
Calvin Lee dd7ef06c24 fix: [code-2088]: fix pr title update (#2200)
* fix: [code-2088]: fix pr title update
2024-07-11 06:42:29 +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
Calvin Lee 6864710e8e fix: [code-2088]: fix bugs on pr panel (#2190)
* fix: [code-2088]: fix bugs on pr panel
2024-07-10 07:38:21 +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