Commit Graph

427 Commits

Author SHA1 Message Date
FusionPBX 397d7db218 Update extension_edit.php 2016-08-28 13:07:37 -06:00
FusionPBX 5bd8a3a88e Update extension_edit.php
Update the voicemail password form input.
2016-08-28 12:58:19 -06:00
FusionPBX 623fa846e3 Update extension.php
Merged pull request 1607 manually.
2016-08-25 15:59:32 -06:00
Alexey Melnichuk 065a04ccb2 Add. `force_ping` option for extension (#1809)
* Add. `force_ping` option for extension

This option force FS send SIP OPTIONS message to
detect if this reged device still available.

* Update language file.
2016-08-11 09:46:54 -06:00
FusionPBX 29d41f909c Update extensions.php
Update the extensions header.
2016-08-04 20:05:56 -06:00
FusionPBX 85f0f5f3c5 Update extensions.php
Move extension registered before enabled and description which are always last.
2016-07-28 09:59:38 -06:00
FusionPBX 134802f988 Update app_config.php
Change the permission in app_config.php from extension_show_registered to extension_registered.
2016-07-28 00:01:47 -06:00
FusionPBX d685638841 Update extensions.php
Change extension_show_registered to extension_registered.
2016-07-27 23:59:25 -06:00
Chris Black c9566fde0e Fix my PR for the device registered on extensions page. (#1772)
* Fix my PR for the device registered on extensions page.

* Change to registered
2016-07-27 23:03:59 -06:00
markjcrane 6f2601e32a Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
Mafoo 209f2d227c BugFix-remove-legacy-warning (#1638)
changed switch_music_on_hold->select to be more inline of usage
changed extension_edit to use new format
changed call_center_queue_edit to use new format while
https://github.com/fusionpbx/fusionpbx/pull/1637 is in testing
2016-06-08 15:15:36 -06:00
reliberate e450022cd8 Extension: Update assigned Device line password only if user has permission to view/edit Extension password. 2016-06-06 14:36:31 -06:00
Mafoo 59ddf92f1b I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo a8b667cd0b Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
reliberate 8d2a190099 Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
markjcrane 55e6f76c72 Add a new permission number_alias. By default hide it to prevent confusing users. 2016-05-11 13:36:31 -06:00
markjcrane 83772690fc Change extension permission defaults. 2016-05-11 13:03:06 -06:00
markjcrane 5a9ad9da41 Update the record count for extensions list. 2016-05-07 18:06:36 -06:00
markjcrane 93d20531e6 On the extensions page use is_array($extensions) instead of $num_rows 2016-05-07 17:37:24 -06:00
markjcrane f9f57fffa6 Change the method to detect if the array exists for extensions. 2016-05-07 17:27:27 -06:00
FusionPBX c73777dfeb Merge pull request #1562 from moteus/display_long_extensions
Fix. Display long extensions (>9 digits)
2016-04-29 09:25:46 -06:00
markjcrane e34196585c Add (!class_exists('extension')) 2016-04-28 16:57:42 -06:00
markjcrane bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Alexey Melnichuk 0c61e650d0 Fix. Display long extensions (>9 digits) 2016-04-28 14:37:58 +03: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 179f4840a8 include omitted column name, partial fix to support mariadb 10.1. 2016-04-25 20:44:30 -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
Harry G. Coin 89e5ecbcdf 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
reliberate ce31971277 Voicemail: Show Add button even when no Voicemails exist.
Extensions: Integrate keyboard shortcuts (Ctrl+A to select all, Delete to delete checked).
2016-03-31 18:03:32 -06:00
Alexey Melnichuk b85067b166 Fix. Display extension on MySQL.
Problem that
```SQL
select (select count(*) as num_rows ...)
```
is  not the same as
```SQL
select (select count(*) ...) as num_rows
```

I think problem may be on SQLite too.
2016-03-29 19:00:59 +03:00
markjcrane 6a2e98baa2 Fix the problem with non-numeric extension causing an error. Not certain we will keep this method but its an interesting solution. 2016-03-29 03:42:24 -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 785279d62b Destinations/Extensions/Voicemails: Better sorting ability. 2016-03-28 15:21: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
FusionPBX eb81998165 Revert "Revert "Revert "search selects""" 2016-03-24 22:25:18 -06:00
FusionPBX 90242c0c60 Revert "Revert "search selects"" 2016-03-24 22:03:37 -06:00
FusionPBX 68e728b0b6 Revert "search selects" 2016-03-24 22:02:41 -06:00
blackc2004 128026f3e8 search selects 2016-03-22 15:42:46 -07:00
reliberate f7aca7239c Extensions: Added bulk delete.
Voicemail: Added bulk delete.  On delete, remove recordings folder, and voicemail_options, _destinations, and _greetings database records.
2016-03-16 18:48:42 -06:00
FusionPBX 5a8a19af39 Merge pull request #1469 from mafoo/WhitespaceClean-app/batch_2
WhitespaceClean-app/batch_2
2016-03-11 13:35:24 -07:00
markjcrane b135f6b120 Change device_provision_enable to device_enabled to make it consistent with the rest of the fields that are used for to enable and disable something. 2016-03-11 11:46:02 -07:00
mafoo e410824380 WhitespaceClean-app/batch_2
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:01:24 +00:00
reliberate ce2490dafc User Dashboard: Minor layout optimizations.
Follow Me: Added search and minimized paging controls.
Extensions: Added minimized paging controls.
2016-03-03 19:01:58 -07:00
reliberate 1d95ad0743 Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -07: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
markjcrane 217e3b562c Add a new permission extension_user_record to control who is able to see extension record. By default superadmin has this permission. 2016-01-27 15:56:22 -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
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 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
markjcrane b40415c53f If the call group or toll allow have a value set set selected. 2016-01-13 17:57:25 -07:00
markjcrane e186172b6f Use call group singular instead of plural. 2016-01-13 16:40:26 -07:00
markjcrane 73b3afe506 Add an option for toll allow and call group select list. 2016-01-13 16:26:55 -07:00
Matthew Vale 173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00: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
Matthew Vale 665824b949 Merge branch 'fusionpbx/master' into Enhance-Languages
Conflicts:
	app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
blackc2004 e69bc4da6b extension download 2015-12-10 15:07:46 -08:00
Matthew Vale b76a1a4b4f First pass on app/* 2015-12-10 10:12:41 +00:00
FusionPBX c5306533ad Merge pull request #1307 from blackc2004/patch-15
Update app_config.php
2015-12-09 14:57:06 -08:00
blackc2004 d0a6a57ddc Update extension.php 2015-12-09 14:04:26 -08:00
blackc2004 f7a44633b1 Update app_config.php 2015-12-09 13:59:43 -08:00
FusionPBX 82fcbbcbce Merge pull request #1210 from blackc2004/patch-8
Update extension_edit.php
2015-10-30 09:37:23 -06:00
FusionPBX 9c5fee3dc8 Merge pull request #1211 from blackc2004/patch-7
Update app_languages.php
2015-10-30 09:36:55 -06:00
FusionPBX b42f054e9e Merge pull request #1212 from blackc2004/patch-6
Update app_config.php
2015-10-30 09:36:30 -06:00
blackc2004 5bc43a3fbd Update extension.php 2015-10-29 12:24:55 -07:00
blackc2004 9a47dc93fd Update extension_edit.php 2015-10-29 12:24:24 -07:00
blackc2004 89410fafa6 Update app_languages.php 2015-10-29 12:23:49 -07:00
blackc2004 080d136968 Update app_config.php 2015-10-29 12:22:40 -07:00
Alexey Melnichuk 6abb8a6783 Change. Allow use destination number as Outbound CallerID number for extension. 2015-10-23 15:05:24 +03:00
koldoa 49fcc5e8d9 Changed readdir to scandir so we can get sorted template names 2015-10-16 15:04:31 +02:00
markjcrane a4b7af3560 Another case where automcomplete bombs. Accounts -> Extensions password is used for registration not for a login. In FusionPBX if the password is left empty it would automatically create a new password. However auto complete instead puts in the login password this is an undesirable bug that this update fixes by adding a honey pot for the password. 2015-09-19 18:19:23 -06:00
markjcrane b34f8baeb8 Add extension count. 2015-09-04 23:12:36 -06:00
markjcrane 6e74b54969 Fix the extension device list. 2015-08-25 11:57:59 -06:00
FusionPBX eabad9c50f Merge pull request #1118 from moteus/clear_cache_number_alias
Fix. clear cache also for number_alias.
2015-08-21 11:33:03 -06:00
Alexey Melnichuk 67a1392194 Fix. clear cache also for number_alias. 2015-08-21 13:22:07 +04:00
markjcrane c9f7869de9 Move SQL queries out of the content as a best practice and coding standard. Fix number alias when using auth name and auth id. 2015-08-20 20:16:07 -06:00
markjcrane 74804cea64 Give precedence to number_alias over extension in destinations class that generates the destination select list. 2015-08-15 21:49:27 -06:00
markjcrane 39d44acd1e Change type number to text to fix caller id numbers that start with a 0. 2015-08-14 10:47:15 -06:00
FusionPBX 81003e35d8 Merge pull request #1018 from moteus/number_alias_as_vm_id
Change. Use number_alias as voicemail_id.
2015-08-11 20:43:20 -06:00
FusionPBX f1e8e1c366 Merge pull request #1017 from moteus/no_default_domain
Change. Does not use `default` dialplan/directory.
2015-08-10 11:27:19 -06:00
markjcrane e19f459cd8 Change call_center_contact to user_contact. 2015-08-07 15:24:24 -05:00
markjcrane cb31af2fc5 Escape the $ for $domain_uuid. 2015-08-06 00:14:46 -05:00
markjcrane 15ca076e09 Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
markjcrane 5c8a6dd7fe Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
markjcrane 12f9560595 Add title-call_groups to app/extensions. 2015-08-03 18:42:16 -06:00
markjcrane ed49b0fd51 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-02 23:43:53 +00:00
root fead5df810 Add latest translations 2015-08-02 23:42:11 +00:00
markjcrane 66aa2ee0a0 Change extension_context to extension_user_context in one location that was missed. 2015-07-31 10:58:38 -06:00
markjcrane 905c68bfad Add a new permission extension_user_context. 2015-07-31 09:37:53 -06:00
markjcrane 82cd26486b Change else if to elseif on extension_edit.php 2015-07-31 09:18:27 -06:00
Alexey Melnichuk 953462f400 Merge branch 'master' into no_default_domain
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:24:59 +04:00
Alexey Melnichuk 57808740ef Merge branch 'master' into number_alias_as_vm_id
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:19:13 +04:00
markjcrane a46295a4f2 The extension_password permission is not needed on the field name as the password is auto-generated. Because of this its only needed on the update. 2015-07-06 12:15:03 -06:00
markjcrane 44245e760f Add AR eg translation. 2015-07-05 23:13:46 -06:00
Alexey Melnichuk cdc4b670d2 Change. Use number_alias as voicemail_id. 2015-07-02 18:49:58 +04:00
Alexey Melnichuk 5059613a40 Change. Does not use `default` dialplan/directory.
I think it more consistent that it allows edit domain in single place.
Also on my Windows machine while installing all users/context creates not in `default` directory.
And I have problem because remove users did not work, `default.xml` file contain `$${v_domain}` variables.
2015-07-02 13:14:35 +04:00
Mark Crane 4681c145b4 Add latest translations 2015-06-30 10:30:02 +00:00
Mark Crane f01988c84d Fix the the syntax so the default will work correctly. 2015-06-23 21:13:22 +00:00
Mark Crane fbb6576901 Add call_screen_enabled to the extension insert, update and then set the default to false. 2015-06-23 20:42:26 +00:00
Mark Crane 1510c1c631 Add extension_call_screen permission, and add call_screen_enabled to extensions/extension_edit.php. 2015-06-23 20:06:44 +00:00
Mark Crane 209fa831a7 Add call_screen_enabled to extension_edit.php. 2015-06-23 19:59:51 +00:00
Mark Crane 574c63a83a Add call_screen_enabled to the database and add the lable for translations. 2015-06-23 19:58:07 +00:00
Mark Crane e8d45ff480 Move extension devices up on the page to make it more convenient for configuring devices. 2015-06-23 19:43:12 +00:00
Mark Crane 9bb10da76d Add latest translations 2015-06-22 09:30:02 +00:00
Mark Crane ab25689fef Add latest translations 2015-06-22 08:30:02 +00:00
Nate Jones 611b308d9e Ring Groups: Added Missed Call notification interface.
Extensions: Removed unnecessary echoes.
2015-06-19 16:33:05 +00:00
Mark Crane 6654507706 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane b64c850a9a Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane bf15ad6e8b Unhide mwi_account again. 2015-06-11 00:17:27 +00:00
Mark Crane 2b69ac00d7 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Nate Jones 9b3aecda15 Extension: Hide MWI Account field till functionality restored. 2015-06-02 21:51:15 +00:00
Nate Jones afb1ffe027 Extensions: Missed Call notification option. 2015-05-23 02:11:26 +00:00
Mark Crane 8850cf2f6c Fix the syntax by adding a missing ). 2015-05-20 22:34:16 +00:00
Mark Crane f6a4a5daaa A few more adjustments for the new password permissions. 2015-05-20 22:32:55 +00:00
Mark Crane 551aba5941 Add extension_password and device_line_password permissions. Goal is to make it possible to hide the password from the admin as desired by the superadmin. 2015-05-20 22:24:19 +00:00
Mark Crane 1bc20de00b Allow limit max to set to 0 to disable the extension calling. 2015-05-20 16:54:55 +00:00
Mark Crane f28fdbb13d Add missing commas. 2015-05-20 02:28:10 +00:00
Mark Crane 9686d68182 Add defaults for sip port and transport, expires to extension_edit.php. 2015-05-20 02:21:10 +00:00
Nate Jones 7c03d2955a Extensions: Only show Call Control button on edit. 2015-05-05 16:45:35 +00:00
Mark Crane 736e4591f0 Add call_timout to the extension xml files. 2015-05-05 07:45:05 +00:00
Nate Jones 323d3de4b1 Extension Add: Fix for Issue 910 - Skip check on extensions limit if not defined. 2015-04-10 14:42:55 +00:00
Mark Crane d6636aee17 Update the translations from the translation server. Includes the following new languages Brazilian Portuguese, Polish, and Swedish Sweden. Thanks to those that put in the effort to add these languages additional translator volunteers are welcome. 2015-04-08 13:38:58 +00:00
Digital Daz cd91c1e7d9 Prevent users bypassing extension limits by using range 2015-04-07 23:50:36 +00:00
Nate Jones ed4ee38b4c Extensions: Added direct link to Calls page, requested in Issue 870. 2015-03-25 17:11:07 +00:00
Nate Jones f50824fb41 Extensions: Fixed sorting. 2015-03-22 08:48:50 +00:00
Nate Jones ff5746bba5 Extensions: Search fixed. 2015-03-22 08:42:44 +00:00
Nate Jones fcb53fd7f9 Misc: Implement maximum limits on multiple apps. 2015-03-22 08:17:04 +00:00
Mark Crane 81c213f8d8 Set the user_context on an extension to the domain name. 2015-03-22 03:22:05 +00:00
Nate Jones 5730130b8e Voicemail: Added default settings to control default Voicemail File and Keep Local settings when creating new extensions and/or Voicemail boxes. 2015-03-20 01:09:18 +00:00
Nate Jones 266f9e1063 Voicemail:
- Adjust for single-quotes in caller_id_name on insert query (hopefully addressing Issue 877).
- If Keep Local is false, remove the recording from the file system.
- Fix Forward Destinations so message is fully copied to other extension voicemail boxes, not just emailed.
- Add script to Ext and VM Edit pages to prevent Listen or Download links being sent when Keep Local is false.
- Minor language mods.
2015-03-15 09:15:04 +00:00
Mark Crane 05033b14d2 Set the user context to the domain name. 2015-03-10 10:48:50 +00:00
Mark Crane 1b066c81c5 Add a new permission to hide the dial string from admins by default. 2015-02-28 16:18:12 +00:00
luis daniel lucio quiroz 68886ebf82 you can fix your forward caller id number/name 2015-02-28 04:07:15 +00:00
Nate Jones cbb39328f5 Voicemail: Added additional options for email notification (attach vm, download link, auto-play listen link). Also cleaned up email templates a little. 2015-02-24 08:09:01 +00:00
Nate Jones 18fefa3682 Visual adjustments. 2015-02-15 09:20:19 +00:00
Nate Jones dbd9fbc07b Visual adjustments. 2015-02-15 07:59:02 +00:00
Nate Jones 256e424b3e Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Mark Crane 3a910469d9 Remove the extension password as required if its empty then it provides a default password. 2015-01-28 18:37:56 +00:00
Nate Jones f207c81655 Extension Edit: Restore mouseover reveal on VM Password. 2015-01-27 18:19:34 +00:00
Mark Crane 3176e6197f Remove the type numeric from the voicemail password as it conflicts password reveal code. 2015-01-27 18:11:05 +00:00
Mark Crane 12ca6e7498 Add the project path to accounts -> extensions and device MAC address link. 2015-01-24 02:15:18 +00:00
Mark Crane 04b0ffccc1 Enable ability to have global gateways. 2015-01-22 11:10:51 +00:00
Mark Crane e2e1a24dca Simplify use of domain_uuid in extensions.php. 2015-01-20 20:59:27 +00:00
Nate Jones 474e63f939 Use the new multi-lingual code on misc files. 2015-01-18 10:33:34 +00:00
Mark Crane 03220c9754 Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane f4c24f77ad Switch the email to text as voicemail_mail_to can be more than one email address which is not allowed using the email type. 2015-01-17 08:21:33 +00:00
Mark Crane 91bfa85bac Update the memcache reference to use the new cache PHP class. 2015-01-16 00:21:02 +00:00
Mark Crane ddca77629e Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00