Commit Graph

40 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
4b86260336 Active Calls: Updates for PHP 8.1 2023-05-25 19:41:42 +00: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
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX
a37b5a94ca Get the domain_name from the presence_id. 2020-08-08 15:13:35 -06:00
Nate
65407ea482 Active Calls: Modal integration. 2020-03-25 20:04:15 -06:00
benwiesner1
018b66969a Update calls_active_inc.php (#4847)
* Update calls_active_inc.php

removed <br>...</br> as it shows up on active call session and looks funny becuase its including the breaks <br></br>

* Update calls_active_inc.php
2019-12-31 12:02:31 -07:00
chansizzle
35f1b972e3 Update calls_active_inc.php (#4915) 2019-11-25 16:55:24 -07:00
Nate
c6d5516467 Database Transactions: List view updates. Misc Action Bar adjustments. Include missing class for Conferences (Doh). 2019-11-05 08:13:42 -07:00
Nate
7b1356310b Active Calls: Update refresh/pause button. 2019-10-30 01:05:43 -06:00
Nate
f57fa290d3 Active Calls: List view updates, bulk call hangup. Button Class: Add onmouseover/out support. 2019-10-29 23:11:19 -06:00
FusionPBX
1de0a88bb3 Update calls_active_inc.php 2019-06-16 11:22:47 -06:00
FusionPBX
20cdd28bc3 Update calls_active_inc.php 2019-06-16 09:36:10 -06:00
blackwolfresearch
ece98a9c01 Security Fixes (#4268)
* Updated fixes for CVE-2019-11409

* Fix for XSS - (CVE-2018-19094)

* Fix for fax cmd injection (CVE-2018-19096)
2019-06-06 18:46:00 -06:00
FusionPBX
36cce58478 Update calls_active_inc.php 2018-01-21 23:53:36 -07:00
Alexey Melnichuk
ebfa022a90 Fix. Display domain name for inbound calls in calls_active app (#2917) 2017-11-21 09:09:57 -07:00
FusionPBX
7029d3c74f Update calls_active_inc.php 2017-11-21 03:56:58 -07:00
FusionPBX
bab329d6a7 Update calls_active_inc.php 2017-11-21 03:09:04 -07:00
FusionPBX
25c5a64ad6 Update calls_active_inc.php 2017-06-07 12:16:58 -06:00
FusionPBX
af3f3ca69b Update calls_active_inc.php 2017-06-07 12:12:55 -06:00
FusionPBX
2f4e605cc4 Update calls_active_inc.php 2017-06-07 12:10:46 -06:00
markjcrane
bd23c78670 Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
Mafoo
71525c26b0 I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo
86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
markjcrane
2f48f47ba3 Check the array isset in active calls. 2016-04-28 21:29:54 -06:00
Alexey Melnichuk
8d8d8deceb Change. Reduce too long app data in active calls app.
Problem that when you have large app data (>7k in my case)
it takes over 2 pages to display only single channel.
2015-12-24 12:48:25 +03:00
Alexey Melnichuk
8078012c3f Add. Display number of active calls in title. 2015-12-14 14:41:00 +03:00
markjcrane
cde9debb29 After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -07:00
Nate Jones
b809714064 Calls Active: Show gateway name instead of uuid in Application data string, change to jQuery ajax refresh. 2015-05-18 16:44:38 +00:00
Nate Jones
68a347724b Active Calls: Add Show All feature for Superadmin, basic view for Admin, refresh activity icon.
Registrations: Minor visual adjustments.
2015-05-01 06:35:40 +00:00
Nate Jones
392b875b3a Active Calls: Removed broken Transfer, Park and Record options in favor the Operator Panel (Park functionality to eventually be added to the OP).
Operator Panel: Only superadmin group can view debug info.
2015-04-30 02:55:35 +00:00
Nate Jones
2448ab3a8e Use the new multi-lingual code on misc files. 2015-01-18 10:33:34 +00:00
Mark Crane
c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane
af7d6859da Slight efficiency improvement for active calls 2014-08-16 02:01:53 +00:00
Mark Crane
b9ffc8855b Status -> Active Calls now uses JSON 2014-08-16 01:06:09 +00:00
Mark Crane
8f8fd3e3e8 Audited the permissions names. Permissions names are to be non plural. 2013-09-21 21:45:35 +00:00
Mark Crane
c44d39dcf9 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane
6a70d8db41 Change includes/checkauth.php to resources/check_auth.php. 2013-07-06 05:50:55 +00:00
Mark Crane
c2f1d8eb54 Update the files in calls active. 2012-11-24 02:50:11 +00:00
Mark Crane
284cbfa32c Rename v_calls_active_inc.php to calls_active_inc.php. 2012-11-24 01:54:53 +00:00