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
Nils Adermann
d5a5cdd0d7
[feature/extension-manager] Avoid unecessary loading of acp classes
...
PHPBB3-10323
2011-09-29 15:42:47 +02:00
Nils Adermann
ade496e0f7
[feature/extension-manager] Fix whitespace in acp_modules
...
PHPBB3-10323
2011-09-29 15:42:47 +02:00
Nils Adermann
4844b00777
[feature/extension-manager] Load (A/U/M)CP modules from extensions
...
To avoid large bc breaking changes, modules in the old includes directory
structure still follow the same naming conventions. Modules in extensions
have to be placed in an xcp/ folder and need a _module suffix. The
corresponding info file is in the same directory but with an _info suffix.
PHPBB3-10323
2011-09-29 15:42:47 +02:00
Nils Adermann
f6632fcfd0
[feature/extension-manager] Add filename prefix matching in extension finder
...
PHPBB3-10323
2011-09-29 15:42:47 +02:00
Nils Adermann
60ad0e21b5
[feature/extension-manager] Remove the ext_active index for lack of specificity
...
PHPBB3-10323
2011-09-29 15:42:47 +02:00
Nils Adermann
c6fd8d9c9b
[feature/extension-manager] Add missing newlines at end of files
...
PHPBB3-10323
2011-09-29 15:42:47 +02:00
Nils Adermann
5d5030a48b
[feature/extension-manager] Remove cron's dependency on the extension manager.
...
Instead a separate cron provider supplies the manager with tasks from the
extension finder.
PHPBB3-10323
2011-09-29 15:42:46 +02:00
Nils Adermann
96209e0224
[feature/extension-manager] The class loader no longer knows about extensions
...
Instead the class loader is instantiated twice. Once with the phpbb_ prefix
and once with the phpbb_ext_ prefix.
PHPBB3-10323
2011-09-29 15:42:46 +02:00
Nils Adermann
989bd9cde7
[feature/extension-manager] Skip phpbb_search_base by checking for get_name()
...
PHPBB3-10323
2011-09-29 15:42:40 +02:00
Nils Adermann
956860c21d
[feature/extension-manager] Never cache extension finder queries in debug mode
...
During development the detection of files should happen immediately and
performance is less of a concern.
PHPBB3-10323
2011-09-29 15:42:40 +02:00
Nils Adermann
dcc5ca5377
[feature/extension-manager] Make search backends loadable from extensions
...
Search backends are now required to be autoloadable. The database updater to
3.1 tries to guess the class name as phpbb_search_<oldname> which works for
the default backends we ship.
PHPBB3-10323
2011-09-29 15:42:40 +02:00
Nils Adermann
fb943d4d6b
[feature/extension-manager] Load the extension manager on all pages
...
PHPBB3-10323
2011-09-29 15:42:40 +02:00
Nils Adermann
fabde989a2
[feature/extension-manager] Porting cron tasks over to the extension finder
...
PHPBB3-10323
2011-09-29 15:42:33 +02:00
Nils Adermann
14f1e581fa
[feature/extension-manager] Extension Manager & Finder
...
Extensions RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41499
Ticket: http://tracker.phpbb.com/browse/PHPBB3-10323
PHPBB3-10323
2011-09-29 15:42:33 +02:00
Patrick Webster
b4dcd4193e
[ticket/10349] Update function comment
...
PHPBB3-10349
2011-09-28 11:27:39 -05:00
Patrick Webster
26e84b12e8
[ticket/10349] Use new schema comment function in installer
...
This is what now runs in the unit tests. The COMMENTS field in the dbms data
is no longer needed, so it has been removed.
PHPBB3-10349
2011-09-28 01:52:08 -05:00
Matt Friedman
9bea7c3278
[ticket/10390] Fix wording: fallback should be fall back
...
PHPBB3-10390
2011-09-27 20:15:41 -07:00
Andreas Fischer
8377418466
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10394] Use call_user_func_array to pass a ref into a dynamic function
2011-09-27 22:44:20 +02:00
Andreas Fischer
86f8851c40
Merge remote-tracking branch 'naderman/ticket/10394' into develop-olympus
...
* naderman/ticket/10394:
[ticket/10394] Use call_user_func_array to pass a ref into a dynamic function
2011-09-27 22:39:30 +02:00
Nils Adermann
b197ea56c2
[ticket/10394] Use call_user_func_array to pass a ref into a dynamic function
...
PHPBB3-10394
2011-09-27 22:32:20 +02:00
Andreas Fischer
76f3d08383
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10315] Add top/bottom margin to the options in ACP to avoid overlapping
2011-09-27 20:58:17 +02:00
Andreas Fischer
dad7aa9593
Merge remote-tracking branch 'nickvergessen/ticket/10315' into develop-olympus
...
* nickvergessen/ticket/10315:
[ticket/10315] Add top/bottom margin to the options in ACP to avoid overlapping
2011-09-27 20:57:55 +02:00
Andreas Fischer
887a9e583f
Merge remote-tracking branch 'cs278/ticket/10387' into develop
...
* cs278/ticket/10387:
[ticket/10387] Add CURRENT_PAGE var to the template when pagination is used.
2011-09-27 20:29:03 +02:00
Andreas Fischer
9e35eb2e1f
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10394] Remove call-time pass by reference from tests for PHP 5.4
2011-09-27 20:24:24 +02:00
Andreas Fischer
af66fbb93b
Merge branch 'develop' of git://github.com/phpbb/phpbb3 into develop
...
* 'develop' of git://github.com/phpbb/phpbb3:
[ticket/10392] Alter parent namespace stripping.
[ticket/10392] Test for magic loop variables with nested namespaces.
[ticket/10392] Missed fix for S_BLOCK_NAME.
[ticket/10392] Fix access to nested special block variables.
2011-09-27 20:24:16 +02:00
Andreas Fischer
13b718e720
Merge remote-tracking branch 'naderman/ticket/10394' into develop-olympus
...
* naderman/ticket/10394:
[ticket/10394] Remove call-time pass by reference from tests for PHP 5.4
2011-09-27 20:21:57 +02:00
Matt Friedman
2dca3c3c27
[ticket/10390] Serve jQuery from Google CDN Yes/No button in ACP
...
jQuery will now be available via remote CDN from Google. Microsoft and
jQuery CDNs have been removed, so we can simplify this option for the user.
Default mode is NO so the copy of jQuery included with phpBB is served by
default.
PHPBB3-10390
2011-09-27 11:12:11 -07:00
Matt Friedman
2a28b6fc40
[ticket/10390] Use simpler HTML5 compliant js for the jQuery fallback
...
HTML5 styles (ACP / Prosilver) do not need to use escaped javascript
wrapped in an unescape function, so we can simplify it! Only subsilver2 will
use the escaped version of the fallback code, because it is still XHTML.
PHPBB3-10390
2011-09-27 11:11:42 -07:00
Matt Friedman
c6a2d81bd3
[ticket/10390] Drop http protocol for Microsoft's CDN option
...
Like Google, Microsoft supports both http and https protocols, so we
can drop the protocol alltogether from the url so the Microsoft CDN
will work on both HTTP or HTTPS sites without issue. Also I cleaned
up some of the comments here.
PHPBB3-10390
2011-09-27 11:11:30 -07:00
Matt Friedman
81e8faecbc
[ticket/10390] Reword the language for jQuery host/server options
...
Reword some of the language used for the description and pull-down options
to try and make it more clear to users that they have the option to use
jQuery from their own server with the copy included with phpBB, or from one
of the remote CDN servers.
PHPBB3-10390
2011-09-27 11:10:43 -07:00
Nils Adermann
fd376dfbe6
Merge remote-tracking branch 'github-cs278/ticket/10392' into develop
...
* github-cs278/ticket/10392:
[ticket/10392] Alter parent namespace stripping.
[ticket/10392] Test for magic loop variables with nested namespaces.
[ticket/10392] Missed fix for S_BLOCK_NAME.
[ticket/10392] Fix access to nested special block variables.
2011-09-27 17:39:08 +02:00
Nils Adermann
b571b3e032
[ticket/10394] Remove call-time pass by reference from tests for PHP 5.4
...
PHPBB3-10394
2011-09-27 17:31:24 +02:00
Chris Smith
1f14013093
[ticket/10392] Alter parent namespace stripping.
...
PHPBB3-10392
2011-09-27 01:06:43 +01:00
Chris Smith
118bc6198e
[ticket/10392] Test for magic loop variables with nested namespaces.
...
PHPBB3-10392
2011-09-27 01:02:58 +01:00
Chris Smith
02a24e2439
[ticket/10392] Missed fix for S_BLOCK_NAME.
...
PHPBB3-10392
2011-09-27 00:50:53 +01:00
Chris Smith
0f589d9ce4
[ticket/10392] Fix access to nested special block variables.
...
PHPBB3-10392
2011-09-26 20:52:07 +01:00
Matt Friedman
d4fe81f8f0
[ticket/10390] Fix a type-o - captialize AJAX
...
AJAX should be capitalized where it appears in the ACP as the
option: "Google AJAX API CDN"
PHPBB3-10390
2011-09-26 11:16:38 -07:00