Re: [Trac] Website says to run upgrade, trac-admin says no upgrade necessary

2010-09-15 Thread victoria
Hi Sue,

On Windows with the BitNami Stack you will need to execute and
dditional step. Please check the section 8.3.1 Installing Trac
plugins and Python eggs - NOTE FOR WINDOWS USERS in the README file:
http://bitnami.org/files/stacks/trac/0.11.6-1/README.txt.

Best regards,

Victoria.

On Wed, Sep 15, 2010 at 1:52 AM, sue sue.sml2...@gmail.com wrote:
 I'm at a loss as to why this is happening.  I installed the defaultcc
 plugin and all of a sudden this error occurred.  I have tried
 restarting all of the services to no avail.  I have disabled ALL
 plugins in the trac.ini to see if that would help, and nothing is
 working.  this is just a prototype installation, so I can create a new
 one if necessary, but I'd like to understand why this happened so that
 i can avoid it in the future.
 This is a Windows 2007 bitNami 11.6 installation.  The only other
 plugins in play were blackmagictweaks and customfieldadmin.
 Thanks in advance.
 Sue

 --
 You received this message because you are subscribed to the Google Groups 
 Trac Users group.
 To post to this group, send email to trac-us...@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-us...@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] Trac + Ldap - Restricted mode error

2010-09-15 Thread Eirik Schwenke
Noah Kantrowitz skrev 14. sep. 2010 19:51:
 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
 On Behalf Of Jon Hadley
 Sent: Tuesday, September 14, 2010 12:41 AM
 To: trac-users@googlegroups.com
 Subject: [Trac] Trac + Ldap - Restricted mode error

 I'm trying to setup Trac, using mod_wsgi, LDAP and a xml theming proxy
 called collective.xdv.

(...)

  2) LDAP on Trac only works via port 8202, not via 8022. Fairly
 obviously because that's where the rule is set-up. But the rest of the
 site on 8022 doesn't need to be LDAP protected. How do I apply the
 LDAP authentication behind the proxy? Can the proxy somehow inherit
 the authentication rule when Trac is requested? (More detail regarding
 this problem is also here: http://serverfault.com/questions/180845 )

 To answer #2, HTTP authentication is a local system only, it does not
 work with proxies like that.


I first thought you wanted the following:

 , ldap auth --  trac
 user - (xml theme proxy ) 
 ' cms website

In addition, you want to map /trac into the url-space under your other
site, so that:

1: All requests arrive at www.example.com
2: All requests are transformed/formatted by the xml proxy
3: An url starting with /trac:
   1: should be served from the trac instance
   2: should be authenticated via ldap

However, as far as I can tell collective.xdv is just a post-hook for
plone ? So all you want is to have separate mapping of /trac, and
everything else, going through an apache server, with the /trac part
authenticated by ldap ?

Should be as easy as:


  VirtualHost www.example.com
ServerName www.example.com

ProxyRequests Off

# Do not proxy /trac using mod_http_proxy, use wsgi (which is a kind
of reverse proxy)
ProxyPass /trac !
Location /trac
  AuthBasicProvider ldap
  AuthType Basic
  AuthzLDAPAuthoritative off
  AuthName Login
  AuthLDAPURL ldap://127.0.0.1:389/dc=foo-bar,dc=org?uid;
  AuthLDAPBindDN cn=admin, dc=foo-bar, dc=org
  AuthLDAPBindPassword secretword
  require valid-user
/Location

Location /
  #Assuming you’ve got plone running on port 8001
  ProxyPass 127.0.0.1:8001
  ProxyPassReverse 127.0.0.1:8001
/Location
  /VirtualHost

  #WSGIDaemonProcess causes prob if this not outside
  WSGIDaemonProcess trac stack-size=524288
  python-path=/usr/lib/python2.5/site-packages
  WSGIScriptAlias /trac /home/web/foo/parts/trac/tracwsgi/cgi-bin/trac.wsgi
  WSGIProcessGroup trac #changed from global
  WSGIApplicationGroup %{GLOBAL}

I’m not entirely sure I’ve really grasped your problem though. In
general, if you want a more complicated setup,  I would suggest not
cramming everything into one apache config instance, but rather set
everything up as if you were setting up seperate servers.

Then you’d have one apache in front, as reverse proxy, and
possibly doing url rewrite and/or ssl-proxy “accelleration” – and other
instances mounting up wsgi etc.

It might be more overhead, but a lot easier to manage (and scale out to
new servers).


Best regards,

-- 
 .---.  Eirik Schwenke eirik.schwe...@nsd.uib.no
( NSD ) Harald Hårfagresgate 29Rom 150
 '---'  N-5007 Bergentlf: (555) 889 13

  GPG-key at pgp.mit.edu  Id 0x8AA3392C



signature.asc
Description: OpenPGP digital signature


Re: [Trac] Trac + Ldap - Restricted mode error

2010-09-15 Thread Jon Hadley
Hi Eirik,

Thanks for the time you've spent looking into my problem, it's much appreciated.

 I first thought you wanted the following:
 
 , ldap auth --  trac
 user - (xml theme proxy ) 
 ' cms website

Exactly what I want.

 3: An url starting with /trac:
   1: should be served from the trac instance
   2: should be authenticated via ldap

Should be served from the trac instance, *VIA* the xml theme proxy.

 However, as far as I can tell collective.xdv is just a post-hook for
 plone ? 

No, it sits in front of Trac too. (In fact it can sit in front of any website, 
which is where it's potential power comes from).

But this is where my trouble begins. As soon as collective.xdv is in front of 
Trac, the authentication system fails. I'm not sure if collective.xdv is 
stripping authentication headers, or if there is a better way of Apache 
controlling the route of the authentication requests.

 Should be as easy as:

Your included configuration works great, if I don't want Trac themed by the 
collective.xdv proxy but have it appear on the same address, but as detailed 
above, this isn't my end goal (although it might have to be Plan B)

 I would suggest not
 cramming everything into one apache config instance, but rather set
 everything up as if you were setting up seperate servers.

Good advice :)

Jon.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Pulling account info from a PostgreSQL DB

2010-09-15 Thread mgl
Hello list,

I've got a trac 0.11.1 setup running, with basic HTTP auth running
against a
Drupal database in PostgreSQL, with the following setup in my Apache
configuration:

Location /trac/login
   AuthType Basic
   AuthName Trac Auth
   AuthBasicAuthoritative Off

   Auth_PG_host localhost
   Auth_PG_port 5432
   Auth_PG_user drupal
   Auth_PG_pwd **
   Auth_PG_database drupal
   Auth_PG_pwd_table users
   Auth_PG_uid_field name
   Auth_PG_pwd_field pass
   Auth_PG_pwd_whereclause   and users.status = 1 and users.access 
0
   AUTH_PG_hash_type MD5

   Require valid-user
   RewriteEngine On
   RewriteCond %{HTTPS} off
   RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
/Location

This works perfectly fine, except that users do not have email
addresses
associated with them.  I want to be able to somehow pull the user's
email
addressed out of the database as well, so that things like ticket
creation/updates can be configured to send emails.

I looked at the AccountManagerPlugin, but I'm not sure that provides
what I
need to accomplish this.  Can anyone recommend something else that
might do
this?

Sorry if this is the second time anyone is getting this - the fist
copy of it seem to have disappeared.

Thanks,
Mike

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Deleting Old Reports

2010-09-15 Thread steven.rogers
After a report has been entered and if it has an error there appears
to be no way to remove it, i.e. there is no delete button which means
we have too many old reports and would like do some housekeeping.  Can
someone please advise.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Pulling account info from a PostgreSQL DB

2010-09-15 Thread Erik Andersson
On Wed, Sep 15, 2010 at 5:31 PM, mgl mgl@gmail.com wrote:

 Hello list,

 I've got a trac 0.11.1 setup running, with basic HTTP auth running
 against a
 Drupal database in PostgreSQL, with the following setup in my Apache
 configuration:

 Location /trac/login
   AuthType Basic
   AuthName Trac Auth
   AuthBasicAuthoritative Off

   Auth_PG_host localhost
   Auth_PG_port 5432
   Auth_PG_user drupal
   Auth_PG_pwd **
   Auth_PG_database drupal
   Auth_PG_pwd_table users
   Auth_PG_uid_field name
   Auth_PG_pwd_field pass
   Auth_PG_pwd_whereclause   and users.status = 1 and users.access 
 0
   AUTH_PG_hash_type MD5

   Require valid-user
   RewriteEngine On
   RewriteCond %{HTTPS} off
   RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
 /Location

 This works perfectly fine, except that users do not have email
 addresses
 associated with them.  I want to be able to somehow pull the user's
 email
 addressed out of the database as well, so that things like ticket
 creation/updates can be configured to send emails.

 I looked at the AccountManagerPlugin, but I'm not sure that provides
 what I
 need to accomplish this.  Can anyone recommend something else that
 might do
 this?

Maybe this will be helpful?
http://www.pacopablo.com/blog/pacopablo/blog/set-assign-to-drop-down


 Sorry if this is the second time anyone is getting this - the fist
 copy of it seem to have disappeared.

 Thanks,
 Mike

 --
 You received this message because you are subscribed to the Google Groups
 Trac Users group.
 To post to this group, send email to trac-us...@googlegroups.com.
 To unsubscribe from this group, send email to
 trac-users+unsubscr...@googlegroups.comtrac-users%2bunsubscr...@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-us...@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] Deleting Old Reports

2010-09-15 Thread Erik Andersson
On Wed, Sep 15, 2010 at 5:55 PM, steven.rogers
steven.rog...@honeywell.comwrote:

 After a report has been entered and if it has an error there appears
 to be no way to remove it, i.e. there is no delete button which means
 we have too many old reports and would like do some housekeeping.  Can
 someone please advise.

You need REPORT_DELETE permission, see:
http://trac.edgewall.org/wiki/TracPermissions#Reports


 --
 You received this message because you are subscribed to the Google Groups
 Trac Users group.
 To post to this group, send email to trac-us...@googlegroups.com.
 To unsubscribe from this group, send email to
 trac-users+unsubscr...@googlegroups.comtrac-users%2bunsubscr...@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-us...@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] Deleting Old Reports

2010-09-15 Thread Rogers, Steven (TX57)
Erik,

 

I added REPORT_DELETE separately but it did not help.  Please note I am
as a user with group_Admin which also has REPORT_ADMIN?

 

Thanks

Steve

 



From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Erik Andersson
Sent: Wednesday, September 15, 2010 11:37 AM
To: trac-users@googlegroups.com
Subject: Re: [Trac] Deleting Old Reports

 

 

On Wed, Sep 15, 2010 at 5:55 PM, steven.rogers
steven.rog...@honeywell.com wrote:

After a report has been entered and if it has an error there appears
to be no way to remove it, i.e. there is no delete button which means
we have too many old reports and would like do some housekeeping.  Can
someone please advise.

You need REPORT_DELETE permission, see:
http://trac.edgewall.org/wiki/TracPermissions#Reports 


--
You received this message because you are subscribed to the
Google Groups Trac Users group.
To post to this group, send email to
trac-us...@googlegroups.com.
To unsubscribe from this group, send email to
trac-users+unsubscr...@googlegroups.com
mailto:trac-users%2bunsubscr...@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-us...@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-us...@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] Deleting Old Reports

2010-09-15 Thread Michelle Young

 (Replying top because he did)

Could the solution be something a simple as this?
You need to open the report first before you see the delete button.

Michelle

On 9/15/2010 1:44 PM, Rogers, Steven (TX57) wrote:


Erik,

I added REPORT_DELETE separately but it did not help.  Please note I 
am as a user with group_Admin which also has REPORT_ADMIN?


Thanks

Steve



*From:* trac-users@googlegroups.com 
[mailto:trac-us...@googlegroups.com] *On Behalf Of *Erik Andersson

*Sent:* Wednesday, September 15, 2010 11:37 AM
*To:* trac-users@googlegroups.com
*Subject:* Re: [Trac] Deleting Old Reports

On Wed, Sep 15, 2010 at 5:55 PM, steven.rogers 
steven.rog...@honeywell.com mailto:steven.rog...@honeywell.com wrote:


After a report has been entered and if it has an error there appears
to be no way to remove it, i.e. there is no delete button which means
we have too many old reports and would like do some housekeeping.  Can
someone please advise.

You need REPORT_DELETE permission, see: 
http://trac.edgewall.org/wiki/TracPermissions#Reports



--
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
mailto:trac-users@googlegroups.com.
To unsubscribe from this group, send email to
trac-users+unsubscr...@googlegroups.com
mailto:trac-users%2bunsubscr...@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-us...@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-us...@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-us...@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] Deleting Old Reports

2010-09-15 Thread Mikael Relbe
 



  _  

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On
Behalf Of Rogers, Steven (TX57)
Sent: Wednesday, September 15, 2010 7:45 PM
To: trac-users@googlegroups.com
Subject: RE: [Trac] Deleting Old Reports



Erik,

 

I added REPORT_DELETE separately but it did not help.  Please note I am as a
user with group_Admin which also has REPORT_ADMIN?

 

Thanks

Steve

If you are using Trac 0.12, you must enable the TicketDeleter module.

Select Admin, then Plugins in the General section, select Trac and activate
TicketDeleter (the last module).

 

Hope that helps.

 

/Mikael

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Deleting Old Reports

2010-09-15 Thread Matthew Caron

On 09/15/2010 01:55 PM, Rogers, Steven (TX57) wrote:

I wish it was, please see below for report-26 which has an error, there
is no button to delete it in this view.


When that happens to me, I just fix it in the DB. Replace the query with 
that works, and then you get a nice UI with delete button.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.com

--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Deleting Old Reports

2010-09-15 Thread Mikael Relbe
 



  _  

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On
Behalf Of Mikael Relbe
Sent: Wednesday, September 15, 2010 7:56 PM
To: trac-users@googlegroups.com
Subject: RE: [Trac] Deleting Old Reports


 



  _  

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On
Behalf Of Rogers, Steven (TX57)
Sent: Wednesday, September 15, 2010 7:45 PM
To: trac-users@googlegroups.com
Subject: RE: [Trac] Deleting Old Reports



Erik,

 

I added REPORT_DELETE separately but it did not help.  Please note I am as a
user with group_Admin which also has REPORT_ADMIN?

 

Thanks

Steve

If you are using Trac 0.12, you must enable the TicketDeleter module.

Select Admin, then Plugins in the General section, select Trac and activate
TicketDeleter (the last module).

 

Hope that helps.

 

/Mikael

Sorry, but I misread the OT for ticket instead of report. Please disregard
my answer. (Tired after a long day at work...)

/Mikael

 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Trac + Ldap - Restricted mode error

2010-09-15 Thread Eirik Schwenke
Jon Hadley skrev 15. sep. 2010 14:51:
 Hi Eirik,
 
 Thanks for the time you've spent looking into my problem, it's much
 appreciated.

NP :)

 I first thought you wanted the following:
 
 , ldap auth --  trac
 user - (xml theme proxy ) 
 ' cms website
 
 Exactly what I want.

Ok -- then I can better understand why you're having problems ;-)

 3: An url starting with /trac: 1: should be served from the trac
 instance 2: should be authenticated via ldap
 
 Should be served from the trac instance, *VIA* the xml theme proxy.
 
 However, as far as I can tell collective.xdv is just a post-hook
 for plone ?
 
 No, it sits in front of Trac too. (In fact it can sit in front of any
 website, which is where it's potential power comes from).
 
 But this is where my trouble begins. As soon as collective.xdv is in
 front of Trac, the authentication system fails. I'm not sure if
 collective.xdv is stripping authentication headers, or if there is a
 better way of Apache controlling the route of the authentication
 requests.

From the collective.xdv-page (and as far as I can tell from your configs
posted here, and at stackoverflow) -- it isn't obvious how you've set
this up -- this is a python script that acts as a proxy ?

Are you using:

  http://pypi.python.org/pypi/dv.xdvserver

wrapped around trac ? Do you run that via mod_wsgi, or some other means ?

Based on:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html

13.5.1 End-to-end and Hop-by-hop Headers

 For the purpose of defining the behavior of caches and non-caching
 proxies, we divide HTTP headers into two categories:

  - End-to-end headers, which are  transmitted to the ultimate
recipient of a request or response. End-to-end headers in
responses MUST be stored as part of a cache entry and MUST be
transmitted in any response formed from a cache entry.

  - Hop-by-hop headers, which are meaningful only for a single
transport-level connection, and are not stored by caches or
forwarded by proxies.

 The following HTTP/1.1 headers are hop-by-hop headers:

  - Connection
  - Keep-Alive
  - Proxy-Authenticate
  - Proxy-Authorization
  - TE
  - Trailers
  - Transfer-Encoding
  - Upgrade


 All other headers defined by HTTP/1.1 are end-to-end headers. 

As far as i can tell a reverse proxy actually should forward http
authorization headers -- so it would appear collective.xvd is the
problem, not mod_proxy (Note authorization and proxy-authorization are
different headers).

 Should be as easy as:
 
 Your included configuration works great, if I don't want Trac themed
 by the collective.xdv proxy but have it appear on the same address,
 but as detailed above, this isn't my end goal (although it might have
 to be Plan B)
 
 I would suggest not cramming everything into one apache config
 instance, but rather set everything up as if you were setting up
 seperate servers.
 
 Good advice :)

This does remind me a bit about:

  http://apache.webthing.com/mod_proxy_html/

by the way -- but that or mod_proxy_xml might not be able to do quite
what you want (apply your xml styles).

Perhaps collective.xvd can be made to work with mod_ext_filter ?:

  http://httpd.apache.org/docs/2.2/mod/mod_ext_filter.html


Best regards,

-- 
 .---.  Eirik Schwenke eirik.schwe...@nsd.uib.no
( NSD ) Harald Hårfagresgate 29Rom 150
 '---'  N-5007 Bergentlf: (555) 889 13

  GPG-key at pgp.mit.edu  Id 0x8AA3392C



signature.asc
Description: OpenPGP digital signature


Re: [Trac] Deleting Old Reports

2010-09-15 Thread Remy Blank
Rogers, Steven (TX57) wrote:
 I wish it was, please see below for report-26 which has an error, there
 is no button to delete it in this view.

This looks like an issue with the BlackMagicTicketTweaks plugin. Disable
it temporarily and you may be able to delete the report.

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [Trac] Pulling account info from a PostgreSQL DB

2010-09-15 Thread Mike Leahy
That sort-of might help, but from what I can tell it's something that would 
have to be run for each new user.  I'd have to find some way to make Drupal 
execute that script for each new user that signs up.  Also, wouldn't each user 
have to set the session for themselves, or will it automatically be set to 
their username?

In any case, I was hoping for something a little more directly integrated or 
automated.  That is, I'd rather Trac pulled the email from my Drupal database 
somehow, rather than having to use a method that requires somehow pushing 
email address information into Trac.

Thanks,
Mike

On Wednesday, September 15, 2010 12:35:32 Erik Andersson wrote:
 On Wed, Sep 15, 2010 at 5:31 PM, mgl mgl@gmail.com wrote:
  Hello list,
  
  I've got a trac 0.11.1 setup running, with basic HTTP auth running
  against a
  Drupal database in PostgreSQL, with the following setup in my Apache
  configuration:
  
  Location /trac/login
  
AuthType Basic
AuthName Trac Auth
AuthBasicAuthoritative Off

Auth_PG_host localhost
Auth_PG_port 5432
Auth_PG_user drupal
Auth_PG_pwd **
Auth_PG_database drupal
Auth_PG_pwd_table users
Auth_PG_uid_field name
Auth_PG_pwd_field pass
Auth_PG_pwd_whereclause   and users.status = 1 and users.access 
  
  0
  
AUTH_PG_hash_type MD5

Require valid-user
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  
  /Location
  
  This works perfectly fine, except that users do not have email
  addresses
  associated with them.  I want to be able to somehow pull the user's
  email
  addressed out of the database as well, so that things like ticket
  creation/updates can be configured to send emails.
  
  I looked at the AccountManagerPlugin, but I'm not sure that provides
  what I
  need to accomplish this.  Can anyone recommend something else that
  might do
  this?
 
 Maybe this will be helpful?
 http://www.pacopablo.com/blog/pacopablo/blog/set-assign-to-drop-down
 
  Sorry if this is the second time anyone is getting this - the fist
  copy of it seem to have disappeared.
  
  Thanks,
  Mike
  
  --
  You received this message because you are subscribed to the Google Groups
  Trac Users group.
  To post to this group, send email to trac-us...@googlegroups.com.
  To unsubscribe from this group, send email to
  trac-users+unsubscr...@googlegroups.comtrac-users%2bunsubscr...@googlegr
  oups.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-us...@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] Deleting Old Reports

2010-09-15 Thread Rogers, Steven (TX57)

Can you please advise how to do that, I have admin rights but cannot
find how edit a plugin, please note we are Trac 0.11.7

Thanks
Steve


-Original Message-
From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Remy Blank
Sent: Wednesday, September 15, 2010 2:15 PM
To: trac-users@googlegroups.com
Subject: Re: [Trac] Deleting Old Reports

Rogers, Steven (TX57) wrote:
 I wish it was, please see below for report-26 which has an error,
there
 is no button to delete it in this view.

This looks like an issue with the BlackMagicTicketTweaks plugin. Disable
it temporarily and you may be able to delete the report.

-- Remy

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Rationale of TitleIndex Hierarchy?

2010-09-15 Thread Eric Hoch
Hello,

   I'm currently using 0.11 and I'm not thrilled with the way that
[[TitleIndex(format=group)]] formats my wiki page hierarchy. For example,
the following hierarchy:

/A
/A/A
/A/A/A
/A/A/B
/A/A/C

would be displayed like this:

 * A
  * A (linked to /A)
  * /
   * A
* A/A (linked to /A/A)
* /
 * A/A/A (linked to /A/A/A)
 * A/A/B (linked to /A/A/B)
 * A/A/C (linked to /A/A/C)

After looking at 0.12, it looks like it would format it like this:

 * A
  * A (linked to /A)
  * A
   * A/A (linked to /A/A)
   * A/A/A (linked to /A/A/A)
   * A/A/B (linked to /A/A/B)
   * A/A/C (linked to /A/A/C)

Also in 0.12 is the format=hierarchy option, which formats it like this:

 * A (linked to /A)
  * A (linked to /A)
  * A (linked to /A/A)
   * A (linked to /A/A)
   * A (linked to /A/A/A)
   * B (linked to /A/A/B)
   * C (linked to /A/A/C)

The last one is almost exactly what I want, which is this:

 * A (linked to /A)
  * A (linked to /A/A)
   * A (linked to /A/A/A)
   * B (linked to /A/A/B)
   * C (linked to /A/A/C)

So the question I have is: Is it possible to accomplish what I'm looking
for? If not (or in addition to), what's the rationale behind the duplicate
links in the hierarchy format?

Thanks in advance.

-Eric

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Tables in multi column wiki page

2010-09-15 Thread Bill Buklis
I'm trying to create a wiki page that contains tables side by side as in a
two column page format. I'm using trac 0.12. In order to do this I set up a
page using nested tables. The following sample code works successfully with
one caveat. The outer table (which is otherwise not visible) is surrounded
by a border. I'd like to remove this border. It seems logical to wrap the
code using a {{{#!table processor with appropriate styles, but trac errors
out with the message:

 

!#table must contain at most one table

 

Is there any way to get around this? Is there a better processor to use than
{{{#!td? Unfortunately because of the way the table processor is
implemented, it seems impossible to apply any styles, classes to the outer
table if there are any nested tables.

 

Working code with undesired surrounding border:

 

{{{#!td
style=border:none;vertical-align:top;padding-right:100px;padding-left:20px;
padding-top:20px;padding-bottom:20px

= Left Side Table =

 

||='''Column L.A''' =||='''Column L.B'''=||

||Some data||Some more data||

||Miscellaneous stuff||More data||

||Useless info||Stuff||

||Even more stuff||Data||

||Another line||Sample||

}}}

{{{#!td
style=border:none;vertical-align:top;padding-top:20px;padding-bottom:20px;p
adding-right:20px

= '''Right Side Table''' =

 

||='''Column R.A'''=||='''Column R.B'''=||

||Some data||Some more data||

||Miscellaneous stuff||More data||

 

[[br]]

= '''Second Table on Right''' =

 

||='''Column R.C'''=||='''Column R.D'''=||

||Some data||Some more data||

||Miscellaneous stuff||More data||

}}}

 

 

Thanks,

 

-- Bill --

 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Rationale of TitleIndex Hierarchy?

2010-09-15 Thread Zeeshan Lakhani
I don't understand the duplicate links either in regards to using 
format=hierarchy. Is there a fix for this? Thank you. 


On Sep 15, 2010, at 6:31 PM, Eric Hoch wrote:

 Hello,
 
I'm currently using 0.11 and I'm not thrilled with the way that 
 [[TitleIndex(format=group)]] formats my wiki page hierarchy. For example, the 
 following hierarchy:
 
 /A
 /A/A
 /A/A/A
 /A/A/B
 /A/A/C
 
 would be displayed like this:
 
  * A
   * A (linked to /A)
   * /
* A
 * A/A (linked to /A/A)
 * /
  * A/A/A (linked to /A/A/A)
  * A/A/B (linked to /A/A/B)
  * A/A/C (linked to /A/A/C)
 
 After looking at 0.12, it looks like it would format it like this:
 
  * A
   * A (linked to /A)
   * A
* A/A (linked to /A/A)
* A/A/A (linked to /A/A/A)
* A/A/B (linked to /A/A/B)
* A/A/C (linked to /A/A/C)
 
 Also in 0.12 is the format=hierarchy option, which formats it like this:
 
  * A (linked to /A)
   * A (linked to /A)
   * A (linked to /A/A)
* A (linked to /A/A)
* A (linked to /A/A/A)
* B (linked to /A/A/B)
* C (linked to /A/A/C)
 
 The last one is almost exactly what I want, which is this:
 
  * A (linked to /A)
   * A (linked to /A/A)
* A (linked to /A/A/A)
* B (linked to /A/A/B)
* C (linked to /A/A/C)
 
 So the question I have is: Is it possible to accomplish what I'm looking for? 
 If not (or in addition to), what's the rationale behind the duplicate links 
 in the hierarchy format?
 
 Thanks in advance.
 
 -Eric  
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Trac Users group.
 To post to this group, send email to trac-us...@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.
 
 ...

Zeeshan Lakhani
Liberty Science Center
Twitter:@zeeshanlakhani
917-885-7668 - Cell
201-253-1576 - LSC

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Rationale of TitleIndex Hierarchy?

2010-09-15 Thread Christian Boos

 On 9/16/2010 12:31 AM, Eric Hoch wrote:

Hello,

   I'm currently using 0.11 and I'm not thrilled with the way that 
[[TitleIndex(format=group)]] formats my wiki page hierarchy. For 
example, the following hierarchy:


/A
/A/A
/A/A/A
/A/A/B
/A/A/C

would be displayed like this:

 * A
  * A (linked to /A)
  * /
   * A
* A/A (linked to /A/A)
* /
 * A/A/A (linked to /A/A/A)
 * A/A/B (linked to /A/A/B)
 * A/A/C (linked to /A/A/C)

After looking at 0.12, it looks like it would format it like this:

 * A
  * A (linked to /A)
  * A
   * A/A (linked to /A/A)
   * A/A/A (linked to /A/A/A)
   * A/A/B (linked to /A/A/B)
   * A/A/C (linked to /A/A/C)

Also in 0.12 is the format=hierarchy option, which formats it like this:

 * A (linked to /A)
  * A (linked to /A)
  * A (linked to /A/A)
   * A (linked to /A/A)
   * A (linked to /A/A/A)
   * B (linked to /A/A/B)
   * C (linked to /A/A/C)

The last one is almost exactly what I want, which is this:

 * A (linked to /A)
  * A (linked to /A/A)
   * A (linked to /A/A/A)
   * B (linked to /A/A/B)
   * C (linked to /A/A/C)

So the question I have is: Is it possible to accomplish what I'm 
looking for? If not (or in addition to), what's the rationale behind 
the duplicate links in the hierarchy format?




Thanks for the input!

There are a couple of bugs already reported with those two formats, so 
I'll try to finish the fixes I've started a while ago in time for 0.12.1 
(with most probably a rc1 beginning next week).


-- Christian

--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] Tables in multi column wiki page

2010-09-15 Thread Christian Boos

 On 9/15/2010 6:48 PM, Bill Buklis wrote:


I'm trying to create a wiki page that contains tables side by side as 
in a two column page format. I'm using trac 0.12. In order to do this 
I set up a page using nested tables. The following sample code works 
successfully with one caveat. The outer table (which is otherwise not 
visible) is surrounded by a border. I'd like to remove this border. It 
seems logical to wrap the code using a {{{#!table processor with 
appropriate styles, but trac errors out with the message:


*!#table must contain at most one table*

Is there any way to get around this?



Unfortunately no, that's indeed a limitation of #!table in 0.12. Wait 
for 0.13?



Is there a better processor to use than {{{#!td? Unfortunately 
because of the way the table processor is implemented, it seems 
impossible to apply any styles, classes to the outer table if there 
are any nested tables.




A workaround would be to wrap your setup in some div (e.g. #!div 
class=borderless), and do something appropriate in your site.css (e.g. 
.borderless  table { border: none }).
Alternatively, you can easily achieve multi-column set up by using #!div 
style=float: left, width=45%  and such.



Working code with undesired surrounding border:

{{{#!td 
style=border:none;vertical-align:top;padding-right:100px;padding-left:20px;padding-top:20px;padding-bottom:20px


= Left Side Table =

||='''Column L.A''' =||='''Column L.B'''=||



Hope this helps!

-- Christian

--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.