Commit Graph

3050 Commits

Author SHA1 Message Date
FusionPBX
5bc8691dfb Use null instead of an empty string for user_uuid when not available. 2017-06-11 08:48:18 -06:00
FusionPBX
3a0db01a92 Create menu_messages.lua 2017-06-10 23:53:12 -06:00
FusionPBX
d9a4a8344a Create menu_messages.lua 2017-06-10 23:06:29 -06:00
FusionPBX
1342888163 Create index.lua 2017-06-10 23:03:22 -06:00
FusionPBX
8ca0847900 Create record_message.lua 2017-06-10 22:57:51 -06:00
FusionPBX
fbbd57f8c2 Create index.lua 2017-06-10 22:50:40 -06:00
Len
8e3aa2d18e Create y000000000052.cfg 2017-06-11 00:08:24 -04:00
Len
3aae62f29d Update y000000000044.cfg 2017-06-11 00:05:55 -04:00
Len
1d08d23a00 Create y000000000044.cfg 2017-06-11 00:01:19 -04:00
Len
af92ae43e4 Update y000000000069.cfg 2017-06-10 23:56:26 -04:00
Len
325f06fa74 Create y000000000045.cfg 2017-06-10 23:52:44 -04:00
Len
3ece83a933 Update y000000000046.cfg 2017-06-10 23:49:00 -04:00
Len
913a86f1c3 Update y000000000036.cfg 2017-06-10 23:43:54 -04:00
Len
cf6282ebc3 Create y000000000068.cfg 2017-06-10 23:40:07 -04:00
Len
3b5f1fd0bb Update y000000000029.cfg 2017-06-10 23:37:06 -04:00
Len
8d4e34ebd4 Update y000000000028.cfg 2017-06-10 23:28:56 -04:00
Len
4cb3e1f4d2 Update y000000000035.cfg 2017-06-10 23:24:28 -04:00
Len
64d4507f98 Update y000000000051.cfg 2017-06-10 23:22:27 -04:00
Len
62836d26bf Update y000000000066.cfg 2017-06-10 23:14:37 -04:00
Len
0bcf1b0e25 Update y000000000065.cfg 2017-06-10 23:12:51 -04:00
Mafoo
ba9b0ade53 BugFix - messages class (#2674)
missed the self class reference when adding a legacy message
2017-06-10 16:12:05 -06:00
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
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
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
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
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
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
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
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