Branch: Tag:


2000-09-16 20:23:49 by Per Hedbor <>

Fixes for [Bug 275 (#275)]. This rather large patch makes it impossible (well, not really, but way harder) to reload modules in the configuration interface. It also hides most module settings of the configuration interface modules, since they are not, generally speaking, useful. All security and priority related settings are always hidden, and a new flag, VAR_NOT_CFIF can be added to configuration settings that should not be changed in the configuration interface

Rev: server/config_interface/standard/sites/config_left_item.pike:1.37
Rev: server/config_interface/standard/sites/drop_module.pike:1.8
Rev: server/config_interface/standard/sites/site_content.pike:1.86
Rev: server/etc/include/module.h:1.41
Rev: server/etc/modules/Variable.pmod/module.pmod:1.15
Rev: server/modules/configuration/config_filesystem.pike:1.54
Rev: server/modules/configuration/config_tags.pike:1.114
Rev: server/modules/directories/indexfiles.pike:1.16
Rev: server/modules/graphics/graphic_text.pike:1.241
Rev: server/modules/graphics/wiretap.pike:1.21
Rev: server/modules/misc/contenttypes.pike:1.22
Rev: server/modules/scripting/pikescript.pike:1.69
Rev: server/modules/tags/rxmlparse.pike:1.51

1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.240 2000/09/15 22:29:11 nilsson Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.241 2000/09/16 20:23:47 per Exp $";      #include <module.h>   inherit "module";
18:      void create()   { -  defvar("colorparse", 1, "Parse tags for document colors", TYPE_FLAG, +  defvar("colorparse", 1, "Parse tags for document colors", +  TYPE_FLAG|VAR_NOT_CFIF,    "If set, it will use the <i>HTML color wiretrap</i> module to parse "    "figure out the document colors by parsing tags that set colors. "    "If you try to disable the <i>HTML color wiretap</i> module while "    "this option is on, it will be readded every time the "    "<i>Graphis text</i> module is reloaded.");    -  defvar("deflen", 300, "Default maximum length of text", TYPE_INT|VAR_MORE, +  defvar("deflen", 300, "Default maximum length of text", +  TYPE_INT|VAR_MORE|VAR_NOT_CFIF,    "Per default, it will not be possible to render texts longer than "    "this. This is a safeguard so that a simple RXML error doesn't "    "cause a huge image to be generated. It can be turned of at a per "    "tag bases, with the <i>maxlen</i> attribute.");       defvar("ext", 0, "Append format to generated images", -  TYPE_FLAG|VAR_MORE, +  TYPE_FLAG|VAR_MORE|VAR_NOT_CFIF,    "Append the image format (.gif, .png, .gif, etc) to the generated "    "images. This is not necessary, but might seem nicer.");   }