1 2011-09-03T00:16:08 *** brunomartin
2 2011-09-03T00:33:50 *** raignarok
3 2011-09-03T08:32:02 *** raignarok
4 2011-09-03T08:52:09 <CIA-23> Reimar Bauer <rb.proj AT googlemail DOT com> pytest2 * 831:9e6653c60a98 2.0/docs/admin/configure.rst: docs: added XStatic Packages
5 2011-09-03T08:52:38 <dreimark> fsck
6 2011-09-03T08:53:26 <dreimark> ThomasWaldmann: sorry, that was the wrong branch
7 2011-09-03T08:53:47 *** pkumar
8 2011-09-03T08:57:35 <pkumar> moin
9 2011-09-03T09:01:32 *** raignarok
10 2011-09-03T09:05:10 <CIA-23> Reimar Bauer <rb.proj AT googlemail DOT com> pytest2 * 832:b7414f4780bf 2.0/docs/admin/configure.rst: docs: reverted 831:9e6653c60a98
11 2011-09-03T09:14:09 <CIA-23> Reimar Bauer <rb.proj AT googlemail DOT com> default * 833:b277658ba85c 2.0/docs/admin/configure.rst: docs: added XStatic Packages
12 2011-09-03T09:29:21 <dreimark> bbl
13 2011-09-03T10:38:39 <pkumar> ThomasWaldmann, dreimark : http://codereview.appspot.com/4919046/diff2/10001:15001/docs/devel/mointests.rst
14 2011-09-03T10:39:33 <pkumar> bbl
15 2011-09-03T10:39:36 *** pkumar
16 2011-09-03T11:15:48 <ThomasWaldmann> moin
17 2011-09-03T11:33:57 *** greg_f
18 2011-09-03T14:55:29 *** Marchael
19 2011-09-03T16:14:44 <ThomasWaldmann> I guess I'll change how user profiles are stored today.
20 2011-09-03T16:15:35 <ThomasWaldmann> currently they use "non-revisioned item-level metadata" to store their values. it is the only part of moin which uses that stuff.
21 2011-09-03T16:16:20 <ThomasWaldmann> if they used "revision metadata", it would be a better match with the rest of the code and make some storage code superfluous.
22 2011-09-03T17:44:35 *** Marchael
23 2011-09-03T18:08:58 *** Marchael
24 2011-09-03T18:33:27 <dreimark> ThomasWaldmann: hmm, yes, but has the user object then revert or diff too?
25 2011-09-03T18:33:49 <dreimark> because of acls, which match the name a revert is not always nice
26 2011-09-03T18:34:21 <dreimark> or we need a way to use uuid for acl name
27 2011-09-03T18:36:30 <ThomasWaldmann> if we do not need revisions for user items, we can use some storage that only stores 1 revision
28 2011-09-03T18:37:40 <ThomasWaldmann> and i do not see a revert problem btw. revert is nothing else than setting profile data to past values, which is possible manually also.
29 2011-09-03T18:43:12 <ThomasWaldmann> and the name change problem is not related to the change I am doing. that problem was there before and also will be there afterwards.
30 2011-09-03T19:56:47 *** Marchael
31 2011-09-03T20:01:11 *** greg_f
32 2011-09-03T20:01:20 *** Marchael
33 2011-09-03T20:05:47 *** Marchael
34 2011-09-03T20:15:09 <ThomasWaldmann> hmm, if i use contenttype application/x.moin.userprofile there, this says that the data of that revision is a userprofile
35 2011-09-03T20:15:14 *** Marchael
36 2011-09-03T20:15:22 <ThomasWaldmann> but, currently it is rather the metadata which is the userprofile
37 2011-09-03T20:15:39 <ThomasWaldmann> so, the question there is a bit, what is metadata and what is data
38 2011-09-03T20:20:06 *** Marchael
39 2011-09-03T20:33:05 <CIA-23> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 834:a99788268f64 2.0/MoinMoin/ (6 files in 5 dirs): (log message trimmed)
40 2011-09-03T20:33:05 <CIA-23> user profile storage: use revision metadata (not item metadata)
41 2011-09-03T20:33:05 <CIA-23> user profiles were the only piece of moin that needed item metadata.
42 2011-09-03T20:33:05 <CIA-23> item metadata is not indexed and needs quite some extra storage code.
43 2011-09-03T20:33:05 <CIA-23> by switching to revision metadata, we get:
44 2011-09-03T20:33:06 <CIA-23> * indexing (not implemented yet, but easy todo), faster lookup
45 2011-09-03T20:33:07 <CIA-23> * less and simpler storage code
46 2011-09-03T20:50:35 <dreimark> ThomasWaldmann: data can be the homepage or an image of the user and some other data
47 2011-09-03T20:51:16 <dreimark> or a simple description of the user
48 2011-09-03T20:52:17 <ThomasWaldmann> we'll see
49 2011-09-03T20:52:26 <ThomasWaldmann> i try now to do indexed stuff
50 2011-09-03T20:56:13 * dreimark creates some new tickets
51 2011-09-03T20:57:52 <dreimark> bitbucket migrates data
52 2011-09-03T21:16:22 <ThomasWaldmann> ok, for now users will just have an item with their username as name
53 2011-09-03T21:16:36 <ThomasWaldmann> (not using userprofile part of namespace for now)
54 2011-09-03T21:26:41 <dreimark> ThomasWaldmann: is it expected to see user creation in history?
55 2011-09-03T21:27:45 <dreimark> or why not?
56 2011-09-03T21:29:34 <CIA-23> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 835:8fcaf02251de 2.0/MoinMoin/user.py:
57 2011-09-03T21:29:34 <CIA-23> use main part of the namespace for user items, use uuid4 for user item uuids
58 2011-09-03T21:29:34 <CIA-23> we use the normal wiki namespace for now to store user profile items, using
59 2011-09-03T21:29:34 <CIA-23> the user name as item name. for now, this is simpler. if we feel the need,
60 2011-09-03T21:29:34 <CIA-23> we can go back to storing them into UserProfile/* part of the namespace.
61 2011-09-03T21:29:34 <CIA-23> If we do that, there might be the issue that itemname != username then.
62 2011-09-03T21:30:27 <ThomasWaldmann> dreimark: we can decide that later
63 2011-09-03T21:30:56 <ThomasWaldmann> it's somehow related to how exactly we deal with acls and what a user item is in the end
64 2011-09-03T22:36:35 <ThomasWaldmann> shit, openid is somehow '' (not u'') and whoosh dislikes strings...
65 2011-09-03T22:40:39 <ThomasWaldmann> ah, found it
66 2011-09-03T22:52:49 *** raignarok
67 2011-09-03T23:36:01 <CIA-23> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 836:942b53b4e095 2.0/MoinMoin/ (6 files in 5 dirs):
68 2011-09-03T23:36:01 <CIA-23> use whoosh for user lookup, add EMAIL/OPENID to latest-revs schema
69 2011-09-03T23:36:01 <CIA-23> fix some minor test issues with unicode/str data types
70 2011-09-03T23:47:54 <CIA-23> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 837:f0dceb963342 2.0/MoinMoin/user.py: user: minor refactorings in lookup functions
71 2011-09-03T23:58:36 <CIA-23> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 838:ff63eb0afd24 2.0/MoinMoin/ (apps/admin/views.py user.py): user browser: use whoosh index