From 6721c558af9176e6bc7e74bf00091f1619b379d4 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Wed, 25 Jan 2017 20:52:20 +0000 Subject: [PATCH 01/22] Update CONTRIBUTING.md --- CONTRIBUTING.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e174429b..4dc8a711 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,8 +9,8 @@ If all you are doing is submitting an issue, please check if your "issue" qualif ## Getting Started If you have already completed any of these steps in the past (such as creating a GitHub account), you can skip the respective step. - - Make sure you have a [GitHub account](http://github.com/signup/free) - - Fork the repository on GitHub (for more help consult the [GitHub documentation](https://help.github.com/articles/fork-a-repo/)) + - Make sure you have a [GitLab account](https://gitlab.com/users/sign_in) + - Fork the repository on GitLab ## Making Changes - Create a feature branch from where to base your work off of @@ -22,7 +22,6 @@ If you have already completed any of these steps in the past (such as creating a ## Submitting Changes - Push your changes to a topic branch in your fork of the repository - - Submit a pull request to the official Mods for HESK repository (mkoch227/Mods-for-HESK) - - If necessary, sign the Contributor License Agreement by checking the "status checks" area of your pull request. + - Submit a pull request to the official Mods for HESK repository (mike-koch/Mods-for-HESK) - The owner of Mods for HESK will then inspect and test the code in the pull request. Feedback will be given via GitHub comments. - The owner of Mods for HESK expects responses within two weeks of the original comment. If there is no feedback within that time range, the pull request will be considered abandoned and subsequently will be closed. From ba0a035d88a0430342ca31afedeb551e729a3f17 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Wed, 25 Jan 2017 20:52:59 +0000 Subject: [PATCH 02/22] Update CONTRIBUTING.md --- CONTRIBUTING.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4dc8a711..826743d4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,13 +2,13 @@ So you want to contribute to Mods for HESK? Awesome! However, there are a few guidelines that need to be followed so the project can be as easy to maintain as possible. ## Submitting an issue -If all you are doing is submitting an issue, please check if your "issue" qualifies as a GitHub issue: - - **Feature Requests:** Feature requests are now being recorded at the Mods for HESK [UserVoice page](https://mods-for-hesk.uservoice.com/forums/254758-general). Please do not open these types of issues on GitHub. Issues opened that are "feature requests" will be closed. - - **Translations:** Translations are now being recorded at the official Mods for HESK [website](https://mods-for-hesk.mkochcs.com/download.php). Please do not open these types of issues on GitHub. Issues opened that pertain to submitting new translations will be closed. +If all you are doing is submitting an issue, please check if your "issue" qualifies as a GitLab issue: + - **Feature Requests:** Feature requests are now being recorded at the Mods for HESK [UserVoice page](https://mods-for-hesk.uservoice.com/forums/254758-general). Please do not open these types of issues on GitLab. Issues opened that are "feature requests" will be closed. + - **Translations:** Translations are now being recorded at the official Mods for HESK [website](https://mods-for-hesk.mkochcs.com/download.php). Please do not open these types of issues on GitLab. Issues opened that pertain to submitting new translations will be closed. - **Bugs:** Yes, please open these types of issues here. :grinning: ## Getting Started -If you have already completed any of these steps in the past (such as creating a GitHub account), you can skip the respective step. +If you have already completed any of these steps in the past (such as creating a GitLab account), you can skip the respective step. - Make sure you have a [GitLab account](https://gitlab.com/users/sign_in) - Fork the repository on GitLab @@ -23,5 +23,5 @@ If you have already completed any of these steps in the past (such as creating a ## Submitting Changes - Push your changes to a topic branch in your fork of the repository - Submit a pull request to the official Mods for HESK repository (mike-koch/Mods-for-HESK) - - The owner of Mods for HESK will then inspect and test the code in the pull request. Feedback will be given via GitHub comments. + - The owner of Mods for HESK will then inspect and test the code in the pull request. Feedback will be given via GitLab comments. - The owner of Mods for HESK expects responses within two weeks of the original comment. If there is no feedback within that time range, the pull request will be considered abandoned and subsequently will be closed. From cecd302957e633d0873fa5f048b0c3f4e201f14f Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Tue, 7 Feb 2017 12:39:29 -0500 Subject: [PATCH 03/22] Fixes #509 Allow customers to respond using rich text --- reply_ticket.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/reply_ticket.php b/reply_ticket.php index 8160c573..e4e96fdf 100644 --- a/reply_ticket.php +++ b/reply_ticket.php @@ -62,12 +62,14 @@ $message = hesk_input(hesk_POST('message')); // If the message was entered, further parse it $modsForHesk_settings = mfh_getSettings(); -if (strlen($message) && !$modsForHesk_settings['rich_text_for_tickets_for_customers']) { - // Make links clickable - $message = hesk_makeURL($message); +if (strlen($message)) { + if (!$modsForHesk_settings['rich_text_for_tickets_for_customers']) { + // Make links clickable + $message = hesk_makeURL($message); - // Turn newlines into
- $message = nl2br($message); + // Turn newlines into
+ $message = nl2br($message); + } } else { $hesk_error_buffer[] = $hesklang['enter_message']; } From d7a25b7c7aad22f719783c63cce68ff9881a94ee Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Tue, 7 Feb 2017 13:01:28 -0500 Subject: [PATCH 04/22] Fixes #507 Add back missing create event button --- admin/calendar.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/admin/calendar.php b/admin/calendar.php index 96c98361..281b624d 100644 --- a/admin/calendar.php +++ b/admin/calendar.php @@ -83,7 +83,6 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');