summaryrefslogtreecommitdiffstats
path: root/provisioning-controller.lua
Commit message (Collapse)AuthorAgeFilesLines
* Implement deletedeviceparamgroup actionHEADmasterTed Trask2019-10-021-0/+4
| | | | | | | | The deletedeviceparamgroup action will delete a parameter group from a device and move up all of the subsequent parameter groups. Only works for parameter groups with names ending with numbers, such as regX. This can be used to delete a registration and move up all of the subsequent registrations, working around the Polycom bug where subsequent registrations do not show up on the device.
* Added viewactivitylog functionality (no actual logs yet)Ted Trask2017-11-081-0/+4
|
* Modify bulkdumpdevices to only show editable values and add bulkdumprawdevicesTed Trask2017-06-071-0/+4
|
* Add viewdeviceparams action and modify roles to add USERTed Trask2017-02-221-0/+4
|
* Revert "Add notifydevices param and add it to all actions that modify ↵Ted Trask2017-02-221-5/+5
| | | | | | devices (not yet implemented)" This reverts commit 07027036bc14ebbb75e54f81b3134ec2b9dc0783.
* Add notifydevices param and add it to all actions that modify devices (not ↵Ted Trask2017-01-291-5/+5
| | | | | | | | | | | yet implemented) Modify HTML views to display confirm warning about possible reboot when notifying devices Split several get_ functions so notifydevices would not appear for new objects Cleaned up some get_ functions to use handle_clientdata Do not display filecontent in createtemplate HTML view (or write it in model) Fix exception if bulkcreatedevices called with empty list Modify 'device' provisioning_groups seq from 1 to 5 to allow notifydevices to display first
* Allow parameter failure when creating device (or could never create devices)Ted Trask2016-01-021-1/+1
|
* Better error reporting for editgroup/param when succeeded but setting device ↵Ted Trask2015-12-281-2/+2
| | | | params failed
* Add bulkdumpdevices action to export devices to CSV fileTed Trask2015-11-121-0/+4
|
* Create bulkcreatedevices actionTed Trask2015-11-061-0/+4
|
* Add server-side pagination/sorting/filtering to listrequests action using ↵Ted Trask2015-07-061-1/+1
| | | | tablesorter
* Add server-side pagination, sorting, and filtering for listdevices actionTed Trask2015-07-051-1/+1
|
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-201-41/+43
| | | | | Use mymodule parameter for module definition. This was also helpful in revealing places where the code relied on the global environment.
* Fix bug in providing blank config to unprovisioned phoneTed Trask2013-09-091-2/+2
| | | | Add some code to handle nil clientdata and pass self to get/put_file functions
* Fix redirection when creating new devicesTed Trask2013-08-261-12/+2
|
* Fixes to some local functions in modelTed Trask2012-08-071-3/+3
|
* Removed calls to redirect_to_referrer and only call redirect if function existsTed Trask2012-08-071-10/+10
|
* Updated for handle_form now passing self to get and set functionsTed Trask2012-04-281-13/+13
|
* Started work on updating for acf-core-0.15Ted Trask2012-04-181-24/+22
| | | | | Removed controllerfunctions library (still needs more work and corresponding work in model) Updated for viewfunctions to htmlviewfunctions
* Added new listrequests, deleterequest, and createdevicefromrequest actionsTed Trask2011-10-141-0/+17
|
* Changes to implement PUTTed Trask2011-10-101-1/+1
|
* Change viewclassparams to getclassvaluesTed Trask2011-10-101-2/+2
|
* Added viewclassparams, getfile, and putfile actions plus determine_class.lua ↵Ted Trask2011-10-101-0/+12
| | | | | | | | | | script and provisioning_requests table. viewclassparams shows the parameters and default values for a class getfile is used to get the config file for a known device and a default config file for unconfigured devices putfile is unimplemented, but will be used for parsing files uploaded to the server determine_class.lua determines which device class best matches an unconfigured device (by agent) provisioning_requests table will track the last request (ip, agent, and timestamp) for each device
* Added new dumpdatabase action to dump database without ids - helps compare ↵Ted Trask2011-07-041-0/+4
| | | | databases
* After create device, redirect to edit itTed Trask2011-03-041-1/+6
|
* Made getdevicevalues and searchdevices into proper forms and added ↵Ted Trask2011-03-011-2/+2
| | | | searchbyextension and searchbymac actions.
* Removed name from provisioning_devices, changed getdevicevalues to take ↵Ted Trask2011-02-281-1/+1
| | | | parameter id, comparision, value (like search)
* Removed template from device and set it up as a parameter instead, moved ↵Ted Trask2011-02-261-3/+3
| | | | scripts into privisioning-scripts.lua, and added DB values for all tables to set up phone provisioning
* Added concept of class groups to allow separate name and label for class groupsTed Trask2011-02-111-0/+16
| | | | | | | Added four new actions - listclassgroups, editclassgroup, createclassgroup, and deleteclassgroup Added new provisioning_class_groups table Changed provisioning_classes to change name to class_group_id plus added seq field Modified groups to only accept alphanumeric names and display param group label instead of name when editing params
* Added script files to be run after edit device and after edit device params.Ted Trask2011-01-111-0/+8
|
* Added support for select type and provisioning options.Ted Trask2010-12-091-0/+4
|
* Broke up get_device_values into two functions, one by name, one by device_id.Ted Trask2010-11-261-1/+1
|
* Adjusted search to include != and regular expressions comparisons.Ted Trask2010-11-261-1/+1
|
* Removed handling of viewtype because now will be handled by core.Ted Trask2010-11-161-9/+0
|
* Added searchdevices action and fixed getdeviceparams to be proper structure, ↵Ted Trask2010-11-101-0/+10
| | | | not array
* Added duplicatedevice actionTed Trask2010-11-041-0/+4
|
* Added getdevicevalues with templated viewtype to load template with haserl.Ted Trask2010-11-041-0/+3
|
* Starting to develop provisioning application.Ted Trask2010-10-281-0/+97
It has the basics for creating/editing/deleting devices/templates/classes/groups/parameters.