| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.
Parser and Plugin stuff isn't handled by the class loader yet.
|
| |
| |
| |
| |
| | |
The new COMMON_PAGE_FROMTEMPLATE is triggered by pageTemplate AFTER the template
has been read but before performing the template replacements.
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Ignore-this: 286b24e2f71cf179f8a70aba64a42b48
darcs-hash:20091201140148-9b77a-5c79f87861bda812f1bb62de613930a6313cf041.gz
|
|
|
|
| |
darcs-hash:20091109105238-e4919-9167dfd206edb61de6430316d6d4b9e8a8860f20.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes of behaviour are:
* Allow the user name, title & description \e2\80\9c0\e2\80\9d
* Default to Port 443 if using HTTPS
* Set $INFO['isadmin'] and $INFO['ismanager'] to \e2\80\9cfalse\e2\80\9d even if no user is
logged in
* Do not pass empty fragment field in the event data for event
ACTION_SHOW_REDIRECT
* Handle chunked encoding in HTTPClient
darcs-hash:20091104100115-e4919-5cf6397d4a457e3f98a8ca49fbdab03f2147721d.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: 7193cd788fee2c05a9068bf6edd5dc17
It is now possible to use the %f placeholder in $conf['dformat']
to add a fuzzy age string.
Template developers and plugin authors should replace their strftime +
$conf['dformat'] calls with calls to the new dformat() function.
Example:
%Y/%m/%d %H:%M (%f) produces dates like this:
2009/09/16 10:36 (3 weeks ago)
darcs-hash:20091007133614-6e07b-677108d1b43928ef8fd886813e43514507b5e073.gz
|
|
|
|
|
|
|
|
| |
Ignore-this: 6d0e4f4fce5911667467f92cefaabaef
This still needs to be made accessible within the dtformat config option.
darcs-hash:20091007122232-6e07b-bbb6f97ae84bc9aa079fe328665f8164ae119804.gz
|
|
|
|
|
|
| |
Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: a66fc8874fb8e04b1258f2e71e35ed90
To avoid fetch.php being abused as anonymous forwarder or even proxy, now a
hash is needed for external ressources. This hash is automatically added by
the ml() function.
darcs-hash:20091006182001-7ad00-adf5f6275b0d7f76543f76d6196f1531b8c09e1c.gz
|
|
|
|
|
|
|
|
| |
Ignore-this: c57d8ca5898c396f6315e8faeeb7c587
Looks like the Windows fonts are far less complete than I thought :-/
darcs-hash:20090727172305-7ad00-1614baf9238c73e489302d7e91ca8495f26ed7f0.gz
|
|
|
|
| |
darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: 3ef4fafa34a7bbba76435b5db6935b57
There is no need to fight against a privilege stealing attack when the
attacked user has no privileges.
Skipping the check reenables editing without cookies again.
darcs-hash:20090527112243-7ad00-c1acd3161ececf3d922d5842033cb7d3f1910a16.gz
|
|
|
|
|
|
| |
Ignore-this: 74d18220baea88b5826d46c78998fa04
darcs-hash:20090526120748-7ad00-b3a0bddc53ba3c6c3b824cfbed15450cc0ec406e.gz
|
|
|
|
| |
darcs-hash:20090306185717-7ad00-64bc35049667483988dcc3f5b8128f8a5f7f8fe7.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: b30b94c67baa8a8916dd216424e9473c
As auth_logoff is called very early for all not-logged in users it
prevented writing the breadcrumbs and might have broken some other
things relying on a open session at beginning of the script.
auth_logoff now makes sure the session is open but will not close
it.
Additionally the session is now explicitly closed before a redirect.
darcs-hash:20090210100257-7ad00-50470f18edb9fdbeb555fbf5d8a470a3b077915d.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: 37b33f575e4c0b31e4af93185bf74f0f
When IIS is running PHP in CGI mode it will not send cookie headers on 302
redirections. This is a known bug (KB176113).
This patch will detect affected servers. Instead of a 302 redirect a Refresh:
header is issued. This is supported by all known browsers should have the same
effect as a real redirect.
darcs-hash:20090127204506-7ad00-ce474f3b0db003e86e09d5e9a9bd7c96887ac01c.gz
|
|
|
|
|
|
|
|
| |
There is a new media changelog now, with the flag RECENTS_MEDIA_CHANGES media changes can be requested from the getRecents()-function or the new getRecentsSince()-function, that returns all changes since a given timestamp and optionally before a given timestamp. The media upload and the XML-RPC-server have been changed to use these functions.
Additionally, the event MEDIA_UPLOAD_FINISH has been extended, it has a new $data-attribute (the 5th), that contains a boolean if the file does already exist and will be overwritten.
darcs-hash:20090118154345-074e0-5d9a90d269e86d8c6a156ecce5cf63115c827433.gz
|
|
|
|
| |
darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and/or navigation links
$conf['useheading'] values are now:
- 0 : off, use page name in link text
- 'content' : use first heading text for links in wiki page content
- 'navigation' : use first heading text for links in non-page content, e.g. breadcrumps, backlinks, search results, etc.
- 1 : use first heading text in all links
(for backwards compatibility, any other values are mapped to 0 or 1 by empty() function.)
$conf['useheading'] value should now be checked using the useHeading($linktype) function,
where linktype can be "content" or "navigation"
darcs-hash:20081119140758-f07c6-6e26456d50dcecc949fada31b0d4e72877fde1cc.gz
|
|
|
|
| |
darcs-hash:20081026135833-23886-a9c8e910571c6e7a4e1603a2ebd365b3ed37108a.gz
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a @FILE@ placeholder for namespace templates which is similar
to the @PAGE@ placeholder but keeps underscores intact. It also adds
placeholder to insert the page name with a first uppercase character, all words
uppercased or the whole string uppercased.
The utf8 library was enhanced with utf8_ucfirst and utf8_ucwords functions
darcs-hash:20081026084239-7ad00-1a4be6bb85280df025ca308d4ed2e50da1cbc9cf.gz
|
|
|
|
| |
darcs-hash:20081016181955-7ad00-5745635416542fd04dbdf67cbf043bf446e995bc.gz
|
|
|
|
| |
darcs-hash:20081012212826-7ad00-0027ac926fdaa413521704536465bb83938a4366.gz
|
|
|
|
| |
darcs-hash:20081012192728-19e2d-5219ad7bf461a758b62ee311598937ecd958916b.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This event allows action plugins to take action if a wordblock occurs.
Event data:
data[matches] - array of wordblock matches
data[userinfo] - detailed userinfo
[ip] - ip address
[user] - username (if logged in)
[name] - real name (if logged in)
[mail] - mail address (if logged in)
darcs-hash:20081012174849-23886-0ac42addc14ee3e36e961272de229a6002d052e9.gz
|
|
|
|
| |
darcs-hash:20081012113150-7ad00-6408da058bdb6c923159d445e03b76f54b579362.gz
|
|
|
|
| |
darcs-hash:20081011164342-2b4f5-b2e26e17ce970927ddbc0c5b888815063d613b0e.gz
|
|
|
|
|
|
|
|
|
|
|
| |
At present, DW shows the username on the bottom left under "logged in as", and the login name for "last modified", "locked by" and under
revisions/recent changes. In a corporate environment, particularly when integrated with a Single Sign-On system, the login name may be somewhat
unfriendly. This patch makes the "logged in as" the same as the value used elsewhere and also allows an admin to decide whether it should be the
login name, username or e-mail address that is displayed. The e-mail address may also, optionally, be a mailto: link. E-mail addresses are
obfuscated according to the 'mailguard' setting. The default behaviour is to show the login name which is no change from previous behaviour for the
"last modified"/"locked by"/revisions/"recent changes", but is a change for the "logged in as".
darcs-hash:20081001152914-6ad63-9cd7174068ac55de381f1318a4401f8c51de5b0c.gz
|
|
|
|
|
|
|
|
| |
This patch adds detection of mobile browsers to DokuWiki. $INFO[ismobile]
will be set to true for mobile browsers. Template authos can use this to
adapt their template dynamically. CSS support will follow.
darcs-hash:20080823152454-7ad00-67e50139572a746d2b356bdbb2a53a3f21b53bcb.gz
|
|
|
|
|
|
|
| |
Default parameters like cacheÊche or empty width or heights are stripped
from media URLs now.
darcs-hash:20080817134207-7ad00-4b53c1f9b121fcbb3e0c5cc38e672f1b20157956.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When displaying pagename matches in the Ajax quick search or normal search,
the namespace of the page is shown behind the pagename. This makes it easier
to distinguish the pages when the same namespace is used in different namespaces.
To avoid breaking the layout in deep nested namespace hierarchies, the namespace
is shortened in the middle when needed.
This patch also disables the effect of the useheadings option in the Ajax quick
search. After all the results should show what was found and since the search
works on pagenames not headings it should show pagenames as result.
darcs-hash:20080814194826-7ad00-9add9c1bbbb4f4ede3c6884d37427644b2cddc56.gz
|
|
|
|
|
|
|
|
|
|
|
| |
Running the /bin/indexer.php or the searchindex plugin fails in php5
with several type cast errors. This can be fixed using explicite type casts.
Secondly the include plugin requires the auth.php to be present. As some other
plugins might use quick-acl or the $auth too, indexer.php should require the auth.php
just as the lib/exe/indexer.php does.
darcs-hash:20080804112444-f4337-e12f25329236689b05e31f0db2119e47660a9404.gz
|
|
|
|
| |
darcs-hash:20080407175410-7ad00-4c782db8b3d806d8034140a2b3d7994f53b1e0fc.gz
|
|
|
|
| |
darcs-hash:20080406174718-7ad00-89b3946e17ce49566c0f51f3194776a0bdb4768d.gz
|
|
|
|
| |
darcs-hash:20080405031301-6942e-d1e4f344f5cf165f625104f214f2bfae595a6e20.gz
|
|
|
|
| |
darcs-hash:20080331175353-7ad00-85da7f10269ead76b0f081aa1668cc27840c3b2e.gz
|
|
|
|
|
|
|
|
| |
With this patch applied the persistent meta data of pages is kept when a
page is deleted. This way the original page creator as well as the creation
time of the page is preserved.
darcs-hash:20080326200231-23886-ddb70151fadf25d0254d56408b71484047198096.gz
|
|
|
|
| |
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
|