fusionpbx/app
emaktech a0ab52d369
CDR - Don't Check Filesystem for Recording on Load
I have been debugging slow loading on our CDR pages for the last few days now.

One issue that we have encountered is that currently as the page loads, it checks the filesystem for each file one at a time. In our case, we move recordings to object storage after 1 week, so each time we check for a file it passes api calls which take over 1 second each to return a result. This causes this page to not load at all for us in many cases.

Regardless, this current method is unnecessarily I/O intensive and really page load is probably not the time to be checking for each file one by one.

So this PR is the simplest solution - remove the check entirely. I would contend that the administrator should remove the record_path from the database if the file was removed so this should be acceptable.

This solves this particular issue for us, but would need feedback from others if not checking for files makes sense.
2021-03-03 15:48:17 -05:00
..
aastra Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
access_controls Access Controls: Fix Add. 2020-09-29 12:29:46 -06:00
azure/resources/classes Update azure.php (#4477) 2019-08-30 21:05:01 -04:00
basic_operator_panel Fix user status setting. 2020-12-28 19:45:05 -06:00
bridges Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
call_block Update app_languages.php 2021-01-18 16:43:55 -05:00
call_broadcast Add toll allow 2021-02-17 10:51:42 -05:00
call_center_active Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
call_centers Update the URL from type to import_type 2021-02-11 15:33:11 -07:00
call_flows Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
call_recordings Update call_recordings.php 2020-05-19 21:34:23 -06:00
calls Re-add permission check per button toggle button. 2020-12-28 22:17:05 -06:00
calls_active Get the domain_name from the presence_id. 2020-08-08 15:13:35 -06:00
click_to_call Add more escape functions to the click to call php file. 2021-01-27 22:25:04 -07:00
conference_centers Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
conference_controls Conference Controls: Modal integration. 2020-03-25 20:50:13 -06:00
conference_profiles Conference Profiles: Modal integration. 2020-03-26 07:41:56 -06:00
conferences Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
conferences_active Fix Caller ID name and number URL decoding. 2020-07-23 10:41:59 -06:00
contacts Contacts - Import: Correct redirect URLs. 2020-10-20 13:29:34 -06:00
database_transactions Transactions: Add filter by username. 2020-11-16 15:06:10 -07:00
destinations Merge pull request #5709 from emaktech/patch-6 2021-01-26 08:41:46 -07:00
devices Merge pull request #5715 from emaktech/patch-12 2021-01-26 08:38:22 -07:00
dialplan_inbound Remove the deprecated save_dialplan_xml function. 2020-08-14 00:39:33 -06:00
dialplan_outbound Update dialplan_outbound_add.php 2020-10-28 22:02:54 -06:00
dialplans Remove the cdata seems to cause problems rather than help. 2021-02-11 03:35:16 -07:00
email_logs Email Logs: Modal integration. 2020-03-26 09:16:22 -06:00
email_templates Email Templates: Integrate Ace Editor. 2020-11-02 15:58:58 -07:00
errors Test Commit - Ignore 2020-12-21 13:07:04 -07:00
extension_settings Add new extension_settings feature 2021-02-09 13:09:32 -07:00
extensions Move the extension settings button. 2021-02-10 00:42:08 -07:00
fanvil Remove duplicate uuid/variables 2021-02-28 20:35:51 -05:00
fax Update app_languages.php 2021-01-06 15:31:51 -05:00
fifo Update fifo_add.php 2020-10-22 02:33:18 -06:00
fifo_list Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
follow_me Add a new default settting for follow_me 2020-05-18 13:25:30 -06:00
gateways Update gateways.php 2020-12-09 17:18:17 +01:00
grandstream Grandstream: Plantronics EHS and additional non-clobbering of settings 2021-02-25 15:23:33 -06:00
gswave Update index.php (#5367) 2020-07-29 12:01:40 -06:00
htek Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
ivr_menus Add elseif and improve indentation. 2021-02-10 12:38:18 -07:00
log_viewer Test Commit - Ignore 2020-12-21 11:35:09 -07:00
meetings Update app_config.php (#5334) 2020-07-07 08:17:22 -06:00
messages Update app_config.php 2020-04-17 17:01:14 -06:00
modules Modules: Modal integration. 2020-03-26 11:21:30 -06:00
music_on_hold Update app_languages.php (#5370) 2020-07-30 09:34:06 -06:00
number_translations Number Translations: Fix Add. 2020-09-29 12:39:56 -06:00
phrases Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
pin_numbers PIN Numbers: Modal integration. 2020-03-26 13:49:00 -06:00
poly Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
polycom Update app_config.php 2021-01-25 10:47:59 -08:00
provision Get the domain name using the device. 2021-02-26 17:17:32 -07:00
recordings Fix app_config typo for recordings. 2021-02-15 13:53:37 -06:00
registrations Reformat the status to show the reg expire seconds. 2021-02-27 10:08:41 -07:00
ring_groups Remove domain_uuid from the array that is saved. 2020-12-09 12:24:39 -07:00
scripts Merge pull request #5778 from demonspork/cdr-stats-improvements 2021-02-24 17:37:27 -07:00
settings Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
sip_profiles Order SIP Profiles by Name by Default (#5365) 2020-07-28 22:41:06 -06:00
sip_status Update app_languages.php 2021-01-06 15:35:20 -05:00
snom Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
streams Streams: Modal integration, fix delete global stream bug. 2020-03-26 15:40:38 -06:00
swissvoice Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
system Update system.php (#5369) 2020-07-30 09:36:27 -06:00
time_conditions Time condition exclude invalid presets with incorrect json syntax to make it more resilient. 2021-01-26 11:53:44 -07:00
tones Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
vars Switch Variables: Enhance description. 2020-10-06 14:58:00 -06:00
voicemail_greetings Update voicemail_greetings.php (#5328) 2020-07-02 16:56:22 -06:00
voicemails Voicemail: Remove unused permission. 2021-01-18 11:27:06 -07:00
xml_cdr CDR - Don't Check Filesystem for Recording on Load 2021-03-03 15:48:17 -05:00
yealink Duplicate variable yealink_ringtone_url and uuid 2021-02-18 18:29:33 -05:00