- Mar 30, 2016
-
-
Jared Hancock authored
-
- Mar 29, 2016
-
-
Peter Rotich authored
orm: Properly quote objects in queries
-
Jared Hancock authored
-
- Mar 28, 2016
-
-
Jared Hancock authored
Date Time Conversion Mojo Reviewed-By:
Jared Hancock <jared@osticket.com>
-
Jared Hancock authored
-
Jared Hancock authored
This fixes a regression in 4f8f236d, where the parameters are sent in the SQL statement to the database. Objects which are converted to a string must be propertly quoted when placed in the query.
-
Jared Hancock authored
-
Peter Rotich authored
-
- Mar 27, 2016
-
-
Peter Rotich authored
ORM queries avoiding caching Reviewed-By:
Peter Rotich <peter@osticket.com>
-
- Mar 26, 2016
-
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
- Mar 25, 2016
-
-
Peter Rotich authored
Add year to php to Date Picker (js) translation table
-
Peter Rotich authored
Make sure due date time dropdown display matches the option value.
-
Peter Rotich authored
Stop doing double timezone offset
-
Jared Hancock authored
Simplified executor which uses the mysqli_query() function to process queries. This method is faster on MySQL as it doesn't require the PREPARE overhead, nor require two trips to the database per query. All parameters are escaped and placed directly into the SQL statement. This executor extends the traditional mysqli_fetch_xxx() methods by casting non-null numeric field values to PHP numeric types.
-
Jared Hancock authored
This is required because using unbuffered MySQL queries means that no other SQL queries can be run until the export is finished. Since the Staff model will lazily query the config table, the queries need to be fetched in advance.
-
Jared Hancock authored
This adds a new concept to the ORM iteration mechanisms and allows iterating over very large queries without caching the records neither in the result set nor in the model cache. It also implies using the mysqli_query() method rather than the prepared statement model, as unbuffered queries with the prepared statement system are much slower.
-
Peter Rotich authored
-
Peter Rotich authored
alerts: Do not include the manager with the members Reviewed-By:
Peter Rotich <peter@osticket.com>
-
Peter Rotich authored
i18n: Eliminate duplicate or incorrect texts Reviewed-By:
Peter Rotich <peter@osticket.com>
-
Jared Hancock authored
-
Jared Hancock authored
This pass also makes a stride at adding correct punctuation and making error phrases consistent.
-
- Mar 24, 2016
-
-
Jared Hancock authored
-
Jared Hancock authored
This is my attempt at removing similar texts from the translator work load. It also makes an attempt at dropping some misspelled words and works toward standardizing some phrases.
-
Jared Hancock authored
-
Peter Rotich authored
login: Introduce a more "professional" login backdrop Reviewed-By:
Peter Rotich <peter@osticket.com>
-
Jared Hancock authored
v1.10 rc2++ Bug Fixes Reviewed-By:
Jared Hancock <jared@osticket.com>
-
Peter Rotich authored
-
Peter Rotich authored
php: Support PHP 7, require at least 5.4 Reviewed-By:
Peter Rotich <peter@osticket.com>
-
Jared Hancock authored
Bug: Show help topic specific thank-you page Reviewed-By:
Jared Hancock <jared@osticket.com>
-
Jared Hancock authored
Textarea input cleanup Reviewed-By:
Jared Hancock <jared@osticket.com>
-
- Mar 20, 2016
-
-
Jared Hancock authored
This duplicates the custom logo code to allow for custom login backdrops. A new page is added to the "Company" settings page which allows for management of the uploaded custom backdrops.
-
- Mar 19, 2016
-
-
Jared Hancock authored
Also, rename other apc_xxx functio to the new apcu_xxx equivalents available since PHP 5.4.
-
- Mar 18, 2016
-
-
Jared Hancock authored
-
Jared Hancock authored
Use APCu, if available, to cache the compiled model meta data.
-
Jared Hancock authored
Previously, the create method was used to create a new instance of an orm model (which would later result in an INSERT when persisted); however, some classes require or utilize varying parameters to their create() method, which PHP7 considers an error. Methods in subclasses must be defined with a calling signature compatible with the parent class. This patch shifts the concept of model creation to the constructor. Now, the constructor of ORM models is required to be compatible with that of ModelBase class. Now that most models do not define a constructor, this is much easier to control, and much more logical. Also, remove an issue where assignments on a relationship field to an instance of a super class of the foreign model would raise an error. This was previously addressed by re-classing the instance in the ModelInstanceManager::getOrBuild(); however that design would create multiple instances of the same object in memory, which defeats one of the primary design concepts of the ORM. This patch addresses the issue by allowing super-classes of the declared foreign model in relationship assignments.
-
Jared Hancock authored
This commit attempts to remove all coding standard warnings emitted by PHP 7.0.
-
- Mar 17, 2016
-
-
Peter Rotich authored
Default to system default of staff doesn't have page limit set. Credit: @antriver PR#2951
-