X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 71E4F3A3E64 for ; Tue, 16 Nov 2004 10:05:23 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 55330-04 for ; Tue, 16 Nov 2004 10:05:17 +0000 (GMT) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by svr1.postgresql.org (Postfix) with ESMTP id 6AD653A3E54 for ; Tue, 16 Nov 2004 10:05:18 +0000 (GMT) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=ratbert.vale-housing.co.uk) by anchor-post-30.mail.demon.net with esmtp (Exim 4.42) id 1CU0D7-000N7O-0e for pgsql-www@postgresql.org; Tue, 16 Nov 2004 10:05:17 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] Events Reorganization X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Tue, 16 Nov 2004 10:05:16 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [pgsql-www] [PATCH] Events Reorganization Thread-Index: AcTLwokQShreS1rtTgCW4Sxg87dRNAAAFQdQ From: "Dave Page" To: "Omar Kilani" , X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/218 X-Sequence-Number: 5949 Hi Omar, Thanks for this - however, now we have a problem... At the moment, the new portal is running from a new database that is periodically refreshed by dumping the current live database and running an update script to convert it into the new format (see tools/update.sql). Because of the continuing updates to the current database (new news etc) we need to be able to refresh in this way until we put the new site live. So, sorry to be a pita, but can you please resubmit database updates as changes to update.sql? Regards, Dave > -----Original Message----- > From: pgsql-www-owner@postgresql.org=20 > [mailto:pgsql-www-owner@postgresql.org] On Behalf Of Omar Kilani > Sent: 16 November 2004 05:45 > To: pgsql-www@postgresql.org > Subject: [pgsql-www] [PATCH] Events Reorganization >=20 > Hello, >=20 > Patches and table dumps pertinent to this email are at: >=20 > http://postgresql.tinysofa.com/files/patches/01-event/ >=20 > Database Dumps > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > 000-events.dump > --------------- >=20 > Dump of 'events' table, with: >=20 > * New field additions: city, state, country. > * All entries assigned a city, state (if applicable) and country. > * All entries with proper start and end dates. >=20 > 001-events_text.dump > -------------------- >=20 > Dump of 'events_text' table, with: >=20 > * Entries edited to remove redundant information addressed by=20 > above changes to 'events'. > * Any translations found in archived entries has been=20 > properly inserted as a translation (see our pgweb, go to the=20 > events archive, and switch to "Turkish" to see some of=20 > Devrim's entries translated.) >=20 > 002-countries.dump > ------------------ >=20 > Dump of new 'countries' (note: plural names for tables are=20 > bad) table, with: >=20 > * Fields: id, country, tld > * Information is taken from the CIA World Facts book. >=20 > Patches > =3D=3D=3D=3D=3D=3D=3D >=20 > 01-pgweb-ts-events-admin-template.patch > --------------------------------------- >=20 > * Change the events output in the admin system to show location. >=20 > 02-pgweb-ts-events-admin.patch > ------------------------------ >=20 > * Change the events edit screen to allow entry of city, state=20 > and country. > * Add templating function 'format_location' to... format location. >=20 > 03-pgweb-ts-events-system.patch > ------------------------------- >=20 > * Change user event submission form to feature city, state=20 > and country. > * Add 'fetch_countries_list' to database functions. > * Provide a 'location' template variable to the events templates. >=20 > 04-pgweb-ts-events-template.patch > --------------------------------- >=20 > * Change event-related templates to show a "Location". > * Fix event detail screen to show proper posted_by. >=20 > Omar >=20 > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to=20 > majordomo@postgresql.org >=20