Darko Draskovic
0346a91cda
Fix label value define permissions ( #2596 )
...
* Simplify if test and keep check- prefix
* Fix label value define permissions
2024-08-27 17:12:42 +00:00
Atefeh Mohseni Ejiyeh
d2dcc9213b
feat: [CODE-2245] (Public Access) Enforce repo-review permission ( #2522 )
...
* updated permission with review wherever is needed
2024-08-20 16:33:59 +00:00
Darko Draskovic
cd5de8fe62
Fix pullreq count when applying label/value id filter ( #2525 )
...
* Add sanitize func related to label define/update
* Fix pullreq count when applying label/value id filter
2024-08-20 10:46:20 +00:00
Enver Biševac
6d0db9512e
feat: instrumentation, intitial work ( #2475 )
...
* requested changes
* requested changes
* feat: instrumentation, intitial work
2024-08-18 22:04:34 +00:00
Darko Draskovic
c3c75d47aa
Refactor router and openapi related to labels to export setup funcs and params ( #2500 )
...
* Refactor router and openapi related to labels to export setup funcs and params
2024-08-14 14:06:04 +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
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
da44afe021
improve audit logs ( #2242 )
...
* improve audit logs
2024-07-18 12:15:31 +00:00
Marko Gaćeša
4ac42fc6c9
Add additions and deletions to PRs ( #2196 )
2024-07-11 10:01:17 +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
Enver Biševac
2f8900e463
[code-1946] initial work on ssh server ( #2075 )
2024-06-03 12:47:31 +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
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
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
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
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
39a998eacd
Adding Repo Level Settings ( #1145 )
2024-03-28 03:36:15 +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
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
Darko Draskovic
8150be7a3b
Add commit diff stat to list commits ( #1062 )
2024-02-23 11:27:06 +00:00
Atefeh Mohseni-Ejiyeh
24fbf49168
repo soft delete improvements ( #1045 )
2024-02-22 05:25:29 +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
Darko Draskovic
d96afd89bd
Add additions and deletions stats to commit file response ( #1015 )
2024-02-07 16:07:53 +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
Johannes Batzill
8be57c6f09
[MISC] fix repo delete for older repos that failed import ( #972 )
2024-01-17 19:10:10 +00:00
Darko Draskovic
9f69a4fee1
Add missing parameters to repo count limiter func ( #944 )
2024-01-09 17:20:27 +00:00
Atefeh Mohseni-Ejiyeh
4c90cec3e5
remove default Admin account /environment variables ( #938 )
2024-01-03 18:31:47 +00:00
Darko Draskovic
1a8e99f0b6
Add noop repo resource limiter to controller ( #926 )
2023-12-22 17:31:15 +00:00
Marko Gacesa
a7f11126fa
remove gogit ( #887 )
2023-12-11 10:15:15 +00:00
Atefeh Mohseni-Ejiyeh
5aec7bf37f
move job package to the top level ( #883 )
2023-12-08 17:06:44 +00:00
Marko Gacesa
25d282073d
return user info for rule bypass users ( #867 )
2023-12-05 19:04:04 +00:00
Marko Gacesa
03b33aca77
store PR commit count in the DB ( #842 )
2023-11-30 15:01:18 +00:00