Commit Graph

72 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 079d9ca3d5
Contacts: Updates for PHP 8.1 2023-06-02 23:54:00 +00:00
Alex 9df57e679d
contacts php 8.1 changes (#6730)
* Update contacts_vcard.php

* Update vcard.php

* Update contact_edit.php

* Update contact_view.php

* Update contact_phone_edit.php

* Update contact_address_edit.php

* Update contact_addresses.php

* Update contact_addresses_view.php

* Update contact_attachment.php

* Update contact_attachment_edit.php

* Update contact_attachments.php

* Update contact_attachments_view.php

* Update contact_email_edit.php

* Update contact_emails.php

* Update contact_emails_view.php

* Update contact_extensions.php

* Update contact_extensions_view.php

* Update contact_import.php

* Update contact_import_google.php

* Update contact_json.php

* Update contact_note_edit.php

* Update contact_notes.php

* Update contact_notes_view.php

* Update contact_phones.php

* Update contact_phones_view.php

* Update contact_relation_edit.php

* Update contact_emails_view.php

* Update contact_addresses_view.php

* Update contact_relations.php

* Update contact_relations_view.php

* Update contact_setting_edit.php

* Update contact_settings.php

* Update contact_time_edit.php

* Update contact_timer.php

* Update contact_timer_inc.php

* Update contact_times.php

* Update contact_url_edit.php

* Update contact_urls.php

* Update contact_urls_view.php

* Update contact_import.php

* Update contact_import.php

* Update contact_email_edit.php

* Update contact_url_edit.php

* Update contact_relation_edit.php

* Update contact_note_edit.php

* Update contact_setting_edit.php

* Update contact_attachment_edit.php

* Update contact_edit.php

* Update contact_phones_view.php

* Update contact_note_edit.php

* Update contact_attachment_edit.php

* Update contact_phones_view.php

* Update contact_edit.php

* Update contacts.php

* Update contact_edit.php

* Update contact_edit.php

* Update contact_edit.php

* Update contact_edit.php

* Update contact_edit.php

* Update contact_phone_edit.php

* Update contact_addresses.php

* Update contact_addresses_view.php

* Update contact_attachment_edit.php

* Update contact_attachments.php

* Update contact_attachments_view.php

* Update contact_edit.php

* Update contact_email_edit.php

* Update contact_emails.php

* Update contact_emails_view.php

* Update contact_extensions.php

* Update contact_extensions_view.php

* Update contact_import.php

* Update contact_import_google.php

* Update contact_json.php

* Update contact_note_edit.php

* Update contact_notes.php

* Update contact_notes_view.php

* Update contact_phone_edit.php

* Update contact_phones.php

* Update contact_phones_view.php

* Update contact_relations.php

* Update contact_relations_view.php

* Update contact_setting_edit.php

* Update contact_settings.php

* Update contact_time_edit.php

* Update contact_timer.php

* Update contact_timer_inc.php

* Update contact_times.php

* Update contact_url_edit.php

* Update contact_urls.php

* Update contact_urls_view.php

* Update contact_view.php

* Update contacts.php

* Update contacts_vcard.php
2023-06-01 11:50:12 -06:00
Alex 410f5e6f68
more php 8.1 changes (#6727)
* Update call_broadcast.php

* Update call_broadcast_edit.php

* Update conference_center_edit.php

* Update call_flows.php

* Update conference_room_edit.php

* Update conference_sessions.php

* Update conference_session_details.php

* Update conference_rooms.php

* Update conference_controls.php

* Update conference_control_edit.php

* Update conference_control_details.php

* Update conference_control_detail_edit.php

* Update conference_profiles.php

* Update conference_profile_edit.php

* Update conference_profile_params.php

* Update conference_profile_param_edit.php

* Update conferences.php

* Update conference_edit.php

* Update conferences.php

* Update conference_interactive_inc.php

* Update contacts.php
2023-05-31 09:11:50 -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
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX 6b52e0e76e
Update contacts.php
Minor updates no functionality changes.
2022-04-11 16:28:48 -06:00
AlexC e316559771
Added show all button (#6249)
* Update call_center_queues.php

* Update call_center_agents.php

* Update app_config.php

* Update app_config.php

* Update contacts.php

* Update app_config.php

* Update ivr_menus.php

* Update app_config.php

* Update call_flows.php

* Update app_config.php

* Update conference_centers.php

* Update app_config.php

* Update voicemails.php

* Update app_config.php

* Update phrases.php

* Update app_config.php

* Update recordings.php

* Update app_config.php

* Update call_recordings.php

* Update app_config.php

* Update call_broadcast.php

* Update app_config.php

* Update time_conditions.php

* Update app_config.php

* Update music_on_hold.php

* Update app_config.php

* Update conferences.php
2022-01-20 15:54:42 -07:00
AlexC 2a74114cf2
Copy, toggle and delete buttons visible when checkbox is selected (#6242)
* Update bridges.php

* Update call_block.php

* Update call_center_queues.php

* Update call_center_agents.php

* Update call_broadcast.php

* Update call_flows.php

* Update call_recordings.php

* Update conference_centers.php

* Update conference_rooms.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update contacts.php

* Update fax.php

* Update ivr_menus.php

* Update music_on_hold.php

* Update phrases.php

* Update recordings.php

* Update streams.php

* Update voicemails.php

* Update devices.php

* Update device_vendors.php

* Update device_vendor_functions.php

* Update extensions.php

* Update gateways.php

* Update dialplans.php

* Update destinations.php

* Update email_templates.php

* Update modules.php

* Update sip_profiles.php

* Update vars.php

* Update databases.php

* Update users.php

* Update default_settings.php

* Update domains.php

* Update groups.php

* Update menu.php
2022-01-13 11:37:59 -07:00
Anthony 1db3e5ba14
Removed Search Reset (#6241)
* Update default_settings.php

* Update devices.php

* Update extensions.php

* Update gateways.php

* Update users.php

* Update destinations.php

* Update dialplans.php

* Update bridges.php

* Update call_block.php

* Update call_broadcast.php

* Update call_flows.php

* Update call_forward.php

* Update call_recordings.php

* Update conference_centers.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update contacts.php

* Update fax.php

* Update ivr_menus.php

* Update phrases.php

* Update recordings.php

* Update ring_groups.php

* Update time_conditions.php

* Update voicemails.php

* Update call_center_queues.php

* Update email_logs.php

* Update registrations.php

* Update user_logs.php

* Update access_controls.php

* Update domains.php

* Update email_templates.php

* Update groups.php

* Update menu.php

* Update number_translations.php

* Update sip_profiles.php

* Update database_transactions.php

* Update vars.php

* Update dashboard.php
2022-01-12 16:00:01 -07:00
markjcrane 056ce8368e Show only assigned contacts if missing the contact_domain_view permission 2021-06-30 13:13:37 -06:00
markjcrane d42ddd2219 Correct the syntax 2021-06-30 13:08:01 -06:00
markjcrane 197948aa4a Add new permission contact_domain_view 2021-06-30 13:01:33 -06:00
Nate 90a4e6c47f Contacts - List: Search in emails and/or notes. 2020-05-06 12:13:12 -06:00
Nate 5b195bbd87 Contacts: Add view before edit. 2020-03-31 17:32:12 -06:00
Nate b7fdd72970 Contacts: Update to use reworked modal. 2020-03-25 16:52:07 -06:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Adrian Fretwell c1ca1b4866 Allow user with only contact_view permission to click on contact record to view numbers etc. (#5153)
* Update contacts.php

Added contact_view permission to allow users with only contact view to open contact record to see numbers addresses etc.  See also update to contact_edit.php to remove save buttons if user only has contact view.

* Update contact_edit.php

Added permissions to only show save button if user has permissions contact_add or contact_edit.  This is in conjunction with the update to contacts.php
2020-02-24 18:29:23 -07:00
Nate 9995bc4361 Contacts - Edit: List view, button and bulk action updates, modal integration. 2020-01-23 21:24:10 -07:00
Nate aa593c03fc List Views: Minor adjustments to code. 2019-11-30 14:18:00 -07:00
Nate bfb17507f1 List Views: Simplify action handling. 2019-11-30 11:12:41 -07:00
Nate 6db041f75d Contacts: Search to the right. 2019-11-07 23:42:11 -07:00
Nate 02b35a7a99 Device: List view updates. 2019-11-07 09:00:29 -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 5a1cb4f8c6 Contacts: List view updates. 2019-11-05 07:37:39 -07:00
chansizzle f86cb68405 Update contacts.php (#4660) 2019-09-25 20:35:09 -06:00
Nate 17f2911056 Replace misc glyphicon usage. 2019-08-20 19:53:21 -06:00
Nate 1c2e0c2fc7 Database class integration. 2019-07-26 09:41:41 -06:00
FusionPBX c6f0b6a6bf Update contacts.php 2019-05-30 00:37:42 -06:00
Adrian Fretwell 07ed791e68 Update contacts.php default sort order
Added a default sort order that can be set by the session, if unset defaults to last_mod_date descending.  Added a secondary sort on contact_organization ascending.
2019-05-22 09:53:12 +01:00
Nate 8334eeca2f Contacts: Primary image (attachment) icon added to Contact List for quick view. Delete attachments when Contact deleted. 2019-03-28 18:53:01 -06:00
FusionPBX eac9e0942b Update contacts.php (#3974) 2019-01-24 22:32:53 -07:00
FusionPBX e5c226f3a0 Update contacts.php 2018-07-02 10:44:14 -06:00
FusionPBX 8a59c98b18 Update contacts.php 2018-06-05 18:23:58 -06:00
FusionPBX 0db0ac5941 Update contacts.php 2018-01-10 13:37:26 -07:00
FusionPBX e82b6dd104 Update contacts.php
Fix the header on the contacts page so it will look better on smaller screens.
2016-08-04 20:00:23 -06:00
Chris Black 7b99a14f67 Yealink directory listing for extensions, groups, users contacts (#1588)
* Fix Yealink provisioning for contacts/groups

Fix the Yealink provision templates to allow for directory_extensions,
groups and users.

* Fix group_uuid and user_uuid messup

* Yealink directory and provisioning changes

Includes the changes from PR 1582 with some fixes to the SQL.

Also merged all the directory_* options into ONE directory.xml

Will need to call the it with any of these:

http://mydomain/app/provision/?file=directory.xml&contacts=groups

http://mydomain/app/provision/?file=directory.xml&contacts=users

http://mydomain/app/provision/?file=directory.xml&contacts=extensions

http://mydomain/app/provision/?file=directory.xml&contacts=all
2016-05-12 11:22:40 -06:00
markjcrane 19f9bc58cd Remove the last contact_email field that was deprecated. 2016-04-14 20:13:40 -06:00
reliberate 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
markjcrane 0834f67911 Work on the permissions for contacts. 2016-01-18 21:46:49 -07:00
markjcrane b518a3ff87 Change the way null last is done for Postgres. 2015-10-20 02:05:03 -06:00
markjcrane 0f434652cd Contacts oder by last mod date null last. 2015-10-20 01:53:23 -06:00
markjcrane 6ee9b8f6cc Order contacts by last modified date by default. 2015-10-20 01:39:54 -06:00
Nate Jones e5ece69b1a CDR: Hide Missed Calls button after clicked. Visual adjustment when top paging buttons aren't present.
Contacts: Visual adjustment when top paging buttons aren't present.
2015-04-01 09:06:02 +00:00
Nate Jones d30a509de0 Contacts / CDR: Minified top paging controls. 2015-04-01 09:00:17 +00:00
Nate Jones 94e5a73ead Contacts: Sort list initially by Organization, then by First, Last. 2015-03-26 20:13:24 +00:00
Nate Jones 4ee20afa77 Contacts: Fix suggested in Issue 787. Thanks. 2015-03-18 05:38:35 +00:00
Nate Jones d78e66f11e Contacts: Fix paging on list view. 2015-02-25 22:46:58 +00:00
Nate Jones ded7cb3266 Visual adjustments. 2015-02-15 11:57:14 +00:00
Mark Crane c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00