Commit Graph

12280 Commits

Author SHA1 Message Date
FusionPBX
aa897aca47 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
d9d50df4fb 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
22392cdff2 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
01eebd6244 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
df8f7cf5f6 Update login.php 2017-06-10 08:47:44 -06:00
FusionPBX
5d59c9a574 Create logout.php 2017-06-10 08:45:41 -06:00
FusionPBX
69219cf4f0 Create login.php 2017-06-10 08:43:59 -06:00
Mafoo
5bfda43d16 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
0526819a01 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
9570ce1bf0 Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
Mafoo
4f4baf136b 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
37463204e4 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
9e8eb943e8 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
c0ea12daa5 Update external.xml.noload 2017-06-09 11:19:57 -06:00
FusionPBX
818e535848 Update internal-ipv6.xml.noload 2017-06-09 11:19:16 -06:00
FusionPBX
841e783576 Update internal.xml.noload 2017-06-09 11:18:42 -06:00
FusionPBX
72779123f1 Create call_forward.php 2017-06-09 10:27:32 -06:00
Dean Montgomery
88a155e4b3 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
ed95f1d5b5 Enhance - system_info (#2656)
display more information about the operating system
2017-06-08 12:44:15 -06:00
Mafoo
7df70cb6f3 BugFix - app_languages.php - core/upgrade (#2655)
correct translation for message-upgrade_source
2017-06-08 12:09:08 -06:00
FusionPBX
2650897ce7 Create 320_vmain.xml 2017-06-08 11:05:53 -06:00
FusionPBX
2002d0950d Create 320_vmain.xml 2017-06-08 11:05:32 -06:00
The-Operator
d7f2bc562a 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
0390f1ef64 Create conference_edit.php 2017-06-08 10:54:48 -06:00
Alexey Melnichuk
a83d52eba6 Add. Statistics takes account to leg. (#2653)
Add. Leg field to advanced search form.
2017-06-08 09:45:27 -06:00
Alexey Melnichuk
d43cb9e700 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
7015209e54 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
bcfab0fd83 BugFix - nway conference (#2644)
corrected xml
2017-06-08 09:40:18 -06:00
Mafoo
2c97ce1144 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
b7f4cba09c 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
76ab1cca6a 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
49ab82e657 Add. Use cache class in xml_handler/directory (#2647) 2017-06-08 09:37:30 -06:00
Mafoo
641b2c34df 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
a78a29b6e2 update cid_source 2017-06-07 15:04:34 -04:00
Len
777f004673 update cid_source 2017-06-07 15:00:47 -04:00
Len
364e068d90 update cid_source 2017-06-07 14:56:20 -04:00
Len
2dba6c9d65 update cid_source 2017-06-07 14:53:00 -04:00
FusionPBX
2611b79ba4 System Status make the code more consistent. 2017-06-07 12:47:17 -06:00
Len
6f49ff29ff update cid_source 2017-06-07 14:42:42 -04:00
Len
129c9c1ce0 update cid_source 2017-06-07 14:35:00 -04:00
Len
ed1aba2ee7 update cid_source 2017-06-07 14:26:59 -04:00
Len
3f58ea0ac6 update cid_source 2017-06-07 14:23:49 -04:00
Len
d6c9c35e7b update cid_source 2017-06-07 14:20:42 -04:00
Len
3d9b03d56f update cid_source 2017-06-07 14:18:02 -04:00
FusionPBX
b4b364b70d Update calls_active_inc.php 2017-06-07 12:16:58 -06:00
Len
5ba6fbecde update cid_source 2017-06-07 14:13:26 -04:00
FusionPBX
ef7724b4f9 Update calls_active_inc.php 2017-06-07 12:12:55 -06:00
FusionPBX
460569f9f3 Update calls_active_inc.php 2017-06-07 12:10:46 -06:00
Len
da6559d538 update cid_source 2017-06-07 14:09:42 -04:00
Len
b47e2ea931 update cid_source 2017-06-07 14:06:38 -04:00