Commit Graph

1878 Commits

Author SHA1 Message Date
markjcrane
4ac03a8d1a Add a missing permission on backup. 2016-04-04 19:51:22 -06:00
markjcrane
68c2e315ba Update the yealink timezone settings. 2016-04-04 19:50:05 -06:00
markjcrane
cbe4a7e763 Fix the changes to the Cisco SPA templates. 2016-04-04 12:18:04 -06:00
markjcrane
8edbc9d774 Build the apps array so that the groups class defaults method can use it for the group permissions. 2016-04-03 13:18:45 -06:00
markjcrane
f3a0a8b153 Add a default group check. 2016-04-03 11:54:09 -06:00
markjcrane
c5d295ef2a Add users and groups php class. 2016-04-03 11:47:06 -06:00
markjcrane
fb9a02376e Prevent switch duplicates. 2016-04-02 20:28:45 -06:00
markjcrane
7aeeda0e15 Rename to the switch_settings class. 2016-04-02 20:11:51 -06:00
markjcrane
a638d86619 Set some of the switch directories to enabled false. 2016-04-02 19:57:37 -06:00
markjcrane
0c6e29632f Add a missing semi-colon. 2016-04-02 19:42:18 -06:00
markjcrane
1200161b81 Update the database connection. 2016-04-02 19:41:16 -06:00
markjcrane
ebee007ab8 Change the switch class to freeswitch. 2016-04-02 19:37:37 -06:00
markjcrane
bcc993c537 Rename the EventSocket file to math current naming standard. 2016-04-02 19:24:32 -06:00
markjcrane
7d61371bc9 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane
52ff8fae68 Fix a syntax problem on the new class. 2016-04-02 19:13:49 -06:00
markjcrane
d9e00f2be3 Add a new switch class with a method to get the directories needed for FreeSWITCH and add them to default settings -> switch category. 2016-04-02 17:53:51 -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
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
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
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
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
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
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
5f5ae59c41 Remove the the condition on the direct dial. 2016-03-29 20:57:47 -06: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
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
cd7843b7f3 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
markjcrane
0e73d0d3dc Rollback changes to is_local.lua determined that switching to regex would lower perfomance adding an 'or' with a search for prefix would perform better. 2016-03-27 20:44:14 -06:00
markjcrane
abef8c5d3c A global domain is optional. Using public context instead. 2016-03-27 04:46:01 -06:00
FusionPBX
b03d978bb0 Merge pull request #1512 from schraegervogel/master
initialize call_context
2016-03-27 04:25:22 -06:00
markjcrane
ac36bf07f7 Only call the scripts class if its installed. 2016-03-27 00:33:19 -06:00
markjcrane
812f41b48e Add the menu_default method to app_defaults.php. 2016-03-26 22:59:00 -06:00
markjcrane
c7e90ebd26 Change the method name to menu_default. 2016-03-26 21:22:52 -06:00
markjcrane
f7aa8725e8 Add methoed 'default' to the menu class. 2016-03-26 21:18:02 -06:00
markjcrane
2a565e9f98 Remove the include to the resources/menu.php file that is no longer in use. 2016-03-26 19:37:42 -06:00
markjcrane
651f9806fb Update the install.php. 2016-03-26 19:17:33 -06:00
markjcrane
100932656a Fix the reference to the prepared statement. 2016-03-26 14:03:44 -06:00
markjcrane
ac4aef20b0 Change the code in the menu to return immediately if the database object is not ready in this case its not ready until the install.php is finished. 2016-03-26 13:36:00 -06:00
markjcrane
5eef464cf3 Additional work to improve the install, template and the menu. 2016-03-26 12:22:15 -06:00
markjcrane
aa89c4fe26 Don't error if the menu is not available for the install.php. 2016-03-26 11:45:57 -06:00
reliberate
7fa8226f8d Added (Really!): Moment.js - used by jQuery DateTimePicker plugin. 2016-03-25 16:52:07 -06:00