-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/ChurchCRM/CRM
- Loading branch information
Showing
7 changed files
with
59 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/// <reference types="cypress" /> | ||
|
||
context('Report Issue', () => { | ||
|
||
it('Click Menus to Report issue', () => { | ||
cy.loginStandard('v2/dashboard'); | ||
cy.get('.fa-headset').click(); | ||
cy.get('#reportIssue').click(); | ||
cy.contains("Issue Report!") | ||
}); | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ msgstr "" | |
"#-#-#-#-# messages.po (PACKAGE VERSION) #-#-#-#-#\n" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-11-02 17:49-0700\n" | ||
"POT-Creation-Date: 2023-11-04 17:15-0700\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -25,16 +25,16 @@ msgstr "" | |
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1)\n" | ||
"POT-Creation-Date: 2023-11-03T00:49:43.662Z\n" | ||
"PO-Revision-Date: 2023-11-03T00:49:43.662Z\n" | ||
"POT-Creation-Date: 2023-11-05T00:15:54.052Z\n" | ||
"PO-Revision-Date: 2023-11-05T00:15:54.053Z\n" | ||
"#-#-#-#-# react-js-strings.po (i18next-conv) #-#-#-#-#\n" | ||
"Project-Id-Version: i18next-conv\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1)\n" | ||
"POT-Creation-Date: 2023-11-03T00:49:43.875Z\n" | ||
"PO-Revision-Date: 2023-11-03T00:49:43.875Z\n" | ||
"POT-Creation-Date: 2023-11-05T00:15:54.268Z\n" | ||
"PO-Revision-Date: 2023-11-05T00:15:54.269Z\n" | ||
|
||
msgid "Backup Database" | ||
msgstr "" | ||
|
@@ -3357,31 +3357,17 @@ msgstr "" | |
msgid "Issue Report!" | ||
msgstr "" | ||
|
||
msgid "Enter a Title for your bug / feature report" | ||
msgstr "" | ||
|
||
msgid "What were you doing when you noticed the bug / feature opportunity?" | ||
msgstr "" | ||
|
||
msgid "" | ||
"When you click \"submit,\" an error report will be posted to the ChurchCRM " | ||
"GitHub Issue tracker." | ||
msgstr "" | ||
|
||
msgid "Please do not include any confidential information." | ||
msgstr "" | ||
|
||
msgid "" | ||
"Some general information about your system will be submitted along with the " | ||
"request such as Server version and browser headers." | ||
"When you click \"Submit to GitHub\" you will be directed to github issues " | ||
"page with your system info prefilled." | ||
msgstr "" | ||
|
||
msgid "" | ||
"No personally identifiable information will be submitted unless you " | ||
"purposefully include it." | ||
msgstr "" | ||
|
||
msgid "Submit" | ||
msgid "Submit to GitHub" | ||
msgstr "" | ||
|
||
msgid "Help translate this project" | ||
|
@@ -5381,9 +5367,6 @@ msgstr "" | |
msgid "Web Server" | ||
msgstr "" | ||
|
||
msgid "Server Software" | ||
msgstr "" | ||
|
||
msgid "Email Information" | ||
msgstr "" | ||
|
||
|
@@ -7163,12 +7146,6 @@ msgstr "" | |
msgid "Move" | ||
msgstr "" | ||
|
||
msgid "Successfully submitted Issue" | ||
msgstr "" | ||
|
||
msgid "View Issue on GitHub" | ||
msgstr "" | ||
|
||
msgid "Do you want to delete this person? This cannot be undone." | ||
msgstr "" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
<?php | ||
|
||
use ChurchCRM\dto\SystemURLs; | ||
use ChurchCRM\Service\SystemService; | ||
|
||
// Routes | ||
$app->post('/issues', function ($request, $response, $args) use ($app) { | ||
$input = json_decode($request->getBody(), null, 512, JSON_THROW_ON_ERROR); | ||
$systemService = $this->get('SystemService'); | ||
$data = json_decode($request->getBody(), null, 512, JSON_THROW_ON_ERROR); | ||
$issueDescription = | ||
"Collected Value Title | Data \r\n" . | ||
"----------------------|----------------\r\n" . | ||
'Page Name |' . $data->pageName . "\r\n" . | ||
'Screen Size |' . $data->screenSize->height . 'x' . $data->screenSize->width . "\r\n" . | ||
'Window Size |' . $data->windowSize->height . 'x' . $data->windowSize->width . "\r\n" . | ||
'Page Size |' . $data->pageSize->height . 'x' . $data->pageSize->width . "\r\n" . | ||
'Platform Information | ' . php_uname($mode = 'a') . "\r\n" . | ||
'PHP Version | ' . phpversion() . "\r\n" . | ||
'SQL Version | ' . SystemService::getDBServerVersion() . "\r\n" . | ||
'ChurchCRM Version |' . $_SESSION['sSoftwareInstalledVersion'] . "\r\n" . | ||
'Reporting Browser |' . $_SERVER['HTTP_USER_AGENT'] . "\r\n" . | ||
'Prerequisite Status |' . SystemService::getPrerequisiteStatus() . "\r\n" ; | ||
|
||
return $systemService->reportIssue($input); | ||
return $response->withJson(["issueBody" => $issueDescription]); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters