Added user_codes_admin user/system setting
git-svn-id: svn://192.168.202.10@3614 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1963,7 +1963,8 @@ call_limit_24hour_reset DATETIME default '2000-01-01 00:00:01',
|
||||
allowed_sip_stacks ENUM('SIP','PJSIP','SIP_and_PJSIP') default 'SIP',
|
||||
agent_hide_hangup ENUM('1','0','2','3','4','5','6') default '0',
|
||||
allow_web_debug ENUM('0','1','2','3','4','5','6') default '0',
|
||||
max_logged_in_agents ENUM('0','1','2','3','4','5','6','7') default '0'
|
||||
max_logged_in_agents ENUM('0','1','2','3','4','5','6','7') default '0',
|
||||
user_codes_admin ENUM('0','1','2','3','4','5','6','7') default '0'
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
CREATE TABLE vicidial_campaigns_list_mix (
|
||||
@@ -5084,7 +5085,8 @@ INSERT INTO vicidial_settings_containers(container_id,container_notes,container_
|
||||
INSERT INTO vicidial_settings_containers(container_id,container_notes,container_type,user_group,container_entry) VALUES ('QC_STATUS_TEMPLATE','Sample QC Status Template','QC_TEMPLATE','---ALL---','# These types of containers are simply used for creating a list of \r\n# QC-enabled statuses to apply to campaigns, lists, and ingroups.\r\n# Simply put all the statuses that this template should allow in\r\n# a comma-delimited string, as below:\r\n\r\nSALE,DNC,NI');
|
||||
INSERT INTO vicidial_settings_containers(container_id,container_notes,container_type,user_group,container_entry) VALUES ('INTERNATIONAL_DNC_IMPORT','Process DNC lists of various countries from FTP site','PERL_CLI','---ALL---','# This setting container is used for the international DNC system. \r\n# The below two settings are mandatory for importing suppression lists\r\n# and tell the import process where to look for new files and where to\r\n# move them when handled. These settings cannot have the same value. \r\n--file-dir=/root/ftp\r\n--file-destination=/root/ftp/DONE\r\n\r\n# Uncomment below and set the status to whatever custom disposition you \r\n# would like already-loaded leads to be set to when they dedupe against\r\n# a country\'s DNC list (default is \"DNCI\")\r\n# --dnc-status-override=BMNR\r\n\r\n# The below settings are optional for when files are stored on a remote\r\n# server. It is strongly recommended these settings are not used and\r\n# that the processing scripts and files are stored locally on the same\r\n# server. \r\n# --ftp-host=localhost\r\n# --ftp-user=user\r\n# --ftp-pwd=pwd\r\n# --ftp-port=21\r\n# --ftp-passive=1\r\n'),('DNC_IMPORT_FORMATS','Import formats for DNC files','OTHER','---ALL---','# This setting container is used for storing file formats used when \r\n# loading DNC suppression lists into the dialer. \r\n#\r\n# import template => (delimited|fixed),delimiter,phone1(,phone2,phone3)\r\n#\r\n# For delimited files, the phone1 value should be the index value of\r\n# the field where the phone appears. The first array index is 0 and\r\n# indexes continue through the natural numbers.\r\n\r\n# In delimited files, acceptable values for the \"delimiter\" field are:\r\n# - \"tab\", \"pipe\", \"comma\", \"quote-comma\"\r\nBASIC_DELIMITED_FORMAT => delimited,pipe,0\r\n\r\n# If the phone number is split into multiple fields (ex: area code in\r\n# one field, rest of the number in another), simply list additional \r\n# indices of the phone number fields separated by commas in the order \r\n# in which the data should be combined to make the complete phone \r\n# number \r\nDELIMITED_WITH_AC_AND_EXCHANGE_SPLIT => delimited,tab,0,1\r\n\r\n# For fixed-length files, the phone field values should be of the type:\r\n# - \"starting_position|length\"\r\nBASIC_FIXED_FORMAT => fixed,,0|10\r\n\r\n# (delimited|fixed) is not used for CSV/Excel files, so all that needs \r\n# providing for those is the index field value(s) of the phone number\r\nBASIC_CSV_OR_EXCEL_FORMAT => ,,0'),('DNC_CURRENT_BLOCKED_LISTS','Lists currently blocked due to pending DNC scrub','READ_ONLY','---ALL---','');
|
||||
INSERT INTO vicidial_settings_containers(container_id,container_notes,container_type,user_group,container_entry) VALUES ('USER_LOCATIONS_SYSTEM','User Locations List','OTHER','---ALL---',';location|description\n|default\n');
|
||||
INSERT INTO vicidial_settings_containers(container_id,container_notes,container_type,user_group,container_entry) VALUES ('USER_CODES_SYSTEM','User Codes List','OTHER','---ALL---','');
|
||||
|
||||
UPDATE system_settings set vdc_agent_api_active='1';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1662',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
UPDATE system_settings SET db_schema_version='1663',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
|
||||
@@ -1942,3 +1942,9 @@ ALTER TABLE system_settings ADD max_logged_in_agents ENUM('0','1','2','3','4','5
|
||||
ALTER TABLE vicidial_campaigns ADD max_logged_in_agents SMALLINT(5) UNSIGNED default '0';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1662',db_schema_update_date=NOW() where db_schema_version < 1662;
|
||||
|
||||
ALTER TABLE system_settings ADD user_codes_admin ENUM('0','1','2','3','4','5','6','7') default '0';
|
||||
|
||||
INSERT INTO vicidial_settings_containers(container_id,container_notes,container_type,user_group,container_entry) VALUES ('USER_CODES_SYSTEM','User Codes List','OTHER','---ALL---','');
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1663',db_schema_update_date=NOW() where db_schema_version < 1663;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
# version: 20220623083101
|
||||
# version: 20220730085701
|
||||
users-user User ID <QXZ>This field is where you put the users ID number, can be up to 20 digits in length, Must be at least 2 characters in length. We strongly recommend not reusing user accounts for different users, for reporting accuracy. To disable a user account, set the Active option to -N-.</QXZ>
|
||||
users-pass Password <QXZ>This field is where you put the users password. Must be at least 2 characters in length. Only letters and numbers are allowed in user passwords. A medium strength user password will be at least 10 characters in length, and a strong user password will be at least 20 characters in length and have letters as well as at least one number. It is recommended that you use a longer password if possible, stringing together several unrelated words with no spaces, and a number somewhere in the string. The maximum size of a password is 100 characters.</QXZ>
|
||||
users-force_change_password Force Change Password <QXZ>If this option is set to Y then the user will be prompted to change their password the next time they log in to the administration webpage or the agent screen. Default is N.</QXZ>
|
||||
@@ -1107,6 +1107,7 @@ settings-generate_cross_server_exten Generate Cross-Server Phone Extensions <QXZ
|
||||
settings-usacan_phone_dialcode_fix USA-Canada Phone Number Dialcode Fix <QXZ>This option if set to 1 will trigger a process that will run at the Timeclock End of Day and will check all phone numbers to populate the dial code, or phone code, field with a 1 if it is missing as well as remove a leading 1 from the phone number field if it is present. Default is 0 for inactive.</QXZ>
|
||||
settings-default_phone_code Default Phone Code <QXZ>This setting will be used to fill in the Phone Code field on manual dial calls from the agent screen, also called Dial Code in some places. Default is 1.</QXZ>
|
||||
settings-user_territories_active User Territories Active <QXZ>This setting allows you to enable the User Territories settings from the user modification screen. This feature was added to allow for more integration with a customized Vtiger installation but can have applications in system by itself as well. Default is 0 for disabled.</QXZ>
|
||||
settings-user_codes_admin User Codes Admin Pulldown <QXZ>This option if enabled will only allow User Level 9 users to modify the User Code field on the User Modify page, and it will change the User Code field to a pulldown menu, the options for which are stored in the USER_CODES_SYSTEM Settings Container. Setting this to -2- will use the user_codes_admin.txt file in the admin web directory for the User Codes pulldown list instead of the Settings Container. The list of available User Codes can be just a list of User Codes with one on each line, or each line can have a User Code and an optional description with a pipe separating the two fields. Default is 0 for disabled.</QXZ>
|
||||
settings-list_status_modification_confirmation List Status Modification Confirmation <QXZ>This setting will cause the admin interface to request a confirmation whenever a user submits a change to the campaign settings or list settings that involves modifying the -Active- status of a list. Default is 0 for disabled.</QXZ>
|
||||
settings-enable_first_webform Enable First Webform <QXZ>This setting allows you to have a web form for campaigns and in-groups in the agent interface. Default is 1 for enabled.</QXZ>
|
||||
settings-enable_second_webform Enable Second Webform <QXZ>This setting allows you to have a second web form for campaigns and in-groups in the agent interface. Default is 1 for enabled.</QXZ>
|
||||
|
||||
Reference in New Issue
Block a user