summaryrefslogtreecommitdiffstats
path: root/kamailio-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Update database defaults from openser to kamailioTed Trask2014-11-271-1/+1
| | | | | | | | | (cherry picked from commit 960e5a8e9ec54ede4b5783d27f4bb92b82fd89a2) Conflicts: kamailio-model.lua (cherry picked from commit e044ca6a12db332bf7a39b1ae660b1eb14027c75)
* Remove quotes from values in kamctlrcTed Trask2014-11-271-3/+10
| | | | | | | | | | | | (cherry picked from commit f9c547302d8adc55d3f5745f817caa7bb618ae4c) Conflicts: kamailio-model.lua (cherry picked from commit 1e597a6af1a6f1241bf51a6d406d7a2b21160d0d) Conflicts: kamailio-model.lua
* Add domain support to user managementTed Trask2014-10-101-16/+39
|
* Replace temporary session workaround for viewtable action with redir with ↵Ted Trask2014-10-011-15/+1
| | | | GET parm in HTML view
* Temporary workaround to make viewtable show the previously selected table if ↵Ted Trask2014-06-301-4/+19
| | | | none specified
* Removed acf-db references and directly included functionalityTed Trask2014-06-301-5/+246
| | | | The acf-db module is not complete and was not meant to be released yet
* Changes to use new htmlviewfunctions functions and make searchdatabase a ↵Ted Trask2014-04-101-13/+26
| | | | proper form
* Fix broken calls to logevent due to module definition changeTed Trask2014-02-041-3/+3
| | | | (cherry picked from commit a01066bedfea272e794dd5691d23b849c06368ea)
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2014-02-041-2/+2
| | | | | | | | | | Use mymodule parameter for module definition. This was also helpful in revealing places where the code relied on the global environment. (cherry picked from commit 777416fb5b0909661323cf4cb23af45e917cdfd6) Conflicts: kamailio-controller.lua kamailio-model.lua
* Change use of require to work with Lua 5.2Ted Trask2014-02-041-3/+3
| | | | | | | | | (cherry picked from commit db68ed71e71fc443d47cea8c9c91b0302e8339ec) Conflicts: kamailio-listtables-html.lsp kamailio-model.lua kamailio-viewtable-html.lsp
* Modified to use new acf-db library for viewing/editing databaseTed Trask2013-09-271-247/+36
| | | | Change model and controller to no longer use deprecated "module" function
* Use acf.db library from acf-lib-0.6.0Ted Trask2013-09-261-85/+32
|
* Fix SQL injection bug using kamctlTed Trask2013-06-181-16/+46
|
* Add some more escape callsTed Trask2013-06-181-2/+2
| | | | Fix for alpine linux bug #2103
* Add some more DB escape function callsTed Trask2013-05-311-8/+8
|
* Use luasql function to escape values, since this takes database settings ↵Ted Trask2013-02-071-1/+1
| | | | into account
* Revert "Added postgres version check to determine if should escape backslash ↵Ted Trask2013-02-071-37/+22
| | | | | | or not" This reverts commit d98358c9c05802e79a8185e466c14a42aebd2c22.
* Added postgres version check to determine if should escape backslash or notTed Trask2013-02-051-22/+37
|
* Changed edit, updateuser, createtableentry, and updatetableentry to use ↵Ted Trask2013-01-261-18/+45
| | | | standard get functions
* Added default values for connecting to databaseTed Trask2013-01-241-1/+1
|
* Replaced io.popen with modelfunction.run_executableTed Trask2013-01-011-25/+6
|
* Removed unneeded views by updating CFE for autoviewTed Trask2012-10-281-6/+10
|
* Removed redirect_to_referrer callsTed Trask2012-08-021-24/+47
|
* Removed reloadplan action because duplicates feature of startstopTed Trask2012-06-201-8/+0
|
* Updated for handle_form now passing self to get and set functionsTed Trask2012-04-281-9/+9
|
* Started work on updating for acf-core-0.15Ted Trask2012-04-181-5/+9
| | | | | | Removed controllerfunctions library (still needs more work and corresponding work in model) Updated startstop functionality and deleted view Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
* Fixed escape function to not escape \Ted Trask2012-01-031-2/+1
|
* Implemented Reload Dial Plan command.skel2011-07-111-0/+8
|
* Added table validation to list_table_entries and update_table_entryTed Trask2011-06-071-2/+21
|
* Added searchdatabase actionTed Trask2011-02-231-0/+33
|
* Use specified host and port when opening DB connectionTed Trask2011-01-311-1/+1
|
* Display table name when editing entryTed Trask2011-01-081-1/+1
|
* Added createdatabase action.Ted Trask2011-01-081-0/+7
|
* Added actions for listing and editing database tables. Relys on kamctlrc.Ted Trask2011-01-081-21/+317
|
* Use viewlibrary.check_permission from acf-core-0.9.0, dirname function is no ↵Ted Trask2010-01-011-1/+2
| | | | longer in acf-core-0.9.0
* Added parsing of userlist for DBTEXTTed Trask2009-11-181-0/+7
|
* Added ability to create/delete/update users (tested for postgres)Ted Trask2009-11-171-0/+107
|
* First cut at kamailio ACF. Just status, listfiles, edit, startstop.v0.1.0Ted Trask2009-11-051-0/+53