From e1d2a931b600927e383bcca0e47f0f79aee004f8 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 24 Jul 2021 00:36:48 +0300 Subject: [PATCH 1/2] style(templates): Default title tag for issue templates (#3488) --- .github/ISSUE_TEMPLATE/bug-report.yml | 1 + .github/ISSUE_TEMPLATE/feature-request.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 7636f758..b2a9113a 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,5 +1,6 @@ name: Bug Report description: Something isn't working quite right in the software. +labels: [not confirmed] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 3b2783ee..d782e398 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,5 +1,6 @@ name: Feature Request description: Suggest a new feature or improvement for the software. +labels: [feature request] body: - type: checkboxes attributes: From 2bbe58e8ec98ea5236a4a94b7db988c29a485359 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 24 Jul 2021 20:14:51 +0300 Subject: [PATCH 2/2] fix: paper server jar input rule (#3494) Changes Paper egg server jar variable input rule to match the other Minecraft eggs. Matches `a-zA-Z0-9_` and `.jar` at the end instead of hard-coded length value of 20. Fixes #3492 --- database/Seeders/eggs/minecraft/egg-paper.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/Seeders/eggs/minecraft/egg-paper.json b/database/Seeders/eggs/minecraft/egg-paper.json index 6c4b6761..f7b584b6 100644 --- a/database/Seeders/eggs/minecraft/egg-paper.json +++ b/database/Seeders/eggs/minecraft/egg-paper.json @@ -4,7 +4,7 @@ "version": "PTDL_v1", "update_url": null }, - "exported_at": "2021-07-04T19:19:42-04:00", + "exported_at": "2021-07-24T11:38:02+03:00", "name": "Paper", "author": "parker@pterodactyl.io", "description": "High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies.", @@ -48,7 +48,7 @@ "default_value": "server.jar", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:20" + "rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/" }, { "name": "Download Path",