Commit Graph

6382 Commits

Author SHA1 Message Date
markjcrane ea84e9f044 Fix the footer in one more location. 2016-04-02 14:26:29 -06:00
markjcrane 284c3e3a91 Translation setup for footer in the default theme. 2016-04-02 14:07:06 -06:00
markjcrane 11f4fea479 Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated. 2016-04-02 08:32:43 -06:00
markjcrane 827c9d5a50 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-02 08:23:18 -06:00
FusionPBX 933406c4f6 Merge pull request #1530 from moteus/install_new_db
Fix. Install with create new database for PgSQL/MySQL
2016-04-02 00:44:26 -06:00
FusionPBX cc4ef905a9 Merge pull request #1519 from moteus/install_config_lua
Fix. Generate same `config.lua` on install as on Upgrade.
2016-04-02 00:40:52 -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
markjcrane ddb1cbd705 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-01 13:37:30 -06:00
markjcrane 8f1a8667f4 Fix the cisco load or image on the 7940 and 7960 templates. 2016-04-01 13:37:22 -06:00
reliberate a390e41910 Dashboard: Minor visual adjustment on Voicemail block. 2016-03-31 18:13:16 -06: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
reliberate 2ca72bd99d Function: Created key_press function to dynamically generate key detection javascript.
Voicemail: Ctrl+A checks all checkboxes, pressing Delete deletes the checked Voicemails.
Editor: Integrated key_press function.
Command: Integrated key_press function.
2016-03-31 17:11:37 -06:00
markjcrane db122a3da6 Allow deleting system default groups. 2016-03-31 11:01:39 -06:00
reliberate c3ea9a0f16 Editor: Add Default Setting descriptions. 2016-03-31 10:50:31 -06:00
reliberate bca92cf8ca Editor: Create app_defaults to add related Default Settings. 2016-03-31 10:45:09 -06:00
reliberate b8814206b9 Dashboard: Enable relevant System Counts block for Admin. 2016-03-31 10:30:30 -06:00
reliberate 38e349a1e6 User Edit: Fix logic used on Enabled field. 2016-03-31 09:48:30 -06:00
FusionPBX b6775e44c5 Merge pull request #1521 from moteus/mysql_escape
Fix. use `mysqli_real_escape_string` instead or deprecated `mysql_real_escape_string`
2016-03-31 09:04:35 -06:00
reliberate ee100c6769 Default Settings: Enhance swatch display on color values. 2016-03-30 17:43:57 -06:00
reliberate a9db46254b Default Settings: Added ability to toggle the enabled state of checked settings. 2016-03-30 16:44:51 -06:00
reliberate 83f1a19abb Dashboard: Include settings in app_defaults to display Call Routing and Ring Group Forwarding controls for the users group. 2016-03-30 15:53:12 -06:00
reliberate 428bd04def Dashboard: Corrected app_defaults to create missing Dashboard entries in Default Settings. 2016-03-30 15:42:25 -06:00
reliberate 91b736ff2c Dashboard: Added settings to app_defaults to enable certain blocks in the dashboard by default. 2016-03-30 15:32:06 -06:00
reliberate 5ca3ffb981 Dashboard: Style tweaks. 2016-03-30 15:07:38 -06:00
reliberate 539489640b Dashboard: Integrate Settings to control theme/style of Dashboard elements. 2016-03-30 14:41:45 -06:00
FusionPBX 3276f13fa4 Merge pull request #1524 from moteus/extension_select_count
Fix. Display extension on MySQL.
2016-03-30 08:53:36 -06:00
FusionPBX 1e9837f77b Merge pull request #1527 from moteus/menu_array_default_arg
Fix. Use default value in function definition.
2016-03-30 08:49:29 -06:00
FusionPBX 28afa5ef35 Merge pull request #1528 from moteus/no_menu_warning
Fix. warning about using NULL as first argument in `foreach`.
2016-03-30 08:46:46 -06:00
FusionPBX 2786099d11 Merge pull request #1529 from moteus/select_language
Fix. Display language name on Install page.
2016-03-30 08:41:39 -06:00
Alexey Melnichuk 9657d3ef04 Fix. Install with create new database for PgSQL/MySQL
* MySQL/PgSQL ignore error while create new user because user may already exists.
* MySQL on database page use same checkbox like one for PgSQL
* MySQL/PgSQL if create user empty try use db user.(may be better use root/postgres without pass)
* PgSQL fix `GRANT ALL ON DATABASE dbname` instead of `GRANT ALL ON dbname`
* MySQL fix connect string build
* MySQL fix use correct password to connect
2016-03-30 15:05:25 +03:00
Alexey Melnichuk a24359d667 Fix. Display language name on Install page.
This is special case because all this names should be displayed
in same time on single page on different languages.
So not translate in strict way.
2016-03-30 10:27:04 +03:00
Alexey Melnichuk 43a023575a Fix. warning about using NULL as first argument in `foreach`.
Problem now in `tepmplate.php`
```PHP
$menu_array = $menu->menu_array();
...
foreach ($menu_array as $index_main => $menu_parent) {
```

It appear while install process because in this moment there not `$db`
and `$menu->menu_array()` returns nothing.

This problem also can be solved in `tepmplate.php` like
```PHP
if(is_array($menu_array)){
  foreach ($menu_array as $index_main => $menu_parent) {
...
```
2016-03-30 10:15:49 +03:00
reliberate cdc6aa691c SIP Profile Settings: Set paging at 200 records, add param. 2016-03-30 00:58:47 -06:00
Alexey Melnichuk ec95fc5f24 Fix. Use default value in function definition.
On `themes/default/template.php` it called without args
```PHP
$menu_array = $menu->menu_array();
```

And it produce PHP warning.
2016-03-30 09:39:15 +03:00
reliberate d307132b82 Functions: Added color adjustment and color format conversion functions. 2016-03-30 00:34:15 -06:00
markjcrane fa0f310d97 Change some IVR Menu defaults as 0 is unlimited and 1 continues to the exit on the first error. 2016-03-29 21:10:43 -06:00
markjcrane 5f5ae59c41 Remove the the condition on the direct dial. 2016-03-29 20:57:47 -06:00
reliberate e75da3f149 Dashboard: Rename dashboard setting for Call Routing visibility. 2016-03-29 16:41:24 -06:00
reliberate 6b0aa41872 Dashboard, Call Routing, Ring Groups language file fix. 2016-03-29 16:36:39 -06:00
reliberate 28084dc0ff Call Routing: More responsive layout, includes additional info in list view. 2016-03-29 16:28:17 -06:00
reliberate 414949e2a6 Ring Groups: Language file fixed. 2016-03-29 14:20:06 -06:00
reliberate ef755cf9da Theme: Minor CSS tweaks.
Ring Groups: Rework forwarding controls - integrate into Dashboard view and Ring Group edit page.
2016-03-29 14:15:01 -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
Alexey Melnichuk 7508828b16 Fix. use `mysqli_real_escape_string` instead or deprecated `mysql_real_escape_string`
From PHP.net
```
Warning
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0.
Instead, the MySQLi or PDO_MySQL extension should be used.
...
Alternatives to this function include:
 * mysqli_real_escape_string()
 * PDO::quote()
```
2016-03-29 16:34:36 +03:00
Alexey Melnichuk 26b376cad8 Fix. Generate same `config.lua` on install as on Upgrade. 2016-03-29 14:43:58 +03:00
markjcrane c00194127c Remove the cast on app/calls/calls.php to fix non-numeric extensions. 2016-03-29 03:49:41 -06: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
markjcrane 7df0324382 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-29 02:35:59 -06:00
markjcrane 2b1f01bd16 Add http authentication option to all Cisco SPA phones. 2016-03-29 02:35:33 -06:00
reliberate 264ce386a2 Theme: Fix for background-image not loading in some mobile browsers (Dolphin, Chrome on Android). 2016-03-28 23:46:51 -06:00