RE: [Trac] How to make my plugin's page sections foldable?

2011-11-16 Thread Cooke, Mark
  -Original Message-
  From: trac-users@googlegroups.com On Behalf Of Remy Blank
  Sent: 11 November 2011 20:29
  
  Cooke, Mark wrote:
 
  ...but it rmeains stubbonly fixed size.  It is a similar 
  story with the foldable sections.
  
  For resizable textareas, you need to mark the textarea with 
  the class
  trac-resizeable, as you did, and call 
  Chrome.add_textarea_grips(req) before rendering your template:
  
  http://trac.edgewall.org/browser//trunk/trac/admin/web_ui.py?rev=10580marks=255#L248
  
  For foldable section, you need to mark the heading with the class
  foldable, and have the content in a div at the same level as the
  heading. And you must add the JavaScript file folding.js:
  
  http://trac.edgewall.org/browser//trunk/trac/ticket/web_ui.py?rev=10690marks=449#L447
  
  -- Remy
  
 Hello again,
 
 I have folding sections!  Thanks Remy.  I did also need to 
 add the following into my template:
 
   head
 title$title/title
 script type=text/javascript 
   jQuery(document).ready(function($) {
 $(.foldable).enableFolding(false, true);
   });
 /script
   /head
 
 ...is there a proper way to include this script snippet or 
 does it have to go in the html template file?
 
 ~ mark c
 
More oddness.  I am using add_ctxtnav() to add a few links to the page.  Now 
when I fold the section, the context nav also disappears.  Unfolding brings it 
back...  Here's pretty much the whole file:

  head
title$title/title
script type=text/javascript 
  jQuery(document).ready(function($) {
$(.foldable).enableFolding(false, true);
  });
/script
  /head
  body
h2$title/h2
h3 class=foldableMessages/h3
div
  fieldset id=messages 
table class=ccrdata
  tr

th${col[0]}/thth${col[1]}/thth${col[2]}/thth${col[3]}/th
  /tr
  tr py:for=row in data
th${row[0]}/thtd${'%.1f'%(row[1])}/td
  td${'%.1f'%(row[2])}/td
  td${'%.1f'%(row[3])}/td
  /tr
/table
  /fieldset
/div
  /body

...am I missing something obvious?

~ mark c

-- 
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.



RE: [Trac] How to make my plugin's page sections foldable?

2011-11-16 Thread Cooke, Mark
  -Original Message-
  From: trac-users@googlegroups.com On Behalf Of Remy Blank
  Sent: 11 November 2011 20:29
  
  Cooke, Mark wrote:
 
  ...but it rmeains stubbonly fixed size.  It is a similar 
  story with the foldable sections.
  
  For resizable textareas, you need to mark the textarea with 
  the class
  trac-resizeable, as you did, and call 
  Chrome.add_textarea_grips(req) before rendering your template:
  
  http://trac.edgewall.org/browser//trunk/trac/admin/web_ui.py?rev=10580marks=255#L248
  
  For foldable section, you need to mark the heading with the class
  foldable, and have the content in a div at the same level as the
  heading. And you must add the JavaScript file folding.js:
  
  http://trac.edgewall.org/browser//trunk/trac/ticket/web_ui.py?rev=10690marks=449#L447
  
  -- Remy
  
 Hello again,
 
 I have folding sections!  Thanks Remy.  I did also need to 
 add the following into my template:
 
   head
 title$title/title
 script type=text/javascript 
   jQuery(document).ready(function($) {
 $(.foldable).enableFolding(false, true);
   });
 /script
   /head
 
 ...is there a proper way to include this script snippet or 
 does it have to go in the html template file?
 
 ~ mark c
 
More oddness.  I am using add_ctxtnav() to add a few links to the page.  Now 
when I fold the section, the context nav also disappears.  Unfolding brings it 
back...  Here's pretty much the whole file:

  head
title$title/title
script type=text/javascript 
  jQuery(document).ready(function($) {
$(.foldable).enableFolding(false, true);
  });
/script
  /head
  body
h2$title/h2
h3 class=foldableMessages/h3
div
  fieldset id=messages 
table class=ccrdata
  tr

th${col[0]}/thth${col[1]}/thth${col[2]}/thth${col[3]}/th
  /tr
  tr py:for=row in data
th${row[0]}/thtd${'%.1f'%(row[1])}/td
  td${'%.1f'%(row[2])}/td
  td${'%.1f'%(row[3])}/td
  /tr
/table
  /fieldset
/div
  /body

...am I missing something obvious? ...YES (answering my own question):

I misread Remy's advice above: and have the content in a div at the same 
level as the heading ~ I needed both an inside and an outside div:

div
  h2 class=foldableMessages/h2
  div id=fold1
fieldset id=messages 
  table class=ccrdata
tr
  
th${col[0]}/thth${col[1]}/thth${col[2]}/thth${col[3]}/th
/tr
tr py:for=row in data
  th${row[0]}/th
  
td${'%.1f'%(row[1])}/tdtd${'%.1f'%(row[2])}/tdtd${'%.1f'%(row[3])}/td
/tr
  /table
/fieldset 
  /div
/div

...I'm still learning css etc.

~ mark c

-- 
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] Portuguese BR

2011-11-16 Thread Jorge Tratonit
Hi,
I have a little difficulty with the English language.
Is there a discussion group about TRAC in Portuguese (BR)?
Is there any study material in Portuguese (BR)?

Tks

Jorge Tratonit

-- 
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.



Re: [Trac] Portuguese BR

2011-11-16 Thread Leslie Watter
Hi Jorge,

AFAIK there's no specific Brazilian Portuguese trac list.

I can help you a bit with it if you have time to wait the answers :D

Cheers,

LEslie

On Wed, Nov 16, 2011 at 2:31 PM, Jorge Tratonit jorgetrato...@gmail.comwrote:

 Hi,
 I have a little difficulty with the English language.
 Is there a discussion group about TRAC in Portuguese (BR)?
 Is there any study material in Portuguese (BR)?

 Tks

 Jorge Tratonit

 --
 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.




-- 
Leslie H. Watter

-- 
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.



Re: [Trac] Portuguese BR

2011-11-16 Thread Mauricio Tavares
I too speak Portuguese. We can talk off-list but I have to warn you I
am not the trac authority. ;)

On Wed, Nov 16, 2011 at 12:21 PM, Leslie Watter wat...@gmail.com wrote:
 Hi Jorge,

 AFAIK there's no specific Brazilian Portuguese trac list.

 I can help you a bit with it if you have time to wait the answers :D

 Cheers,

 LEslie

 On Wed, Nov 16, 2011 at 2:31 PM, Jorge Tratonit jorgetrato...@gmail.com
 wrote:

 Hi,
 I have a little difficulty with the English language.
 Is there a discussion group about TRAC in Portuguese (BR)?
 Is there any study material in Portuguese (BR)?

 Tks

 Jorge Tratonit

 --
 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.




 --
 Leslie H. Watter

 --
 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.


-- 
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.



RE: [Trac] Portuguese BR

2011-11-16 Thread Willmer, Alex (PTS)
Jorge,

You might like to try a Portuguese Python group (e.g. 
http://wiki.python.org/moin/LocalUserGroups#Portugal, 
http://wiki.python.org/moin/PortugueseLanguage). There may be someone there who 
knows Trac.

Regards, Alex

-Original Message-
From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of Jorge Tratonit
Sent: 16 November 2011 16:31
To: Trac Users
Subject: [Trac] Portuguese BR

Hi,
I have a little difficulty with the English language.
Is there a discussion group about TRAC in Portuguese (BR)?
Is there any study material in Portuguese (BR)?

Tks

Jorge Tratonit

-- 
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.



Think green - keep it on the screen.

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.


-- 
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.



RE: [Trac] Portuguese BR

2011-11-16 Thread Michelle Young
Alex,

Google Translate can also help.  You can even put in a URL in 
the textbox instead of text and it will translate the entire 
page text for you.
http://translate.google.com/
Portuguese is a supported language.

Michelle

 
 Jorge,
 
 You might like to try a Portuguese Python group (e.g. 
 http://wiki.python.org/moin/LocalUserGroups#Portugal, 
 http://wiki.python.org/moin/PortugueseLanguage). There may be 
 someone there who knows Trac.
 
 Regards, Alex
 
 -Original Message-
 From: trac-users@googlegroups.com 
 [mailto:trac-users@googlegroups.com] On Behalf Of Jorge Tratonit
 Sent: 16 November 2011 16:31
 To: Trac Users
 Subject: [Trac] Portuguese BR
 
 Hi,
 I have a little difficulty with the English language.
 Is there a discussion group about TRAC in Portuguese (BR)?
 Is there any study material in Portuguese (BR)?
 
 Tks
 
 Jorge Tratonit
 
 -- 
 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.
 
 
 
 Think green - keep it on the screen.
 
 This e-mail and any attachment is for authorised use by the 
 intended recipient(s) only. It may contain proprietary 
 material, confidential information and/or be subject to legal 
 privilege. It should not be copied, disclosed to, retained or 
 used by, any other party. If you are not an intended recipient 
 then please promptly delete this e-mail and any attachment and 
 all copies and inform the sender. Thank you.
 
 

-- 
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] Upgrade problem

2011-11-16 Thread Andrew Gehring
Hello all,


I upgraded from 0.11.6 to 0.11.7, and now I can't get any action.

Any one seen this, any suggestions?

I'm not seeing any errors in the log, and I'm a trac_admin

Thanks,
Andrew

-- 
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.



Re: [Trac] newbie needs help on authentication

2011-11-16 Thread Magnus Therning
On Sun, Nov 13, 2011 at 11:05:23AM +, Joao Ferreira Gmail wrote:
 Hello all,
 
 I just installed trac. I created my first project. Now I was adding in
 authentication.
 
 I use the standalone server:
 
 tracd --port 8765 \
 --auth=LogicLoad,/home/jmf/LogicLoad/conf/users.htdigest,critical 
 /home/jmf/LogicLoad

[...]

 I open the browser and I select the login link. I get a small
 authentication dialog. I type my username and password but nothing
 happens. Nothing at all. Not even a log message.
 
 I did not see this documented in the FAQ.
 
 Can anyone help ?

What does tracd spit out when you start it?

I've found it's rather good at announcing issues with digest files.

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus


Perl is another example of filling a tiny, short-term need, and then
being a real problem in the longer term.
 -- Alan Kay


pgpLhRcz4RZb3.pgp
Description: PGP signature


Re: [Trac] newbie needs help on authentication

2011-11-16 Thread Paulo Henrique
Hi, LogicLoad is main trac dir? in trac.ini modifi log_type = none to
log_type = stderr restart your server and try again whats displayed in
screen? in your server exists more than  one  phyton version?

2011/11/16 Magnus Therning mag...@therning.org

 On Sun, Nov 13, 2011 at 11:05:23AM +, Joao Ferreira Gmail wrote:
  Hello all,
 
  I just installed trac. I created my first project. Now I was adding in
  authentication.
 
  I use the standalone server:
 
  tracd --port 8765 \
  --auth=LogicLoad,/home/jmf/LogicLoad/conf/users.htdigest,critical
 /home/jmf/LogicLoad

 [...]

  I open the browser and I select the login link. I get a small
  authentication dialog. I type my username and password but nothing
  happens. Nothing at all. Not even a log message.
 
  I did not see this documented in the FAQ.
 
  Can anyone help ?

 What does tracd spit out when you start it?

 I've found it's rather good at announcing issues with digest files.

 /M

 --
 Magnus Therning  OpenPGP: 0xAB4DFBA4
 email: mag...@therning.org   jabber: mag...@therning.org
 twitter: magthe   http://therning.org/magnus


 Perl is another example of filling a tiny, short-term need, and then
 being a real problem in the longer term.
 -- Alan Kay


-- 
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] How trac integrate with multi repositories

2011-11-16 Thread fiona
now my trac integrate with one svn repo, I now have another repo and
also want to integrate with trac,how to do?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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



RE: [Trac] Upgrade problem

2011-11-16 Thread Cooke, Mark
 -Original Message-
 From: trac-users@googlegroups.com On Behalf Of Andrew Gehring
 Sent: 16 November 2011 20:08
 Subject: [Trac] Upgrade problem
 
 Hello all,

Hello!

 I upgraded from 0.11.6 to 0.11.7, and now I can't get any action.
 
 Any one seen this, any suggestions?
 
 I'm not seeing any errors in the log, and I'm a trac_admin

I am not sure what you mean?  Are you not seeing an workflow actions in the 
ticket view, is that it?

~ mark c

-- 
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.



RE: [Trac] How trac integrate with multi repositories

2011-11-16 Thread Cooke, Mark
 -Original Message-
 From: trac-users@googlegroups.com On Behalf Of fiona
 Sent: 17 November 2011 06:52
 Subject: [Trac] How trac integrate with multi repositories
 
 now my trac integrate with one svn repo, I now have another repo and
 also want to integrate with trac,how to do?thanks!
 
As always, start with the documents:

http://trac.edgewall.org/wiki/TracRepositoryAdmin

You did not say which version of trac you use... For multi-repository use you 
will need to be using 0.12.x (or newer)...

~ mark c

-- 
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.