2009-05-25T00:19:36 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5760:2ba28db0defd 2.0-storage/MoinMoin/ (items/__init__.py parser/text_moin_wiki.py): items: reduce code duplication between transclude and _render_data methods, use formatter
2009-05-25T07:11:38 <dimazest> ˙/away
2009-05-25T07:11:48 <dimazest> morning
2009-05-25T07:48:37 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5761:165da116a188 2.0-storage/MoinMoin/items/__init__.py: storage: Make new *tentative* UI store the metadata it was given. Includes fix for values that contain a colon.
2009-05-25T07:48:39 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5762:e349cdd31b87 2.0-storage/MoinMoin/ (items/__init__.py parser/text_moin_wiki.py): merge remote 2.0-storage
2009-05-25T08:13:46 <ThomasWaldmann> moin dennda :)
2009-05-25T08:14:09 <dennda> hi
2009-05-25T08:14:21 <ThomasWaldmann> btw, hg annotate shows your changes as "moin@NNNN"
2009-05-25T08:15:03 <dennda> aha?
2009-05-25T08:18:36 <ThomasWaldmann> likely because you used moin@ as email address
2009-05-25T08:19:17 <dennda> there's no @
2009-05-25T08:34:38 <ThomasWaldmann> dennda: btw, if you worked on something, don't forget to mention it in your diary - if it shows a blank page, it tells that you did nothing (and that's wrong in that case)
2009-05-25T08:36:06 <ThomasWaldmann> dimazest: -""-
2009-05-25T08:38:05 <dennda> Yeah I'll just try to document everything I do
2009-05-25T08:44:03 <ThomasWaldmann> dreimark: btw, the new transclusion stuff should be much easier now, you can define the params stuff in a list in the item class
2009-05-25T08:45:35 <ThomasWaldmann> it likely needs some practical tests and finetuning, I just did some tries with svg/png/jpeg
2009-05-25T09:02:44 * ThomasWaldmann sent a wake-up mail to amartani
2009-05-25T09:07:03 <ThomasWaldmann> devilsadvocate_: btw, please update your project page with a much more detailled plan
2009-05-25T09:13:18 <dimazest> i still have not decided what name to use groups or datastruct
2009-05-25T09:15:39 <ThomasWaldmann> well, just use some and don't let that block you.
2009-05-25T09:15:57 <dimazest> :) ok
2009-05-25T09:21:30 <dreimark> moin
2009-05-25T09:23:15 <dreimark> dimazest: it does not matter now, just choose one. renaming could also be done at the end of your project. nu hurry
2009-05-25T09:23:23 <dreimark> ThomasWaldmann: sounds good
2009-05-25T10:09:48 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5763:8f9c3ea53af4 2.0-storage/MoinMoin/items/__init__.py: items: binary item comparison based on data hash codes
2009-05-25T12:14:33 * ThomasWaldmann wrote another wake-up mail (to devilsadvocate_ )
2009-05-25T12:34:37 <dennda> ThomasWaldmann: do you think it might be a sane idea to use the dummyrev in itemmanager when get_item fails due to an AccessDeniedError?
2009-05-25T12:35:11 <dennda> with 'Access forbidden' instead of just 'l
2009-05-25T12:35:17 <dennda> ''
2009-05-25T12:37:06 <dennda> hm
2009-05-25T12:37:22 <dennda> that wouldn't alter the statuscode
2009-05-25T12:43:22 <ThomasWaldmann> the reason i introduce this dummyrev is because the code somehow required a rev and mimetype, so just having rev=None didn't work
2009-05-25T12:44:03 <ThomasWaldmann> also, one can influence the mimetype it thinks the item has by just putting it into that dummy rev
2009-05-25T12:45:06 <ThomasWaldmann> whether it makes sense maybe depends on what alternatives you have
2009-05-25T12:48:49 <ThomasWaldmann> hmm, maybe that AccessDeniedError should get through to higher level
2009-05-25T12:49:38 <ThomasWaldmann> (or at least, it should not return a dummy item - how should higher level code know then that access was denied?)
2009-05-25T12:57:54 <dennda> there's not that many higher levels
2009-05-25T13:03:17 <dreimark> http://moinmo.in/MoinMoinBugs/RenameToDeletedPage can this be fixed in 2.0 ?
2009-05-25T13:03:31 <dennda> we could catch it in the wsgiapp.run method
2009-05-25T13:04:44 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5764:cb3c33753625 2.0-storage/MoinMoin/items/__init__.py: items: PEP8 and other minor cleanups
2009-05-25T13:04:58 <dennda> maybe the accessdeniederror raised could be a response object itself... (i heard of that idea somewhere, not sure it applies to this particular case as well)
2009-05-25T13:07:25 <ThomasWaldmann> dreimark: that depends on how we handle deleted items. if we go the trashbin way, it can be fixed.
2009-05-25T13:10:21 <ThomasWaldmann> dennda: i guess this needs some more thoughts. e.g. if you transclude a non-readable item, it shouldn't kill the page you are allowed to read and that just contains the transclusion
2009-05-25T13:13:25 <ThomasWaldmann> so, maybe we begin with a handler at the top level, doing the most generic thing (just a 403 response) and then add better handlers at lower levels
2009-05-25T13:17:24 <dennda> i.e. a new function return_403_response in wsgiapp and except ADE: return 403?
2009-05-25T13:35:48 <dennda> disregard that
2009-05-25T13:35:58 <dimazest> should membergroups return list of group_names or iterator?
2009-05-25T13:36:19 <dennda> figured you meant exception handler. returning a werkzeug forbidden obj now
2009-05-25T14:03:04 <dreimark> dimazest: for now a list is ok. it depends what else you want to do with it.
2009-05-25T14:56:19 <ThomasWaldmann> hmm, my class finder doesnt find the right class
2009-05-25T15:09:12 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5765:92c1dca36f7a 2.0-storage/ (MoinMoin/items/__init__.py wikiserverlogging.conf): items: enhance class hierarchy, differentiate between generic, renderable and playable items
2009-05-25T15:09:14 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5766:fa411fc9b6b3 2.0-storage/MoinMoin/items/__init__.py: items: fix _find_item_class to find best match
2009-05-25T15:13:13 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5699:474d71f285c4 1.9-storage/MoinMoin/wsgiapp.py: storage: return a werkzeug Forbidden response after catching an AccessDeniedError in the wsgiapp
2009-05-25T15:14:51 <CIA-19> Christopher Denter <moin%the-space-station.com> default * 5767:8623b857105d 2.0-storage/MoinMoin/ (5 files in 3 dirs):
2009-05-25T15:14:51 <CIA-19> storage: Proof of concept for AMW (ACLMiddleWare) as an attribute patched onto
2009-05-25T15:14:51 <CIA-19> the context which then wraps around any call to the actual backend and checks
2009-05-25T15:14:51 <CIA-19> permissions. Removed explicit permission checking from read action
2009-05-25T15:14:53 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5768:4899efd629bb 2.0-storage/MoinMoin/ (4 files in 3 dirs): merged 1.9-storage
2009-05-25T15:14:56 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5769:595fc7822d82 2.0-storage/MoinMoin/items/__init__.py: storage: Make MoinMoin.items use ACLMiddleware
2009-05-25T15:14:59 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5770:474d71f285c4 2.0-storage/MoinMoin/wsgiapp.py: storage: return a werkzeug Forbidden response after catching an AccessDeniedError in the wsgiapp
2009-05-25T15:15:03 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5771:03ac0503b3b3 2.0-storage/MoinMoin/wsgiapp.py: merge local 1.9-storage
2009-05-25T15:15:08 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5772:4cf92e56f9b9 2.0-storage/ (MoinMoin/items/__init__.py wikiserverlogging.conf): merge remote 2.0-storage
2009-05-25T15:30:45 <ThomasWaldmann> merge time :D
2009-05-25T15:33:54 <dennda> omg
2009-05-25T15:34:10 <dennda> setting up this card seems way harder than last years card, judging from the posts to the group
2009-05-25T15:35:33 <dennda> "way harder" as in "somebody had to use a JS console in order to fill out the form"
2009-05-25T15:35:59 <ThomasWaldmann> card?
2009-05-25T15:36:08 <dennda> the payment card
2009-05-25T15:36:09 <dimazest> dennda: i think js console is overkill
2009-05-25T15:36:54 <dennda> I, for one, can't enter a phone number
2009-05-25T15:38:38 <dennda> dimazest: did you already activate your card?
2009-05-25T15:38:40 <ThomasWaldmann> 911 :P
2009-05-25T15:38:51 <dimazest> i'm still waiting for it
2009-05-25T15:39:35 <dreimark> storm warning here in between 4pm and 7pm
2009-05-25T15:40:17 <dreimark> wind strength 10!
2009-05-25T15:40:34 <ThomasWaldmann> charge your laptop
2009-05-25T15:40:42 <dreimark> hail diameter of 3cm
2009-05-25T15:40:54 <ThomasWaldmann> ohoh
2009-05-25T15:41:07 * dreimark looks for a bridge
2009-05-25T15:41:53 <ThomasWaldmann> look for a stable one, otherwise you won't get hail damage, but bridge-fallen-on-car damage :D
2009-05-25T15:46:54 <ThomasWaldmann> for us here it is just clear-cut weather ("markantes wetter") if one can believe the dwd.de map
2009-05-25T15:48:37 <dreimark> http://www.wetteronline.de/blids/blids_NL.htm
2009-05-25T16:05:46 <dimazest> for me it is so hot and windy, but nothing extraordinary
2009-05-25T16:33:48 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5700:9e970b5c686a 1.9-storage/MoinMoin/caching.py: the "sha" module is deprecated, use the compatibility wrapper!
2009-05-25T16:43:43 <dreimark> bbl
2009-05-25T17:17:31 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5701:8019a8b5a7bf 1.9-storage/MoinMoin/ (3 files in 2 dirs): the "md5" module is deprecated, use the compatibility wrapper!
2009-05-25T18:14:17 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5773:a412c71ab1e8 2.0-storage/ (6 files in 5 dirs): PEP8 fixes
2009-05-25T18:14:19 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5774:def1aa15609c 2.0-storage/MoinMoin/ (11 files in 3 dirs): get rid of items.Manager, Manager(...).get_item() -> Item.create(...)
2009-05-25T18:33:29 <ThomasWaldmann> dennda: there is some backend problem that breaks most of the tests, can you help identifying it?
2009-05-25T18:43:32 <ThomasWaldmann> hmm, init_test_request does not work that way with AMW
2009-05-25T18:55:58 <dennda> ThomasWaldmann: what's the precise nature of the problem? shall i just try to run the tests? (which tests?)
2009-05-25T18:57:12 <dreimark> all tests are broken becaue of some mismatch
2009-05-25T18:58:18 <dennda> i'll take a look at it in a few mins
2009-05-25T19:18:56 <ThomasWaldmann> i found it
2009-05-25T19:21:17 <dreimark> another deprecation "moin-2.0-storage/MoinMoin/caching.py:14: DeprecationWarning: the sha module is deprecated; use the hashlib module instead"
2009-05-25T19:25:09 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5775:eb55e2023c93 2.0-storage/MoinMoin/ (conftest.py wsgiapp.py): move acl wrapper backend init to separate function so that conftest init can create fresh backends at the right time
2009-05-25T19:25:34 <ThomasWaldmann> dreimark: that is already fixed in 1.9-storage and will get merged into 2.0 soon
2009-05-25T19:25:36 * dennda looks
2009-05-25T19:25:39 <dreimark> ThomasWaldmann: wmv and swf works too
2009-05-25T19:25:48 <dreimark> I thought it was merged
2009-05-25T19:26:34 <ThomasWaldmann> dreimark: btw, I talked to a moin user who uses PDF attachments quite a lot and has a big screen
2009-05-25T19:27:14 <ThomasWaldmann> the current AttachFile page embeds the PDF, but in a (comparedly) tiny window.
2009-05-25T19:27:23 <ThomasWaldmann> (he uses 1.8.x)
2009-05-25T19:27:25 <dreimark> width 100% seems to work now qith 9.0.1
2009-05-25T19:27:46 <ThomasWaldmann> ah, really? he would be very happy about that. :)
2009-05-25T19:27:54 * dreimark wonders why I haven't filed that bug report to adobe earlier
2009-05-25T19:28:00 <ThomasWaldmann> can you test and commit that?
2009-05-25T19:28:21 <dreimark> they have cirrently only a 32bit version - unfortunately
2009-05-25T19:28:28 <dreimark> s/i/u/
2009-05-25T19:28:34 <dennda> of what?
2009-05-25T19:28:38 <dreimark> acroread
2009-05-25T19:28:42 <dennda> ah
2009-05-25T19:28:50 <dennda> seriously?
2009-05-25T19:29:04 <dreimark> ThomasWaldmann: the ui should show the mimetype you want to upload
2009-05-25T19:29:15 <ThomasWaldmann> i could do a test from a windows VM using the latest windows version from them
2009-05-25T19:29:16 <dreimark> ah it does.
2009-05-25T19:29:34 <dreimark> Marcel has tested already
2009-05-25T19:29:58 <ThomasWaldmann> so do we already have that code in 1.8?
2009-05-25T19:30:29 <dreimark> no. I was waiting till I could use it myself. All my systems are 64 bit
2009-05-25T19:31:00 <ThomasWaldmann> if it works, don't wait :)
2009-05-25T19:31:06 <dreimark> http://moinmo.in/FeatureRequests/resize_images_by_js?highlight=(acroread)
2009-05-25T19:31:31 <dennda> ahaa!
2009-05-25T19:31:55 <dennda> that even seems to answer my question "where do you get a valid request from when you want to write testcases?"
2009-05-25T19:32:33 <dreimark> dennda: ?
2009-05-25T19:32:51 * dennda just read the module level docstring of MoinMoin.conftest
2009-05-25T19:33:02 <dreimark> ah, ok
2009-05-25T19:33:34 * ThomasWaldmann will write some MoinMoin.items tests
2009-05-25T19:34:09 <dreimark> htg bbl
2009-05-25T19:34:17 <ThomasWaldmann> dreimark: can you commit that? many Adobe Reader users DO have the latest version (due to the sec. fixes), so that might be much better than what we have now.
2009-05-25T19:34:45 <dreimark> yes tom. in the office I have a laptop which can be used for a test
2009-05-25T19:35:36 <dreimark> I weanted to see it first myself. ubuntu 9.4 has acro 9.X
2009-05-25T19:36:15 <dreimark> cu
2009-05-25T19:49:44 <dennda> ThomasWaldmann: So seperate testcases share the same request object?
2009-05-25T20:05:20 <dennda> http://www.plugcomputer.org/
2009-05-25T20:21:03 * dimazest is after a long talk with the house owner
2009-05-25T20:43:55 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5776:0b47014ee290 2.0-storage/MoinMoin/items/_tests/test_Item.py: items: added some basic tests
2009-05-25T20:45:44 *** grzywacz has joined #moin-dev
2009-05-25T20:46:39 <ThomasWaldmann> dennda: iirc yes. of course a test could create a new request on its own.
2009-05-25T20:52:00 <ThomasWaldmann> dennda: * make sure no acl-protected pages are available through the cache < that's why there are XXX XXX :)
2009-05-25T20:52:03 <dennda> ThomasWaldmann: Ok, then I understand the problem
2009-05-25T20:52:22 <dennda> ThomasWaldmann: I didn't actually check the code. That thought just came to my mind and I didn't want to forget about it
2009-05-25T20:52:43 <dennda> we've experienced some strange caching problems over at ubuntuusers.de
2009-05-25T20:52:49 <dennda> that's why I'm a bit aware of that
2009-05-25T20:57:45 <ThomasWaldmann> i guess we have to be careful with access to the content data hash
2009-05-25T20:58:12 <ThomasWaldmann> if reading the item revision data is not allowed, reading the hash should not be allowed, too
2009-05-25T20:58:39 <dennda> I agree
2009-05-25T21:00:42 <ThomasWaldmann> if that is given, the data in the cache should be save, because you need the hash to compute the cache key
2009-05-25T21:33:27 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5777:38940f7a697d 2.0-storage/MoinMoin/items/_tests/test_Item.py: items: more tests
2009-05-25T21:33:41 <dennda> ThomasWaldmann: if mimetype.startswith(supported_mimetype): <-- why startswith? because somebody may just provide "audio" as mimetype?
2009-05-25T21:34:06 <ThomasWaldmann> see supported_mimetypes lists
2009-05-25T21:35:13 <dennda> ThomasWaldmann: well yeah I looked at it, that's how I came to this guess :-)
2009-05-25T21:36:00 <ThomasWaldmann> it's the other way round
2009-05-25T21:36:45 <ThomasWaldmann> what the metadata gives is always a full mimetype string
2009-05-25T21:37:01 <ThomasWaldmann> but the Item subclasses may specify a prefix
2009-05-25T21:37:23 <dennda> ah
2009-05-25T21:37:34 <dennda> that's meant to make the recursion cheaper?
2009-05-25T21:38:05 <ThomasWaldmann> no
2009-05-25T21:38:33 <ThomasWaldmann> it does a complete search currently. there is a small bit room for optimization.
2009-05-25T21:39:20 <ThomasWaldmann> (it could stop when it has found a len(mimetype) length match because there can't be a better match)
2009-05-25T21:40:51 <dennda> so the reason is that you're trying to find the class that fits best? (going from generic to special)
2009-05-25T21:42:32 <ThomasWaldmann> it just searches all classes derived from Item for max length match.
2009-05-25T21:43:10 <ThomasWaldmann> e.g. if you show a text/x-foobar item, we don't have special support for that.
2009-05-25T21:43:15 <dennda> (isn't that the technical description for what I just said?)
2009-05-25T21:43:30 <ThomasWaldmann> but, Text class claims support for text/, so it'll just use that.
2009-05-25T21:43:33 <dennda> yeah so you get the class that fits best, which is the class that supports text in this case
2009-05-25T21:43:55 <dennda> ok
2009-05-25T21:43:59 <dennda> thanks
2009-05-25T21:56:24 <dimazest> ThomasWaldmann: i can execute hg outgoing ssh://hg@hg.moinmo.in/moin/1.9-sandbox
2009-05-25T21:56:51 <dimazest> but not $ hg outgoing ssh://hg@hg.moinmo.in/moin/1.9-groups-dmilajevs/
2009-05-25T21:56:52 <dimazest> abort: no suitable response from remote hg!
2009-05-25T22:03:03 <ThomasWaldmann> dimazest: I'll check...
2009-05-25T22:03:20 <dimazest> thank you
2009-05-25T22:05:18 <ThomasWaldmann> retry
2009-05-25T22:05:58 <dimazest> great! it works
2009-05-25T22:06:02 <dimazest> danke
2009-05-25T22:06:20 * dimazest should practice and advance his German
2009-05-25T22:06:20 <ThomasWaldmann> bitte :)
2009-05-25T22:06:51 <CIA-19> Dmitrijs Milajevs <dimazest@gmail.com> default * 4725:13a75c5f65c7 1.9-groups-dmilajevs/ (4 files in 3 dirs): Groups2009: MoinMoin.groups module initial layout and tests. BackendManager and GroupManager classes were introduced.
2009-05-25T22:07:14 <dimazest> it seems it worked
2009-05-25T22:17:00 <ThomasWaldmann> dennda: do you remember what's up with __size, __timestamp, __rev, etc.?
2009-05-25T22:17:24 <dennda> "what's up"?
2009-05-25T22:17:34 <dennda> in what way?
2009-05-25T22:17:59 <ThomasWaldmann> I currently am assigning some constants. e.g. MIMETYPE = "mimetype"
2009-05-25T22:18:24 <ThomasWaldmann> so I was just wondering about those strings
2009-05-25T22:21:17 <dennda> ah, those are strings
2009-05-25T22:21:19 <dennda> no idea, sorry
2009-05-25T22:22:18 <dennda> I guess those should be constants as well
2009-05-25T22:24:55 <CIA-19> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5778:8798f954ce10 2.0-storage/MoinMoin/ (8 files in 5 dirs): introduce MIMETYPE metadata key constant
2009-05-25T22:30:30 <dreimark> re
2009-05-25T22:35:13 * dreimark fetches a clone of 1.9-groups-dmilajevs
2009-05-25T22:36:26 <CIA-19> dennda default * 5779:f6b05306e9c1 2.0-storage/MoinMoin/action/ (get.py revert.py show.py): storage: minor cleanup
2009-05-25T22:36:27 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5780:f36a62374d20 2.0-storage/MoinMoin/ (8 files in 5 dirs): merge remote 2.0-storage
2009-05-25T22:36:52 <dennda> sorry for that old commit name
2009-05-25T22:39:30 <dreimark> will give just a new member on ohloh
2009-05-25T22:41:46 <ThomasWaldmann> dennda: ^^that's buggy
2009-05-25T22:42:27 <ThomasWaldmann> (because the first rev is 0)
2009-05-25T22:43:30 <dennda> indeed, sorry
2009-05-25T22:43:36 <dennda> too late already :-)
2009-05-25T22:43:59 * dreimark fixes pep8 bugs in 1.9
2009-05-25T22:50:47 <CIA-19> Reimar Bauer <rb.proj AT googlemail DOT com> default * 4725:70c8457d68ab 1.9/ (2 files in 2 dirs): PEP8 whitespace fix
2009-05-25T22:50:56 <xorAxAx> devilsadvocate_: hi, whats up? not much activity lately. and no updated timeline :-(
2009-05-25T22:51:13 <xorAxAx> we have been in the coding period for 2 days, right?
2009-05-25T22:51:17 <dennda> ThomasWaldmann: do we really want to allow saving the same revision (same data & metadata) over and over again?
2009-05-25T22:51:24 <dennda> xorAxAx: yes
2009-05-25T22:52:05 <devilsadvocate_> xorAxAx: sorry. i am working on it now. havent been well for the last few days
2009-05-25T22:52:13 <xorAxAx> devilsadvocate_: ok
2009-05-25T22:52:21 <dimazest> dreimark: how is the commit?
2009-05-25T22:52:25 <xorAxAx> and i am getting better :)
2009-05-25T22:53:07 <devilsadvocate_> i am more or less back to normal, i think. so i should be doing some real work hence
2009-05-25T22:53:17 <devilsadvocate_> good to hear that xorAxAx :)
2009-05-25T22:53:38 <devilsadvocate_> ThomasWaldmann: are there any objections to me moving the diary into a subpage of its own?
2009-05-25T22:53:54 <dreimark> dimazest: I fix currently the wiki page from today
2009-05-25T22:54:22 <CIA-19> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 5781:c501b0c0a069 2.0-storage/MoinMoin/action/ (get.py revert.py show.py): storage: fix recent code cleanup. revisions start counting at 0
2009-05-25T22:55:16 <dreimark> dimazest: that sounds like a typo MoinMoin/groups/_test/test_backend_namager.py
2009-05-25T22:56:27 <xorAxAx> just move it devilsadvocate_
2009-05-25T22:56:35 <devilsadvocate_> oki
2009-05-25T22:57:18 <ThomasWaldmann> dennda: we don't need to restrict users from doing silly things
2009-05-25T22:57:54 <ThomasWaldmann> (you can also save "foo", "foofoo", "foofoofoo" :)
2009-05-25T22:57:56 <dimazest> dreimark: ouch these typos....
2009-05-25T22:58:22 <dreimark> dimazest: I have no idea how long your own repo will be online, moins will be very long. please link to the pushed version.
2009-05-25T22:58:39 <dennda> ThomasWaldmann: I would like to come back to my favorite usecase for moin
2009-05-25T22:58:50 <dennda> i.e. using it to manage large amounts of p0rn
2009-05-25T22:59:00 <ThomasWaldmann> devilsadvocate_: why do you want to move it? the calendar creates subpages for its entries anyway.
2009-05-25T22:59:30 <dennda> I was just wondering whether we should make it *that* easy to fill one's disk space with garbage
2009-05-25T22:59:32 <devilsadvocate_> ThomasWaldmann: the subpages are going to flood the navigation (children) :\
2009-05-25T23:00:52 <ThomasWaldmann> dennda: there are much more important things to do for quite a while than thinking about what silly users could do...
2009-05-25T23:01:10 <dennda> ok then
2009-05-25T23:01:18 <devilsadvocate_> ThomasWaldmann, xorAxAx, about the repo, i'm pretty happy with working with a branch of 1.9.
2009-05-25T23:01:21 <ThomasWaldmann> maybe we rather make it first work great for non-silly users :)
2009-05-25T23:01:35 <dimazest> dreimark: done repo link change. simply, by the way of writing that page i could not commit to the moin repo
2009-05-25T23:01:49 <devilsadvocate_> unless there is some reason / objection that i should work on 2.0 instead
2009-05-25T23:01:50 <ThomasWaldmann> devilsadvocate_: so how do you plan to create the admin ui?
2009-05-25T23:02:12 <dreimark> dimazest: ok, btw. it is a good idea to start CHANGES early as you did, thanks :)
2009-05-25T23:02:40 <dimazest> dreimark: i'm trying my best :)
2009-05-25T23:03:41 <devilsadvocate_> ThomasWaldmann, xorAxAx: right, so here's the plan. first i'll be doing the install stuff. there'll be a folder called installer under 1.9 with the scripts at all
2009-05-25T23:03:48 <devilsadvocate_> s/at/et
2009-05-25T23:03:55 <devilsadvocate_> s/all/al
2009-05-25T23:04:28 <devilsadvocate_> the admin scripts, next, will go into 1.9/MoinMoin/admin
2009-05-25T23:05:00 <dimazest> dreimark: should i do small commit of that typo?
2009-05-25T23:05:03 <devilsadvocate_> and the UI itself are basically systempages
2009-05-25T23:05:13 <devilsadvocate_> s/are/is
2009-05-25T23:05:38 <dreimark> yes
2009-05-25T23:07:39 <dreimark> dimazest: ^
2009-05-25T23:07:53 <dimazest> yes, i'm commiting
2009-05-25T23:07:59 <xorAxAx> devilsadvocate_: scripts go into scripts, though
2009-05-25T23:08:23 <ThomasWaldmann> devilsadvocate_: the question was about how you want to code the user interface
2009-05-25T23:08:41 <CIA-19> Dmitrijs Milajevs <dimazest@gmail.com> default * 4726:a104935ac05c 1.9-groups-dmilajevs/MoinMoin/groups/_test/ (test_backend_manager.py test_backend_namager.py): Groups2009: typo in MoinMoin.groups._test.test_backend_manager module name
2009-05-25T23:09:37 <devilsadvocate_> ThomasWaldmann: MoinMoin.widget.html ..
2009-05-25T23:10:00 <devilsadvocate_> ThomasWaldmann: the same way the userprefs is done
2009-05-25T23:10:06 <ThomasWaldmann> did you already use that? :)
2009-05-25T23:10:31 <devilsadvocate_> i tried it out once
2009-05-25T23:10:47 <devilsadvocate_> its not set in stone / we are not beyond the point of no return :P
2009-05-25T23:10:58 <devilsadvocate_> but it looks like it will be sufficient
2009-05-25T23:11:01 <ThomasWaldmann> did you look at the template stuff in moin/2.0-storage?
2009-05-25T23:11:52 <devilsadvocate_> i saw the templates
2009-05-25T23:12:07 <devilsadvocate_> but then that is in 2.0
2009-05-25T23:12:25 <devilsadvocate_> hm
2009-05-25T23:13:16 <dreimark> dimazest: please add docsrings to tests
2009-05-25T23:13:36 <dreimark> def test_membergroups (that's a blank to much)
2009-05-25T23:14:09 <dimazest> dreimark: test are not finished yed
2009-05-25T23:14:10 <devilsadvocate_> so i suppose thats why you're aking about the repo
2009-05-25T23:14:52 <ThomasWaldmann> dimazest: and please follow the "hg diff ; hg st"/read everything until you are happy/"hg commit" work cycle
2009-05-25T23:15:59 <dimazest> ThomasWaldmann: ok
2009-05-25T23:16:31 <ThomasWaldmann> (and also run the tests)
2009-05-25T23:17:15 <ThomasWaldmann> devilsadvocate_: if you start with the scripts, it doesn't matter that much what repo you use
2009-05-25T23:18:03 <ThomasWaldmann> but when starting the UI, we should decide wisely. I mean if you use that widget stuff, it will be lots of work and if we use jinja2 later anyway, we will at some time redo all that stuff.
2009-05-25T23:18:12 <devilsadvocate_> ThomasWaldmann: but that just postpones the decision. it looks like its going to be one that has to be made at some point
2009-05-25T23:18:24 <ThomasWaldmann> sure
2009-05-25T23:18:56 <devilsadvocate_> the 2.0-storage templates are jinja2 or something else? (i havent delved too depply into it, but it looks like jinja2)
2009-05-25T23:19:48 <ThomasWaldmann> yes
2009-05-25T23:21:14 <dimazest> fine, good night!
2009-05-25T23:23:17 <dreimark> dimazest: godd night, I just continue with comments, please look on it tom. apple_groups = self.group_backend.membergroups(u'Apple')
2009-05-25T23:23:35 <dreimark> suggests because of plural there should be more than one
2009-05-25T23:56:36 <dreimark> gn
MoinMoin: MoinMoinChat/Logs/moin-dev/2009-05-25 (last edited 2009-05-24 22:30:02 by IrcLogImporter)