- Apr 29, 2015
-
-
Jared Hancock authored
-
- Apr 23, 2015
-
-
Jared Hancock authored
-
- Apr 16, 2015
-
-
Jared Hancock authored
-
- Apr 15, 2015
-
-
Jared Hancock authored
This feature addresses a major issue with the initial implementation of the custom data system. The original system confused the usage of database-backed field (dynamic-fields) and their corresponding implementation. This created the need to crate awkward caching pieces to ensure that validation errors and data was maintained. Furthermore, the system confused the linking between form instances (dynamic-entry) and the form used to represent that entry. This patch addresses the confusion in two ways: Dynamic form entries do not link directly to the dynamic form. Instead, the ::getForm() method returns something from the forms API directly. Furthermore, the ::getFields() method does not return dynamic field instances (database backed / designed fields). Instead, the actual implementation of the fields from the forms API is retrieved. This allows the fields to *always* be cached, which helps preserve data and validation state. Secondly, the dynamic form uses the same system, so that requests to turn a dynamic form into a form (via ::getForm) will also result in the same behavior, again, where the fields are represented as forms API fields rather than the dynamic fields. So going forward, the dynamic fields are *only* used to create corresponding forms API field implementations. The are associated with the dynamic counterparts as sparingly as possible.
-
- Apr 10, 2015
-
-
Jared Hancock authored
-
- Apr 01, 2015
-
-
Jared Hancock authored
-
Jared Hancock authored
-
- Mar 23, 2015
-
-
Jared Hancock authored
-
- Mar 13, 2015
-
-
Jared Hancock authored
Reset field content when building a new form
-
- Mar 06, 2015
-
-
Jared Hancock authored
-
- Mar 05, 2015
-
-
Jared Hancock authored
Which indicates permissions are not windowed by an object's department
-
Jared Hancock authored
Also, convert the user tickets template file to use ORM
-
Jared Hancock authored
-
- Feb 17, 2015
-
-
Jared Hancock authored
-
- Feb 12, 2015
-
-
Jared Hancock authored
This patch includes a slight database migration, and adjusts the functionality of a few core components. * Move collaborators from the ticket to the thread. This concept allows collaborators on any object which has a thread, including tasks. * Add flags to the thread entry This will allow flagging thread entries for different purposes. Initially this can be used to flag the original message of a thread in case a ticket / thread is created without an initial message. * Lock becomes more of a utility The lock is now disconnected from the ticket and is a separate utility. Separately, the ticket and task objects can have a reference to a lock object. Furthermore, when submitting some activities to tickets, the lock is verified to be owned by the respective agent, and the lock code must match a current lock code. The code is rotated on each acquire() call to guard against double submissions. * Collaborator is an ORM model The TicketUser class is broken up now so that the collaborator instance can exist apart from a ticket. Email message ids are now generated for collaborators without respect for a ticket so that collaborators can be properly supported on any thread.
-
- Feb 10, 2015
-
-
Jared Hancock authored
This adds the ability to find, activate, lock, and optionally send a password-reset email to one ore more users in the help desk.
-
Jared Hancock authored
This patch converts the central file and threading classes over to use the ORM.
-
- Jan 05, 2015
-
-
Jared Hancock authored
* Fix missing attachments join for Category (fixes #1654) * Fix crash on user account registration * Fix save button on user account (fixes #1655) — regression from bebc2d79
-
- Dec 30, 2014
-
-
Jared Hancock authored
* Fix incorrect mapping to user email address * Fix early rejecting of tickets — even if a filter earlier in the matching filter list had "stop on match" set * Fix ::stopOnMatch referring to incorrect db field The new logic abandons the early rejection logic in ticket create. Instead, the normal validation is completed as usual. Thereafter, the filter is initialized and applied to the ticket. Upon rejection, a RejectedException is thrown by the ::apply() method of the TicketFilter. The Ticket::create() method will handle the exception and reject the ticket.
-
- Dec 11, 2014
-
-
Peter Rotich authored
Add generic routing to get object's dynamic form entries.
-
Jared Hancock authored
-
- Dec 10, 2014
-
-
Jared Hancock authored
-
- Dec 08, 2014
-
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
This allows for things like related COUNTs and such: ```php ThreadEntry::objects()->annotate( 'attachment_count'=>Aggregate::COUNT('attachments') ) ->filter(array('attachments__type__contains'=>'image/')) ->filter(array('attachment_count__gt'=>0)); ``` This would find all thread entries with at least one image attached.
-
Jared Hancock authored
-
- Nov 14, 2014
-
-
Jared Hancock authored
-
- Oct 07, 2014
-
-
Jared Hancock authored
This patch fixes a small glitch where validation might be bypassed for fields for agents. Previously there was a glitch where required fields would have their validation errors ignored.
-
Jared Hancock authored
Since users can already log in via their email address, offer a friendly error message when agents configure the user name to be an email address.
-
- Sep 26, 2014
-
-
Jared Hancock authored
-
- Sep 24, 2014
-
-
Peter Rotich authored
-
Peter Rotich authored
This will be useful for maintaining arbitrary list of items. ListObject should be used in the place of ArrayObject
-
Andrés authored
Fix issue that fails for get names on incorrect formats. Ex: J.Everybody
-
- Aug 29, 2014
-
-
Jared Hancock authored
And allow for @context to add context to the bare string literal. For instance, /* @trans, @context "noun" */ 'Open' Would mark the string 'Open' translatable with context "noun".
-
- Aug 22, 2014
-
-
Peter Rotich authored
Statuses with tickets cannot be deleted Fix orm to class gracefully when joins are not inspected Add create date to new statuses
-
- Aug 13, 2014
-
-
Jared Hancock authored
-
- Aug 07, 2014
-
-
Jared Hancock authored
-