summaryrefslogtreecommitdiffstats
path: root/tinydns-controller.lua
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceHEADmasterTed Trask2016-08-101-1/+1
|
* Change file actions filesize to size, size and mtime not user-friendly, use ↵Ted Trask2015-12-301-8/+1
| | | | posix.stat over fs.stat, use new format functions
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-211-24/+26
| | | | | Use mymodule parameter for module definition. This was also helpful in revealing places where the code relied on the global environment.
* Removed call to redirect_to_referrerTed Trask2012-08-151-1/+1
|
* Updated for handle_form now passing self to get and set functionsTed Trask2012-04-281-9/+5
|
* Started work on updating for acf-core-0.15Ted Trask2012-04-181-8/+7
| | | | | | 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
* Change processname to match prefix - this allows multiple instances without ↵Ted Trask2009-12-251-0/+5
| | | | editing.
* Updated for startstop in core 0.5.0root2009-06-041-1/+1
|
* Fixed tinydns bug caused by 1596 with write_file_with_audit, fixed bug in ↵Ted Trask2009-01-161-1/+1
| | | | | | creating file when directory missing. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1680 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified viewfunctions to split displayform, creating displayformstart and ↵Ted Trask2008-10-221-1/+1
| | | | | | displayformend, to provide flexibility while still using the library. Also added support for hidden fields - including a common redir field. Removed redirectOnSuccess from controllerfunctions handle_form, and replaced it with the redir field. Removed redirectOnSuccess from controllers that used it and added handlecommandresults and redir entries to links and forms throughout many views. This will cause a redirect to the originating view when a form is successfully completed. acf_www-controller now includes orig_action in page_info to report the original action launched by the user. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1560 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified TinyDNS to include more intelligence. Changed listfiles and ↵Ted Trask2008-10-211-0/+4
| | | | | | newfile to not display / require directory. Made edit function in controller to allow control independent from expert. Modified edit to limit entries to the domain indicated by the file name. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1557 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified tinydns to add in role-based permissions.Ted Trask2008-07-251-0/+8
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1321 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified tinydns to remove dnsfiles from session and replace with calls to ↵Ted Trask2008-07-251-8/+20
| | | | | | authenticator. Added in pages for managing tinydns permissions. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1318 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified tinydns to implement access control.Ted Trask2008-07-231-6/+12
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1316 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified tinydns to use controllerfunctions, modelfunctions, common lsp ↵Ted Trask2008-07-081-108/+9
| | | | | | files, and new view without action functionality. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1290 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed debug log output from acf_www.Ted Trask2008-06-241-1/+1
| | | | | | Fixed minor bug in tinydns. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1255 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated tinydns as follows: Renames status to view and basicstatus to ↵Ted Trask2008-06-241-3/+6
| | | | | | | | status. Added ability to view individual config file / domain. Added link from view to edit actual line. Modified view. Updated jQuery to latest 1.2.6 git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1253 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrite of tinydns to simplify code and use new cfe model.Ted Trask2008-06-181-357/+97
| | | | | | Added js to filter records. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1219 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Replaced references to ENV[SCRIPT_NAME] with self.conf.script.Ted Trask2008-05-151-4/+4
| | | | | | Logon link no longer forced to be https. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Small bugfix and version bump on Makefilev0.2.1Mika Havela2008-05-011-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1054 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified cfe, removing option, errtxt, and name, and adding label - This may ↵Ted Trask2008-04-301-3/+1
| | | | | | | | | | | | break things. Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed error redir code to use redirect function insteadTed Trask2008-04-281-3/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1051 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Now you can delete config-files that you no longer want.Mika Havela2008-04-281-1/+46
| | | | | | Validation is done so you can't remove wrong files (but you can remove any file within /etc/tinydns/) git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1050 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Saving work for today.Mika Havela2008-04-261-2/+54
| | | | | | | | Create new configfile starts working. Delete configfile (work in progress - still not working). Added information on filesize/modifydate on each configfile. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1048 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Replaced all list_redir functions with redirect in mvc.lua, implemented a ↵Ted Trask2008-04-241-12/+1
| | | | | | default_action string in each controller, removing the on_load functions git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1037 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaned up code. Added start/stop/restart buttons.Mika Havela2008-04-091-489/+61
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@979 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up the code.v0.1.1Mika Havela2008-04-081-7/+11
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@954 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Now you can view/edit all files in /etc/tinydns/.Mika Havela2008-04-041-3/+16
| | | | | | You shouldn't be able to view/edit other files than in /etc/tinydns (and it's subfolders). git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@948 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Creating a expert tab so you can edit the config-files.Mika Havela2008-04-041-0/+73
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@945 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Deactivating still-not-working-config-tab and only showing status-information.Mika Havela2008-04-021-2/+2
| | | | | | This is to be able to create a initial release of acf-tinydns. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@886 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added select-boxes for those fields that defines location.Mika Havela2008-03-081-0/+36
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@831 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Saving work for today.Mika Havela2008-03-081-42/+127
| | | | | | | Hide [New] objects because they don't work for the moment. When selecting a record and edit it, you get to see the whole record (still not editable). git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@830 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Saving work for today. Filtering is starting to take shape.Mika Havela2008-03-031-28/+70
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@797 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added functionallity for the config-tab. (Now showing current configs).Mika Havela2008-02-261-54/+379
| | | | | | Editing config is still not possible. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@768 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Output can now be filtered in levels (can only be done by modifying in the ↵Mika Havela2008-02-231-21/+80
| | | | | | | | controller for now). A problem has appeared - We cant sort the output when the tables are constructed as they are. Next commit will/should have changed the table-layout. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@767 ab2d0c66-481e-0410-8bed-d214d4d58bed
* The status-tab is starting to take shape. We need to figure out howto ↵Mika Havela2008-02-221-2/+76
| | | | | | | | | section the data and howto sort it. I have some ide of filtering data based on hostname... but thats not working for now. Hidden config-tab for now because its not working. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@766 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Temporary save. Things are far from workingMika Havela2008-02-221-0/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@764 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Starting to read config-files.Mika Havela2008-02-151-0/+10
| | | | | | There is some debug output where you can se some default parameters and a list of all objects in the config-files. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@725 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Initial commit on tinydnsMika Havela2008-02-131-0/+29
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@716 ab2d0c66-481e-0410-8bed-d214d4d58bed