- Jan 27, 2020
-
-
Alexey Kuklin authored
-
- Jan 03, 2020
-
-
Alexey Kuklin authored
-
Alexey Kuklin authored
-
Alexey Kuklin authored
-
Alexey Kuklin authored
-
Alexey Kuklin authored
-
- Dec 19, 2019
-
-
Peter Rotich authored
Oops: Variable Overwrite
-
aydreeihn authored
This commit fixes and issue where the $key variable was overwritten when creating a foreach loop. Since we didn't actually need the key, it can be removed from the loop.
-
Peter Rotich authored
Issue: DB Error #1064 Queue Counts
-
Peter Rotich authored
session: Destroy Warning
-
- Dec 18, 2019
-
-
JediKev authored
This addresses the `session_destroy()` warning many people are receiving with PHP 7+. The warning states `PHP Warning: session_destroy(): Session callback expects true/false return value`. This is because our session destroy method does not always return true/false, sometimes it returns `int(1)`. This adds a check to see if the session was not deleted successfully, if not it returns false, otherwise it returns true. This will ensure `session_destroy()` always receives a true/false return value.
-
aydreeihn authored
This commit fixes an error where queue counts cannot be returned if the config saved for a queue is invalid. We try to build a query that does a count based on the criteria saved in the config, so when we try to build the query for an incorrectly saved config, the query we try to write looks something like this: COUNT(DISTINCT CASE WHEN THEN A1.`ticket_id` END) AS `q15` Rather than trying to do a count for these, we should just skip over them so that no error is thrown since there is no way we would be able to count it anyway. It is also possible for there to be more than 1 criteria defined, and if one of them is wrong, the same error will be thrown. We can check to see if there are multiple criteria, and if one is empty, we can skip that count as well.
-
- Nov 25, 2019
-
-
Peter Rotich authored
Inline Edit Fields With Data Integrity
-
- Nov 21, 2019
-
-
aydreeihn authored
This commit adds the 'Required to close tickets' warning to inline edit fields if they are configured with the Data Integrity box checked (Require entry to close a thread)
-
Peter Rotich authored
Hotfix: File data callback
-
Peter Rotich authored
Commit 4dfb77ca failed to fully address the issue referenced.
- Nov 19, 2019
-
-
Peter Rotich authored
Security Vulnerabilities
-
Peter Rotich authored
This commit addresses possible Arbitrary Method Invocation via AJAX file upload. To save some memory osTicket uses callback method to fetch the content of a file on mail fetch. $file['data'] was overloaded as a callback by simply checking if the content is callable, resulting in method invocation when content of the uploaded file is a callable. The address the issue we're not using locally set callback parameter / method.
-
Peter Rotich authored
This commit addresses a vulnerability on how osTicket authenticates auth-tokens used for auto-login to view ticket status. The validation process failed to handle unexpected type handling issue making it possible for users to exploit type juggling and authenticate using only email and ticket number.
-
Peter Rotich authored
This commit mitigates insufficient validation in mPDF library that enables a malicious intruder to inject arbitrary PHP objects via css @import utility that may result in Remote Code Execution.
-
Peter Rotich authored
Dialog: Highlight tab with error(s)
-
Peter Rotich authored
This commit addresses javascript error - on error - on a dialog modal with tab content.
- Nov 18, 2019
-
-
Peter Rotich authored
format: Clickable URLs
-
JediKev authored
This addresses issue 5176 where some Plaintext URLs are not completely clickable. This is due to the regex check for clickable URLs not including a few characters. This adds `[`, `]`, and `/` as matchable characters so urls like `https://test.com/cart/add?route=marketplace/extension/info&product[123]=3` will be completely clickable.
-
- Nov 14, 2019
-
-
aydreeihn authored
Queue Pages Default
-
aydreeihn authored
Remove page limit parenthesis
-
aydreeihn authored
Queue Pages Default
-
aydreeihn authored
Default to the page limit when the queue returns 0 results instead of 3 pages.
-
Peter Rotich authored
Add Time boundaries to Between date range
-
Peter Rotich authored
The date picker already has the user's timezone factored in to the selection. Removing user's timezone allows for admin set queues to maintain the original timezone selection.
-
Peter Rotich authored
Clear Overdue Flag on Due Date Change
-
- Nov 13, 2019
-
-
Peter Rotich authored
Add time boundaries to between data range dates and convert results to database timezone.
-
Peter Rotich authored
Clear overdue flag on SLA / Duedate change that results in a duedate in the future.
-
- Nov 12, 2019
-
-
Peter Rotich authored
Feature: Mark as Answered permission option
-
Peter Rotich authored
db: System Time Zone
-
Peter Rotich authored
db: System Time Zone
-
JediKev authored
This addresses issue 5156 where using something like AWS RDS shows incorrect timezone for the database. In systems like AWS RDS you cannot set the `@@global.system_time_zone` variable to anything other than `UTC` which is a problem. This updates `db_connect` to set the session timezone to the global timezone for every connection. This will ensure the appropriate timezone is used in subsequent methods.
-