Commit Graph

2142 Commits

Author SHA1 Message Date
Marko Gacesa
0dac44031f fix code comment outdating (#756) 2023-11-01 19:56:14 +00:00
Calvin Lee
b9de38e076 fix: [code-1044]: fix bypass list (#755) 2023-11-01 18:24:13 +00:00
Calvin Lee
cd2447a82c fix: [code-1046]: fix inverted target patterns and text (#752) 2023-11-01 17:42:30 +00:00
Calvin Lee
49ca8a8bc3 fix: [code-1045]: fix no user shown in bypass search (#753) 2023-11-01 06:21:32 +00:00
Vistaar Juneja
02ff9bcfc8 return nil transport if no creds provided (#750) 2023-10-31 16:48:36 +00:00
Vistaar Juneja
780180260c use pull request ref for pipelines commit ref (#749) 2023-10-31 16:36:45 +00:00
Marko Gacesa
f0d87f4437 empty pattern matches all (#743) 2023-10-31 07:33:12 +00:00
Johannes Batzill
3418dd1127 [Protection Rules] Load user from store in pre-receive hook (#747) 2023-10-31 04:25:12 +00:00
Johannes Batzill
b7e68971b0 [MISC] fix ui linting (#746) 2023-10-30 23:01:18 +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
Abhinav Singh
e0df722ce3 feat: add codeowner validate api (#733) 2023-10-30 22:16:39 +00:00
Vistaar Juneja
081d79717a update auth check and use listv2 for github (#744) 2023-10-30 18:07:38 +00:00
Marko Gacesa
bd31faee07 block modifications of pullreq refs (#739) 2023-10-30 10:55:32 +00:00
Johannes Batzill
96aebcef92 [MISC] make SetupWebhooks and SetupUploads public (#742) 2023-10-28 00:20:45 +00:00
Johannes Batzill
d05caadd89 [MISC] Make SetupRules Public (#741) 2023-10-27 23:52:56 +00:00
Hitesh Aringa
b31ae8c257 [CODE-1011]: Disable case sensitive branch search and remove gitea open repo (#732) 2023-10-27 23:46:34 +00:00
Johannes Batzill
3e7f316d38 [code-1018] Restrict Import to refs/heads and refs/tags only (#740) 2023-10-27 23:46:06 +00:00
Marko Gacesa
2fc134b7b5 fix rule enum types (#738) 2023-10-27 16:10:42 +00:00
Marko Gacesa
1a727b8be1 refactor of protection package (#734) 2023-10-27 14:06:09 +00:00
Dan Wilson
fb892a8ca8 Add gogs import org/repo support to gitness (#735) 2023-10-27 14:04:44 +00:00
Akhilesh Pandey
66416c55a6 feat: Add swagger support for uploads API (#678) 2023-10-27 08:37:12 +00:00
Marko Gacesa
4e3a43efdd add unit tests for the protection package (#729) 2023-10-27 08:05:26 +00:00
Calvin Lee
0319fa7a07 fix: [code-980]: fix lint (#731) 2023-10-26 22:26:44 +00:00
Abhinav Singh
d92564258b fix: empty codeowner gives issue in merge check (#730) 2023-10-26 22:22:59 +00:00
Calvin Lee
79448a3c77 feat: [code-980]: add branch protection page (#723) 2023-10-26 21:45:26 +00:00
Dan Wilson
072a133ac6 add gitea support (#728) 2023-10-26 19:41:44 +00:00
Marko Gacesa
059e9760c8 require push permission for PR merge (#725) 2023-10-26 17:34:28 +00:00
Marko Gacesa
8d8535aa77 protect branch/tag create/delete APIs (#727) 2023-10-26 17:24:39 +00:00
Abhinav Singh
adbe2f6f97 feat: [CODE-967]: codeowners service e2e (#695) 2023-10-26 16:50:59 +00:00
Dan Wilson
3701d4a24f add bitbucket support for import space and repo (#721) 2023-10-26 11:12:10 +00:00
Dan Wilson
b9b80197a4 Fix repo listing case for bitbucket (#720) 2023-10-26 08:47:53 +00:00
Marko Gacesa
6ee49f9848 API returns status 422 in case of rule violations (#718) 2023-10-26 08:35:42 +00:00
Marko Gacesa
02b36d0f73 return want&got for rule violations (#704) 2023-10-26 07:57:52 +00:00
Johannes Batzill
adeb965723 [MISC] Make Update Action sha optional in Commit API. (#722) 2023-10-25 19:51:21 +00:00
Johannes Batzill
0961ee0906 [MISC] Separate Git Smart HTTP Protocol Into Handler and Controller (#717) 2023-10-25 17:23:19 +00:00
Marko Gacesa
fda8fa733d fix branch.lifecycle rule violation codes (#719) 2023-10-25 12:16:47 +00:00
Enver Bisevac
66ac5e3a5c [fix] Dockerfile fix (#714) 2023-10-25 09:35:38 +00:00
Abhinav Singh
85337b9418 add logic to add author of pr in codeowners (#716) 2023-10-25 01:56:56 +00:00
Hitesh Aringa
fc53bc5f0b [CODE-945]: Remove github.com/dgrijalva/jwt-go lib (#713) 2023-10-24 23:25: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
Tan Nhu
b039488ac6 feat: [CODE-993]: Gitness Pull Request page is not expanded to full width when Sidenav is collapsed (#709) 2023-10-24 07:04:28 +00:00
Abhinav Singh
3b2ed1de50 feat: [CODE-580]: code comment webhook (#706) 2023-10-23 23:59:45 +00:00
Dan Wilson
1dab5384c0 fix small ui bugs (#710) 2023-10-23 16:52:36 +00:00
Vistaar Juneja
5771f9f5e9 add bitbucket support for import repo (#711) 2023-10-23 15:08:45 +00:00
Marko Gacesa
501c832ce3 use openapi oneof to fix definition for rules API (#703) 2023-10-21 06:14:38 +00:00
Abhinav Singh
00cc64029a MISC: Fix go lint issues 2023-10-20 15:30:32 -07:00
Tan Nhu
3c83ecb0df Treat file without extension as text + more syntax highlighted mapping (#708) 2023-10-20 20:27:44 +00:00
Calvin Lee
16a6a73e80 fix: [code-930]: add refetch on public and private (#707) 2023-10-20 20:10:05 +00:00
Marko Gacesa
8d82daf876 merge API: return if the branch is deleted (#701) 2023-10-20 11:27:51 +00:00