Новости Joomla

Как тестировать Joomla PHP-разработчику? Компонент Patch tester.

👩‍💻 Как тестировать Joomla PHP-разработчику? Компонент Patch tester.Joomla - open source PHP-фреймворк с готовой админкой. Его основная разработка ведётся на GitHub. Для того, чтобы международному сообществу разработчиков было удобнее тестировать Pull Requests был создан компонент Patch Tester, который позволяет "накатить" на текущую установку Joomla именно те изменения, которые необходимо протестировать. На стороне инфраструктуры Joomla для каждого PR собираются готовые пакеты, в которых находится ядро + предложенные изменения. В каждом PR обычно находятся инструкции по тестированию: куда зайти, что нажать, ожидаемый результат. Тестировщики могут предположить дополнительные сценарии, исходя из своего опыта и найти баги, о которых сообщить разработчику. Или не найти, и тогда улучшение или исправление ошибки быстрее войдёт в ядро Joomla. Напомню, что для того, чтобы PR вошёл в ядро Joomla нужны минимум 2 положительных теста от 2 участников сообщества, кроме автора. Видео на YouTubeВидео на VK ВидеоВидео на RuTubeКомпонент на GitHub https://github.com/joomla-extensions/patchtester@joomlafeed#joomla #php #webdev #community

0 Пользователей и 1 Гость просматривают эту тему.
  • 5 Ответов
  • 1098 Просмотров
*

lok

  • Захожу иногда
  • 60
  • 1 / 0
Добрый день помогите с вопросом.

Перешол с  Joomla 1.5 на с  Joomla 2.5 и решил выкинуть с сайта форум который забился всякими левыми ссылками никак не могу сделать редирект с удаленного каталога форума на страницу закрытия форума

/distribution/viewforum.php?f=8&sid=010a38f93993a6bb4fed6af48d37036c&start=25000   
/distribution/viewforum.php?f=8&sid=010a38f93993a6bb4fed6af48d37036c&start=25025
/distribution/viewforum.php?f=8&sid=010a38f93993a6bb4fed6af48d37036c&start=25050
/distribution/viewforum.php?f=8&sid=020fc388183eaea681016eb9b2ffa356&start=5825
/distribution/viewforum.php?f=8&sid=3082c08c74ddea71219c0d54dd3ced16&start=400

И такой фигни в Яндекс вебмастере с 404 и 500 ошибкой 10 000 страниц
А всего то и требуется,  направить всех кто обращается к несуществующему каталогу /distribution/ где располагался форум, на страницу http://www.top100on-line.ru/forumoff.html

и еще одна небольшая просьба, помогите перенаправить по правильному адресу, новости раньше были по такой ссылке http://www.top100on-line.ru/8-news/newswork/316-terastart  а сейчас  http://www.top100on-line.ru/news/newsworkgame/terastart.html
« Последнее редактирование: 06.11.2013, 18:23:40 от lok »
*

VovkaS

  • Новичок
  • 9
  • 1 / 0
Re: Редирект с удаленного каталога
« Ответ #1 : 06.11.2013, 19:46:57 »
а в чем проблема? что значит "не могу"

что делал и что не получилось?
*

lok

  • Захожу иногда
  • 60
  • 1 / 0
Re: Редирект с удаленного каталога
« Ответ #2 : 06.11.2013, 20:53:31 »
нагуглил кучу про редирект: ну и соответственно попробовал:


Redirect 301 /distribution/ http://www.top100on-line.ru/forumoff.html

Redirect permanent /distribution/ http://www.top100on-line.ru/forumoff.html

Redirect gone /distribution/ http://www.top100on-line.ru/forumoff.html

вроде пишу правильно а перенаправление не обрабатывается(

пробовал

RedirectMatch /(.*)/(.*)/distribution/  http://www.top100on-line.ru/forumoff.html

но не знаю как правильно указать регулярное выражение каталога distribution
*

VovkaS

  • Новичок
  • 9
  • 1 / 0
Re: Редирект с удаленного каталога
« Ответ #3 : 06.11.2013, 21:40:22 »
Можно показать все что касается редиректа, скопируй прям из файла.
*

lok

  • Захожу иногда
  • 60
  • 1 / 0
Re: Редирект с удаленного каталога
« Ответ #4 : 06.11.2013, 22:07:20 »
Код
##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your SEF url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
#  mod_rewrite in use
RewriteEngine On
RewriteCond %{HTTP_HOST} ^top100on-line\.ru$ [NC]
RewriteRule ^(.*)$ http://www.top100on-line.ru/$1 [R=301,L]

#####################Редирект с форума


#####################################################

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)
# RewriteBase /
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
redirect /ru http://www.top100on-line.ru


redirect /brausergame/2009-06-13-17-40-56.html http://www.top100on-line.ru/
redirect /brausergame/2.html http://www.top100on-line.ru/games/brausergame/index.php
redirect /games/brausergame/mafia-2.html http://www.top100on-line.ru/games/brausergame/mafia1930.html
redirect /newgamerate.html http://www.top100on-line.ru/
redirect /obzor-online.html http://www.top100on-line.ru/news/newsport/obzoronline.html
redirect /content/21.html http://www.top100on-line.ru/games/brausergame/index.php?option=com_content&view=category&id=1&Itemid=3
redirect /content/41.html http://www.top100on-line.ru/games/brausergame/index.php?option=com_content&view=category&id=1&Itemid=3
redirect /content/61.html http://www.top100on-line.ru/games/brausergame/index.php?option=com_content&view=category&id=1&Itemid=3
redirect /content/81.html http://www.top100on-line.ru/games/brausergame/index.php?option=com_content&view=category&id=1&Itemid=3

AddDefaultCharset koi8-r
*

lok

  • Захожу иногда
  • 60
  • 1 / 0
Re: Редирект с удаленного каталога
« Ответ #5 : 07.11.2013, 21:21:54 »
Нда походу про редирект никто ничего тут не знает.
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Убрать уровни подкатегорий в меню

Автор desaund1

Ответов: 0
Просмотров: 1379
Последний ответ 10.08.2017, 22:34:06
от desaund1
Изменить форму на главной ?

Автор warlocksp

Ответов: 2
Просмотров: 1231
Последний ответ 19.02.2017, 15:44:11
от warlocksp
Дублирование на сайте

Автор derenikp

Ответов: 3
Просмотров: 1355
Последний ответ 08.01.2017, 17:30:00
от derenikp
Переменная в ссылках.Не выполняется задаm

Автор ghostcom

Ответов: 25
Просмотров: 1642
Последний ответ 06.09.2016, 17:13:20
от ghostcom
ошибка "File for Model inventory not found"

Автор polgrig

Ответов: 0
Просмотров: 1394
Последний ответ 05.08.2016, 14:36:02
от polgrig