Commit Graph

5318 Commits

Author SHA1 Message Date
markjcrane
a7079e337c 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
ba83a0f99e 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
6e11352ff7 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
f8aa2ec207 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
1d4e62b2f5 Fix. Show CDR details when set showall 2015-09-18 12:04:52 +04:00
markjcrane
6010ade8d6 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-15 21:53:39 -06:00
markjcrane
aebea2c55d Remove the is_numeric on format_phone. 2015-09-15 21:53:14 -06:00
FusionPBX
a153cef9d8 Merge pull request #1155 from moteus/cache_delete
Fix. `cache.del` method.
2015-09-15 21:04:59 -06:00
markjcrane
cd0c777f6b Get the channel variable in a way that will work with hangup. 2015-09-15 10:09:16 -06:00
markjcrane
94749f105d Add multi-lingual support to the missed call emails. 2015-09-15 08:49:37 -06:00
Alexey Melnichuk
7191eae559 Fix. cache.del method.
Fix. cache.set returns boolean value.
Add. basic self_test
2015-09-15 18:02:46 +04:00
markjcrane
87e27dd905 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-14 19:08:27 -06:00
markjcrane
e0f9865d71 Fix the redirect for the ACL. 2015-09-14 19:08:06 -06:00
FusionPBX
82542c6ea6 Merge pull request #1146 from badcrc/master
Random ring groups
2015-09-14 10:38:18 -06:00
FusionPBX
9e0c8cffd9 Merge pull request #1149 from moteus/cache_class
Add Log and Cache classes
2015-09-14 10:27:47 -06:00
markjcrane
b3c53ae6f5 Email template add indentation to make it more readable. 2015-09-11 16:18:40 -06:00
markjcrane
b65d0b2053 Hide the email body from the email log. 2015-09-11 15:20:31 -06:00
markjcrane
c21657cc7f Change the directory.lua xml parameter from sip_force_contact to sip-force-contact. 2015-09-11 14:04:38 -06:00
Alexey Melnichuk
6304c470cf Fix. load file_exists function 2015-09-10 14:36:30 +04:00
Alexey Melnichuk
ebb61f955c 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
83e5fe35c0 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-09 10:02:43 -06:00
markjcrane
42229e0738 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
1319723eae Remove a space and replace with a tab. 2015-09-09 09:43:00 -06:00
FusionPBX
8c8e3ce3c3 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
dcc08a2265 Fix. Not found is treat as success for delete operation. 2015-09-09 16:52:52 +04:00
Alexey Melnichuk
8391e996f0 Fix. Allow change Call Forward number without enable it. 2015-09-09 16:26:41 +04:00
Alexey Melnichuk
528d04b942 Add. Basic log class. 2015-09-09 10:45:49 +04:00
Alexey Melnichuk
4cb99be806 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
0bf97e79bd Change DND from loopback/*99[ext] to error/user_busy. 2015-09-08 14:38:46 -06:00
markjcrane
bde805bd4c Fix DND use error/user_busy instead of loopback/*99[extension] 2015-09-08 14:12:01 -06:00
markjcrane
f9a7759a9f Update the domain code separate the domain code from the presentation. 2015-09-07 23:14:39 -06:00
markjcrane
b1746acb97 Remove v_conference_center_users as v_meeting_users was used instead. 2015-09-07 14:52:15 -06:00
koldoa
4bba1c1faf This should add better compatibility for more database backends 2015-09-07 12:51:12 +02:00
koldoa
b5e0708599 Better code for ring groups 2015-09-07 11:48:10 +02:00
koldoa
26459f7895 This should fix some of the group permissions issues from issue #1065 2015-09-07 10:47:57 +02:00
koldoa
319ee702ce Script for enterling/leaving a ring group, based on the fifo code 2015-09-07 08:51:22 +02:00
koldoa
ee8e5e668a Merge branch 'master' of https://github.com/badcrc/fusionpbx 2015-09-07 08:34:12 +02:00
koldoa
4799974811 Detection of SQL backend for random functions 2015-09-07 08:33:34 +02:00
koldoa
a4ab8ca633 Translation typo 2015-09-07 08:33:34 +02:00
koldoa
2047fa7859 Random strategy for ring groups 2015-09-07 08:33:34 +02:00
markjcrane
be564502df 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
5e1ea9fb7b Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-05 10:42:43 -06:00
markjcrane
84ee674f81 Fix the sql in the do_not_disturb.lua. 2015-09-05 10:42:22 -06:00
FusionPBX
f4c171f33c Merge pull request #1145 from Len-PGH/patch-1
Update README.md
2015-09-05 10:19:34 -06:00
markjcrane
06ed8f2998 When *78 or *79 are used for DND update the user status and agent status. 2015-09-05 10:05:43 -06:00
Len
ceafff2a9a Update README.md
Small edits made to Line 9 and 28
2015-09-05 11:49:42 -04:00
markjcrane
f8c2ea5b22 Make the destinations more consistent. 2015-09-04 23:23:15 -06:00
markjcrane
31d727cab5 Count the destinations. 2015-09-04 23:18:13 -06:00
markjcrane
b34f8baeb8 Add extension count. 2015-09-04 23:12:36 -06:00
markjcrane
4cfe899919 A few more minor adjustments. 2015-09-04 23:05:08 -06:00