Re: [translate-pootle] Pootle and Apache2

2008-10-09 Thread Urso Wieske
Hi Cristobal


I think my problem is getting proxy to work in apache itself, i.e. the
mod_proxy configuration.
I must install mod_proxy yet.
Apparently it's pretty much straightforward after having apache running as
reverse proxy.
The latter is not my strongest field.

I;ll let you know if it works. :-)

Thanks!
Urso

2008/10/10 Cristóbal Palmer <[EMAIL PROTECTED]>

> On Fri, Oct 10, 2008 at 01:38:56AM +0200, Urso Wieske wrote:
> > Hi Cristobal
> >
> > I am pleased to receive your example.
> > I am using the instuction on the Pootle site, but I am not confident that
> I
> > am doing the right thing,
>
> Firstly, make sure that you have proxy working. What modules do you
> have enabled in apache?
>
>  [EMAIL PROTECTED]:/etc/apache2/mods-enabled$ ls -1 proxy*
>  proxy.conf
>  proxy_http.load
>  proxy.load
>
> Next, are you doing a directory (Location directive) or subdomain
> (vhost conf file)? I'm doing a vhost, so here goes what's in my vhost
> conf file, substituting "example.org" in:
>
>  
>   ServerName pootle.myhost.example.org
>   ServerAlias pootle.example.org
>   ProxyPass /images !
>   ProxyPass /js !
>   ProxyPass /pootle.css !
>   ProxyPass /favicon.ico !
>   ProxyPass / http://localhost:8080/
>   ProxyPassReverse / http://localhost:8080/
>   http://localhost:8080/*>
>   Order deny,allow
>   Allow from all
>   
>   ErrorLog /var/log/apache2/pootle-error_log
>   CustomLog /var/log/apache2/pootle-access_log common
>   # Fallback for static html content
>   DocumentRoot "/usr/share/pootle/html"
>   
> Order deny,allow
> Allow from all
>   
>  
>
> So then I start pootle up, and it runs on 8080. Anything else? If any
> experts around want to chime in and let me know if I'm doing something
> silly, that would also be nice.
>
> Cheers,
> --
> Cristóbal Palmer
> ibiblio.org systems administrator
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle and Apache2

2008-10-09 Thread Cristóbal Palmer
On Fri, Oct 10, 2008 at 01:38:56AM +0200, Urso Wieske wrote:
> Hi Cristobal
> 
> I am pleased to receive your example.
> I am using the instuction on the Pootle site, but I am not confident that I
> am doing the right thing,

Firstly, make sure that you have proxy working. What modules do you
have enabled in apache?

  [EMAIL PROTECTED]:/etc/apache2/mods-enabled$ ls -1 proxy*
  proxy.conf
  proxy_http.load
  proxy.load

Next, are you doing a directory (Location directive) or subdomain
(vhost conf file)? I'm doing a vhost, so here goes what's in my vhost
conf file, substituting "example.org" in:

  
   ServerName pootle.myhost.example.org
   ServerAlias pootle.example.org
   ProxyPass /images !
   ProxyPass /js !
   ProxyPass /pootle.css !
   ProxyPass /favicon.ico !
   ProxyPass / http://localhost:8080/
   ProxyPassReverse / http://localhost:8080/
   http://localhost:8080/*>
   Order deny,allow
   Allow from all
   
   ErrorLog /var/log/apache2/pootle-error_log
   CustomLog /var/log/apache2/pootle-access_log common
   # Fallback for static html content
   DocumentRoot "/usr/share/pootle/html"
   
 Order deny,allow
 Allow from all
   
  

So then I start pootle up, and it runs on 8080. Anything else? If any
experts around want to chime in and let me know if I'm doing something
silly, that would also be nice.

Cheers,
-- 
Cristóbal Palmer
ibiblio.org systems administrator

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle and Apache2

2008-10-09 Thread Urso Wieske
Hi Cristobal

I am pleased to receive your example.
I am using the instuction on the Pootle site, but I am not confident that I
am doing the right thing,

Thank you,
Urso Wieske

2008/10/10 Cristóbal Palmer <[EMAIL PROTECTED]>

> On Thu, Oct 09, 2008 at 11:25:26PM +0200, Urso Wieske wrote:
> > Hi
> >
> > I am considering to use Apache as proxy for Pootle HTTP request.
> > Are there people out there who had negative experience with
> Apache/Pootle?
> > Are there any issue on this configuration?
>
> Works fine for me. No complaints. If you have specific troubles or
> need an example of a working config, let me know.
>
> Cheers,
> --
> Cristóbal Palmer
> ibiblio.org systems administrator
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Translate-pootle mailing list
> Translate-pootle@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/translate-pootle
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle and Apache2

2008-10-09 Thread Cristóbal Palmer
On Thu, Oct 09, 2008 at 11:25:26PM +0200, Urso Wieske wrote:
> Hi
> 
> I am considering to use Apache as proxy for Pootle HTTP request.
> Are there people out there who had negative experience with Apache/Pootle?
> Are there any issue on this configuration?

Works fine for me. No complaints. If you have specific troubles or
need an example of a working config, let me know.

Cheers,
-- 
Cristóbal Palmer
ibiblio.org systems administrator

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


[translate-pootle] Pootle and Apache2

2008-10-09 Thread Urso Wieske
Hi

I am considering to use Apache as proxy for Pootle HTTP request.
Are there people out there who had negative experience with Apache/Pootle?
Are there any issue on this configuration?

Kind Regards
Urso Wieske
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Question about admin user adding users

2008-10-09 Thread Samuel Murray (Groenkloof)
G'day Lars

Thanks for your answer.

> Thus submitting your almost
> empty user page would not do any harm.
> Anyway: good question!

The reason I'm asking is this:  pootle.locamotion has 1450 users.  The 
users.html page is 1.3 megabytes large.

If I want to change one user's password via the web, the submit button 
submits *everything* on that page in a single POST upload.  A 
conservative estimated size of the POST operation is 300 kilobytes.

It is impossible to do web-based user admin under those conditions. 
But... if I can change a user's password or activate his account or 
remove him using my reduced HTML page, then that would be useful.  I 
don't want to try it without some confirmation -- Friedel will not be 
happy with me if it indeed it deletes all users :-)

Samuel


-- 
Samuel Murray
[EMAIL PROTECTED]
Decathlon, for volunteer opensource translations
http://translate.sourceforge.net/wiki/decathlon/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Question about admin user adding users

2008-10-09 Thread Lars Kruse
Hi Samuel,

> Take a look at the attached file.  If I'm logged in as an administrator 
> who can normally see and submit the /admin/users.html page, and I load 
> the attached file in my browser (with the server names in the source 
> code correct, of course), and I fill in the form and hit "Save changes", 
> will it add only that one user, or will it delete all other users?


snippet from Pootle/users.py:

362 for key, value in argdict.iteritems():
363   if key.startswith("userremove-"):
364 usercode = key.replace("userremove-", "", 1)
365 if self.hasuser(users, usercode):
366   raise NotImplementedError("Can't remove users")


Essentially this code would remove (if it would be implemented) only the users,
which are passed via an "userremove-foo" variable. Thus submitting your almost
empty user page would not do any harm.
Someone please correct me, if I am wrong ...

Anyway: good question!

regards,
Lars

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


[translate-pootle] Pootle R1.2 and installed directories..problems

2008-10-09 Thread Urso Wieske
I installed Pootle R1.2 on my server (CentOS).
But I am not sure if the installation went well.
The installation instructions of Pootle (Translation Tool/ jToolkit/ Kid /
etc) on http://translate.sourceforge.net/wiki/pootle/installation indicates
that there are three significant directories, that is /etc/pootle,
/var/pootle and /usr/lib/python2.3/site-packages/.
As to the first to directories I could not find them after installation.
As to the last directory I must say that my Python 2.5 is installed in
another directory /usr/local.
But still I can;t imagine that the installationplace of Python could be the
reason for the absences of these directories.

Do you have any idea? I could not find any comments about this in the
release notes of R1.2.

Thanks
Urso
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Question about admin user adding users

2008-10-09 Thread Samuel Murray (Groenkloof)
Samuel Murray (Groenkloof) wrote:

> Samuel Murray (Groenkloof) wrote:

>> Take a look at the attached file.

> It would help if I attach it (or try, at least).

Hmm, zero length.  Obviously this isn't going to work.  You can find the 
file here (view source):

http://leuce.com/tempfile/users_test.html

Samuel


-- 
Samuel Murray
[EMAIL PROTECTED]
Decathlon, for volunteer opensource translations
http://translate.sourceforge.net/wiki/decathlon/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Question about admin user adding users

2008-10-09 Thread Samuel Murray (Groenkloof)

Samuel Murray (Groenkloof) wrote:


Take a look at the attached file.


It would help if I attach it (or try, at least).

Samuel



--
Samuel Murray
[EMAIL PROTECTED]
Decathlon, for volunteer opensource translations
http://translate.sourceforge.net/wiki/decathlon/
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


[translate-pootle] Question about admin user adding users

2008-10-09 Thread Samuel Murray (Groenkloof)
G'day everyone
(especially those who know Pootle well)

Take a look at the attached file.  If I'm logged in as an administrator 
who can normally see and submit the /admin/users.html page, and I load 
the attached file in my browser (with the server names in the source 
code correct, of course), and I fill in the form and hit "Save changes", 
will it add only that one user, or will it delete all other users?

Thanks
Samuel


-- 
Samuel Murray
[EMAIL PROTECTED]
Decathlon, for volunteer opensource translations
http://translate.sourceforge.net/wiki/decathlon/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] For Tux Paint translation

2008-10-09 Thread Samuel Murray (Groenkloof)

Zuzhen Huang wrote:

> I can't find the Tux Paint project on the Translation Server.

Which translation server are you referring to?

Some of the Tux Paint translations are now hosted on the Locamotion 
server, although the translations are not moved upstream automatically 
and we (or I, as one of the pootle.locamotion admins) don't have the 
authority to say "you're now the official Tux Paint translator".

We do have Tux Paint zh_CN on the Locamotion server, but in read-only 
format because we don't have formal relations with the current official 
Chinese translator of Tux Paint.  See:

http://pootle.locamotion.org/zh_CN/tuxpaint/

Here's what you should do:

1. Read here:
http://translate.sourceforge.net/wiki/decathlon/quickstart

2. Send me your PO files :-).

3. Join the Tux Paint translators list:
https://lists.sourceforge.net/lists/listinfo/tuxpaint-i18n

4. Find out who the current Chinese Simplified translator of Tux Paint 
is (download the PO files and check the header):
http://www.tuxpaint.org/help/po/

5. Get the Tux Paint developer's address:
http://www.tuxpaint.org/contact/

6. Send mails to #3, #4 and #5 (and CC me), to announce your new 
translation and/or your willingness to contribute etc etc, and say that 
  you'd like to use the Locamotion Pootle server to keep the translation 
up to date.  Then wait and see what falls out.

The above is merely a suggestion -- I'm not in control of the Tux Paint 
localisation process but that is what I would think is the best way to 
do it.

Sincerely
Samuel

-- 
Samuel Murray
[EMAIL PROTECTED]
Decathlon, for volunteer opensource translations
http://translate.sourceforge.net/wiki/decathlon/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle