summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-pbx/luasrc/model
AgeCommit message (Collapse)Author
2011-11-071) Added handling for no provider accounts configured (or enabled for ↵Iordan Iordanov
incoming/outgoing calls), and no users configured (or enabled for outgoing calls). 2) Rewrote code to be more efficient by gathering all information about providers and users in one pass at the start, and then using dictionaries with the data stored in them to build the sections. 3) Added translate() statements for default messages displayed (like "Dials all numbers"). 4) Rewrote default messages for the "Incoming Calls" and "Providers Used for Outgoing Calls" sections to be more descriptive.
2011-11-06Worked out a better (proof of concept) solution to the warning mechanism ↵Iordan Iordanov
when no Google/SIP accounts are configured or not configured for outgoing calls.
2011-11-06Added a proof of concept of how a warning about no accounts having been ↵Iordan Iordanov
configured can look.
2011-11-051) Made spacing with \ syntax consistent across the board.Iordan Iordanov
2011-11-051) Massive whitespace reorganization (untabified, and made consistent ↵Iordan Iordanov
everything). 2) Dropped some currently unneeded, commented-out, code from pbx-users.lua.
2011-11-051) Got rid of mysplit and replaced where it was called with ↵Iordan Iordanov
luci.util.split(luci.util.trim(...), ...) calls.
2011-11-051) Replaced trim with luci.util.trim in pbx-calls.luaIordan Iordanov
2) Slight code cleanup in pbx.lua
2011-11-01Many improvements to pbx-calls.lua:Iordan Iordanov
1) Now trimming whitespace from all input before checking validity (of extensions, users, providers). 2) Now building valid outdoing providers and valid users array while rendering page since we're going through all providers and users anyway to display the page (saves cycles). 3) Now not displaying internal naming scheme of providers to users, but what they expect (us#erin%fo@host.org). Before we used to show us_erin_fo@host_org, and it was ugly and needed explanations. 4) Got rid of some no-longer-needed functions due to improvements mentioned in (2). 5)
2011-10-311) Rewrote the function which formats output at specified indices to work ↵Iordan Iordanov
with an variable number of indices. 2) Reformatted the help text a bit.
2011-10-311) Made pbx-asterisk executable.Iordan Iordanov
2) Removed a few unused templates. 3) Removed old firewall rule-creation routine from pbx-asterisk. 4) Updated text on main page.
2011-10-28This is the initial release of luci-pbx as submitted to the mailing list.Iordan Iordanov