Team Chat Logs

September 16, 2010

2010 8
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      

[00:03:29.492011]<macmaN>idesperado: what question is too vague
[00:03:43.520091]<macmaN>that*
[00:09:02.863270]<idesperado>macmaN: ...well..
[00:09:18.177890]<idesperado>macmaN: let me rephrase
[00:10:05.694181]<macmaN>osimons: redid my patch queue for fullblogplugin on bitbucket, i realized having a patch-specific-name for the whole queue isnt logical for more than one feature, so i just connect product+myname for my queues from now on
[00:10:07.591490]<idesperado>macmaN: there is a plugin called account_manager_plugin for account management and the login-and-logout thing...
[00:10:49.535490]<macmaN>osimons: but i guess there isnt much demand for automatic slug creation for fullblog so far..
[00:11:03.692285]<macmaN>idesperado: no need for background, details about your goal are needed
[00:11:40.114701]<idesperado>macmaN: now I got this plugin installed...but my final goal is to do some logic on the process of authentication...how can i do it?
[00:12:32.874992]<macmaN>idesperado: that obviously depends on what auth logic you need to do
[00:12:40.878988]<macmaN>accountmgrplugin only has so many methods built in
[00:12:51.245293]<macmaN>for others that have been done, you dont even need accountmgrplugin
[00:13:03.406665]<macmaN>so thats basically your two options
[00:13:53.868650]<macmaN>roll your own session based solution like others have or connect to acctmgr api for the web login form
[00:14:52.493438]<idesperado>macmaN: so if I want to write a unified interface of trac and my other systems...I have to write my own plugin???
[00:15:01.135941]<idesperado>my own plugin for trac...
[00:16:36.227915]<macmaN>how exactly do you imagine it any different? trac would have to magically work with your unknown login system?
[00:16:51.222573]<macmaN>if the question is "plugin" or "core hacking", then answer is "almost everything can be done with plugin"
[00:17:14.518571]<idesperado>macmaN: no no no..
[00:19:16.720298]<idesperado>macmaN: I don't know much about trac system now. I just want to know if I have to write the said unified auth module, I can write a plugin like accountmgrplugin or I just have to change trac itself, which obviously I don't want to...
[00:19:43.379733]<macmaN> i thought i just answered that
[00:20:19.823203]<idesperado>roll your own session based solution like others have or connect to acctmgr api for the web login form??
[00:20:26.244071]<macmaN>"plugin"
[00:20:48.426177]<macmaN>"roll your own" = "write plugin"
[00:21:06.649108]<idesperado>so...I have to write my own plugin, right?
[00:22:12.639881]<idesperado>well...if write a plugin means I have to know much about trac...I'm afraid I have not that time...
[00:22:26.039041]<macmaN>yes
[00:22:29.164005]<macmaN>$$$ then
[00:22:39.257402]<macmaN>code doesnt appear out of thin air
[00:24:13.787105]<idesperado>macmaN: if I have to, is there any express way?
[00:24:40.299339]<macmaN>browse trac-hacks.org and see how others have done one
[00:24:59.869366]<macmaN>i know no other express
[00:27:31.407182]<idesperado>macmaN: thank you very much then...
[00:27:35.090473]<idesperado>macmaN: :)
[00:28:16.750766]<idesperado>macmaN: I'm just learning python and newly come to this web programming...so much to learn..huh?
[00:36:33.354817]<macmaN>yeah its gonna take a bit if youre new to everything
[00:36:38.361519]<macmaN>but py is fun fun fun
[00:41:43.414557]<idesperado>macmaN: I'm going to read the account_manager_plugin now
[00:41:45.529832]<idesperado>:)
[00:43:13.666418]<evil_twin>t.e.o: Ticket #1132 (Use Subversion (or the source repository) for Trac's data as well) updated - <http://trac.edgewall.org/ticket/1132#comment:63> - rblank
[00:45:40.445397]<idesperado>macmaN: one other question...trac has already an auth system...If I install account_manager_plugin...where to decide which to use?
[00:46:38.139177]<idesperado>macmaN: and now I got account_manager_plugin installed...but can't find the place to register a new user...
[00:47:07.310387]<kirean>idesperado: did you read: http://trac-hacks.org/wiki/AccountManagerPlugin
[00:47:30.262272]<idesperado>kirean: of course
[00:47:51.038572]<kirean>idesperado: http://trac-hacks.org/wiki/AccountManagerPlugin#RegistrationModule
[00:48:24.928132]<idesperado>kirean: you mean to configure trac.ini file?
[00:49:41.420736]<dnedelchev1>idesperado: did you set the passwd store?
[00:50:02.318495]<kirean>idesperado: did you enable the RegistrationModule?
[00:54:19.124945]<iDesperado>kirean: sorry to lost your words
[00:54:32.705447]<iDesperado>I got off right now
[00:54:52.660567]<iDesperado>kirean: I got the a line "acct_mgr.web_ui.registrationmodule = enabled" in my trac.ini
[00:55:10.386426]<iDesperado>kirean: still there?
[00:56:32.920509]<iDesperado>hello...
[00:56:37.099519]<iDesperado>kirean:
[00:57:07.411305]<kirean>iDesperado: acct_mgr.web_ui.RegistrationModule = enabled
[00:57:12.044071]<kirean>note case..
[00:57:45.583457]<iDesperado>kirean: this is configured from web-admin
[00:58:02.158532]<iDesperado>kirean: not my manually scripted...
[01:03:17.350377]<evil_twin>t.e.o: Ticket #1132 (Use Subversion (or the source repository) for Trac's data as well) updated - <http://trac.edgewall.org/ticket/1132#comment:64> - cboos
[01:15:28.218932]<dnedelchev1>kirean,iDesperado: in my trac.ini files (0.12) I also see all-lowercase settings. there are few exceptions - some "True" and "False" values while lowercase "true" and "false" are predominant
[01:18:37.295989]<osimons>correct, config parser is case-insensitive for options (but not for values and section names). so acct_mgr.* = ... and ACCT_MGR.* = ... is the same.
[01:19:28.275908]<iDesperado>dnedelchev1: wow..
[01:19:51.439830]<iDesperado>I spent some time to modify those letters...to captialize them
[01:20:21.591520]<osimons>heh. no need - all lowercase usually makes things more readable
[01:21:27.028440]<osimons>the .ini format and its parser is based on the ancient Windows .ini files. Microsoft has always had a very "forgiving" approach to case-sensitivity...
[01:21:31.893014]<iDesperado>I'm afraid less readable...
[01:21:50.701719]<osimons>idesperado: taste. you do what you want :-)
[01:21:57.833642]<iDesperado>:0
[01:21:59.177700]<iDesperado>:)
[01:26:43.522100]<iDesperado>osimons: do you know about account_manager_plugin?
[01:27:07.690660]<osimons>idesperado: nope. don't use it.
[01:27:10.563163]<iDesperado>osimons: I just don't want it to use a digest file to store my password
[01:27:45.448849]<osimons>isn't there some digest store for it then? others will know. sorry i can't be of use there.
[01:27:57.537358]<iDesperado>osimons: so you use trac.web.auth.LoginModuel?
[01:28:04.966358]<iDesperado>ok
[02:51:07.554661]<dnedelchev1>iDesperado: you may want to have the following lines in the trac.ini - [account-manager] section (these 3 should be enough, you may try deleting of there are any others) :
[02:51:07.580291]<dnedelchev1>hash_method = HtPasswdHashMethod
[02:51:07.761124]<dnedelchev1>password_file = /path-to/your-htpassword-file
[02:51:07.789293]<dnedelchev1>password_store = HtPasswdStore
[02:53:36.851352]<evil_twin>t.e.o: Ticket #2463 (Mandatory fields in tickets) updated - <http://trac.edgewall.org/ticket/2463#comment:14> - lkraav <leho@…>
[03:09:26.908493]<dnedelchev1>idesperado: you may see here an example extracted from my local test environment
[03:09:27.078430]<dnedelchev1>http://paste.lisp.org/+2GF2
[03:28:43.675480]<evil_twin>t.e.o: Ticket #9620 (TitleIndex is not able to handle numbers / digits) updated - <http://trac.edgewall.org/ticket/9620#comment:2> - Daniel Andersson <daniel@…>
[03:38:45.855746]<evil_twin>t.e.o: Ticket #9623 (PostgreSQL authentication error throws cryptic exception) updated - <http://trac.edgewall.org/ticket/9623#comment:2> - cboos
[04:16:14.420984]<sacho>Has anyone had an issue with chrome where if they leave trac ticket view tabs open, when they reload chrome, they cannot submit any changes(Missing or invalid form token error) - it seems that chrome caches the page when you close/reload and as such caches the csrf token, but I'm not 100% this is the case
[04:17:54.423347]<sacho>(Or how to change this caching behavior, chrome's options are confusing)
[04:21:14.337612]<sacho>on trac 0.12. Is it a possible problem with the cache controls? firefox doesn't exhibit such behavior though
[04:36:44.580895]<osimons>doki_pen: you around? got a genshi new vs old text template question, and figured you may have handles this somehow with announcer
[04:39:26.585060]<osimons>sacho: it is likely an effect of your cookie being deleted or expired somehow
[04:42:54.788286]<thm>pacopablo: is the irclogs plugin under active development still?
[04:43:10.828428]<thm>oh, maybe I need to ask doki_pen
[04:53:58.629779]<evil_twin>t.e.o: Ticket #7728 (Realm URL resolve function needed Trac Plugins) updated - <http://trac.edgewall.org/ticket/7728#comment:5> - Martin Scharrer <martin@…>
[06:29:48.175979]<DimeDroll>hi ladies and gentelmen
[06:30:13.841144]<DimeDroll>does anybody know, how i can setup trac standalone server behins apache ssl virtual host?
[06:30:29.138000]<DimeDroll>*behind
[06:49:21.940761]<doki_pen>DimeDroll: hint: use proxypass
[06:50:42.835409]<DimeDroll>somehow, when i place right entries in the virtualhost location, it just don't take effect
[06:55:57.250812]<DimeDroll>nevermind, i found the way it works
[06:56:04.189441]<DimeDroll>thank you doki_pen
[07:04:05.653361]<doki_pen>DimeDroll: no prob
[07:04:18.193715]<doki_pen>osimons: what's that?
[07:09:07.300311]<osimons>doki_pen: never mind. resolved text template compat for bitten to keep one version for both 0.11 and 0.12 install: http://bitten.edgewall.org/changeset/902/trunk
[07:09:50.508126]<osimons>we really should have made some transition code for this in Trac - the on/off switch of text syntax is not ideal
[07:24:23.657911]<evil_twin>t.e.o: Changeset [10110]: l10n/es_AR: translations updated (100%) - <http://trac.edgewall.org/changeset/10110> - rmorales
[07:39:27.416932]<evil_twin>t.e.o: Ticket #886 (Add support for Master tickets) updated - <http://trac.edgewall.org/ticket/886#comment:130> - jim.callahan.hsqe@…
[09:06:04.234309]<macmaN>doki_pen: you are irclogplugin maintainer?
[09:07:38.442760]*shesek loves Trac
[09:07:44.546166]<shesek>Thanks for #9574 :-)
[09:24:36.210903]<doki_pen>macmaN: yes, are you using it?
[09:26:24.183242]<jonrafkind>Hi, I'm trying to use TracQuery and I want to limit the results to 5 but I can't figure out the right syntax. I've tried 'limit=5' and 'max=5'
[09:32:18.964118]<doki_pen>jonrafkind: :S should be sqlite, I think. But I'm not to familiar with it
[09:33:01.038734]<doki_pen>jonrafkind: limit 5?
[09:33:21.404442]<jonrafkind>Query filter requires field and constraints separated by a "="
[09:34:00.052575]<jonrafkind>also I have trac 0.10.4 and only & seems to work as a field separator, but the documentation suggests using `,'
[09:38:20.701245]<shesek>jonrafkind, it is 'max', maybe its not supported by 0.10?
[09:38:28.875839]<jonrafkind>i guess not
[09:38:58.580315]<shesek>jonrafkind, '&' is used for the query language, ',' is for separating between different parts of the query
[09:39:17.762460]<jonrafkind>there is no documentation on which is which
[09:40:38.283635]<jonrafkind>it would be nice if http://trac.edgewall.org/wiki/TracQuery listed all valid fields and parts of the query you could do
[09:45:54.833339]<jonrafkind>ugh, the custom query generator doesnt really work. i try changing the fields to display but it just keeps showing the old fields
[09:49:38.044675]<thm>doki_pen: I am using the irclogsplugin, btw, and I like it.
[09:49:52.649789]<evil_twin>t.e.o: Ticket #616 (escape character in the wiki) updated - <http://trac.edgewall.org/ticket/616#comment:19> - TFryar
[09:59:51.902956]<evil_twin>t.e.o: Ticket #616 (escape character in the wiki) updated - <http://trac.edgewall.org/ticket/616#comment:20> - cboos
[10:14:54.821323]<evil_twin>t.e.o: Ticket #9574 (add filters to TicketQuery from query string arguments) updated - <http://trac.edgewall.org/ticket/9574#comment:5> - shesek
[10:41:09.804883]<doki_pen>thm: sweet
[10:41:19.106880]<doki_pen>thm: it's in bad need of a rewrite of the templates
[10:41:31.647705]<doki_pen>thm: but if it's private, low-traffic irc then it's pretty solid
[11:19:53.296559]<DimeDroll>is there anyway how i can run trac standalone web-server from other then root user?
[11:20:28.183841]<cmc>don't use port 80
[11:21:12.796311]<cmc> $ tracd -p 8080 /path/to/project runs on port 8080
[11:21:27.820179]<DimeDroll>as far as i know, there is an option in the apache config:
[11:21:27.973608]<DimeDroll>User svn
[11:21:27.999302]<DimeDroll>Group svn
[11:21:28.020293]<DimeDroll>that allows apache to start child process from this user and group, is there any way to do something similar with trac?
[11:21:45.253143]<DimeDroll>cmc, thank you, but im already use 8080 port to start tracd
[11:22:06.212157]<cmc>then tracd shouldn't be running as root
[11:22:40.850415]<cmc>rather, there's no need for it to be running as root. you can start it as root if you'd like
[11:23:06.435422]<DimeDroll>i need it to start from user "svn" - the same user as apache starts from.
[11:23:38.196699]<cmc>you'll need to be the svn user when you run it
[11:24:18.792286]<cmc>I thought apache could define which ports it listens to? if so, why not run trac through apache still on port 8080?
[11:25:37.412181]<DimeDroll>"(09:23:37 PM) cmc: you'll need to be the svn user when you run it"
[11:25:37.594821]<DimeDroll>got it, thank you.
[11:25:58.953924]<cmc>np
[12:15:16.434601]<evil_twin>t.e.o: Ticket #9624 (Project-specific ticket prefixes and numbering) created - <http://trac.edgewall.org/ticket/9624> - nslowes@…
[12:49:30.152606]<ahri>i'm using genshi.builder's tag to create a <div>, how can i add an <h2> and then some text after the </h2> to this?
[12:52:00.657822]<osimons>ahri: tag.div(tag.h2("header"), tag.p("body"))
[12:53:16.200421]<osimons>tag takes arbitrary number of inputs - args like examples above are child elements, while kwargs like id="one" are attributes to the surrounding element
[12:54:14.631447]<osimons>tag.div(tag.h2("header"), tag.p("body"), id="one") ... => ... <div id="one"><h2>header</h2><p>body</p></div>
[12:54:49.049529]<ahri>oh ok, that's neat
[12:55:14.430528]<osimons>ahri: recommend you just start a python interpreter, do "from genshi.builder import tag" and then play around with doing print() on various tag() constructs
[12:56:24.404564]<osimons>(print to serialize element for easy visualization)
[12:56:52.342732]<pickscrape>Hi, has anyone ever come across this before when attempting to upgrade from 0.11 to 0.12: ProgrammingError: relation "node_change_pk" already exists
[12:57:03.405305]<pickscrape>This is on a postgres 8.3 database
[12:57:58.645572]<osimons>pickscrape: http://trac.edgewall.org/search?q=node_change_pk
[13:04:45.462261]<pickscrape>osimons: nothing there is particularly jumping out: they all seem to refer to resync, while I'm doing upgrade (unless upgrade does a resync internally)
[13:07:18.246627]<osimons>pickscrape: could you look in the system table and see what trac_version value is stored there?
[13:11:13.021006]<osimons>pickscrape: also, could you install Trac 0.12 from latest revision in 0.12-stable branch? a number of fixes has been added for the upcoming 0.12.1 release, and db & upgrades has been some of the most frequent issues.
[13:27:51.324489]<pickscrape>osimons: database_version 22. trac_version isn't present.
[13:28:26.186344]<pickscrape>I'll have a look at using a more recent version from the 0.12 branch: currently I'm running the gentoo version
[13:29:52.551322]<osimons>pickscrape: didn't remember the name of the variable - database_version is the interesting one. so have a read through the upgrade scripts > 22 and see if anything spings to mind: http://trac.edgewall.org/browser/branches/0.12-stable/trac/upgrades
[13:30:08.618797]<pickscrape>osimons: thanks for your help!
[13:34:34.018355]<pickscrape>osimons: I've figured it out: at some point in the past we recreated our node_change table, renaming the old one away, but that index name remained tied to the old table. Dropping the old table solved the problem.
[13:35:13.176025]<osimons>pickscrape: goodie.
[13:50:34.035745]<evil_twin>t.e.o: Ticket #9624 (Project-specific ticket prefixes and numbering) updated - <http://trac.edgewall.org/ticket/9624#comment:1> - cboos
[13:55:35.005492]<evil_twin>t.e.o: Ticket #9624 (Project-specific ticket prefixes and numbering) updated - <http://trac.edgewall.org/ticket/9624#comment:2> - anonymous
[18:16:15.345691]<evil_twin>t.e.o: Ticket #9624 (Project-specific ticket prefixes and numbering) updated - <http://trac.edgewall.org/ticket/9624#comment:2> - nslowes@…
[22:31:59.201816]<evil_twin>t.e.o: Ticket #9624 (Project-specific ticket prefixes and numbering) updated - <http://trac.edgewall.org/ticket/9624#comment:3> - cboos