| Commit message (Collapse) | Author | Age |
|
|
|
| |
darcs-hash:20080313012547-d5083-8d8f3c2ad62f08b9ed73827987d3b8be17f6b34b.gz
|
|
|
|
|
|
|
|
|
|
| |
Now higlighting phrases are passed as an array which then is quoted correctly
when used in a regexp. This should make phrase highlighting work completely
correct.
Please everyone test it.
darcs-hash:20080310214939-7ad00-1abefb02dde40edeead50b4fa5c866c46b95ca3a.gz
|
|
|
|
|
|
|
|
| |
This patch lets DokuWiki send mail notifications when any page inside
a namespace gets modified. Two actions are introduced: subscribens and
unsubscribens and two new buttons also appear in the bundled template.
darcs-hash:20080227155024-19e2d-8ce5bd66f4e870db31d6b438516599f294365ce1.gz
|
|
|
|
|
|
| |
This should help with diagnosing memory related problems
darcs-hash:20080223180701-7ad00-1308829c3d7432b1d0c23c3f1acc8228c0a41e1e.gz
|
|
|
|
| |
darcs-hash:20080223133200-7ad00-409ee76b0bb36a1dff7b6f09181692e0742a86fd.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces the use of the date() function with the strftime()
function. The latter will respect a set locale and will use localized
strings for things like month names.
Because the format options for strftime differ from the ones used in date,
DokuWiki will rest the value of $conf['dformat'] if it contains an old
date format string (detected by missing % characters).
Plugins or templates using the $conf['dformat'] need to be updated.
darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz
|
|
|
|
| |
darcs-hash:20080215175816-7ad00-f12f54210dceacf4b3580e78b2f86a21a23b4315.gz
|
|
|
|
|
|
|
|
|
|
|
| |
This patch addes namespace templates will be used for all new namespaces in
the same namespace and the namespaces below. They have to be named
__template.txt
Additionally can strftime() place holders be used in namespace templates
to insert any part of the current time into a template.
darcs-hash:20080126165959-7ad00-9a820e42d237e1aa0828996ebc9cf3d67d453128.gz
|
|
|
|
| |
darcs-hash:20080122222402-7ad00-436d561b2cc12a225c6f407540ba54268d6550d0.gz
|
|
|
|
| |
darcs-hash:20080122175535-23886-a6e9a9170bf23ebe460cccdbb06f97206d1d98eb.gz
|
|
|
|
| |
darcs-hash:20080118201511-f6de1-13f0ffff4f546298cce1a4e3dcd2d9679217ace8.gz
|
|
|
|
|
|
|
|
|
|
|
| |
DokuWiki will fire two IO_WIKIPAGE_WRITE events
instead of one when a page is deleted. The first event has no revision and
empty text in the data. Now the code conforms with the documentation at
http://wiki.splitbrain.org/wiki:events_list#io_wikipage_write
Now action plugins can act on page delete.
darcs-hash:20071221150130-79ce3-51092d13c2e29285e5580f704f409f25563134c6.gz
|
|
|
|
|
|
|
| |
... but with this patch DokuWiki will not break completely when left out for
trustExternal() auth backends
darcs-hash:20071203201532-7ad00-72dbc2d16e4c8c09cca9558286164f4d858c19ce.gz
|
|
|
|
| |
darcs-hash:20070930020815-d26fc-d9b3baf8c1bf0627dbdd011fd5791a3b11b09a82.gz
|
|
|
|
|
|
|
|
|
|
|
| |
The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure setups.
This patch replaces all realpath() calls with a PHP only replacement
which should solve those problems.
darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a session based token to all form in the default action plugins.
The validity of the token is checked before any administrative function is
executed aiming to protect DokuWiki's admin functions from Cross-site request
forgery (CSRF) attacks.
Another patch will follow to add the same functionality on other, less critical
functions.
More details on CSRF attacks can be found at
http://en.wikipedia.org/wiki/Cross-site_request_forgery
darcs-hash:20070829201538-7ad00-d0770224a3351fd8e38968e3a9d8e73520482445.gz
|
|
|
|
| |
darcs-hash:20070804125124-7ad00-5558de577207bb63af7629f278c24991f23924bc.gz
|
|
|
|
| |
darcs-hash:20070804071749-7ad00-c7e718c2e24f4ded10b5780e2881e232fab8e48c.gz
|
|
|
|
| |
darcs-hash:20070802174401-d26fc-d9a099773f08c1d85b4f481eb1b634d2e14eba86.gz
|
|
|
|
| |
darcs-hash:20070725211324-7ad00-97ee12f6e28ab8298775218adbcb571a3b79c2d6.gz
|
|
|
|
| |
darcs-hash:20070716201347-7ad00-0f9bd8c9a218cc880a7b4e00e0abc2dd4650f409.gz
|
|
|
|
| |
darcs-hash:20070613191542-7ad00-0e72b3c40f9593838641be5c4e728a8e1a68d550.gz
|
|
|
|
| |
darcs-hash:20070613152712-7ad00-903176f9d5632ab1f26a4d8849f7eb7523134874.gz
|
|
|
|
|
|
|
|
|
| |
In the checkwordblock check, the blocked word isn't used, so there is no need
to capture it. This might improve the spam check speed (untested).
See http://forum.dokuwiki.org/thread/752
darcs-hash:20070422100519-7ad00-61e364816942afdd0f714a703f15ac75c838fccb.gz
|
|
|
|
| |
darcs-hash:20070411193230-7ad00-95bf7919c303470ca0583d690a84522735974bb6.gz
|
|
|
|
|
|
| |
<fritzn@crown.edu>
darcs-hash:20070331213401-d5083-2c30028ab1c81465b0295106ce6a52ce18ad87cf.gz
|
|
|
|
| |
darcs-hash:20070106111209-7ad00-2f632e44c6062d0c428269feb4276e83124eedad.gz
|
|
|
|
|
|
| |
Replaces some simple regular expressions with standard (faster) string functions
darcs-hash:20070104194953-d2a3e-8fd0c89812277467c5bce566dfc3fba6ce1c3981.gz
|
|
|
|
|
|
| |
Replaces a print-loop with str_repeat concatenated with the final output
darcs-hash:20070104195358-d2a3e-a1f74b5380e7426b3f7e61c76d58e36363971eee.gz
|
|
|
|
|
|
| |
Replaces some simple regular expressions with standard (faster) string functions
darcs-hash:20070104194953-d2a3e-0b06e7a599a0177ad37a54497074893572e1cae2.gz
|
|
|
|
|
|
|
|
| |
Using more verbose constant names in the place of single character strings
should make the code much more readable. This does not change the behavior
of the changelog.
darcs-hash:20061207074906-05dcb-0bdc35e7241bf14063b2b43a6ff26d8a3c307cb9.gz
|
|
|
|
|
|
|
|
|
|
|
| |
Some changes to clearly identify when wiki pages have been edited outside
Dokuwiki. Also correctly attributes external changes from an unknown
author. Avoids sending extra emails when recording old external edits.
Adds a new language string:
$lang['external_edit']
darcs-hash:20061207032825-05dcb-3234bee57cb165c848b33abb9251502589b0f3cb.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The most recent changelog entry is already cached in the metadata as
'last_change' to avoid reading the page changelog on every request.
- Recache the last change if it is missing and still valid. This is
needed for when the metadata has been rerendered.
- Uncaches the last change when it has been invalidated by an external
edit. Ensures that external edits are not credited to the wrong
author.
darcs-hash:20061207011005-05dcb-3b1749f6626d07c4cc3de9587c45765423e2e4d9.gz
|
|
|
|
|
|
|
| |
this patch allows you to use @USER@ / @NAME@ / @MAIL@ in the "from" address
when sending a mail notification e-mail
darcs-hash:20061205201957-5224c-5637d6412106cb16af8817f07c8c02e95e4b3088.gz
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20061031224158-05dcb-0bf9505f51be5ab91f258254adfdded5f7087dcf.gz
|
|
|
|
|
|
|
| |
Removed a minor error that could be caused by a page back-dated
into the past. Also, added some more code comments.
darcs-hash:20061027000043-05dcb-1ccbb4c98b1b7b3358d99d8f097eb168d84259b7.gz
|
|
|
|
|
|
|
|
| |
The changelog list and the attic now are kept in sync.
This allows a changelog entry to be automatically constructed
for a page that was manually edited from outside dokuwiki.
darcs-hash:20061023052133-05dcb-11b8dbaee1da07fb1875bbe530e88d94871ed65d.gz
|
|
|
|
|
|
|
| |
There were recent reports of exceeded patternsize in the wordblock function
when used with PHP5
darcs-hash:20061009165557-7ad00-f35d44da296caf6fd85431520d600033402d9b2f.gz
|
|
|
|
|
|
| |
Fixes a header injection/XSS vulnerability
darcs-hash:20061008100523-7ad00-be06a942badb6a2a9ed862be003ee0050504b4b0.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch updates p_get_metadata() to utilise the in memory copy
copy of the current page's metadata ($INFO['meta']) when appropriate.
The patch also updates p_set_metadata() to synchronise any changes
to the current page's metadata with $INFO['meta'].
$INFO hash is updated with two new elements:
'id'
darcs-hash:20061004210030-9b6ab-7eab6f933a775fe350a1fb14d1118ea77d2db919.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch changes the DOKU_COOKIE define to be based on the DOKU_URL define.
DOKU_COOKIE is now used as session key as well, making sessions no longer
dependend on the title option. This should fix problems with multiple
wikis on the same host (using the same title) and wikis accessed through
different URLs.
darcs-hash:20061003121546-7ad00-aea4c256b7752815ed422ce74a659152a601d267.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default wordblock.conf provided by the guys at chonqed.org matches agaist
URLS beginning with http. But DokuWiki also links simple www.example.com links.
Spammers used this method to place blacklisted URLs in the Wiki.
This patch constructs full URLs from these shortcut-URLs before applying the
blacklist regexp.
The patch also fixes a problem with the toolbar not appearing when the blacklist
hit and denied saving.
darcs-hash:20060926192420-7ad00-519df90a5953b690428bfa0928de37b3053031b0.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
getVersion tries to find the date of the latest applied patch from
_darcs/inventory - this patch makes it only read the last 2000 byte
of the file instead of loading the whole file.
darcs-hash:20060916182955-7ad00-5a38de1ae4f1a206a8f62cc88551d4f0bc35340e.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch changes the tpl_metaheaders function to emit an event to intercept
the creation of HTML metadata.
The usually generated meta headers are passed in an array structure for easy
modification and enhancement.
darcs-hash:20060916154722-7ad00-b22ab79803d1abad4ca579b84b6a3fa466403619.gz
|
|
|
|
|
|
| |
Sorry, did mess up in testing the last patch.
darcs-hash:20060916000515-7ad00-3874991f9121ac80b2b3b66d4f5ac166702df1d1.gz
|
|
|
|
|
|
|
| |
Moves changelog code to 'inc/changelog.php'
and includes it from 'inc/common.php'.
darcs-hash:20060911023822-05dcb-e727737011163cbf04f0a4c682cb9fd8a985e597.gz
|