Team Chat Logs

May 26, 2010

2010 4
Mo Tu We Th Fr Sa Su
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

[04:49:45.238632]<wild_oscar>hi, I'm reading TracQuery#UsingTracLinks
[04:50:09.270566]<wild_oscar>is there a list with the colum names the trackquery accepts?
[04:50:20.679188]<wild_oscar>col=resolution|summary|owner|reporter
[05:10:01.509449]<deever>re
[05:11:49.671645]<wild_oscar>also, can one show the ticket summary instead of the #id notation in the wiki formatting [[TicketQuery(id=145,compact,))]] ?
[05:14:27.205489]<deever>i'd like to add the 'blocked by' field of the MasterTickets plugin to the list of displayed fields by TicketQuery(), is there a way to do that?
[05:29:46.429838]<osimons>wild_oscar: add col many times - col=resolution&col=summary.....
[05:30:03.131920]<osimons>but, not sure if the query macro supports it...
[06:37:54.229761]<wild_oscar>osimons: the best I could do was [[TicketQuery(id=145,list))]], but adding col= to a list one doesn't do anything
[10:08:33.251314]<hasienda>wild_oscar: try [[TicketQuery(id=145,order=type,format=table,col=component|summary|id,created=1daysago)]]
[10:09:46.387887]<wild_oscar>thanks hasienda; I ended up displaying it like that. my question was with regards to other formats that aren't table
[10:10:57.429633]<hasienda>wild_oscar: and note that [[TicketQuery(id=145,list))]] had one closing bracket ')' too much
[10:14:29.414806]<hasienda>wild_oscar: TracQuery supports all column names from db table 'ticket' as well as all custom field names in 'ticket_custom'
[10:16:11.958815]<hasienda>deever: ^^^ should work for master tickets custom fields as well
[10:20:01.543678]<wild_oscar>hasienda: basically, my question boiled down to: does the "list" format allow for customisation, or does it always " list the ticket ID next to the summary, with each ticket on a separate line. "
[10:28:42.781968]<hasienda>wild_oscar: understand, if you did not read, full docs are i.e. here http://trac.edgewall.org/wiki/TracQuery
[10:49:28.992382]<Linuturk>I'm having trouble getting finegrained permissions to work
[10:49:41.130711]<Linuturk>I've installed ConfigObj
[10:50:04.800893]<Linuturk>I've pulled authz_policy.py to my plugin directory and made it owned by www-data
[10:50:21.799753]<Linuturk>I created authzpolicy.conf and chown'd it as well
[10:50:47.963411]<Linuturk>in that file, I have [wiki:PrivatePage@*] * =
[10:51:04.929973]<Linuturk>I enabled authz_policy
[10:51:19.288713]<Linuturk>defined the conf file, and added it to the permission policies
[10:51:39.026240]<Linuturk>I then created a page called PrivatePage, and everyone can access it
[11:19:08.650808]<osimons>Linuturk: what tra version?
[11:19:13.451402]<Linuturk>11
[11:19:15.411760]<osimons>s/tra/trac
[11:19:15.854894]<evil_twin>osimons meant: Linuturk: what trac version?
[11:19:16.479219]<Linuturk>I've gotten further
[11:19:31.151775]<osimons>all right.
[11:19:35.786441]<Linuturk>turns out I accidently downloaded the web page referencing the py plugin
[11:19:40.150263]<Linuturk>not the py plugin itself
[11:19:48.064491]<Linuturk>now I'm having an issue with the actual permissions
[11:20:03.209357]<Linuturk>the wiki menu has disappeared for authenticated users
[11:20:16.945633]<Linuturk>even though I've given WikiView to them
[11:20:26.778387]<Linuturk>for [wiki:WikiStart@*]
[11:21:11.918090]<osimons>well, you likely need basic [wiki:*] with * = r for that perhaps?
[11:21:34.014191]<osimons>don't use the plugin - only seen all the support cases as they passed by over the years...
[11:22:32.289193]<Linuturk>ah, that works
[11:22:38.014204]<Linuturk>everything seems back
[11:22:55.208756]<Linuturk>I do know you can't deny based on this though
[11:23:19.258759]<Linuturk>if I grant everyone WIKI_VIEW, I can't lock down pages
[11:23:54.102359]<osimons>Linuturk: how about [wiki:/] * = r
[11:24:04.625027]<Linuturk>actually, wait
[11:24:13.019474]<Linuturk>if I put that read all at the bottom of the file
[11:24:25.555593]<Linuturk>and put a * = for the private page
[11:24:34.233393]<Linuturk>that user can't access it anymore :)
[11:24:38.109336]<Linuturk>yay
[11:24:41.217588]<osimons>right - revoke further down
[11:24:41.688061]<Linuturk>thanks osimons
[11:24:43.724456]<osimons>goodie
[11:24:58.362869]<Linuturk>uh oh, trac_admin can't get to it now! lol
[11:25:17.460648]<Linuturk>wow, didn't know that could happen
[11:25:36.804714]<osimons>trac-admin command?
[11:25:46.986535]<Linuturk>no, the TRAC_ADMIN on the system
[11:25:49.765372]<Linuturk>my admin user
[11:25:56.205014]<Linuturk>I've got my admin user, and a test user
[11:26:03.274273]<Linuturk>admin has TRAC_ADMIN
[11:26:13.812325]<Linuturk>test is part of the authenticated group
[11:26:25.195049]<Linuturk>anon doesn't see a thing on here but a login
[11:26:26.047956]<Linuturk>:)
[11:27:35.359250]<Linuturk>i'll just add admin to the private page Wiki View
[11:27:36.103406]<Linuturk>:)
[12:27:24.394433]<aruntomar>i'm on trac 0.11.7 and after installing agilo, changes in the ticket are not getting saved, any ideas?
[12:42:13.879425]<rmrfslash>Hey all... I'm a new trac user
[12:43:06.602645]<rmrfslash>I just installed trac on debian, used my trac-admin application to create a project, fired up the tracd as a user who has rwx privs on the project dir.... I see "Available Proejcts" at the URL but nothing beyond that. No list
[12:43:36.982627]<rmrfslash>just says "Available Proejcts" in black font in the upper left corner of the browser
[12:47:01.091918]<rmrfslash>woops
[12:47:05.633763]<rmrfslash>bad path
[13:00:22.626143]<hasienda>rmrfslash: solved? lookes like missing Trac env (see http://trac.edgewall.org/wiki/TracInstall#CreatingaProjectEnvironment)
[13:01:00.156136]<rmrfslash>I didn't put in my path correctly I was missing the root slash
[13:01:05.213715]<rmrfslash>usr/local/trac/...
[13:01:16.527735]<rmrfslash>now I'm banging my head on getting my custom logo
[13:01:24.856319]<rmrfslash>src = images/logo.png
[13:01:29.920257]<rmrfslash>not finding it
[13:02:34.522713]<rmrfslash>it's looking in "projectname/chrome" for some reason
[13:02:45.931090]<hasienda>rmrfslash: set here: http://trac.edgewall.org/wiki/TracIni#header_logo-section
[13:03:45.804284]<rmrfslash>right I see that
[13:03:58.183906]<rmrfslash>I even put the full abs path to the logo image
[13:04:14.649133]<rmrfslash>I don't need to restart tracd or antyhign do I?
[13:05:58.487035]<hasienda>rmrfslash: No, full path will not work, it's per project setting, so most probably should be relative to <env>/htdocs and Yes, restart is needed
[13:08:29.970871]<rmrfslash>yeah, I have a file in htdocs called "<env>/htdocs/img/logo.png"
[13:08:42.267321]<rmrfslash>so I put src = ./img/logo.png"
[13:08:59.908847]<rmrfslash>also src = img/logo.png
[13:09:47.497471]<rmrfslash>also, will --auto-reload actually restart tracd when the ini file is updated?
[13:10:16.424922]<hasienda>rmrfslash: see http://nopaste.info/5ddda67d9b.html for reference
[13:11:05.964574]<hasienda>rmrfslash: well, auto-reload should be fine (while testing/doing setup)
[13:37:40.775496]<deever>hasienda: thank you! :)
[13:39:51.386124]<hasienda>deever: You're welcome. Glad it works for you.
[14:48:40.577680]<summel>hi :) is there a way to run trac-admin without ssh access when using trac as cgi-bin and i only have ftp access?
[14:50:20.133758]<cmc>summel: you can do many of the trac-admin commands through the web gui
[14:50:28.531155]<cmc>which do you need to run?
[14:50:41.110804]<summel>but how do i acces the gui/admin interface?
[14:51:04.237357]<cmc>you can give yourself permission by modifying the database if you need to
[14:51:13.816211]<cmc>I assume you have access to the database
[14:52:05.435464]<summel>i dont have a database yet
[14:52:18.630132]<summel>still at the confuuuuusing setup :o
[14:53:07.387184]<cmc>hm. you could do a real set up locally and them import the database, but that's a big hassle. you should really either ask for ssh access or get another hosting service
[14:54:05.471326]<summel>i do have ssh acces but no access to site-packages... i have to install trac in cgi-bin which is in the python PATH
[14:57:04.632940]<cmc>http://paste.lisp.org/display/100536 that is trac-admin
[14:57:17.725887]<cmc>probably 11.7 now
[15:19:41.489772]<riot>um, what did i do wrong to not have the option of installing plugins via tracs interface? I just setup 0.12dev from svn using mod_python for apache2.
[15:21:55.405442]<riot>hum, any userrights i have to add? I forgot :(
[16:27:08.439670]<dr4c4n>can you use hotcopy backups from a .11 trac project directly in a new .12 project?
[18:19:11.077335]<rmrfslash>I thought one can link a trac installation to a svn repository that you can only access over http (svn ls http://my.project.com/svn/trunk for example)
[18:19:21.129933]<rmrfslash>i.e. the svn repo is on another server
[18:21:11.581000]<dr4c4n>basically I had trac .11 installed and running with two trac projects on virtual hosts, I have backed up both projects using the hotcopy command from the trac site and tar'd the folders for copying, copied them, and am now wondering if I have to install .11 and do the upgrade instructions, or if I can install .12 and have the project run from the backed up directory
[18:24:49.089341]<rmrfslash>ahh... it appears only with svnsync plugin
[18:27:06.628782]<dr4c4n>so do I install .11 and upgrade to .12 with the directories?
[23:50:09.231497]<czr>a quick question, we're using trac 0.11/svn in production now. would it make sense to make the effort to upgrade to 0.12 yet?