summaryrefslogtreecommitdiff
path: root/lib/plugins/config/settings
Commit message (Collapse)AuthorAge
* workaround config for FS#852Andreas Gohr2007-02-08
| | | | | | | | | On certain platforms the ignore_user_abort function does not work as expected, resulting in a non working indexer webbug. Users with such a broken system (IIS+PHP as CGI) can enable this option to work around the problem (resulting in longer load times for the webbug). darcs-hash:20070208195145-7ad00-8fc14f9da535a70fa837066773e15a3926b077c7.gz
* [config plugin] add support for multi-line setting string valueschris2006-12-24
| | | | darcs-hash:20061224005004-9b6ab-48a230e5a7697b2c350ccdc80aeb929671c6a234.gz
* manager user/groupAndreas Gohr2006-12-03
| | | | | | | This patch adds support for a manager option as suggested in http://www.freelists.org/archives/dokuwiki/11-2006/msg00314.html darcs-hash:20061203134104-7ad00-72ff6422bbb4f79be325c7e77255e1eee32d0f6b.gz
* conflict resolve for RSS title config optionAndreas Gohr2006-11-27
| | | | darcs-hash:20061127223356-7ad00-6a5cd1653d6d60f534471f8eabdb84ffb953d151.gz
* rss_summary_configMarc Mayfield2006-11-01
| | | | | | | | Add a configuration option to control whether or not the edit/revision summary is displayed with the title of RSS feeds. The default is to show the summary, the same as DokuWiki did prior to this addition. darcs-hash:20061101023313-9039d-d067e9bcd7dc0c7cabd57674d1072c5b882ad4e7.gz
* Indexer asian language fixes and speed-upsTom N Harris2006-11-17
| | | | | | | | | Make Chinese and Japanese work better with the new indexer. Some missing punctuation added to utf8_stripspecials. Misc. other changes to make indexing faster. The indexes will expire on backend upgrades, so you don't have to delete *.indexed darcs-hash:20061117123032-6942e-774b38e08234928c49b37e40addba375acf67ac0.gz
* fix email setting pattern for config pluginchris2006-11-04
| | | | | | | | in addition to a single valid email it will now accept: - no email - multiple comma separate email addresses darcs-hash:20061104213543-9b6ab-7fb8b883f6ad81260e787a2e3d5ba3d2197b970a.gz
* update config settings for dmode & fmodechris2006-10-06
| | | | | | | - change validation pattern to allow 3 or 4 octal digits and hence setting of SUID, SGID and sticky bit on systems which support them darcs-hash:20061005223141-9b6ab-80511ecc4780d6258f15f59087f9bab20d1f1340.gz
* cache, metadata & purgefile updateschris2006-09-24
| | | | | | | | | | | | | | | | | | | Cache - add dependency for metadata renderer file - check metadata for end of page life, "date valid end". Metadata Renderer - RSS syntax mode now sets rendered page expiry, "date valid end" and includes the feed URL in "relation haspart". Purgefile For all wiki installations the purgefile records the earliest time before which no cache purge (based on data consistency) is required. Cache files older than this time MAY need to be purged. - remove purgeonadd configuration setting darcs-hash:20060924202157-9b6ab-4531e91411c41914eeab2b6a8160c3d46b001cee.gz
* updatecheck featureAndreas Gohr2006-09-16
| | | | | | | | | | | | | | | | | This patch adds a feature to let DokuWiki automatically check if updates are available or any other important messages (like security warnings) and then display this info to the admin user. DokuWiki will contact the URL http://www.splitbrain.org/lib/exe/msg.php with a parameter telling it which messages it already know (read from conf/msg) - the server side script then will return all new messages. The messages will be displayed until DokuWiki was upgraded or conf/msg was updated manually. Messages are cached and only checked once a day. The messenger URL will probably change before the next release. darcs-hash:20060916210229-7ad00-7ac592650e171ae4144b0eb47a751a4ca480f031.gz
* suppress boring errorsBen Coburn2006-09-08
| | | | | | | | Suppress any errors from set_time_limit, unlink, and file_exists functions. see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html darcs-hash:20060908193433-05dcb-013617431870ab5bfb2ce8c6e99ba5af13493228.gz
* scalable changelog redesignBen Coburn2006-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch provides a rewritten changelog system that is designed to run efficiently on both small and large wikis. The patch includes a plugin to convert changelogs from the current format. The conversion is non-destructive and happens automatically. For more information on the new changelog format see "http://wiki.splitbrain.org/wiki:changelog". Structure In short the changelog is now stored in per-page changelog files, with a recent changes cache. The recent changes cache is kept in "/data/meta/_dokuwiki.changes" and trimmed daily. The per-page changelogs are kept in "/data/meta/<ns>/<page_id>.changes" files. To preserve revision information for revisions stored in the attic, the "*.changes" files are not removed when their page is deleted. This allows the full life-cycle of page creation, deletion, and reversion to be tracked. Format The changelog line format now uses a general "line type" field in place of the special "minor" change syntax. There is also an extra field that can be used to store arbitrary data associated with special line types. The reverted line type (R) is a good example. There the extra field holds the revision date used as the source for reverting the page. See the wiki for the complete syntax description. Code Notes The changelog functions have been rewritten to load the whole file only if it is small. For larger files, the function loads only the relevant chunk(s). Parsed changelog lines are cached in memory to speed future function calls. getRevisionInfo A binary search is used to locate the chunk expected to contain the requested revision. The whole chunk is parsed, and adjacent lines are optimistically cached to speed consecutive calls. getRevisions Reads the changelog file backwards (newest first) in chunks until the requested number of lines have been read. Parsed changelog lines are cached for subsequent calls to getRevisionInfo. Because revisions are read from the changelog they are no longer guaranteed to exist in the attic. (Note: Even with lines of arbitrary length getRevisionInfo and getRevisions never split changelog lines while reading. This is done by sliding the "file pointer" forward to the end of a line after each blind seek.) isMinor Removed. To detect a minor edit check the type as follows: $parsed_logline['type'] darcs-hash:20060830182753-05dcb-1c5ea17f581197a33732a8d11da223d809c03506.gz
* update config pluginchris2006-08-26
| | | | | | | | | - add $conf['compression'] meta data and en lang strings - remove $conf['usegzip'] meta data and en lang strings Other language strings will need to be updated. darcs-hash:20060825223047-9b6ab-b0c8c6af57847690a6d398d0bd98af9a51911c21.gz
* config plugin updatechris2006-07-31
| | | | | | | - improvements in handling of default values for multi-checkbox settings (e.g. defaultactions) - minor style tweaks to cater for IE/Win darcs-hash:20060731105910-9b6ab-2e78b4f545b9d8a9f98accc22eeba5701049a037.gz
* disabled actions addition to config pluginchris2006-07-05
| | | | | | | | | | | | | This patch adds a new generic settings class, setting_multicheckbox. The class displays each of a list of possible choices as a checkbox and an additional text input field for "other" values. The final result is saved in the config file as a comma separated list. It also supports an additional, optional, parameter, "_combine" which can be used to group complimentary values, allowing them to be set or unset together with one checkbox. darcs-hash:20060705012142-9b6ab-b92daddd1393bfc5e9b650a57348237726957c71.gz
* added missing settings to config pluginAndreas Gohr2006-06-16
| | | | darcs-hash:20060616124539-7ad00-22cc3417b2a3b8e183d272f6c132ce88a27c4fac.gz
* config plugin ui update 20060520Ben Coburn2006-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch hides settings that are missing config metadata and optionally provides a list of warnings about settings that are not properly configured. - Warnings about settings are listed if $conf['allowdebug'] is true. - Warnings are listed by the $conf string as it appears in local.php. - Warnings show the $meta string as it would appear in the correct settings metadata file. - There are 3 kinds of warnings. - undefined There is no $meta information defined for this setting. - no class The setting class specified in $meta can not be found. This setting does have a $meta entry. - no default The setting is missing a default value. The setting does have a $meta entry with a valid setting class. - Note: Settings with metadata but other warnings are allowed to appear in the normal config settings list. Also... - Templates can now define their own settings classes. - Removed an XHTML validation error from the first patch. - More language strings to go with the new warnings. The warnings under the 'Undefined Settings' heading are intended to provide developers with a list of any settings that they have forgotten to finish preparing for the config plugin. This list should be blank for stable releases. darcs-hash:20060520103718-05dcb-6d4e6bce78498cbf9d087e27d52e4aa30917b0a5.gz
* gzip content-encoding optionBen Coburn2006-05-16
| | | | | | | | - Enables gzip compression of output xhtml for browsers that support it. For example the wiki:syntax page takes up 46.80KB raw, but only 9.88KB gzip encoded. - Setting is configurable through the config plugin. darcs-hash:20060516084132-05dcb-d8d1c7911a951b00e166c5a94f46a2cf1cfa5846.gz
* jpg quality optionBen Coburn2006-05-16
| | | | | | | | | | - Adds a jpg quality setting for scaled images (Some images were getting too many jpg artifacts at the hard-coded compression setting.) - Creates a group for the media settings in the config plugin. darcs-hash:20060516062321-05dcb-a175b0de3264322a335cf60d8ee96317f7b03144.gz
* add config plugin support for plugin defined setting classeschris2006-05-11
| | | | darcs-hash:20060511083209-9b6ab-418fb83530be356bb40307c4a95a9c03954fc725.gz
* config plugin ui organizationBen Coburn2006-05-10
| | | | | | | | | | | | | | | | | - organizes the configuration settings list into chunks - provides a table of contents for the configuration chunks - provides one chunk for each plugin with configurable settings - provides one chunk for the active template (if it has settings) - provides the config file setting as a tool-tip on the setting label ex. $conf['start'] - provides for localization of useful strings - generates a "smart" fallback name for plugins and templates - plugin and template sections are only shown if they have settings - current configuration list is organized into chunks Note: There are NEW strings to translate into the non-english language files. darcs-hash:20060510065732-05dcb-398d5c7efa7981f690d97a25a5110b1f39be9f8e.gz
* changed all occurances of rename() to io_rename()Andreas Gohr2006-05-07
| | | | darcs-hash:20060507101333-7ad00-e687d797fbee26e0b0bc7741ff8a1af496c101bf.gz
* fix more ';' in config valueschris2006-05-05
| | | | | | a more robust fix is needed, but this should resolve 99.9% of potential problems darcs-hash:20060505000432-9b6ab-273277892e7b7dc978f7622174de38212155f104.gz
* config plugin updatechris2006-04-30
| | | | | | | - style correction, change second occurrence of textarea.default to textarea.protected - comment spelling correction darcs-hash:20060430160900-9b6ab-5d2ba348ba00880f79d0874e3128234e0cb696c0.gz
* fix config plugin setting_numeric patternBen Coburn2006-03-27
| | | | | | | | | | | The old pattern (left as a comment) allowed many PHP syntax errors to be inserted into local.php for numeric values. This was breaking the wiki... see bug #769. This patch should eliminate the syntax errors by using a more restrictive definition of numeric settings. darcs-hash:20060327200700-05dcb-ccb8d532e5c123965fc6c8e79fb49c93170d827e.gz
* update config plugin metadataBen Coburn2006-03-27
| | | | darcs-hash:20060327181005-05dcb-73b7a1f4400832ba29962efc543d9959ebc6b2db.gz
* changes to config plugin needed for template and plugin configurationEsther Brunner2006-03-22
| | | | darcs-hash:20060322140525-283c4-54953a1954beba0e78c896610b33a6f3c953cbb6.gz
* killed some borders, widths and other strictness bugsAnika Henke2006-03-08
| | | | darcs-hash:20060308225006-d5083-d273d41551fee37d28442beef847eb57891ba73e.gz
* config manager fixesAndreas Gohr2006-03-04
| | | | | | | | This patch makes the default config widget a textarea, to avoid destroying multiline configs as used in the SQL auth backends. It also makes HTML in config descriptions possible and adds an accesskey to the savebutton. darcs-hash:20060304213457-7ad00-54a32e005601a675b169c297ef9e1cf489372724.gz
* allow HTML in config option descriptionsAndreas Gohr2006-03-04
| | | | darcs-hash:20060304200828-7ad00-f7316321fdeb29044153e180f8e87f48c252734e.gz
* simplified file permission handlingAndreas Gohr2006-03-04
| | | | | | | | | | This patch simpliefies the configuration of the file and directory creation modes. There is no need to set the umask anymore. Only the wanted permissions for files and directories are set. An init function compares the wanted modes with the ones that would be choosen by the system automatically (consulting the system's umask) and sets the modes for chmod when needed. darcs-hash:20060304154038-7ad00-5ef1db3a87e42563a602f9d050c681d2ea74682f.gz
* changed styling logic a bit for config managerAnika Henke2006-03-03
| | | | darcs-hash:20060303122855-d5083-9dc7d8e7eea1c32aaab9a89055cf3f69efe09dc5.gz
* config plugin update for revised deaccent settingschris2006-03-03
| | | | darcs-hash:20060303001007-9b6ab-602dc76a0501bf9a17262fa3bb3c63e72ec2923d.gz
* changed IDs to avoid name clashesAndreas Gohr2006-02-26
| | | | darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.gz
* Fix wrong umask usage and so we set the correct file premissions.Troels Liebe Bentsen2006-02-18
| | | | darcs-hash:20060218183251-ee6b9-798ab2994526311b1e58f04e7684b39b51426887.gz
* config plugin update - fix choices for 'maxtoclevel'chris2006-02-24
| | | | darcs-hash:20060223230053-9b6ab-5fa0fbee8f0a1cb792d7ee21ed97d94fce31cf17.gz
* fix for PHP5/Win, avoid initialising an array as a function parameterchris2006-02-03
| | | | darcs-hash:20060202232249-9b6ab-714f97dd150f2e0e7bef5458ab74f5336a1e5f8c.gz
* update wl,ml,buildURLParams with optional separator string, update config ↵chris2006-01-31
| | | | | | plugin redirect with new wl(), add meta & lang details for $conf['resendpasswd'] darcs-hash:20060130232818-9b6ab-2f395bc25c536b06bb5ade616a8252060ecb5278.gz
* config plugin update, fix php5 warnings + other improvementschris2006-01-28
| | | | darcs-hash:20060128011605-9b6ab-38b917f8e1b311ff319d1cfd356369e428e95c3e.gz
* moved translations for ACL managerAndreas Gohr2006-01-27
| | | | darcs-hash:20060127141826-7ad00-c1689c7db5c4831fbbfca4a4c6c5f27c64546951.gz
* functions for handling plugin settings with config managerEsther Brunner2006-01-27
| | | | darcs-hash:20060127001636-283c4-a54e5b7aaab261d9c875686fe4ccfb483ee7358b.gz
* $conf[sepchar] update for config pluginchris2006-01-26
| | | | darcs-hash:20060126012607-9b6ab-ae48f0437ff6170b30514402abc22801fef36902.gz
* config plugin update & removal of $conf['pluginmanager'] optionchris2006-01-26
| | | | darcs-hash:20060126011342-9b6ab-40d04573bef34fa4012edac74186355b9a7ff0d9.gz
* config pluginchris2006-01-25
darcs-hash:20060125001546-9b6ab-02a6255db9adc4dc22f4970b01a3b148d2b1810c.gz