All Projects → nextcloud → issuetemplate

nextcloud / issuetemplate

Licence: AGPL-3.0 License
🚧 Nextcloud app for easy bug reporting with prefilled issue templates

Programming Languages

PHP
23972 projects - #3 most used programming language
SCSS
7915 projects
Vue
7211 projects
Makefile
30231 projects
javascript
184084 projects - #8 most used programming language
hack
652 projects

Projects that are alternatives of or similar to issuetemplate

nextcloud-docker-compose
☁️ Spin up a Nextcloud instance with automatied backups and SSL certificate issuance.
Stars: ✭ 69 (+475%)
Mutual labels:  nextcloud
check nextcloud
Nagios/Centreon plugin for nextcloud serverinfo API (https://github.com/nextcloud/serverinfo)
Stars: ✭ 22 (+83.33%)
Mutual labels:  nextcloud
nextcloud sentry
Sentry integration for Nextcloud
Stars: ✭ 26 (+116.67%)
Mutual labels:  nextcloud
sharepoint
💾 Nextcloud SharePoint Backend for External storages
Stars: ✭ 16 (+33.33%)
Mutual labels:  nextcloud
talk-ios
📱😀 Video & audio calls through Nextcloud on iOS
Stars: ✭ 99 (+725%)
Mutual labels:  nextcloud
nextcloud-grauphel
Tomboy note synchronization REST server nextcloud app
Stars: ✭ 53 (+341.67%)
Mutual labels:  nextcloud
nextshot
A simple tool for taking screenshots on Linux and sharing via Nextcloud
Stars: ✭ 37 (+208.33%)
Mutual labels:  nextcloud
nextcloud-portable
🚀 Nextcloud portable for Windows
Stars: ✭ 21 (+75%)
Mutual labels:  nextcloud
apporder
Nextcloud app to enable sorting inside the app menu
Stars: ✭ 30 (+150%)
Mutual labels:  nextcloud
privacy-links
[POLISH] Chroń swoją prywatność z najlepszymi narzędziami zebranymi w jednym miejscu.
Stars: ✭ 31 (+158.33%)
Mutual labels:  nextcloud
nextcloud-exporter
Prometheus exporter for Nextcloud servers.
Stars: ✭ 134 (+1016.67%)
Mutual labels:  nextcloud
circles
👪 Create groups with other users on a Nextcloud instance and share with them
Stars: ✭ 121 (+908.33%)
Mutual labels:  nextcloud
gestion
baimard.github.io/gestion
Stars: ✭ 37 (+208.33%)
Mutual labels:  nextcloud
nextcloud twofactor webauthn
WebAuthn Two-Factor Provider for Nextcloud
Stars: ✭ 34 (+183.33%)
Mutual labels:  nextcloud
BugHunter
No description or website provided.
Stars: ✭ 23 (+91.67%)
Mutual labels:  bugreport
app-certificate-requests
🎖 Repository for requesting app certificates
Stars: ✭ 23 (+91.67%)
Mutual labels:  nextcloud
files photospheres
Nextcloud app for viewing Google PhotoSphere 360° images (panorama-images)
Stars: ✭ 20 (+66.67%)
Mutual labels:  nextcloud
direct menu
Nextcloud/OwnCloud app to provide easy access to all apps in the header
Stars: ✭ 16 (+33.33%)
Mutual labels:  nextcloud
silverbox
Guide describing how to setup compact, silent and energy-efficient GNU/Linux home server
Stars: ✭ 42 (+250%)
Mutual labels:  nextcloud
PUQ WHMCS-Public-Nextcloud
Module for the WHMCS system. For manage NextCloud users as a product.
Stars: ✭ 17 (+41.67%)
Mutual labels:  nextcloud

Issue Template

Nextcloud app to prefill github issue with current server information.

Screenshot

Place this app in nextcloud/apps/

Building the app

The app can be built by using the provided Makefile by running:

make

This requires the following things to be present:

  • make
  • which
  • tar: for building the archive
  • curl: used if phpunit and composer are not installed to fetch them from the web
  • npm: for building and testing everything JS, only required if a package.json is placed inside the js/ folder

The make command will install or update Composer dependencies if a composer.json is present and also npm run build if a package.json is present in the js/ folder. The npm build script should use local paths for build systems and package managers, so people that simply want to build the app won't need to install npm libraries globally, e.g.:

package.json:

"scripts": {
    "test": "node node_modules/gulp-cli/bin/gulp.js karma",
    "prebuild": "npm install && node_modules/bower/bin/bower install && node_modules/bower/bin/bower update",
    "build": "node node_modules/gulp-cli/bin/gulp.js"
}

Publish to App Store

First get an account for the App Store then run:

make && make appstore

The archive is located in build/artifacts/appstore and can then be uploaded to the App Store.

Running tests

You can use the provided Makefile to run all tests by using:

make test

This will run the PHP unit and integration tests and if a package.json is present in the js/ folder will execute npm run test

Of course you can also install PHPUnit and use the configurations directly:

phpunit -c phpunit.xml

or:

phpunit -c phpunit.integration.xml

for integration tests

Integration for app developers

Apps will appear automatically in the issue template app once their appinfo.xml contains a <bugs> tag with an URL to the GitHub issue tracker.

Adding custom details to your issue report:

$dispatcher = \OC::$server->getEventDispatcher();
$dispatcher->addListener('\OCA\IssueTemplate::queryAppDetails', function(GenericEvent $event) {
    if($event->getArgument('app') === 'deck') {
        $manager = \OC::$server->query(\OCA\IssueTemplate\DetailManager::class);
        $section = new \OCA\IssueTemplate\Section('server-config', 'Server configuration');
        $section->createDetail('Operating system', php_uname());
        $section->createDetail('PHP version', PHP_VERSION);
        $manager->addSection($section);
    }
});

Sections provided by default can be disabled using \OCA\IssueTemplate\DetailManager::removeSection($sectionName) method. Currently the following 3 section names are provided by default:

  • server-detail
  • log-detail
  • client-detail
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].