Commit Graph

40 Commits

Author SHA1 Message Date
fusionate ec934c3895
Log Viewer: Default to 512KB with other options. 2024-01-18 23:27:43 +00:00
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 42ecba0214
voicemail edit, log viewer, and sip status php 8.1 changes (#6738)
* Update voicemail_edit.php

* Update sip_status.php

* Update message.php

* Update log_viewer.php

* Update log_viewer.php

* Update sip_status.php
2023-06-02 14:53:23 -06:00
fusionate c450d10f93
Log Viewer: Updates for PHP 8.1 2023-05-29 19:12:30 +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
fusionate 4b52636022
Log Viewer: Update copyright date. 2023-01-17 00:06:01 +00:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX 2900b9fb1b
Code had two file connections use one.
Noticed there were two open connection for the file log. A few other adjustments.
2022-09-21 13:02:56 -06:00
FusionPBX be257eeb03
Use is_array before foreach 2022-09-12 09:19:21 -06:00
FusionPBX 57b7bf0d6b
Add better log filename validation.
This was needed after the a previous pull request that allowed selecting a log file to download.
2021-11-03 12:33:28 -06:00
fusionate 88e1285b8b Test Commit - Ignore 2020-12-21 11:35:09 -07:00
agree 0560b57dcc
Log viewer view all of freeswitch log files (#5500)
* log viewer view all of freeswitch log files

* Update app_languages.php

* Update log_viewer.php
2020-09-29 10:12:28 -06:00
Nate 80f2b3cb0f Log Viewer: Fix filter. 2020-02-13 07:48:20 -07:00
Nate 1a0840d90b Log Viewer: Button and minor updates. 2020-02-07 09:33:52 -07:00
Nate c3b24666c4 Log Viewer: Add window title. 2020-01-06 12:07:05 -07:00
chansizzle 6470d44a45 Update log_viewer.php (#4439) 2019-08-13 22:54:33 -06:00
FusionPBX b21703eb9f Update log_viewer.php 2019-08-13 13:05:56 -06:00
FusionPBX 60ea942e1a Update log_viewer.php 2019-08-13 12:55:17 -06:00
FusionPBX 196e84757b Update log_viewer.php 2019-08-07 09:18:01 -06:00
FusionPBX ba21202c37 Update log_viewer.php 2019-08-05 15:23:35 -06:00
FusionPBX edcbb57c4c Update log_viewer.php 2018-06-09 13:02:13 -06:00
jebsolutions c584e8a0a1 Fix multiple notify warnings (#2254)
test:
- enable all errors
- go to log view page

expected result:
- no warnings/notify/errors

actual result:
Notice: Undefined index: ln in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 48
Notice: Undefined index: ord in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 51
Notice: Undefined index: fs in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 54
Notice: Undefined index: a in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 57
Notice: Undefined index: filter in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 81
Notice: Undefined variable: byte_count in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 221
Notice: Use of undefined constant color - assumed 'color' in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 246
Notice: Use of undefined constant font - assumed 'font' in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 246
Notice: Undefined variable: line_num in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 270
2016-12-20 13:26:42 -07: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
Nate Jones d96f016ea5 Code cleanup. 2015-02-15 08:46:20 +00:00
Mark Crane c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Nate Jones 06a1f3bb32 Log Viewer: Lightened background color a little to allow partial transparency. 2014-07-29 23:04:36 +00:00
Nate Jones eb75586180 Copyright Bar: Fixed overlapping issue with SIP Profile Edit page and Log Viewer (also removed deprecated HTML tags, such as <font>, etc). 2014-07-29 22:39:30 +00:00
Nate Jones 09f4b55819 Minor layout mods. 2014-02-26 06:07:13 +00:00
Mark Crane 9cf489d998 Fix the log viewer by removing an extra htmlentities. 2013-09-19 16:24:42 +00:00
Mark Crane ba7971da37 Remove one extra htmlentities to fix the color formatting of the log viewer. 2013-08-21 18:34:01 +00:00
Mark Crane 84c3491566 Add htmlentities back to log viewer so that xml and other special characters will show in the log viewer. 2013-07-25 06:17:33 +00:00
Mark Crane e9aa47069c Update the references for header.php and footer.php files to point the resources directory. 2013-07-06 06:29:50 +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 1af2aaee58 Add uuid filter for the log viewer. Thanks to soapee01. 2013-07-05 03:48:40 +00:00
Mark Crane 6eb77570fe htmlentities used to show < and > in the log viewer 2013-04-20 00:16:36 +00:00
James Rose 865a87f268 log viewer, added preliminary support for translations. 2012-11-24 22:06:11 +00:00
Mark Crane 9d91ee1963 Make the log viewer more readable no matter what theme is used. 2012-09-14 19:02:55 +00:00
Nate Jones f0a3eb7fee Enhanced log viewer to include ordinal sorting and line numbers, if desired. Also, changed line count filter to be KB instead of Bytes. 2012-07-18 17:00:59 +00:00
Mark Crane af103e9c41 Add a missing file sip_profile_copy.php to the dev branch. 2012-06-04 14:58:40 +00:00