Commit Graph

1810 Commits

Author SHA1 Message Date
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
Johannes Batzill
cffd1909a1 Update README.md (#248) 2023-01-24 22:01:50 -08:00
Johannes Batzill
0c0fa8f7cc Update README.md (#247) 2023-01-24 21:59:00 -08:00
Johannes Batzill
2227e13e7d [MISC] Fix Swagger and Regenerate WEB Services (#246) 2023-01-24 15:46:49 -08:00
Tan Nhu
b700603fef Sort PR activities + add animation when creating a new comment (#243)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-23 23:48:37 -08:00
Marko Gaćeša
09902b02a3 Extended create PR API with IsDraft field (#242) 2023-01-23 19:49:01 +01:00
Tan Nhu
16487667aa Render PR diff snapshot in the first thread comment (#239)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-22 12:32:31 -08:00
Johannes Batzill
e2d10d06cf [MISC] Move to alpine/git:2.36.3 (#238) 2023-01-21 16:23:04 -08:00
Tan Nhu
48c6802a9f Finalize PR Code Comment integration (#237) 2023-01-20 15:29:11 -08:00
Johannes Batzill
085e63422b [MISC] Explicitly type PullReqActivity.Payload (#233) 2023-01-20 12:29:13 -08:00
Marko Gaćeša
d6ce1bc762 Added gitrpc.UpdateRef (#236) 2023-01-20 17:06:35 +01:00
Enver Bisevac
6a7cc4e518 [scm-63] fix for empty commits and diff in PR (#228) 2023-01-20 02:27:51 +01:00
Tan Nhu
56a6dba484 Implement PR code commenting using payload field (#235) 2023-01-19 16:29:38 -08:00
Marko Gaćeša
5524dfa9ba Renamed branchmonitor to service/pullreq (#234) 2023-01-19 17:53:37 +01:00
Johannes Batzill
43c497f59c [MISC] Move webhooks to 'services' package (#232) 2023-01-18 19:08:03 -08:00
Johannes Batzill
95a77e072e [MISC] Fix badrequest error in merge API (#231) 2023-01-18 18:17:18 -08:00
Johannes Batzill
ee0aae4e75 [GIT] Return 404 for listcommit in case ref isn't found (#230) 2023-01-18 17:42:18 -08:00
Tan Nhu
230fed6a52 Consolidate page spinner across UI codebase (#229) 2023-01-18 16:31:06 -08:00
Johannes Batzill
335998505e [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226)
This change is a follow up on the effort to remove transactions and sync stores from the database layer, and move them in the application layer. It is addressing the repo + space store.
The following changes are included:
- Introduce PathStore storing resource paths (repo + space)
- Add foreign key from path.repo_id/space_id to repo.id/space.id
- Add foreign key from repo/space.parent_id to space.id
- Remove repo_sync and space_sync
- Move path creation logic to repo/space controller (for both creating primary paths for new repos/spaces, as well as creating alias spaces)
- Reimplement repo/space moving on controller layer
2023-01-18 11:34:12 -08:00
Tan Nhu
e4b529d32d Consolidate NoResultCard + styling for tabs (#227) 2023-01-18 05:45:06 -08:00
Marko Gaćeša
ec4003e331 Handling branch events for PRs (#221) 2023-01-18 13:26:20 +01:00