summaryrefslogtreecommitdiff
path: root/inc/io.php
Commit message (Collapse)AuthorAge
* Merge branch 'master' into indexer_improvementsMichael Hamann2011-01-23
|\ | | | | | | | | | | | | Conflicts: inc/fulltext.php inc/indexer.php lib/exe/indexer.php
| * fixed indentAndreas Gohr2010-12-08
| |
* | Restore io_runcmd, use io_exec for exec with pipesTom N Harris2010-11-18
| |
* | Repurpose io_runcmd for pipesTom N Harris2010-11-16
|/
* first attempt to centralize all include loadingAndreas Gohr2010-01-31
| | | | | | | | 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.
* Coding Standard CleanupAndreas Gohr2009-10-20
| | | | | | Ignore-this: 259cb5773c3144c6c706d87298dcf674 darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
* FS#1517, obscure passwords in config filesChris Smith2009-01-19
| | | | | | This patch extends the config 'password' class to support a "_code" parameter darcs-hash:20090119164809-f07c6-c136b559772610539bccb9e9c0191f6a973216ad.gz
* removed some illogical path setupsAndreas Gohr2008-12-13
| | | | darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
* add slash in io_mktmdirAndreas Gohr2008-08-23
| | | | darcs-hash:20080823090003-7ad00-e3b2f2258bf794b62810f9fc51378bb9271441e3.gz
* update io_mktmpdir() to use $conf['tmpdir'] and mt_rand()Chris Smith2008-04-08
| | | | darcs-hash:20080408014339-f07c6-63870bfa4e45d05275cf46993bee62d61a6cc5a8.gz
* introducing io_mktmpdir()Michael Klier2008-02-27
| | | | darcs-hash:20080227221631-23886-1ce689e9616b6dd5d2cc55613b86ddff4e1808be.gz
* redirect to root namespace in mediamanager when namespace was deleted FS#1286Andreas Gohr2008-02-15
| | | | darcs-hash:20080215105251-7ad00-b7ac1bfc0e2d1eccf079f4ff2f0db8876896b79d.gz
* bzopen does not like 'b' open mode FS#1239Andreas Gohr2008-01-18
| | | | darcs-hash:20080118213300-7ad00-11a2b04c91c566ba2965bc548b94b8bf5b1bf5e5.gz
* don't use realpath() anymore (FS#1261 and others)Andreas Gohr2007-09-30
| | | | | | | | | | | 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
* use file_get_contents to read filesAndreas Gohr2007-07-25
| | | | darcs-hash:20070725190021-7ad00-32ea2f7d76d6508dfeb9dfd90f94132c4020386c.gz
* unlock files if write failedAndreas Gohr2006-10-18
| | | | darcs-hash:20061018181931-7ad00-2778b83d25e8dcfad4b00710077e44bcef9af699.gz
* minor bugfix and boring error removalchris2006-09-23
| | | | darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
* permission setting in io_rename fixed #912Andreas Gohr2006-09-16
| | | | darcs-hash:20060916145350-7ad00-cb78b531006e1f1875b2d8e8bc648740e5021736.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
* Added bz2 compression support for Atticmarcel2006-08-23
| | | | darcs-hash:20060823211149-9c1ae-569f295c33dc798a429a373f48cb09122334ea29.gz
* IO action eventsBen Coburn2006-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | Adds page and namespace events: IO_WIKIPAGE_READ IO_WIKIPAGE_WRITE IO_NAMESPACE_CREATED IO_NAMESPACE_DELETED The namespace events are purely advisory, while the wikipage events allow page content to be modified between DokuWiki and the disk. These events are primarily intended to simplify keeping other tools in sync with the semantic structure of a DokuWiki site. As an added benefit, the events allow plugins to conduct automated processing of raw wiki page content. The namespace events cover the separate namespace trees for both pages and media. The "name" of the tree that the event belongs to is included in the event data. darcs-hash:20060705105652-05dcb-f44024e852a2adf1a14b8a7d69c46db067e72307.gz
* $conf['fetchsize'] addedAndreas Gohr2006-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* avoid trolling in io_lock()Andreas Gohr2006-05-17
| | | | darcs-hash:20060517165023-7ad00-f3583cd929bf80721593f8fc77fb74bd6b864b03.gz
* more info is gathered on metaupdate in background indexerAndreas Gohr2006-05-11
| | | | | | | | | | The background indexer now gathers info on contributors and modification dates from the changelog when adding the missing meta info. A new io_grep function was added which might be useful for other parts in the Wiki as well. darcs-hash:20060511191450-7ad00-baba1b48ea03b823c88a480862c612316f159b5a.gz
* Automatic draft savingAndreas Gohr2006-03-11
| | | | | | | | 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
* clean media directories after medeia deletion FS#734Andreas Gohr2006-03-07
| | | | darcs-hash:20060307184706-7ad00-c57e9e6c54879afaf17858fe642478fcb91af983.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
* better permission checkingAndreas Gohr2006-03-03
| | | | | | | init.php now checks for the accessability of the data directories (executebit on UNIX systems) darcs-hash:20060303173252-7ad00-7ce3281926ac93f282d9865e9617ec4d179c2c23.gz
* fixed problem with io_sweepNS() on windows systemsAndreas Gohr2006-02-28
| | | | darcs-hash:20060228224239-7ad00-74183c4f12a176a1c7712fac6278ca5d4ff9b705.gz
* Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct ↵Troels Liebe Bentsen2006-02-24
| | | | | | | | | | | 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
* Fix wrong umask usage and so we set the correct file premissions.Troels Liebe Bentsen2006-02-18
| | | | darcs-hash:20060218183251-ee6b9-798ab2994526311b1e58f04e7684b39b51426887.gz
* file cleanupsAndreas Gohr2006-02-17
| | | | | | | | | | This patch cleans up the source code to satisfy the coding guidelines (see http://wiki.splitbrain.org/wiki:development#coding_style) It converts files to UNIX lineendings and removes tabs and trailing whitespace. Not all files were cleaned yet. darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
* fix for PHP5/Win, avoid initialising an array as a function parameterchris2006-02-03
| | | | darcs-hash:20060202232249-9b6ab-714f97dd150f2e0e7bef5458ab74f5336a1e5f8c.gz
* Windows compatible rename #683Andreas Gohr2006-01-21
| | | | darcs-hash:20060121194539-7ad00-c880c0980513a3ccb45253c02e1a02d4cbdd6009.gz
* fixed a very rare problem with io_readfile and unserializeAndreas Gohr2005-11-18
| | | | darcs-hash:20051118194856-7ad00-5b7f8dea8371acd85ccfe31ac6f748cb2b619486.gz
* auth update, incl. auth object, plain.class.php; resend password & update ↵chris2005-10-20
| | | | | | profile actions darcs-hash:20051020181434-50fdc-44222aa2074bb0e39a1c240c516259579b380740.gz
* io_download mod to allow use of attachment names, plugin manager fix to use ↵chris2005-09-11
| | | | | | new io_download darcs-hash:20050911142126-50fdc-dd1b45c40b33153c3ea993ec53c11d063c34154c.gz
* HTTP Client addedAndreas Gohr2005-08-31
| | | | | | | This patch adds an HTTP client written in PHP. It supports proxy handling and SSL if PHP was compiled with it. darcs-hash:20050831205550-7ad00-6dcdff0208d7f18a8ff731febb155d126742c768.gz
* changes to the page subscription featureAndreas Gohr2005-08-06
| | | | darcs-hash:20050806212000-7ad00-c5ab54a33289f8be0ce99443f82f0b3cf1bdbf0d.gz
* track_changes.patchSteven Danz2005-06-27
| | | | | | | | Second go at including changes to allow users to sign up on mailing lists so they may receive emails each time the page they are interested in is updated. darcs-hash:20050627021748-3ed6d-5f6993f51ab649e3928a513b0fbe7c421d880325.gz
* safemode hack fixes #179Rainer Weinhold2005-07-12
| | | | darcs-hash:20050712210940-99f23-80c16d578f58f955c9c99f27a1b2a0f3f7eb5d11.gz
* added file locking supportandi2005-06-26
| | | | darcs-hash:20050626161253-9977f-5600ca7134aa7244b08407d5a44c065a34091f20.gz
* directory layout cleanup !IMPORTANTandi2005-06-05
| | | | | | | | | | | | | 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
* just a few small fixes #299andi2005-05-01
| | | | darcs-hash:20050501161512-9977f-c74a1814bfc6844e019e27a32b2a459888172a0b.gz
* changed XHTML renderer from outputbuffering to string appending #272andi2005-04-25
| | | | darcs-hash:20050425183543-9977f-86c2d99ebfcb30849443b7bc5ef1a09859148732.gz
* removed silncer for FTP commands (just debugging)andi2005-04-22
| | | | darcs-hash:20050422205924-9977f-d83018ccbf8f008dff87b10e5e609175b5917ef6.gz
* size and timelimit for io_downloadandi2005-04-22
| | | | darcs-hash:20050422200817-9977f-ccce2966eaa4258cf7a3ea29f9728108e501ab33.gz
* small safemodehack fixandi2005-04-22
| | | | darcs-hash:20050422180248-9977f-33dc8f7e1657b8bc4980058ebb79729ffdf5a1cc.gz
* new parser now default, caching addedandi2005-04-16
| | | | darcs-hash:20050416171733-9977f-61a66a56862c4126c6987cdc19609b4e5504da9b.gz
* new parser: more hacking, RSS readdedandi2005-04-15
| | | | darcs-hash:20050415204735-9977f-613d9b007452d538dcb8fce4ade5cbec389c4415.gz