[geeklog-devtalk] geeklog-devel digest, Vol 1 #461 - 9 msgs

geeklog-devel-request at lists.geeklog.net geeklog-devel-request at lists.geeklog.net
Sat Dec 18 13:00:01 EST 2004


Send geeklog-devel mailing list submissions to
geeklog-devel at lists.geeklog.net

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.geeklog.net/listinfo/geeklog-devel
or, via email, send a message with subject or body 'help' to
geeklog-devel-request at lists.geeklog.net

You can reach the person managing the list at
geeklog-devel-admin at lists.geeklog.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of geeklog-devel digest..."


Today's Topics:

1. Re: GL2 and CVS (Tony Bibbs)
2. Re: GL2 and CVS (Tony Bibbs)
3. Translation2 issue (Tony Bibbs)
4. Re: Translation2 issue (Vincent Furia)
5. Re: Translation2 issue (Tony Bibbs)
6. [Fwd: Re: Flexy translation] (Tony Bibbs)
7. Geeklog-2 CVS, To-do list (Tony Bibbs)
8. Re: PHP Vulns (Dirk Haun)
9. Bugtracker on sf.net closed (Dirk Haun)

--__--__--

Message: 1
Date: Fri, 17 Dec 2004 16:44:56 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] GL2 and CVS
Reply-To: geeklog-devel at lists.geeklog.net

Ok, the server I have at the colo is on a fairly recent version of
Apache 1. Subversion requires Apache 2 so I'll need to upgrade apache
first. That said, I'll probably start it off in CVS since, I hear, that
Subversion can convert CVS repositories over.

--Tony

Tony Bibbs wrote:


> Subversion is fine. I've read enough and see a lot of reputable

> projects moving to it. And, if we need any other reason for dropping

> CVS, it's not being actively developed near as much.

>

> My question still stands, though ;-)

>

> --Tony

>

> Vincent Furia wrote:

>

>> CVS or Subversion? I'd like to see us switch to subversion as CVS

>> support seems to be dropping off rapidly. Switching from CVS to

>> subversion, from a user perspective, isn't too horrible a change if

>> you spend just a little time with the subversion documentation.

>> Obviously if we're voting on this, my vote goes to subversion.

>>

>> -Vinny

>>

>>

>> On Fri, 17 Dec 2004 10:25:22 -0600, Tony Bibbs <tony at tonybibbs.com>

>> wrote:

>>

>>

>>> At what point should I start checking stuff into CVS? I've yet another

>>> modified database schema that I added timezone stuff too along with

>>> changes per Vinny's suggestions in his last email. I didn't touch the

>>> date/time fields yet.

>>>

>>> Anyway, my point is I have a Propel build so do you want me to CVS this

>>> as the first version or simply wait until we iron all the outstanding

>>> database issues?

>>>

>>> --Tony

>>> _______________________________________________

>>> geeklog-devel mailing list

>>> geeklog-devel at lists.geeklog.net

>>> http://lists.geeklog.net/listinfo/geeklog-devel

>>>

>>>

>>

>> _______________________________________________

>> geeklog-devel mailing list

>> geeklog-devel at lists.geeklog.net

>> http://lists.geeklog.net/listinfo/geeklog-devel

>>

>>

>

> _______________________________________________

> geeklog-devel mailing list

> geeklog-devel at lists.geeklog.net

> http://lists.geeklog.net/listinfo/geeklog-devel




--__--__--

Message: 2
Date: Fri, 17 Dec 2004 17:25:20 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] GL2 and CVS
Reply-To: geeklog-devel at lists.geeklog.net

Ok, first bit of code is in CVS:

http://cvs.geeklog.net/cvs.php/Geeklog-2

Note that I am not including MVCnPHP and PEAR classes by default. Those
directories should be added prior to a release for the community. I'm
assuming all developers will install all 3rd party libraries themselves.

--Tony

Tony Bibbs wrote:


> Ok, the server I have at the colo is on a fairly recent version of

> Apache 1. Subversion requires Apache 2 so I'll need to upgrade apache

> first. That said, I'll probably start it off in CVS since, I hear,

> that Subversion can convert CVS repositories over.

>

> --Tony

>

> Tony Bibbs wrote:

>

>> Subversion is fine. I've read enough and see a lot of reputable

>> projects moving to it. And, if we need any other reason for dropping

>> CVS, it's not being actively developed near as much.

>>

>> My question still stands, though ;-)

>>

>> --Tony

>>

>> Vincent Furia wrote:

>>

>>> CVS or Subversion? I'd like to see us switch to subversion as CVS

>>> support seems to be dropping off rapidly. Switching from CVS to

>>> subversion, from a user perspective, isn't too horrible a change if

>>> you spend just a little time with the subversion documentation.

>>> Obviously if we're voting on this, my vote goes to subversion.

>>>

>>> -Vinny

>>>

>>>

>>> On Fri, 17 Dec 2004 10:25:22 -0600, Tony Bibbs <tony at tonybibbs.com>

>>> wrote:

>>>

>>>

>>>> At what point should I start checking stuff into CVS? I've yet

>>>> another

>>>> modified database schema that I added timezone stuff too along with

>>>> changes per Vinny's suggestions in his last email. I didn't touch the

>>>> date/time fields yet.

>>>>

>>>> Anyway, my point is I have a Propel build so do you want me to CVS

>>>> this

>>>> as the first version or simply wait until we iron all the outstanding

>>>> database issues?

>>>>

>>>> --Tony

>>>> _______________________________________________

>>>> geeklog-devel mailing list

>>>> geeklog-devel at lists.geeklog.net

>>>> http://lists.geeklog.net/listinfo/geeklog-devel

>>>>

>>>>

>>>

>>>

>>> _______________________________________________

>>> geeklog-devel mailing list

>>> geeklog-devel at lists.geeklog.net

>>> http://lists.geeklog.net/listinfo/geeklog-devel

>>>

>>>

>>

>> _______________________________________________

>> geeklog-devel mailing list

>> geeklog-devel at lists.geeklog.net

>> http://lists.geeklog.net/listinfo/geeklog-devel

>

>

>

> _______________________________________________

> geeklog-devel mailing list

> geeklog-devel at lists.geeklog.net

> http://lists.geeklog.net/listinfo/geeklog-devel




--__--__--

Message: 3
Date: Fri, 17 Dec 2004 18:01:43 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] Translation2 issue
Reply-To: geeklog-devel at lists.geeklog.net

Apparently Translation2's gettext support requires we have the
PEAR::I18Nv2 package installed (which is in alpha) and that seems to
require the iconv extension be compiled into PHP. I'm not sure if the
iconv is a temporary requirement until the PEAR::I18Nv2 coding gets
further along or not.

If we can't get around this, we may have to revert to the XML format, no?

--Tony

--__--__--

Message: 4
Date: Fri, 17 Dec 2004 23:30:17 -0500
From: Vincent Furia <vfuria at gmail.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Translation2 issue
Reply-To: geeklog-devel at lists.geeklog.net

It wouldn't be too much work to use gettext and PEAR::File_Gettext to
write a translation class that would work like Translation2.
Alternatively we could simply tear the PEAR::I18Nv2 dependency out of
Translation2 and roll our version (yay open source). I hate to give
up gettext because its so efficient (processor and memory).

-Vinny


On Fri, 17 Dec 2004 18:01:43 -0600, Tony Bibbs <tony at tonybibbs.com> wrote:

> Apparently Translation2's gettext support requires we have the

> PEAR::I18Nv2 package installed (which is in alpha) and that seems to

> require the iconv extension be compiled into PHP. I'm not sure if the

> iconv is a temporary requirement until the PEAR::I18Nv2 coding gets

> further along or not.

>

> If we can't get around this, we may have to revert to the XML format, no?

>

> --Tony

> _______________________________________________

> geeklog-devel mailing list

> geeklog-devel at lists.geeklog.net

> http://lists.geeklog.net/listinfo/geeklog-devel

>


--__--__--

Message: 5
Date: Fri, 17 Dec 2004 22:33:08 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Translation2 issue
Reply-To: geeklog-devel at lists.geeklog.net

K. I'm looking at this stuff now trying to organize the base view
classes. I got some information from Alan Knowles I'll forward on as
well which will help.

--Tony

Vincent Furia wrote:


>It wouldn't be too much work to use gettext and PEAR::File_Gettext to

>write a translation class that would work like Translation2.

>Alternatively we could simply tear the PEAR::I18Nv2 dependency out of

>Translation2 and roll our version (yay open source). I hate to give

>up gettext because its so efficient (processor and memory).

>

>-Vinny

>

>

>On Fri, 17 Dec 2004 18:01:43 -0600, Tony Bibbs <tony at tonybibbs.com> wrote:

>

>

>>Apparently Translation2's gettext support requires we have the

>>PEAR::I18Nv2 package installed (which is in alpha) and that seems to

>>require the iconv extension be compiled into PHP. I'm not sure if the

>>iconv is a temporary requirement until the PEAR::I18Nv2 coding gets

>>further along or not.

>>

>>If we can't get around this, we may have to revert to the XML format, no?

>>

>>--Tony

>>_______________________________________________

>>geeklog-devel mailing list

>>geeklog-devel at lists.geeklog.net

>>http://lists.geeklog.net/listinfo/geeklog-devel

>>

>>

>>

>_______________________________________________

>geeklog-devel mailing list

>geeklog-devel at lists.geeklog.net

>http://lists.geeklog.net/listinfo/geeklog-devel

>

>



--__--__--

Message: 6
Date: Fri, 17 Dec 2004 22:34:49 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] [Fwd: Re: Flexy translation]
Reply-To: geeklog-devel at lists.geeklog.net

Worth reading. I'm going to try and get the SOB working tonight.

--Tony

-------- Original Message --------
Subject: Re: Flexy translation
Date: Sat, 18 Dec 2004 11:32:52 +0800
From: Alan Knowles <alan at akbkhome.com>
To: Tony Bibbs <tony at tonybibbs.com>
References: <41C376A4.5010305 at tonybibbs.com>



Ok, you need the latest CVS (translation2 as well) - as I there are a
few fixes in it..

constructor:
$x = new HTML_Template_Flexy(array(
..... usual options....
'locale' => 'fr',
'Translation2' => array('driver' => 'dataobjectsimple')
));

.. a template containing..
<td>Username</td>

will be compiled to xxx.fr.html
and
<td>Noms.</td>


or you can translate blocks with HTML inside:
{_( ....<B>some text</B>.... )_}

Assuming you have set up the word in Translation2 ok..

Have a look at HTML_Template_Flexy_Translator for a few ideas - the
trick is that the compiler dumps a 'gettext.serial file.' - which can be
used to find the words in the template.

Regards
Alan




Tony Bibbs wrote:


> I'm using Flexy in a project that has to support multiple language.

> Right now we are leaning towards using PEAR::Translation2. I know

> Flexy is smart enought to build templates per locale which is great

> but how do I achieve that using Translation2?

>

> In a template for a login page I have this:

>

> <table>

> <tr>

> <td>{translate('Username')}:</td>

> <td><input type="text" name="gl2User->userName"/></td>

> </tr>

> ...

>

> Where translate() is a method on the class that renders this view.

> I'm guessing I don't want to do it this way because it appears this

> would cause the translate() method to get called every single request

> even if the template has been compiled. Am I right in that assumption?

>

> --Tony

>

>



--__--__--

Message: 7
Date: Sat, 18 Dec 2004 01:14:44 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] Geeklog-2 CVS, To-do list
Reply-To: geeklog-devel at lists.geeklog.net

Ok, views/BaseViewFlexy.php needs a good looking over. Also, I added
Geeklog_LoginView.php and set it as the default view in mvcconfig.xml.
Note that I am including the namespace Geeklog_ in the file name (and
class name for that matter). I think we have to do that to avoid having
the kernel conflicting with plugins (and plugins amoungst themselves)

All this is going to be fluid for the foreseeable future but at least we
are moving in the right direction.

Finally, I have updated the database model and rebuilt the Propel domain
objects and have those in CVS as well. Haven't used any of the classes yet.

Vinny, I did blow away the old geeklog-2 directory in CVS but I did do a
tarball backup of the old stuff if you needed something.

Note on themes. /path/to/geeklog/themes is where all themefiles will
go. These will no include plugin specific templates. Geeklog-2 will
ship with a single theme 'default' which I have already stubbed out.

Here's the to-do list, short term:

1) BaseViewFlexy needs the translation stuff ironed out
2) Data model needs Dwights attention regarding the count fields (i.e.
gl2_user.num_views) so we can make a final decision and get those
changes in the data model.
3) Geeklog_LoginCommand.php needs to be implemented. This should log a
user in, get the user object from the database (including privileges)
and serialize it to the session.
4) BaseViewFlexyUser.php needs to be updated to correctly deserialize
the user object from the session. If the user object doesn't exist it
should forward on to the Login page. Otherwise it should forward on
to...well that's the million dollar question. Given we have the concept
of plugins for everything, we probably need to allow the user to specify
the default one to use for the homepage, no?
5) We need the filtering class defined. I know Blaine volunteered
originally...can you still do it?
6) Plugin API needs to have dependency checking added to it
7) Event Manager needs to be implemented.

Feel free to volunteer for any of these. Vinny, you and I can jointly
work on #1. I can also tackle #3.

Let me know if anybody objects with any of this.

--Tony

--__--__--

Message: 8
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Subject: Re: [geeklog-devel] PHP Vulns
Date: Sat, 18 Dec 2004 10:09:46 +0100
Organization: Terra Software Systems
Reply-To: geeklog-devel at lists.geeklog.net


>It looks like the code in Geeklog proper is OK but pear distributed with

>Geekloog and magpierss (used in spamx) use some of the vulnerable functions.


Thanks, Tom.



>At least Geeklog was not listed as a vulnerable script like:


Well, they surely can't test each and every open source project ...

I came to the same conclusion (that Geeklog is not affected) when the
vulnerabilities were announced on Thursday since I know that that core
code isn't using any of those functions. But I didn't check the 3rd-party
code. I doubt there's a way to exploit the vulnerabilities there, though.

bye, Dirk


--
http://www.haun-online.de/
http://geeklog.info/


--__--__--

Message: 9
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Date: Sat, 18 Dec 2004 14:30:53 +0100
Organization: Terra Software Systems
Subject: [geeklog-devel] Bugtracker on sf.net closed
Reply-To: geeklog-devel at lists.geeklog.net

FYI: I've finally managed to clear out our old bugtracker at <https://
sourceforge.net/projects/geeklog/>. Only 2 bugs had to be carried over,
the rest was mostly outdated, plus a few that I moved to the feature requests.

Anyone volunteering to transfer over the 46 remaining feature request? :P

bye, Dirk


--
http://www.haun-online.de/
http://www.macosx-faq.de/



--__--__--

_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devel


End of geeklog-devel Digest



More information about the geeklog-devtalk mailing list