Commit Graph

185 Commits

Author SHA1 Message Date
SJS87 41db39bda0 E.164 format support - contact_phone_edit.php (#1581)
The + prefix is being removed, this should be ignored for the very start of the string, resolution below.

Line 69.
Replace:
$phone_number = preg_replace('{\D}', '', $phone_number);
With:
$phone_number = preg_replace('{(?!^\+)[\D]}', '', $phone_number);
2016-05-13 08:42:34 -06:00
Chris Black 804565549b 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 bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin fd313a7c66 fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin 91a92d8e5e \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
reliberate b1becf5f17 Theme: Revert CSS change.
Contacts: Change email input field type to 'text' instead of 'email'.
2016-04-25 10:34:39 -06:00
markjcrane 81746f1233 Minor change to contact edit. 2016-04-22 10:35:27 -06:00
markjcrane fbc3ac5e70 Remove the last contact_email field that was deprecated. 2016-04-14 20:13:40 -06:00
markjcrane 8b5e166eda Remove contact_email from v_contacts table as this was replaced by the v_contact_emails table. 2016-04-14 10:40:25 -06:00
reliberate 53b07c67f7 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
markjcrane 5339bee11d contact_group_uuid value is not working get the value from the database. 2016-04-06 00:39:27 -06:00
markjcrane daedac51fc Fix the contact group delete button. 2016-04-06 00:33:52 -06:00
markjcrane c38ff886e5 Fix assigning groups to contacts. 2016-04-06 00:27:57 -06:00
reliberate 14973b5c97 Functions: Enhance img_spacer() function.
Dialplan Edit: Integrate img_spacer() to fix row divider.
Default/Domain/User Settings: Use img_spacer() function for color swatches.
Contact Times: Adjust for recent changes on img_spacer() function.
2016-04-01 19:44:26 -06:00
reliberate cd7843b7f3 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
reliberate a70f1a8e11 Contact Timer: Replace PHP short tags. 2016-03-28 14:28:10 -06:00
reliberate 0899a8e5da Import Contacts: Fix layout issue. 2016-03-27 03:00:05 -06:00
reliberate 13e3aa4fa8 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
markjcrane bdcd499b2c Fix a minor display issue for contacts. 2016-03-19 21:57:37 -06:00
mafoo 4131a70c02 BugFix-Translation-True_False
fixed various uses of ucwords() to render true/false to use
$text[label-*] instead
2016-03-11 11:34:52 +00:00
markjcrane 5a06f486af Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
Mafoo ad324f4744 changed throw Exception to die
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
markjcrane 30d5177b0a Work on the permissions for contacts. 2016-01-18 21:46:49 -07:00
markjcrane 8fcc999bd2 Remvove the shared option and update the contact description. 2016-01-18 18:30:22 -07:00
markjcrane bad658ac68 Move the contact user data to the correct table. 2016-01-18 17:51:32 -07:00
markjcrane 38af18d127 Simply deleting contact users and groups. 2016-01-18 17:42:32 -07:00
markjcrane 9e8cd7d348 Add a missing bracket. 2016-01-18 16:55:26 -07:00
markjcrane 1474b51779 Update permissions on contact_edit and add ability to delete a user that is assigned to the contact. 2016-01-18 16:53:19 -07:00
markjcrane 08625735e9 Update the sql query that lists the assigned users to specific contacts. 2016-01-18 15:02:34 -07:00
markjcrane 69de2cacac Fix the contact page layout. 2016-01-18 14:44:05 -07:00
markjcrane 35c8198160 Add the translations for Users, and add the new permissions. 2016-01-18 14:35:44 -07:00
markjcrane b60f55525e Add contact user list to contact_edit.php. 2016-01-18 14:17:59 -07:00
FusionPBX 1e9343aa46 Merge pull request #1396 from mafoo/Enhance-BugFix
Enhance root.php
2016-01-18 11:22:41 -07:00
Mafoo 2669f6f1a9 Added check for if .project.ROOT is missing
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
markjcrane e9d8605c0d Assign the user that created the contact to the user that created it. When deleting a contact delete the user assigned to it. 2016-01-17 16:16:51 -07:00
markjcrane 1c59453952 Add a new table v_contact_users. 2016-01-17 14:17:12 -07:00
markjcrane 23b4b7c9bf Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
FusionPBX 76b1ea734e Merge pull request #1331 from mafoo/BugFix-root.php_logic
Rollout new root.php
2016-01-16 10:09:44 -07:00
Matthew Vale b20a38f454 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale 173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
markjcrane c1266f3e00 Remove the line after ?> 2016-01-12 20:48:22 -07:00
Matthew Vale b81748bd22 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale 1ad1c31b27 Rollout of root.php 2016-01-12 13:55:39 +00:00
Alexey Melnichuk 43cabfc255 Fix. Extension link on contact edit page. 2015-10-22 16:26:41 +03:00
markjcrane 4c3fa1f9e7 Change the way null last is done for Postgres. 2015-10-20 02:05:03 -06:00
markjcrane 588e4ebabc Contacts oder by last mod date null last. 2015-10-20 01:53:23 -06:00
markjcrane 7a776fadb8 Order contacts by last modified date by default. 2015-10-20 01:39:54 -06:00
markjcrane da91589641 Fix the Contact CSV import so it will import the phone number. 2015-10-19 20:37:13 -06:00
root fead5df810 Add latest translations 2015-08-02 23:42:11 +00:00
Mark Crane 6654507706 Add latest translations 2015-06-15 19:30:00 +00:00