2008-07-09T06:37:32  <xorAxAx> dennda: "[[javascript:void(0);/*1215548682656*/|Ubuntu Conference]]i" -- huh?
2008-07-09T07:21:40  <ThomasWaldmann> moin
2008-07-09T08:30:15  <dennda> xorAxAx: I used the gui editor to make that a link to ubucon.de -- dunno what messed that up
2008-07-09T09:57:32  <johill> xorAxAx: known bug in gui editor
2008-07-09T10:06:00  <ThomasWaldmann> johill: is there a bug report?
2008-07-09T10:06:22  <johill> yes
2008-07-09T10:07:19  <johill> MoinMoinBugs/GUIEditorInsertsInvalidLinkInFirefox3
2008-07-09T10:07:36  <ThomasWaldmann> ok
2008-07-09T10:07:38  <johill> ok so maybe it's a FF3 bug
2008-07-09T10:10:29  <ThomasWaldmann> moon could check whether it is fixed in his branch
2008-07-09T10:19:38  <ThomasWaldmann> zenhase: 5 days no commits, what's up?
2008-07-09T10:22:02  <ThomasWaldmann> mitsuhiko:
2008-07-09T10:53:52  <ThomasWaldmann> mmihaljevic: please rewrite your wikipage group tests
2008-07-09T10:54:12  <mmihaljevic> ThomasWaldmann: I'm revriting it now
2008-07-09T10:54:28  <mmihaljevic> and moin
2008-07-09T10:55:10  <ThomasWaldmann> good :)
2008-07-09T12:02:20  <mmihaljevic> ThomasWaldmann: I have a question about the second wikipage group test
2008-07-09T12:03:32  <mmihaljevic> In the first version I defined acl rights separately, do I need while creating page to define in page body acl rights or I can give them later like before
2008-07-09T12:03:39  <mmihaljevic> or anybody
2008-07-09T12:28:04  <mmihaljevic> ping dreimark1
2008-07-09T12:37:25  <waldi> hmm, I need the complete pagename ...
2008-07-09T12:38:07  <waldi> for the macros
2008-07-09T12:45:44  <dennda> (I used FF3 to create that page)
2008-07-09T12:47:47  <dreimark1> moin
2008-07-09T12:48:05  * dreimark1 has some keyboard problems currently
2008-07-09T12:48:35  <dreimark1> mmihaljevic: you need to check for a memeber on your  grouppage
2008-07-09T12:49:11  <mmihaljevic> dreimark1: I did that for the first test
2008-07-09T12:49:38  <mmihaljevic> will send u paste bin of both tests probably this could help to see where I got the problem
2008-07-09T12:49:39  <dreimark1> and you can use the allow = acl.may(self.request, name, dowhat)
2008-07-09T12:50:09  <dreimark1> to check if the member is on the group page
2008-07-09T12:50:31  <dreimark1> and for a member which is not on the page
2008-07-09T12:50:37  <mmihaljevic> ah you mean I defined * ExampleMember
2008-07-09T12:50:58  <dreimark1> and afterwards you have added it again if he is now
2008-07-09T12:51:19  <mmihaljevic> and check if the member is on the page like acl.may(self.request, u'ExampleUser', 'read') for example?
2008-07-09T12:51:47  <dreimark1> yes
2008-07-09T12:51:58  <mmihaljevic> http://paste.pocoo.org/show/78965/ this is wat I've done for the first test
2008-07-09T12:52:36  <mmihaljevic> and to do something like this to the second and not to add any acl_rights = [] like I did before
2008-07-09T12:55:33  <dreimark1> what's the reason to call copypage?
2008-07-09T12:56:37  <dreimark1> we have to give a open session about mercurial
2008-07-09T12:56:38  <mmihaljevic> urgh, my mistake, I didn't have to do that I just needed to create page
2008-07-09T12:56:50  <mmihaljevic> :) ok
2008-07-09T12:58:21  <mmihaljevic> gl
2008-07-09T13:00:06  <dennda> 13:00 :)
2008-07-09T13:01:20  <mmihaljevic> :))
2008-07-09T13:01:24  <mmihaljevic> dennda: ;)
2008-07-09T13:01:51  <johill> nobody around?
2008-07-09T13:02:42  <mmihaljevic> seems no
2008-07-09T13:07:13  <dreimark1> and for a member which is not on th
2008-07-09T13:07:30  <johill> anyone still want to report anything?
2008-07-09T13:07:49  <johill> dennda: how's your bring-up going? seems you didn't commit everything since I tried and it failed badly :)
2008-07-09T13:08:00  <dreimark1> 
2008-07-09T13:08:03  <mmihaljevic> th?
2008-07-09T13:08:55  <dennda> johill: yeah I have been a bit busy with learning for the exams tomorrow, on friday and on monday, sorry!
2008-07-09T13:09:01  <johill> no worries
2008-07-09T13:09:04  <dennda> Promise to dedicate my time to moin after that :)
2008-07-09T13:09:10  <mmihaljevic> dennda: good luck with exams
2008-07-09T13:09:13  <dennda> thanks
2008-07-09T13:09:18  <dreimark1> mmihaljevic: don't mix several different test ideas in one test
2008-07-09T13:09:54  <mmihaljevic> dreimark1: hm.. ok
2008-07-09T13:10:05  <dennda> By the way, for those of you who didn't subscribe to that page: I created a document for the potential meeting at ubucon. If you can manage that, please add yourself to the list at http://moinmo.in/MoinInternationalConference :)
2008-07-09T13:10:22  <mmihaljevic> dreimark1: but the first test only check if the group methods are working
2008-07-09T13:10:37  <mmihaljevic> and the second check if it works woth acls
2008-07-09T13:10:39  <mmihaljevic> with
2008-07-09T13:11:00  <mmihaljevic> or have I did something wrong?
2008-07-09T13:11:02  <mmihaljevic> dreimark1:
2008-07-09T13:11:17  * dennda writes a reminder to do the survey
2008-07-09T13:11:25  <dennda> johill: did you already fill yours out? :)
2008-07-09T13:11:35  <johill> google? yeah
2008-07-09T13:11:56  <johill> I can still change it ;)
2008-07-09T13:12:02  <dennda> wonder what you wrote :P
2008-07-09T13:13:17  <dreimark1> mmihaljevic: and why  is there a caching test Afterwards
2008-07-09T13:14:03  <dennda> johill: Change it for the better or worse? :)
2008-07-09T13:14:16  <mmihaljevic> dreimark1: ok that wasn't smart I just wanted to see if it cached and I think I can remove it because it is not needed
2008-07-09T13:14:22  <johill> oh probably either way :P
2008-07-09T13:14:26  * dreimark1 recognized lower(A) is cAusing the problem with the keyboard
2008-07-09T13:14:33  <dennda> good answer
2008-07-09T13:14:53  <mmihaljevic> dreimark1: urgh, what's wrong with the keyboard?
2008-07-09T13:15:19  <dennda> johill: If you write my exams I can give you a flawless survey in return :)
2008-07-09T13:15:44  <johill> heh
2008-07-09T13:15:45  <dreimark1> mmihaljevic: mAke another test of it
2008-07-09T13:15:47  <johill> what exams? ;)
2008-07-09T13:16:00  <dennda> stochastics, theoretical computer science and programming
2008-07-09T13:16:11  <mmihaljevic> dreimark1: ok
2008-07-09T13:16:52  <dennda> in that order
2008-07-09T13:17:33  <johill> don't think you want me to write any of those, while in theory I know all of that, I probably forgot most :)
2008-07-09T13:17:43  <mmihaljevic> dreimark1: programming? in C ? do you write programs on paper? that's how we had our programming exam
2008-07-09T13:18:14  <dennda> It's not about writing programs, it's more about the concepts
2008-07-09T13:18:28  <dreimark1> mm
2008-07-09T13:18:38  <dennda> X/O/R-mapping, RMI, Concurrency...
2008-07-09T13:19:23  <dennda> mmihaljevic: http://www.uni-koblenz.de/~laemmel/programming/
2008-07-09T13:19:35  <dennda> Oh, tomorrow is # 10 July 2008: Hardcore Haskell for SL Engineers
2008-07-09T13:19:40  <dennda> I'll miss that, though ;)
2008-07-09T13:20:01  <mmihaljevic> wow sounds really cool
2008-07-09T13:21:27  <dreimark1> mmihaljevic: do you have hAd similiAr exAms?
2008-07-09T13:22:46  <mmihaljevic> dreimark1: I had program paradigms but we did mostly progrmming in c#, but on programming course we did only C programming, only theoretical courses were about pipelines or operating systems, but we don't have something like this
2008-07-09T13:23:00  <mmihaljevic> and also our courses are pretty out of date
2008-07-09T13:24:10  <mmihaljevic> but only one that was really good this year was computer networks (literature was Tanenbaum)
2008-07-09T13:30:52  <mmihaljevic> dreimark1: and for caching first I need to check that a cache doesn't exist and than that it exists after calling group = group_manager[<pagegroup>]
2008-07-09T13:30:54  <mmihaljevic> ?
2008-07-09T13:31:14  <mmihaljevic> I need to clear cache before checking or?
2008-07-09T13:35:22  <dreimark1> why ?
2008-07-09T13:35:46  <dreimark1> when will be the cache updated?
2008-07-09T13:36:45  <mmihaljevic> ah my problem it will be updated when a page is changed
2008-07-09T13:37:40  <dreimark1> :)
2008-07-09T13:38:00  <mmihaljevic> dreimark1: also I have a bit problem
2008-07-09T13:38:26  <dreimark1> a bit is 0 or 1 or something differebt?
2008-07-09T13:38:46  <mmihaljevic> when I do page.copy something and than I add to a copied page it ads new member
2008-07-09T13:39:34  <mmihaljevic> and when I just create a page and I add a new member to it it doesn't do it
2008-07-09T13:40:42  <mmihaljevic> maybe I have some tipfellers
2008-07-09T13:41:24  <byegonweon> I'm sorry for late.
2008-07-09T13:41:24  <mmihaljevic> dreimark1: and for bit - it can have walues different than 0 and 1 if you mean on it?
2008-07-09T13:41:43  <mmihaljevic> byegonweon: you are not late
2008-07-09T13:43:02  <dreimark1> mmihaljevic: look At testAppendingGroupPage
2008-07-09T13:43:17  <mmihaljevic> dreimark1: yes I'm looking at it
2008-07-09T13:43:37  <dreimark1> byegonweon: sorry ThomasWaldmann TheSheep_ and me we are at europython
2008-07-09T13:44:10  <dreimark1> and xorAxAx is travelling to the google ghopc summit currently
2008-07-09T13:44:37  <dreimark1> mmihaljevic: you do use the append...  method?
2008-07-09T13:44:45  <mmihaljevic> yes
2008-07-09T13:44:48  <byegonweon> dreimark1: ok. :)
2008-07-09T13:45:49  <dreimark1> mmihaljevic: then you have a test which shows that your code is not ready to use
2008-07-09T13:45:54  <mmihaljevic> page = append_page(request, u'SomeGroup', u" * AnotherUser") and that workes on copy of a page
2008-07-09T13:46:10  <mmihaljevic> dreimark1: coild be... will check it
2008-07-09T13:46:47  <dreimark1> mmihaljevic: there it does only work because it is a new page and it has no cache which  needs to be updated I Assume
2008-07-09T13:47:06  <mmihaljevic> dreimark1: yes but I update it later
2008-07-09T13:47:09  <mmihaljevic> and it updates ok
2008-07-09T13:47:12  <mmihaljevic> I think
2008-07-09T13:47:16  <mmihaljevic> we'll see
2008-07-09T13:47:38  <dreimark1> don't use copypage in your test this is a separate different test
2008-07-09T13:47:39  <mmihaljevic> or maybe there is problem with mtime checking , will trace it now
2008-07-09T13:47:49  <dreimark1> what fs ?
2008-07-09T13:47:53  <mmihaljevic> dreimark1: I'm not now,
2008-07-09T13:48:03  <mmihaljevic> dreimark1: ?
2008-07-09T13:48:21  <dreimark1> filesystem do you use
2008-07-09T13:48:34  <mmihaljevic> ext3
2008-07-09T13:49:10  <dreimark1> and the current cache system has an extremly advanced comparison which is not only based on mtime
2008-07-09T13:49:16  <dreimark1> it should work
2008-07-09T13:49:52  <mmihaljevic> dreimark1: I know but I only checked the mtime in my code
2008-07-09T13:50:55  <dreimark1> hmm, which code?
2008-07-09T13:51:21  <mmihaljevic> group_wiki
2008-07-09T13:51:24  <dreimark1> seems I missed the file
2008-07-09T13:51:27  <mmihaljevic> wait I maybe fiund an error
2008-07-09T13:51:46  <mmihaljevic> I found an error
2008-07-09T13:52:17  <mmihaljevic> ok it's better now
2008-07-09T13:52:35  <mmihaljevic> I did cache_mtime >= file_mtime
2008-07-09T13:52:53  <mmihaljevic> and it happened that I had the same mtime and that = part was wrong
2008-07-09T13:58:09  <mmihaljevic> bbl lunch
2008-07-09T14:03:04  * dreimark1 wAtches A talk About decorAtors
2008-07-09T14:13:04  <byegonweon> dreimark1: when I start to say?
2008-07-09T14:15:55  <dreimark1> byegonweon: our mistake we should have told to chnge the dAy, AnywAy if there is something which blocks you pleAse tell it
2008-07-09T14:16:56  <byegonweon> dreimark1: oh. really? hehe.
2008-07-09T14:17:51  <byegonweon> dreimark1: actually, what I do previous week are decribed here
2008-07-09T14:17:52  <byegonweon> http://moinmo.in/4ct10n/login/MoonByeongweon/SOC2008/Phase1Week6
2008-07-09T14:18:13  <dreimark1> byegonweon: After alex is in the US we have all timezones together ;)
2008-07-09T14:18:33  * dreimark1 reads
2008-07-09T14:18:43  <byegonweon> dreimark1: and there's no special thing :) that's all.
2008-07-09T14:19:15  <byegonweon> dreimark1: and then I didn't have dinner. shoul I go to dinner ok?
2008-07-09T14:22:02  <dreimark1> yeah, please  s    s
2008-07-09T14:22:02  <dreimark1> yeah, please  s    ss       s
2008-07-09T14:22:08  <ThomasWaldmann> re
2008-07-09T14:23:39  <ThomasWaldmann> sorry, this time I was busy during meeting time :)
2008-07-09T14:24:30  <ThomasWaldmann> mitsuhiko: where is your student and what is he doing?
2008-07-09T14:44:20  <ThomasWaldmann> btw, dreimark1 is having some keyboard problems, so do not wonder about his last lines
2008-07-09T14:52:18  <mmihaljevic> re
2008-07-09T14:53:30  <dreimark1> mmihaljevic: i wonder a bit why your informatic lessons aren't computer based. almost all students do have own computers or ?
2008-07-09T14:53:52  <dreimark1> and linux is cheap ;)
2008-07-09T14:53:57  <mmihaljevic> dreimark1: yes we have our computers
2008-07-09T14:53:59  <mmihaljevic> I know
2008-07-09T14:54:05  <mmihaljevic> but the programm is old
2008-07-09T14:54:13  <mmihaljevic> I'm the last generation of ols rogramm
2008-07-09T14:54:15  <mmihaljevic> old
2008-07-09T14:54:22  <mmihaljevic> programm
2008-07-09T14:55:02  <mmihaljevic> I have some programming labaratories, but some of them was on Motorola 64k for example
2008-07-09T14:55:02  <dreimark1> thats bad, what is the new program chages ?
2008-07-09T14:55:16  <mmihaljevic> the have scripting languages
2008-07-09T14:55:32  <mmihaljevic> they start learning to programm earlier
2008-07-09T14:55:55  <mmihaljevic> also the math is more computer science oriented
2008-07-09T14:56:36  <mmihaljevic> but on computer networks we used linux and we need to programm, configure routers and that was good
2008-07-09T14:57:29  <mmihaljevic> also we have security oriented subject (cryptography,...)
2008-07-09T14:58:00  <mmihaljevic> dreimark1: I have again one question about wikigroups test:)
2008-07-09T14:58:49  <mmihaljevic> in the last test (acl ), How I give the acl_rights list? through the page deffinition or?
2008-07-09T14:58:59  <dreimark1> mmihaljevic: just Ask we will hAve lightning tAlks soon, so Answering can hAve A delAy
2008-07-09T14:59:21  <mmihaljevic> dreimark1: ok
2008-07-09T14:59:45  <dreimark1> mmihaljevic: u need to use a member on the group pAge
2008-07-09T15:00:10  <dreimark1> check if he has rights before you Ad him
2008-07-09T15:00:30  <dreimark1> and check it Again after Adding him
2008-07-09T15:00:47  <mmihaljevic> ok but I need to give an acl_rghts list why I'm instancing acl object
2008-07-09T15:01:04  <mmihaljevic> acl = security.AccessControlList(request.cfg, acl_rights)
2008-07-09T15:01:15  <mmihaljevic> and It won't work if I leave that empty
2008-07-09T15:01:24  <mmihaljevic> or I understand this wrong
2008-07-09T15:15:36  <mmihaljevic> dreimark1:
2008-07-09T15:17:04  <dreimark1> you can read your testConfigBackend and make it similiar
2008-07-09T15:19:53  <dreimark1> mmihaljevic:
2008-07-09T15:20:24  <mmihaljevic> dreimark1: yes I done it like there but I needed to add acl_rights list
2008-07-09T15:21:40  * mmihaljevic looks at the acl tests
2008-07-09T15:22:23  <dreimark1> i don't see a list there
2008-07-09T15:24:23  <mmihaljevic> pardon, I mean http://paste.pocoo.org/show/78982/
2008-07-09T15:28:49  <dreimark1> this is also no list
2008-07-09T15:29:04  <dreimark1> a list has a list operator
2008-07-09T15:29:25  <dreimark1> this is a string written in two lines
2008-07-09T15:30:17  * dreimark1 has learned this trick yesterday. 
2008-07-09T15:31:06  <dreimark1> I haven't known this syntax
2008-07-09T15:31:21  <dreimark1> before
2008-07-09T15:31:31  <dreimark1> mmihaljevic:
2008-07-09T15:31:58  <mmihaljevic> ah I learned something too
2008-07-09T15:32:07  <mmihaljevic> ok now I know something
2008-07-09T15:32:18  <mmihaljevic> but I know to defined this in the wiki test?
2008-07-09T15:33:13  <dreimark1>   I need to know more about your test
2008-07-09T15:33:23  <mmihaljevic> mean the wikitest
2008-07-09T15:34:29  <mmihaljevic> http://paste.pocoo.org/show/78984/ and acl_rights is wrong I know that but don't know how to solve it
2008-07-09T15:38:40  <mmihaljevic> prpbably there are some other wrong things too, but I'll fix them
2008-07-09T15:43:57  <dreimark1> what is the username you used in the Group page?
2008-07-09T15:44:40  <dreimark1> mmihaljevic:
2008-07-09T15:45:54  <mmihaljevic> well the username I use in a group page is * ExampleUser or some defined here or you meanon that? dreimark1
2008-07-09T15:46:29  <dreimark1> ok
2008-07-09T15:48:09  <dreimark1> then you have to setup for this user some rights
2008-07-09T15:48:23  <mmihaljevic> than like this :
2008-07-09T15:48:57  <mmihaljevic> acl_rights = ["ExampleUser:read,write  "]
2008-07-09T15:49:22  <mmihaljevic> and after I add AnotherUser I need to set the rights for the AnotherUser agin?
2008-07-09T15:49:34  <dreimark1> without the trailing blank
2008-07-09T15:49:40  <mmihaljevic> yes
2008-07-09T15:49:42  <mmihaljevic> :)
2008-07-09T15:49:59  <dreimark1> then with a trailing blank
2008-07-09T15:50:17  <dreimark1> and make a new test after the first assert
2008-07-09T15:50:26  <mmihaljevic> ok
2008-07-09T15:50:28  <dreimark1> def testxxxx
2008-07-09T15:50:33  <mmihaljevic> :)
2008-07-09T15:51:53  <dreimark1> otherwise you see only the first assert if it fails andnothingof the further tests
2008-07-09T15:52:28  <mmihaljevic> yes true
2008-07-09T15:59:42  <dreimark1> TheSheep_: me got's an idea for the personal links in the theme, we can add this apple mac feature which they have to list running programs
2008-07-09T16:00:30  <dreimark1> of course we need images as snapshot of the pages
2008-07-09T16:01:06  <dreimark1> an list them if the mouse is moved over
2008-07-09T16:01:29  <dreimark1> s/an/and/
2008-07-09T16:02:18  <dreimark1> that data is collected on a users subpage
2008-07-09T16:04:28  <dreimark1> and we can also think about if we have hacl on default for homepages
2008-07-09T16:04:56  <dreimark1> so the user can decide on it's own to whom he wants to share subpages
2008-07-09T16:10:20  * dreimark1 look at potest
2008-07-09T16:16:00  <TheSheep_> dreimark1: doing page screenshots is really expensive server-side
2008-07-09T16:16:09  <TheSheep_> dreimark1: and non-trivial
2008-07-09T16:17:16  * waldi .o( use w3m ... )
2008-07-09T16:17:38  <TheSheep_> waldi: right, thats really useful
2008-07-09T16:17:47  <waldi> or lynx
2008-07-09T16:19:42  <dreimark1> hmm, it does not need to be a real snapshot, normally you identify paper pages looking on the arrangements of text and space arround it
2008-07-09T16:21:18  <TheSheep_> dreimark1: that's the hard part :)
2008-07-09T16:22:01  <dreimark1> somehow I think we need some kind of queueing system anyway to do the expensive parts at a time the wiki has low cpu usage
2008-07-09T16:22:47  <TheSheep_> nah
2008-07-09T16:23:51  <dreimark1> if we will add for multimedia staff e.g. images accessibility cached images
2008-07-09T16:24:14  <dreimark1> that may be difficult to do in time at the upload proccess
2008-07-09T16:24:44  <mmihaljevic> dreimark1: when you'll have time: request for comments please http://paste.pocoo.org/show/78985/ :) (I wil change the names, just looking for the inspiration)
2008-07-09T16:24:49  <dreimark1> those images needs to be for example gray scaled
2008-07-09T16:28:08  <mmihaljevic> brb
2008-07-09T16:32:06  <dreimark1> mmihaljevic: please use different names for the pages in the test
2008-07-09T16:33:04  <dreimark1> each test has to nuke the page you create in the tets
2008-07-09T16:38:37  <ThomasWaldmann> mitsuhiko: zenhase: ?
2008-07-09T16:40:01  <zenhase> ThomasWaldmann: here i am again
2008-07-09T16:41:08  <ThomasWaldmann> just wanted to tell that I am not amused about you missing ALL meetings we had
2008-07-09T16:41:20  <ThomasWaldmann> that's simply not acceptable
2008-07-09T16:41:39  <zenhase> uhm :(
2008-07-09T16:41:55  <ThomasWaldmann> also you obviously did not any commit in the last 5 days, why?
2008-07-09T16:42:54  <dreimark1> mmihaljevic: you need a test also that checks the user is not in the group before you have added him
2008-07-09T16:44:39  <zenhase> we had the GPN this weekend and though i wanted to work on moin, i ended up being too involved in organizing stuff there again
2008-07-09T16:45:23  <ThomasWaldmann> Mo, Tue, Wed is after weekend, right?
2008-07-09T16:45:44  <zenhase> i am sorry that i didn't tell the days before and did not say anything yesterday ... i admit that it was a big mistake by me :o
2008-07-09T16:46:02  <zenhase> well, monday was still cleaning up
2008-07-09T16:47:38  <ThomasWaldmann> ok, just try to commit more often and getting distracted less
2008-07-09T16:47:55  <zenhase> i am unto it right now
2008-07-09T16:48:00  <zenhase> fixing the last failing tests
2008-07-09T16:48:07  <zenhase> then i merge main
2008-07-09T16:48:33  <dreimark1> mmihaljevic: #blank
2008-07-09T16:48:52  <zenhase> i had a short talk with mitsuhiko on saturday
2008-07-09T16:48:56  <dreimark1> bbl
2008-07-09T16:52:58  <zenhase> plan right now is fixing the tests, then merging (and perhaps fix again), then adding some more tests and do some preliminary stress-testing
2008-07-09T16:55:48  <zenhase> regarding meetings: now what is the appointed weekly meeting time? i don't want to miss it again and humbly apologize for my absence in the past
2008-07-09T17:04:05  <dennda> zenhase: Wednesdays, 13:00 german time
2008-07-09T17:06:48  <zenhase> ok, it's now in my mobile
2008-07-09T17:07:39  <dennda> (sine tempore)
2008-07-09T17:32:39  <mmihaljevic> re
2008-07-09T17:32:46  * mmihaljevic reads dreimark1 comments
2008-07-09T17:34:06  <mmihaljevic> dreimark1: I will do that, thx for comments
2008-07-09T18:13:21  <zenhase> hmm, in earlier mercurial versions my OSX mergetool popped up when merging and encountering conflicts ... now nothing happens and some files just fail
2008-07-09T18:14:15  <zenhase> did they change anything? i remember that there was a 'hgmerge' binary back then, it doesn't seem to exist in mercurial 1.0.1
2008-07-09T18:15:10  <dennda> hg merge?
2008-07-09T18:17:07  <zenhase> yeah, it should pop up a merge tool
2008-07-09T18:17:18  <zenhase> but it just informs me of the failed merges
2008-07-09T18:17:34  <dennda> well it cannot always merge, can it?
2008-07-09T18:17:56  <zenhase> hg merge called 'hgmerge' in earlier versions of mercurial to determine if there is a merge-tool installed and use it for conflicts
2008-07-09T18:18:27  <zenhase> this does not happen anymore, it just merges everything it is able to and leaves me with a list of failed files :(
2008-07-09T18:18:58  <johill> zenhase: you can probably set some option in ~/.hgrc...
2008-07-09T18:20:22  <zenhase> ah i got it
2008-07-09T18:20:39  <zenhase> 1.0: Minor changes - sample global merge tool defaults distributed in "contrib/mergetools.hgrc"
2008-07-09T18:20:48  <zenhase> from the upgradenotes
2008-07-09T19:27:03  <mmihaljevic> dreimark1: http://paste.pocoo.org/show/79002/ please when you have time look at the update of tests, I added with blank test (if you mean on that)
2008-07-09T19:28:51  * mmihaljevic is inspecting wikidicts and caching in the midtime
2008-07-09T21:01:19  <ThomasWaldmann> re
2008-07-09T21:12:13  <ThomasWaldmann> mmihaljevic: please think about what your test tests
2008-07-09T21:13:03  <gizmach> re
2008-07-09T21:13:13  <gizmach> ThomasWaldmann: hm.. ok
2008-07-09T21:23:42  <ThomasWaldmann> e.g. that for member in group: assert member in group - what does it test?
2008-07-09T21:24:16  <gizmach> ThomasWaldmann: ok I wanted to check while first I did the code does the methods work
2008-07-09T21:26:37  <ThomasWaldmann> huh?
2008-07-09T21:27:45  <gizmach> well they are not needed
2008-07-09T21:31:31  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3712:7e43fdd2d2c0 1.8-wsgi-fkrupicka/MoinMoin/web/request.py: TestRequest for use in unittests
2008-07-09T21:31:35  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3713:f4a92d2ee616 1.8-wsgi-fkrupicka/MoinMoin/web/request.py: Missing in_-prefix for cache-controls and more customization for TestRequest
2008-07-09T21:31:36  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3714:424800cd9596 1.8-wsgi-fkrupicka/MoinMoin/auth/http.py: Remove special cases of HTTP auth-handling, consolidate unto werkzeugs Authorization-object
2008-07-09T21:31:37  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3715:55e87dd68a22 1.8-wsgi-fkrupicka/MoinMoin/auth/_tests/test_auth.py: Fix tests: failing auth-tests & Simplified: request setup code
2008-07-09T21:31:39  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3716:7c83580dba77 1.8-wsgi-fkrupicka/MoinMoin/web/contexts.py: Added lazy theme property and missing output-method
2008-07-09T21:31:40  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3717:04b0ebc16dec 1.8-wsgi-fkrupicka/MoinMoin/request/_tests/test_request.py: Remove original request tests (failing and not needed anymore)
2008-07-09T21:31:43  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3718:10132d2696dc 1.8-wsgi-fkrupicka/MoinMoin/xmlrpc/__init__.py: Fix tests: make XMLRPC use the new authentication functions
2008-07-09T21:31:46  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3719:7abbc2bb328d 1.8-wsgi-fkrupicka/MoinMoin/ (5 files in 2 dirs): Fix tests: script_root in links wrongly expected to be "." (for tests)
2008-07-09T21:32:40  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3899:d9de4fa12f23 1.8-wsgi-fkrupicka/ (198 files in 39 dirs): Merged: 1.8
2008-07-09T21:33:56  <ThomasWaldmann> gizmach: the problem with for m in g: assert m in g is that it will in no case fail
2008-07-09T21:34:29  <gizmach> ThomasWaldmann: I figured that, that that makes no sence
2008-07-09T21:34:57  <ThomasWaldmann> ok
2008-07-09T21:36:19  <gizmach> ThomasWaldmann: but I think that the others makes sense (of course ther is a large possibility to be wrong)
2008-07-09T21:37:54  <ThomasWaldmann> gizmach: and please don't create new groupmanagers if you already have one
2008-07-09T21:38:22  <gizmach> ah ok I will fix that
2008-07-09T21:39:13  <ThomasWaldmann> nuke page after testing
2008-07-09T21:39:42  <ThomasWaldmann> use less useless parens
2008-07-09T21:39:58  <gizmach> ?
2008-07-09T21:41:53  <gizmach> ThomasWaldmann: sorry I didn't understand the last sentence
2008-07-09T21:42:14  <ThomasWaldmann> use less useless ()
2008-07-09T21:42:42  <gizmach> ok
2008-07-09T21:43:00  <gizmach> but I added nuke page like in test_wikidicts
2008-07-09T21:43:33  <dreimark1> re
2008-07-09T21:44:08  <gizmach> hi dreimark1 , just fixing what ThomasWaldmann noticed wrong things in tests will, send update soon
2008-07-09T21:47:07  <dreimark1> look for typos
2008-07-09T21:48:37  <gizmach> dreimark1: in test?
2008-07-09T21:49:31  <dreimark1> explain me what testWikiBackandChangePage is doing
2008-07-09T21:50:29  <gizmach> it first has a page with some content and defined acl rights and check if the user has rights to access the page
2008-07-09T21:50:47  <dreimark1> why does your test does not fail if you change SecondGroup do ThirdGroup
2008-07-09T21:51:31  <gizmach> dreimark1: but I don't do that
2008-07-09T21:51:33  <gizmach> or I do?
2008-07-09T21:51:59  <gizmach> I always have SecondGroup
2008-07-09T21:52:06  <dreimark1> just try out and try to explain
2008-07-09T21:52:16  <dreimark1> and remove the typo in the definition
2008-07-09T21:52:22  <gizmach> dreimark1: ok
2008-07-09T21:52:37  <dreimark1> in the line after is another typo
2008-07-09T21:53:08  <dreimark1> the next two lines have the same typo
2008-07-09T21:53:51  <dreimark1> for access
2008-07-09T21:54:09  <mmihaljevic> ah ok
2008-07-09T21:55:00  <gizmo__> sorry have some problems with network
2008-07-09T21:57:13  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3900:dde44d6e24ae 1.8-wsgi-fkrupicka/MoinMoin/web/ (contexts.py session.py api.py): Removed MoinMoin.web.api, use inheritance and abstract classes
2008-07-09T22:03:18  <CIA-53> Florian Krupicka <florian.krupicka@googlemail.com> default * 3901:1ca179133f01 1.8-wsgi-fkrupicka/MoinMoin/ (10 files in 7 dirs): Fix tests: small fixes after merge
2008-07-09T22:04:47  <dreimark1> zenhase: I'm impressed
2008-07-09T22:04:54  <zenhase> dreimark1: hmm?
2008-07-09T22:05:05  <zenhase> by what?
2008-07-09T22:05:13  <dreimark1> so much commits today :)
2008-07-09T22:05:35  <zenhase> well, but no commits the last 5 days
2008-07-09T22:06:51  <dreimark1> gizmach: do you have recognized what happens if you rename SecondGroup ?
2008-07-09T22:06:52  <zenhase> they also tend to accumulate a little bit ... i work on some files, then something leads to another file where i work on something and then i have lots of modified files and put them in their respective commits
2008-07-09T22:07:39  <gizmo__> dreimark1: It doesn't look at the page that is changed, only to acl rights?
2008-07-09T22:10:28  <dreimark1> zenhase: sometimes a clone from your master clone makes it easier to archieve differn kind of work. You can cherry pick the changes and move them then to your "master" and push it from there.
2008-07-09T22:11:10  <dreimark1> gizmach: more precise please
2008-07-09T22:11:29  <dreimark1> what happens exactly
2008-07-09T22:11:57  <gizmach> ok let me try, but for one thing I'm not sure:
2008-07-09T22:12:30  <gizmach> the thing I don't know is why can I append page if it does not exist
2008-07-09T22:12:34  <zenhase> dreimark1: best cherry picking i have seen so far was in darcs
2008-07-09T22:13:24  <zenhase> no need to clone, just pick the wanted diff-parts with simple yes/no/all questions on commit
2008-07-09T22:13:37  <zenhase> i wonder if this could be done via an hg extension
2008-07-09T22:14:03  <gizmach> acl = security.AccessControlList(request.cfg, acl_rights) does the object with the new defined rights but not with the changed page?
2008-07-09T22:14:16  <gizmach> dreimark1:
2008-07-09T22:14:51  <gizmach> and does the may check only with new rights defined
2008-07-09T22:15:10  <dreimark1> gizmach: where is the group defined what makes the group ?
2008-07-09T22:15:40  <gizmach> urgh I figured that that was missing while I tried to explain
2008-07-09T22:17:16  <gizmach> dreimark1: but I need to define it in the setup_class ?
2008-07-09T22:17:29  <dreimark1> gizmach: so what is the problem ?
2008-07-09T22:18:31  <gizmach> I don't have a page on which I will check acl rights
2008-07-09T22:18:50  <gizmach> group defined
2008-07-09T22:21:19  <gizmach> I only did group_manager = datastruct.GroupManager([group_wiki.GroupManagerWikiBackend(self.request), ]), and passed to acl rights and no group
2008-07-09T22:21:36  <gizmach> dreimark1:
2008-07-09T22:21:55  <dreimark1> do you know the difference between acl_rights in testConfigBackend and testWikiBackendChangePage
2008-07-09T22:23:25  <dreimark1> gizmach:
2008-07-09T22:24:05  <gizmach> ok I'm a bit confused
2008-07-09T22:24:26  <gizmach> and let's say not really, can you please try to explain me or give me a hint
2008-07-09T22:25:09  <dreimark1> show me possibilities how to define acls on a page
2008-07-09T22:25:36  <dreimark1> gizmach:
2008-07-09T22:27:39  <gizmach> ah you can define on the wikipage #acl: JoeDoe:... rights
2008-07-09T22:27:52  <gizmach> and I can define acl_rights with acl rights
2008-07-09T22:28:02  <gizmach> or I can use some known acls
2008-07-09T22:28:13  <dreimark1> examples like the first line please
2008-07-09T22:28:20  <gizmach> ok
2008-07-09T22:28:46  <gizmach> acl_rights = ["JoeDoe:read,..."]
2008-07-09T22:28:56  <gizmach> than acl_rights = []
2008-07-09T22:29:20  <dreimark1> gizmach: on a page not in your program
2008-07-09T22:29:27  <gizmach> dreimark1: ah ok
2008-07-09T22:29:30  <gizmach> pardon
2008-07-09T22:29:50  * dreimark1 listens
2008-07-09T22:30:04  <gizmach> than I can do #acl:SomeGroup: rights and than on SomeGroup defined users that are in the group
2008-07-09T22:31:13  <gizmach> Than I can defined TrustedGroup, All,
2008-07-09T22:32:39  <gizmach> hm... I think only way I can do it on the site is #acl: with different options
2008-07-09T22:34:30  <dreimark1> there is one : wrong, do you know which one ?
2008-07-09T22:34:41  <gizmach> and one of the options is to define Group and theri aclrights and down users that belong to a group (like "acl: SomeGroup: rights and than *UserOne ,...)
2008-07-09T22:35:09  <gizmach> after acl
2008-07-09T22:35:23  <gizmach> there should be only space?
2008-07-09T22:35:33  <dreimark1> one space
2008-07-09T22:35:40  <gizmach> ok
2008-07-09T22:35:50  <dreimark1> which one is the definition for a group
2008-07-09T22:36:22  <gizmach> pardon? you mean which acl right?
2008-07-09T22:36:47  <dreimark1> which line of the ones you gave me define the rights for a group
2008-07-09T22:37:25  <gizmach> #acl SomeGroup:rights
2008-07-09T22:37:37  <dreimark1> ok
2008-07-09T22:38:21  <dreimark1> try now to explain what your test should test
2008-07-09T22:38:38  <dreimark1> in your words
2008-07-09T22:38:48  <gizmach> OK
2008-07-09T22:39:35  <gizmach> it should see if the group mambers have rights to do something with page they are requesting
2008-07-09T22:39:59  <dreimark1> good
2008-07-09T22:40:11  <dreimark1> where do you test a groups
2008-07-09T22:40:20  <dreimark1> s/s//
2008-07-09T22:40:53  <gizmach> you mean test or the real code that checks it?
2008-07-09T22:41:05  <dreimark1> in the code now of your test
2008-07-09T22:42:23  <gizmach> In my test (the last one I don't do it)
2008-07-09T22:42:40  <gizmach> hm.. not quiet sure it that was the question
2008-07-09T22:43:21  <dreimark1> where do you have to do it ?
2008-07-09T22:44:28  <gizmach> well I need to get the page content wit defined acl rights and procede that to the acl code?
2008-07-09T22:44:59  <dreimark1> where do you do the comparison ?
2008-07-09T22:45:48  <gizmach> in acl code?
2008-07-09T22:46:00  <dreimark1> or where do you do the inititialisation for the comparison ?
2008-07-09T22:46:20  <dreimark1> which line in your test
2008-07-09T22:46:33  <gizmach> sec
2008-07-09T22:48:12  <gizmach> I need to do it in the setup_class? (because this takes the request.cfg and needs to be defined earlier?  acl = security.AccessControlList(request.cfg, acl_rights))
2008-07-09T22:55:31  <dreimark1> no!
2008-07-09T22:56:05  <dreimark1> where do you define acl_rights ?
2008-07-09T22:56:18  <dreimark1> what is in it defined ?
2008-07-09T22:56:26  <dreimark1> gizmach:
2008-07-09T22:57:23  <gizmach> dreimark1: there are defined rights for users and/or groups in acl_rights = ["SomeUser:rights"]
2008-07-09T22:58:16  <dreimark1> why do you think that this code tests groups ?
2008-07-09T22:58:54  <gizmach> well I taught I can define rights for groups, but I  can only for users?
2008-07-09T22:59:03  <dreimark1> no!
2008-07-09T23:00:11  <dreimark1> yes you can define rights for groups! How do you do this?
2008-07-09T23:01:21  <dreimark1> gizmach:
2008-07-09T23:02:39  <gizmach> dreimark1: by acl_right=["SomeGroup:rights  " ] ? (sorry for being that confused
2008-07-09T23:03:11  <dreimark1> yes, without the trailing blanks
2008-07-09T23:03:46  <dreimark1> so what does the current code test ?
2008-07-09T23:03:50  <dreimark1> gizmach:
2008-07-09T23:06:51  <gizmach> it tests the rigts of the groups?
2008-07-09T23:11:09  <dreimark1> no it doesn't
2008-07-09T23:11:35  <dreimark1> write here what you have defineded in acl_right
2008-07-09T23:11:38  <dreimark1> gizmach:
2008-07-09T23:12:20  <gizmach> acl_rights = ["ExampleUser:read,write  "
2008-07-09T23:12:20  <gizmach>                       "AnotherUser:read,write  "
2008-07-09T23:12:20  <gizmach>                      ]
2008-07-09T23:12:54  <dreimark1> 23:02 < gizmach> dreimark1: by acl_right=["SomeGroup:rights  " ]
2008-07-09T23:13:23  <dreimark1> gizmach: so what does your test checks ?
2008-07-09T23:16:06  <gizmach> it check the rights of ExampleUser and AnotherUser
2008-07-09T23:16:28  <dreimark1> gizmach: is a user a group ?
2008-07-09T23:17:13  <gizmach> dreimark1: no it should be a user I defined in a page that it's a user
2008-07-09T23:20:25  <dreimark1> gizmach: you do want to test groups or? and you already descibed 22:37 < gizmach> #acl SomeGroup:rights
2008-07-09T23:20:56  <dreimark1> is written on a page if you want to have group members on the page SomeGroup
2008-07-09T23:21:12  <dreimark1> you have to do the same in your test
2008-07-09T23:21:14  <gizmach> yes and I want to test user rights on some group
2008-07-09T23:21:55  <dreimark1> your test does currently not test on some group
2008-07-09T23:22:02  <gizmach> dreimark1: than I need to define rights for SomeGroup
2008-07-09T23:22:13  <dreimark1> true
2008-07-09T23:22:20  <dreimark1> gizmach:
2008-07-09T23:23:15  <gizmach> ok but I'm confused if I add rights to a group and than I addd some content to a page, will it do what I want, how will I instance a group ?
2008-07-09T23:24:13  <dreimark1> compare again the new test with TestGroupConfigBackend
2008-07-09T23:24:23  <dreimark1> it is much easier as you currently think
2008-07-09T23:24:43  <gizmach> heh ok give me a sec
2008-07-09T23:25:35  <mmihaljevic> sorry network problems
2008-07-09T23:26:13  <mmihaljevic> hm..
2008-07-09T23:29:12  <mmihaljevic> Ok I thing I got it now
2008-07-09T23:30:09  <mmihaljevic> http://paste.pocoo.org/show/79014/
2008-07-09T23:30:11  <mmihaljevic> dreimark:
2008-07-09T23:30:17  <mmihaljevic> dreimark1:
2008-07-09T23:30:54  <dreimark1> mom
2008-07-09T23:31:19  <mmihaljevic> sec I'm trying something else
2008-07-09T23:31:33  <mmihaljevic> ok yes I think this is that
2008-07-09T23:31:42  <mmihaljevic> I tried without updating page
2008-07-09T23:31:45  * dreimark1 waits
2008-07-09T23:31:47  <mmihaljevic> and with another group
2008-07-09T23:31:58  <mmihaljevic> the pastebin is ok
2008-07-09T23:32:48  <mmihaljevic> and in both cases I got test failed (wothout updating page and with updating another group)
2008-07-09T23:33:47  <mmihaljevic> http://paste.pocoo.org/show/79014/  than this
2008-07-09T23:33:49  <mmihaljevic> dreimark1:
2008-07-09T23:44:40  <dreimark1> mmihaljevic: I have no idea what line 4 is about there is still no group definition
2008-07-09T23:45:23  <mmihaljevic> ah pardon
2008-07-09T23:45:26  <mmihaljevic> thatwas left
2008-07-09T23:45:29  <mmihaljevic> my fault
2008-07-09T23:45:54  <dreimark1> and there are trailing blanks in the definitions
2008-07-09T23:46:27  <mmihaljevic> fixed that
2008-07-09T23:46:41  <dreimark1> pastebin ?
2008-07-09T23:47:19  <dreimark1> btw. battery low
2008-07-09T23:48:12  <dreimark1> name as var is a bit to generic may be name it to the thing it is
2008-07-09T23:48:21  <dreimark1> and add comments to the lines
2008-07-09T23:48:21  <mmihaljevic> http://paste.pocoo.org/show/79019/
2008-07-09T23:49:27  <dreimark1> typo in: wikigrup, testWikiBackandChangePage,
2008-07-09T23:49:42  <mmihaljevic> ah damit
2008-07-09T23:50:05  <mmihaljevic> ok, and by comments you mean to comment on acl_rights ?
2008-07-09T23:50:11  <dreimark1> add many commits so you remember in a week what every line is doing
2008-07-09T23:50:15  <dreimark1> comments
2008-07-09T23:50:32  <mmihaljevic> dreimark1: ok I will
2008-07-09T23:50:43  <dreimark1> it is all in the log here
2008-07-09T23:51:04  <mmihaljevic> :)
2008-07-09T23:52:35  <dreimark1> do you need to redefine acl_rights and acls ?
2008-07-09T23:52:43  <mmihaljevic> and I think one acl_rights is not needed
2008-07-09T23:52:44  <mmihaljevic> :)
2008-07-09T23:52:46  <mmihaljevic> yes
2008-07-09T23:53:17  <mmihaljevic> it was not needed
2008-07-09T23:54:41  <dreimark1> mmihaljevic: now you have only to answer the question what is the difference between SecondGroup and SomeGroup ?
2008-07-09T23:55:31  <dreimark1> line 10 and 9
2008-07-09T23:56:42  <dreimark1> or why line 15 always fails
2008-07-09T23:58:03  <mmihaljevic> it always fails because AnotherUser is not defined in page content
2008-07-09T23:58:19  <mmihaljevic> and SecondGroup and SomeGroup is my tipfeler
2008-07-09T23:58:30  <dreimark1> ahha, good then fix
2008-07-09T23:58:49  <mmihaljevic> :) did
2008-07-09T23:58:57  <dreimark1> and please try to writ always many comments into the code
2008-07-09T23:59:37  <mmihaljevic> dreimark1: ok I'll give my best to comment my code as much as I can I see it can prevent some errors and not needed code

MoinMoin: MoinMoinChat/Logs/moin-dev/2008-07-09 (last edited 2008-07-09 04:45:02 by IrcLogImporter)