Anomalie #2156
mysql_add.py : warning + pas compatible conteneur
Description
Il faudrait vraiment revoir ce eole-mysql, il y a beaucoup de code dupliqué/non réutilisable.
Bref, j'ai réécrit en parti mysql_add.py pour utiliser system_code et que ca soit compatible conteneur.
Associated revisions
Scrolling view for Hyperbola, plus various ScrollTable updates.
Author: glyph, moe
Reviewer: exarkun
This change adds a scrolltable to the Hyperbola blurb viewing page. That allows larger numbers of posts to be displayed on, for example, a blog.
However, the scrolltable as developed in #673 wasn't quite up to the task, so this change also includes several fixes to the {{{ScrollTable}}} itself, including:
- a timestamp column, which can be used with {{{epsilon.extime.Time}}} instances, and allows data to be sorted by time.
- a client-side 'widget' column, allowing a scrolltable to contain a column that renders a complex server-side widget inline and have it connected properly
- better plugabbility for the IColumn interface, including custom unserialization for the sorting logic in Python
- bugfixes, and better test coverage, for descending sort ordering
- bugfixes and documentation for misuse of the API (for example, not providing a sort column).
The outcome of this group of changes is that the new {{{ScrollTable}}} is now an API that could reasonably be used in a variety of applications that require a scrolling list of data. It isn't ''finished'', some applications will still require additional features which we have not added yet (for example, sort column header rendering) but others will simply be able to use it directly now.
mise à niveau de mysql_add.py (fixes #2156)
History
#1 Updated by Joël Cuissinat almost 12 years ago
- Target version set to Mises à jour 2.3 - 03 RC
- Distribution set to EOLE 2.3
#2 Updated by Joël Cuissinat almost 12 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 841bc080aa22468fc83e9f96a34bf127acfad245.
#3 Updated by Joël Cuissinat almost 12 years ago
- Status changed from Résolu to Fermé
- Assigned To set to Joël Cuissinat
Testé OK
root@amonecole:~# mysql_add.py Nom de la base de données à créer : test21 Nom de l'utilisateur Mysql administrant la base : test21 Mot de passe de l'utilisateur Mysql administrant la base : test21 Nom du conteneur source : web ## Création de la base test21 ##
root@amonecole:~# ssh web root@reseau:~# mysql -h192.0.2.50 -utest21 -ptest21 test21 Welcome to the MySQL monitor. Commands end with ; or \g.
Nb : ce test a nécessité l'installation de mysql-client dans le conteneur ;)
$ apt-eole install-conteneur web mysql-client-5.1