Adam Zammit
80d7f4029e
Add questionnaire_timeslot table
...
Alter case sorting/selecting SQL to consider timeslots if set.
If set, only select a case if a current timeslot exists and the number of calls in the slot is less than the maximum number of calls made in any other slot
2014-12-16 15:00:48 +11:00
Adam Zammit
5c6c0a3ed9
Sort on a questionnaire by questionnaire basis
2014-11-03 14:02:13 +11:00
Adam Zammit
9a48d80eb1
Optimisation in system sorting (just update where not NULL)
2014-09-03 16:08:01 +10:00
Adam Zammit
e5feb27daa
Fixes lp:1255359 Translation strings with single quotes break some SQL queries
2013-11-27 12:03:07 +11:00
Adam Zammit
b019bba001
Search for cases that have been assigned but not completed in more than 24 hours and put them back in the pool
2013-06-18 16:22:54 +10:00
Adam Zammit
8d2a754042
Updated appointment ordering in scheduler to handle NULLS
2013-06-13 11:25:35 +10:00
Adam Zammit
98df307ae3
Assign appointments in order of closest ending time
2013-06-13 10:31:44 +10:00
Adam Zammit
116cf43f7f
Add quota updates to system sort process
2013-04-30 14:18:29 +10:00
Adam Zammit
28e0606088
Replaced the rest of the short tags with long ones
2013-01-24 15:33:27 +11:00
azammitdcarf
a76c8f604f
Clear log in a general way using the system sort process as will only run periodically
2012-10-04 00:06:30 +00:00
azammitdcarf
6f493f46b4
Add process_clear_log function to make sure process_log table doesn't get too big
2012-09-27 01:01:02 +00:00
azammitdcarf
a097c15443
Added "availability" feature
...
Administrators specificy "availability groups" which include days of the week and times
Operators then choose if a case will be available within the availability group
2011-07-04 06:18:19 +00:00
azammitdcarf
e1357712ce
Added process_log table to database
...
Log process data to a separate table for speed and better display (don't have to do too many updates)
Updated VoIP watching process to more gracefully handle socket timeouts/errors
2011-02-17 03:36:18 +00:00
azammitdcarf
697a9ee04e
Bug:System sort process was not limiting by questionnaire_sample
2011-02-09 03:41:02 +00:00
azammitdcarf
13d9c856e3
Remove unused columns from get_case_id select statement
...
Make sure to make cases and sample records unavailable before sorting enabled ones
2011-02-08 02:11:42 +00:00
azammitdcarf
1ffb93df13
Added a "system sort" process which sorts cases and the sample file from enabled questionnaires periodically (based on SYSTEM_SORT_MINUTES config directive). Enabling this may improve performance where there is a large number of interviewers, a large sample or complex quotas as the sort doesn't need to be done for each interviewer at each case.
...
Allow for multiple background processes to run concurrently
2011-02-01 05:27:55 +00:00