Commit Graph

398 Commits

Author SHA1 Message Date
Alexey Melnichuk 04a0349050 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 b7ee8d69c3 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 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
reliberate 5793de2851 Destinations/Extensions/Voicemails: Better sorting ability. 2016-03-28 15:21:05 -06:00
reliberate d5c60df4fc 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 ddcb4cab28 Revert "Revert "Revert "search selects""" 2016-03-24 22:25:18 -06:00
FusionPBX d7b95e462b Revert "Revert "search selects"" 2016-03-24 22:03:37 -06:00
FusionPBX f9096f9cf1 Revert "search selects" 2016-03-24 22:02:41 -06:00
blackc2004 c2e1755931 search selects 2016-03-22 15:42:46 -07:00
reliberate 39bfec7aa2 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 45704a7707 Merge pull request #1469 from mafoo/WhitespaceClean-app/batch_2
WhitespaceClean-app/batch_2
2016-03-11 13:35:24 -07:00
markjcrane 961e527abb 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 6eed9935d4 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 39a31432ba 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 9b9d8b4e3b Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -07:00
markjcrane af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
markjcrane d65982cfac 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 56b34c34ca 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 87dbd6b428 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 fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
FusionPBX d298dad5cc Merge pull request #1331 from mafoo/BugFix-root.php_logic
Rollout new root.php
2016-01-16 10:09:44 -07:00
Matthew Vale 6999198492 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 fca7beb7af If the call group or toll allow have a value set set selected. 2016-01-13 17:57:25 -07:00
markjcrane 9c5eb3faea Use call group singular instead of plural. 2016-01-13 16:40:26 -07:00
markjcrane b8d3ca338d Add an option for toll allow and call group select list. 2016-01-13 16:26:55 -07:00
Matthew Vale a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale 0176d30312 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale 81b85c3caf Merge branch 'fusionpbx/master' into Enhance-Languages
Conflicts:
	app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
blackc2004 d107530cf2 extension download 2015-12-10 15:07:46 -08:00
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
FusionPBX cab006a151 Merge pull request #1307 from blackc2004/patch-15
Update app_config.php
2015-12-09 14:57:06 -08:00
blackc2004 52bd6a1029 Update extension.php 2015-12-09 14:04:26 -08:00
blackc2004 9a1d650532 Update app_config.php 2015-12-09 13:59:43 -08:00
FusionPBX ee8166d918 Merge pull request #1210 from blackc2004/patch-8
Update extension_edit.php
2015-10-30 09:37:23 -06:00
FusionPBX b829588746 Merge pull request #1211 from blackc2004/patch-7
Update app_languages.php
2015-10-30 09:36:55 -06:00
FusionPBX e8d95a94e3 Merge pull request #1212 from blackc2004/patch-6
Update app_config.php
2015-10-30 09:36:30 -06:00
blackc2004 cdb016277d Update extension.php 2015-10-29 12:24:55 -07:00
blackc2004 292b754cb1 Update extension_edit.php 2015-10-29 12:24:24 -07:00
blackc2004 e2c3717556 Update app_languages.php 2015-10-29 12:23:49 -07:00
blackc2004 3c4a7744e4 Update app_config.php 2015-10-29 12:22:40 -07:00
Alexey Melnichuk 3db89f6c91 Change. Allow use destination number as Outbound CallerID number for extension. 2015-10-23 15:05:24 +03:00
koldoa 2d5bce9481 Changed readdir to scandir so we can get sorted template names 2015-10-16 15:04:31 +02:00
markjcrane 4107bd0826 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 7bd5f9a1ba Add extension count. 2015-09-04 23:12:36 -06:00
markjcrane 514fd37672 Fix the extension device list. 2015-08-25 11:57:59 -06:00
FusionPBX 632d152035 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 bff7f43abb Fix. clear cache also for number_alias. 2015-08-21 13:22:07 +04:00
markjcrane 850d53359c 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 8ca1eaf93e 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 e9d5215232 Change type number to text to fix caller id numbers that start with a 0. 2015-08-14 10:47:15 -06:00
FusionPBX e6a85e776b 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 75aaf20cfa 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 ebe536c66d Change call_center_contact to user_contact. 2015-08-07 15:24:24 -05:00
markjcrane 1393201847 Escape the $ for $domain_uuid. 2015-08-06 00:14:46 -05:00
markjcrane 752c54d05c Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
markjcrane bcf1363277 Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
markjcrane 0c76720731 Add title-call_groups to app/extensions. 2015-08-03 18:42:16 -06:00
markjcrane dd1d7a9ffd Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-02 23:43:53 +00:00
root 22c146f7f4 Add latest translations 2015-08-02 23:42:11 +00:00
markjcrane 6f6a2fc8d0 Change extension_context to extension_user_context in one location that was missed. 2015-07-31 10:58:38 -06:00
markjcrane a7a472c86a Add a new permission extension_user_context. 2015-07-31 09:37:53 -06:00
markjcrane 2353b9622a Change else if to elseif on extension_edit.php 2015-07-31 09:18:27 -06:00
Alexey Melnichuk 18491ea2c0 Merge branch 'master' into no_default_domain
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:24:59 +04:00
Alexey Melnichuk a4b0b2d271 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 ae99066dcd 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 c5b04b94d9 Add AR eg translation. 2015-07-05 23:13:46 -06:00
Alexey Melnichuk e89a499b2c Change. Use number_alias as voicemail_id. 2015-07-02 18:49:58 +04:00
Alexey Melnichuk 9097861e30 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 3031f125f2 Add latest translations 2015-06-30 10:30:02 +00:00
Mark Crane 34f6a889b9 Fix the the syntax so the default will work correctly. 2015-06-23 21:13:22 +00:00
Mark Crane 553d3a9c49 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 22dd5b6658 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 71b0956e9a Add call_screen_enabled to extension_edit.php. 2015-06-23 19:59:51 +00:00
Mark Crane 5823b0f8bc Add call_screen_enabled to the database and add the lable for translations. 2015-06-23 19:58:07 +00:00
Mark Crane 4d5b09e7b5 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 5ff1f11bbe Add latest translations 2015-06-22 09:30:02 +00:00
Mark Crane 8bdb5b0aee Add latest translations 2015-06-22 08:30:02 +00:00
Nate Jones 60963abd4f Ring Groups: Added Missed Call notification interface.
Extensions: Removed unnecessary echoes.
2015-06-19 16:33:05 +00:00
Mark Crane 96c10412f7 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane 63f1b8f8b2 Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane 8a761fdfcb Unhide mwi_account again. 2015-06-11 00:17:27 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Nate Jones c096530d89 Extension: Hide MWI Account field till functionality restored. 2015-06-02 21:51:15 +00:00
Nate Jones 46bbdeaa38 Extensions: Missed Call notification option. 2015-05-23 02:11:26 +00:00
Mark Crane aaba392446 Fix the syntax by adding a missing ). 2015-05-20 22:34:16 +00:00
Mark Crane 2ee03aa15b A few more adjustments for the new password permissions. 2015-05-20 22:32:55 +00:00
Mark Crane f281d4fa40 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 dd929e5f6c Allow limit max to set to 0 to disable the extension calling. 2015-05-20 16:54:55 +00:00
Mark Crane d022ddcdc8 Add missing commas. 2015-05-20 02:28:10 +00:00
Mark Crane a04e45f63d Add defaults for sip port and transport, expires to extension_edit.php. 2015-05-20 02:21:10 +00:00
Nate Jones 60856cc6f5 Extensions: Only show Call Control button on edit. 2015-05-05 16:45:35 +00:00
Mark Crane 35ad4784dd Add call_timout to the extension xml files. 2015-05-05 07:45:05 +00:00
Nate Jones b9d28743f7 Extension Add: Fix for Issue 910 - Skip check on extensions limit if not defined. 2015-04-10 14:42:55 +00:00
Mark Crane 3b8b7ad0ca 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 03f5a6854e Prevent users bypassing extension limits by using range 2015-04-07 23:50:36 +00:00
Nate Jones 73d0629ba2 Extensions: Added direct link to Calls page, requested in Issue 870. 2015-03-25 17:11:07 +00:00
Nate Jones 9a15385e87 Extensions: Fixed sorting. 2015-03-22 08:48:50 +00:00
Nate Jones c97b5cf86b Extensions: Search fixed. 2015-03-22 08:42:44 +00:00
Nate Jones 6f4209e2f6 Misc: Implement maximum limits on multiple apps. 2015-03-22 08:17:04 +00:00
Mark Crane f08e4be71b Set the user_context on an extension to the domain name. 2015-03-22 03:22:05 +00:00
Nate Jones 349185b8a7 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 8485694537 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 3b9224bb44 Set the user context to the domain name. 2015-03-10 10:48:50 +00:00
Mark Crane e0b1ad7ec1 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 ac19ba116b you can fix your forward caller id number/name 2015-02-28 04:07:15 +00:00
Nate Jones 71a861580c 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 e5295bad45 Visual adjustments. 2015-02-15 09:20:19 +00:00
Nate Jones 0018e553c4 Visual adjustments. 2015-02-15 07:59:02 +00:00
Nate Jones 996e89c396 Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Mark Crane 501d074c1a 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 5d62e3ea04 Extension Edit: Restore mouseover reveal on VM Password. 2015-01-27 18:19:34 +00:00
Mark Crane bd75dc5665 Remove the type numeric from the voicemail password as it conflicts password reveal code. 2015-01-27 18:11:05 +00:00
Mark Crane 2f8a5b662e Add the project path to accounts -> extensions and device MAC address link. 2015-01-24 02:15:18 +00:00
Mark Crane 96e826bcc9 Enable ability to have global gateways. 2015-01-22 11:10:51 +00:00
Mark Crane d718423e86 Simplify use of domain_uuid in extensions.php. 2015-01-20 20:59:27 +00:00
Nate Jones 2448ab3a8e Use the new multi-lingual code on misc files. 2015-01-18 10:33:34 +00:00
Mark Crane c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane 2bb98fb2e5 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 bee6b9ae5e Update the memcache reference to use the new cache PHP class. 2015-01-16 00:21:02 +00:00
Mark Crane 9369fd8d0d Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane bbf2a3badc Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
luis daniel lucio quiroz 6924e0a834 HTML5 input patter for mac address 2014-12-23 01:06:20 +00:00
luis daniel lucio quiroz 01e2d4fd13 HTML5 input tags for extension_edit 2014-12-21 05:46:21 +00:00
Mark Crane 516778f3f3 Remove the deprecated schema definition for call forward no answer. 2014-12-16 22:59:25 +00:00
Nate Jones 781218cb6a Issue 782 Fix: Account Code previously set by SuperAdmin was being overwritten if Admin saved extension without billing system present. 2014-12-10 03:13:46 +00:00
Mark Crane ba54bce345 Remove the a1 hash which breaks integration with Asterisk. a1 hash was also undermined by reverse authentication. 2014-12-09 09:45:14 +00:00
Mark Crane 14babb88ed Set extension variables for forward all, busy, no answer, and do not disturb. 2014-12-03 08:05:41 +00:00
Mark Crane d7da2a382b Change Call Forward Unanswered to Call Forward No Answer 2014-12-03 05:55:01 +00:00
Nate Jones 836ee32400 Call Forwarding: Added 'Unanswered' gui controls, script mods forthcoming. 2014-11-29 18:14:23 +00:00
Mark Crane 0ae21c9bfa Set the device line_number default to 1. 2014-11-20 02:34:03 +00:00
Philippe Rioual 14ca352a4f updated / enhanced french translations 2014-10-29 08:51:56 +00:00
Mark Crane f40194f219 When assigning and extension to a device set the display_name. 2014-10-28 03:26:01 +00:00
Mark Crane b4c32e7fc4 Remove the closing multi-line comment 2014-10-11 07:26:59 +00:00
Mark Crane 58fe5d54a7 Add the menu_item_group_uuid primary key when adding a group to the menu 2014-10-11 07:16:04 +00:00
Mark Crane 110ae90cae Add reverse authentication required for the provision and reboot options on the status -> registrations. 2014-09-17 17:04:41 +00:00
luis daniel lucio quiroz c13fa44e98 server side verifications of accountcode 2014-08-08 12:37:06 +00:00
luis daniel lucio quiroz 86113f7d32 admin only can set specific accountcodes 2014-08-08 12:19:48 +00:00
luis daniel lucio quiroz cc45613328 just a little format to have the same code 2014-08-05 22:37:23 +00:00
luis daniel lucio quiroz 7fb66e521b billing needs to convert to billing currency always! 2014-08-05 22:27:12 +00:00
Mark Crane 0c58eaa56d Add domain_name to the extension xml file 2014-08-03 10:48:45 +00:00
Nate Jones eef73fd005 Input Type Switch Button: Changed from left triangle (⨞) to left triangle (◁), as wasn't displaying properly in FF on Mac. 2014-08-03 07:02:12 +00:00
Nate Jones 16105f7d3a Input Type Switch Button: No interprets HTML entities code for left triangle (⨞) after switching element type once (wasn't being parsed as an HTML entity, but displayed literally). 2014-08-03 06:12:10 +00:00
Nate Jones abcc96f0ad Input Type Switch Button: Changed from < to left triangle (&#10782;) 2014-08-03 05:31:42 +00:00
Mark Crane 92f32dcd00 Remove capitalization on the context its better to show the case that it actually uses 2014-08-01 14:26:58 +00:00
Mark Crane c7a6434fc5 Change user context to context and add context to the extensions page 2014-08-01 14:21:06 +00:00
Mark Crane 3814da4a42 Use the session domain_uuid rather than the domain_uuid variable 2014-08-01 14:02:45 +00:00
luis daniel lucio quiroz a24dd89b59 billing now supports domain_uuid to let currect domain erasing work properly, missing support to bill extension created added 2014-08-01 13:14:50 +00:00
luis daniel lucio quiroz ee6a13acd9 nibble_account can only be changed by superadmins 2014-07-25 22:33:56 +00:00
Mark Crane 5291c4764d Deprecate provisioning_list in the v_extensions table 2014-07-22 10:12:24 +00:00