2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Adam Zammit
e0f0c3d786 Automatically end stale cases even if technically still on a call 2017-10-04 12:17:55 +11:00
Adam Zammit
6cd23e87dc Fix issue in timeslot scheduling where no calls yet in timeslot 2017-04-06 14:40:53 +10:00
Adam Zammit
520350a1fa Corrected logical errors in selection of weighted timeslots
Dev: Use FLOOR(number of attempts / weight) to even out selection
2016-08-03 15:26:01 +10:00
Adam Zammit
5e71e9d109 Database and function changes for weighted timeslots 2016-08-03 11:02:44 +10:00
Adam Zammit
9c676deaf4 Fixed issue: Samples with call attempt time slots assigned will still draw new numbers out of defined times
Dev: New cases were being created out of assigned time slot times due to new case SQL not taking into account questionnaire_timeslot
and questionnaire_sample_timeslot values
2016-06-07 14:27:24 +10:00
Adam Zammit
f1f51cdbcd Fixed issue: Call attempts can exist with no calls - clear them out 2016-06-03 10:31:36 +10:00
Adam Zammit
b18aec4d2f Merged sample sort order feature 2015-11-18 12:46:57 +11:00
Adam Zammit
2b1f11e313 Allow background processes to run from the command line 2015-11-17 15:02:08 +11:00
Adam Zammit
37cd24f63f Added sort_order to queries 2015-09-11 12:29:43 +10:00
Adam Zammit
ec8522e316 Added authentication includes to all files 2015-08-14 16:15:20 +10:00
Adam Zammit
1a68f4e012 Updated system sort to match generic sort 2015-08-03 12:36:27 +10:00
Alex
4c443320b4 merged rev446 2015-05-17 18:16:12 +03:00
Adam Zammit
22dfe12e41 Fixes lp:1452070 New numbers still drawn when 'allow new numbers to be drawn' set to No
Dev: Was only occuring when system sort process enabled
2015-05-06 09:34:14 +10:00
Alex
ed4e52d55e merged rev.445 2015-04-01 16:41:59 +03:00
Alex
25b94fb428 new look for pages 2015-03-23 12:03:33 +03:00
Adam Zammit
b592efdf9d Fixed typo in SQL 2015-02-09 12:38:36 +11:00
Adam Zammit
38d59dd4b7 New Feature: Allow time slots to be set on a sample by sample basis as well 2015-02-09 11:59:44 +11:00
Adam Zammit
34802a37a7 Fixed bug: Quota priority not able to override sort of last call made 2015-02-06 11:49:30 +11:00
Adam Zammit
c7f0ab0087 Fixed bug: Where availability or timeslots set, appointments are ignored 2014-12-17 12:53:57 +11:00
Adam Zammit
50025ca884 Fixed bug when limiting to time slots (select smallest number of call attempts to compare to)
Removed fixed timezone from supervisor function
2014-12-17 12:45:22 +11:00
Adam Zammit
f7e6340b47 Updated translations (Thank you contributors!)
Fixed typo in systemsortprocess
2014-12-17 11:23:34 +11:00
Adam Zammit
2ebda19dfc Replace call with call_attempt when calculating timeslots
Fix calculation of timeslots in scheduler - only call when the current timeslot has the minimum number of calls made
2014-12-17 11:01:07 +11:00
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