[Trac] Partial Browse Source Permissions

2008-12-04 Thread bfrederi

Is it possible to give anonymous users the ability to view certain
directories within "Browse Source" but not give them permission to
view the entire repository? The reason we need this is because we have
compromising data in some of the directories, but we also want to be
able to link people to other directories within the repository.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] tracd problem

2008-12-04 Thread Pedersen

I have installed trac on a linux box and its working great from the
internal network (http://10.0.0.7:8000).

I have a static external ip address 127.236.237.47 and have setup the
router NAPT to forward all traffic on port 8000 to 10.0.0.7.

The problem is that the browser won't load http://127.236.237.47:8000

I start tracd like this:

tracd -s --port 8 --auth=foo, digest.txt, trac /trac/foo

Does tracd authentication need special parameters for external access?

Thanks!

Regards,
Mads


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] /usr/share/trac in Trac 0.11.2.1

2008-12-04 Thread shacky

Hi.
I installed Trac 0.11.2.1, but I don't have the /usr/share/trac directory.
I need it because I have to use the web interface for Apache.
Where I can find it and how I can install it?
Thank you very much for your help!
Bye.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: /usr/share/trac in Trac 0.11.2.1

2008-12-04 Thread Robert C Corsaro

shacky wrote:
> Hi.
> I installed Trac 0.11.2.1, but I don't have the /usr/share/trac directory.
> I need it because I have to use the web interface for Apache.
> Where I can find it and how I can install it?
> Thank you very much for your help!
> Bye.
>
>   
I think `trac-admin deploy` is what you are looking for.  How did you 
install trac? 

We should ask downstream maintainers to run deploy in their install 
scripts if they don't already.  This question comes up fairly often. 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: /usr/share/trac in Trac 0.11.2.1

2008-12-04 Thread shacky

> I think `trac-admin deploy` is what you are looking for.

I ran "trac-admin deploy", but:

server:/home/user# trac-admin deploy
Welcome to trac-admin 0.11.2.1
Interactive Trac administration console.
Copyright (c) 2003-2008 Edgewall Software

Type:  '?' or 'help' for help on commands.

Trac [/home/mattia/deploy]>

> How did you install trac?

With "python ./setup.py install" as I read on the docs..

> We should ask downstream maintainers to run deploy in their install
> scripts if they don't already.  This question comes up fairly often.

Thank you very much, but I still don't understand how to use the
"trac-admin deploy" command.
I only want to create the /usr/share/trac tree..

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Repository Permissions Question

2008-12-04 Thread bfrederi

Is it possible to give anonymous users the ability to view certain
directories within "Browse Source" but not give them permission to
view the entire repository? The reason we need this is because we have
compromising data in some of the directories, but we also want to be
able to link people to other directories within the repository.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: /usr/share/trac in Trac 0.11.2.1

2008-12-04 Thread Robert C Corsaro

shacky wrote:
>> I think `trac-admin deploy` is what you are looking for.
>> 
> Thank you very much, but I still don't understand how to use the
> "trac-admin deploy" command.
> I only want to create the /usr/share/trac tree..
>   
something like `trac-admin $project_path deploy`


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: /usr/share/trac in Trac 0.11.2.1

2008-12-04 Thread shacky

> something like `trac-admin $project_path deploy`

Sorry but I don't understand.
/usr/share/trac is not a project path..
The /usr/share/trac is the tree where Trac store all the web
interface's data, like the cgi-bin script and all the /htdocs
directory..

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: /usr/share/trac in Trac 0.11.2.1

2008-12-04 Thread Noah Kantrowitz

There are no longer any shared files, so $PREFIX/share/trac does not  
exist anymore. As mentioned, the deploy command will generate the *gi  
files for you.

--Noah

On Dec 4, 2008, at 7:39 AM, shacky wrote:

>
>> something like `trac-admin $project_path deploy`
>
> Sorry but I don't understand.
> /usr/share/trac is not a project path..
> The /usr/share/trac is the tree where Trac store all the web
> interface's data, like the cgi-bin script and all the /htdocs
> directory..
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Repository Permissions Question

2008-12-04 Thread Noah Kantrowitz

Setup an authz file (and set the corresponding authz_file line in  
trac.ini).

--Noah

On Dec 4, 2008, at 7:18 AM, bfrederi wrote:

>
> Is it possible to give anonymous users the ability to view certain
> directories within "Browse Source" but not give them permission to
> view the entire repository? The reason we need this is because we have
> compromising data in some of the directories, but we also want to be
> able to link people to other directories within the repository.
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Partial Browse Source Permissions

2008-12-04 Thread Chris Mulligan

We run our authentication through apache (kerberos to an active
directory), so this may not work for you. However we just use simple
apache access rules. Something like the below.


   Require user [EMAIL PROTECTED]



On Wed, Dec 3, 2008 at 4:22 PM, bfrederi <[EMAIL PROTECTED]> wrote:
>
> Is it possible to give anonymous users the ability to view certain
> directories within "Browse Source" but not give them permission to
> view the entire repository? The reason we need this is because we have
> compromising data in some of the directories, but we also want to be
> able to link people to other directories within the repository.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] TracWiki->Html

2008-12-04 Thread Mat Booth

Hi all,

I'd like to maintain our products' documentation in the Wiki and then
slurp it out and convert it to HTML at build-time (instead of
maintaining HTML in source control). The rationale is to make it more
accessible to users and developers and to encourage them to keep it up
to date (we are currently terrible at keeping the docs up to date).

Can anyone recommend a good way to do this, or is this not a
recommended thing to do?

Regards,
Mat

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Deinstall Trac 10.4

2008-12-04 Thread Noah Kantrowitz

Delete it.

--Noah

On Dec 3, 2008, at 12:27 PM, [EMAIL PROTECTED] wrote:

>
> Moin, moin,
>
> I want to deinstall a trac installation - completely, manualy!
> What have i to do?
>
> Please help.
>  ICE
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Better error page?

2008-12-04 Thread Noah Kantrowitz

You might also want to use the PermRedirect plugin.

--Noah

On Dec 3, 2008, at 3:09 AM, howa wrote:

>
> Hello,
>
> I have remove all permission of the anonymous account, so when I view
> the default wiki index,
> it shows:
>
>
> Error: Forbidden
> WIKI_VIEW privileges are required to perform this operation on
> WikiStart
>
>
> My question is: Is it possible to tune this error page? I want to
> provide a better design
> in case user havn't login.
>
> P.S. I am using web form login via the TracAccountManager.
>
>
> Thanks.
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Users on Trac issue

2008-12-04 Thread Noah Kantrowitz

What do you expect to happen? In both cases all users have read access  
to SVN, so you won't notice any differences.

--Noah

On Nov 29, 2008, at 4:51 PM, Roberto Lima wrote:

>
> Hi all,
> I'm new here and I have an issue. I have an SVN server with multiples
> projects and if I define on authz file:
>
> [project1:/]
> userOne = rw
> * = r
>
> [project2:/]
> userTwo = rw
> * = r
>
> When I access my trac website for project1 with login userTwo this
> join normally and this is completly wrong. This issue only happens in
> trac, with svn repository this does not happen.
>
> Anyone knows How and where do I setup that this don't happen?
>
> Thanks in advance and sorry for my bad english.
>
> Roberto.
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] How to set the order of a form's controls

2008-12-04 Thread mps

Hi,
We've created custom controls in our .ini file using the [ticket-
custom] tag.  The controls show up but they are in an random order
that doesn't follow top-down order set in the ini file.  Is there an
attribute for setting the order of the controls?  I tried using the
textarea.order attribute, e.g. myTextArea.order=1, but that did not
help.
Thanks!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Deinstall Trac 10.4

2008-12-04 Thread Ice Polar
Moin, moin Noah,

that's what i've done and so i messed up my ubuntu-box... after a triy to
upgrade from the ubuntu packet with version 0.10.3 to 0.11.2 with a download
from trac's homepage.

Target is to install a trac (0.10.3) again. Every attempt to do this shows
the mess. trac can't run anymore.

  Ice




2008/12/4 Noah Kantrowitz <[EMAIL PROTECTED]>

>
> Delete it.
>
> --Noah
>
> On Dec 3, 2008, at 12:27 PM, [EMAIL PROTECTED] wrote:
>
> >
> > Moin, moin,
> >
> > I want to deinstall a trac installation - completely, manualy!
> > What have i to do?
> >
> > Please help.
> >  ICE
> >
> > >
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Oops...Trac detected an internal error: (0.10.3)

2008-12-04 Thread Ice Polar
Moin, moin

it is realy like that. but first look at this output in a terminal:

[EMAIL PROTECTED]:~$ sudo chown -R www-data /var/trac
[EMAIL PROTECTED]:~$ sudo su www-data -c "tracd --port 8123 /var/trac/wiki"
/usr/lib/python2.5/site-packages/trac/web/clearsilver.py:128:
RuntimeWarning: Python C API version mismatch for module neo_util: This
Python has API version 1013, module neo_util has version 1012.
  import neo_cgi
/usr/lib/python2.5/site-packages/trac/web/clearsilver.py:128:
RuntimeWarning: Python C API version mismatch for module neo_cs: This Python
has API version 1013, module neo_cs has version 1012.
  import neo_cgi
/usr/lib/python2.5/site-packages/trac/web/clearsilver.py:128:
RuntimeWarning: Python C API version mismatch for module neo_cgi: This
Python has API version 1013, module neo_cgi has version 1012.
  import neo_cgi
127.0.0.1 - - [04/Dec/2008 21:25:12] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [04/Dec/2008 21:25:16] "GET /wiki HTTP/1.1" 500 -

Second: i fixed it in trac.ini - and will have a look if this fixes the
whole mess.

lefthanded greetings
  Ice


2008/12/4 Emmanuel Blot <[EMAIL PROTECTED]>

>
> > TracError: Unsupported version control system "/var/trac/svn"
> >
> > I did the setup exactly as descriped on
> http://wiki.ubuntuusers.de/Trac?highlight=trac
> > , step by step and the error arised the first time after sudo su www-
> > data -c "tracd --port 8123 /var/trac/wiki" and a look at
> http://localhost:8123
> > ...
>
> From initenv interactive command:
>
> Database connection string [sqlite:db/trac.db]>
>
>  Please specify the type of version control system,
>  By default, it will be svn.
>
>  If you don't want to use Trac with version control integration,
>  choose the default here and don't specify a repository directory.
>  in the next question.
>
> Repository type [svn]>
>
>  Please specify the absolute path to the version control
>  repository, or leave it blank to use Trac without a repository.
>  You can also set the repository location later.
>
> Path to repository [/path/to/repos]>
>
> I believe you answered "/var/trac/svn" to the Repository type section
> (the proper answer is: "svn"), whereas "/var/trac/svn" would have been
> the proper answer for "Path to repository"
>
> HTH,
> Manu
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Exporting Japanese wiki pages to PDF

2008-12-04 Thread Olaf Meeuwissen

Olaf Meeuwissen <[EMAIL PROTECTED]> writes:

> I've been looking for ways to export (a set of) wiki pages to PDF and
> come across TracWikiToPdfPlugin and PageToPdfPlugin.  Both seem to be
> quite useful but for a limitation in HTMLDOC.
>
> The current stable version of HTMLDOC (1.8.27) doesn't support UTF-8.
> The development snapshot has basic UTF-8 support but no support yet
> for Asian and other "complex" languages.  That's a big show-stopper
> because part of my wiki pages are in Japanese.
>
> I anyone here aware of a plugin that can export Japanese wiki pages to
> PDF?

Based on the lack of follow-ups, I guess not.

For now I'll just have to settle for "printing" individual wiki pages
from a browser (and maybe tweak the stylesheet for print media).  That
way, I can at least create a PDF file but it doesn't look too great.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS Corporation
FSF Associate Member #1962   Help support software freedom
 http://www.fsf.org/jf?referrer=1962

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---