Commit graph

7 commits

Author SHA1 Message Date
Iordan Iordanov
5cd67479c3 1) Massive whitespace reorganization (untabified, and made consistent everything).
2) Dropped some currently unneeded, commented-out, code from pbx-users.lua.
2011-11-05 18:34:12 +00:00
Iordan Iordanov
f976533433 1) Got rid of mysplit and replaced where it was called with luci.util.split(luci.util.trim(...), ...) calls. 2011-11-05 17:23:36 +00:00
Iordan Iordanov
773de62fd3 1) Replaced trim with luci.util.trim in pbx-calls.lua
2) Slight code cleanup in pbx.lua
2011-11-05 16:50:14 +00:00
Iordan Iordanov
6d42a6a0e8 Many improvements to pbx-calls.lua:
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-11-01 01:47:37 +00:00
Iordan Iordanov
740ef9794d 1) Rewrote the function which formats output at specified indices to work with an variable number of indices.
2) Reformatted the help text a bit.
2011-10-31 03:18:45 +00:00
Iordan Iordanov
62118b369b 1) Made pbx-asterisk executable.
2) Removed a few unused templates.
3) Removed old firewall rule-creation routine from pbx-asterisk.
4) Updated text on main page.
2011-10-31 01:00:22 +00:00
Iordan Iordanov
33caee55e4 This is the initial release of luci-pbx as submitted to the mailing list. 2011-10-28 03:44:23 +00:00