mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[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
This commit is contained in:
committed by
Tristan Darricau
parent
47b240660b
commit
e0b2ceef83
@@ -106,4 +106,11 @@ $lang = array_merge($lang, array(
|
||||
'AUTHOR_EMAIL' => 'Email',
|
||||
'AUTHOR_HOMEPAGE' => 'Homepage',
|
||||
'AUTHOR_ROLE' => 'Role',
|
||||
|
||||
'NOT_UP_TO_DATE' => '%s is not up to date',
|
||||
'UP_TO_DATE' => '%s is up to date',
|
||||
'ANNOUNCEMENT_TOPIC' => 'Release Announcement',
|
||||
'DOWNLOAD_LATEST' => 'Download Latest Version',
|
||||
'NO_VERSIONCHECK' => 'No informations about how get the latest version.',
|
||||
// 'NO_INFO' => 'Version server could not be contacted',
|
||||
));
|
||||
|
Reference in New Issue
Block a user