Commit Graph

22 Commits (a2cea521550de910909f69b9d4d72f1b507579b3)

Author SHA1 Message Date
Akhilesh Pandey a2cea52155 feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List (#2640)
* feat: [CODE-2327]: add usergroup change to rebase api
* Merge branch 'main' into akp/CODE-2327
* feat: [CODE-2327]: wrap error
* feat: [CODE-2327]: move resolver inside bypass.go and update tests
* feat: [CODE-2327]: newline
* feat: [CODE-2327]: update wire
* Merge remote-tracking branch 'origin' into akp/CODE-2327
* feat: [CODE-2327]: update tests
* feat: [CODE-2327]: fix build
* feat: [CODE-2327]: merge main
* feat: [CODE-2327]: add and update unit tests
* feat: [CODE-2327]: fix
* feat: [CODE-2312]: introduce parser and enclosing method
* Apply suggestion from code review
* feat: [CODE-2327]: annotate error
* Merge branch 'main' into akp/CODE-2327
* feat: [CODE-2327]: usergroup resolver via controller
* feat: [CODE-2312]: update interface in protection
* feat: [CODE-2312]: export and update deduplication use
* feat: [CODE-2327]: Branch Rules: Allow Group bypass.go
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-09-11 08:04:31 +00:00
Karan Saraswat 644678f50c feat: [CODE-2339]: Send sha in delete branch API and fix dry run rules behaviour (#2672)
* go lint issues and added return in the Deletebranch method
* removed the comment
* fixed go lint issues
* fixed query param in swagger
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into ks/CODE-2339
* feat: [CODE-2339]: Send sha in delete branch API and fix dry run rules behaviour
2024-09-09 11:45:18 +00:00
Atefeh Mohseni Ejiyeh c365ef246a Support Public Access (#2021) 2024-05-23 04:56:26 +00:00
Johannes Batzill 9e7f80ebe0 Code Suggestions - Backend Support (#2006) 2024-04-26 16:54:50 +00:00
Marko Gacesa 781b3547c0 refactor git hook calling and shared repo (#1200) 2024-04-12 09:48:35 +00:00
Enver Bisevac cecfecdb06 [code-1016] Replace `gitea` Usages (not wrapper) (#1063) 2024-03-26 20:31:30 +00:00
Darko Draskovic 8150be7a3b Add commit diff stat to list commits (#1062) 2024-02-23 11:27:06 +00:00
Darko Draskovic d96afd89bd Add additions and deletions stats to commit file response (#1015) 2024-02-07 16:07: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
Marko Gacesa 3d97474dcf feat: [CODE-1132]: dryrun requires view permission (#819) 2023-11-22 22:38:44 +00:00
Marko Gacesa f3bfdeaf8e add dry_run_rules option to the commit API (#808) 2023-11-17 12:07:20 +00:00
Marko Gacesa 2c618b33b3 add bypassable to rule violation (#802) 2023-11-15 14:37:52 +00:00
Enver Bisevac 67f560874d [maint] gitrpc package removed (#726) 2023-11-15 10:15:32 +00:00
Marko Gacesa 941bc7a0fd allow optional rule bypass (#764) 2023-11-03 18:31:10 +00:00
Johannes Batzill b0e519b571 [WIP] Move from `space_owner` to `repo_admin` for protection rules (#745) 2023-10-30 22:35:52 +00:00
Marko Gacesa 1a727b8be1 refactor of protection package (#734) 2023-10-27 14:06:09 +00:00
Marko Gacesa 8d8535aa77 protect branch/tag create/delete APIs (#727) 2023-10-26 17:24:39 +00:00
Marko Gacesa 6ee49f9848 API returns status 422 in case of rule violations (#718) 2023-10-26 08:35:42 +00:00
Johannes Batzill adeb965723 [MISC] Make `Update` Action `sha` optional in `Commit` API. (#722) 2023-10-25 19:51:21 +00:00
Marko Gacesa 266b3a4fa1 lifecycle protection rules (#715) 2023-10-24 20:20:20 +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