1 2013-02-09T00:02:15  *** dwcramer has quit IRC
   2 2013-02-09T00:09:05  *** spy has quit IRC
   3 2013-02-09T00:28:59  *** ThomasWaldmann has quit IRC
   4 2013-02-09T00:29:23  *** ThomasWaldmann has joined #moin-dev
   5 2013-02-09T00:48:22  *** bilal has joined #moin-dev
   6 2013-02-09T01:49:09  <moinBot> http://hg.moinmo.in/moin/2.0/rev/68ca17889385 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de> namespaces merged default branch into namespaces branch
   7 2013-02-09T02:42:03  <moinBot> http://hg.moinmo.in/moin/2.0/rev/7587ba27a85a 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de> namespaces usersettings: allow multiple names
   8 2013-02-09T02:55:18  *** bilal has quit IRC
   9 2013-02-09T04:01:23  *** ronny has quit IRC
  10 2013-02-09T04:19:25  <moinBot> http://hg.moinmo.in/moin/2.0/rev/1d680cab704c 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de> namespaces determine user identity by itemid, not name
  11 2013-02-09T04:19:26  <moinBot> http://hg.moinmo.in/moin/2.0/rev/46f2e436b5ee 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de> namespaces fix userbrowser for multiple names
  12 2013-02-09T04:46:01  <moinBot> http://hg.moinmo.in/moin/2.0/rev/385ef66339aa 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de> namespaces deserializer: deal with single names, convert them to list of names
  13 2013-02-09T04:46:02  <moinBot> http://hg.moinmo.in/moin/2.0/rev/8c0b20b0b78d 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de> namespaces updated serialization of example items to use a list of names in metadata
  14 2013-02-09T05:06:45  <ThomasWaldmann> xiaq: review done
  15 2013-02-09T05:07:35  <ThomasWaldmann> about the index stuff: could you have a look at namespace branch and https://bitbucket.org/thomaswaldmann/moin-2.0/issue/320/index-view-needs-rewrite-for-multiple
  16 2013-02-09T06:14:07  <xiaq> ThomasWaldmann: CR updated https://codereview.appspot.com/7307072/
  17 2013-02-09T07:45:37  *** ronny has joined #moin-dev
  18 2013-02-09T08:28:51  <ronny> dreimark, seems i really i cant make it to this years pycamp
  19 2013-02-09T09:17:05  *** spy has joined #moin-dev
  20 2013-02-09T09:21:53  *** spy has quit IRC
  21 2013-02-09T09:22:33  *** spy has joined #moin-dev
  22 2013-02-09T10:58:59  <dreimark> ronny: ok
  23 2013-02-09T11:00:19  <dreimark> .oO weather in NY
  24 2013-02-09T13:00:08  <xiaq> dreimark: how are you using .oO here? chinese students use it as an ideograph for bubbles :)
  25 2013-02-09T13:01:48  <dreimark> oh, it was meant as oh, ohhhh, oooohhhh
  26 2013-02-09T13:02:16  <xiaq> dreimark: ach so :)
  27 2013-02-09T13:08:37  <dreimark> xiaq: d
  28 2013-02-09T13:08:44  <dreimark> u lernst gerade deutsch?
  29 2013-02-09T13:10:51  <xiaq> dreimark: ja, aber ich kann nur wenig :)
  30 2013-02-09T13:36:51  * xiaq watching Spring Festival Gala, year of snake coming in 3.5h
  31 2013-02-09T13:47:05  <sunu> ThomasWaldmann: dreimark: CR updated https://codereview.appspot.com/7289046/
  32 2013-02-09T14:08:58  <xiaq> ThomasWaldmann: what's the source of contenttype icons on +index? looks like Tango
  33 2013-02-09T14:45:12  <dreimark> xiaq: i guess yes
  34 2013-02-09T14:48:00  <dreimark> xiaq: http://hg.moinmo.in/moin/2.0/log?rev=tango
  35 2013-02-09T15:03:42  <dreimark> sunu: i think ThomasWaldmann had asked this already, is there no base template you can inherit for gae_index_storage_operations.html
  36 2013-02-09T15:04:49  <dreimark> seen your answer,
  37 2013-02-09T15:19:19  *** RogerHaase has joined #moin-dev
  38 2013-02-09T16:08:51  <ThomasWaldmann> moin
  39 2013-02-09T16:10:48  <ThomasWaldmann> RogerHaase: guess i fixed some of the issues you experiences recently, one e.g. can now load the sample items in namespaces branch
  40 2013-02-09T16:11:20  <ThomasWaldmann> (and the deserializer now even supports converting 1 name -> list of names)
  41 2013-02-09T16:12:17  <ThomasWaldmann> xiaq: year of the snake sounds like good for Python :D
  42 2013-02-09T16:12:26  <dreimark> ThomasWaldmann: http://plone.org/products/collective.recipe.omelette that path structure sounds nice
  43 2013-02-09T16:14:35  <dreimark> that makes it able to use different dependencies
  44 2013-02-09T16:14:46  <dreimark> of dependent eggs
  45 2013-02-09T16:14:56  <dreimark> **versions
  46 2013-02-09T16:15:42  <RogerHaase> ThomasWaldmann:  OK, will test again.  I had only 2 small issues, trying to remember the 2nd one...
  47 2013-02-09T16:15:43  <dreimark> that may be interesting if one wants again take plugins
  48 2013-02-09T16:26:09  <ThomasWaldmann> guess we can't take plugins if we don't manage to deeply look at last years stuff first
  49 2013-02-09T16:34:18  <ThomasWaldmann> sunu: do you feel confident carefully doing a merge default -> gae with correctly resolving any conflicts?
  50 2013-02-09T16:34:45  <xiaq> ThomasWaldmann: yeah, python programmers in china are already declaring year of python :)
  51 2013-02-09T16:35:14  <ThomasWaldmann> hehe
  52 2013-02-09T16:35:48  <xiaq> +index needs a rework i think
  53 2013-02-09T16:36:13  <xiaq> better unroll everything hidden in dropdown menus
  54 2013-02-09T16:38:19  <ThomasWaldmann> http://soyeahdjango.com/post/40712839260/when-someone-asks-why-its-called-python
  55 2013-02-09T16:39:06  <ThomasWaldmann> xiaq: i also think that, but (first) it needs that due to the multiple names
  56 2013-02-09T16:39:37  <ThomasWaldmann> the link target is currently wrong, but a simple fix for that isn't enough, it needs rethinking
  57 2013-02-09T16:56:10  *** and` has quit IRC
  58 2013-02-09T16:58:21  *** and` has joined #moin-dev
  59 2013-02-09T16:58:38  *** ronny has quit IRC
  60 2013-02-09T17:00:07  <xiaq> 0:00 in +8 now - Happy new year of python! Frohes neues Jahr vom Python! 蛇(Python)年大吉! :)
  61 2013-02-09T17:00:14  * ThomasWaldmann has now same test fail count on namespaces branch as on default branch
  62 2013-02-09T17:01:02  <ThomasWaldmann> globally different calendars are weird
  63 2013-02-09T17:04:36  <moinBot> http://hg.moinmo.in/moin/2.0/rev/3e7fc8bab8b1 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de> namespaces add some dummy methods for NonExistent item - calling base class methods would cause crashes
  64 2013-02-09T17:06:41  <xiaq> ThomasWaldmann: china also observes georgian calendar, lunar calendars are used for festivals exclusively
  65 2013-02-09T17:07:51  <ThomasWaldmann> good, but some countries choose to do differently
  66 2013-02-09T17:09:32  <xiaq> the japanese got rid of lunar calendar some 100 years ago and relocate the festivals to corresponding georgian dates, resulting in a shift of 1-2 months...
  67 2013-02-09T17:10:01  <ThomasWaldmann> and it was gregor, btw, not georg :D
  68 2013-02-09T17:10:51  <ThomasWaldmann> (or Gregory in english)
  69 2013-02-09T17:23:07  <ThomasWaldmann> xiaq: pulled your index changes, will merge into default and namespaces
  70 2013-02-09T17:25:34  <ThomasWaldmann> xiaq: btw, there are some issue in your tracker, shall they be kept there or rather get moved into the main tracker (as you code is also in the main repo)?
  71 2013-02-09T17:26:49  <moinBot> http://hg.moinmo.in/moin/2.0/rev/70c534eb5596 2013-02-08 Cheer Xiao  use whoosh for index filtering
  72 2013-02-09T17:26:50  <moinBot> http://hg.moinmo.in/moin/2.0/rev/597e051a6cd5 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de>  merged
  73 2013-02-09T17:31:42  <moinBot> http://hg.moinmo.in/moin/2.0/rev/5d672f909f27 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de> namespaces merged default into namespaces branch
  74 2013-02-09T18:02:21  <RogerHaase> ThomasWaldmann:  the only problem I see on namespaces branch is the subitem links are broken:  [u'Home/page2']
  75 2013-02-09T18:03:06  <ThomasWaldmann> you mean on index?
  76 2013-02-09T18:04:11  <RogerHaase> no, if you show any page with subitems, the modernized left sidebar has incorrect links
  77 2013-02-09T18:10:19  <ThomasWaldmann> ah, ok, I try to fix...
  78 2013-02-09T18:19:27  <ThomasWaldmann> RogerHaase: xiaq: that's broken in same way / due to same reason as indev view
  79 2013-02-09T18:19:37  <ThomasWaldmann> index view*
  80 2013-02-09T18:22:58  <ThomasWaldmann> the problem is that NAME meta is a list now. and just doing name[0] doesn't fix it, it must be the "right" name from the list
  81 2013-02-09T18:25:04  <RogerHaase> I see the name meta as a list of length one, how does it longer than one?
  82 2013-02-09T18:27:13  <ThomasWaldmann> currently no UI for that, but you can just edit the metadata (on modify view) and add more names
  83 2013-02-09T18:28:11  * ThomasWaldmann thought about changing relate UI for that
  84 2013-02-09T18:28:53  <ThomasWaldmann> (somehow my keyboard's "d" is a bit less responsive currently)
  85 2013-02-09T18:29:34  <ThomasWaldmann> in fact, rename, delete, alias (doesn't exist yet) are all just editing the names list
  86 2013-02-09T18:30:37  <RogerHaase> so if the alternate names are alias, when is selecting first name in list wrong? And how would selecting the 3rd item in list be right?
  87 2013-02-09T18:32:25  <ThomasWaldmann> only selecting the right one is right :)
  88 2013-02-09T18:32:49  <ThomasWaldmann> currently, many places do [0], but not everywhere this is right
  89 2013-02-09T18:33:05  <ThomasWaldmann> the right one is usually the one that has something to o with the URL
  90 2013-02-09T18:34:09  <ThomasWaldmann> for global actions, there is no name in the url, so we can either choose arbitrarily (including [0]) or show any or all
  91 2013-02-09T18:35:36  <RogerHaase> I added an alias to my Home page, the subitems appear with the original, but not the alias.  Is that right?
  92 2013-02-09T18:35:54  <RogerHaase> appear/ are shown in the modernized sidebar
  93 2013-02-09T18:36:14  <ThomasWaldmann> yes
  94 2013-02-09T18:36:37  <ThomasWaldmann> if you now go to HomeAlias, it should show HomeAlias/subitem
  95 2013-02-09T18:39:13  <ThomasWaldmann> hmm, it should only show that, it the subitem has also 2 names: Home/subitem an HomeAlias/subitem
  96 2013-02-09T18:40:37  <dreimark> history manages to show first name used as first
  97 2013-02-09T18:41:22  <dreimark> e.g. Example3 | Sonstig
  98 2013-02-09T18:42:39  <dreimark> if i create on Sonstig a subpage it is a new item
  99 2013-02-09T18:42:48  <dreimark> and not linked to Example3
 100 2013-02-09T18:43:10  <ThomasWaldmann> no item is linked to any other item
 101 2013-02-09T18:43:41  <dreimark> yes, but the sidebar is missing with the link
 102 2013-02-09T18:43:43  <ThomasWaldmann> the virtual relationships just come from their names
 103 2013-02-09T18:44:49  <RogerHaase> renaming items changes their place in history
 104 2013-02-09T18:45:28  <ThomasWaldmann> renaming is creating a new revision with change name metadata
 105 2013-02-09T18:45:29  <dreimark> http://test.moinmo.in/sonstig
 106 2013-02-09T18:46:16  <dreimark> that is similar to what RogerHaase has with HomeAlias/subitem
 107 2013-02-09T18:46:45  <RogerHaase> Global History shows the multiple aliases as one link to first alias
 108 2013-02-09T18:47:22  <dreimark> yes, but if we have an alias one will be on such an url
 109 2013-02-09T18:47:41  <dreimark> and will create new content as subitems on the alias
 110 2013-02-09T18:47:56  <ThomasWaldmann> for linking, it doesn't matter which name you choose, you'll end up on same item
 111 2013-02-09T18:48:08  <ThomasWaldmann> we could also use the itemid
 112 2013-02-09T18:48:11  <dreimark> not with a subitem on an alias
 113 2013-02-09T18:48:20  <dreimark> (currently)
 114 2013-02-09T18:48:57  <ThomasWaldmann> it doesn't matter for the *item*
 115 2013-02-09T18:49:21  <dreimark> small issue [u'Sonstig / Another']
 116 2013-02-09T18:49:38  <ThomasWaldmann> if we choose the subitems displayed based on the name in the url, it is of course different
 117 2013-02-09T18:49:39  <dreimark> if i select Another on the sidebar
 118 2013-02-09T18:50:17  <ThomasWaldmann> known, all stuff done by the index methods is currently broken
 119 2013-02-09T18:50:23  <dreimark> ok
 120 2013-02-09T18:52:48  <dreimark> the question is we want all subitem aliase mapped to all other aliases on the same level
 121 2013-02-09T18:52:58  <dreimark> +do
 122 2013-02-09T18:53:51  <ThomasWaldmann> ?
 123 2013-02-09T18:54:23  <dreimark> http://rn0.ru/show/B3cjadKYSUavrArYMLfF/
 124 2013-02-09T18:54:30  <dreimark> currently i do that manually
 125 2013-02-09T18:55:17  <ThomasWaldmann> i can only guess what you might mean
 126 2013-02-09T18:56:00  <ThomasWaldmann> if you have an item with name = [parentname1, parentname2]
 127 2013-02-09T18:56:25  <dreimark> then parentname2/subitem
 128 2013-02-09T18:56:36  <ThomasWaldmann> and an item with name = [parentname1/childname1]
 129 2013-02-09T18:56:57  <ThomasWaldmann> then of course it must not appear as child when looking at parentname2
 130 2013-02-09T18:57:33  <ThomasWaldmann> if you want that, you need to a parentname2/childname1 to its names
 131 2013-02-09T18:57:46  <ThomasWaldmann> add*
 132 2013-02-09T18:57:50  <ThomasWaldmann> fscking keyboard
 133 2013-02-09T18:59:39  <dreimark> yes and if a user is always on the alias working he need a way to make a subitem on its base
 134 2013-02-09T19:00:12  <dreimark> in that case parentname1
 135 2013-02-09T19:00:42  <ThomasWaldmann> that works as ever
 136 2013-02-09T19:02:10  <dreimark> hmm, don't want do that manually
 137 2013-02-09T19:02:47  <ThomasWaldmann> (if you are not being more precise, it is hard to understand what you mean or what the problem is)
 138 2013-02-09T19:03:50  <dreimark> 18:01 < ThomasWaldmann> if you want that, you need to a parentname2/childname1  to its names
 139 2013-02-09T19:04:08  <dreimark> from the point of view of a user this is extra work
 140 2013-02-09T19:04:51  <ThomasWaldmann> you don't want that always and there needs to be a decision, so no automation
 141 2013-02-09T19:09:23  <dreimark> true
 142 2013-02-09T19:29:08  <sunu> re
 143 2013-02-09T19:31:59  <sunu> ThomasWaldmann: I don't really know much about merging, resolving conflicts and version control in general. I'm still a noob :p
 144 2013-02-09T19:33:04  <ThomasWaldmann> well, maybe do some mercurial tutorial then (or read the mercurial book -> google)
 145 2013-02-09T19:33:25  <ThomasWaldmann> you'll very much need that, sooner or later
 146 2013-02-09T19:33:51  <sunu> Already on the mercurial book :)
 147 2013-02-09T19:33:57  <ThomasWaldmann> for now, I'll do the merge into gae branch, you can help by trying it out on gae then.
 148 2013-02-09T19:34:10  <ThomasWaldmann> great :)
 149 2013-02-09T19:34:35  <sunu> ok .. let me do the url change.
 150 2013-02-09T19:35:23  <ThomasWaldmann> 77 files updated, 11 files merged, 3 files removed, 0 files unresolved
 151 2013-02-09T19:35:31  * ThomasWaldmann lucky
 152 2013-02-09T19:35:42  <sunu> :D
 153 2013-02-09T19:39:00  <moinBot> http://hg.moinmo.in/moin/2.0/rev/5281fec759b1 2013-02-09 Thomas Waldmann <tw AT waldmann-edv DOT de> gae merged default branch into gae branch
 154 2013-02-09T19:39:14  <ThomasWaldmann> sunu: try now, you'll need a new or upgraded virtual env
 155 2013-02-09T19:41:27  <sunu> ok
 156 2013-02-09T19:41:37  <sunu> btw https://codereview.appspot.com/7289046 updated
 157 2013-02-09T19:43:53  * ThomasWaldmann hopes that matt release some whoosh that can be used for all branches, so we can merge gae
 158 2013-02-09T19:56:26  <sunu> ThomasWaldmann: if we don't want to make it gae specific, then we should add some routes for +cli/index for non-gae apps. Because now it's accessible only on gae
 159 2013-02-09T19:57:42  <ThomasWaldmann> iirc you have a route. do you mean a link?
 160 2013-02-09T19:59:19  <sunu> Oh sorry . No I meant a route only. But forgot that we have one :P
 161 2013-02-09T20:01:12  <ThomasWaldmann> btw, did you answer my questions about why you have that valid_commands list?
 162 2013-02-09T20:02:18  <ThomasWaldmann> "as the manager is likely matching stuff against what it has, do you need that
 163 2013-02-09T20:02:18  <ThomasWaldmann> manual validation you do on the inputs? what would happen if you just pass it
 164 2013-02-09T20:02:20  <ThomasWaldmann> through?"
 165 2013-02-09T20:03:58  <sunu> Nothing... it will raise SystemExit
 166 2013-02-09T20:06:14  <sunu> I was thinking i'm preventing arbitary code from getting into the function. But I guess we can get rid of the manual checking
 167 2013-02-09T20:06:47  <ThomasWaldmann> well, the manager will only offer what you have registered with it
 168 2013-02-09T20:07:42  <sunu> yes :) so we already have heavy protection :D
 169 2013-02-09T20:11:19  <sunu> ThomasWaldmann: what version of whoosh should i have for gae ?
 170 2013-02-09T20:12:34  <ThomasWaldmann> you are currently on 2.5dev
 171 2013-02-09T20:12:53  <ThomasWaldmann> (in the gae repo. 2.5dev is not released yet)
 172 2013-02-09T20:13:46  <sunu> yes 2.5.0 and i am still getting NotImplementedError for temp_storage again
 173 2013-02-09T20:15:08  <ThomasWaldmann> yes, matt is a bit behind with pull requests
 174 2013-02-09T20:16:17  <sunu> hmm replaced it with the previous whoosh .. first item created :)
 175 2013-02-09T20:32:40  <sunu> ThomasWaldmann: updated https://codereview.appspot.com/7289046
 176 2013-02-09T20:33:03  * sunu sleeps. GN everyone :)
 177 2013-02-09T20:33:19  <ThomasWaldmann> gn sunu
 178 2013-02-09T21:04:41  *** dwcramer has joined #moin-dev
 179 2013-02-09T21:09:38  <dreimark> ThomasWaldmann: for me only  1 failed, 608 passed, 59 skipped in 29.85 seconds in both branches
 180 2013-02-09T21:09:55  <dreimark> spy: it is this one MoinMoin/items/_tests/test_Blog.py
 181 2013-02-09T21:12:22  * dreimark now with extra requires
 182 2013-02-09T21:37:58  *** dwcramer has quit IRC
 183 2013-02-09T21:42:25  *** dwcramer has joined #moin-dev
 184 2013-02-09T22:38:14  <dreimark> gn
 185 2013-02-09T23:09:45  *** RogerHaase has left #moin-dev
 186 2013-02-09T23:28:27  *** ronny has joined #moin-dev
 187 2013-02-09T23:28:28  *** ronny has joined #moin-dev
 188 

MoinMoin: MoinMoinChat/Logs/moin-dev/2013-02-09 (last edited 2013-02-08 23:15:03 by IrcLogImporter)