Commit Graph

606 Commits

Author SHA1 Message Date
FusionPBX e4936be826 Update extension_edit.php 2017-11-07 18:40:18 -07:00
Luis Daniel Lucio Quiroz 4d5a36b3e9 Same as 4.2 (#2889) 2017-11-05 15:49:25 -07:00
FusionPBX d9d72bc23b Update extension_edit.php 2017-11-03 14:57:12 -06:00
FusionPBX 6b3f655495 Update app_config.php 2017-11-03 14:55:56 -06:00
FusionPBX 04e660e67c Update extension_edit.php 2017-11-03 14:48:54 -06:00
TylerP 2114b2e46c Sort by CIDName if populated, otherwise CIDNumber (#2890)
I believe this will help users to sort through the caller ID numbers on the dashboard.
2017-10-25 22:49:42 -06:00
Christian Bergamaschi 9f228ef8c5 Italian translation added (#2852) 2017-09-21 09:06:26 -06:00
FusionPBX f4f0ef5626 Update extensions.php 2017-08-28 02:21:59 -06:00
sergey-mz b42fd5659b Set assigned device line display name (#2750)
Set line display name to Effective Caller ID instead of extension #. Full directory name could be used too.
2017-07-30 10:50:41 -06:00
FusionPBX b8a38bc70b Update app_config.php 2017-07-27 17:31:05 -06:00
FusionPBX ba80222491 Update extension_edit.php 2017-07-05 10:26:45 -06:00
FusionPBX 479fff805e Update app_defaults.php 2017-06-17 14:02:19 -06:00
FusionPBX 36d3ebc4af Change directory full name to first and last name. 2017-06-17 11:37:22 -06:00
FusionPBX e631e6a8f9 Update app_config.php 2017-06-17 11:35:52 -06:00
Mafoo f394915125 Enhance - translation missing tags (#2680)
add tags missing in some app_languages
2017-06-12 22:13:06 -07:00
Mafoo 3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
Mafoo f0feb25016 Enhance - Convert more messages (#2646)
convert more messages to messages class
skipped dashboard messages due to them relying on $_SESSION['message']
to know if there has already been a change
2017-06-08 09:39:04 -06:00
Mafoo 301cce369b Enhance - language update (#2639)
removed some unused tags
corrected some typos in tag names e.g. 'ckeck and check'
combined tags that had two names
inserted missing tags in sip_status
2017-06-04 09:50:58 -06:00
Mafoo 159f1b3c5a Enhance - app_config.php comment cleanup (#2636)
Correct a few missed tab indents on comments
2017-06-03 12:36:08 -06:00
Mafoo 34475f922c remove schema translations (#2638)
the schema should not have any translations on it as they are present
for reference only.
This removes the extra descriptions found and corrects some of the en to
en-us ones
2017-06-03 12:34:19 -06:00
FusionPBX 222a681ec4 Update app_config.php 2017-06-03 09:37:28 -06:00
Mafoo b98f9cb120 Enhance - app_config.php cleanup for apps (#2633)
make spacing and layout consistent
add all missing language tags
fill missing en-us descriptions
convert to $x$y$z usage for array filling
add a default version number
this is a by hand update
2017-06-03 09:00:20 -06:00
Mafoo 8709d01fb0 BugFix [master] language update (#2628)
Imported Found language ro as ro-ro Romanian (tested by reverse translation)
Add placeholders for all found languages
Add new missing flags
Enhancements to text class
* improved sort to keep language-* tags organized at the top
* if a language is missing a name tag, add it
* changed organizer to not add a final \n
* corrected some indenting
* added detect_all_languages that attempts to find any languages that haven't been defined in resources/app_languages.php
* added language_totals, this is used by the optional languages application to calculate how complete a language is
2017-06-02 13:24:12 -06:00
Mafoo 4ae8b418d4 BugFix [master] - Convert all menus to 2-2 format (#2627)
convert all app_menu.php files to have all placeholders and languages and use 2-2 format for languages
update app_defaults to convert any items found using legacy values in user_setings, domain_settings and default_settings
2017-06-02 12:17:50 -06:00
Kristian Karlsson 22c317eb2f BugFix [master] - Update languages (#2621)
Update for the Swedish language translation.
2017-06-02 08:39:34 -06:00
Mafoo 8561f4ec48 BugFix [master] outbound_caller_id_select cache issue (#2602)
retrieve the correct items to feed to cache->delete
2017-05-26 09:18:21 -06:00
Mafoo 01563ff267 BugFix - Convert all languages to 2-2 digit (#2590)
Some applications were missed due to permissions issue on the server performing the update, this update corrects the missing changes
ordering in xml_cdr was done manually in a previous PR, this corrects the ordering and incorrect description-pdd and description-mos for nl-nl
2017-05-19 11:50:44 -06:00
FusionPBX 7f99ccdc38 Update app_config.php 2017-04-29 23:39:20 -06:00
FusionPBX 7964663eec Update extension_dashboard.php
Finish up the Caller ID dashboard.php.
2017-04-27 18:05:28 -06:00
FusionPBX 03229b89c8 Update app_languages.php 2017-04-27 16:59:37 -06:00
FusionPBX 4c009e83ca Update extension_dashboard.php 2017-04-27 16:56:22 -06:00
The-Operator d05ace4995 Updates to German and Austrian translations (#2549)
Updates and error corrections
2017-04-27 15:19:36 -06:00
The-Operator 32c1522cbb Add/Update German and Austrian translations (#2542)
Updated remaining app_languages.php files and all app_config.php and app_menu.php files where necessary.
2017-04-26 23:41:55 -06:00
Vladimir 30055465b7 Adding ru-ru locales (#2530)
* Translation of the menu (sent by Victor Kraft)

* ACL translate

* Backup translated

* App Fax translated (sent by Victor Kraft)

* App Adminer trnslated

* Resources translated (sent by Victor Kraft)

* App SIP Profiles translated

* ru-ru

* Call Block added

* ru-ru

* Update app_menu.php

* voicemails/app_languages.php locales ru-ru

voicemails/app_languages.php locales ru-ru

* app/vars/app_languages.php locales ru-ru

app/vars/app_languages.php locales ru-ru

* core: apps, authentication, databases, default_settings translate

* app/traffic_graph/app_languages.php adding locales ru-ru

app/traffic_graph/app_languages.php adding locales ru-ru

* app/time_conditions/app_languages.php adding locales ru-ru

app/time_conditions/app_languages.php adding locales ru-ru

* /app/system/app_languages.php adding locales ru-ru

/app/system/app_languages.php adding locales ru-ru

* /app/sip_status/app_languages.php adding locales ru-ru

* /app/settings/app_languages.php adding locales ru-ru

* /app/services/app_languages.php adding locales ru-ru

* /app/ring_groups/app_languages.php adding locales ru-ru

* /app/registrations/app_languages.php adding locales ru-ru

* /app/recordings/app_languages.php adding locales ru-ru

* /app/provision/app_menu.php adding locales ru-ru

* /app/pin_numbers/app_languages.php adding locales ru-ru

* Update app_languages.php

* /app/phrases/app_languages.php adding locales ru-ru

* /app/operator_panel/app_languages.php adding locales ru-ru

* core/groups translated

* /app/music_on_hold/app_languages.php adding locales ru-ru

* core/install translated

* core/menu translated

* /app/modules/app_languages.php adding locales ru-ru

* /app/meetings/app_menu.php adding locales ru-ru

* /app/log_viewer/app_languages.php adding locales ru-ru

* /app/ivr_menus/app_languages.php adding locales ru-ru

* /app/gateways/app_languages.php  adding locales ru-ru

* /app/fifo_list/app_languages.php adding locales ru-ru

* core/notifications translated

* /app/fifo/app_languages.php adding locales ru-ru

* core/upgrade translated

* Update app_config.php

* core/user_settings translated

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* core/users translated

* call_block translate fix

* Call Broadcast added

* call_block выклюено fix

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* themes translated

* /app/extensions/app_languages.php for locale ru-ru

* /app/exec/app_languages.php add locale ru-ru

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_menu.php

* add locales ru-ru /core/install/app_menu.php

* /app/emails/app_languages.php add locales ru-ru

* /app/edit/app_languages.php add locales ru-ru

* /app/dialplan_outbound/app_languages.php add lacales ru-ru

* app/devices translated

* /app/dialplan_inbound/app_languages.php add locales ru-ru

* call_center_active + call_centers

* /app/dialplan/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/database_transactions/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php addlocales ru-ru

* Update app_languages.php

* Update app_languages.php

* /app/contacts/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* /app/conference_profiles/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* app/calls_active translated

* app/click_to_call translated

* app/calls_active label-opt fix transtation

* translated

* translated

* translate

* /app/voicemails/app_config.php addlocales ru-ru

* /app/voicemail_greetings/app_config.php add locales ru-ru

* /app/vars/app_config.php add locales ru-ru

* /app/traffic_graph/app_config.php add locales ru-ru

* /app/tones/app_config.php add locales ru-ru

* /app/time_conditions/app_config.php add locales ru-ru

* /app/tftp/app_config.php add locales ru-ru

* /app/system/app_config.php add locales ru-ru

* /app/sip_status/app_config.php addlocales ru-ru

* app/devices translated ru-ru

* app/devices translated ru-ru

* /core/menu/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* /app/voicemails/app_languages.php add locales ru-ru

* /app/conference_centers/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/ivr_menus/app_languages.php add locales ru-ru

* /app/xml_cdr/app_languages.php add locales ru-ru

* /resources/app_languages.php add locales ru-ru

* /app/conference_centers/app_languages.php add locales ru-ru

* call_flows

* /app/call_broadcast/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* By now

* calls

* /app/call_flows/app_languages.php add locales ru-ru

* /app/system/app_languages.php add locales ru-ru

* /app/exec/app_languages.php add locales ru-ru

* /app/vars/app_menu.php add locales ru-ru

* /app/backup/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/calls/app_languages.php add locales ru-ru

* /app/call_centers/app_languages.php add locales ru-ru

* /app/call_broadcast/app_languages.php add locales ru-ru

* app/fax fix translate label-fax_send_channels

* /app/extensions/app_languages.php add locales ru-ru

* /app/xml_cdr/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php add locales ru-ru

* Fix default language select

* /app/contacts/app_languages.php add locales ru-ru

* Fix translations in app edit, extensions, fifo, gateways, music_on_hold, services, time_conditions, xml_cdr

* Replaced "звонки" to "вызовы" and fix sorting in menu for "Конференции"

* More replace "звонк"

* Fix translate

* app/xml_cdr replace translate for label-start_range, label-end_range

* app/xml_cdr replace translate label-destination, description_search and description-4

* Corrections

* Repalce "Порядковый номер" to "Приоритет"

* app/operator_panel replace translation label-call_group
2017-04-24 16:37:00 -06:00
FusionPBX aed89a5000 Update extension_dashboard.php
Make the outbound caller id select work better.
2017-04-21 06:55:44 -06:00
FusionPBX 6f41869fc9 Add caller id select to the extension dashboard. 2017-04-21 06:26:34 -06:00
FusionPBX e4f73f09cf Create extension_dashboard.php 2017-04-19 20:40:42 -06:00
FusionPBX 8eb2a1cc0f Update app_config.php
Add extension_caller_id permission.
2017-04-19 20:39:35 -06:00
FusionPBX 15c4cb8f04 Update app_languages.php
Add label-caller_id_number to app/extensions
2017-04-19 15:18:19 -06:00
Alexey Melnichuk bbe117cd0e Fix. Create needed number of extensions (#2509) 2017-04-14 04:09:11 -06:00
Alexey Melnichuk 11510645a0 Fix. Add extension with non numeric extension number. (#2508) 2017-04-14 02:12:24 -06:00
The-Operator 7ff174075a Add/Update German and Austrian translations (#2483)
Updates to the following apps:
call_broadcast
call_flows
devices
dialplan_inbound
dialplan_outbound
edit
emails
exec
extensions
fax
fifo
fifo_list
gateways
ivr_menus
2017-04-08 09:35:29 -06:00
FusionPBX 86fa73a5e5 Update extension_edit.php 2017-03-27 15:05:41 -06:00
FusionPBX 9ad5dc58e1 Update app_config.php 2017-03-27 15:01:02 -06:00
FusionPBX af5e2ea9dd Update extension_edit.php 2017-03-27 14:49:55 -06:00
konradSC 4c2eb26f72 Voicemail tutorial (#2451)
* Update macro.lua

Add additional macros for the tutorial.

* Create tutorial.lua

* Update index.lua

* Update record_greeting.lua

Add menu variable to route back to appropriate place in the flow.

* Update record_menu.lua

Add menu variable to accommodate the tutorial.

* Update change_password.lua

Add menu variable to accommodate the tutorial.

* Update record_name.lua

Add menu variable to accommodate the tutorial.

* Update voicemail_edit.php

Add option to play tutorial on next login.

* Update app_languages.php

* Update app_config.php

Add voicemail_tutorial to database.

* Update extension_edit.php

Set "voicemail_tutorial" to true for new extensions.
2017-03-24 23:06:16 -06:00
FusionPBX 3b3bec94c0 Update app_config.php 2017-03-17 11:28:48 -06:00
Dean Montgomery 6587065b95 Fix disappearing voicemail_description. (#2394)
Editing an extension causes the voicemail_description filed to disappear in v_voicemails.
* Preserves voicemail_description if present in v_voicemails table.
* Creates voicemail_description if empty in v_voicemails.
2017-03-08 16:30:31 -07:00
drenda cbdedf285e Added italian translation (#2399)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian language

* added italian translation

* added italian translation

* added italian language

* fixed error in copy button

* added italian translation

* added italian translation

* partial italian translation

* added partial italian translation

* added italian translation

* added italian translation

* Update app_languages.php
2017-02-24 21:42:58 -07:00
drenda eeb20db3a1 Added italian translation (#2391)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian language

* added italian translation

* added italian translation

* added italian language

* fixed error in copy button

* added italian translation

* added italian translation

* partial italian translation
2017-02-22 21:31:40 -07:00
FusionPBX 037eb4e7e5 Update app_config.php 2017-02-15 22:34:43 -07:00
konradSC 74263c3bab Update extension_delete.php (#2314)
Delete the extension settings from v_follow_me and v_follow_me_destinations.
2017-01-19 12:57:58 -07:00
FusionPBX bbf32464ad Update extension_edit.php 2017-01-05 02:29:43 -07:00
Alexey Melnichuk faf90fe297 Fix. Remove unused code. (#2233) 2016-12-07 23:46:47 -07:00
FusionPBX e684cfceaa Update extension_edit.php
Fix an extension edit permission problem.
2016-12-06 10:29:44 -07:00
FusionPBX 09ec7b1a65 Update extension_edit.php 2016-12-02 17:25:51 -07:00
FusionPBX c882b08abf Update extension_copy.php
Change the duplicate message from green to red.
2016-11-29 12:08:11 -07:00
FusionPBX 89f68e73ff Update extension_copy.php 2016-11-29 11:56:05 -07:00
FusionPBX 72cdefba59 Update extension.php 2016-11-29 11:51:33 -07:00
FusionPBX fe49484055 Update extension.php
Improve the extension->exists method.
2016-11-29 11:38:00 -07:00
FusionPBX f65903e75e Update extension.php
Update the function exists method.
2016-11-29 11:04:00 -07:00
FusionPBX 5fa05c2bbf Update extension_edit.php
Prevent a SQL error when adding a new user.
2016-11-24 12:21:55 -07:00
FusionPBX 9cac833ee3 Update extension.php
Remove the extra exists method added a few hours ago.
2016-11-24 11:03:13 -07:00
FusionPBX da5c667202 Update extension_edit.php
Use check_str on extension edit when building the sql queries. In the future will switch to PHP PDO prepared statements with parameters. This change fixes a problem where the check_str is used twice and duplicating the single quote.
2016-11-24 03:21:35 -07:00
jebsolutions 9626f23072 prevent cloning duplicate extensions (master #1821) (#2033)
* prevent cloning duplicate extensions

app/extensions/app_languages.php
+ add duplicate extension error prompt

app/extensions/extension_copy.php
+ add check to see if duplicate extension exists

app/extensions/resources/classes/extension.php
+ add function to check if extension exists

* fix typo

* Update app_languages.php

* Update extension_copy.php

* Update extension.php

* Update extension_copy.php

Use the global app_languages.php message-duplicate translation.

* Update extension_copy.php

* Update extension.php
2016-11-24 00:23:44 -07:00
Alexey Melnichuk abba829aae Add. Increment number-alias and MWI account number when generates multiple extensions. (#2078) 2016-11-17 11:46:25 -07:00
FusionPBX 5fe295a818 Update extension.php
Add exists method to the extension class.
2016-11-05 22:32:20 -06:00
FusionPBX bd7867ef5e Update extension_edit.php
Fix the link thanks KonradSC for reporting the problem.
2016-11-01 21:54:37 -06:00
FusionPBX c814250c54 Update app_config.php 2016-10-23 13:20:55 -06:00
FusionPBX d16d625eac Update extension_edit.php 2016-10-21 10:19:45 -06:00
FusionPBX ede281ce51 Update extension_edit.php 2016-10-18 09:16:33 -06:00
FusionPBX bd15a0a52d Update extension.php 2016-10-18 00:18:32 -06:00
FusionPBX 457007a773 Update extension_edit.php
Add accountcode to extensions.
2016-10-14 07:42:01 -06:00
FusionPBX 194fb8170f Update extension_edit.php
Update permissions for extension edit.
2016-10-09 10:32:49 -06:00
FusionPBX 0391693ade Update extension_edit.php 2016-10-05 18:24:53 -06:00
FusionPBX cb5228bd0f Update extension_delete.php 2016-10-05 09:34:57 -06:00
FusionPBX 6a511a4621 Update extension_edit.php 2016-10-04 23:55:02 -06:00
FusionPBX 763c797f62 Update app_languages.php 2016-10-04 21:50:24 -06:00
FusionPBX b16b9a6430 Use default settings voicemail password length. 2016-08-28 14:25:50 -06:00
FusionPBX 8c9d9926e1 Update extension_edit.php 2016-08-28 13:07:37 -06:00
FusionPBX 0d1ca7885d Update extension_edit.php
Update the voicemail password form input.
2016-08-28 12:58:19 -06:00
FusionPBX 9ddd8f81dc Update extension.php
Merged pull request 1607 manually.
2016-08-25 15:59:32 -06:00
Alexey Melnichuk 252f4db916 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 ee80056f07 Update extensions.php
Update the extensions header.
2016-08-04 20:05:56 -06:00
FusionPBX b7fafa2c50 Update extensions.php
Move extension registered before enabled and description which are always last.
2016-07-28 09:59:38 -06:00
FusionPBX de71fbdf7e 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 47e22e5f61 Update extensions.php
Change extension_show_registered to extension_registered.
2016-07-27 23:59:25 -06:00
Chris Black 1cca98951d 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 bd23c78670 Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
Mafoo 27dc84b3b8 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 2ca4d5d1d9 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 71525c26b0 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 86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
reliberate bf5f1223af Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
markjcrane b27b11fe40 Add a new permission number_alias. By default hide it to prevent confusing users. 2016-05-11 13:36:31 -06:00
markjcrane cbd78f0e74 Change extension permission defaults. 2016-05-11 13:03:06 -06:00
markjcrane 9e20f0a570 Update the record count for extensions list. 2016-05-07 18:06:36 -06:00
markjcrane 9d0eac2111 On the extensions page use is_array($extensions) instead of $num_rows 2016-05-07 17:37:24 -06:00
markjcrane 2378ace5a8 Change the method to detect if the array exists for extensions. 2016-05-07 17:27:27 -06:00
FusionPBX 3e33a7c15c Merge pull request #1562 from moteus/display_long_extensions
Fix. Display long extensions (>9 digits)
2016-04-29 09:25:46 -06:00
markjcrane 471da2bca0 Add (!class_exists('extension')) 2016-04-28 16:57:42 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Alexey Melnichuk a0c79a685a Fix. Display long extensions (>9 digits) 2016-04-28 14:37:58 +03:00
Harry G. Coin f02028629a 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 1f9ad42543 include omitted column name, partial fix to support mariadb 10.1. 2016-04-25 20:44:30 -05:00
Harry G. Coin bda6861f88 \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 8abe003a71 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 d73ea93a14 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 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