[isf-wifidog] Towards 1.0 ... Admin UI + new features

Pascal Leclerc isf at plec.ca
Lun 15 Aou 14:08:40 EDT 2005


Sorry if it's in french it's easier for me. It's related to DB schema update.

J'ai essayé de tester le script d'installation pour trouver les derniers
bugs, mais je pense qu'il y a quelque(s) problème(s) au niveau de la mise
à jour du schéma de la DB. Je ne suis pas trop au courant de la façon dont
vous procédez (Benoit et François) pour maintenir le schéma à jour.
schema_update.php est à la version 23 et wifidog-postgres-initial-data.sql
indique que wifidog-postgres-schema.sql serait à la version 21.

Voici un exemple :

Dans wifidog-postgres-initial-data.sql (ligne 106) il y a cet ajout :
INSERT INTO nodes (node_id, name, rss_url) VALUES ('default', 'Unknown
node', NULL);

Le problème est que "rss_url" n'existe pas dans la DB (en utilisant
wifidog-postgres-schema.sql à la version 21)

S'il faut exécuter le SQL de wifidog-postgres-initial-data.sql, ensuite tu
peux essayer de faire exécuter schema_update.php, mais il ne fonctionnera
pas (DB schema is too old) parce que la version du schema n'a pas été
ajouté par wifidog-postgres-initial-data.sql. J'pense qu'il y a un
problème ...

Je ne sais pas si François est disponible (vacances) ou si Benoit a du
temps pour régler le problème et aussi dire quoi faire pour garder
wifidog-postgres-schema.sql à jour.

Merci

  Pascal

> Howdie everyone !
>
> I'm on vacation and I should take some time to write code for
> Wifidog. In the past two days I worked quite a bit on the improving /
> simplifying and regrouping admin UI structure. All the features that
> were in "Hotspot config / creation" were moved to the new generic
> editor. That has allowed me to simplifying and overhaul some classes.
> I created a very nice geocoding class architecture, making it easy to
> support more countries in the future ( I currently support geocoding
> in Canada and USA ). The geocoder is used for extracting latitude /
> longitude data for the hotspots map page.
>
> I also added the first step in alerting users by e-mail when a
> hotspot goes down. I added the "node_tech_officers" table and added
> methods to Node class. A node can have one or more owners ( which are
> users in the system ) and one or more "technical officers" ( tell me
> if you like the title I gave it ) these are users that are in a way
> informal tech support for some nodes.
>
> There's more work to come very exciting stuff coming soon. Web-based
> Install script ( by Pascal ), geocoding +  Google Maps ( me ),
> improved statistics etc...
>
> Bye





More information about the WiFiDog mailing list