Forums / Cotonti / Development / Siena Beta Testing

<<<1...45678910>>>

Bugfixing and evaluation cycle started

Igor
#91 2011-01-16 03:45
Мне трудно на англицком, потому уж простите за русский...
Из того, что быстро удалось заметить:
Когда находишься на Главной любой из установленных систем (был в двух по ссылкам из данной темы), к примеру сообщение 85 http://broens.be (ссылка на текст Peter), а с неё пытаешься выйти на админку (без соответствующих прав, естественно по имеющейся на Главной ссылке), то перед редиректом на залогинивание пару секунд висит страница с сообщением об ошибках, т.е. с ругательствами "Вам не разрешено...". Так вот, эта страница именно в этот момент по какой то причине выводится крайне криво. Разноцветные блоки налазят один на другой, а картинка со знаком устраивается поверх текста...
И, что ещё интереснее, так это то, когда после редиректа на логин страницу в браузере кликнуть "спина" (почти как в оригинале :) ), т.е. вернуться назад, то эта страница с теми же меседжами "Всё плохо!" выводится корректно. У меня Эксплорер 9, если нужно скину куда-нибудь скрин.
esclkm
#92 2011-01-16 04:36
Igor -> http://www.cotonti.com/forums.php?m=posts&q=5936&n=last#bottom
баг извесен - спасибо что напомнили про оноый.
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Trustmaster
#93 2011-01-23 23:30
Hey guys, Genoa => Siena upgrade is ready for testing (since r1773).

The order is:
  1. Make a backup of your site files and database (install a copy of your site somewhere and test it there).
  2. (Optional) Remove files and folders which are no longer used in Siena (in system folder).
  3. Unpack Siena files on top of your existing Genoa copy.
  4. Make sure datas/config.php is writable (CHMOD 666).
  5. Run http://example.com/your_site_copy/install.php
  6. Select parsing mode and after that it will upgrade your config.php and database

Several notes about the upgrade script:
  • If you choose to convert to HTML parsing, there will be no undo for this later. Neither you will be able to convert to HTML later.
  • All modules will be upgraded to Siena automatically, the data will be kept.
  • The default behavior is to update&keep existing plugins which have been ported to Siena.
  • All non-ported plugins are uninstalled during upgrade.
  • No selection/installation of new plugins (except for those which implement old functionality moved to plugins) is done, this is up to admin after upgrade.
May the Source be with you!
pieter
#94 2011-01-23 23:51
How do we upgrade plugins?

Will there be a tutorial?
... can we help you ...
GHengeveld
#95 2011-01-24 00:01
# pieter : How do we upgrade plugins?

Will there be a tutorial?
1. Increase version number in pluginname.setup.php and upload it.
2. Goto admin panel -> extensions -> pluginname and click Update.
3. Plugin will be re-installed, keeping existing data/configuration.
Trustmaster
#96 2011-01-24 00:11
# Koradhil : 1. Increase version number in pluginname.setup.php and upload it.
2. Goto admin panel -> extensions -> pluginname and click Update.
3. Plugin will be re-installed, keeping existing data/configuration.
This is for Siena plugins only. Genoa plugins need porting first, which needs documentation.
May the Source be with you!
pieter
#97 2011-01-24 00:13
I ment upgrade plugins from genoa to siena.

Added 19 minutes later:

The ordering methode for each category is gone after upgrade.
I don't have a lot of categories, but for some this will be a nightmare.

Default it is set to Title - Ascending for all cats.

Added 1 day later:

The pages and forumposts are converted to HTML.

But the signatures are not converted via the install script.

Added 53 minutes later:

Is it possible that {COMMENTS_ROW_AUTHOR_AVATAR} is only visible for users that are logged in.
Can this be changed so guest can see the avators in comments too?

Added 5 minutes later:

If I use {PAGE_TITLE} in pages. I get category and title.
In admin-panel under titles there is only {TITLE} mentioned and not {CATEGORY}{TITLE}
And {PAGE_ROW_SHORTTITLE}(used in news.tpl) does not work.
... can we help you ...
This post was edited by pieter (2011-01-25 03:45, 13 years ago)
GHengeveld
#98 2011-01-25 04:10
{PAGE_SHORTTITLE} should work. See modules/page/inc/page.functions.php line 182.
pieter
#99 2011-01-25 14:40
Thx, is there also a solution for the other problems?
... can we help you ...
GHengeveld
#100 2011-01-25 17:33
Not sure about the avatars. The others are core issues that need to be looked into. Currently I have no time for that, maybe this weekend.

Added 3 minutes later:

Ok, a quick test confirmed the avatar problem. It can be fixed by setting read rights for guests on the userimages plugin. It's fixed in 1776.
Trustmaster
#101 2011-01-25 22:19
User signature conversion fixed. Don't forget about "Allow images and HTML in user signature" configuration setting.
May the Source be with you!
GHengeveld
#102 2011-01-28 20:32
I just added tags for getting a timestamp, see 1781. In combination with callbacks in CoTemplate it allows for much more flexible date formatting. Here's some examples:

{PAGE_BEGIN_STAMP|date('d-m-Y H:i', $this)}
18-06-1988 13:37

{PAGE_BEGIN_STAMP|date('l, F d, Y', $this)}
Friday, January 28, 2011

{PAGE_ROW_DATE_STAMP|cot_build_timegap($this)} {PHP.L.Ago}
3 weeks ago
esclkm
#103 2011-01-28 20:53
what about non english in dates&

Добавлено 2 секунды спустя:

what about non english in dates&
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
GHengeveld
#104 2011-01-28 20:59
Will follow later on. CoTemplate needs some extra intelligence for that. Most likely a job for Trustmaster. We cannot rely on PHP itself to handle it, because set_locale often only supports english (and most shared hosts don't allow you to add another locale).

If you do have the right locale, or you have the option to install it on your server, you can use strftime as a callback:
{PAGE_BEGIN_STAMP|strftime('%A %d %B %Y', $this)}
Vrijdag 28 januari 2011 (dutch)
This post was edited by Koradhil (2011-01-28 21:07, 13 years ago)
esclkm
#105 2011-01-28 21:44
thx. I know that. It is not answer http://trac.cotonti.com/ticket/533
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты

<<<1...45678910>>>