Commit Graph

1480 Commits

Author SHA1 Message Date
Marko Gaćeša
89c135f94b Improve sanitize maching name fn (#303) 2023-02-03 18:56:20 +01:00
Calvin Lee
eaaa825e67 feat: [scm-88]: fix spacing on toggle modal (#305) 2023-02-03 10:24:54 -07:00
Marko Gaćeša
c8301fc842 cli session: Fix new session path (#302) 2023-02-03 14:19:06 +01:00
Marko Gaćeša
236e2ede9e Refactor cli app startup (#293) 2023-02-03 12:08:02 +01:00
Johannes Batzill
dbace5b1b2 [Harness] Add support for calls from CIManager (#301) 2023-02-03 00:46:42 -08:00
Johannes Batzill
bf9906c4ce [API] Add principals API, move users to admin, simplify user/service/serviceaccount validation (#300) 2023-02-03 00:15:11 -08:00
Johannes Batzill
2b74349922 [MISC] Hide pre/dev vars from version package (#299) 2023-02-02 17:52:37 -08:00
Hitesh Aringa
0d922b5354 [SCM-117]: Passing version info while building image (#297) 2023-02-02 17:27:41 -08:00
Calvin Lee
29e12e3e2f feat: [scm-115]: Show error message with link to go to existing PR when creating one that exists (#294) 2023-02-02 17:47:48 -07:00
Enver Bisevac
2b4f06d465 [fix] pr create now returns 409 on duplicate (#296) 2023-02-03 01:13:21 +01:00
Calvin Lee
5277f4d707 feat: [scm-88]: confirmation dialog for enable/disable webhook toggle (#295) 2023-02-02 16:17:45 -07:00
Enver Bisevac
f7099d5923 [fix] Pull Req creation for existing PR (#292) 2023-02-02 18:13:34 +01:00
Marko Gaćeša
9dfad8b5e1 Added column comment_count to the PR entity (#280) 2023-02-02 11:31:22 +01:00
Johannes Batzill
27777bb2b1 [Webhook] Expose User-Agent and X-{NAME} via Config, enhance request headers (#289) 2023-02-01 19:08:25 -08:00
Johannes Batzill
c5d92b498b [API] Add GetCommit API (#291) 2023-02-01 18:50:54 -08:00
Johannes Batzill
fe83493623 [API] Add GetBranch API (#290) 2023-02-01 18:13:27 -08:00
Tan Nhu
edef133aa8 Do not use qs library for now due to it's not loaded in QA environment (#288) 2023-02-01 16:40:57 -08:00
Enver Bisevac
43bd045e47 [fix] PR diff files api returns empty body (#285) 2023-02-02 00:05:46 +01:00
Johannes Batzill
83c24913d3 [Webhook] Add pullreq_created and pullreq_reopened webhook triggers (#283) 2023-02-01 13:52:36 -08:00
Tan Nhu
920d74ff5d Last attempt to fix Monaco not being loaded in QA (#276)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 22:21:32 -08:00
Calvin Lee
0f03bbb07d feat: [scm-56]: Crashing for file not found in Files View (#277) 2023-01-31 21:36:27 -07:00
Johannes Batzill
f78777f1d4 [MISC] Fix InternalError for invalid resource ids in path (#278) 2023-01-31 19:08:30 -08:00
Calvin Lee
2c6f2806a8 feat: [scm-81]: fix toggle on webhook page (#275) 2023-01-31 15:41:43 -07:00
Tan Nhu
5a170f9345 Disable shared monaco lib completely (#273)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 13:36:19 -08:00
bot-harness
ce4bdd504f Cut-off release branch release/0.4.x 2023-01-31 21:12:00 +00:00
Johannes Batzill
8f82c0ce4e [Webhook] Add Support for PR Branch Updated (#267) 2023-01-31 13:07:48 -08:00
Marko Gaćeša
eb07ce4c2e Using PR events to maintain repo PR counters (#270) 2023-01-31 19:52:16 +01:00
Tan Nhu
c12775862b Disable Review button when PR is draft (#272)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 09:10:53 -08:00
Tan Nhu
77f1463f2c Add nullable check when rendering comment (#271)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 08:53:47 -08:00
Tan Nhu
a2cac1e82b API integration for different type of merges (#268)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 08:41:46 -08:00
Enver Bisevac
e2b350e704 [maint] pr statistic is in pr response now (#269) 2023-01-31 15:21:05 +01:00
Marko Gaćeša
ce322ec596 Writing pull req activities in controllers (#263) 2023-01-31 12:34:18 +01:00
Enver Bisevac
baa3822acc [SCM-55] initial work on PR metadata (#262) 2023-01-31 02:08:23 +01:00
Calvin Lee
443394b964 feat: [scm-81]: restyle webhook page (#266) 2023-01-30 16:53:41 -07:00
bot-harness
8e9908d4eb Cut-off release branch release/0.3.x 2023-01-30 23:05:41 +00:00
Hitesh Aringa
474ee82531 [SCM-87]: Db file name changes (#264) 2023-01-30 14:53:37 -08:00
Johannes Batzill
c3dadcce7b [Events] introduce options to event and stream framework (#255)
This change is adding the following:
- Add ConsumerOption and HandlerOption for configuring stream consumers and handlers.
- Add Readeroption and HandlerOption for configuring event readers and handlers
- Add HandlerOption and ReaderOption support to all existing event reader implementations
2023-01-28 13:34:04 -08:00
Marko Gaćeša
4277c4c66b Simplify handling of PR events (#253) 2023-01-27 16:27:03 -08:00
Calvin Lee
d445cf6f72 feat: [scm-81]: restyle webhook list page (#261) 2023-01-27 16:02:33 -07:00
Calvin Lee
7e98f4828b feat: [scm-73]: fix empty repo page (#258) 2023-01-27 15:57:17 -07:00
Johannes Batzill
e9fa438dfe [Docker] Add docker file for GitRPC (#260) 2023-01-27 13:50:35 -08:00
Johannes Batzill
7da9bce7c1 [Githook] Add GitHook binary (#259)
This PR adds a githook sub-package to our cmd packages, introducing the githook binary.
The binary is linked as pre-receie/update/post-receive by gitrpc if configured.
This is required to have a gitrpc deployment without requiring the one-in-all gitness binary on the same machine.
2023-01-27 13:04:58 -08:00
Johannes Batzill
114cdb34e0 [GITRPC] Add GitRPC Binary (#257) 2023-01-27 10:34:42 -08:00
Johannes Batzill
bfb0466b11 [MISC] Move configurations to their respective packages (#256) 2023-01-26 17:30:26 -08:00
Calvin Lee
001d706998 feat: [scm-73]: Update repo empty state with new design (#254) 2023-01-26 17:21:43 -07:00
Enver Bisevac
1f86b3c73d [fix] merge commit is blocked with dbtx mutex lock (#245) 2023-01-26 13:41:45 +01:00
Johannes Batzill
399f96388c [MISC] update token authentication with latest principal store changes (#251) 2023-01-25 21:54:25 -08:00
Marko Gaćeša
825336d0e4 Added missing context in some of the log calls (#250) 2023-01-25 14:06:48 +01:00
Marko Gaćeša
fe3d6d5990 Added num_merged_pulls (#240) 2023-01-25 11:21:19 +01:00
Marko Gaćeša
7a92d8e110 PR events and PR head ref (#244) 2023-01-25 11:19:58 +01:00