Commit Graph

198 Commits

Author SHA1 Message Date
Andreas Gohr 9f3cdec3cd fallback if umask() call doesn't work FS#736
darcs-hash:20060307184135-7ad00-9acd0c9e78976d348ae728dc491a7b7cebf5dd9d.gz
2006-03-07 19:41:35 +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
Andreas Gohr e55eb89cc5 punbb backend dies when magic quotes enabled
darcs-hash:20060303214459-7ad00-17f399257acafed5914eeb727b45b2fa984f00e8.gz
2006-03-03 22:44:59 +01:00
Andreas Gohr 3816dcbc4f nicer error messages for fatal errors
darcs-hash:20060303180548-7ad00-db294c2c5c10c8df69ebae7596e64e1af4d9bc35.gz
2006-03-03 19:05:48 +01:00
Andreas Gohr 0d8850c4c0 better permission checking
init.php now checks for the accessability of the data directories
(executebit on UNIX systems)

darcs-hash:20060303173252-7ad00-7ce3281926ac93f282d9865e9617ec4d179c2c23.gz
2006-03-03 18:32:52 +01:00
Andreas Gohr fdd20f15d2 removed obsolete toc unit test
darcs-hash:20060225162230-7ad00-3694f6e8d8ae36a3814d2ce09bc400a33a0d89c5.gz
2006-02-25 17:22:30 +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 98c868589e file cleanups
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
2006-02-17 23:20:40 +01:00
Andreas Gohr 0a6ead412a remove error supression for local.php (related to #659)
darcs-hash:20051207194400-7ad00-2b0cb5baec92b9cdf40ad7e3e429de0b34aa9f2a.gz
2005-12-07 20:44:00 +01:00
Andreas Gohr f949a01c56 fixed two bugs reported by Timo Falk
darcs-hash:20051108195013-7ad00-f2b2b6d955e64fe2d2abfc1d9421ed619f70abd3.gz
2005-11-08 20:50:13 +01:00
hfuecks fc1c55b183 get_tests_running_1
darcs-hash:20051106233800-e96b6-90328f1b6cc5c8b25c6e02f113cf80475789d297.gz
2005-11-07 00:38:00 +01:00
Andreas Gohr 6534245afc some fixes in the testmanagement
darcs-hash:20051102222604-7ad00-f8f3ae8435f8d6f6d738daaec205c541a371e9c7.gz
2005-11-02 23:26:04 +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 bad31ae944 JavaScript refactoring
This patch addes a first go on a central javascript and CSS dispatcher
which builds a single script from all needed scripts, does optimizing
and caching.

darcs-hash:20051029002652-7ad00-7558b569c2bf65f5e41820644580d97c62edd0d6.gz
2005-10-29 02:26:52 +02:00
Andreas Gohr 89aa05db68 improvement for baseurl detection tests added
darcs-hash:20051015221719-7ad00-efd98fdcf381ae38186578a16159ad2d279cf5af.gz
2005-10-16 00:17:19 +02:00
Andreas Gohr ef7b3ecdc3 option for setting baseurl #523
darcs-hash:20050912173116-7ad00-d342f7b065591097b19966e4650192d449a6039e.gz
2005-09-12 19:31:16 +02:00
Andreas Gohr e82e35266a fixed handling of non standard ports
darcs-hash:20050907213543-7ad00-c411e9f5788bf2629ba8529c46d7247aff1a2305.gz
2005-09-07 23:35:43 +02:00
Esther Brunner b7551a6d96 Constant DOCU_CONF corrctly initialisied (had a slash to much)
darcs-hash:20050902133442-283c4-5793471583d07fe58e652f40f485508d239e84cc.gz
2005-09-02 15:34:42 +02:00
Andreas Gohr 7367b36877 added stopword support to the indexer, added indexer webbug
darcs-hash:20050814181035-7ad00-ed5d879d29fcee7f925f806456675605b058966a.gz
2005-08-14 20:10:35 +02:00
Andreas Gohr e7cb32dcb5 DOKU_CONF define for config directory #479
darcs-hash:20050729155457-7ad00-94554865259e4cbd6a1c75bb62a93f37304adbf0.gz
2005-07-29 17:54:57 +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
andi 8fc4e73930 fix for broken realpath on windows #404 #417
darcs-hash:20050624114602-9977f-153f5270fe88112bf347098468ccad03904a645c.gz
2005-06-24 13:46:02 +02:00
andi bc3b6aec0f moved lang directory into inc dir
darcs-hash:20050605110714-9977f-e974278576a74db3ffb46647411dd68f96f517ca.gz
2005-06-05 13:07:14 +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
andi 7b2649bedb UNDO: added cache_limiter command as suggested in #94
darcs-hash:20050523182304-9977f-69b49f7f2cd637686e999fda9e3281d2f6d9bbd8.gz
2005-05-23 20:23:04 +02:00
andi 80a43e5429 added cache_limiter command as suggested in #94
darcs-hash:20050523182304-9977f-9011c7f882139b00333feaa625a25650bedf6f86.gz
2005-05-23 20:23:04 +02:00
andi 16521111dd moved loading of languages to init.php - fixes #346
darcs-hash:20050523174804-9977f-a49e154bb89357d39eb8ddb3273650759cd74114.gz
2005-05-23 19:48:04 +02:00
andi ee20e7d166 first attempt of syntax plugins
The first version of the new plugin system. Syntax plugins only yet. A very simple
example plugin called info (doing nothig useful yet) is included.

Missing Features

  - Doku_Block_Handler needs work (doesn't honur plugins yet)
  - there is no way to specify the order of plugins and other modes yet
  - useful output from the info plugin
  - bug testing and fixing
  - code cleanup
  - documentation

darcs-hash:20050519201009-9977f-f793dbfc6a39d8a9643b610927d93cd3288bdd6b.gz
2005-05-19 22:10:09 +02:00
andi b000c6d4d2 let scriptify move the old file away after copy
darcs-hash:20050513151255-9977f-ff7a5e5984c8e419654950bfb56b1d42b31937d5.gz
2005-05-13 17:12:55 +02:00
jan b94418bb3d msg not available in init.php
darcs-hash:20050513094100-45605-db4bffe5e2fa91296c66d9bf87d3f8482ad11ee9.gz
2005-05-13 11:41:00 +02:00
andi 3ba793e2a1 fix for undefined function error in scriptify patch
darcs-hash:20050512213519-9977f-37df66fbdeba1245e8b4e9ab02c54417a3794017.gz
2005-05-12 23:35:19 +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
andi 919eeb46b9 added trailing slash when basedir is set
darcs-hash:20050510163354-9977f-9d0daa1ff8878899260f410f7e805d65a5fb3e46.gz
2005-05-10 18:33:54 +02:00
andi bdc127a4dd use SCRIPT_NAME instead of REQUEST_URI in getBaseName
REQUEST_URI breaks on directory access (eg. /dokuwiki/) and with
the internal rewrite. SCRIPT_NAME should always work. Counter-Examples
welcome

darcs-hash:20050509204019-9977f-ff5220346347575449734d5fd80fe9b85e5517c2.gz
2005-05-09 22:40:19 +02:00
Troels Liebe Bentsen e015a61c5c Support for /~tlb request uri's.
darcs-hash:20050508095536-ee6b9-6b03d3d6656756f6c519f87defadd1cec4a9e7e2.gz
2005-05-08 11:55:36 +02:00
andi 4724a5775a small fixes
darcs-hash:20050506145743-9977f-16cbd3c620a635fc49f965a7dd43baec38bf7200.gz
2005-05-06 16:57:43 +02:00
andi 093ec9e4fc another fix for #292
darcs-hash:20050429190416-9977f-90a87eb28eebed76b3032a9b32584b0f96ff047f.gz
2005-04-29 21:04:16 +02:00
andi 92b83b77a9 basedir option added #292
darcs-hash:20050429104545-9977f-ac44f6be6333965c96a5d3bca7acde9f610d4d78.gz
2005-04-29 12:45:45 +02:00
andi 340756e4d1 removed closing php tag for includes
darcs-hash:20050413175338-9977f-c969db6f86df5df175db9a39b4fabb9f072f8f67.gz
2005-04-13 19:53:38 +02:00
andi 3fc748361d surpress warning when ini_set not allowed #228
darcs-hash:20050331161454-9977f-97c58dabd626ff93d86135d69fb70cb4d30669ab.gz
2005-03-31 18:14:54 +02:00
andi c53ea5f2d3 fixed error reporting (#216)
darcs-hash:20050330191510-9977f-f129b8028ca701e0d23b3bc824510b8c300882cb.gz
2005-03-30 21:15:10 +02:00
andi e33d39a728 remove call to not loaded msg function (#217)
darcs-hash:20050328195059-9977f-bb7af34b1e66af98b4c8fbedd79910955391edfb.gz
2005-03-28 21:50:59 +02:00
andi 6b13307fb4 template support (incomplete, maybe broken)
darcs-hash:20050306183159-9977f-22dbb69831b5fa2e28bbf62448c65053d96a2cb9.gz
2005-03-06 19:31:59 +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 ed7b5f0908 added init.php - may have broken something! (related to #153)
darcs-hash:20050219102055-9977f-575d654e742934c911ffab855d82aa91f198b5cf.gz
2005-02-19 11:20:55 +01:00