Commit Graph

8894 Commits

Author SHA1 Message Date
FusionPBX db20220eef Create text.php
Switch require back to include what it was originally as it breaks too many things with little benefits.
2017-06-10 09:42:54 -06:00
Mafoo aaaff6e3f7 BugFix - check_auth (#2672)
the update to check_auth to enable text i made a mistake and put the
wrong parameter into get. this corrects that
2017-06-10 09:22:24 -06:00
Mafoo ed48da536c Enhance text class (#2670)
make the get routine a little more rugged by checking if the file exists not the directory it is in.
throw a exception if we are asked to load a app_languages that doesn't exist
don't reload the resources/app_languages if exclude_global was ommitted
code styling update to match project
2017-06-10 09:14:58 -06:00
Mafoo 8a2afdcdd0 Enhance - remove statsh/pop from messages class (#2671)
statsh/pop was present to work around a bad implementation in loginphp.
This removes the now redundant code.
2017-06-10 08:59:21 -06:00
FusionPBX 71b217dff2 Update login.php 2017-06-10 08:47:44 -06:00
FusionPBX 6e2b0f6dab Create logout.php 2017-06-10 08:45:41 -06:00
FusionPBX 812d97155a Create login.php 2017-06-10 08:43:59 -06:00
Mafoo bf3faaa051 Enhance - add message stash/pop (#2660)
add new methods to messages class to let it take care of stash and pop of the messages
update login.php to use new methods
tweak html function to put the $_SESSION['message'] in the stack so there is only one code point to maintain for rendering
2017-06-09 22:15:18 -06:00
Mafoo 9ecba1d010 Enhance [master] - update check_auth to use $text (#2661)
* Enhance - update check_auth to use $text

convert to messages::add and utilize $text for invalid_credentials

* Russian translations for check_auth
2017-06-09 22:13:51 -06: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 bc26ecf6ae Enhance - better reasons for 403 in orm class (#2659)
update return message when code 403 to also state the permission that failed
2017-06-09 20:03:22 -06:00
Mafoo 70cfac5876 remove debug lines in permissions (#2658)
because application defaults is now captured for output these debug
lines show up when used. This removes them
2017-06-09 13:32:31 -06:00
Mafoo b941879c91 BugFix - database class app_uuid (#2663)
if $database->app_uuid is not set it would use '' in some conditions
which isset would test true.
This fix uses strlen instead, but also fixes number_transations app that
highlighted the flaw
2017-06-09 13:31:50 -06:00
FusionPBX e308b17f45 Update external.xml.noload 2017-06-09 11:19:57 -06:00
FusionPBX 07cfb6391c Update internal-ipv6.xml.noload 2017-06-09 11:19:16 -06:00
FusionPBX c8acba483e Update internal.xml.noload 2017-06-09 11:18:42 -06:00
FusionPBX a222007792 Create call_forward.php 2017-06-09 10:27:32 -06:00
Dean Montgomery 66b849d946 Update Grandstream provisioning (#2652)
* Update Grandstream provisioning

* Add Vtech

* Create app_config.php

fix typo

* Update app_config.php

remove newline at end as it can break php

* Update app_config.php

remove newline at end as it can break php

* Create app_config.php

remove newline at end.

* Update app_config.php

remove trailing newline

* Create device_edit.php

Add both http and https

* Create app_config.php

remove newline

* Add gxp16xx and fix typos
2017-06-08 16:21:47 -06:00
Mafoo 137a282a1b Enhance - system_info (#2656)
display more information about the operating system
2017-06-08 12:44:15 -06:00
Mafoo ba5db22951 BugFix - app_languages.php - core/upgrade (#2655)
correct translation for message-upgrade_source
2017-06-08 12:09:08 -06:00
FusionPBX aa07512fe7 Create 320_vmain.xml 2017-06-08 11:05:53 -06:00
FusionPBX 2d72f1e970 Create 320_vmain.xml 2017-06-08 11:05:32 -06:00
The-Operator 1adf76951d Enhance vmail to support direct acces to a VM (#2654)
* Enhance vmail to support direct acces to a VM

Added the possibility to dial into a voicemail box directly by specifying the destination Vm in the dialstring., e.g. *981234 to access VM 1234. Usefull to access shared VM via function keys.

* Enhance vmail to support direct acces to a VM - Update

Add missing break="never" to first condition and added voicemail_authorized=false as suggested.

* Enhance vmail to support direct acces to a VM - Update
2017-06-08 11:04:14 -06:00
FusionPBX 726809b0f6 Create conference_edit.php 2017-06-08 10:54:48 -06:00
Alexey Melnichuk d093b37c22 Add. Statistics takes account to leg. (#2653)
Add. Leg field to advanced search form.
2017-06-08 09:45:27 -06:00
Alexey Melnichuk f939c82862 Add. Allow use `call_flow_subscribe.lua` with feature codes without `flow+` prefix. (#2609)
This commit allows create call flow extension with some feature code (e.g. `*401`)
Then on the phone you can configure BLF like `flow+*401` and use `call_flow_subscribe` to
track current status of this call flow. BLF like `*401` will also works but only if
use `call_flow_monitor` script.
Also it is possible dial `flow+*401` as well as `*401` to toggle call flow state.
2017-06-08 09:44:45 -06:00
Mafoo 32a6f76ed0 Enhance [master] provide $app_path during upgrade (#2573)
if a application is installed via a symlink PHP will resolve the symlink
for __DIR__ and __FILE__ making it impossible for an application to work
out it's relative path withing the fusion system.
By providing $app_path during upgrade routines an application will
beable to provide the correct link for menu items (e.g.
/opt/languages/index.php) instead of having to hard code it where it
could change depending on how the application was installed
2017-06-08 09:41:56 -06:00
Mafoo 914d26b145 BugFix - nway conference (#2644)
corrected xml
2017-06-08 09:40:18 -06:00
Mafoo bfe3ff173f Enhance - Display text on app_defaults (#2645)
enable display_type on domains (and therefore app_defaults)
capture the output of app_defaults
format if statements to project preference
use more generic label display for results reducing number of translations required
change upgrade.php to use the more consistent $display_type
2017-06-08 09:39:50 -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
Alexey Melnichuk 46f74ab726 Fix. Properly handle error from memcached when load configs. (#2641)
On my system mod_memcached returns `-ERR SOME ERRORS WERE REPORTED` when
memcached service not available. And sofia.conf.lua does not handle this case
and interpret this response as valid one.
Using `cache` class allows handle such errors. Also this class handle all
escaping operation which makes code more clear.
2017-06-08 09:38:28 -06:00
Alexey Melnichuk cfeb809900 Add. Use `cache` class in xml_handler/directory (#2647) 2017-06-08 09:37:30 -06:00
Mafoo 6b34a635ed NewApp [master] - number_translation (#2649)
* NewApp - number_translation

allows management of mod_translate profiles
automatically importing existing configuration on app_defaults where the configuration file is not marked as autogenerated.
import from separate files for presets

* Russian translations for number_translation

* German, Austrian and Swiss translations for number_translation
2017-06-08 09:35:36 -06:00
Len af89276cfb update cid_source 2017-06-07 15:04:34 -04:00
Len 5afcf57ecd update cid_source 2017-06-07 15:00:47 -04:00
Len ff5226bec4 update cid_source 2017-06-07 14:56:20 -04:00
Len ad7bdfe0a6 update cid_source 2017-06-07 14:53:00 -04:00
FusionPBX 771f81a568 System Status make the code more consistent. 2017-06-07 12:47:17 -06:00
Len a1f5913cba update cid_source 2017-06-07 14:42:42 -04:00
Len 96d780525f update cid_source 2017-06-07 14:35:00 -04:00
Len e24380179d update cid_source 2017-06-07 14:26:59 -04:00
Len 0b0ed7dee8 update cid_source 2017-06-07 14:23:49 -04:00
Len 9c48801db0 update cid_source 2017-06-07 14:20:42 -04:00
Len 569a9e3c79 update cid_source 2017-06-07 14:18:02 -04:00
FusionPBX 25c5a64ad6 Update calls_active_inc.php 2017-06-07 12:16:58 -06:00
Len 51ce70e7e3 update cid_source 2017-06-07 14:13:26 -04:00
FusionPBX af3f3ca69b Update calls_active_inc.php 2017-06-07 12:12:55 -06:00
FusionPBX 2f4e605cc4 Update calls_active_inc.php 2017-06-07 12:10:46 -06:00
Len d020c4fe9f update cid_source 2017-06-07 14:09:42 -04:00
Len df37fbd44c update cid_source 2017-06-07 14:06:38 -04:00