[Trac] PageOutline for roadmap

2009-07-10 Thread Иван Бессарабов

Hi!

In our work trac we have a lot of milestones. It is not very
comfortable to work with this page when there are a lot of data.

Is there any possibility to add on that page some kind of table of
contents, like it can be done on any wiki page with PageOutline
macros?

Thank you in advance!

-- 
bessarabov

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Trac Wiki editing using the SVN repository

2009-07-10 Thread Christian Decker

I was wondering wether it is possible to edit Wiki pages using the SVN
repository.
Basically I want to check out the Wiki from the repository, edit it
offline and then commit it back.
Is there a plugin to do so?
--
Christian Decker
http://blog.snyke.net

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Customize trac with only wiki included

2009-07-10 Thread Stephen Cheng

Hi guys

I am thinking to include only wiki component in my site without other
cool stuff, like ticket/timeline/code browse/ .

I have searched for a while but no certain answer. I am wondering if
there are two solutions available if you know:

1. A special version which only includes trac wiki
2. or it's customizable to not display anything else. My question is
that if this version consumes more memory if there is.

Could you share with me if these exist and any suggestion?

Thanks very much

Stephen

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Problems with authzpolicy

2009-07-10 Thread Hendrik Renken

Hi,

i'm running a trac 0.11.4 system on an apache2 server. I'm running the  
authentification of a user (the login) through a ldap-server and i  
wanted to have the trac-permissions checked by the AuthzPolicy. I have

• added the authz_policy field to the trac.ini and a correct path to  
an authz.conf file
• i have enabled the plugin (and for testing purposes disabled all  
other plugins)
• i have set permission_policies = AuthzPolicy?
• authz_policy.py loaded from authz_policy.py - as stated on the  
website
• The trac installation is a fresh one, without editing anything.  
Trac was installed with easy_install
• The environment is also a fresh one
• There is a global trac.ini defining the standard  
permission_policies among other things
• And there is a environment specific trac.ini overwriting some 
of  
the definitions




My authz.conf looks like:



# vim: syntax=dosini
[groups]
administrator = me
developer = dev1, dev2, dev3
# Match everything else
[*] @administrator = TRAC_ADMIN
anonymous = BLOG_VIEW, BROWSER_VIEW, CHANGESET_VIEW, FILE_VIEW,  
LOG_VIEW, MILESTONE_VIEW, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_VIEW,  
SEARCH_VIEW, TICKET_VIEW, TIMELINE_VIEW, WIKI_VIEW
authenticated = POLL_VOTE, TICKET_APPEND, TICKET_CREATE
@developer = BLOG_CREATE, BLOG_MODIFY_OWN, WIKI_CREATE, WIKI_DELETE,  
WIKI_MODIFY, XML_RPC


After reloading the apache i'm not able to see anything but the wiki  
(blog plugin is disabled).

After checking the log, i found this entry

2009-07-03 12:50:00,462 Trac[authz_policy] DEBUG: Checking REPORT_VIEW  
on




I then added some more debug-lines to the .py file and found that this

self.log.debug('Checking %s on %s (unnormalized)', action, resource)


gives

2009-07-03 12:50:00,461 Trac[authz_policy] DEBUG: Checking SEARCH_VIEW  
on None (unnormalized)


And fnmatch between and '*...@*' (resource_glob) in line 216 returns false.

Some of the permission checks work (therefore i know that the setup is  
ok). From the log

2009-07-03 12:50:00,458 Trac[authz_policy] DEBUG: Checking WIKI_VIEW  
on Resource 'wiki' (unnormalized)
2009-07-03 12:50:00,458 Trac[authz_policy] DEBUG: Checking WIKI_VIEW  
on wiki:*...@*
2009-07-03 12:50:00,459 Trac[authz_policy] DEBUG: Resource glob *...@*
2009-07-03 12:50:00,459 Trac[authz_policy] DEBUG: fnmatch gives: True
2009-07-03 12:50:00,459 Trac[authz_policy] DEBUG: wiki:*...@* matched  
section *...@* for user me

Did anyone else ran into these problems? Is it because of the ldap  
authentification? Or is the authz_policy.py not designed for trac  
0.11.4 ?


Best regards,
Hendrik



--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Customize trac with only wiki included

2009-07-10 Thread Иван Бессарабов

I think you should only give permissions to user that starts with WIKI_

The track will be full, but the users will only see the wiki.

2009/7/10 Stephen Cheng stephenchengm...@gmail.com:

 Hi guys

 I am thinking to include only wiki component in my site without other
 cool stuff, like ticket/timeline/code browse/ .

 I have searched for a while but no certain answer. I am wondering if
 there are two solutions available if you know:

 1. A special version which only includes trac wiki
 2. or it's customizable to not display anything else. My question is
 that if this version consumes more memory if there is.

 Could you share with me if these exist and any suggestion?

 Thanks very much

 Stephen

 




-- 
bessarabov

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: PageOutline for roadmap

2009-07-10 Thread Jeff Hammel

My personal approach would be to customize the template for the page in a 
one-off manner to suit your needs (IIRC, it is roadmap.html)

On Fri, Jul 10, 2009 at 11:47:44AM +0400, Иван Бессарабов wrote:
 
 Hi!
 
 In our work trac we have a lot of milestones. It is not very
 comfortable to work with this page when there are a lot of data.
 
 Is there any possibility to add on that page some kind of table of
 contents, like it can be done on any wiki page with PageOutline
 macros?
 
 Thank you in advance!
 
 -- 
 bessarabov
 
  

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Customize trac with only wiki included

2009-07-10 Thread Jeff Hammel

You can also disable all the components you don't care about in the 
[components] section of the trac.ini file, or at /admin/general/plugins.

Jeff

On Fri, Jul 10, 2009 at 12:55:00PM +0400, Иван Бессарабов wrote:
 
 I think you should only give permissions to user that starts with WIKI_
 
 The track will be full, but the users will only see the wiki.
 
 2009/7/10 Stephen Cheng stephenchengm...@gmail.com:
 
  Hi guys
 
  I am thinking to include only wiki component in my site without other
  cool stuff, like ticket/timeline/code browse/ .
 
  I have searched for a while but no certain answer. I am wondering if
  there are two solutions available if you know:
 
  1. A special version which only includes trac wiki
  2. or it's customizable to not display anything else. My question is
  that if this version consumes more memory if there is.
 
  Could you share with me if these exist and any suggestion?
 
  Thanks very much
 
  Stephen
 
  
 
 
 
 
 -- 
 bessarabov
 
  

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Trac Wiki editing using the SVN repository

2009-07-10 Thread Jeff Hammel

My recommendation:

 1. Make a wiki page hierarchy as you wish.

 2. Use the IncludeMacro to include svn documentation in the relevent pages.

This approach has deficiencies:
 
 1. You won't be able to edit the documentation TTW.  It would be awesome if 
there was a plugin that did this. (I'd use it, anyway)

 2. You have to make the pages yourself, rather than mirroring some subset of 
the repo

Jeff


On Thu, Jul 09, 2009 at 03:14:39PM -0700, Christian Decker wrote:
 
 I was wondering wether it is possible to edit Wiki pages using the SVN
 repository.
 Basically I want to check out the Wiki from the repository, edit it
 offline and then commit it back.
 Is there a plugin to do so?
 --
 Christian Decker
 http://blog.snyke.net
 
  

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Possible to use [[Image()]] and [wiki:OtherPage] at the same time?

2009-07-10 Thread Jeremy Kerr
Hi all,

I'm wondering if it's possible to use the Image and TrackLinks macros
simultaneously. or if I must use the HTML processor to add an image to a
trac wiki page that can link to another wiki page.

Here's why I ask:

I'm putting up our design flowcharts on our wiki. Some of the diagrams refer
to links on the same page, but some components in the flow diagrams refer to
links on a different wiki page.

To this end, I am using different graphics in the flowcharts to indicate to
our reviewers if they need to search for relevant information on the current
page, or go to a different section/page entirely.

What I would like to do using trac wiki markup, is attach my x-ref graphics,
and then, where appropriate, add them to my wiki pages with links to either

[#section]
[wiki:OtherPage]

what I envision is something like this:

[wiki:OtherPage [[Image(OtherPage.jpg)]] ]

Possible? Or am I thinking too much like a web producer   :-)


RL

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Possible to use [[Image()]] and [wiki:OtherPage] at the same time?

2009-07-10 Thread renderedlife

Update:

Failing that: Has anyone had success using OpenOffice Draw and
ImageMaps to create interactive illustrations that link to various
locations in the wiki?

I'm looking for a light-weight way to make my flow diagrams easy to
navigate within our wiki spec documents

Any other workflows/suggestions would also be greatly appreciated

cheers,

-jeremy

On Jul 10, 9:18 am, Jeremy Kerr renderedl...@gmail.com wrote:
 Hi all,

 I'm wondering if it's possible to use the Image and TrackLinks macros
 simultaneously. or if I must use the HTML processor to add an image to a
 trac wiki page that can link to another wiki page.

 Here's why I ask:

 I'm putting up our design flowcharts on our wiki. Some of the diagrams refer
 to links on the same page, but some components in the flow diagrams refer to
 links on a different wiki page.

 To this end, I am using different graphics in the flowcharts to indicate to
 our reviewers if they need to search for relevant information on the current
 page, or go to a different section/page entirely.

 What I would like to do using trac wiki markup, is attach my x-ref graphics,
 and then, where appropriate, add them to my wiki pages with links to either

 [#section]
 [wiki:OtherPage]

 what I envision is something like this:

 [wiki:OtherPage [[Image(OtherPage.jpg)]] ]

 Possible? Or am I thinking too much like a web producer   :-)

 RL
--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Possible to use [[Image()]] and [wiki:OtherPage] at the same time?

2009-07-10 Thread Jeremy Kerr
Ok, I've come up with a long-ended solution to this problem .. but, it kinda
hurts, and i've got like 100 of these flow diagrams .. so, still looking for
ways to cut the load ... still .. some info for anyone in the same boat:

1. Create your flowchart in OpenOfficeDraw
2. Export to image1.png
3. Reload image1.png into OpenOfficeDraw
4. Select the image and select Edit -- Imagemap from the file menu.
5. Draw your Imagemap elements.
6. Export as MAP-CERN format

(The MAP looks like this, for example)

rectangle (4,95 ) (87,152) #NextSection
rectangle (98,92 ) (176,153) /wiki/Page2
rectangle (41,162 ) (168,212) /wiki/Page3

7. Open your wiki page and attach image1.png
8. Edit your wiki page like this:

{{{
#!html
img src=
http://copper/projects/daphne/attachment/wiki/Page1/image1.png?format=raw;
border=0 usemap=#Branches
map name=Branches
area shape=rect coords=4,95 87,152  href=#NextSection
area shape=rect coords=98,92 176,153 href=/wiki/Page2
area shape=rect coords=41,162 168,212  href=/wiki/Page3
/map

}}}


9. Done.

10. And.

11. Ouch.

That's why I'm still looking for a way to handle this with the native trac
wiki macros and plugins ...

:-)


On Fri, Jul 10, 2009 at 10:10 AM, Jeremy Kerr renderedl...@gmail.comwrote:

 Thanks Jeff,

 That plug-in looks interesting, but it's not exactly light-weight  :-)

 The equivalent of drawing 6 boxes in OpenOffice draw would require about 40
 lines of markup in the GraphvizPlugin ..

 now, if they had a GUI interface, or a plugin converter tool from
 OpenOfficeDraw, or Viso, That would be cool .

 It might just be easier to cut/paste my photoshop files into smaller parts,
 but even that brings overhead i want to avoid ..

 Thanks for the suggestion though .. i'll look through Track-hacks again to
 see if there's anything else ..



 On Fri, Jul 10, 2009 at 9:58 AM, Jeff Hammel jham...@openplans.orgwrote:


 On Fri, Jul 10, 2009 at 06:54:20AM -0700, renderedlife wrote:
 
  Update:
 
  Failing that: Has anyone had success using OpenOffice Draw and
  ImageMaps to create interactive illustrations that link to various
  locations in the wiki?
 
  I'm looking for a light-weight way to make my flow diagrams easy to
  navigate within our wiki spec documents

 Maybe try the GraphvizPlugin?

  Any other workflows/suggestions would also be greatly appreciated
 
  cheers,
 
  -jeremy
 
  On Jul 10, 9:18 am, Jeremy Kerr renderedl...@gmail.com wrote:
   Hi all,
  
   I'm wondering if it's possible to use the Image and TrackLinks macros
   simultaneously. or if I must use the HTML processor to add an image to
 a
   trac wiki page that can link to another wiki page.
  
   Here's why I ask:
  
   I'm putting up our design flowcharts on our wiki. Some of the diagrams
 refer
   to links on the same page, but some components in the flow diagrams
 refer to
   links on a different wiki page.
  
   To this end, I am using different graphics in the flowcharts to
 indicate to
   our reviewers if they need to search for relevant information on the
 current
   page, or go to a different section/page entirely.
  
   What I would like to do using trac wiki markup, is attach my x-ref
 graphics,
   and then, where appropriate, add them to my wiki pages with links to
 either
  
   [#section]
   [wiki:OtherPage]
  
   what I envision is something like this:
  
   [wiki:OtherPage [[Image(OtherPage.jpg)]] ]
  
   Possible? Or am I thinking too much like a web producer   :-)
  
   RL
  

 



--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Possible to use [[Image()]] and [wiki:OtherPage] at the same time?

2009-07-10 Thread yoheeb

  Thanks Jeff,

  That plug-in looks interesting, but it's not exactly light-weight  :-)

  The equivalent of drawing 6 boxes in OpenOffice draw would require about 40
  lines of markup in the GraphvizPlugin ..

  now, if they had a GUI interface, or a plugin converter tool from
  OpenOfficeDraw, or Viso, That would be cool .

Well, there is Dia, and some other gui tools around, but they aren't
as sophisticated as Visio/SmartDraw, et. al.  But have you actually
used it.  I am not sure what the context of your 6 boxes is, but a 6
box graph for me is
only about 10 lines of markup.

Now, I happen to have a graph with 6 subgraphs, with 6 boxes in each
them, each with a their own hyperlink, and cross node lines, each
subgraph also has a hyperlink as well.  That's about 50 lines of
markup.  Most of which was cut and paste.  It took me about the same
time it would of taken to actually draw the graphs in visio, which
of course doesn't have the links etc.  Then I can just right click-
save image as, and paste into my document that also uses this image.

As a bonus, I can actually source control the graph markup, and use
the IncludeMacro to put it on a page.  Then I can actually inspect the
diff between 2 versions, rather than rely on a  pure visual
inspection.  Anyway, my point is that you may want to consider going
the other direction.  Rather than draw the graph and port to wiki,
write the graph, and export to image.  It takes a little bit of time
to learn to visualize the markup however, and it will never be as
pretty as the drawing programs, but it can be close, and look good.
For example, the output of programs like DoxyGen use DiaGraphs.  Would
be nice if one of these tools like OpenOffice draw could export to dia
format.  or if there was a conversion path of some sort.
--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---