Commit Graph

333 Commits

Author SHA1 Message Date
Marko Gaćeša
4ac42fc6c9 Add additions and deletions to PRs (#2196) 2024-07-11 10:01:17 +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
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
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
Ritik Kapoor
87e418bb86 update: [code-2017] swagger (#2110)
* update: [code-2017] id and display_name to identifier
* fix: [code-2017] comment update
* fix: [code-2017] replace identifier with id in pipelines
* fix: [code-2017] prettier
* update: [code-2017] swagger
2024-07-05 16:39:26 +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
Ansuman Satapathy
4833ed67a5 feat: [CDE-83]: Added base types for gitspaces (#2170)
* feat: [CDE-83]: Added base types for gitspaces
2024-07-04 09:25:45 +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
Dhruv Dhruv
f53480a8ad feat: [CDE-85]: Adding impl for docker provider (#2131) 2024-06-28 06:47:45 +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
2970d52cb3 Hide ssh url field if empty (#2103) 2024-06-12 23:31:59 +00:00
Enver Biševac
19600c3a17 [maint] remove unused keygenpath (#2093) 2024-06-12 17:49:09 +00:00
Johannes Batzill
90680e24f7 [SSH] Minor Server Changes (#2088) 2024-06-10 20:09:35 +00:00
Johannes Batzill
d35db42583 Update CODEOWNERS to match github (#2069) 2024-06-06 16:58:01 +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
0d72a20450 ssh public keys: db and api (#2058) 2024-05-27 14:26:21 +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
Shubham Agrawal
a0ac3e86c5 fix: [CODE-1924]: Add support for keyword search recursively in space paths (#2048) 2024-05-21 05:58:50 +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
f6614fe151 Minor Fixes (#2028) 2024-05-09 00:01:52 +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
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
84cc846445 exclude version from audit log (#1192) 2024-04-09 20:30:04 +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
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
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
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
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
Darko Draskovic
d0a087aa90 Remove omitempty from CommitDiffStats (#1112) 2024-03-08 13:02:52 +00:00
Shubham Agrawal
7ee761c632 Add non-regex search capability in keyword search (#1059) 2024-03-01 07:55:47 +00:00
Darko Draskovic
8150be7a3b Add commit diff stat to list commits (#1062) 2024-02-23 11:27:06 +00:00