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
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
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
Atefeh Mohseni Ejiyeh
d06dd5c2fd
fix:update default branch for empty repos if doesnt exist ( #2127 )
2024-06-28 02:16:39 +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
Atefeh Mohseni Ejiyeh
bcb8e7e3ce
fix import space API output repo type ( #2099 )
2024-06-12 23:43:14 +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
Johannes Batzill
bc568edd85
fix cleanup for failed repo create, cleanup summary git api ( #2064 )
2024-05-24 00:38:29 +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
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
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
Darko Draskovic
8049651963
Temporarily comment out file size check ( #2040 )
2024-05-15 16:26:10 +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
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
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
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
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
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
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
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
Shubham Agrawal
7ee761c632
Add non-regex search capability in keyword search ( #1059 )
2024-03-01 07:55:47 +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
Darko Draskovic
c949308596
List all Repos at Account level or Space Level recursively ( #999 )
2024-02-21 16:59:44 +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
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
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
Atefeh Mohseni-Ejiyeh
29f781201f
support update default branch ( #973 )
2024-01-20 07:10:16 +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
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
9f69a4fee1
Add missing parameters to repo count limiter func ( #944 )
2024-01-09 17:20:27 +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
53555544a2
[Webhook] Add UID field ( #936 )
2023-12-29 16:39:45 +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
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
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