2009-06-23T00:56:09  *** amartani has quit IRC
2009-06-23T00:56:27  *** ernestas has quit IRC
2009-06-23T01:08:08  *** amartani has joined #moin-dev
2009-06-23T01:18:57  *** xorAxAx has quit IRC
2009-06-23T05:31:29  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 5989:c09f6db1d066 2.0-storage-editor-amartani/MoinMoin/ (action/mobwrite.py items/__init__.py): Real-time editor: Store list of editors on Item's extra metadata.
2009-06-23T05:31:32  <CIA-38> Alexandre Martani <amartani AT gmail DOT com> default * 5990:030653f08807 2.0-storage-editor-amartani/MoinMoin/ (items/__init__.py templates/show.html): Real-time editor: Show Item's extra metadata.
2009-06-23T08:34:23  *** franklin has joined #moin-dev
2009-06-23T08:51:33  *** franklin_ has quit IRC
2009-06-23T10:21:23  <dimazest> dreimark: how can i write test for MoinMoin/web/contexts.py? i do not have clear idea how it works
2009-06-23T11:21:58  *** xorAxAx has joined #moin-dev
2009-06-23T12:26:19  <dimazest> dreimark: ThomasWaldmann if someone __getitem__ group which is not exist, should an exception be thrown or an empty group returned?
2009-06-23T13:01:04  <dreimark> dimazest: conmtexts.py is used for example by your homepage script patch
2009-06-23T13:01:42  <dreimark> dimazest: how is the case of a non existing group handled currently
2009-06-23T13:02:06  <dimazest> exception is thrown
2009-06-23T13:02:19  <dreimark> I mean in 1.8
2009-06-23T13:03:11  *** amartani has quit IRC
2009-06-23T13:04:12  <dreimark> >>> from MoinMoin import wikidicts
2009-06-23T13:04:13  <dreimark> >>> pagename = u'UserGroup'
2009-06-23T13:04:13  <dreimark> >>> user_group = wikidicts.Group(request, pagename)
2009-06-23T13:04:13  <dreimark> >>> members = user_group.members()
2009-06-23T13:04:13  <dreimark> >>> members
2009-06-23T13:04:15  <dreimark> []
2009-06-23T13:05:01  <dreimark> >>> 'rb' in members
2009-06-23T13:05:01  <dreimark> False
2009-06-23T13:05:18  <dreimark> dimazest: ^^
2009-06-23T13:05:35  <dimazest> i see, so empty list should be returned
2009-06-23T13:06:16  <dreimark> if you have multiple group backends
2009-06-23T13:06:41  <dreimark> it should be able to get the group from the next one
2009-06-23T13:07:17  <dreimark> that means at the end of that loop it should be a empty list
2009-06-23T13:08:02  <dimazest> then there is a problem
2009-06-23T13:08:17  <dimazest> because thing which holds several backend is a backend by itself
2009-06-23T13:14:51  <dreimark> if you throw an exception that exception could be handled by the next backend
2009-06-23T13:15:02  <dreimark> the last backend could resolve it into an empty list
2009-06-23T13:15:56  * dreimark has to leave soon
2009-06-23T13:16:05  <dimazest> dreimark: see code examples http://moinmo.in/Groups2009#wiki_groups_backend_.28SOCTODO.29
2009-06-23T13:16:29  <dimazest> WikiGroups can be alone, ore part of CompositeGroups
2009-06-23T13:16:52  <dimazest> in the first case it has to return [] in the second throw an exception
2009-06-23T13:17:18  <dreimark> hmm
2009-06-23T13:18:00  <dreimark> unfortunately no time for me to discuss that now
2009-06-23T13:18:01  <dimazest> but, CompositeGroups can can check, does the group exists in the backend, if it returned []
2009-06-23T13:18:05  <dimazest> ok
2009-06-23T13:18:10  <dimazest> see you later
2009-06-23T13:18:16  <dreimark> I think it needs to check that
2009-06-23T13:18:27  <dimazest> and i can discuss it with ThomasWaldmann
2009-06-23T13:18:44  <dreimark> and it should not overwrite a group in a later one
2009-06-23T13:18:49  <dreimark> ok
2009-06-23T13:19:05  <dreimark> sorry it's a "dr. pruefung"
2009-06-23T13:19:07  <dreimark> bbl
2009-06-23T16:53:16  *** TheSheep has quit IRC
2009-06-23T17:29:56  *** TheSheep has joined #moin-dev
2009-06-23T17:56:00  <dimazest> does openid works in 1.9?
2009-06-23T17:56:14  <dimazest> because i get errors trying to set it up
2009-06-23T18:10:04  <dimazest> and it seems there is no request.makeForbidden403() method
2009-06-23T19:32:59  *** grzywacz has joined #moin-dev
2009-06-23T20:04:02  <ThomasWaldmann> re
2009-06-23T20:13:17  <ThomasWaldmann> dimazest: btw, i would rather like to discuss how new group/dict code should work, not so much how old did
2009-06-23T20:13:36  <ThomasWaldmann> (it that is a difference, you have to document it and fix the callers)
2009-06-23T20:16:56  <ThomasWaldmann> dennda: i am still waiting for more feedback?
2009-06-23T20:27:01  <ThomasWaldmann> dennda: what did you do on monday for your soc project?
2009-06-23T20:27:08  <ThomasWaldmann> ehrm
2009-06-23T20:27:18  <ThomasWaldmann> devilsadvocate: what did you do on monday for your soc project?
2009-06-23T20:27:30  <ThomasWaldmann> (wrong nick failure :)
2009-06-23T20:27:50  <ThomasWaldmann> but the one about feedback was for you, dennda
2009-06-23T20:42:43  *** devilsadvocate has quit IRC
2009-06-23T20:43:02  *** devilsadvocate has joined #moin-dev
2009-06-23T20:51:53  *** amartani has joined #moin-dev
2009-06-23T20:54:54  *** amartani has quit IRC
2009-06-23T21:03:45  <dennda> I'll be giving feedback shortly (tonight/tomorrow morning); Had an exam an hour ago and am busy with an assignment... (I didn't forget it, though) :-)
2009-06-23T21:37:37  *** amartani has joined #moin-dev
2009-06-23T21:37:43  *** amartani_ has joined #moin-dev
2009-06-23T21:40:38  *** amartani has quit IRC
2009-06-23T21:40:44  *** amartani_ has quit IRC
2009-06-23T21:57:03  *** amartani has joined #moin-dev
2009-06-23T21:57:34  <amartani> hi
2009-06-23T21:57:55  <ThomasWaldmann> moin amartani
2009-06-23T21:58:08  <dreimark> re
2009-06-23T22:00:31  <amartani> this freenode's webclient is disconnecting me every time
2009-06-23T22:02:27  <dreimark> subscription of badcontent is bad
2009-06-23T22:08:28  <ThomasWaldmann> hm?
2009-06-23T22:13:51  <waldi> dennda: http://www-bs.informatik.uni-tuebingen.de/Teaching/SS%202009/SW/Assignments/SW_Assignment_5.pdf
2009-06-23T22:14:24  <dimazest> ThomasWaldmann: i want to finish the groups code
2009-06-23T22:15:02  <dennda> waldi: hm?
2009-06-23T22:15:07  <dimazest> since openid uses it, i wanted to check, were my changes right
2009-06-23T22:15:41  <dimazest> but it seems to me that the openid code is broken, at least i could not make it work, even with 1.9
2009-06-23T22:15:43  *** amartani_ has joined #moin-dev
2009-06-23T22:16:00  <dimazest> ThomasWaldmann: can we discuss it tomorrow?
2009-06-23T22:16:21  *** amartani has quit IRC
2009-06-23T22:17:12  *** amartani_ has quit IRC
2009-06-23T22:18:34  <waldi> dennda: take a look at it. its the announcement for the "Second International Conference on Triangles and Quadrilaterals" ... :)
2009-06-23T22:21:08  <ThomasWaldmann> dimazest: yes. as far as openid is concerned: i have no idea
2009-06-23T22:21:32  <ThomasWaldmann> maybe just make sure you don't make it worse, but I don't expect you debugging openid stuff
2009-06-23T22:22:58  <dreimark> ThomasWaldmann: well I do send the bad line to one who has subscribed BadContent
2009-06-23T22:23:17  <ThomasWaldmann> and?
2009-06-23T22:23:39  <dreimark> I spam this one
2009-06-23T22:24:12  <ThomasWaldmann> no
2009-06-23T22:24:30  <dennda> waldi: Why do you tell me? :-)
2009-06-23T22:24:33  <dreimark> dimazest: opeid becomescurrently refactored in http://hg.moinmo.in/moin/1.9-openid/
2009-06-23T22:24:42  <dennda> I did take a look
2009-06-23T22:25:46  <dimazest> dreimark: i know, should i marge with that, or just make changes, which SHOULD work, and carry on
2009-06-23T22:30:27  <dreimark> don't merge, make the changes which should work
2009-06-23T22:33:41  <dimazest> ok
2009-06-23T22:44:19  <dreimark> gn

MoinMoin: MoinMoinChat/Logs/moin-dev/2009-06-23 (last edited 2009-06-22 23:00:02 by IrcLogImporter)