Skip to content

Commit 7eb5df1

Browse files
v.2.5.0
1 parent 123f099 commit 7eb5df1

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

language/en-GB/pkg_swjprojects.sys.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PKG_SWJPROJECTS_AFTER_DISCOVER_INSTALL = "Thank you for installing the extension
1313
PKG_SWJPROJECTS_AFTER_UPDATE = "Thank you for updating the extension"
1414
PKG_SWJPROJECTS_AFTER_UNINSTALL = ":( So sorry that you uninstalled "
1515
PKG_SWJPROJECTS_MAYBE_INTERESTING="<h4>It may be interesting</h4><ul class=\"nav nav-tabs nav-stacked list-group\"><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/web-assets\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla 4 & Joomla 5 Web Assets.</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/joomshopping\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">JoomShopping extensions</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/joomla-plugins\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla plugins</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/joomla-modules\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla modules</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/components\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla components</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/joomla-libraries\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla libraries for developers.</a></li></ul>"
16-
PKG_SWJPROJECTS_WHATS_NEW="<h3>v.2.5.0 What's new?</h3><h4>Data structures schemes for update servers.</h4><p>Now with SW JProjects, you can create an update server not only for Joomla extensions, but also your own. For example, you need the update server data structure to be different and the format should be, for example, not XML, but JSON. The formation of the data structure for the Joomla extension update server is included in a separate plugin. You can create your own plugin (<a href=\"https://github.com/WebTolk/SW-JProjects-Sample-Custom-Update-server-data-scheme-\" target=\"_blank\">sample plugin on GitHub</a>) and implement the data structure you need in it by adding or removing the displayed data. The update server in the component still displays information about the list of projects and their versions, about a specific project and its changelog.</p><p>You can select the update server data schema globally for the entire component, select a different data schema for the project category, and select a schema for each project.</p><h4>New plugin group: <code>swjprojects</code></h4><p>A group of plugins <code>swjprojects</code> has been created for the needs of the component. In particular, this group contains the Joomla extensions data structure plugin for the update server.</p><h4>Changing language constants</h4><p>Some language constants have been changed. If you redefined constants, redefine them again.</p><h4>Joomla 6</h4><p>Changes have been made for the correct installation and operation of the component on Joomla 6.</p>"
16+
PKG_SWJPROJECTS_WHATS_NEW="<h3>v.2.5.0 What's new?</h3><h4>Data structures schemes for update servers.</h4><p>Now with SW JProjects, you can create an update server not only for Joomla extensions, but also your own. For example, you need the update server data structure to be different and the format should be, for example, not XML, but JSON. The formation of the data structure for the Joomla extension update server is included in a separate plugin. You can create your own plugin (<a href=\"https://github.com/WebTolk/SW-JProjects-Sample-Custom-Update-server-data-scheme-\" target=\"_blank\">sample plugin on GitHub</a>) and implement the data structure you need in it by adding or removing the displayed data. The update server in the component still displays information about the list of projects and their versions, about a specific project and its changelog.</p><p>You can select the update server data schema globally for the entire component, select a different data schema for the project category, and select a schema for each project.</p><h4>New plugin group: <code>swjprojects</code></h4><p>A group of plugins <code>swjprojects</code> has been created for the needs of the component. In particular, this group contains the Joomla extensions data structure plugin for the update server.</p><h4>Changing language constants</h4><p>Some language constants have been changed. If you redefined constants, redefine them again.</p><h4>Joomla 6</h4><p>Changes have been made for the correct installation and operation of the component on Joomla 6.</p><h4>The minimum version of Joomla is 5.</h4><p>Minimum system requirements have been raised: Joomla 5.0.0 and PHP 8.1.</p>"
1717
PKG_SWJPROJECTS_JOOMLARU_TELEGRAM_CHAT = "Joomla community in Telegram"
1818
PKG_SWJPROJECTS_WEBTOLK_TELEGRAM_CHANNEL = "@WebTolkRu in Telegram"
1919
PKG_SWJPROJECTS_ERROR_COMPATIBLE_PHP = "This version is compatible only with PHP %s and later"

language/ru-RU/pkg_swjprojects.sys.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PKG_SWJPROJECTS_AFTER_DISCOVER_INSTALL = "Спасибо за установку
1313
PKG_SWJPROJECTS_AFTER_UPDATE = "Спасибо за обновление расширения"
1414
PKG_SWJPROJECTS_AFTER_UNINSTALL = ":( Очень жаль, что вы удалили "
1515
PKG_SWJPROJECTS_MAYBE_INTERESTING="<h4>Может быть интересно</h4><ul class=\"nav nav-tabs nav-stacked list-group\"><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/web-assets\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Joomla 4 & Joomla 5 Web Assets</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/joomshopping\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Расширения для JoomShopping</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/joomla-plugins\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Плагины Joomla</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/joomla-modules\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Модули Joomla</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/components\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Компоненты Joomla</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/biblioteki\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Библиотеки Joomla для разработчиков</a></li></ul>"
16-
PKG_SWJPROJECTS_WHATS_NEW="<h3>v.2.5.0 Что нового?</h3><h4>Схемы структур данных для серверов обновлений.</h4><p>Теперь с SW JProjects вы может создавать сервер обновлений не только для расширений Joomla, но и свои собственные. Например, вам нужно, чтобы структура данных сервера обновлений была другая и формат должен быть, например, не XML, а JSON. Формирование структуры данных для сервера обновлений расширений Joomla вынесено в отдельный плагин. Вы можете создать свой собственный плагин (<a href=\"https://github.com/WebTolk/SW-JProjects-Sample-Custom-Update-server-data-scheme-\" target=\"_blank\">плагин-образец на GitHub</a>) и реализовать в нём нужную вам структуру данных, добавив или наоборот исключив отображаемые данные. Сервер обновлений в компоненте по-прежнему отображает информацию о списке проектов и их версиях, о конкретном проекте и его changelog.</p><p>Можно выбрать схему данных сервера обновлений глобально для всего компонента, выбрать другую схему данных для категории проектов, а так же выбрать схему в каждом проекте.</p><h4>Группа плагинов <code>swjprojects</code></h4><p>Для нужд компонента создана группа плагинов <code>swjprojects</code>. В частности, в этой группе находится плагин структуры данных Joomla расширений для сервера обновлений.</p><h4>Изменение языковых констант</h4><p>Изменены некоторые языковые константы. Если вы делали переопределение констант - переопределите их снова.</p><h4>Joomla 6</h4><p>Внесены изменения для корректной установки и работы компонента на Joomla 6.</p>"
16+
PKG_SWJPROJECTS_WHATS_NEW="<h3>v.2.5.0 Что нового?</h3><h4>Схемы структур данных для серверов обновлений.</h4><p>Теперь с SW JProjects вы может создавать сервер обновлений не только для расширений Joomla, но и свои собственные. Например, вам нужно, чтобы структура данных сервера обновлений была другая и формат должен быть, например, не XML, а JSON. Формирование структуры данных для сервера обновлений расширений Joomla вынесено в отдельный плагин. Вы можете создать свой собственный плагин (<a href=\"https://github.com/WebTolk/SW-JProjects-Sample-Custom-Update-server-data-scheme-\" target=\"_blank\">плагин-образец на GitHub</a>) и реализовать в нём нужную вам структуру данных, добавив или наоборот исключив отображаемые данные. Сервер обновлений в компоненте по-прежнему отображает информацию о списке проектов и их версиях, о конкретном проекте и его changelog.</p><p>Можно выбрать схему данных сервера обновлений глобально для всего компонента, выбрать другую схему данных для категории проектов, а так же выбрать схему в каждом проекте.</p><h4>Группа плагинов <code>swjprojects</code></h4><p>Для нужд компонента создана группа плагинов <code>swjprojects</code>. В частности, в этой группе находится плагин структуры данных Joomla расширений для сервера обновлений.</p><h4>Изменение языковых констант</h4><p>Изменены некоторые языковые константы. Если вы делали переопределение констант - переопределите их снова.</p><h4>Joomla 6</h4><p>Внесены изменения для корректной установки и работы компонента на Joomla 6.</p><h4>Минимальная версия Joomla - 5.</h4><p>Подняты минимальные системные требования: Joomla 5.0.0 и PHP 8.1.</p>"
1717
PKG_SWJPROJECTS_JOOMLARU_TELEGRAM_CHAT="Joomla сообщество в Телеграм"
1818
PKG_SWJPROJECTS_WEBTOLK_TELEGRAM_CHANNEL = "@WebTolkRu в Telegram"
1919
PKG_SWJPROJECTS_ERROR_COMPATIBLE_JOOMLA = "Эта версия совместима только с Joomla %s и выше."

plg_swjprojects_joomlaserverscheme/services/provider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ public function register(Container $container): void
3434
$container->set(
3535
PluginInterface::class,
3636
function (Container $container) {
37+
$dispatcher = $container->get(DispatcherInterface::class);
3738
$plugin = new Joomlaserverscheme(
38-
$container->get(DispatcherInterface::class),
39+
$dispatcher,
3940
(array) PluginHelper::getPlugin('swjprojects', 'joomlaserverscheme')
4041
);
4142
$plugin->setApplication(Factory::getApplication());

script.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function register(Container $container)
5454
*
5555
* @since 1.0.0
5656
*/
57-
protected string $minimumJoomla = '4.2.7';
57+
protected string $minimumJoomla = '5.0.0';
5858

5959
/**
6060
* Minimum PHP version required to install the extension.
@@ -63,7 +63,7 @@ public function register(Container $container)
6363
*
6464
* @since 1.0.0
6565
*/
66-
protected string $minimumPhp = '7.4';
66+
protected string $minimumPhp = '8.1';
6767

6868
/**
6969
* Constructor.

0 commit comments

Comments
 (0)