summaryrefslogtreecommitdiff
path: root/inc/load.php
Commit message (Collapse)AuthorAge
* deprecation of Archive libsAndreas Gohr2015-07-31
|
* switched geshi higlighter to composer based repositoryAndreas Gohr2015-05-15
|
* Remove error supression for file_exists()Andreas Gohr2015-01-07
| | | | | | | In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
* completely new base for CLI scriptsAndreas Gohr2014-03-17
| | | | | | | | | This introduces an abstract base class that command line tools need to inherit from. It provides a simple framework for registering accepted command line options and provides commonly needed things like help output and colored text. Existing CLI scripts still need to be converted.
* add renderers to autoladerChristopher Smith2014-02-25
|
* add missing autoloader entry for Doku_Parser_Mode_Plugin #496Andreas Gohr2014-01-22
|
* compatibility functions for missing ctype extension FS#2873Andreas Gohr2013-10-30
|
* Merge branch 'less'Andreas Gohr2013-08-02
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * less: check less compilation for errors removed possibility to have rtl.less files in plugins switched to LESS variables in rest of template's css files unlessified and lessified a few more css fixed broken structure removed debug statement. sorry convert ini replacements to less vars first make sure calculations are correct lessified more files lessyfied another one lessyfied the first of template's CSS files fixed ini replacement to less variables stuff added missing lessc library add LESS support Conflicts: inc/load.php lib/tpl/dokuwiki/css/basic.less
| * add LESS supportAndreas Gohr2013-07-29
| | | | | | | | still needs testing
* | Add AES from phpseclib and use it for cookie encryptionMichael Hamann2013-07-30
|/ | | | | This replaces the deprecated and broken Blowfish implementation that has previously been used and should provide a lot more security.
* Merge branch 'master' into futureAndreas Gohr2013-02-03
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (162 commits) fixed revision JS for images upgraded SimplePie to 1.3.1 FS#2708 removed obsolete browser plugin (migrate does it) adjust spacing to match standard 1.4em grid added comment on use of whitelist vs blacklist Updated idfilter() function for IIS use var and remove suggestions when needed Use variable for maximum number of suggestions for quicksearch. And hide suggestions when search field is emptied, or when no suggestion are found. added 'home' class to first link in hierarchical breadcrumbs reduced required max width to go into tablet mode re-added linear gradients for firefox added missing styling for disabled form elements (FS#2705) fixed acronyms in italics (FS#2684) improved print styles (includes fixes for FS#2645 and FS#2707) basic styles improvements Greek language update Use list in acl help text, for more structure Galician language update touch the config on save, even if no changes were made unwind the width narrowing commit put some whitespace between form submit button and fieldset bottom border ... Conflicts: lib/plugins/config/admin.php lib/plugins/config/settings/config.class.php
| * Merge branch 'master' into subscriptionAndreas Gohr2012-11-30
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (175 commits) some coding style improvements added .idea project folder to gitignore use correct setUp method and parent calls. Correct German plugin manager translation (download != install) correct return in sendDigest() Fix case-insensitive match in ACL checking GeSHi update to 1.0.8.11 ignore empty header on mail sending remove empty BCC/CC mail headers Galician language update some welcome page changes Combine subsequent calls to strtr into a single transformation changed semicolon to colon in link to welcome page to make it less confusing fixed wrong sidebar showing in namespaces when sidebar is disabled Typo fix for TL;DR removed a bunch of outdated and irrelevant networking acronyms added another place to look for logo to make it more consistent (FS#2656) French language update Czech language update compat js findPosX/y more closely mimic historical function ... Conflicts: inc/auth.php inc/common.php inc/subscription.php lib/exe/indexer.php
| | * added simple compatibility wrapper for old TarLibAndreas Gohr2012-11-06
| | |
| | * removed old TarLib and changed plugin manager to use new oneAndreas Gohr2012-11-03
| | |
| | * Completely rewritten Tar libraryAndreas Gohr2012-11-03
| | | | | | | | | | | | | | | | | | | | | This new class is only losely based on our previous library. The whole API was changed to make it more flexible and memory saving. Some fisrt unit tests are included
| * | first start at refactoring the subscription system BROKENAndreas Gohr2012-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces a class for nicer wrapping and easier testing. Some functions were changed to provide nicer APIs (no throwing around of unescaped regexps) and to simplify things (hopefully). The refactoring isn't completed yet, so this will break the subscription system. The goal is to move as much subscription related stuff to this class as possible. Currently there is some code in lib/exe/indexer.php and maybe elsewhere (common.php?). Additionally everything should be covered by tests. A few tests are included here already.
* | | moved adLDAP to authad plugin and fixed includesAndreas Gohr2012-11-09
| | |
* | | 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 Auth-Plugin-Prototype to autoloadJan Schumann2012-01-03
| | |
| * | added plugin type 'auth'Jan Schumann2012-01-02
| | |
* | | Move plugin name regex to a constant as suggested by @glenscMichael Hamann2012-09-10
| | |
* | | Load plugins using include_once instead of includeMichael Hamann2012-09-09
| | | | | | | | | | | | | | | | | | | | | | | | The problem with using include is that when the file that is loaded does not contain the plugin class (e.g. because the directory name is wrong), the file could be loaded again when the plugin class is requested a second time which will lead to a fatal error because of class redeclaration.
* | | Less restrictive plugin name checkingMichael Hamann2012-09-09
| | | | | | | | | | | | | | | | | | | | | | | | This partially reverts de50cad65ae679a602e71adddffdd74df7ea3fbb as the strict check breaks existing plugins and this shouldn't be changed without prior discussion and a warning for plugin authors with some time to adjust their plugins. Now all characters that are valid in PHP class names except "_" are allowed.
* | | Check plugin naming conventions during load FS#2464Michael Hamann2012-09-08
| |/ |/| | | | | | | | | This checks if plugin names are valid and only loads valid plugin files, this could prevent some errors from wrong upgrades as described in FS#2464.
* | 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.
* | do not surpress any errors when loading plugin filesAndreas Gohr2012-05-20
| | | | | | | | | | | | When a plugin file exists, we can assume it is the correct file and load it without error supression. This makes it much easier to detect and debug problematic plugins.
* | make HTTPClient loadable via autoloaderAndreas Gohr2012-04-26
| | | | | | | | | | this fixes the HTTP tests which do test the base class directly instead of the DokuHTTPClient subclass
* | Merge branch 'master' into htmlmailAndreas Gohr2012-04-15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (382 commits) Romanian language update Marathi language update Arabic Language Update when there's not enough space for images, make sure they stay proportional (might be FS#2480) added minimal RTL print styles (part of FS#2185) moved plugins' rtl.css to their style.css counterpart (part of FS#2185) removed all browser-specific gradients as the recently (in 42ff6730) introduced svg makes them unnecessary removed comments from accidentally commented lines in tpl_includeFile() removed obsolete template file added tpl_includeFile() to core Make getTitle method in remote interface public Changed an error code in XML-RPC interface. This error hasn't anything to do with the rest of the -32600 errors. BG: language update Korean language update fixed performance issues with gradient in Firefox (which also added gradient support for IE9) (FS#2447) deleted very old (and unused) images added accidentally removed '<?php' back in (was in 57fc5edd) wrapped X-UA-Compatible meta tag with conditional comments added explanation to todo in _forms.css removed problematic 'overflow: hidden' from lists again ('unfixes' FS#1950) ... Conflicts: inc/auth.php inc/load.php
| * | removed requires, changed conf check in xmlrpc.phpDominik Eckelmann2012-03-22
| | |
| * | introduced remote api classDominik Eckelmann2011-11-23
| | |
| * | enabled remote as plugintypeDominik Eckelmann2011-11-19
| |/
* / added Mailer class to autoloaderAndreas Gohr2011-11-12
|/
* Use autoloading for plugin classesAdrian Lang2011-06-06
|
* refactored passowrd hashing functions to a classAndreas Gohr2011-01-22
| | | | | | | | | | | | this splits the long auth_cryptPassword() function into many member functions of a new class PassHash which should make it more maintainable and reusable for other projects. This also adds two new methods djangomd5 and djangosha1 as used by the popular python framework Django. Maybe the auth_cryptPassword() and auth_verifyPassword() functions should be deprecated in favor of using the class directly?
* Transformed the sitemapper into a classMichael Hamann2010-09-22
| | | | This makes it possible to autoload the sitemapper when needed.
* new fnencode option FS#1649Andreas Gohr2010-04-04
| | | | | | This patch adds an option to choose how filenames are encoded when saved to the file system. You can choose between urlencoding (url), the new SafeFn method (safe) and storing real UTF-8 (utf-8).
* added missing IXR_IntrospectionServer to autoload classesMichael Klier2010-03-16
|
* Typo in ZipLib autoloaderAdrian Lang2010-03-16
|
* Load libraries after initAdrian Lang2010-03-15
|
* some more load fixesAndreas Gohr2010-03-12
|
* 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)
* do not autorequire class only librariesAndreas Gohr2010-02-01
| | | | | | those are loaded on demand through the autoloader mechanism Also cliopts.php is not loaded automatically at all
* 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.