54 Commits

Author SHA1 Message Date
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
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
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
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
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
Abhinav Singh
b333f42142 feat: add users check (#2132) 2024-07-01 20:45:12 +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
Johannes Batzill
ea49937a1e [MISC] Fix routing for gitXXX and apiXXX space names (#2035) 2024-05-14 00:02:57 +00:00
Abhinav Singh
a576087694 feat: add etag for raw api (#2018) 2024-05-03 20:03:37 +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
9e7f80ebe0 Code Suggestions - Backend Support (#2006) 2024-04-26 16:54:50 +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
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
Johannes Batzill
5652ca7bb3 Add Repo Path Listing API (#1197) 2024-04-10 20:04:08 +00:00
Enver Bisevac
227aac90b5 [code-1524] audit trails package (#1176) 2024-04-08 21:13:57 +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
Atefeh Mohseni-Ejiyeh
5d0d28e4a3 Support Space Soft Delete, Restore, and Purge (#1076) 2024-03-21 23:34:19 +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
Johannes Batzill
e7520a983b [SECURITY] move to latest swagger-ui version to fix url injection vulnerability (#1061) 2024-02-22 00:38:06 +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
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
7f7f8bf625 [code-1288] new diff api features [paths, line expanders] (#968) 2024-01-23 12:36:04 +00:00
Atefeh Mohseni-Ejiyeh
29f781201f support update default branch (#973) 2024-01-20 07:10:16 +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
76e3c06b6b Templates support for v1 pipelines (#955) 2024-01-12 11:02:31 +00:00
Johannes Batzill
53555544a2 [Webhook] Add UID field (#936) 2023-12-29 16:39:45 +00:00
Johannes Batzill
1d8d50a188 [Githook] Introduce InMemory Githook (#916) 2023-12-19 15:50:15 +00:00
Marko Gacesa
7488512f0d remove pullreq/recheck API (#831) 2023-11-30 19:50:02 +00:00
Enver Bisevac
5418dd77ef [code-1136] diff api for pullreq (#825) 2023-11-30 11:38:56 +00:00
Johannes Batzill
5cdbde8100 [GA] Add feature flag for enable/disable public resource creation (#845) 2023-11-30 02:20:34 +00:00
Shubham Agrawal
1a2a456550 Add interfaces for keyword search (#816) 2023-11-29 18:02:46 +00:00
Vistaar Juneja
073fc482ed add option to import repositories in an existing space (#772) 2023-11-09 09:23:21 +00:00
Marko Gacesa
b6ee8b6ba9 fix sse space events API blocking app shutdown (#774) 2023-11-08 07:24:14 +00:00
Abhinav Singh
e0df722ce3 feat: add codeowner validate api (#733) 2023-10-30 22:16:39 +00:00
Johannes Batzill
96aebcef92 [MISC] make SetupWebhooks and SetupUploads public (#742) 2023-10-28 00:20:45 +00:00
Johannes Batzill
d05caadd89 [MISC] Make SetupRules Public (#741) 2023-10-27 23:52:56 +00:00
Abhinav Singh
adbe2f6f97 feat: [CODE-967]: codeowners service e2e (#695) 2023-10-26 16:50:59 +00:00
Johannes Batzill
0961ee0906 [MISC] Separate Git Smart HTTP Protocol Into Handler and Controller (#717) 2023-10-25 17:23:19 +00:00
Marko Gacesa
7e4632cb5f add API: get recent status check UIDs (#685) 2023-10-19 06:19:42 +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
Akhilesh Pandey
23b9117302 feat: Image Upload (Backend) (#651) 2023-10-11 17:54:03 +00:00