Commit Graph

42 Commits

Author SHA1 Message Date
frytimo
d7bbcd89f5 Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
fusionate
a903d0efbf Call Center Agent - Edit: Fix Contact selection. 2023-06-12 21:03:45 +00:00
Alex
fb8d0e2983 fix bugs in php 8.1 changes (#6744)
* Update voicemail_greetings.php

* Update recordings.php

* Update recording_edit.php

* Update phrases.php

* Update phrase_edit.php

* Update music_on_hold_edit.php

* Update fax_queue.php

* Update extensions.php

* Update email_templates.php

* Update email_queue_edit.php

* Update dialplan_inbound_add.php

* Update device_profiles.php

* Update device_profile_copy.php

* Update contact_address_edit.php

* Update call_recordings.php

* Update call_center_agent_edit.php

* Update call_center_agents.php

* Update call_center_queues.php

* Update call_block.php

* Update menu_edit.php

* Update default_setting_edit.php

* Update database_edit.php
2023-06-05 12:41:28 -06:00
fusionate
0849bf51a0 Call Centers: Updates for PHP 8.1 2023-06-01 23:59:29 +00:00
Alex
d6b73cf296 more php 8.1 changes (#6734)
* Update ivr_menu_edit.php

* Update ringbacks.php

* Update call_block_edit.php

* Update call_broadcast.php

* Update call_broadcast_edit.php

* Update call_center_queue_edit.php

* Update call_center_queue_edit.php

* Update call_center_agent_status.php

* Update call_center_queue_edit.php

* Update call_center_agent_edit.php

* Update call_center_queues.php

* Update call_flow_edit.php

* Update call_broadcast.php

* Update call_forward.php

* Update call_broadcast_send.php

* Update conference_rooms.php

* Update conference_centers.php

* Update conference_control_edit.php

* Update conference_control_details.php

* Update conference_profile_edit.php

* Update conference_profile_param_edit.php

* Update conference_profile_edit.php

* Update database_transaction_edit.php

* Update database_transactions.php
2023-06-01 16:39:05 -06:00
Alex
b939ac2442 call center php 8.1 changes (#6720)
* Update call_center_agents.php

* Update call_center_queues.php

* Update call_center_queue_edit.php

* Update call_center_agent_edit.php

* Update call_center_agents.php
2023-05-26 10:07:25 -06:00
FusionPBX
55dc76f099 Provide default values 2023-05-09 11:36:39 -06:00
frytimo
fef8165be2 Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
Alex
43eb2a5b9d [security] sanitize the xml (#6595)
* Update call_center_queue_edit.php

* fix typo

* Update call_flow_edit.php

* Update conference_center_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update fax.php

* Update ivr_menu_edit.php

* Update ring_group_edit.php

* Update app_defaults.php

* Update ivr_menu_copy.php

* Update destination_imports.php

* Update app_defaults.php
2023-03-30 12:46:36 -06:00
agree
ca36d10121 [security] prevent xml injection and executing switch api cmds (#6594) 2023-03-29 23:24:04 -06:00
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
borisk1976
668a073355 Update call_center_agent_edit.php (#5942)
Remove a deprecated line of code.
2021-05-24 15:41:43 -06:00
agree
29bbce6888 Fix html error 2021-05-03 23:09:12 -04:00
agree
b9c169240d [call center] allow setting agent ring delay params to 0 2021-05-03 18:26:11 -04:00
agree
50d2d49b9e Fix agent record selected
`$agent_record` is a string not a Boolean
2021-01-30 22:40:26 -05:00
agree
5fda5d811f call center agent record 2021-01-29 13:56:04 -05:00
FusionPBX
6f2365fe24 Update call_center_agent_edit.php 2020-12-02 12:30:02 -07:00
Nate
029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate
d10cfc3252 Call Centers: Action bar and button updates. 2020-01-13 09:44:46 -07:00
FusionPBX
0ea80ccc2f Update call_center_agent_edit.php 2019-11-06 14:27:01 -07:00
FusionPBX
473f3daace Update call_center_agent_edit.php 2019-09-19 14:43:00 -06:00
Nate
5a8dcd04bd Call Center: Token integration. 2019-09-17 21:59:42 -06:00
Nate
c660b27096 Misc: Database class integration. 2019-08-28 21:02:08 -06:00
Nate
d50170269e Database class integration. 2019-07-02 10:56:36 -06:00
FusionPBX
09eece9555 Update call_center_agent_edit.php 2019-03-15 00:02:20 -06:00
markjcrane
a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
FusionPBX
dcd2267877 Update call_center_agent_edit.php 2018-06-30 18:56:48 -06:00
FusionPBX
0ed6ca8a73 Update call_center_agent_edit.php 2018-04-08 10:45:42 -06:00
FusionPBX
037c310118 Update call_center_agent_edit.php
Not requiring a username account would take a major change so changing this back and setting the username as required.
2018-02-21 14:06:42 -07:00
FusionPBX
64f098b548 Update call_center_agent_edit.php 2018-02-21 13:53:28 -07:00
Mafoo
3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
FusionPBX
7b4cdda010 Update call_center_agent_edit.php 2017-05-16 10:28:53 -06:00
FusionPBX
930068d44c Change agent_name into an input box. 2017-05-15 10:06:52 -06:00
FusionPBX
c07895ffc3 Update call_center_agent_edit.php 2016-10-22 22:57:03 -06:00
FusionPBX
1f5af1df38 Update call_center_agent_edit.php 2016-10-18 09:31:37 -06:00
FusionPBX
6302279b1e Update call_center_agent_edit.php 2016-10-05 03:44:55 -06:00
reliberate
877c1e805d Call Center Agent: Prevent duplicate sip_invite_domain key/value insertion on Agent edit. 2016-02-29 22:54:24 -07:00
markjcrane
29f844bf12 Fix the call center agent contact string include the domain by adding the sip_invite_domain with the domain name. 2015-12-07 18:02:56 -07:00
Alexey Melnichuk
87441198b1 Fix. Clear the cache when callcenter config changed. 2015-09-28 12:10:31 +04:00
markjcrane
ebe536c66d Change call_center_contact to user_contact. 2015-08-07 15:24:24 -05:00
markjcrane
d2147cb133 Remove switch_select_destination function from the remaining features that used it and replace with the destination php class. 2015-08-07 15:06:07 -05:00
markjcrane
14e9c2743e Change app/call_center to app/call_centers. 2015-08-03 16:09:38 -06:00