| #
fba11f64 |
| 03-Nov-2012 |
Andreas Gohr <andi@splitbrain.org> |
removed old TarLib and changed plugin manager to use new one
|
| #
bee9f377 |
| 03-Nov-2012 |
Andreas Gohr <andi@splitbrain.org> |
Completely rewritten Tar library
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
|
| #
93a7873e |
| 06-Oct-2012 |
Andreas Gohr <andi@splitbrain.org> |
Merge remote-tracking branch 'janschumann/master' into future
This merge fixes all conflicts but is otherwise untested and might break funktionality in the auth system somewhere. It NEEDS MAJOR TEST
Merge remote-tracking branch 'janschumann/master' into future
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
show more ...
|
| #
7521090b |
| 10-Sep-2012 |
Michael Hamann <michael@content-space.de> |
Move plugin name regex to a constant as suggested by @glensc
|
| #
92faea0e |
| 09-Sep-2012 |
Michael Hamann <michael@content-space.de> |
Load plugins using include_once instead of include
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), t
Load plugins using include_once instead of include
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.
show more ...
|
| #
baf1d9a0 |
| 09-Sep-2012 |
Michael Hamann <michael@content-space.de> |
Less restrictive plugin name checking
This partially reverts de50cad65ae679a602e71adddffdd74df7ea3fbb as the strict check breaks existing plugins and this shouldn't be changed without prior discussi
Less restrictive plugin name checking
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.
show more ...
|
| #
de50cad6 |
| 08-Sep-2012 |
Michael Hamann <michael@content-space.de> |
Check plugin naming conventions during load FS#2464
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#246
Check plugin naming conventions during load FS#2464
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.
show more ...
|
| #
2240ea1f |
| 12-Aug-2012 |
Andreas Gohr <andi@splitbrain.org> |
first start at refactoring the subscription system BROKEN
This introduces a class for nicer wrapping and easier testing. Some functions were changed to provide nicer APIs (no throwing around of unes
first start at refactoring the subscription system BROKEN
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.
show more ...
|
| #
89177306 |
| 24-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
Introducing a $_REQUEST/POST/GET wrapper
This new wrapper ensures types are correct and accessed parameters are actually set (with custom default fallbacks).
The wrapper is available in the global
Introducing a $_REQUEST/POST/GET wrapper
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.
show more ...
|
| #
5a9866e9 |
| 20-May-2012 |
Andreas Gohr <andi@splitbrain.org> |
do not surpress any errors when loading plugin files
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 deb
do not surpress any errors when loading plugin files
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.
show more ...
|
| #
a1d9de52 |
| 26-Apr-2012 |
Andreas Gohr <andi@splitbrain.org> |
make HTTPClient loadable via autoloader
this fixes the HTTP tests which do test the base class directly instead of the DokuHTTPClient subclass
|
| #
ae7c596c |
| 15-Apr-2012 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'master' into htmlmail
* master: (382 commits) Romanian language update Marathi language update Arabic Language Update when there's not enough space for images, make sure they s
Merge branch 'master' into htmlmail
* 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
show more ...
|
| #
b967e5fc |
| 22-Mar-2012 |
Dominik Eckelmann <deckelmann@gmail.com> |
removed requires, changed conf check in xmlrpc.php
|
| #
3cbcc653 |
| 03-Jan-2012 |
Jan Schumann <js@schumann-it.com> |
Added Auth-Plugin-Prototype to autoload
|
| #
eb274bf3 |
| 02-Jan-2012 |
Jan Schumann <js@schumann-it.com> |
added plugin type 'auth'
|
| #
457ad80a |
| 23-Nov-2011 |
Dominik Eckelmann <deckelmann@gmail.com> |
introduced remote api class
|
| #
a4e0e797 |
| 19-Nov-2011 |
Dominik Eckelmann <deckelmann@gmail.com> |
enabled remote as plugintype
|
| #
c9a53c46 |
| 12-Nov-2011 |
Andreas Gohr <andi@splitbrain.org> |
added Mailer class to autoloader
|
| #
d54ac877 |
| 06-Jun-2011 |
Adrian Lang <lang@cosmocode.de> |
Use autoloading for plugin classes
|
| #
3a0a2d05 |
| 22-Jan-2011 |
Andreas Gohr <andi@splitbrain.org> |
refactored passowrd hashing functions to a class
this splits the long auth_cryptPassword() function into many member functions of a new class PassHash which should make it more maintainable and reus
refactored passowrd hashing functions to a class
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?
show more ...
|
| #
2897eb23 |
| 26-Jun-2010 |
Michael Hamann <michael@content-space.de> |
Transformed the sitemapper into a class
This makes it possible to autoload the sitemapper when needed.
|
| #
f03fd957 |
| 04-Apr-2010 |
Andreas Gohr <andi@splitbrain.org> |
new fnencode option FS#1649
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 st
new fnencode option FS#1649
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).
show more ...
|
| #
5ce4ea15 |
| 16-Mar-2010 |
Michael Klier <chi@chimeric.de> |
added missing IXR_IntrospectionServer to autoload classes
|
| #
94d621b0 |
| 16-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Typo in ZipLib autoloader
|
| #
c7cb395c |
| 15-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Load libraries after init
|