Commit Graph

17 Commits

Author SHA1 Message Date
Marko Gaćeša
4d577bb378 fix: [CODE-2134]: replace include_description with exclude_description param (#2808) 2024-10-14 18:08:07 +00:00
Darko Draskovic
060d977433 Add two new settings to branch rules: block merge and force push to branch (#2656)
* Fix rule naming, warn log and use switch case for ref update
* Fix tests
* Refactor isForcePush to remove post-receive only related msg
* Add two new settings to branch rules: block merge and force push to branch
2024-09-12 14:17:13 +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
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
Atefeh Mohseni Ejiyeh
d06dd5c2fd fix:update default branch for empty repos if doesnt exist (#2127) 2024-06-28 02:16:39 +00:00
Johannes Batzill
a690fa4ebc small fixes (#1232) 2024-04-19 01:36:03 +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
b02da4b78a Improve secret scanning output (#1170) 2024-03-29 19:33:08 +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
Darko Draskovic
8dc82433c5 Add generic pre/post receive extender (#1138) 2024-03-26 18:17:28 +00:00
Johannes Batzill
1d8d50a188 [Githook] Introduce InMemory Githook (#916) 2023-12-19 15:50:15 +00:00
Marko Gacesa
1899e70e56 detect force push (#856) 2023-12-07 10:25:08 +00:00
Marko Gacesa
bd31faee07 block modifications of pullreq refs (#739) 2023-10-30 10:55:32 +00:00
Marko Gacesa
059e9760c8 require push permission for PR merge (#725) 2023-10-26 17:34:28 +00:00
Marko Gacesa
7ab52c1764 add protection to prevent direct push (#712) 2023-10-24 14:22:06 +00:00
Johannes Batzill
a8cb5dc8d2 remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00