summaryrefslogtreecommitdiffstats
path: root/provisioning-model.lua
Commit message (Expand)AuthorAgeFilesLines
* Reorganize code slightly so runsqlcommand is defined before useTed Trask2013-10-311-12/+13
* Reorganized model to put all local functions at the beginningTed Trask2013-10-271-236/+237
* Pass logevent function to scriptsTed Trask2013-10-271-0/+2
* Revert "Change function prototypes to pass self and use self.model instead of...Ted Trask2013-10-271-172/+184
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-201-233/+230
* Change use of require to work with Lua 5.2Ted Trask2013-10-091-3/+3
* Notify devices when default may have changed in param or param_groupTed Trask2013-10-091-0/+36
* Move local functionTed Trask2013-10-071-9/+9
* Notify admin when a device has overridden group defaultsTed Trask2013-10-071-1/+15
* Remove unused require statementTed Trask2013-10-031-1/+0
* Use acf.db library from acf-lib-0.6.0Ted Trask2013-09-261-220/+150
* Change function prototypes to pass self and use self.model instead of functio...Ted Trask2013-09-231-50/+38
* Fix bug in providing blank config to unprovisioned phoneTed Trask2013-09-091-5/+32
* Fix creation of missing database.Mika Havela2013-08-261-1/+1
* Fix exception when script has bad syntaxTed Trask2013-06-271-1/+4
* Fix creation of param, param group, class, and class groupTed Trask2013-05-251-11/+17
* Added some more SQL escape calls just to be safeTed Trask2013-05-251-8/+8
* Use luasql to escape, rather than doing it ourselves, because will account fo...Ted Trask2013-02-081-1/+1
* Replace io.popen with modelfunctions.run_executableTed Trask2013-01-011-23/+21
* Added back script verification which was lost since 0.0.11Ted Trask2012-11-061-1/+1
* Removed unneeded views by updating CFE for autoviewTed Trask2012-10-271-7/+15
* Fix links to search and create, and fix createdevicefromrequestTed Trask2012-08-081-18/+26
* Fixes to some local functions in modelTed Trask2012-08-071-6/+18
* Removed calls to redirect_to_referrer and only call redirect if function existsTed Trask2012-08-071-50/+93
* Updated for handle_form now passing self to get and set functionsTed Trask2012-04-281-45/+62
* Changed require statements to reflect location of libraries in acf-lib-0.3 an...Ted Trask2012-01-271-3/+3
* Fixed escape function to not escape \Ted Trask2012-01-031-11/+6
* Boolean default should be of type boolean, not stringTed Trask2011-12-291-2/+3
* Removed the default table from param_groups cfe and just use value != default...Ted Trask2011-12-081-10/+2
* Fixed validating / setting defaults for param groupsTed Trask2011-12-081-9/+12
* Fixed bug in deleting parameter with optionsTed Trask2011-12-081-2/+2
* Modify listdevices to also display the class values for each deviceTed Trask2011-10-141-2/+10
* Added new listrequests, deleterequest, and createdevicefromrequest actionsTed Trask2011-10-141-4/+110
* Implemented put_file for Polycom phonesTed Trask2011-10-111-12/+38
* Changes to implement PUTTed Trask2011-10-101-4/+16
* Change viewclassparams to getclassvaluesTed Trask2011-10-101-39/+32
* Added viewclassparams, getfile, and putfile actions plus determine_class.lua ...Ted Trask2011-10-101-4/+120
* Fixed dumpdatabase to give valid SQLTed Trask2011-07-051-9/+10
* Added new dumpdatabase action to dump database without ids - helps compare da...Ted Trask2011-07-041-0/+69
* Validate code should be in unix formatTed Trask2011-06-241-2/+2
* Added better error processing for loaded Lua codeTed Trask2011-06-091-3/+16
* Added lua validate code into provisioning_params table, added example for mac...Ted Trask2011-06-091-16/+61
* Fixed comparison typoTed Trask2011-03-311-1/+1
* Fixed param defaults issue that caused extra database entriesTed Trask2011-03-091-1/+1
* Fail to create / update device if no classes selectedTed Trask2011-03-041-0/+5
* Made nice error messages for device_id search, rather than SQL errorsTed Trask2011-03-041-0/+10
* Removed provisioning-devices and instead use provisioning-device-seq. So, dev...Ted Trask2011-03-041-43/+19
* Fixed delete_group by deleting in the right orderTed Trask2011-03-041-2/+2
* Modified getgroup/updategroup to add default - allowing creating groups with ...Ted Trask2011-03-041-5/+24
* Fixed delete_class by deleting in the right orderTed Trask2011-03-031-2/+2