javiexin
2e3d90e05b
[ticket/15087] Optimize creation of metadata objects by caching
...
Caching is done in ext_manager, and metadata_manager is further simplified
by reducing the number of parameters needed. Also, move template output
function from metadata_manager to acp_extensions, where it belongs.
PHPBB3-15087
2017-02-12 18:33:06 +01:00
javiexin
17f8c53ef3
[ticket/15087] Optimize creation of metadata objects by caching
...
Code for [ticket/14919] Do not directly use globals in acp_extensions
for phpbb 3.2.
PHPBB3-15087
2017-02-12 13:46:37 +01:00
javiexin
d6771d6a7f
[ticket/14849] Add core.acp_extensions_run_action
...
Moved the event to a slightly modified position.
Added an extra variable to the event.
Additional event to be run after the execution of the action in ACP.
Added a new action to allow for extension execution control.
PHPBB-14849
2016-12-30 21:43:15 +01:00
javiexin
21803dc99b
[ticket/14919] Do not directly use globals in acp_extensions
...
Declare all used variables (u_action, tpl_name, page_title). Fix typo.
PHPBB3-14919
2016-12-25 14:34:52 +01:00
javiexin
84d2d767b9
[ticket/14919] Do not directly use globals in acp_extensions
...
Declare all used variables (u_action, tpl_name, page_title).
PHPBB3-14919
2016-12-19 15:51:43 +01:00
javiexin
b20d98a229
[ticket/14919] Do not directly use globals in acp_extensions
...
PHPBB3-14919
2016-12-17 22:27:44 +01:00
javiexin
aad13389ce
[ticket/14849] Add core.acp_extensions_run_action_after
...
Additional event to be run after the execution of the action in ACP.
Adding missing var as input to event.
PHPBB-14849
2016-12-16 20:40:28 +01:00
javiexin
620d033e06
[ticket/14849] Add core.acp_extensions_run_action_after
...
Additional event to be run after the execution of the action in ACP
PHPBB-14849
2016-12-16 15:05:22 +01:00
javiexin
aae6341989
[ticket/14849] Add core.acp_extensions_run_action
...
Moved the event to a slightly modified position to perform common
checks before calling the event, added an extra variable to allow
execution control, honor the extension modified value of u_action
(if any)
PHPBB-14849
2016-12-11 21:15:30 +01:00
Derky
a2793f24b1
[ticket/14901] Remove notice for extension without version check
...
Extensions without version check should not display a notice on the
details page in the ACP.
PHPBB3-14901
2016-12-09 20:03:00 +01:00
Marc Alexander
4c36ca4b85
[ticket/14900] Do not state missing cached version check means ext is invalid
...
Also fixed typo in code that was looming there for a while.
PHPBB3-14900
2016-12-08 21:17:50 +01:00
Tristan Darricau
57915a8aaa
[ticket/12610] Correctly handle empty cache
...
PHPBB3-12610
2016-12-03 16:37:36 +01:00
Tristan Darricau
ab58bb8744
[ticket/12610] Ignor exception due to the version check in extensions list
...
PHPBB3-12610
2016-12-03 16:37:36 +01:00
Tristan Darricau
1f305e4025
[ticket/12610] Skip extensions with no update info
...
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Tristan Darricau
8481bd4e18
[ticket/12610] Use exception_interface
...
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Etienne Baroux
346f31a031
[ticket/12610] Add command to check if the board is up to date.
...
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Marc Alexander
c6bed98cf5
Merge branch '3.1.x' into 3.2.x
2016-11-16 21:57:10 +01:00
Jakub Senko
b80b624551
[ticket/14849] Add core.acp_extensions_run_action
...
PHPBB3-14849
2016-11-13 22:34:28 +01:00
Marc Alexander
68d945e931
Merge branch '3.1.x'
2016-01-12 04:31:15 +01:00
Marc Alexander
826d6aac74
Merge pull request #3929 from kilianr/ticket/12618
...
[ticket/12618] Allow extension author to use SSL for version-check.
2016-01-12 04:11:56 +01:00
Joas Schilling
7f7b09fdeb
Merge branch '3.1.x'
...
Conflicts:
build/build.xml
phpBB/docs/CHANGELOG.html
phpBB/includes/acp/acp_bbcodes.php
2016-01-09 18:45:32 +01:00
Joas Schilling
c2d59b3352
Merge pull request #24 from phpbb/ticket/security-188
...
[ticket/security-188] Check form key in acp_bbcodes
2016-01-09 09:13:50 +01:00
Marc Alexander
73e6e5b77f
[ticket/13454] Remove unused variables
...
This is the first part of the changes. More to come.
PHPBB3-13454
2016-01-06 13:51:19 +01:00
Marc Alexander
87345807de
[ticket/security-188] Remove unused form key from acp_extensions
...
SECURITY-188
2015-12-23 17:32:31 +01:00
Kilian
49f8192ba2
[ticket/12618] Minor fix: Don't cast bool to int anymore
...
PHPBB3-12618
2015-09-29 00:08:34 +02:00
Kilian
30279347ac
[ticket/12618] Allow extension author to use SSL for version-check
...
For version-check a new parameter 'ssl' is introduced.
If set to true, it will use 443 as port for the file_downloader.
In file_downloader, the host parameter of fsockopen is appended
with 'ssl://' in case the port is 443 in order to use SSL.
PHPBB3-12618
2015-09-25 22:16:29 +02:00
Tristan Darricau
087e219a09
Merge branch '3.1.x'
...
* 3.1.x:
[ticket/14154] Add extension composer name as tooltip
2015-09-16 11:58:53 +02:00
Zoddo
a4a99f5ea3
[ticket/14154] Add extension composer name as tooltip
...
PHPBB3-14154
2015-09-12 14:52:31 +02:00
Marc Alexander
f9389995e7
[ticket/13930] Add missing spaces to code
...
PHPBB3-13930
2015-06-08 13:54:50 +02:00
MateBartus
179a470022
[ticket/13762] Moving language related functionality into a separate class
...
PHPBB3-13762
2015-05-02 13:37:12 +02:00
MateBartus
57072a1e28
[ticket/13793] Remove translation on throwing exceptions
...
PHPBB3-13793
2015-05-01 12:40:53 +02:00
Marc Alexander
27cfda74fc
[ticket/13612] Always display success message if extension was enabled
...
An error will already be triggered if enable_step() is not successful.
Redirecting for no obvious reason will just confuse users.
PHPBB3-13612
2015-02-14 23:41:53 +01:00
Marc Alexander
f3ae5e4cb2
[ticket/13358] Correctly create version_helper in acp_extensions
...
The full namespace for the file_downloader is now also being used in
version_helper.
PHPBB3-13358
2014-11-22 15:23:26 +01:00
Tristan Darricau
519e64205a
[ticket/12847] Allow the extensions to say if they can be enabled
...
PHPBB3-12847
2014-07-13 18:09:34 +02:00
Tristan Darricau
d13e02c7b1
[ticket/12777] Rename extension status functions and add is_configured()
...
PHPBB3-12777
2014-06-27 10:49:13 +02:00
Tristan Darricau
34a4ba36cd
[ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy ruleset
...
PHPBB3-12721
2014-06-16 22:35:12 +02:00
n-aleha
031273de72
[ticket/11467] Add language variables for extension exception messages
...
Remove hard-coded messages and add language variables for extension
exception messages.
PHPBB3-11467
2014-05-29 01:07:44 +03:00
Tristan Darricau
8dc10d6971
[ticket/11366] Add $config['extension_force_unstable']
...
PHPBB3-11366
2014-05-28 22:19:03 +02:00
Tristan Darricau
f4d598559f
[ticket/11366] Use force_cache on the list page
...
PHPBB3-11366
2014-05-28 22:19:02 +02:00
Tristan Darricau
13ecddf85b
[ticket/11366] Add recheck-all link
...
PHPBB3-11366
2014-05-28 22:19:00 +02:00
Tristan Darricau
521fe2b8e2
[ticket/11366] Force the use of the cache on the list page
...
PHPBB3-11366
2014-05-28 22:18:54 +02:00
Tristan Darricau
537d8b3c16
[ticket/11366] Fix whitespaces
...
PHPBB3-11366
2014-05-28 22:16:59 +02:00
Tristan Darricau
492c1952c1
[ticket/11366] Update var names
...
PHPBB3-11366
2014-05-28 22:16:55 +02:00
Tristan Darricau
bee6c6baea
[ticket/11366] Fix detailed view
...
PHPBB3-11366
2014-05-28 22:16:51 +02:00
Tristan Darricau
29244c29d1
[ticket/11366] Remove the double spaces
...
PHPBB3-11366
2014-05-28 22:16:50 +02:00
Tristan Darricau
5e29ea77d8
[ticket/11366] Coding style
...
PHPBB3-11366
2014-05-28 22:16:48 +02:00
Nicofuma
f5da195a03
[ticket/11366] Adding a missing commit
...
PHPBB3-11366
2014-05-28 22:16:41 +02:00
Nicofuma
2552a0fef2
[ticket/11366] Bug Fix: Extensions removed but still registred in DB
...
Fix the bug with the Extensions removed but still registred in DB
PHPBB3-11366
2014-05-28 22:16:39 +02:00
Nicofuma
44752c0dbf
[ticket/11366] Moving to \phpbb\version_helper
...
+ bug fix (missing exception)
+ Using \phpbb\version_helper
So, now, the version file have a new format :
{
"stable": {
"<branch>": {
"current": "<version>",
[ "announcement": "<announcement link>", ]
[ "download": "<download link>", ]
},
"<branch>": {
...
}
},
"unstable": {
}
}
PHPBB3-11366
2014-05-28 22:16:37 +02:00
Nicofuma
e0b2ceef83
[ticket/11366] Extension's version's check
...
Add a feature to check automatically the version of the installed
extensions. The informations are cached for 24 hours (like for the
global update check on the main page of the acp).
The informations about the versions are display both on the global list
and on the detailled page.
To do this the developper has to to let the composer.json of the latest
version available and add some informations into it :
"extra": {
"version-check": {
"host": "<the host>",
"directory": "<the directory containing the file>",
"filename": "<the composer.json of the latest version>"
}
}
He can also add two extra informations which will be displayed if a new
version is available :
"extra": {
"download": "<download link>",
"annoucement": "<announcement link>",
}
Currently a notice is displayed when the "extra.version-check"
informations are
missing.
Ticket: https://tracker.phpbb.com/browse/PHPBB3-11366
Signed-off-by: Nicofuma <github@nicofuma.fr>
PHPBB3-11366
2014-05-28 22:15:47 +02:00