Team Chat Logs

July 2, 2010

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

[00:36:38.295329]<evil_twin>t.e.o: SubversionRepository edited - <http://trac.edgewall.org/wiki/SubversionRepository?version=10> - cboos
[00:36:43.295173]<evil_twin>t.e.o: Ticket #7339 ([Patch] Display full user names instead of user login) updated - <http://trac.edgewall.org/ticket/7339#comment:18> - cboos
[00:41:38.301237]<evil_twin>t.e.o: Ticket #9235 (Maintain git mirror (on GitHub?)) updated - <http://trac.edgewall.org/ticket/9235#comment:8> - cboos
[00:46:38.314461]<evil_twin>t.e.o: BitBucket edited - <http://trac.edgewall.org/wiki/BitBucket?version=2> - cboos
[01:01:41.227605]<evil_twin>t.e.o: Ticket #9235 (Maintain git mirror (on GitHub?)) updated - <http://trac.edgewall.org/ticket/9235#comment:9> - osimons
[01:26:46.083364]<evil_twin>t.e.o: Ticket #9235 (Maintain git mirror (on GitHub?)) reopened - <http://trac.edgewall.org/ticket/9235#comment:10> - cboos
[01:26:51.083423]<evil_twin>t.e.o: Ticket #9235 (Maintain git mirror (on GitHub?)) updated - <http://trac.edgewall.org/ticket/9235#comment:10> - rblank
[02:37:16.076143]<evil_twin>t.e.o: GitHub created - <http://trac.edgewall.org/wiki/GitHub?version=1> - cboos
[04:17:17.451259]<evil_twin>t.e.o: Ticket #886 (Add support for Master tickets) updated - <http://trac.edgewall.org/ticket/886#comment:124> - anonymous
[04:21:44.032202]<hekevintran>how do i use textile in the trac wiki?
[05:02:26.146107]<evil_twin>t.e.o: Ticket #9478 (Concurrent ticket modifications is still possible) created - <http://trac.edgewall.org/ticket/9478> - cboos
[05:07:27.114877]<evil_twin>t.e.o: Ticket #9479 (OperationalError: database is locked) created - <http://trac.edgewall.org/ticket/9479> - hnguyen
[05:32:31.966758]<evil_twin>t.e.o: Ticket #9479 (OperationalError: database is locked) updated - <http://trac.edgewall.org/ticket/9479#comment:1> - cboos
[06:45:10.793935]<caution>how do I list users from the trac web interface?
[07:32:53.680185]<evil_twin>t.e.o: Ticket #9477 (CommitTicketReferenceMacro is broken, causes AttributeError: 'NoneType' ...) updated - <http://trac.edgewall.org/ticket/9477#comment:5> - sphe@…
[09:03:07.190091]<evil_twin>t.e.o: Ticket #9478 (Concurrent ticket modifications is still possible) updated - <http://trac.edgewall.org/ticket/9478#comment:1> - rblank
[09:48:14.115321]<evil_twin>t.e.o: TracEnvironment edited - <http://trac.edgewall.org/wiki/TracEnvironment?version=43> - anonymous
[11:35:09.721469]<Netinstx>hi
[11:35:24.363643]<Netinstx> do you know how can i hide the timeline browse etc trac element menu, and show only for logged users?? please
[11:36:47.466495]<Netinstx>I exevute with tracallone server and I use the basic authentication, but i want hide timeline, etc for non logged users
[11:37:36.583056]<Netinstx>anybody reads me?
[12:18:52.055944]<retracile>Netinstx: remove permissions from the 'anonymous' user, and give them to the 'authenticated' user.
[12:42:38.138501]<Alver>I wish trac would make a distinction between groups and users. Would make it a tad cleaner. :)
[12:54:42.644462]<hasienda>osimons: ping
[12:54:57.229366]<osimons>hasienda: pong
[12:56:34.185380]<hasienda>hey, wonder if you could have a look at http://trac-hacks.org/browser/wikiticketcalendarmacro/trunk/wikiticketcalendar/macro.py after I did quite some work to account for your critics about improper markup creation?
[12:57:01.682593]<hasienda>osimons: ^^ as time permits, of corse
[12:58:10.211577]<hasienda>osimons: it looks a lot more complicated to me now, but this is best I could do by now.
[13:00:28.813122]<osimons>hasienda: was it 500 lines of code last time i looked?
[13:00:52.180375]<hasienda>osimons: no, as I set, some additions - ah well, the differences are viewed best like this: http://trac-hacks.org/changeset?new=wikiticketcalendarmacro%2Ftrunk%2Fwikiticketcalendar%2Fmacro.py%408201&old=wikiticketcalendarmacro%2Ftrunk%2Fwikiticketcalendar%2Fmacro.py%408113
[13:01:40.401370]<hasienda>s/set/said
[13:01:40.413098]<evil_twin>hasienda meant: osimons: no, as I said, some additions - ah well, the differences are viewed best like this: http://trac-hacks.org/changeset?new=wikiticketcalendarmacro%2Ftrunk%2Fwikiticketcalendar%2Fmacro.py%408201&old=wikiticketcalendarmacro%2Ftrunk%2Fwikiticketcalendar%2Fmacro.py%408113
[13:03:06.468718]<hasienda>osimons: markup related changes are at the bottom of that diff
[13:04:40.581018]<hasienda>osimons: you may safely disregard the i18n related lines at the beginning as well as regex for new tooltip with pure CSS style in the middle
[13:05:26.287968]<osimons>hasienda: browsed through it. looks better - and safer. however, i'm not sure why you serialise as much as you do. the code buff.append(to_unicode(ticket)) does not need to be converted to string and then added.
[13:06:25.291328]<osimons>ie. you can do buf = [], and then just buf.append(tag.a(href="")) the various elements. all will get serialsed on output later anyway
[13:07:19.066740]<osimons>so you can build a list of elements and a list of lists containing elements, and it will all be serialised when needed
[13:09:20.967347]<hasienda>osimons: I see, and again your reasoning sounds perfecly valid. I simply did not question this (part of old concept), but will try to make it cleaner too as you pointed me at it. Thank you very much.
[13:10:04.390642]<osimons>in old days you could only return strings. now you can return tag() / genshi elements directly as well
[13:11:24.236506]<osimons>hasienda: look at http://trac.edgewall.org/browser/trunk/trac/wiki/macros.py - only places where to_unicode is used is to make sure some input is converted. other than that all macros should return a tag() something directly.
[13:13:47.216755]<hasienda>osimons: as you mention "old days", does you count 0.11 as old or new? I will definitely wish to backport most of the security-related code changes to 0.11 branch later.
[13:13:57.579600]<osimons>pre 0.11
[13:15:04.778305]<hasienda>Ok, so I don't need to reinvent. Nice. :-)
[13:15:38.162682]<osimons>you'll likely need to reorganize some parts of the buf.append(string) stuff when moving to buf.append(element) as you can't quite use the same "shortcuts".
[13:17:03.542704]<osimons>as a generic example you make make an array of tag.tr() elements containing each row you create. then after you have this array of rows, you add them into a tag.table() and put that into the buf.
[13:17:49.797310]<osimons>(just an example that you often build the markup from "inside-out", whereas for a stringbuf you build it character-by-character)
[13:18:53.441392]<hasienda>osimons: right, didn't touch most of the safe looking HTML creation parts, will even need two tables, but I see the overall concept now (at least I hope so, i.e. recognized the inside-out thing allready on my own). Thanks anyway.
[13:19:18.478380]<osimons>that is why you often see the macros.py code do the logic collecting the main informtion, and then using return tag() stuff that just wrap the main content in its designated placeholder <div> and so on.
[13:23:29.802908]<osimons>hasienda: also, you should not call BoolOption() and register the option that the wiki module has already registered. all you need to do is read its value, so that all you should do is something like of self.config.getbool('wiki', 'render_unsafe_content', False)
[13:29:58.287973]<osimons>and one more hint, trac.util.datefmt has various format_date()/datetime() functions that you can use. as you see the usually use %x and %X so that the system locale will decide how it looks
[13:30:23.428843]<osimons>hasienda: ^^ last one for now. got other things i need to do. ping if you have questions.
[13:48:56.150991]<evil_twin>t.e.o: Ticket #7044 (RSS feed on Sourcechanges) updated - <http://trac.edgewall.org/ticket/7044#comment:2> - rblank
[13:53:57.123811]<evil_twin>t.e.o: Ticket #7067 (ManpageRender for mimeview) updated - <http://trac.edgewall.org/ticket/7067#comment:8> - rblank
[14:03:59.092537]<evil_twin>t.e.o: Ticket #7142 (Set pkg_resources extraction path manually) updated - <http://trac.edgewall.org/ticket/7142#comment:1> - rblank
[14:04:04.091583]<evil_twin>t.e.o: Ticket #7197 (ticket type change not shown in preview) updated - <http://trac.edgewall.org/ticket/7197#comment:6> - rblank
[14:09:00.034725]<evil_twin>t.e.o: Ticket #7208 (EnvironmentStub missing config data for sqlite::memory:) updated - <http://trac.edgewall.org/ticket/7208#comment:3> - rblank
[14:14:00.997728]<evil_twin>t.e.o: Ticket #7208 (EnvironmentStub missing config data for sqlite::memory:) updated - <http://trac.edgewall.org/ticket/7208#comment:4> - cboos
[14:19:15.979361]<evil_twin>t.e.o: Ticket #7228 (Download file as default action of browser) updated - <http://trac.edgewall.org/ticket/7228#comment:8> - rblank
[14:19:20.978929]<evil_twin>t.e.o: Ticket #7290 (restrict_owner_force Option to populate user list) updated - <http://trac.edgewall.org/ticket/7290#comment:6> - rblank
[14:24:01.991716]<evil_twin>t.e.o: Ticket #7313 (Search help output provided by macros) updated - <http://trac.edgewall.org/ticket/7313#comment:8> - rblank
[14:29:02.952920]<evil_twin>t.e.o: Ticket #7371 (Use authentication variables populated by Apache) updated - <http://trac.edgewall.org/ticket/7371#comment:3> - rblank
[14:39:04.895398]<evil_twin>t.e.o: Ticket #7488 (Regarding Encrypted/Signed Outbound Notifications) closed - <http://trac.edgewall.org/ticket/7488#comment:3> - rblank
[14:54:06.897623]<evil_twin>t.e.o: Ticket #7529 (More extension points for reports) updated - <http://trac.edgewall.org/ticket/7529#comment:2> - rblank
[14:54:11.897032]<evil_twin>t.e.o: Ticket #7550 (trac-admin initenv should prompt for an email address (so that new tickets ...) updated - <http://trac.edgewall.org/ticket/7550#comment:7> - rblank
[14:54:16.897919]<evil_twin>t.e.o: Ticket #7488 (Regarding Encrypted/Signed Outbound Notifications) updated - <http://trac.edgewall.org/ticket/7488#comment:4> - hasienda <hoff.st@…>
[15:09:15.255292]<evil_twin>t.e.o: SeaChange/WhatUsersWant edited - <http://trac.edgewall.org/wiki/SeaChange/WhatUsersWant?version=132> - Petr Vorel <pevik@…>