Commit Graph

47 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
Alex
475cf4d253 Fixed more php 8.1 errors (#6748)
* Update call_center_queue_edit.php

* Update number_translation_edit.php

* Update database_transactions.php

* Update xml_cdr_extension_summary.php

* Update call_flow_edit.php

* Update contact_address_edit.php

* Update device_profiles.php
2023-06-08 16:07:01 -06:00
fusionate
f4c141f6ef Extension Summary: Updates for PHP 8.1 2023-05-29 18:30:31 +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
9330414120 Use the number alias permission in the extension summary. 2022-05-05 10:59:25 -06:00
emak
2050d98e3e Update XML CDR Extension Summary Queries #5979 (#6365)
* Change labels to reflect new CC missed field

* Update extension summary queries

* Hide number alias field
2022-05-05 10:43:44 -06:00
FusionPBX
fac8ee8244 Hide Extension Summary Show all by default. (#6318)
* Hide Extension Summary button show all by default. Add new permission xml_cdr_extension_summary_all

Many extensions and CDR records make this a resource very intensive query. Disable by default for all groups.

* Add new permission xml_cdr_extension_summary_all

* Update xml_cdr_extension_summary.php

* Update xml_cdr.php
2022-02-24 01:53:54 -07:00
Antonio Fernandez
13a1590c8f Update xml_cdr_extension_summary.php (#6235) 2022-01-10 22:28:55 -07:00
FusionPBX
0d2e62bc9b Add answered to the extension summary 2020-07-07 22:13:28 -06:00
Nate
e8494facee Multiple: Add IDs to form tags, remove empty action attributes. 2020-03-05 10:02:25 -07:00
Nate
029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate
6297cf191e CDR Extension Summary: List and button updates, use css grid on search form. 2020-02-07 08:45:02 -07:00
FusionPBX
fffbb14455 Update xml_cdr_extension_summary.php 2020-02-02 15:37:50 -07:00
FusionPBX
087ef91a8c Update xml_cdr_extension_summary.php 2020-02-02 12:48:54 -07:00
Nate
983ec065b1 CDR: Add window titles. 2020-01-06 10:56:27 -07:00
Nate
cc33248ac7 CDR: Database class integration. 2019-09-03 08:29:44 -06:00
Nate
6e813908fc Update date/time picker to latest version, restoring functionality. 2019-08-22 11:04:03 -06:00
FusionPBX
25a8ad9e08 Update xml_cdr_extension_summary.php 2018-10-15 16:11:55 -06:00
FusionPBX
571712b18c Update xml_cdr_extension_summary.php 2018-06-02 22:15:19 -06:00
FusionPBX
10c6d68f60 Update xml_cdr_extension_summary.php 2016-08-23 03:32:25 -06:00
FusionPBX
f67f9ec142 Update xml_cdr_extension_summary.php 2016-08-23 03:12:24 -06:00
FusionPBX
a16601c86b Update xml_cdr_extension_summary.php 2016-08-23 03:10:57 -06:00
FusionPBX
4d35df9c3d Update xml_cdr_extension_summary.php
Add a download csv button to the Extension Summary.
2016-08-23 03:05:56 -06:00
FusionPBX
b673102666 Update xml_cdr_extension_summary.php
Extensio Summary - Change the default to today instead of last 7 days.
2016-08-14 11:47:49 -06:00
FusionPBX
a44a9c0a91 Update xml_cdr_extension_summary.php
Update the extension summary to use the new class. Add an option to export to CSV.
2016-06-14 22:51:38 -06:00
FusionPBX
3454ba6853 Update xml_cdr_extension_summary.php
Add the domain_uuid.
2016-06-05 21:54:54 -06:00
markjcrane
1c67d0baee Get the extensions then the summary array. 2016-06-05 17:53:12 -06:00
markjcrane
01ae160e04 Adding user summary (extension summary) to the xml_cdr class. 2016-06-05 17:19:06 -06:00
Harry G. Coin
8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
markjcrane
3f5f268c15 Set extension summary to use GET instead of POST. 2016-04-14 21:11:05 -06:00
markjcrane
2d03d7f961 Update the extension summary in preparation to expand it further. 2016-04-14 15:08:16 -06:00
reliberate
aeabb4a072 Misc: Fix datetimepicker on Time Conditions, CDR, Contact Times, etc.
Misc: Fix textarea height.
Theme: CSS adjustments to correct misc bugs.
2016-04-13 13:23:07 -06:00
reliberate
d5c60df4fc Added: Bootstrap Framework - initial integration.
Added: Bootstrap Plugins - DateTimePicker, ColorPicker (in multiple apps)
Added: Default Theme - responsive
Removed: RightJS Framework - no longer needed.
Removed: Accessible Theme - superseded by Default theme.
Removed: Minimized Theme - superseded by Default theme.
Enhanced: Menu - responsiveness added.
Enhanced: Dashboard - responsiveness added.
Etc.
2016-03-25 16:29:20 -06:00
Alexey Melnichuk
e8f4b37849 Fix. Display CDR Extension Summary for ext with number alias 2015-08-13 18:44:17 +04:00
Digital Daz
befc947b8d Slight change to correct sql queries for times, thanks Nate. 2015-04-29 20:45:32 +00:00
Nate Jones
aa58d9ef23 Extension Summary: Better search form functionality (auto-submit on Quick Select change, added "This Week" option, reset Quick Select if Start or End date/time defined and vice-versa), language additions. 2015-04-10 18:08:09 +00:00
Nate Jones
5eeecf50fd Extension Summary: List domain on Show All, change Quick Select 'Default' label to 'Last 7 Days', update Description column style to be consistent. 2015-04-10 16:46:22 +00:00
Nate Jones
b8301a8090 CDR: Hide Show All button after clicked, moved to top for consistency. 2015-04-01 00:51:09 +00:00
Mark Crane
669fb08d4e Add show all code donated by Chris Black 2015-03-06 17:15:09 +00:00
luis daniel lucio quiroz
455f0b2e45 do not show others extension to non-admin users 2015-02-27 15:25:49 +00:00
Nate Jones
0018e553c4 Visual adjustments. 2015-02-15 07:59:02 +00:00
Digital Daz
c404e2febf Fixed up ALOC in extensions summary 2015-01-21 01:46:34 +00:00
Digital Daz
25353f1ab6 Add some preselects to extensions summary, 'Last Hour', 'Today', 'Yesterday', 'This Month' and 'This Year' 2015-01-21 01:06:22 +00:00
Nate Jones
147d03169d Use the new multi-lingual code on fusionpbx/app sub directories. 2015-01-18 10:04:43 +00:00
Mark Crane
7d4b48c53a Add no answer, aloc, and busy to the extension summary. 2014-12-25 19:00:14 +00:00
Nate Jones
a07f7871e3 Extension Summary: New report - displays per extension call count and usage statistics within a given date range. 2014-08-06 05:21:13 +00:00