Commit Graph

71 Commits

Author SHA1 Message Date
Tudor Macari
40ee05ca11 feat: [AH-309]: Artifact Registry integration (#2318) 2024-08-22 00:28:17 +00:00
Yogesh Chauhan
59614e73f4 feat: [ML-302]: Framework For Harness Intelligence APIs (#2547)
* feat: [ML-302]: Framework For Harness Intelligence APIs
2024-08-20 22:05:29 +00:00
Atefeh Mohseni Ejiyeh
cef6708a1e Support Repo Migration APIs (create repo, import PRs, webhooks, and branch rules) (#2158)
* update migrator mdoule
* added formatted forbidden error helper
* delete work sum
* check branch rule identifier check
* match migrator data contract for webhooks
* self review
* self review
* self review, code cleaning
* resolve conflicts
* updated import api calls
* resolve conflicts
* lint
* bypass pre-receive block ref update on push if it's migrator push
* migrate controller and apis
* pull main
* add migrate routes to terminate path prefix apis
* move apis to migrate pkg
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into atmsn/import_meta
* import branch rules API
* wip import webhooks
2024-08-07 23:40:09 +00:00
Ansuman Satapathy
9fc9a498e2 feat: [CDE-192]: modularize gitspace services (#2404)
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: address comments
* feat: [CDE-192]: split config and resource creation
* feat: [CDE-192]: split config and res creation
* feat: [CDE-192]: modularize gitspace services
2024-08-07 08:27:29 +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
Abhinav Singh
d0562a573c feat: [CODE-2146]: add new router paradigm
* lint
* address comment
* fix
* ssh ctx
* add ctx for new places
* generate wiregen
* Merge remote-tracking branch 'harness0/main' into abhinav/new-router-paradigm
* Merge branch 'main' into abhinav/new-router-paradigm
* add new discussion changes
* address comment
* address comment
* address comment
* address comment
* address comment
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* style
* remove nil context
* add ctx to missing
* style
* remvoe ctx
* remvoe ctx
* feat: provider should have ctx
2024-07-23 21:39:39 +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
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
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
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
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
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
Enver Biševac
f0e12faa67 [code-2009] only if ssh is enabled show ssh url box (#2101) 2024-06-12 18:34:25 +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
Abhinav Singh
a576087694 feat: add etag for raw api (#2018) 2024-05-03 20:03:37 +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
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
suchsoon
d9b04d51c6
remove repetitive words (#3484) 2024-04-19 16:28:04 -07:00
Johannes Batzill
5652ca7bb3 Add Repo Path Listing API (#1197) 2024-04-10 20:04:08 +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
Enver Bisevac
cecfecdb06 [code-1016] Replace gitea Usages (not wrapper) (#1063) 2024-03-26 20:31:30 +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
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
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
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
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
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
528ed2252a omit deleted comment threads (#901) 2023-12-14 12:47:20 +00:00
Marko Gacesa
a7f11126fa remove gogit (#887) 2023-12-11 10:15:15 +00:00
Marko Gacesa
7488512f0d remove pullreq/recheck API (#831) 2023-11-30 19:50:02 +00:00