Commit Graph

5301 Commits

Author SHA1 Message Date
markjcrane b9b08218ef Comment out unset autocomplete for the moment. 2015-09-22 18:35:20 -06:00
Alexey Melnichuk 279f194b39 Fix. Intercept enterprise ring group.
With enterprise call each outbound channel has its own call_uuid.
But we have to use `intercept` for call_uuid of inbound channel.
2015-09-22 19:33:41 +04:00
FusionPBX 6164fad765 Merge pull request #1161 from moteus/cdr_detail_showall
Fix. Show CDR details when set `showall`
2015-09-21 09:13:43 -06:00
markjcrane 4107bd0826 Another case where automcomplete bombs. Accounts -> Extensions password is used for registration not for a login. In FusionPBX if the password is left empty it would automatically create a new password. However auto complete instead puts in the login password this is an undesirable bug that this update fixes by adding a honey pot for the password. 2015-09-19 18:19:23 -06:00
markjcrane e24e62e6f1 Fix the removal of the autocomplete field. 2015-09-19 18:13:15 -06:00
markjcrane 584887441d Adding autocomplete="off" back in case browser developers realize there are legitimate reasons to use it. 2015-09-19 18:02:31 -06:00
markjcrane 315f38d671 Another situation where autocomplete=off prevented a bug. Provisioning a devcie by adding sip registration information for device provisioning in this case autocomplete always fills in incorrect information. 2015-09-19 17:59:07 -06:00
markjcrane fb7a8923ef Another case where autocomplete creates a problem. New user account creation does not benefit from autocomplete. It assumes the user is the currently logged in user which is not what you want on a form to add new users. This code adds an autocomplete honey pot to defeat the browser developers poor assumption. 2015-09-19 17:51:16 -06:00
markjcrane 88eed0c35b Browser developers disabled autocomplete in most browser. A move that makes an assumption that autocomplete is always good. In this particular case it creates a bug. There are a few legitimate reasons to disable autocomplete. In this case I'm disabling it as we are only updating the password when its provided by the user. In this case the user may be and administrator changing a user a password in this case autocomplete would offer the wrong password. Another case have two password fields that must match if both passwords are empty then the passwords are not updated allowing for other user settings to be updated. 2015-09-19 17:42:02 -06:00
Alexey Melnichuk 9f96c9f6a3 Fix. Show CDR details when set `showall` 2015-09-18 12:04:52 +04:00
markjcrane 9debc5a617 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-15 21:53:39 -06:00
markjcrane a7915f6dd9 Remove the is_numeric on format_phone. 2015-09-15 21:53:14 -06:00
FusionPBX 0b77b33d9a Merge pull request #1155 from moteus/cache_delete
Fix. `cache.del` method.
2015-09-15 21:04:59 -06:00
markjcrane 9eba74f645 Get the channel variable in a way that will work with hangup. 2015-09-15 10:09:16 -06:00
markjcrane bd1551a369 Add multi-lingual support to the missed call emails. 2015-09-15 08:49:37 -06:00
Alexey Melnichuk 0c35f41e65 Fix. `cache.del` method.
Fix. cache.set returns boolean value.
Add. basic self_test
2015-09-15 18:02:46 +04:00
markjcrane 852353605e Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-14 19:08:27 -06:00
markjcrane a02fae42bc Fix the redirect for the ACL. 2015-09-14 19:08:06 -06:00
FusionPBX 36a7d342b0 Merge pull request #1146 from badcrc/master
Random ring groups
2015-09-14 10:38:18 -06:00
FusionPBX 5b95f27207 Merge pull request #1149 from moteus/cache_class
Add Log and Cache classes
2015-09-14 10:27:47 -06:00
markjcrane 5f7565b07c Email template add indentation to make it more readable. 2015-09-11 16:18:40 -06:00
markjcrane 802f212ea8 Hide the email body from the email log. 2015-09-11 15:20:31 -06:00
markjcrane 16e0ea7e8c Change the directory.lua xml parameter from sip_force_contact to sip-force-contact. 2015-09-11 14:04:38 -06:00
Alexey Melnichuk d146029f59 Fix. load `file_exists` function 2015-09-10 14:36:30 +04:00
Alexey Melnichuk 60b0f48228 Add. database class
```Lua
local Database = require "resources.functions.database"
local dbh = Database.new('system')

--get the domain_uuid
if (domain_uuid == nil) and (domain_name ~= nil) then
  local sql = "SELECT domain_uuid FROM v_domains "
  sql = sql .. "WHERE domain_name='" .. domain_name .. "';"
  domain_uuid = dbh:first_value(sql)
end

local dbh_switch = Database.new('switch') -- check also SQLite file.

local row = dbh_switch:first_row(sql)
if row then
  ...
end
```
2015-09-10 14:29:13 +04:00
markjcrane 5115f74c32 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-09 10:02:43 -06:00
markjcrane 2fe5029223 This will hide outbound route toll allow lua from those wihtout the outbound_route_toll_allow_lua permission. This feature works only for countries that are hard coded in the toll allow code. So at this time preferred method of toll allow is via the dialplan. 2015-09-09 10:01:00 -06:00
markjcrane 4a21d7a19d Remove a space and replace with a tab. 2015-09-09 09:43:00 -06:00
FusionPBX d773036377 Merge pull request #1150 from moteus/save_disabled_forwadd_number
Fix. Allow change Call Forward number without enable it.
2015-09-09 09:32:22 -06:00
Alexey Melnichuk 59823f97dc Fix. Not found is treat as success for delete operation. 2015-09-09 16:52:52 +04:00
Alexey Melnichuk cc73ae68c9 Fix. Allow change Call Forward number without enable it. 2015-09-09 16:26:41 +04:00
Alexey Melnichuk 8c2ea6e093 Add. Basic log class. 2015-09-09 10:45:49 +04:00
Alexey Melnichuk 029b806006 Add. Basic cache class
Fix. When memcache stopped and mod_memcache loaded dialplan did not build from DB.
2015-09-09 10:22:14 +04:00
markjcrane ec0479712c Change DND from loopback/*99[ext] to error/user_busy. 2015-09-08 14:38:46 -06:00
markjcrane 946012d023 Fix DND use error/user_busy instead of loopback/*99[extension] 2015-09-08 14:12:01 -06:00
markjcrane fd2c1d3fd0 Update the domain code separate the domain code from the presentation. 2015-09-07 23:14:39 -06:00
markjcrane 4043d1c48b Remove v_conference_center_users as v_meeting_users was used instead. 2015-09-07 14:52:15 -06:00
koldoa c52fd6c013 This should add better compatibility for more database backends 2015-09-07 12:51:12 +02:00
koldoa a737d217b6 Better code for ring groups 2015-09-07 11:48:10 +02:00
koldoa 99e66d5bfc This should fix some of the group permissions issues from issue #1065 2015-09-07 10:47:57 +02:00
koldoa 05cdf54596 Script for enterling/leaving a ring group, based on the fifo code 2015-09-07 08:51:22 +02:00
koldoa 2d309ef708 Merge branch 'master' of https://github.com/badcrc/fusionpbx 2015-09-07 08:34:12 +02:00
koldoa 5eeb5081e9 Detection of SQL backend for random functions 2015-09-07 08:33:34 +02:00
koldoa 15f3cd5514 Translation typo 2015-09-07 08:33:34 +02:00
koldoa 7a65bf2148 Random strategy for ring groups 2015-09-07 08:33:34 +02:00
markjcrane 672f2dffaf This last change will enable do not disturb to update the user status which will then show in the operator panel. 2015-09-05 11:26:13 -06:00
markjcrane cbb8be7279 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-05 10:42:43 -06:00
markjcrane 337dc7c822 Fix the sql in the do_not_disturb.lua. 2015-09-05 10:42:22 -06:00
FusionPBX 50509e81de Merge pull request #1145 from Len-PGH/patch-1
Update README.md
2015-09-05 10:19:34 -06:00
markjcrane 29ac20c1be When *78 or *79 are used for DND update the user status and agent status. 2015-09-05 10:05:43 -06:00