summaryrefslogtreecommitdiff
path: root/inc/init.php
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'janschumann/master' into futureAndreas Gohr2012-10-06
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merge fixes all conflicts but is otherwise untested and might break funktionality in the auth system somewhere. It NEEDS MAJOR TESTING! Some refactoring of the auth plugins is still needed: * move to PHP5 style * fix comments * add plugin.info.txt * janschumann/master: Refactored auth system: All auth methods are now introduced as plugins. Bugfix: auth types are now correcty added Setup auth system from plugins Added Auth-Plugin-Prototype to autoload Load auth types from plugins in settings_authtype class Added prototype for Auth-Plugins added plugin type 'auth' Conflicts: inc/auth.php inc/auth/pgsql.class.php inc/init.php inc/load.php lib/plugins/auth.php lib/plugins/authad/auth.php lib/plugins/authldap/auth.php lib/plugins/authmysql/auth.php lib/plugins/authplain/auth.php
| * added plugin type 'auth'Jan Schumann2012-01-02
| |
* | don't call set_magic_quotes_runtime if it doesn't exists FS#2583Andreas Gohr2012-08-26
| | | | | | | | this function was removed in PHP 5.4.0
* | Always disable compression when sitemaps are deliveredMichael Hamann2012-08-24
| | | | | | | | | | The class loader isn't available at that place in inc/init.php so the check if the sitemap is compressed didn't work.
* | Disable compression when a compressed sitemap might be delivered FS#2576Michael Hamann2012-08-24
| | | | | | | | | | | | | | | | Compressing a gzip file again for transport is standards compliant, but some clients assume that the file is only compressed once then and don't remove the outer compression layer. This could disable compression in too many cases theses cases should be rare and shouldn't cause any problems.
* | changed all doctypes to html5 doctypeAnika Henke2012-07-14
| |
* | some code cleanup and php docsAndreas Gohr2012-06-25
| |
* | Introducing a $_REQUEST/POST/GET wrapperAndreas Gohr2012-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new wrapper ensures types are correct and accessed parameters are actually set (with custom default fallbacks). The wrapper is available in the global $INPUT variable. It accesses $_REQUEST by default. If POST or GET is required, the post and get members can be used: $INPUT->int('foo',false); // access $_REQUEST['foo'], default false $INPUT->post->int('foo'); // access $_POST['foo'], default 0 $INPUT->get->int('foo'); // access $_GET['foo'], default 0 The codebase still needs to be updated to make use of this.
* | improved earlier change for paths error messages to not produce any noticesAnika Henke2012-05-27
| |
* | improved error message for savedir paths (FS#2502)Anika Henke2012-05-27
| |
* | Merge branch 'master' of https://github.com/splitbrain/dokuwikiDominik Eckelmann2012-03-14
|\ \ | | | | | | | | | | | | Conflicts: lib/exe/xmlrpc.php
| * \ Merge branch 'jscachekey'Andreas Gohr2012-03-10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * jscachekey: trigger JS_CACHE_USE in lib/exe/js.php added INIT_LANG_LOAD event let js.php use multiple caches
| | * | added INIT_LANG_LOAD eventDominik Eckelmann2012-01-24
| | | |
| * | | DOKU_TPL* considered harmfulAndreas Gohr2012-01-30
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Some plugins want to dynamically switch the template based on users, namspaces or the phase of the moon. Having fixed paths in a unchangable constant prevents this. This changes deprecates the DOKU_TPL* constants in favor of two new tpl_* functions that return the correct paths based on the $conf variables which can be changed from the DOKUWIKI_STARTED event.
| * / Disable E_STRICT error reportingMichael Hamann2012-01-15
| |/ | | | | | | | | | | | | | | This change disables the reporting of strict standard errors in PHP 5.4, in PHP versions prior to 5.4 E_STRICT wasn't part of E_ALL so for these versions this doesn't cause any change (however E_STRICT is available in all versions of PHP 5 so this doesn't cause any problems). See also FS#2427.
* / enabled remote as plugintypeDominik Eckelmann2011-11-19
|/
* mergingKate Arzamastseva2011-08-25
|\
| * Merge pull request #19 from gbirke/masterDominik Eckelmann2011-08-18
| |\ | | | | | | Make cookie path configurable
| | * If cookiedir is configured, use it.Gabriel Birke2011-01-02
| | | | | | | | | | | | If $conf['cookiedir'] is set, use this setting instead of DOKU_REL.
* | | media version savingKate Arzamastseva2011-05-26
|/ /
* | Minor: Edited the delta_time function for php5Piyush Mishra2011-03-21
| |
* | Merge branch 'master' into indexer_rewriteMichael Hamann2011-02-24
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: inc/fulltext.php inc/indexer.php lib/exe/indexer.php
| * | made config cascade more flexibleRoland Hager2011-02-06
| | |
* | | Merge branch 'master' into indexer_improvementsMichael Hamann2011-01-23
|\| | | | | | | | | | | | | | | | | | | | Conflicts: inc/fulltext.php inc/indexer.php lib/exe/indexer.php
| * | Fix getBaseURL for literal IPv6 addresses in URLs (RFC 2732) + test caseMichael Hamann2011-01-16
| | |
| * | more robust hostname detectionAndreas Gohr2010-12-18
| |/ | | | | | | | | as discussed in http://www.freelists.org/post/dokuwiki/git-changes-20101209,7
* / Indexer v3 Rewrite part two, update uses of indexerTom N Harris2010-12-29
|/
* handle mailfrom replacements in a central place FS#2091Andreas Gohr2010-11-05
|
* remove deprecated scriptify() mechanismAndreas Gohr2010-10-18
|
* moved default config cascade to its own fileAndreas Gohr2010-06-27
|
* Use config_cascade for ACLs and plain auth users FS#1677Andreas Gohr2010-06-27
|
* create title.idx with the correct length FS#1978Andreas Gohr2010-06-26
| | | | | | | | | The title.idx file needs to have exactly the same length as the page.idx. This patch creates the file with the correct length if it doesn't exist yet. If you upgrade in between you need to delete your data/index/title.idx file
* Add title index to the indexer files, improve indexer callsAdrian Lang2010-06-16
|
* moved plugincontroller and event handler creation to init.phpMichael Klier2010-03-26
|
* Load libraries after initAdrian Lang2010-03-15
|
* plugin related autoloadingAndreas Gohr2010-02-01
| | | | | This patch moved the place where DOKU_PLUGIN is defined. It no longer can be set from a normal config (only via preload)
* 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.
* Emit less E_NOTICEs and E_STRICTsAdrian Lang2009-11-04
| | | | | | | | | | | | | 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
* Supress timezone warnings in PHP 5.3.0Andreas Gohr2009-11-03
| | | | | | Ignore-this: 3686859078d4a5e4af166eaec089268b darcs-hash:20091103180625-7ad00-36d8e781f9a25095cf5efaad5efb16a6b8f95b1e.gz
* Coding Standard CleanupAndreas Gohr2009-10-20
| | | | | | Ignore-this: 259cb5773c3144c6c706d87298dcf674 darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
* Whitespace cleanup FS#1709furun2009-10-16
| | | | | | Ignore-this: 27ea52110bce929b2c61ed8faba67cfc darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
* Use the server port in DOKU_COOKIE when securecookie is defined FS#1664Andreas Gohr2009-08-02
| | | | | | | | | Ignore-this: de9ef30fc53fbfc1caa74b55f97290a5 This should avoid problems on portbased virtual hosts. This patch might log you out ;-) darcs-hash:20090801222159-7ad00-808a91dd29af758ef10d7942888c2c22d8b8b888.gz
* SECURITY: fix local file inclusion with register globalsAndreas Gohr2009-05-26
| | | | | | | | | Ignore-this: ce01faedc6c3d9370362b0e1e39ded36 This fixes a security hole when register_globals is enabled. An exploit is in the wild: http://www.milw0rm.com/exploits/8781 darcs-hash:20090526145030-7ad00-c0483e021f47898c8597f3bfbdd26c637f891d86.gz
* fixed fullpath() for certain Windows setupsAndreas Gohr2009-02-05
| | | | | | Ignore-this: 7059284786889a3ead12f5a4b3873bdf darcs-hash:20090205170449-7ad00-63f9459819a355abc7a154e07b487d8431097614.gz
* fixed multiple gzip/sendfile problems in css and js dispatchers FS#1571Andreas Gohr2009-01-22
| | | | | | | | | | - Avoid double compression when gzip_output is enabled - Only compress when gzip_output is enabled - Do not use x-sendfile for compressed content (content-encoding is not supported) - Make sure the script terminates after using x-sendfile - Moved gzip browser support check to init.php darcs-hash:20090122215010-7ad00-765765d353ff78df5b8704086328c5c699bbe7e0.gz
* further updates to config_cascade patchChris Smith2009-01-22
| | | | | | | | | | - add mediameta and license config files into the cascade - update the cache validity code in cache.php, css.php & js.php to use config_cascade - redo inclusion of main config files to avoid suppression of errors in config files - add getConfigFiles($type) function - minor updates elsewhere to use config_cascade rather than hardcoded config file names darcs-hash:20090122114457-f07c6-98ad5627fd5df93edf8dd03289b9cf6d81962afe.gz
* add error suppression to iswin check to avoid notices when ↵Chris Smith2009-01-22
| | | | | | DOKU_UNITTEST_ASSUME_WINDOWS isn't set darcs-hash:20090122081649-f07c6-e7744b1496e1a05ab089812fd7ca3716ecec2290.gz
* include preload.php without error suppression (but after existence check)Chris Smith2009-01-22
| | | | darcs-hash:20090122080426-f07c6-c2e4cb107f9d07f333a9fe295f5df5bd9d3fb15f.gz
* Update for config cascade patch, fixes a couple of issuesChris Smith2009-01-19
| | | | darcs-hash:20090119050218-f07c6-8cb3615ee51fe81ef90b1e54675c359d84a2e57c.gz
* Rework configuration loading to use a predefined file list or cascadeChris Smith2009-01-18
| | | | | | | | | | | | This change add the global $config_cascade which holds the list of files to be read for each configuration setting group. Dokuwiki adds in its configuration file values after preload.php, giving preload.php to set its own configuration cascade. One side effect of the change is "local.protected.php" is part of the default cascade, removing the need for it to be included at the bottom of local.php. darcs-hash:20090118181204-f07c6-fea1c406da1bbdb0a52ab40914f11b835e797728.gz