Commit Graph

3029 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
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
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
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
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
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
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
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
Len
51ce70e7e3 update cid_source 2017-06-07 14:13:26 -04: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
Len
d485c1f352 update cid_source 2017-06-07 14:03:36 -04:00
Len
8afd4b0c5f update cid_source 2017-06-07 13:59:59 -04:00
Len
49b1b8c669 update cid_source 2017-06-07 13:56:29 -04:00
Len
33b8ff4e87 update cid_source 2017-06-07 13:53:29 -04:00
Len
237a4be1bc update cid_source 2017-06-07 13:50:09 -04:00
Len
32785c188e update cid_source 2017-06-07 13:39:58 -04:00
Len
1f07a10031 update cid_source 2017-06-07 13:36:48 -04:00
Len
8d9e26b909 update cid_source 2017-06-07 13:30:12 -04:00
Len
8bd3d95485 update cid_source 2017-06-07 13:27:34 -04:00
Len
1737c04bbf update cid_source 2017-06-07 13:25:10 -04:00
Len
26a709332f Update {$mac}.cfg 2017-06-07 13:22:25 -04:00
Len
82e228813d Update cid_source 2017-06-07 13:19:58 -04:00
Len
552cd29443 Update {$mac}.cfg
Update cid_source
2017-06-07 13:14:56 -04:00
FusionPBX
16a0797900 Update 2017-06-06 23:01:46 -06:00
FusionPBX
7e6d4d3c50 Update listen_to_recording.lua 2017-06-06 21:16:55 -06:00
FusionPBX
8403a806cc Update index.lua 2017-06-06 21:16:47 -06:00
FusionPBX
9ea2adba59 Update on_dtmf.lua 2017-06-06 20:45:32 -06:00
Len
47b01e8b61 Merge branch 'master' into patch-1 2017-06-06 02:02:04 -04:00