mirror of
https://github.com/chenasraf/nextcloud-autocurrency.git
synced 2026-05-17 17:28:06 +00:00
- Add GitHub Actions workflows for PHPUnit testing (MySQL and PostgreSQL) - Add issue templates (bug reports, feature requests) for better issue management - Enhance Makefile with Docker test support and improved build targets - Update lint-staged configuration with better PHP and JSON handling - Add comprehensive PHPUnit test infrastructure with Docker support - Update dependencies and add lock files for composer and vendor-bin tools - Improve code scaffolding templates (command, component, view generators) - Update build configuration (Vite, package.json, pnpm-lock.yaml) - Refactor Application.php settings initialization - Update AdminSettings and UserSettings implementations - Rename test file for consistency (ApiTest → ApiControllerTest) - Update .gitignore (track composer.lock, ignore stats.html)
213 lines
6.1 KiB
YAML
213 lines
6.1 KiB
YAML
name: Bug Report
|
|
description: Report a bug or issue with the AutoCurrency app
|
|
labels: ["bug"]
|
|
body:
|
|
- type: markdown
|
|
attributes:
|
|
value: |
|
|
Thanks for taking the time to report a bug! Please fill out the information below to help us investigate.
|
|
|
|
- type: textarea
|
|
id: description
|
|
attributes:
|
|
label: Bug Description
|
|
description: A clear and concise description of what the bug is.
|
|
placeholder: Describe the bug...
|
|
validations:
|
|
required: true
|
|
|
|
- type: textarea
|
|
id: steps
|
|
attributes:
|
|
label: Steps to Reproduce
|
|
description: Steps to reproduce the behavior
|
|
placeholder: |
|
|
1. Go to '...'
|
|
2. Click on '...'
|
|
3. Scroll down to '...'
|
|
4. See error
|
|
validations:
|
|
required: true
|
|
|
|
- type: textarea
|
|
id: expected
|
|
attributes:
|
|
label: Expected Behavior
|
|
description: What you expected to happen
|
|
placeholder: Describe what should happen...
|
|
validations:
|
|
required: true
|
|
|
|
- type: textarea
|
|
id: actual
|
|
attributes:
|
|
label: Actual Behavior
|
|
description: What actually happened
|
|
placeholder: Describe what actually happens...
|
|
validations:
|
|
required: true
|
|
|
|
- type: input
|
|
id: nextcloud-version
|
|
attributes:
|
|
label: Nextcloud Version
|
|
description: What version of Nextcloud are you running?
|
|
placeholder: e.g., 28.0.1
|
|
validations:
|
|
required: true
|
|
|
|
- type: input
|
|
id: app-version
|
|
attributes:
|
|
label: AutoCurrency App Version
|
|
description: What version of the AutoCurrency app are you using?
|
|
placeholder: e.g., 1.0.0
|
|
validations:
|
|
required: true
|
|
|
|
- type: input
|
|
id: php-version
|
|
attributes:
|
|
label: PHP Version
|
|
description: What version of PHP is your server running?
|
|
placeholder: e.g., 8.2.12
|
|
validations:
|
|
required: true
|
|
|
|
- type: dropdown
|
|
id: database
|
|
attributes:
|
|
label: Database
|
|
description: Which database are you using?
|
|
options:
|
|
- SQLite
|
|
- MySQL/MariaDB
|
|
- PostgreSQL
|
|
- Other
|
|
validations:
|
|
required: true
|
|
|
|
- type: input
|
|
id: browser
|
|
attributes:
|
|
label: Browser
|
|
description: Which browser are you using? (if applicable)
|
|
placeholder: e.g., Firefox 120, Chrome 119, Safari 17
|
|
|
|
- type: markdown
|
|
attributes:
|
|
value: |
|
|
## 📋 Debugging Information
|
|
|
|
The following information helps us investigate and fix issues quickly. Please provide as much detail as possible.
|
|
|
|
- type: textarea
|
|
id: migration-status
|
|
attributes:
|
|
label: Migration Status
|
|
description: |
|
|
**How to check migration status:**
|
|
|
|
This shows which database migrations have been executed for the AutoCurrency app.
|
|
|
|
**For Docker installations:**
|
|
```bash
|
|
docker exec --user www-data -i nextcloud-aio-nextcloud php occ migrations:status autocurrency
|
|
```
|
|
|
|
**For standard installations:**
|
|
```bash
|
|
php occ migrations:status autocurrency
|
|
```
|
|
|
|
Or from the Nextcloud directory:
|
|
```bash
|
|
sudo -u www-data php occ migrations:status autocurrency
|
|
```
|
|
placeholder: Paste the migration status output here...
|
|
render: shell
|
|
|
|
- type: textarea
|
|
id: nextcloud-logs
|
|
attributes:
|
|
label: Nextcloud Server Logs
|
|
description: |
|
|
**How to get server logs:**
|
|
|
|
Look for errors related to the AutoCurrency app (last 20-50 lines recommended).
|
|
|
|
**Via Web UI:**
|
|
- Go to Nextcloud Settings → Administration → Logging (or `/settings/admin/logging`)
|
|
- Look for entries containing "autocurrency"
|
|
|
|
**For Docker installations:**
|
|
```bash
|
|
docker exec --user www-data -i nextcloud-aio-nextcloud tail -100 /var/www/html/data/nextcloud.log | grep -i autocurrency
|
|
```
|
|
|
|
**For standard installations:**
|
|
```bash
|
|
tail -100 /path/to/nextcloud/data/nextcloud.log | grep -i autocurrency
|
|
```
|
|
|
|
Or from the Nextcloud directory:
|
|
```bash
|
|
sudo -u www-data tail -100 data/nextcloud.log | grep -i autocurrency
|
|
```
|
|
placeholder: Paste Nextcloud server logs here...
|
|
render: shell
|
|
|
|
- type: textarea
|
|
id: browser-console
|
|
attributes:
|
|
label: Browser Console Errors
|
|
description: |
|
|
**How to check browser console:**
|
|
1. Open the page where the issue occurs
|
|
2. Press **F12** (or right-click → Inspect → Console tab)
|
|
3. Look for red error messages
|
|
4. Copy any errors related to the AutoCurrency app
|
|
|
|
**Tip:** You can right-click on an error and select "Copy message" or "Copy stack trace"
|
|
placeholder: Paste browser console errors here...
|
|
render: javascript
|
|
|
|
- type: textarea
|
|
id: network-errors
|
|
attributes:
|
|
label: Network Request Errors
|
|
description: |
|
|
**How to check network requests:**
|
|
1. Open the page where the issue occurs
|
|
2. Press **F12** → Go to the **Network** tab
|
|
3. Reproduce the issue
|
|
4. Look for failed requests (shown in red or with 4xx/5xx status codes)
|
|
5. Click on the failed request
|
|
6. Copy the following information:
|
|
- **Request URL** (e.g., `/apps/autocurrency/api/...`)
|
|
- **Status Code** (e.g., 500, 404, 403)
|
|
- **Response** tab content (the error message/data returned)
|
|
|
|
**Example format:**
|
|
```
|
|
Request: POST /apps/autocurrency/api/...
|
|
Status: 500 Internal Server Error
|
|
Response: {"error": "Database connection failed"}
|
|
```
|
|
placeholder: Paste network error details here...
|
|
render: shell
|
|
|
|
- type: textarea
|
|
id: screenshots
|
|
attributes:
|
|
label: Screenshots
|
|
description: |
|
|
If applicable, add screenshots to help explain your problem.
|
|
You can drag and drop images directly into this field.
|
|
|
|
- type: textarea
|
|
id: additional
|
|
attributes:
|
|
label: Additional Context
|
|
description: Add any other context about the problem here (e.g., recent changes, specific configuration, workarounds attempted)
|