Andreas Fischer
a35ad4e689
[ticket/11041] Correctly import PHP file extension from global space.
...
85bcdbad468cd255a02d6c48b2dcd1d128978eed shouldn't have changed imports of
"global $phpEx".
PHPBB3-11041
2012-08-02 12:38:49 +02:00
Igor Wiedler
85bcdbad46
[ticket/11012] Normalize $phpEx member vars to $php_ext
...
PHPBB3-11012
2012-07-21 16:19:01 +02:00
Vjacheslav Trushkin
b3f46b9565
[ticket/10735] Changing locator paths structure
...
Changing locator paths to 2 dimensional array
PHPBB3-10735
2012-03-31 21:20:18 +03:00
Igor Wiedler
0bd635f1b4
Merge pull request #662 from imkingdavid/ticket/10586
...
[ticket/10586] Use an abstract class that implements the interface
2012-03-30 10:59:46 -07:00
David King
afc55b4c08
[ticket/10586] Added visibility indication to __construct()
...
PHPBB3-10586
2012-03-28 16:50:18 -04:00
David King
7b091f18a8
[ticket/10586] Remove handle() from abstract class, undo change in index.php
...
PHPBB3-10586
2012-03-28 16:37:42 -04:00
David King
7071110d9a
[ticket/10586] Do not pass as reference
...
PHPBB3-10586
2012-03-28 16:23:40 -04:00
David King
9a8b3ff449
[ticket/10586] Make the abstract class implement the original interface
...
PHPBB3-10586
2012-03-28 16:21:17 -04:00
David King
cb7dabbffc
[ticket/10586] Change the interface to an abstract class
...
This allows the common phpBB objects to be automatically accessible to
extensions without the author having to globalize and assign each one
himself. This is better because it also gives purpose to the
phpbb_extension_controller class; instead of just being the way to
ensure a handle() method is present, it also does this work for us.
PHPBB3-10586
2012-03-28 16:13:59 -04:00
Igor Wiedler
7258794be3
Merge remote-tracking branch 'imkingdavid/ticket/10586' into develop
...
* imkingdavid/ticket/10586:
[ticket/10586] Added space in if statement
[ticket/10586] Tidy up comments
[ticket/10586] Tests finally work (thanks naderman)
[ticket/10586] Correctly purge board cache and don't rename install directory
[ticket/10586] trying to get tests to work
[ticket/10586] more work on getting tests to pass
[ticket/10586] Tests are coming along, just a little more to go
[ticket/10586] Rename install directory back to install/ after tests
[ticket/10586] browse tests now work, but mine dont. at least we are making progress
[ticket/10586] initial work on copying fixtures. Note that this depends on 10706
[ticket/10586] Adding the extensions used by the tests
[ticket/10586] Now tests run, but fail. But here is what I have.
[ticket/10586] some bootstrap additions and test changes to try and make it work
[ticket/10586] test stuff. does not work yet, still need to put phpBB objects in bootstrap.php
[ticket/10586] Copy/paste fail fixed
[ticket/10586] Sanitize periods from class names, use manager to get path.
[ticket/10586] Removed file_exists() check because class_exists() covers that.
[ticket/10586] Extension front controller
2012-03-28 21:36:07 +02:00
David King
56f75dbf93
[ticket/10586] Tidy up comments
...
PHPBB3-10586
2012-03-27 19:57:32 -04:00
Dhruv Goel
18c541dfee
[ticket/10703] Added a condition to check if ext directory exists
...
The existence of ext directory is checked, if not present a proper
error message that file doesn't exist is printed out. No Fatal
Error messages.
PHPBB3-10703
2012-03-23 00:27:29 +05:30
David King
e45452d1b3
[ticket/10586] Sanitize periods from class names, use manager to get path.
...
PHPBB3-10586
2012-03-19 09:12:32 -04:00
David King
a0131b45f5
[ticket/10586] Extension front controller
...
Handle extension front pages
PHPBB3-10586
2012-03-19 09:12:31 -04:00
Nils Adermann
41870c4095
[ticket/10663] Extension finder should not find subdirs with directory filter
...
The directory filter pattern now has a $ in the end, do avoid subdirectories
from being matched as well.
PHPBB3-10663
2012-02-21 18:32:08 +01:00
Oleg Pudeyev
2814021d3f
[ticket/10614] Unbreak all_available on extension manager.
...
By default RecursiveIteratorIterator skips all directories.
This results in extension manager not finding any extensions.
Add RecursiveIteratorIterator::SELF_FIRST to correct this.
PHPBB3-10614
2012-02-11 15:08:05 -05:00
Igor Wiedler
78de29b7ce
[ticket/10614] Check if cache exists before destroying it
...
PHPBB3-10614
2012-02-09 01:39:45 +01:00
Igor Wiedler
68e4c667fa
[ticket/10614] Remove ext manager exceptions for now
...
PHPBB3-10614
2012-02-09 01:37:53 +01:00
Igor Wiedler
36728d3414
[ticket/10614] Refactor list command to use manager API
...
PHPBB3-10614
2012-02-09 01:36:06 +01:00
Igor Wiedler
5ccd6b0c7a
[ticket/10614] Tweak list output, show state, purge cache, handle missing exts
...
PHPBB3-10614
2012-02-09 01:04:47 +01:00
Unknown
7a04c9048c
[ticket/9916] Updating header license and removing Version $Id$
...
PHPBB3-9916
2011-12-31 13:32:52 +00:00
Igor Wiedler
813b5344e6
[ticket/10323] slight potential performance improvement
...
PHPBB3-10323
2011-11-20 02:08:37 +01:00
Igor Wiedler
658db65cb4
[ticket/10323] make finder work with PHP 5.2
...
PHPBB3-10323
2011-11-19 22:04:43 +01:00
Nils Adermann
5068c05887
[feature/extension-manager] Split disabling extensions up into steps as well
...
PHPBB3-10323
2011-11-18 18:24:18 +01:00
Nils Adermann
21117c69f3
[feature/extension-manager] Add documentation on caching in ext finder
...
PHPBB3-10323
2011-11-18 17:30:23 +01:00
Nils Adermann
0d296785b2
[feature/extension-manager] Rename default methods to core methods on finder.
...
There are now extension_ and core_ methods for all finder settings as well as
a generic method which overwrites both.
PHPBB3-10323
2011-11-18 16:44:42 +01:00
Nils Adermann
eab7374f3f
[feature/extension-manager] Clarify comment on ext meta class instantiator
...
PHPBB3-10323
2011-11-18 14:38:31 +01:00
Nils Adermann
10fa711f00
[feature/extension-manager] Add more info on suffixes in extension finder
...
PHPBB3-10323
2011-11-18 14:37:57 +01:00
Nils Adermann
acc42bb2e9
[feature/extension-manager] Clarify is_dir parameter description
...
PHPBB3-10323
2011-11-18 13:16:32 +01:00
Nils Adermann
ef33bd72d0
[feature/extension-manager] Clarify class finding method docblock
...
PHPBB3-10323
2011-11-18 13:14:15 +01:00
Nils Adermann
7ee9a07179
[feature/extension-manager] Correct default path comment & remove double strlen
...
PHPBB3-10323
2011-11-18 13:10:09 +01:00
Nils Adermann
64bf03f4ca
[feature/extension-manager] Fix "disbale" typo in comment
...
PHPBB3-10323
2011-11-18 13:07:49 +01:00
Nils Adermann
4fb9f2101d
[feature/extension-manager] Support extensions in subdirectories of ext/
...
PHPBB3-10323
2011-10-14 01:30:50 +02:00
Nils Adermann
f53892c838
[feature/extension-manager] Add prefix to extension meta data / install classes
...
PHPBB3-10323
2011-10-14 00:52:36 +02:00
Nils Adermann
639e3b9f17
[feature/extension-manager] Support for loading language files from extensions
...
The referenced extension needs to be explicitly specified in an add_lang_ext()
call.
PHPBB3-10323
2011-10-14 00:44:48 +02:00
Nils Adermann
724f40f0f4
[feature/extension-manager] extension finder now saves ext it found a file in
...
PHPBB3-10323
2011-10-13 21:19:35 +02:00
Nils Adermann
fbc2442ccd
[feature/extension-manager] Correctly detect and handle directories in finder
...
PHPBB3-10323
2011-09-29 17:20:42 +02:00
Nils Adermann
cffc676f17
[feature/extension-manager] Find dirs with SELF_FIRST setting on iterator
...
PHPBB3-10323
2011-09-29 16:34:17 +02:00
Nils Adermann
f61ee5d6f5
[feature/extension-manager] Make sure the directory pattern matches on windows
...
PHPBB3-10323
2011-09-29 16:15:54 +02:00
Nils Adermann
520a5f9295
[feature/extension-manager] Refactoring the structure of extension provider
...
PHPBB3-10323
2011-09-29 16:15:53 +02:00
Nils Adermann
6ea6d50ccb
[feature/extension-manager] Don't cache the phpbb_root_path in the ext manager
...
Otherwise the paths are incorrect from e.g. adm/
PHPBB3-10323
2011-09-29 15:42:49 +02:00
Nils Adermann
6c6a7d7992
[feature/extension-manager] Extract extension provider functionality from cron
...
PHPBB3-10323
2011-09-29 15:42:49 +02:00
Nils Adermann
7d16007d6a
[feature/extension-manager] Prepend the phpbb_root_path if necessary.
...
PHPBB3-10323
2011-09-29 15:42:49 +02:00
Nils Adermann
fd42599191
[feature/extension-manager] Correct formatting of documentation
...
PHPBB3-10323
2011-09-29 15:42:49 +02:00
Nils Adermann
0ea4de4171
[feature/extension-manager] Add support for directories to the extension finder
...
PHPBB3-10323
2011-09-29 15:42:49 +02:00
Nils Adermann
c785ef7aa7
[feature/extension-manager] Make sure the extension manager works without cache
...
Includes a test for manager without a cache
PHPBB3-10323
2011-09-29 15:42:49 +02:00
Nils Adermann
739e9eb58e
[feature/extension-manager] Make the cache variable name for extensions dynamic
...
Allows multiple instances to use cache simultaneously.
PHPBB3-10323
2011-09-29 15:42:48 +02:00
Nils Adermann
bd1366d62d
[feature/extension-manager] Use _ext for cache - avoids conflict with file ext
...
PHPBB3-10323
2011-09-29 15:42:48 +02:00
Nils Adermann
64827a6623
[feature/extension-manager] Test creation of new extension finder cache
...
PHPBB3-10323
2011-09-29 15:42:48 +02:00
Nils Adermann
34f11a1039
[feature/extension-manager] Correct usage of false cache return value
...
PHPBB3-10323
2011-09-29 15:42:48 +02:00