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
0c443a089c
[feature/extension-manager] Reference correct new module basenames in install
...
PHPBB3-10323
2011-11-18 17:09:53 +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
d8e5783e8c
[feature/extension-manager] Document what the class loader stores in cache
...
PHPBB3-10323
2011-11-18 16:00:22 +01:00
Nils Adermann
91c0a0d426
[feature/extension-manager] Add docblock to cached paths map in class loader
...
PHPBB3-10323
2011-11-18 15:57:51 +01:00
Nils Adermann
7cdc4bba25
[feature/extension-manager] Clear up docs of extension related template changes
...
PHPBB3-10323
2011-11-18 15:29:32 +01:00
Nils Adermann
8be1500048
[feature/extension-manager] Use "core files" instead of "global files" in docs
...
PHPBB3-10323
2011-11-18 14:48:39 +01:00
Nils Adermann
121cab1c29
[feature/extension-manager] Add docblocks to new search backend methods
...
PHPBB3-10323
2011-11-18 14:46:30 +01:00
Nils Adermann
81ac369808
[feature/extension-manager] Add docblocks to new methods in functions_module
...
PHPBB3-10323
2011-11-18 14:43:38 +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
cd522a11f3
[feature/extension-manager] Properly remove old ACP language loading code
...
PHPBB3-10323
2011-10-14 01:31:24 +02: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
7b12bba95b
[feature/extension-manager] Allow old non-prefix basenames to work for lookups
...
These module basenames are hardcoded in a bunch of places so they need to
continue to work unless we want to rewrite all of them.
PHPBB3-10323
2011-10-13 17:38:38 +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
024a5e710e
[feature/extension-manager] Correctly reset paths in set_template
...
PHPBB3-10323
2011-09-29 16:15:54 +02:00
Nils Adermann
e52022c572
[feature/extension-manager] Make sure named styles are loaded from root dir
...
PHPBB3-10323
2011-09-29 16:15:54 +02:00
Nils Adermann
4d08d769c2
[feature/extension-manager] Fallback template might not always be set
...
PHPBB3-10323
2011-09-29 16:15:53 +02:00
Nils Adermann
703fcae382
[feature/extension-manager] Reset all template paths after a set_templates call
...
PHPBB3-10323
2011-09-29 16:15:53 +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
482a8c47ea
[feature/extension-manager] Don't use the extension manager during install
...
Template needs to be able to work without extensions.
PHPBB3-10323
2011-09-29 16:15:53 +02:00
Nils Adermann
ea46feb115
[feature/extension-manager] Add support for templates in extensions.
...
This commit adds a template path provider to separate the process of locating
(cached) paths in extensions from the template engine. The locator is supplied
with a list of paths from the path provider.
Admin templates can now be created in ext/<ext>/adm/style/ and regular
templates go into ext/<ext>/styles/<style>/template/. Extension templates
override regular templates. So if an extension supplies a file with a name
used in phpBB, the extension's file will be used.
A side-effect of this commit: Locator and Provider are now able to deal with
arbitrary levels of template inheritance. So we can expose this through
phpbb_template if we choose to, and allow styles to inherit from inherited
styles.
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
fe4b8818ec
[feature/extension-manager] Always store the full class name as module basename
...
The updater swaps out all basenames.
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
018a835997
[feature/extension-manager] The default fulltext native backend was renamed
...
This was done to make it autoloadable.
PHPBB3-10323
2011-09-29 15:42:49 +02:00
Nils Adermann
48391d2dde
[feature/extension-manager] Create an extension manager on update and install
...
It's required when adding modules
PHPBB3-10323
2011-09-29 15:42:48 +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
Nils Adermann
7435f344e2
[feature/extension-manager] Add docblocks for query members of extension finder
...
PHPBB3-10323
2011-09-29 15:42:48 +02:00
Nils Adermann
24ddef2230
[feature/extension-manager] Remove 5.2 incompatible \ in front of SPL classname
...
PHPBB-10323
2011-09-29 15:42:48 +02:00
Nils Adermann
c7a986eccd
[feature/extension-manager] Use an incremental process for enable and purge
...
The enable or purge operation of an extension could take a long time if an
expensive operation needs to be executed on a large set of data. To allow
this to succeed from a web interface with max_execution_time set in the
webserver's php configuration, subsequent requests must continue the
operation started earlier. So individual enable and purge implementations
must be able to spread their work across multiple steps.
PHPBB3-10323
2011-09-29 15:42:48 +02:00
Nils Adermann
897063d3e2
[feature/extension-manager] Add missing sql_freeresult call
...
PHPBB3-10323
2011-09-29 15:42:48 +02:00
Nils Adermann
61df8a87d1
[feature/extension-manager] Allow extensions to define captcha plugins.
...
The base class for captcha plugins has been renamed, but the old name continues
to exist as an empty subclass of it for backwards compatability.
PHPBB3-10323
2011-09-29 15:42:47 +02:00