| 847b8298 | 15-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
$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
$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
show more ...
|
| a6ef4796 | 11-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
namespace linking first part
This patch adds namespace linking - formerly known as globalstart patch.
It differs somewhat from the original patch. It is not implemented in getID() but in resolve_pa
namespace linking first part
This patch adds namespace linking - formerly known as globalstart patch.
It differs somewhat from the original patch. It is not implemented in getID() but in resolve_pageid().
It is now possible to link to a "default" file of a namespace ending the linkid with a colon: [[foo:bar:]]
To which page the link links is dependent on the xistance of certain named files. For the above mentioned link [[foo:bar:]] the following pages are checked:
foo:bar:start foo:bar:bar foo:bar
The pages are checked in the order above whatever page is found first will be linked to. If no page is found foo:bar:start will be chosen. BTW: 'start' is the value configured in $conf['start']
Note: autoplural linking is not done for those links
This is just the first patch. Several other locations of the code need to be adjusted to reflect this change and some testing needs to be done (first test cases are supplied within the patch bundle)
Things that maybe need adjustment:
- tpl_youarehere (hierarchical breadcrumbs) - tpl_button back - maybe others (search?)
Patches would be welcome. The best aproach to fix things that don't work is probably making calls to resolve_pageid() instead of simple cleanID() calls.
darcs-hash:20060611184453-7ad00-ba70b0fcf2cb64d4d4f0ce6bd6e437595cd947d3.gz
show more ...
|
| 54662a04 | 11-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
make sure UTF8 lookup tables are always global
darcs-hash:20060611173240-7ad00-9bc775163fd9fc65917ffe10f78f872a302bdbcf.gz |
| edb16ad5 | 11-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
changed inheritance for pgsql auth backend
Because of incompatible SQL syntax the postgres backend can no longer inherit the retrieveUsers method from the MySQL backend
darcs-hash:20060611170748-7a
changed inheritance for pgsql auth backend
Because of incompatible SQL syntax the postgres backend can no longer inherit the retrieveUsers method from the MySQL backend
darcs-hash:20060611170748-7ad00-83c69718da2f391e44504638b795956cf412fca0.gz
show more ...
|
| 2f3dc51d | 11-Jun-2006 |
matthiasgrimm <matthiasgrimm@users.sourceforge.net> |
MySQL 3.23 compatibility issue
MySQL 3.23 doesn't support the keyword OFFSET in the LIMIT statement. This patch changes the code to the second alternative syntax.
darcs-hash:20060611164347-7ef76-b3
MySQL 3.23 compatibility issue
MySQL 3.23 doesn't support the keyword OFFSET in the LIMIT statement. This patch changes the code to the second alternative syntax.
darcs-hash:20060611164347-7ef76-b38861cebe45604c253bd4436451825733fe7083.gz
show more ...
|
| cfedcd21 | 10-Jun-2006 |
chinsan.tw <chinsan.tw@gmail.com> |
update-zh-tw
darcs-hash:20060610073758-8864c-38e560f17476552fc181eaf82fed75504a1558e9.gz |
| 74400ea5 | 09-Jun-2006 |
Ben Coburn <btcoburn@silicodon.net> |
fix media file permissions
Always chmod media because they may be saved with different permissions than expected from the php umask.
darcs-hash:20060609072434-05dcb-8e6cb602df7afc75633c7eec0a9056a8
fix media file permissions
Always chmod media because they may be saved with different permissions than expected from the php umask.
darcs-hash:20060609072434-05dcb-8e6cb602df7afc75633c7eec0a9056a8b9696f77.gz
show more ...
|
| eaa525a0 | 08-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
fix for utf8_strpos #827
darcs-hash:20060608200438-7ad00-05fbb18c15df64725ca4ef1ffdc0aa817a508ea4.gz |
| 33225f51 | 08-Jun-2006 |
Bohumir Zamecnik <bohumir@zamecnik.org> |
Czech lang update, added czech to config
darcs-hash:20060608085236-9be09-3142ff6fd2a13cd03205a6703b3fd22bddf5e078.gz |
| 1bde1582 | 07-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
Updated SimplePie to beta2
darcs-hash:20060607203012-7ad00-39f08d985ed975b9eb521aaa1f7d3d315b5e6588.gz |
| 7af1b404 | 07-Jun-2006 |
Anika Henke <a.c.henke@arcor.de> |
more semantic alt values in media tree
darcs-hash:20060607193424-d5083-1ecd7dce6a41d12339c66b48883980e285c95214.gz |
| 4aca4bf5 | 07-Jun-2006 |
Andreas Gohr <gohr@cosmocode.de> |
reset title in metadata renderer
darcs-hash:20060607073358-6e07b-90180a3098b55c577c49d5e182839bfb1298d1c1.gz |
| 29f3a5fa | 06-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
user the MAILHEADER_EOL in quoted printable encoding
darcs-hash:20060606191953-7ad00-0e8098d5d8f4cf5379f3cce0e6899ac11c20a321.gz |
| 5f312bac | 06-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
Fix for privilege escalation bug #825
This rechecks all ACLs a second time before the template is called, avoiding similar problems in the future.
darcs-hash:20060606182742-7ad00-375c7989c8357c8a05
Fix for privilege escalation bug #825
This rechecks all ACLs a second time before the template is called, avoiding similar problems in the future.
darcs-hash:20060606182742-7ad00-375c7989c8357c8a051b4966d06dbfde356bedb5.gz
show more ...
|
| f4f02a0f | 06-Jun-2006 |
chris <chris@jalakai.co.uk> |
bug#701 - partial fix
This patch resolves issues with how call writers merge their instructions into the main handler instruction list. - writeCalls will now only merge instructions into the list of
bug#701 - partial fix
This patch resolves issues with how call writers merge their instructions into the main handler instruction list. - writeCalls will now only merge instructions into the list of the next higher call writer - all call writers have been given a finalise() method to use when the call writer needs to be terminated gracefully at the end of parsing when the wiki markup didn't provide its expected exit syntax.
I have only tested finalise with lists. It still requires testing with wiki markup which results in improperly closed tables, quotes and preformatted text (it may not be possible to improperly terminate some of these syntax modes).
darcs-hash:20060606131200-9b6ab-1fcde7e25e173de014e2f99bfdee22279b2d911d.gz
show more ...
|
| ebd3d9ce | 06-Jun-2006 |
chris <chris@jalakai.co.uk> |
bug#775, fix access control of resend password page
darcs-hash:20060606083212-9b6ab-b04f08b3fde6baca7ec2a33a38c3f147651c8371.gz |
| b08cc288 | 05-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
fixed newlines in english texts
darcs-hash:20060605200414-7ad00-1aea6818ca40214b18e974c879bf974790da18a2.gz |
| 3b97c5ec | 01-Jun-2006 |
chris <chris@jalakai.co.uk> |
fix php warning in common.php during getRevisions
A php warning can occur when the page name used in a revision check clashes with a namespace (sub-directory) in the same directory. The strpos() ca
fix php warning in common.php during getRevisions
A php warning can occur when the page name used in a revision check clashes with a namespace (sub-directory) in the same directory. The strpos() call generates the warning as the offset used is longer than the directory name.
darcs-hash:20060601212928-9b6ab-2d9399ba71fbfcae6e797977476e2f5daa50cf7f.gz
show more ...
|
| 87858f84 | 01-Jun-2006 |
chris <chris@jalakai.co.uk> |
tidy format patterns
The bug preventing use of '<' & '>' in look ahead patterns was fixed some time ago. This patch replaces the '\x3C' & '\x3E' in those syntax pattern where they were still in use
tidy format patterns
The bug preventing use of '<' & '>' in look ahead patterns was fixed some time ago. This patch replaces the '\x3C' & '\x3E' in those syntax pattern where they were still in use.
darcs-hash:20060601101231-9b6ab-4ad0d61578710543063a5de053c3d0f2065a7ddf.gz
show more ...
|
| 11d989c3 | 31-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
XSS bugfix #820
darcs-hash:20060531191114-7ad00-ee7498f6a9e047fc9eda5f8754f85d9b8a3317d5.gz |
| 26426c64 | 30-May-2006 |
chris <chris@jalakai.co.uk> |
bug#811
darcs-hash:20060530113123-9b6ab-076ed03543c92413e6317992d9cb2f32534b42c3.gz |
| 488d5fa0 | 29-May-2006 |
Michael Klier chi@chimeric.de <andi@splitbrain.org> |
enhanced getBaseURL()
darcs-hash:20060529154201-484ab-42382d9bd2bac83f84226209027001ca1f6deff0.gz |
| 8716966d | 28-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
Use meta data in RSS feed
darcs-hash:20060528133552-7ad00-8281720582dbc448534f35cc978e9c8175b54f0d.gz |
| 8d975344 | 27-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
usability enhancements for the loginform #803
darcs-hash:20060527185238-7ad00-1593c8b25d7f870c8a0b3017fbcf29c4e047f52c.gz |
| 44409c3d | 27-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
be clever about extensions on upload
This patch makes it possible to enter filenames without an extension in the upload as field when the uploaded file it self has a known extension.
It also prints
be clever about extensions on upload
This patch makes it possible to enter filenames without an extension in the upload as field when the uploaded file it self has a known extension.
It also prints a warning when an extension was changed by the user.
darcs-hash:20060527100310-7ad00-cf2abb4b9730e54b96c6ba24b2a999011cfb834a.gz
show more ...
|