Commit Graph

1810 Commits

Author SHA1 Message Date
Calvin Lee
8fddf66e12 feat: [code-980]: add branch protection alert on pr page (#770) 2023-11-06 22:37:28 +00:00
Johannes Batzill
4e0444bba8 [SSE] close pubsub subscriber on sse completion (#769) 2023-11-06 18:16:24 +00:00
Marko Gacesa
e731c0fdff require latest source sha as param for the merge API (#767) 2023-11-06 12:16:18 +00:00
Johannes Batzill
3ad550ce69 [MISC] Add .CS Syntax Highlighting (#768) 2023-11-04 00:20:11 +00:00
Abhinav Singh
93c5cfd36e feat: [CODE-651]: add updated filter in pr listing (#754) 2023-11-03 19:02:25 +00:00
Marko Gacesa
941bc7a0fd allow optional rule bypass (#764) 2023-11-03 18:31:10 +00:00
Calvin Lee
afb21a3ca3 fix: [code-970]: add commitsha to merge api (#766) 2023-11-03 17:40:11 +00:00
Marko Gacesa
db7655c569 return 422 in case of merge conflicts (#724) 2023-11-03 17:14:36 +00:00
Calvin Lee
50a1ca8b24 fix: [code-1052]: fix code comment issue (#762) 2023-11-03 16:56:02 +00:00
Dan Wilson
2112fcbe7a remove username req when not needed for import repo and space (#765) 2023-11-03 16:32:15 +00:00
Vistaar Juneja
bf9a5953c3 perform user validation before triggering import (#760) 2023-11-03 15:30:16 +00:00
Johannes Batzill
ecf9d6b049 [File View] Handle file rename case on UI side (#763) 2023-11-03 06:40:45 +00:00
Johannes Batzill
0370e89e29 [PULLREQ] Update PR.edited time when head branch is updated (#761) 2023-11-02 22:06:04 +00:00
Marko Gacesa
12c38f88a9 add job type to the job state change struct (#759) 2023-11-02 15:49:58 +00:00
Vistaar Juneja
b221ed9080 check for error before using response from SCM (#758) 2023-11-02 13:45:59 +00:00
Akhilesh Pandey
c0f429e7b7 feat: add gomailer client in gitness for mail notifications (#748) 2023-11-02 08:25:25 +00:00
Calvin Lee
76e5a32b79 feat: [code-1028]: add support for image upload (#751) 2023-11-01 19:58:36 +00:00
Marko Gacesa
3a7617a2e6 add dry_run option to the merge API (#737) 2023-11-01 19:57:28 +00:00
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