7.x changelog
-------------
April 9,2012 (7.x-1.x-rc1)
 - support.module
    o bug #1312652: by gapa, konstantin.komelin: add missing spaces
    o bug #1337000: fix moving of tickets including comments and attachments

April 8, 2012 (7.x-1.x-beta4)
 - support.install
    o bug #1392084: fully uninstall support module
 - support.module
    o bug #1327278: load full file object before using it in notifications

April 7, 2012
 - support.module
    o bug #1405768: Zoltán Balogh: add missing spaces between sentences
    o bug #1405196: be sure $node->notification is set before using it

April 6, 2012
 - support.module
    o bug #1458904: use node_list_permissions() generated support_ticket permissions
    'create tickets' becomes 'create support_ticket content', 'delete any ticket' becomes 'delete any support_ticket content', 'delete own tickets' becomes 'delete own support_ticket content', 'edit any ticket' becomes 'edit any support_ticket content', and 'edit own tickets' becomes 'edit own support_ticket content'.
    o bug #1446116: cleanup support_comment_view() protect against unloaded user object; protect against $client being FALSE
    o bug #1390156: prevent error if no valid $client object selected
    o bug #1428572: check that the i18n_variable module is installed (which depends on the i18n module), not the i18n module itself

April 4, 2012
 - support.module
    o bug #1508708 by andrewfn: sort per configured secondary sort order.

January 1, 2012
 - INSTALL.txt
    o task #1128066: Document support module terminology, including what a
      'Support Client' is.

December 2, 2011
 - support.module
    o bug #1359678 reported by javier.alejandro.castro: Don't forbid creating unassigned tickets.

November 21, 2011
 - includes/support.ui.inc
    o bug #1346294 reported by justineggert: Add missing pager to the support client list.
 - support.module
    o bug #1330926 by isilweo: Ensure _support_clients_load() always returns an array to prevent fatal errors.
 - support.admin.inc
    o bug #1299268 reported by cesar.brod@gmail.com, root cause found by matrobin: Fix support clients incompatibility with pathauto.

November 13th, 2011
 - support.module
    o bug #1339692 by larin, Jeremy: limit user table queries
 - support_pm.module
    o bug #1317436 by JeffSheltren: preserve project when editing ticket

October 7, 2011
 - support.module
    o task #1302622: Unify queue url code to reduce bugginess when working with subclients.
    o Fix a glitch with table sorting on support/user/%.
    o Fix the sort order on support/user/%, secondary sort was applying before the click sort.

October 6, 2011
 - support_reference.module
    o bug #1301390: Fix double escaping on autocomplete results.
 - support.install
    o bug #1301424: Change order of {support_assigned} primary key. Add index on (uid).
 - support.module, support_pm.module
    o bug #1301408: Implement Drupal 7 style loading to reduce the number of queries and speed things up.
 - support.module
    o bug #1300520 reported by LinuxETC: Fix undefined index: und in support_mail_tokens(). Also, render the node body properly instead of using the fallback filter.
    o Fix mangled db_query() call.

October 5, 2011
 - support.module
    o bug #1299964 reported by LeeHarveyOswald: Brown paper bag fix: Add missing else block that handles filtering out tickets
      when the user has access to 0 clients. Fixes issue where anonymous can see everything on the frontpage.

September 27, 2011
 - support.module
    o bug #436726 reported by paddy_mul: Ajax support for client changing.
    o Fix a permission query that wasn't fully updated for D7.
    o work on feature #1292560: Support fetching all clients / one client as a system action.
    o Fix missing descriptive text on admin screen for support_charts.

September 26, 2011
 - support.module
    o bug #1289244 addendum: Fix subclients not having a default local task.
    o bug #1291290: Fix projects on subclients.

September 23, 2011
 - support.module
    o bug #1287772 reported by jlevinson: Fix undefined variable $user in support_query_alter().
    o feature #1267346 requested by ergonlogic: CRUD support. Actually, on D7, this is better done as entity support.
      Support.module now depends on entity.module.
    o bug #1289244: Fix corrupted state tabs in support.module hook_menu().
 - support_pm.module
    o part of bug #1289256: Fix fallout from the support_client 0 change.

September 20th, 2011
 - support.module
    o Fixing some minor warnings on D7.
    o Don't load the ticket in support_account_load() unless we actually need it.
    o bug #1285676: Fixing access control bugs.
    o bug #1282418 reported by rolandk: (followup) Fix a second instance where $autocomplete was missing.
    o tagged 7.x-1.0-beta1

September 19th, 2011
 - support.module
    o bug #1282418 reported by rolandk: Fix undefined variable: $autocomplete. Reported by rolandk.
 - support.user.inc
    o bug #1282010 reported by rolandk: Fix undefined variable warning.
 - support_charts.module
    o bug #1282726 reported by eduardo barros: Fix warnings on admin/support/charts.

September 14th, 2011
 - support.module
    o bug #1153854: Rename query placeholders to hopefully prevent query errors on some sites.
    o bug #1275806: Fix warning in support_client_load().

September 14th, 2011
 - support.module
    o Pushing a huge 7.x update.
 - support_pm.module
    o feature #1190320: rename support_plan to support_pm and add it to the
      main support project, as a place to add project management functionality.

August 9th, 2011
 - support.module
    o bug #1035774: set Message-ID (not Message-Id) only if not set already

May 7th, 2011
 - Fixed subscription.
 - Added update to convert mail variables to html.

February 20th, 2011
 - Initial conversion to Drupal 7, using Coder module.

April 11th, 2011
 - support.install
    o Cleanup install variables

April 18th, 2011
 - Issue #589552: mega-cleanup porting support module to Drupal 7 by
   javier.alejandro.castro

April 28, 2011
 - Issue #1139946: Client access missing hook_permission by miro_dietiker.
 - Fix header sorting.
 - Fix select all checkbox.
 - Fix autocomplete queries.

6.x changelog
-------------
November 13th, 2011
 - support_pm.module
    o bug #1317436 by JeffSheltren, Jeremy: preserve project when editing ticket

November 12th, 2011
 - support.module
    o bug #1339692 by larin, Jeremy: limit user table queries

November 8th, 2011
 - support.admin.inc
    o Fix escaping problems in support_admin_client() that were causing
      corruption on edit.
 - support_reference.module
    o Minor cleanup.

October 20th, 2011
 - support.module
    o feature #860714: expose notifications threading key (defaults to 'tkt')

October 19th, 2011
 - support.module
    o feature #396512: provide options for streamlining ticket display without
      a core patch

October 18th, 2011
 - support_pm.module
    o feature #1313498: invoice filter to display tickets not assigned to any
      project

October 7th, 2011
 - support.module
    o bug #919536: get confirmation before deleting client

October 6th, 2011
 - support.module
    o bug #1301424: performance: improve indexes on support_assigned table

September 29th, 2011
 - support.module
    o bug #913582: autocomplete assigned to field on ticket overview page
 - support_charts.module
    o bug #1001210: properly scale pie charts
 - support_pm.module
    o bug #1291290: Fix subclient support for projects.

September 22nd, 2011
 - support.module
    o feature #1267346 Implement CrUD for support clients; introduces
      support_client_delete_alter, support_client_update_alter, and
      support_client_create_alter, as well as hook_support_client_deleted,
      hook_support_client_updated and hook_support_client_created.
      -- Note: On Drupal 7, Entity API is used instead.
    o bug #1275512 reported by nzcodarnoc: Truncate the comment subject to 64 characters.

September 20th, 2011
 - support_pm.module
    o bug #1285482: Fix exception when editing a ticket that has a project set.
 - support.user.inc
    o bug #1285498: display ticket assignment on latest ticket listing.

September 13th, 2011
 - support.module
    o bug #1276776: declare $tickets before trying to access it
 - support.module
    o bug #1271038: minimize alerts when no support clients are enabled
 - support.module
    o Updating a missed plan_reports -> plan_report that was breaking plan reports.
 - support.module
    o Backport whitespace changes from D7.

September 12th, 2011
 - support.install
    o bug #1256500 followup: Make sure the schema is in sync after the 'active'
      removal from the support_assigned table.

September 8th, 2011 (6.x-1.5)
 - support.module
    o bug #1256500: Remove 'active' column and unnecessary enries from
      support_assigned table

September 7th, 2011
 - support.module
    o bug #1271038: Don't repeat notification message when no clients are
      defined

September 6th, 2011
 - support.module
    o bug #1271180: Don't join to {comments} on the ticket overview query.

August 15th, 2011
 - support.module
    o bug #1098316: don't display multi-ticket update fields if there are no
      tickets available to update

August 10th, 2011
 - tagged 6.x-1.5-rc1 release candidate

August 10th, 2011
 - support.module
    o bug #1158398: gracefully handle when no current client is set
    o bug #818250: don't display updates to tickets user doesn't have access to
      in core 'Recent comments' block
    o bug #1101122: properly list tickets user created or is assigned to when
      they don't have 'view other users tickets' permissions
    o bug #1245258: Fix bug preventing deleting tickets from cleaning up
      {support_project_ticket} properly.
    o bug #810012 by span, Jeremy: Support private files; fix attachment
      encoding issue
 - support_charts.module
    o bug #920374: include support_charts.css when displaying charts

August 9th, 2011
 - support.module
    o bug #1219332: properly handle empty client list
    o bug #1035774: set Message-ID (not Message-Id) only if not set already
    o feature #775270 by Jay Matwichuk, jandrews: grant access to ticket if
      user is subscribed to ticket
    o bug #768354: cleanup hook_access() to respect other access control
      modules, only explicitly blocking access to tickets when we know the user
      doesn't have access.
    o feature #738732: make default ticket sort order configurable
 - support.admin.inc
    o bug #683256 by kingandy: display pager on admin client listing
    o feature #791266 by schildi, jandrews: option that allows admins to
      bulk-update ticket properties without providing a comment

June 25th, 2011
 - support_pm.module
    o feature #1190320: allow filtering of ticket listings by project
    o feature #1190320: alter support_timer client reports to allowing filtering
      by project.  (no UI yet)

June 25th, 2011
 - support_pm.module
    o feature #1190320: allow creation of projects to be assigned to clients
      and tickets.  No reporting or listing based on project yet.

June 24th, 2011
 - support_pm.module
    o feature #1190320: rename support_plan to support_pm and add it to the
      main support project, as a place to add project management functionality.

June 11th, 2011
 - support_reference.module
    o feature #1185544: Thanks to Bdragon, implement ticket references allowing
      arbitrary relations be defined between tickets.

May 17th, 2011
 - don't send notifications to blocked users

February 20th, 2011
 - tagged 6.x-1.4 release (7.x branched from this release)

February 19th, 2011
 - support.module
    o feature #1066858: Add support for nested clients
    o bug #1016190: Properly enable autocomplete for suscribed user list, patch
                    thanks to "rsevero".
    o feature #982712: Allow URL aliases to be disabled in generated
                    notifiction emails.  Based on patch by 'rsevero'.
    o bug #981268: better inline documentation about how email notification
                   suppression works.  Patch thanks to "roderik".
    o feature #981060: allow translation of notification emails, and for emails
                       to be sent in the user's preferred langauge.  Patch
                       thanks to "roderik".
    o feature #694264: expose notification mail text through admin interface.
                       Patch thanks to "roderik".
    o feature #974496: improve reporting of mail errors.  Patch thanks to
                       "rsevero"
    o feature #819484: provide individual permission for "move ticket", allowing
                       users to move tickets without "administer support" perms
    o bug #731766: give ticket properties fieldset a title
 - support.admin.inc
    o bug #1023676: Document correct port for IMAP, patch thanks to "roderik".

January 4th, 2011
 - support_mailcmd.module
    o bug #747328: Implement field updates via email. See MAIL.txt for details.

December 6th, 2010
 - support.module
    o bug #677504: Fix duplicate entry errors in SQL statements.
 - support.admin.inc
    o bug #677504: Fix duplicate entry errors in SQL statements.

September 5th, 2010
 - support.module
    o Allow loading of clients for specific user.
 - support_charts.info
    o Fix capitalization of module name.

July 30th, 2010
 - support.module
    o bug #862150: Fix reply detection to handle replies to outgoing mail /
      cleanup, refactor, and document detection code.

April 22nd, 2010
 - support.module
    o bug #766010: only set up states array once when building menu (thanks to
      atodorov)
    o bug #761310: add missing calls to t() function (thanks to atodorov)
    o bug #764500: add missing calls to t() function (thanks to atodorov)
    o bug #761062: make all email text translatable (thanks to atodorov)
    o bug #731248: don't try to send emails to users with no email address
    o bug #721368: only try to autosubscribe users when users are defined
 - support.user.inc
    o bug #752188: display last updated timestamp when listing a user's tickets

April 18th, 2010
 - support.module
    o feature #508170: add ability to edit multiple tickets at once.  Requires
      'edit multiple tickets' permission.  Can add update, edit state and
      edit priority.
    o feature #508170: add ability to assign users when editing multiple
      tickets.

April 6th, 2010
 - support.module
    o bug #763838: fix typos that break XHTML validity (patch thanks to atodorov)

February 17th, 2010
 - support.module
    o bug #717618: improve domain matching
    o bug #696806: properly truncate utf8 text
 - support.admin.inc
    o bug #669756: only use checkdnsrr for domain validation if it exists

February 15th, 2010
 - support.module
    o feature #544268: make automatic creation of new users a global and per-
      client configurable option.  Patch thanks to Daniel Kvist, aka 'span'

February 12th, 2010
 - support.module
    o feature #713288: provide visual feedback when sending notifications

December 23rd, 2009
 - support.module
    o bug #662776: fix inline documentation typo
    o feature #654582: add option to globally disable notifications

December 6th, 2009 (6.x-1.3)
 - support.module
    o feature #652428: introduce theme_support_page and theme_support_page_user

November 25th, 2009 (6.x-1.3-rc1)
 - support.module
    o bug #643500: respect autosubscribe settings even when user doesn't have
      permission to subscrobe other users
    o feature #635952: provide hooks for altering tickets and clients
    o bug #639962: ignore non-support-ticket content

November 2nd, 2009
 - support.module
    o bug #621060: respect 'view other users tickets' perm in node listings
    o bug #607468: don't show 'tickets' search tab if user can't view tickets

October 9th, 2009
 - support.module
    o bug #600362: create thread_subject column on new installs

October 8th, 2009
 - support.module
    o bug #586512: remove FT_UID flags, breaking downloads on EXCHANGE, seem
      unneccessary (and one had a typo)

September 29th, 2009
 -  support.module
   o bug #591608: don't auto-assign ticket client if already set

September 24th, 2009
 -  support.module
   o bug #586512: body field not populated with fetched mails

September 20th, 2009
 - support.admin.inc
    o bug #583338: be sure $client is set before using it
    o feature #481110: add new notification settings, 'Prevent user creating or
      updating ticket from unsubscribing', 'Prevent autosubscribed users from
      unsubscribing', and 'Prevent assigned users from unsubscribing', all
      disabled by default
 - support.module
    o feature #481110: enforce new administrative notifications settings
    o bug #584452: list attachments in notifications when posted via email
 - support_charts.module
    o bug #584266: use declared field type when performing queries

September 20th, 2009
 - support.module
    o feature #582168: make option to thread tickets based on the subject
      a per-client setting

September 18th, 2009
 - support.module
    o feature #581806: add hook_support_fetch_message_alter for altering
      messages when they are downloaded from the server
 - support.admin.inc
    o feature #582168: add configurable option to thread tickets based on the 
      subject

September 17th, 2009 (6.x-1.2-rc1, 6.x-1.2)
 - support.module
    o bug #542802: improve attachment handling for non-english characters
 - support_charts.module
    o feature #544826: display per-user statistics in user profiles
 - support_admin.inc
    o bug #580132: properly document configuration of allowed domains

September 16th, 2009
 - support.module
    o feature #511940: add ability to auto-assign tickets to a specific user on
      creation, globally and/or per-client
    o bug #571600: don't show support admin menus unless user has 'administer
      support' permissions
    o bug #579648: fix formatting for supressed notifications
    o feature #573768: export assigned_username and assigned_realname
    o feature #377708: allow subscription of other users during ticket creation
 - support.info
    o bug #531074: declare dependency on upload module

September 10th, 2009
 - support_charts.module
    o feature #565018: add basic reporting functionality using Google's chart
      API, dependent on the chart module

August 23rd, 2009
 - support.admin.inc
    o increase allowed length of autosubscribe field, as is a text field in
      the database

August 10th, 2009
 - support.module
    o bug #544202: initialize $output variable

August 8th, 2009
 - support.module
    o feature #542936: add links to attachments in notification emails

July 31st, 2009
 - support.user.inc
    o bug #536398: fix typo, Prioriy -> Priority. Patch thanks to niebegeg.net.
 - support.module
    o bug #534178: add missing calls to t() to better support translations
    o feature #531138: only add [##:HEX] to emails sent for integrated clients
    o bug #531074: properly save attachments sent via integrated email
    o feature #515982: add update_realname token for displaying a user's real
      name in ticket notifications, based on patch by roball.

July 20th, 2009
 - support.module
    o feature #515760: display 'post new support ticket' on ticket listings
    o feature #525180: provide interface for moving ticket to be an update of
      another ticket

July 17th, 2009
 - support.install (6.x-1.1)
    o bug #515346: can't define a default value for TEXT fields

July 16th, 2009
 - support.module
    o allow admins to be autosubscribed to any client tickets

July 9th, 2009 (6.x-1.1-rc1)
 - support.module
    o feature: save attachments when creating/updating tickets from emails,
      fully supports comment_upload module if enabled
    o bug #507968: remove double-encoding of certain text fields, patch thanks
      to court-jus.
    o bug #501982: don't loose assigned user of new ticket when previewing and
      assignment with an autocomplete textfield.
    o feature #498812: allow admins to configure a secondary sort column
    o feature #496686: export client_name to notification emails

June 19th, 2009 (6.x-1.0)
 - support.module
    o bug #471752: fix 'can assign tickets to any user' permission
    o feature #496320: add option allowing tickets to be auto-assigned to their
      creators
 - support-tickets.css
    o add some additional default styling to try and improve the "out of the
      box" feel of the module

June 17th, 2009
 - support.module
    o bug #491308: properly download mail from cron when $extra is set
    o bug #492218: display subscribe field if set to always use autocomplete
    o feature #490992: allow admin to disable support links from user page
      (based on patch from "ozon", http://drupal.org/user/130503)
    o feature #472426: remove tickets from tracker and other node views if the
      current user doesn't have permission to view them
    o feature #446318: new/changed permissions: 'can select state', 'can select
      priority', 'can select client', 'can assign tickets to self', 'can assign
      tickets to any user', 'can administer state'.  Provides more granular
      control over what settings users can change.
 - support.user.inc
    o bug #490768: detect if a user is unable to access tickets for any client,
      avoid throwing an error
 - support.admin.inc
    o bug #477680: fix autocomplete when adding/editing support clients

June 13th, 2009
 - support.install
    o bug #485318: do not set default value for text column

June 13th, 2009
Project renamed from 'jobtrack' to 'support', addressing potential trademark
infringement.

