#1 2005-01-09 16:32:07

TGL
Member
2005-01-09
3

1.4.0RC1 feedback

Hi,

I've just switched from 1.3.4 to 1.4.0RC1, and here are my first impressions:

- the overall impression is very good, the design of the templates has really improved, etc. Congrats devs.

- i've had several warnings when running the upgrade script. No idea whether it is important or not, but anyway, here they are (note that it is on a free.fr web account, running mysql-4.0.22 and php-4.3.10) :

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/free.fr/0/1/XXXXXXXXX/galerie/install/upgrade_1.3.4.php on line 40

Code:

ALTER TABLE raninfoto_categories
  CHANGE COLUMN site_id site_id tinyint(4) unsigned default '1',
  ADD COLUMN commentable enum('true','false') NOT NULL default 'true',
  ADD COLUMN global_rank varchar(255) default NULL,
  DROP INDEX id_uppercat,
  ADD INDEX categories_i2 (id_uppercat)
;
[mysql error 1091] Can't DROP 'id_uppercat'. Check that column/key exists

ALTER TABLE raninfoto_favorites
  DROP INDEX user_id,
  ADD PRIMARY KEY (user_id,image_id)
;
[mysql error 1091] Can't DROP 'user_id'. Check that column/key exists

ALTER TABLE raninfoto_history
  ADD INDEX history_i1 (date)
;
[mysql error 1061] Duplicate key name 'history_i1'

ALTER TABLE raninfoto_image_category
  DROP INDEX image_id,
  DROP INDEX category_id,
  ADD INDEX image_category_i1 (image_id),
  ADD INDEX image_category_i2 (category_id)
;
[mysql error 1091] Can't DROP 'image_id'. Check that column/key exists

ALTER TABLE raninfoto_images
  CHANGE COLUMN tn_ext tn_ext varchar(4) default '',
  ADD COLUMN path varchar(255) NOT NULL default '',
  ADD COLUMN date_metadata_update date default NULL,
  ADD COLUMN average_rate float(5,2) unsigned default NULL,
  ADD COLUMN representative_ext varchar(4) default NULL,
  DROP INDEX storage_category_id,
  ADD INDEX images_i1 (storage_category_id),
  ADD INDEX images_i2 (date_available),
  ADD INDEX images_i3 (average_rate),
  ADD INDEX images_i4 (hit),
  ADD INDEX images_i5 (date_creation)
;
[mysql error 1091] Can't DROP 'storage_category_id'. Check that column/key exists

ALTER TABLE raninfoto_sessions
  DROP COLUMN ip
;
[mysql error 1091] Can't DROP 'ip'. Check that column/key exists

ALTER TABLE raninfoto_sites
  DROP INDEX galleries_url,
  ADD UNIQUE sites_ui1 (galleries_url)
;
[mysql error 1091] Can't DROP 'galleries_url'. Check that column/key exists

DROP TABLE raninfoto_user_category
;
[mysql error 1051] Unknown table 'raninfoto_user_category'

ALTER TABLE raninfoto_users
  DROP COLUMN long_period,
  DROP COLUMN short_period,
  DROP COLUMN forbidden_categories,
  ADD COLUMN recent_period tinyint(3) unsigned NOT NULL default '7',
  DROP INDEX username,
  ADD UNIQUE users_ui1 (username)
;
[mysql error 1091] Can't DROP 'long_period'. Check that column/key exists

CREATE TABLE raninfoto_rate (
  user_id smallint(5) unsigned NOT NULL default '0',
  element_id mediumint(8) unsigned NOT NULL default '0',
  rate tinyint(2) unsigned NOT NULL default '0',
  PRIMARY KEY  (user_id,element_id)
) TYPE=MyISAM
;
[mysql error 1050] Table 'raninfoto_rate' already exists

CREATE TABLE raninfoto_user_forbidden (
  user_id smallint(5) unsigned NOT NULL default '0',
  need_update enum('true','false') NOT NULL default 'true',
  forbidden_categories text,
  PRIMARY KEY  (user_id)
) TYPE=MyISAM
;
[mysql error 1050] Table 'raninfoto_user_forbidden' already exists

- my old history items from 1.3.4 are now all timestamped 01/01/1970

- despite what was written in the upgrade summary ("only thumbnails prefix and webmaster mail address have been saved from previous configuration"), both my thumbnails prefix and mail address were cleared after the upgrade

- i miss the detailed history in the admin interface a bit. Would it be possible to get that feature back?

- i think it was possible in 1.3.4 to delete an image from the admin pages (but i'm not sure tho, i've just used it during 2 days). In 1.4.0RC1, i can't find such an option. Would it be possible to add that?

- the "Thumbnails" page in the admin interface is really very empty, that's disturbing. If i understand correctly, thumbnails are now generated automatically when you add a new image and sync the DB, or something like that. Maybe this page should be removed, or if it is still used, there should probably a small message saying that "no thumbnails are missing", or something like that.

- the "PHP informations" page in admin interface is much too wide (more than 3 screens here). That seems to be because of the "_ENV["HTTP_COOKIE"]" and "_SERVER["HTTP_COOKIE"]" variables which are very long. Would it be possible to limit cells sizes in the CSS, or something like that?

- and finally a feature request: would it be possible to have a page to set some options for all users? For instance, after the upgrade all my users were set to using en_US langage, whereas they are french. I've modified that in phpmyadmin, but that would have been more convenient to do it in the admin interface.


Thanks for your work, and if you have specific tests that you would like me to run on this RC, don't hesitate to ask.

Offline

 

#2 2005-01-09 17:02:43

Sephi
Former Piwigo Team
Suisse
2004-11-28
430

Re: 1.4.0RC1 feedback

My very first impression is, it's too bad that there's often a "Redirection" and we have to wait a few secs...

Last edited by Sephi (2005-01-09 17:02:51)

Offline

 

#3 2005-01-09 19:23:27

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14087

Re: 1.4.0RC1 feedback

TGL wrote:

- i've had several warnings when running the upgrade script.

the errors you get makes me feel you've launched upgrade more than once :-/ For example, user_forbidden table didn't exist in release 1.3.4.

TGL wrote:

- my old history items from 1.3.4 are now all timestamped 01/01/1970

- despite what was written in the upgrade summary ("only thumbnails prefix and webmaster mail address have been saved from previous configuration"), both my thumbnails prefix and mail address were cleared after the upgrade

this can be easily explained if you launched the upgrade more than once.

TGL wrote:

- i miss the detailed history in the admin interface a bit. Would it be possible to get that feature back?

it is "possible" since data are still in database, but not foreseen because it becomes hard to read for bigger sites than family sites. Maybe a MOD will bring you back the old style history display

TGL wrote:

- i think it was possible in 1.3.4 to delete an image from the admin pages (but i'm not sure tho, i've just used it during 2 days). In 1.4.0RC1, i can't find such an option. Would it be possible to add that?

this feature has never existed. Delete the file in the file system and run a new synchronisation.

TGL wrote:

- the "Thumbnails" page in the admin interface is really very empty, that's disturbing. If i understand correctly, thumbnails are now generated automatically when you add a new image and sync the DB, or something like that. Maybe this page should be removed, or if it is still used, there should probably a small message saying that "no thumbnails are missing", or something like that.

No thumbnail are automatically generated, as in previous releases. I agree that this screen is disturbing if no thumbnails are missing. I'll add a message for RC2.

TGL wrote:

- the "PHP informations" page in admin interface is much too wide (more than 3 screens here). That seems to be because of the "_ENV["HTTP_COOKIE"]" and "_SERVER["HTTP_COOKIE"]" variables which are very long. Would it be possible to limit cells sizes in the CSS, or something like that?

Gweltas has added this information page (from phpBB), maybe he will be able to wrap long lines :-)

TGL wrote:

  - and finally a feature request: would it be possible to have a page to set some options for all users? For instance, after the upgrade all my users were set to using en_US langage, whereas they are french. I've modified that in phpmyadmin, but that would have been more convenient to do it in the admin interface.

you didn't have to use PhpMyAdmin, you can modify each user's properties in the administration panel. But not for all users. No feature will be added, only bug corrected. But this feature could be available in a MOD and maybe in 1.4.1

Offline

 

#4 2005-01-09 19:49:27

TGL
Member
2005-01-09
3

Re: 1.4.0RC1 feedback

z0rglub wrote:

the errors you get makes me feel you've launched upgrade more than once :-/

Well, actually i did launched it twice, but the first time i had forgotten to re-upload my mysql.inc.php, so i don't think it can have touched the DB. And the second time, i simply loaded the upgrade.php page, and then clicked on the 'from 1.3.4' link. At least that's what i remember.

z0rglub wrote:

it is "possible" since data are still in database, but not foreseen because it becomes hard to read for bigger sites than family sites.

Ok, that makes sense.

z0rglub wrote:

this feature has never existed.

Really ? Then I dreamed it, that's not that surprising :)

z0rglub wrote:

No thumbnail are automatically generated

Oh, ok, now i understand: that's probably a user who has uploaded the thumbnails himself with his files. Usually they don't, that's why i was surprised not to have to generate them myself.

z0rglub wrote:

I'll add a message for RC2.

Thanks.

z0rglub wrote:

you didn't have to use PhpMyAdmin, you can modify each user's properties in the administration panel. But not for all users. No feature will be added, only bug corrected. But this feature could be available in a MOD and maybe in 1.4.1

Thanks, that would be great, because i can't imagine doing that kind of changes on 30 users using the current web interface ;)

Offline

 

#5 2005-01-10 08:01:24

droopy_2k
Member
2005-01-06
5

Re: 1.4.0RC1 feedback

Bonjour,
je viens d'installer la RC1 d PHPWG1.4 et je la trouve bien car beaucoup plus de fonctions sont disponibles... mais il y a quelques renseignements et quellques avis que je voudrais partager:

1/ la gestion des utilisateurs, des groupes et les droits associés était beaucoup plus simple  dans la version 1.3.4... ou alors j'ai raté quelque chose  :o)

2/ je n'arrive pas a afficher les données EXIF de mes images lorsque je clique sur l'icone

3/ lorsqaue l'image s'ouvre en taille réelle, serait il possible d'ajouter une fonction qui permette d'ouvrir une nouvelle page mais pas en plein écran?

4/ je ne comprends pas bien comment sont gérés les templates par rapport a la version 1.3.4

5/ MERCI z0rglub pour cet excellent travail qui permet a ceux qui ne connaissent rien en programmation d'avoir un site sympa!!!  ;o)

j'essaierai d'aider un maximum si je peux car je débute depuis 2 semaines seulement mais j'arrive a me débrouiller un peu avec l'aide du forum

Offline

 

#6 2005-01-10 11:00:37

Gweltas
Former Piwigo Team
Lyon en théorie
2003-12-04
547

Re: 1.4.0RC1 feedback

droopy_2k wrote:

1/ la gestion des utilisateurs, des groupes et les droits associés était beaucoup plus simple  dans la version 1.3.4... ou alors j'ai raté quelque chose

Sans vouloir présager de la réponse, je pense que tu as raté quelque chose :) La gestion des utilisateurs en 1.3 était prévu pour une dizaine d'utilisateur au maximum. La 1.4 permet de gérer des centaines ou des miliers d'utilisateurs (chose assez fréquente si phpWG est accolée à un forum)
Ceci nous a effectivement obligé à ne pas montrer toutes les informations sur une seule page, mais a séparer l'édition de chaque utilisateur.


droopy_2k wrote:

2/ je n'arrive pas a afficher les données EXIF de mes images lorsque je clique sur l'icone

Il faut activer la librairie EXIF


4/ je ne comprends pas bien comment sont gérés les templates par rapport a la version 1.3.4

Le système de template est une des différences majeure entre la 1.3 et la 1.4 (d'ou d'ailleurs le temps assez long de livraison de cette version) Tous les templates publiés pour les versions précédentes sont obsolètes et il convient de les migrer, ou mieux de refaire évoluer le nouveau template par défaut.

En terme de technique pour les spécialistes, c'est quaisment pareil. Sauf que le nouveau système de template est plus souple et robuste, autorise l'allocation par blocs et n'exige pas de remplir tous les champs.

Offline

 

#7 2005-01-10 11:09:25

Gweltas
Former Piwigo Team
Lyon en théorie
2003-12-04
547

Re: 1.4.0RC1 feedback

z0rglub wrote:

TGL wrote:

- the "PHP informations" page in admin interface is much too wide (more than 3 screens here). That seems to be because of the "_ENV["HTTP_COOKIE"]" and "_SERVER["HTTP_COOKIE"]" variables which are very long. Would it be possible to limit cells sizes in the CSS, or something like that?

Gweltas has added this information page (from phpBB), maybe he will be able to wrap long lines :-)

This is the quasi-standard display of the phpinfo() function. I've remastered it for displaying purpose. It's weird because on my side, the cookies are not that much long.

Code:

_SERVER["HTTP_COOKIE"]  id=tIE0c0zvgn

What is your navigator configuration? Could you check the value of $conf['session_id_size']?

Otherwise, css can do nothing as it can only cut words with blanks...

Offline

 

#8 2005-01-11 21:01:34

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14087

Re: 1.4.0RC1 feedback

Sephi wrote:

My very first impression is, it's too bad that there's often a "Redirection" and we have to wait a few secs...

I'll decrease the 2 seconds of redirection waiting time to 0 second :-)

Offline

 

Board footer

Powered by FluxBB