Commit Graph

328 Commits

Author SHA1 Message Date
Andreas Gohr e7f137b23d release preparations
darcs-hash:20070524172905-7ad00-a3635da93981b1cc6063143b6a4c2883fb0fe8b9.gz
2007-05-24 19:29:05 +02:00
Andreas Gohr d1c7b6ec50 add sneaky_index option
This disables the last patch and adds an option to enable it on demand.

darcs-hash:20070511200235-7ad00-a3ea769bc4965710b7fd261d31e2c9f8a3d9d7f5.gz
2007-05-11 22:02:35 +02:00
Andreas Gohr 7c7ba7a2e5 fixed dokubug interwiki link
darcs-hash:20070411194508-7ad00-e0373de561bdd3c5154a4fc230a143be0e6f8699.gz
2007-04-11 21:45:08 +02:00
Anika Henke 595a6d75d6 added ellipsis to entities.conf
darcs-hash:20070330225252-d5083-cc2f5e0ad8e5073c10e69d6ba5fa192468a0f1f5.gz
2007-03-31 00:52:52 +02:00
Andreas Gohr adb16d4f36 soted indexer is now default
darcs-hash:20070226175529-7ad00-4d3d984da1edbf2ded546cfbd7374f97f032d032.gz
2007-02-26 18:55:29 +01:00
Andreas Gohr 3b9ab21bfc use dokubug as default interwiki tag for DokuWiki bugs #1045
darcs-hash:20070224144211-7ad00-fc0695dc9290bd5d4192eb9d76ba3cafa2125d8f.gz
2007-02-24 15:42:11 +01:00
Andreas Gohr 7aa3b10418 added some comments about new XSS protection to mime.conf
darcs-hash:20070224131623-7ad00-cd82685db94b50be942a6d71293010aa8fdabdfa.gz
2007-02-24 14:16:23 +01:00
Andreas Gohr 26ceae189b Test uploaded files for HTML tags FS#1077
Following the problem with IE's mimetype handling described at
http://www.splitbrain.org/blog/2007-02/12-internet_explorer_facilitates_cross_site_scripting
this patch adds a new option (on by default) to check the first 256
bytes of uploaded files against a list of a few HTML tags and denies
the upload of such a file. In rare occasions this may block harmless
and valid files, but that's price we have to pay for Microsoft's
stupidity.

Users who need HTML uploads should disable this check. (Don't do that on
open Wikis!)

darcs-hash:20070224124458-7ad00-0ced616d06f563515b36a0a6871b5ba50229c946.gz
2007-02-24 13:44:58 +01:00
wingedfox 14d41ebada Rar mime type added
darcs-hash:20070111113557-00f02-f868a727d73fa16d4854ad60ff6aff0b59df67bb.gz
2007-01-11 12:35:57 +01:00
Andreas Gohr 26890ffb78 disable text uploads by default
Spammers suck - see http://forum.dokuwiki.org/post/2213

darcs-hash:20070211201920-7ad00-0023501c73fece94effcc0efb2c0862c9f771bf2.gz
2007-02-11 21:19:20 +01:00
Andreas Gohr cde6a01b90 workaround config for FS#852
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
2007-02-08 20:51:45 +01:00
Andreas Gohr f8cc712e2a manager user/group
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
2006-12-03 14:41:04 +01:00
Marc Mayfield a1716312b3 rss_summary_config
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
2006-11-01 03:33:13 +01:00
Tom N Harris d5b233026f Indexer asian language fixes and speed-ups
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
2006-11-17 13:30:32 +01:00
Andreas Gohr 4dde32dd6f release preparations
darcs-hash:20061106192948-7ad00-c5f00a6a452e941b6799663d5b73e7e089a376a2.gz
2006-11-06 20:29:48 +01:00
Andreas Gohr e8b3027e5a disable HTML upload by default
Spammers use unprotected wikis to upload spammy HTML pages. This disables
HTML upload by default

darcs-hash:20061101161813-7ad00-11c808965ef80bd042ea3e3586352cfdccb309db.gz
2006-11-01 17:18:13 +01:00
Andreas Gohr 8cb7b22ccf release preparations
darcs-hash:20061019165805-7ad00-1cd724eabd74ecf66734eba35f607ad474fc8374.gz
2006-10-19 18:58:05 +02:00
Andreas Gohr 894a80cc56 restrict fetch.php's download abilities
This patch changes fetch.php ability to download external files. It now checks
for the returned MIME type and will only download images. For all other
MIME types a redirect is sent back to the browser. This reduces the risc of
being misused as open proxy.

Additionally the download facility is disabled completly by default by setting
the fetchsize option to 0. Users who want the feature need to overwrite the option
in their local.php.

Background: The ability to download external files is needed to resize external
images on the server side. When disabled, a redirect is sent to the browser which
will download the fullsize image and rescale it on the client side which is more
bandwidth and CPU intensive.

darcs-hash:20061017175329-7ad00-cd1b1bfa043a04540c51ca8380d28deaa14147d1.gz
2006-10-17 19:53:29 +02:00
Andreas Gohr 7b782bd288 multiple language updates
darcs-hash:20061013113521-7ad00-1ab48718ab30e042971a6dd6ef595462185955e6.gz
2006-10-13 13:35:21 +02:00
Andreas Gohr d76dea32dc release candidate preparation
darcs-hash:20061008103152-7ad00-5a26c285c8d4899ab9b21a84d493671857d77a99.gz
2006-10-08 12:31:52 +02:00
Andreas Gohr e784f395fe release candidate preparations
updated wwordblock.conf
updated installer checksum
increased msg num

darcs-hash:20060928200451-7ad00-061feb181c7e91f736fb396db224e4ea9660effa.gz
2006-09-28 22:04:51 +02:00
Andreas Gohr 8fcc3410e3 security fixes for fetch.php #924 #962
Fixes a shell injection and a DOS vulnerability

darcs-hash:20060926200551-7ad00-5ef27940dda6e48e7e2f8743fc90fa80b7b5cdff.gz
2006-09-26 22:05:51 +02:00
chris ce6b63d970 cache, metadata & purgefile updates
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
2006-09-24 22:21:57 +02:00
Andreas Gohr 56ee955725 fixed md5 sum for installer
darcs-hash:20060923110047-7ad00-b9007f7f656e56656a44b2349c14e7839c1f68ce.gz
2006-09-23 13:00:47 +02:00
Tom Hoover 039e19f572 corrected typo
darcs-hash:20060923034943-e5a2d-5888ec82ef23d82619522aaf33bee1c4bc1b1099.gz
2006-09-23 05:49:43 +02:00
Andreas Gohr f6e0e34061 disable debugging by default
darcs-hash:20060917183150-7ad00-1672f8ef23dc49b6cdfd43d29338dab6a14a928c.gz
2006-09-17 20:31:50 +02:00
Andreas Gohr 3d7760aa04 update for updatecheck function
Messages are now displayed to all users if ACL is not enabled. The update-URL
changed to http://update.dokuwiki.org/check/

darcs-hash:20060917145025-7ad00-1d64b90e51c1a49567a28b132caf79ae0f124c8e.gz
2006-09-17 16:50:25 +02:00
Andreas Gohr c29dc6e421 updatecheck feature
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
2006-09-16 23:02:29 +02:00
Ben Coburn 71726d7801 scalable changelog redesign
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
2006-08-30 20:27:53 +02:00
chris fd49f8df8d update config plugin
- 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
2006-08-26 00:30:47 +02:00
marcel ff3ed99f17 Added bz2 compression support for Attic
darcs-hash:20060823211149-9c1ae-569f295c33dc798a429a373f48cb09122334ea29.gz
2006-08-23 23:11:49 +02:00
Andreas Gohr 8af2e4bbb7 default policy for installer
darcs-hash:20060728093653-7ad00-fc481b0ae7707516de089bfd88dba3eee0f33f3d.gz
2006-07-28 11:36:53 +02:00
Andreas Gohr 1d5856cfe6 two-stage password reset
This patch changes the password reset function to a two-stage process.
After requesting a new password a confirmation email is sent first, only
if the link contained in this mail is used the password is changed for real.

This makes sure malicious people can't reset passwords for other users.

darcs-hash:20060714110548-7ad00-c1e23fd51cc2d2f16473914421ebe0f9c3b2ba8c.gz
2006-07-14 13:05:48 +02:00
Andreas Gohr 409d7af7c9 disableactions support
This patch adds a config option to disable certain internal action commands of
DokuWiki's main dispatcher.

The options resendpasswd and openregister were removed because they can now set
through this new option.

The config plugin needs to be adjusted.

darcs-hash:20060702121622-7ad00-1e80e77bcfb0ae561fe7abd79cfbe1bb158be720.gz
2006-07-02 14:16:22 +02:00
Sebastian Harl a06e4bdbec register notify #826
A small patch for dokuwiki which enables dokuwiki to notify the
administrator about new user registrations

darcs-hash:20060615194419-022eb-51630aff3c6d93abc656742fc0bc723b93f97734.gz
2006-06-15 21:44:19 +02:00
Andreas Gohr 847b82981c $conf['fetchsize'] added
This patch adds an option to configure the maximum size for files the fetch.php
will ever download. Setting this to 0 completely turns of the caching of external
media files.

Disadvantages of setting a low or zero fetchsize:

  * fetch.php needs to download images to be able to resize them. When the used
    fetchsize prevents the downloading the images can only be resized by the
    browser which means the browser will need to download the fullsized image first.

  * If the linked external media files vanishes it will no longer display in the
    wiki because it is not cached.

Advantages of setting a low or zero fetchsize:

  * fetch.php may be used for a possible denial of service attack by requesting
    many big external files.

  * The created cache files may take a lot of space on the server

I recommend to leave the setting at 2MB for internal and private wikis and lower
the setting to about 200 to 500 Kb for bigger public Wikis.

Note: the caching of files uploaded through the media manager is not affected by
this setting.

darcs-hash:20060615184847-7ad00-04fc39928f7d72e56f5c5e271013ef265436e6c9.gz
2006-06-15 20:48:47 +02:00
Andreas Gohr f8f8e2de81 gzip_output defaults to 0 now
darcs-hash:20060525113648-7ad00-ddc022eea6a5257ba63253a385c1f50b968d0c6e.gz
2006-05-25 13:36:48 +02:00
Andreas Gohr 077dc9d51a fixed rfc interwiki link
darcs-hash:20060523191005-7ad00-fcf447b92eb25239e67f3af977e1c6f6031d2f24.gz
2006-05-23 21:10:05 +02:00
Andreas Gohr 3df72098bb new mediamanager
This patch adds a completely rewritten media popup. The following noteworthy
changes were made:

- media manager uses a collapsible namespace tree
- media manager uses AJAX if available
- media manager popup can be kept open when selecting a media file
- only one template is used for the media manager :!: Template
- Editable image metadata is configured in conf/mediameta.php now
- The JS cookie mechanism was enhanced to store key/value pairs
- Language strings can be exported to JS in js.php

darcs-hash:20060519165023-7ad00-4932b4553fc919aa4a8b8187958b823acf4f8cee.gz
2006-05-19 18:50:23 +02:00
Ben Coburn 524be65dda gzip content-encoding option
- 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
2006-05-16 10:41:32 +02:00
Ben Coburn 2b03e74de5 jpg quality option
- 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
2006-05-16 08:23:21 +02:00
Andreas Gohr b083dd68ee changed man> interwikilink to reflect recent changes
darcs-hash:20060417164547-7ad00-7270f4d88b027d179b1f600fc347eea8db8a8f83.gz
2006-04-17 18:45:47 +02:00
Ben Coburn fbf8293902 RSS update time and 304 Not Modified
- Gives the wiki administrator control over how often the RSS feed is regenerated.
  - The RSS feed now handles conditional requests and returns HTTP '304 Not Modified'
    responses when possible.

darcs-hash:20060324133315-05dcb-3b814e28523f2a0717222a4940d6fbbb28576cf5.gz
2006-03-24 14:33:15 +01:00
Andreas Gohr ee4c4a1b5a Automatic draft saving
DokuWiki now automatically creates a draft file of the currently edited
page. In case of an editing interuption (eg. Browsercrash) the draftfile
can be continued later.

darcs-hash:20060311200148-7ad00-919337a51e001136178d175a1755cd26122e9726.gz
2006-03-11 21:01:48 +01:00
Andreas Gohr 40e23b5e7d wordblock update
darcs-hash:20060305140026-7ad00-498d21dbef19baf2b760d3c49edbf55125f6acc3.gz
2006-03-05 15:00:26 +01:00
Andreas Gohr 1ca31cfe69 simplified file permission handling
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
2006-03-04 16:40:38 +01:00
Andreas Gohr 56146e0d4b make umask an empty string for system default
darcs-hash:20060304001433-7ad00-51931e5a0eccec14b63ef215b0fa535bb2484a29.gz
2006-03-04 01:14:33 +01:00
Guy Brand 6733ffadac umask/mode should not be commented out
darcs-hash:20060303204706-19e2d-d7f95669aa1b703c31db1fe36e08b7368a49d337.gz
2006-03-03 21:47:06 +01:00
Andreas Gohr fde8d20b16 fixed phpfn interwiki link
darcs-hash:20060303224553-7ad00-89da1f7b672f34fd5acbcb06914f3907ed34bab2.gz
2006-03-03 23:45:53 +01:00
Andreas Gohr b744177907 no default targets
Using the target attribute is considered bad practice. This patch removes
the default targets from dokuwiki.conf and fixes the footer.html of the
default template accordingly

darcs-hash:20060302134306-6e07b-cae2e54472687abb50f7cb97bd6c479b7c7d97d7.gz
2006-03-02 14:43:06 +01:00
Andreas Gohr a794f25d0f mimetypes and icons for opendocument formats #722
darcs-hash:20060302105634-6e07b-217c0dfad45ce76f5d4ba155379947c41f5216f5.gz
2006-03-02 11:56:34 +01:00
Andreas Gohr 6c2bb1005f Allow non-ID names in ACLs
Some auth backends allow special chars like whitespaces in user and group
names. This made problems with the existing ACL checks and ACL manager.
This patch makes the ACL system work with these cases by (url)encoding all
special chars below 128.

darcs-hash:20060302101850-6e07b-14bda9dbdb3528904325419b35bb9eddb0d1dde3.gz
2006-03-02 11:18:50 +01:00
Troels Liebe Bentsen 44881d2722 Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct permissions, this should also fix problems with dokuwiki making setuid files on some umasks.
* Don't set the umask() anymore, this is not good form and we don't really know what is it in the old code anyway as it was not done properly.
  * Retire the dmask config option introduce 2 new ones called fmode and dmode, this is more in line with posix and should make more sense.
  * Use chmod for setting the correct permissions but only if it's needed.
  * Set changing of permissions off by default as i should work properly in most Apache setups without and it does not make sense on windows anyway.

darcs-hash:20060224211655-ee6b9-68f7bb59417d6f0033cfd3764146923daa4dcf1b.gz
2006-02-24 22:16:55 +01:00
Troels Liebe Bentsen ac9115b033 Fix wrong umask usage and so we set the correct file premissions.
darcs-hash:20060218183251-ee6b9-798ab2994526311b1e58f04e7684b39b51426887.gz
2006-02-18 19:32:51 +01:00
Andreas Gohr db7650cce8 commented out all entries in local.php.dist
darcs-hash:20060224185810-7ad00-b992f75bc356b68746963260f80ed50ac97d4d5e.gz
2006-02-24 19:58:10 +01:00
Sean Coates 31e187f856 hierarchical breadcrumbs
This patch adds optional hierarchical breadcrumbs. This was discussed last
december in http://www.freelists.org/archives/dokuwiki/12-2005/msg00112.html
and followups. Many people where in favour of this.

darcs-hash:20060224155631-21b7e-10f25b7bdf60120ec99850afefd4d1662c5b87aa.gz
2006-02-24 16:56:31 +01:00
Andreas Gohr 8a831f2bba romanization support in utf8 library
This patch addes basic romanization support to the utf-8 library. It
converts non-latin languages to ASCII.

The transliteration tables used where gathered from various places
on the net. I do not speak any of those languages so I can't say how
good they are. Any recommendations and fixes are welcome!

This can be enabled for ID cleaning by setting the deaccent option to 2.
It is also used in the XHTML renderer to generate section ids based
on the header titles. Leading digits and any remaining non-ASCII chars
are removed as well. This is the first step to make section ID always
XHTML compatible. Making sure they are unique is not implemented yet.

darcs-hash:20060210200627-7ad00-61a633563bb92a00ef4a3f699d73117139cbf367.gz
2006-02-10 21:06:27 +01:00
matthiasgrimm 24bc1a35cb MySQL canDo() patch
This patch adds a canDo() function to the MySQL backend to
give higher program levels the opportunity to find out what
functions the MySQL backend provides.

Furthermore the option encryptPass was renamed to
forwardClearPass because the old name was misleading and not
clear.

Last but not least the mysql.conf.php was reorganized to make
clear which SQL statements enable which functions.

darcs-hash:20060130192750-7ef76-2ba9388ea56b17e4f26feda74a66b7d9b8da7333.gz
2006-01-30 20:27:50 +01:00
Andreas Gohr 8fd2f03ac0 resendpasswd option added
darcs-hash:20060129131054-7ad00-aa633eafdd206cb38c710cc6a6de958c14eecb6d.gz
2006-01-29 14:10:54 +01:00
Andreas Gohr 1d3e027231 moved translations for ACL manager
darcs-hash:20060127141826-7ad00-c1689c7db5c4831fbbfca4a4c6c5f27c64546951.gz
2006-01-27 15:18:26 +01:00
chris 20e7ccb0f1 config plugin update & removal of $conf['pluginmanager'] option
darcs-hash:20060126011342-9b6ab-40d04573bef34fa4012edac74186355b9a7ff0d9.gz
2006-01-26 02:13:42 +01:00
matthiasgrimm dfdd92d566 MySQL modify user patch
This patch changed the function modifyUser(). Before this update
each data change was applied by deleting and re-adding the complete
user entry. The new function uses the UPDATE SQL statement.

Furthermore all human readable error messages were removed. The
calling procedure is in charge now to inform the user about
failures. Internal debug messages were added. They can be enabled
in the configuration file.

Last but not least the module retrieves the database version now
to handle incompatible features between different MySQL versions.

darcs-hash:20060124190625-7ef76-f6dffabf230155aa51bf3c8569c31fd444634407.gz
2006-01-24 20:06:25 +01:00
matthiasgrimm a771ad3a6d MySQL backend code cleanup fix
This patch make the MySQL backend work again after Andi's code cleanup ;-)

darcs-hash:20060122125327-7ef76-5b7a46fa8bc49fc68a11a44fabddc9753e9a1dfb.gz
2006-01-22 13:53:27 +01:00
Andreas Gohr 8b9da5a717 Added Google sitemap support #371
This patch addes the automatic creation of Google sitemaps. The map
is created in the DokuWiki root dir and named sitemap.xml.gz if gzip
compression is available - if not the gz extion is skipped.
How often the map is recreated is defined through the $conf['sitemap']
option. It accepts a day value.

darcs-hash:20051126234709-7ad00-6ff4b0e79670cdfa39e615ec9dc40146ffcc9dd4.gz
2005-11-27 00:47:09 +01:00
Andreas Gohr 2649b1a40f option to send 404 header for missing pages
darcs-hash:20051125123614-7ad00-42e0ab6a594e177603175ee37467fc2bdd45d2cb.gz
2005-11-25 13:36:14 +01:00
Andreas Gohr b7f6218b96 rpm file filetype added
darcs-hash:20051118160203-7ad00-252721783583771e92d06db312329d578d811861.gz
2005-11-18 17:02:03 +01:00
Matthias Grimm 75bfc19c4f MySQL auth module documentation
This patch completes the documentation of the MySQL SQL statements
that are necessary to run the mysql OO auth module in mysql.conf.php.example.

Some pattern names in the code were not in line - fixed.

darcs-hash:20051107210740-4145d-cdf140b6d14664ce9c1a85f67e1bf8feb294c17b.gz
2005-11-07 22:07:40 +01:00
Matthias Grimm 3ff230f7a8 mysql extension for OO auth system
This patch adds the mysql extension to the OO auth system. The SQL statements
are defined in conf/mysql.conf.php.example and needs to be adapted to the
local database. The set of statements work with the database structure described
in conf/mysql.conf.php.example.

This module is beta and heavy testing in different environments is recommended.

The documentation of the SQL statements is not complete yet

darcs-hash:20051106130303-4145d-28acb18584822f8d1eafa1d63e206f2e83f64009.gz
2005-11-06 14:03:03 +01:00
Andreas Gohr 0dc92c6f78 hidepages configoption
This new option accepts a RegExp to filter certain pages from all automatic
listings (RSS, recent changes, search results, index). This is useful to
exclude certain pages like the ones used in the sitebar templates. The
regexp is matched against the full page ID with a leading colon. If it
matches the page is assumed to be a hidden one.

IMPORTANT: this is not related to ACL. A hidden page is still visible to all
users (if not restricted by ACL) when linked or called directly.

darcs-hash:20051103101726-6e07b-8d45912a1b4f6cfc9e3fce147c15f84a58ea7ca2.gz
2005-11-03 11:17:26 +01:00
Andreas Gohr 78a6aeb15a More work on Javascript and CSS dispatchers
darcs-hash:20051029185222-7ad00-c184ab3496539f3027407c7d17e8770a1849546a.gz
2005-10-29 20:52:22 +02:00
Andreas Gohr f42d1c7531 option for disabling debug output
darcs-hash:20051027183410-7ad00-5ca48cf2d4058016f5cf07887d9eaa7b07a4043f.gz
2005-10-27 20:34:10 +02:00
chris 8b06d17822 auth update, incl. auth object, plain.class.php; resend password & update profile actions
darcs-hash:20051020181434-50fdc-44222aa2074bb0e39a1c240c516259579b380740.gz
2005-10-20 20:14:34 +02:00
Andreas Gohr d9aba8f4c1 blacklist update
darcs-hash:20050922171132-7ad00-926fcd98726b1bd7451e48bf63a1c9443647e8ec.gz
2005-09-22 19:11:32 +02:00
Andreas Gohr 046bfd80be blacklist update
darcs-hash:20050919182036-7ad00-f49586d597a4298c801d635f1b6f5a68c7423085.gz
2005-09-19 20:20:36 +02:00
joe.lapp 9773c5edfd $conf['toptoclevel'] specifying topmost level of TOC
Particularly useful with $conf['useheading']

darcs-hash:20050917041821-36b45-4187b687b6ade759035d0d695eb715f9192c1a7e.gz
2005-09-17 06:18:21 +02:00
joe.lapp 31f1284d83 $conf['rss_type'] selecting default RSS feed type
darcs-hash:20050916203729-36b45-e260ee168228c79204402c72244f7561e02dd8eb.gz
2005-09-16 22:37:29 +02:00
joe.lapp 92e52d8df3 $conf['rss_linkto'] specifying default RSS feed linkto
darcs-hash:20050915153238-36b45-6a10efcc6969713d3c2554ab610535ebae95aca1.gz
2005-09-15 17:32:38 +02:00
joe.lapp 4b5db43bf4 $conf['sepchar'] support
Allows user to select the word separation character in page names.

darcs-hash:20050915012947-36b45-3d6b53cda05a7d7c2eb3497f4732f7492a63e9aa.gz
2005-09-15 03:29:47 +02:00
Andreas Gohr ef7b3ecdc3 option for setting baseurl #523
darcs-hash:20050912173116-7ad00-d342f7b065591097b19966e4650192d449a6039e.gz
2005-09-12 19:31:16 +02:00
Pavel Vitis 683757541c support for ImageMagicks convert in fetch.php
This patch allows one to set $conf['im_convert'] to use ImageMagick
instead of PHPs libGD to resize images. convert is more powerful
than libGD - it can resize animated gifs for example.

darcs-hash:20050911140225-c484b-10fbb66d003c839debc98edf814e261bddea3aa6.gz
2005-09-11 16:02:25 +02:00
Andreas Gohr 506fa89365 the search now uses the index
darcs-hash:20050903220229-7ad00-5d95f905eaeb3f6b867aa3ee43c2a8bccc533c00.gz
2005-09-04 00:02:29 +02:00
Andreas Gohr 94de3b7a8d HTTPClient is now used for RSS fetching
darcs-hash:20050902201230-7ad00-3446903b251caa6b0422603fc738b4d4ba872906.gz
2005-09-02 22:12:30 +02:00
chris d66e3ddfed non-intrusive changes to support plugin manager
darcs-hash:20050824231545-50fdc-2d0fc2e9efba6c6d740f00c9113d07eabc3963ce.gz
2005-08-25 01:15:45 +02:00
steven-danz f9eb564843 subscribe_changes.patch
Updates to the subscription patch to add a configuration option to enable/disable
the feature, move the messages to the language files, and general cleanup

darcs-hash:20050808045034-4c315-88a72dc8d2b22fdd9af8caa0505ef5c737965c86.gz
2005-08-08 06:50:34 +02:00
Andreas Gohr a2bd8ce750 Personal wordlist for spellchecker #488
This patch allows you to add a file named conf/words.aspell with your own
words you don't want the spellchecker to choke on.

Thanks to Steven Danz for code idea

darcs-hash:20050731172612-7ad00-60fb3f09589c4758f1093f532de9699beb048569.gz
2005-07-31 19:26:12 +02:00
Andreas Gohr 8e8296e740 removed custom.conf
custom.conf is no longer supported

darcs-hash:20050723205235-7ad00-6bec0d0fdd57d321784edd014917ddc4257fe3e5.gz
2005-07-23 22:52:35 +02:00
andi fbdf49cba0 spamlist update
darcs-hash:20050713173724-9977f-7de120262968b766b16bf27915e61bc1d0947fb0.gz
2005-07-13 19:37:24 +02:00
andi 228e57578e wordblock update
darcs-hash:20050701142901-9977f-86bda7dbbc8b1c297b7aefb25069d8005fe05281.gz
2005-07-01 16:29:01 +02:00
andi d85674c9ac added OpenOffice Mimetypes #423
darcs-hash:20050627165659-9977f-7ef857696090d2c97cb3f3684227effe2f8aabf9.gz
2005-06-27 18:56:59 +02:00
matthiasgrimm e28299cce1 redefine reference check options
This patch correct the meaning of the reference check configuration
options. They become more logical.
  refcheck    boolean   Enable/Disable the reference checker. If set
                        to '0' the existence of references is not
						checked and vica versa.
  recshow     int       defines how many references should be displayed
                        If set to '0' no references are shown at all.

This meaning is more logical. The first parameter switches the checker
on/off and the second would be set, if the user wanted to see where the
references are and how many should be displayed.

darcs-hash:20050626153207-7ef76-0800eb2e394bf1b9f4233e7698b4d894f4b58e5b.gz
2005-06-26 17:32:07 +02:00
andi 98407a7ab8 directory cleanup
This cleans up the directory structure as discussed on the mailning
list. Users should delete their previous _cache directories to
recover diskspace.

darcs-hash:20050626100913-9977f-83c0fdc32047db2090fc52a843ffae50cbf12248.gz
2005-06-26 12:09:13 +02:00
matthiasgrimm d0c4dcfdc1 option merge of refcheck and refcount
The options refcheck and refcount were merged to refcheck. This reduces
configuration options and make the function more robust.

darcs-hash:20050617201556-7ef76-47841e0b8713a26b6fb7eacffa9e89752f65ae50.gz
2005-06-17 22:15:56 +02:00
matthiasgrimm 4dc4b499e8 make DokuWiki xml conform
XML has problems with usual PHP shortcuts like '<?' or '<?

darcs-hash:20050617130335-7ef76-8e98db5cdae5f8b81993a380cb3d3acc9ac33dbd.gz
2005-06-17 15:03:35 +02:00
matthiasgrimm d67ca2c0f7 media reference check part 2
Part 1 only checks for the existance of references.
Part 2 will show where this references are so that the user
could easily find them.

Both parts are configurable:
refcheck

darcs-hash:20050616163425-7ef76-a7fce6cd1ef5d2cc2e4ac3b869969a65c671770a.gz
2005-06-16 18:34:25 +02:00
matthiasgrimm b59a406b93 media reference check
This patch implements the first step of a media file reference
checker. Every time the user wanted to delete a media file
it would be ckecked for still existing references to this media
file. File deletion is denied if this media file is still in use.

darcs-hash:20050605185038-7ef76-475e5990609587e1b8cee0e155fa6002f1c5b27c.gz
2005-06-05 20:50:38 +02:00
andi dc57ef04af AJAX spellchecker #29
This is nearly a complete rewrite of the gmail like AJAX spellchecker
from http://www.broken-notebook.com/spell_checker/index.php

Here are the differences and features

  * seemless integrated into DokuWiki
  * no need for the pspell extension
  * needs GNU aspell installed (not sure about the version I guess
    0.60+ for UTF8)
  * needs PHP 4.3.0+
  * uses SACK for AJAX
  * gets errors and suggestions in one transfer

So far only tested in Firefox. It should work in IE, Safari and
Opera 8, too. Please test and report back.

darcs-hash:20050607194456-9977f-f699144d1fd28359742b2ce0f28c839a1f4cefbb.gz
2005-06-07 21:44:56 +02:00
andi f62ea8a1d1 directory layout cleanup !IMPORTANT
This patch changes the directory structure of dokuwiki as suggested
in http://www.freelists.org/archives/dokuwiki/06-2005/msg00045.html

As the changes.log is not managed through darcs you need to move it your
self to the new location in data/changes.log

I think I modified the code at all nessessary places, but I may have
forgotten a few things.

darcs-hash:20050605103842-9977f-af20f63c1d604888375d175d89ac6bd71566d47d.gz
2005-06-05 12:38:42 +02:00
Matthias Grimm e09875dbfe fixed mime type for RTF #361
darcs-hash:20050530180343-4145d-027716bcbc51e10dd36eeb0a16657eb10b371297.gz
2005-05-30 20:03:43 +02:00
andi d7be624595 Support for MySQL hashed passwords added (old and new style)
darcs-hash:20050514135518-9977f-217e9b111e8d42389e114a530209dbd3fdab3c76.gz
2005-05-14 15:55:18 +02:00
andi aec5d174af added AJAX to acronyms
darcs-hash:20050513152833-9977f-d14d56f5536fda4264f12ef81e5ad4db140f77eb.gz
2005-05-13 17:28:33 +02:00
andi b0855b1105 multiple hash methods for passwords
This patch allows the method for hashing (onewaycrypting) the user passwords to
be set with $conf['passcrypt']. Available are MD5, salted MD5, SHA1 salted SHA1 (SSHA)
and the old Unix crypt (2 char seed).

This change was inspired by a mail from Chris Brotherton (thanks for making me think about this)

darcs-hash:20050513152248-9977f-2358b26449ed865a981c8558308a2857ba17c12f.gz
2005-05-13 17:22:48 +02:00
jan 8c4f28e821 Turn sensitive files into scripts that exit immediately
darcs-hash:20050512204225-45605-bee22b4df3d23374bc4922ede8f48106ea217209.gz
2005-05-12 22:42:25 +02:00
matthias.grimm cab2716ac2 user registration without email
This patch extends the user registration with a more direct
way without the need for an valid email address. The user
password is queried in the registration form and not automatically
generated and sent by email. This mode could be configured with the
new option 'autopasswd'. Some new texts were added for translation
but only english and german translation databases have been updated
yet.

darcs-hash:20050508200129-45302-ad4f2cf1d18514c76373cb6d6015e74712638402.gz
2005-05-08 22:01:29 +02:00
andi 110835456a example local.php added
darcs-hash:20050506174256-9977f-0dc70f659d591ed62c03564a1db874e172ae66cd.gz
2005-05-06 19:42:56 +02:00
andi cd9ab85b21 blacklist update
darcs-hash:20050506145725-9977f-5c317b0bba373c7521aabfa5640e899713c5f892.gz
2005-05-06 16:57:25 +02:00
andi 2a27e99ac0 more cleanup
darcs-hash:20050429205436-9977f-762f3ded6f93cfb3e068f3acdc1bb80690ad658b.gz
2005-04-29 22:54:36 +02:00
andi 6c7843b5ad added internal rewriting
darcs-hash:20050429205320-9977f-6bf54f3b022104a0a9aefa882dfba09a98bc9c2a.gz
2005-04-29 22:53:20 +02:00
andi 92b83b77a9 basedir option added #292
darcs-hash:20050429104545-9977f-ac44f6be6333965c96a5d3bca7acde9f610d4d78.gz
2005-04-29 12:45:45 +02:00
andi 18509c28d4 small acronym fix #282
darcs-hash:20050427180844-9977f-bb8e94037594c32662e481dac300543814dca0c3.gz
2005-04-27 20:08:44 +02:00
andi f243a77fe3 small fixes, spamlist updated
darcs-hash:20050424191942-9977f-2ffbb2a682d43151de5fb759020732932a10b216.gz
2005-04-24 21:19:42 +02:00
andi 4826ab45be new parser: images, added flash support #154
darcs-hash:20050415121416-9977f-583ee34659f70017fec4f8b8a4de327c5b1631e4.gz
2005-04-15 14:14:16 +02:00
andi 426d8ff4db more fetch.php hacking
darcs-hash:20050414205219-9977f-abd598794c5261b12a89d402e481d3425851d2b9.gz
2005-04-14 22:52:19 +02:00
andi 4de671bc5e new parser - more fixes
darcs-hash:20050410170115-9977f-620a5fccdc80d5af01d0b9aec9f8b1fb8e4c667d.gz
2005-04-10 19:01:15 +02:00
jan a77f584692 Use first heading as page name in links.
I just read "Don't make me think!" by Steve Krug, about
web usability, and I liked its common sense a lot.
One message was that every page should have a title,
and that it should literally match what you click to
get there.

This patch tries to automate that for Dokuwiki. In wiki
page links, it will fetch the first heading (the title)
and use it as the name in links (unless an explicit other
name is defined in the link). The same is done for
the breadcrumbs (at least the default ones). I believe
all this should make navigation  easier. The feature
is enabled/disabled with a configuration variable
called $conf['useheading'].

TO DO: more testing. Check whether the first heading is
at a unique high level (probably easier when true parsing
will be used.) Check hierarchical breadcrumbs. Perhaps
omit the title from the automatic table of contents,
and perhaps adapt the toc intentation of the lower
level headings.

darcs-hash:20050326130557-45605-bf7fdaf29e61924f2631af1bb95177ee0415c24d.gz
2005-03-26 14:05:57 +01:00
andi 6b13307fb4 template support (incomplete, maybe broken)
darcs-hash:20050306183159-9977f-22dbb69831b5fa2e28bbf62448c65053d96a2cb9.gz
2005-03-06 19:31:59 +01:00
andi 6ba61cb15e relnofollow added #181
darcs-hash:20050304184755-9977f-9dccfd8e8330b18c179298f2b0f09819cc5fb913.gz
2005-03-04 19:47:55 +01:00
andi ad15db82c1 load local.php from init.php
darcs-hash:20050304184127-9977f-9fbde6f7973ddc0a516f26fc18ee0ff1f19686e3.gz
2005-03-04 19:41:27 +01:00
andi 3dc3a5f166 safemode hack #179
darcs-hash:20050303222903-9977f-038e77fc63d17af9bda168d214cecd1cf84b5aa9.gz
2005-03-03 23:29:03 +01:00
andi aee3d64b09 using DOKU_BASE for local.php include
darcs-hash:20050302193328-9977f-4221f30768ee58c60247dcd42e8d98b7b1e6a5eb.gz
2005-03-02 20:33:28 +01:00
andi 3f7493134d blacklist update
darcs-hash:20050302192226-9977f-d222f383308822a72bc9941128323d98305600cd.gz
2005-03-02 20:22:26 +01:00
andi cccd8ff20a admin config changes
darcs-hash:20050225120234-9977f-2a1e6e63b41ffa7da98db82339230c08678de4f4.gz
2005-02-25 13:02:34 +01:00
andi 3a8a9050bc blacklist update
darcs-hash:20050219102741-9977f-dd9f2310af17a9c43dc9b0002996a2febfb112c4.gz
2005-02-19 11:27:41 +01:00
andi b0702bc072 updated blacklist
darcs-hash:20050204213231-9977f-efdd0d04b4e2068b839bcffceacd45834201d8d1.gz
2005-02-04 22:32:31 +01:00
andi 825ec23293 gdlib config option (fixes #106)
darcs-hash:20050201195637-9977f-0b793fe383ace1b8ecb0569ce8fb6a4fe404c84f.gz
2005-02-01 20:56:37 +01:00
andi 76b3c40936 coral cache interwiki link
darcs-hash:20050130121637-9977f-07e27567edf3255a99ad0a478d4ef0341a9f1113.gz
2005-01-30 13:16:37 +01:00
andi 1f8f3264b0 removed ldap stuff from config
darcs-hash:20050129170255-9977f-b69ffb1949555b2d4a79c3e926a48dc49057874d.gz
2005-01-29 18:02:55 +01:00
andi 8b709e9deb deaccenting config
darcs-hash:20050123201406-9977f-68b7ed58d460af96a0a076d973aa4f2568fb28b8.gz
2005-01-23 21:14:06 +01:00
andi f3f0262c48 Initial revision.
darcs-hash:20050112202454-9977f-60936f24fe2092a30223627e0683de2df61d0c4a.gz
2005-01-12 21:24:54 +01:00