summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/websetup.pm
AgeCommit message (Collapse)Author
2010-11-23Use local paths for the CGI URLSimon McVittie
2010-11-23Use local paths for redirection where possibleSimon McVittie
2010-11-16websetup: Fix encoding problem when restoring old setup file.Joey Hess
2010-10-11websetup: Fix defaults of checkboxes in advanced mode.Joey Hess
So formbuilder has an annoying glitch, that setting the value of a checkbox, even without force, will override the value currently on the form. Thus the guards against changing checkbox values when a form has been submitted. But those guards also prevented the checkboxes for advanced items getting the right value when going into advanced mode. Note that if the user makes changes to advanced mode stuff and leaves advanced mode, those changes are lost. That seems reasonable so I didn't change it -- and it made this fix simple.
2010-10-11websetup: Fix saving of advanced mode changes.Joey Hess
The showadvanced field was not known to formbuilder when hitting the save changes button.
2010-06-13more symetric enable/disableJoey Hess
Removing a plugin from add_plugins is not always enough to disable it. It may have been redundantly added there and also pulled in via goodstuff. Always add didabled plugins to disable_plugins.
2010-05-14better misctemplate splitting sequenceJoey Hess
2010-05-06simplify formbuilder stylesheet specificationJoey Hess
Since all forms are wrapped in a template that defines the actual stylesheets, formbuilder just has to be told to turn on stylesheet mode, not what file is the style sheet.
2010-05-03websetup: Only display Setup button on admins' preferences page.Joey Hess
Renamed it from "Wiki Setup" to just "Setup" for good measure.
2010-05-03allow do=setup to log a user in if necessaryJoey Hess
2010-05-02add a missing spaceJoey Hess
2010-03-13websetup: Add websetup_unsafe to allow marking other settings as unsafe.Joey Hess
2010-02-12add section informationJoey Hess
2010-02-12improve websetup fieldset displayJoey Hess
to handle sections
2010-02-11fix websetup display of unsafe arrays in expert modeJoey Hess
2010-01-09websetup: Fix bug in array change detection.Joey Hess
2010-01-09websetup: Fix utf-8 problems.Joey Hess
2009-04-22websetup: If setup fails, restore old setup file.Joey Hess
2009-04-22websetup: Display stderr in browser if ikiwiki setup fails.Joey Hess
2008-12-31websetup: Avoid a crash when a new array setup item has been added in a new ↵Joey Hess
ikiwiki release, and is thus not present in the setup file yet. This happened with camelcase_ignore. The code tried to convert the undef value for it into an array.
2008-12-31make sure value is defined before using it as an arrayJoey Hess
2008-12-23finalise version 3.00 of the plugin apiJoey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-08-05save to real setup file, and rebuild/refreshJoey Hess
2008-08-05Revert "typo"Joey Hess
This reverts commit c8d3626c51bdc53781d9431b1da88ae1e92dc2d5.
2008-08-05typoJoey Hess
2008-08-04hmJoey Hess
2008-08-03plugin enable/disable working and bugfixesJoey Hess
2008-08-03work around strange problem with banned_usersJoey Hess
Its value was being ignored. Some kind of formbuilder bug? Anyway, prefixing all keys with a section seems like a good idea generally, in case there's ever overlap.
2008-08-03checkboxes backJoey Hess
2008-08-03use radio, not checkbox, for booleansJoey Hess
Had to do this due to one of CGI::FormBuilder's more annoying quirks -- it loses the value of a checkbox field with only one option, always treating it as checked.
2008-08-03add plugin safe/rebuild info (part 3 of 3)Joey Hess
2008-08-03support rebuild tristateJoey Hess
also some fixes to change minimisation logic
2008-08-03move plugin toggles to before config setting againJoey Hess
2008-08-03ui improvementsJoey Hess
2008-08-03show force disabled plugins in advanced modeJoey Hess
2008-08-03add plugin safe/rebuild info (part 1 of 2)Joey Hess
too many plugins.. brain exploding..
2008-08-03plugin safe/rebuild controlsJoey Hess
2008-08-03add advanced and basic modesJoey Hess
2008-08-03avoid adding extra disabled fields for arraysJoey Hess
2008-08-03properly support all types of data in arraysJoey Hess
2008-08-03remove description_html, add linkJoey Hess
2008-08-03support arraysJoey Hess
2008-08-02updateJoey Hess
2008-08-02rebuild detectionJoey Hess
2008-08-02pull values from form to configJoey Hess
2008-08-02collect a hash of shown fieldsJoey Hess
Need to do this to know what fields to take from CGI. (Can't trust that only safe ones are sent..)
2008-08-02show unsafe options (RO) by defaultJoey Hess
Small data leak, but only to admins, and I think it's worth it to see the stuff that cannot be configured.
2008-08-02avoid syslog whining from broken pluginsJoey Hess
2008-08-02avoid setting default value in websetup_force_pluginsJoey Hess
This would make changes not be seen later.