Przeglądaj źródła

Implement new Github issue forms (#2247)

* Implement new Github issue forms

* Include inodes in v-list-disk-status
Jaap Marcus 4 lat temu
rodzic
commit
38218e87bb

+ 74 - 0
.github/ISSUE_TEMPLATE/BUG-REPORT.yml

@@ -0,0 +1,74 @@
+name: Bug Report
+description: File a bug report and help us to improve Hestia Control Panel
+title: "[Bug] "
+labels: [bug]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        If you have encountered a bug or problem in Hestia Control Panel, use this form to let us know.
+        **Important: DO NOT include any private/sensitive information such as email addresses, passwords, IP addresses, or hostnames.**
+  - type: textarea
+    id: describe
+    attributes:
+      label: Describe the bug
+      description: |
+        A clear description of what the bug is. Include as much detail as possible, such as the configuration of your server and any troubleshooting steps that you've already performed.
+      placeholder: Tell us exactly what you see!
+    validations:
+      required: true
+  - type: textarea
+    id: reproduce
+    attributes:
+      label: Tell us how to replicate the bug
+      description: |
+        What steps did you take when the bug occured or things did not work as you expected?
+      placeholder: |
+        1. Click on the Web tab.
+        2. Click on Add Web Domain.
+        3. Attempted to add a domain and received an Internal Server Error after pressing Save.
+    validations:
+      required: true
+  - type: dropdown
+    id: part
+    attributes:
+      label: Which components are affected by this bug?
+      multiple: true
+      options:
+        - Control Panel Backend
+        - Control Panel Command Line Interface
+        - Control Panel Installation or Upgrade
+        - Control Panel Web Interface
+        - Backend Web Server (Nginx, Apache2)
+        - Database (MariaDB, PostgreSQL)
+        - Let's Encrypt SSL
+        - Mail (Exim, Dovecot)
+        - Mail Security (Antivirus, Antispam)
+        - Webmail (Roundcube, Rainloop)
+        - Firewall (Iptables, Fail2ban)
+    validations:
+      required: true
+  - type: input
+    id: version
+    attributes:
+      label: Hestia Control Panel Version
+      placeholder: 1.x.x
+    validations:
+      required: true
+  - type: input
+    id: os
+    attributes:
+      label: Operating system
+      placeholder: Ubuntu 20.04 or Debian 11
+    validations:
+      required: true
+  - type: textarea
+    id: logs
+    attributes:
+      label: Log capture
+      description: Copy and paste any relevant log output in the field below. This will be automatically formatted into code, so no need for backticks. **Remove any sensitive information before submitting!**
+      render: shell
+  - type: markdown
+    attributes:
+      value: |
+        *Thank you* for taking the time to fill out this bug report.

+ 30 - 0
.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml

@@ -0,0 +1,30 @@
+name: Feature
+description: Suggest a new idea or change
+title: "[Feature] "
+labels: [feature]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Is there a feature or change that you think would make Hestia Control Panel work better for you? Send us your ideas and our development team will take them into consideration.
+        Before submitting a new idea, look at the **[current feature requests list](https://github.com/hestiacp/hestiacp/labels/feature)** to see if it has already been requested.
+  - type: textarea
+    id: request
+    attributes:
+      label: Describe the feature or change in detail
+    validations:
+      required: true
+  - type: dropdown
+    id: priority
+    attributes:
+      label: Would you like to sponsor this feature to have it implemented?
+      description: While there is no obligation, our development team has a limited number of resources and time available and a financial contribution would help prioritize your request.
+      options:
+        - "Yes"
+        - "No"
+    validations:
+      required: true
+  - type: markdown
+    attributes:
+      value: |
+        **Thank you** for taking the time to send us your request, we appreciate your contribution.

+ 20 - 0
.github/ISSUE_TEMPLATE/SUPPORT.yml

@@ -0,0 +1,20 @@
+name: Support / Question
+description: Request for help, support, or to ask a general question
+title: "[Support] Do not use this form! "
+labels: [invalid]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        **Do not submit requests for support on GitHub! We use this platform for development purposes only.**
+        If you need help or want to ask a question, use one of these options:
+
+        * [Documentation](https://docs.hestiacp.com/)
+        * [Discussion Forums](https://forum.hestiacp.com/)
+        * [Discord (chat)](https://discord.gg/8b2HGNe8ne) (#community-support)
+  - type: checkboxes
+    id: support
+    attributes:
+      options:
+        - label: I acknowledge that any support request submitted with this form will be closed.
+          required: true

+ 0 - 34
.github/ISSUE_TEMPLATE/bug_report.md

@@ -1,34 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: "[BUG]"
-labels: ''
-assignees: ''
-
----
-
-**Describe the bug**
-A clear and concise description of what the bug is. Please include as much information as possible in your issue report, such as the configuration of your server and any troubleshooting steps that you've already performed.
-
-**NOTE: Do not include any personal or sensitive information, such as email addresses or passwords.**
-
-**To Reproduce**
-What steps did you take when the issue occured? 
-1. Ex.: Click on the "Web" tab.
-2. Ex.: Click on "Add Web Domain".
-3. Ex.: Attempted to add a domain and received an Internal Server Error.
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
-
-**Operating system:**
-Please enter your answer here (e.g. Ubuntu 20.04 LTS)
-
-**Hestia Control Panel version:**
-Please enter your answer here (e.g. 1.3.2). 
-
-**Additional context**
-If there is anything else that you'd like us to know about this issue that will help us diagnose and troubleshoot more effectively, such as links to forum posts or other discussions, please feel free to share here.

+ 0 - 20
.github/ISSUE_TEMPLATE/feature_request.md

@@ -1,20 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
-title: "[FEATURE]"
-labels: ''
-assignees: ''
-
----
-
-**Is your feature request related to a problem? Please describe.**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
-
-**Describe alternatives you've considered**
-A clear and concise description of any alternative solutions or features you've considered.
-
-**Additional context**
-Add any other context or screenshots about the feature request here.

+ 0 - 14
.github/ISSUE_TEMPLATE/support-request.md

@@ -1,14 +0,0 @@
----
-name: Support request
-about: For support, take a look here
-title: "[SUPPORT]"
-labels: ''
-assignees: ''
-
----
-
-**Please do NOT use our GitHub Project for support requests, you can find community support and help here:**
-
-**Documentation:** [docs.hestiacp.com](https://docs.hestiacp.com/)
-**Forums:** [forum.hestiacp.com](https://forum.hestiacp.com/)
-**Discord:** [Join the discussion](https://discord.gg/8b2HGNe8ne)

+ 5 - 0
bin/v-list-sys-disk-status

@@ -32,6 +32,11 @@ df -h
 echo -en "\n-------------------------------------"
 echo -en  "-------------------------------------\n\n"
 
+# Displaying inodes usage
+df -ih
+echo -en "\n-------------------------------------"
+echo -en  "-------------------------------------\n\n"
+ 
 # Displaying I/O usage
 iostat -m
 echo -en "\n-------------------------------------"