1 2012-05-06T00:00:31  <dreimark> ThomasWaldmann: http://pastebin.com/U421vgmc
   2 2012-05-06T00:01:00  <dreimark> i am not sure yet but it can be that django has always problems with namespace_packages
   3 2012-05-06T00:01:55  <dreimark> because of this http://packages.python.org/lck.django/settings.html
   4 2012-05-06T00:01:56  <ThomasWaldmann> RogerHaase: done (doing wild guessing and pattern matching)
   5 2012-05-06T00:04:13  <ThomasWaldmann> dreimark: not enough information
   6 2012-05-06T00:04:28  <ThomasWaldmann> a) what is the precise problem?
   7 2012-05-06T00:04:42  <ThomasWaldmann> b) why does it happen?
   8 2012-05-06T00:04:50  <ThomasWaldmann> c) what is the suggested solution?
   9 2012-05-06T00:04:59  <ThomasWaldmann> d) why is the suggested solution correct?
  10 2012-05-06T00:07:06  <dreimark> there  is no suggestion yet, just the "why does it crash when i have this namespace_packages line"
  11 2012-05-06T00:08:57  *** jaiditya has quit IRC
  12 2012-05-06T00:44:46  <RogerHaase> ThomasWaldmann:  added a comment and set a default value:  http://codereview.appspot.com/6091043/
  13 2012-05-06T00:46:41  <dreimark> gn
  14 2012-05-06T00:49:20  *** DasIch has quit IRC
  15 2012-05-06T00:56:38  *** spy has quit IRC
  16 2012-05-06T02:19:55  *** dwcramer has quit IRC
  17 2012-05-06T02:32:59  *** dwcramer has joined #moin-dev
  18 2012-05-06T02:58:15  *** RogerHaase has left #moin-dev
  19 2012-05-06T03:34:52  *** xiaq has quit IRC
  20 2012-05-06T03:45:43  *** sudo_dirk has joined #moin-dev
  21 2012-05-06T03:46:55  *** sudo_dirk1 has quit IRC
  22 2012-05-06T04:13:20  *** MattMaker has quit IRC
  23 2012-05-06T05:03:20  *** xiaq has joined #moin-dev
  24 2012-05-06T05:23:16  *** MattMaker has joined #moin-dev
  25 2012-05-06T05:34:14  *** MattMaker has quit IRC
  26 2012-05-06T07:48:16  *** jaiditya has joined #moin-dev
  27 2012-05-06T10:24:43  *** MattMaker has joined #moin-dev
  28 2012-05-06T10:42:01  *** MattMaker has quit IRC
  29 2012-05-06T11:05:20  <dreimark> jaiditya: can you add more details to the etherpad
  30 2012-05-06T11:05:36  <dreimark> e.g. sections of moin code where changes are expected
  31 2012-05-06T11:05:45  <dreimark> or how you want to do it
  32 2012-05-06T11:06:45  <jaiditya> e.g. if i want change in css then i should mention that section..
  33 2012-05-06T11:06:46  <dreimark> it is not only what should be done, we like to work with you where the change has to go to
  34 2012-05-06T11:07:32  <jaiditya> i thought i should show them by putting screenshots
  35 2012-05-06T11:08:17  <dreimark> then you have already worked on it, or do you want to point on issues?
  36 2012-05-06T11:09:11  <dreimark> e.g. While creating a new wiki instead of showing all sub categories(
  37 2012-05-06T11:09:25  <dreimark> this needs some planning discussion
  38 2012-05-06T11:10:59  <jaiditya> yeah currently i was working on it...i'll put screenshots of wt i thought in an hour
  39 2012-05-06T11:11:07  <dreimark> jaiditya: i mean if you show a screenshot, is this for pointing to the problem?
  40 2012-05-06T11:11:14  <dreimark> ok
  41 2012-05-06T11:11:49  <jaiditya> screenshot for both pointing the problem and solution
  42 2012-05-06T11:12:42  <dreimark> I also would prefer some kind of text info before you work on a solution
  43 2012-05-06T11:13:18  <dreimark> so that we have a list of brokeness, and ideas how to solve it
  44 2012-05-06T11:14:55  <jaiditya> ok
  45 2012-05-06T11:15:23  <dreimark> there are also some other tasks which have ui elements
  46 2012-05-06T11:15:48  <dreimark> if it is discussed early those proably will be implemented with a new style etc
  47 2012-05-06T12:05:59  <xiaq> Moin
  48 2012-05-06T12:06:09  <xiaq> i'm setting up moin2 on my laptop...
  49 2012-05-06T12:06:20  <xiaq> i wonder how do i grant myself superuser rights?
  50 2012-05-06T12:06:42  <xiaq> many views under +admin has "@require_permission(SUPERUSER)
  51 2012-05-06T12:07:53  <xiaq> Hm... seems part of ACL function rights...
  52 2012-05-06T12:10:09  <xiaq> i remember ThomasWaldmann gave me a link to the doc about acl function
  53 2012-05-06T12:11:45  <xiaq> Ha, found it: http://readthedocs.org/docs/moin-20/en/latest/admin/configure.html#authorization
  54 2012-05-06T12:15:01  <ThomasWaldmann> unexpected docs found :)
  55 2012-05-06T12:18:10  <xiaq> ThomasWaldmann: wondering about something else... is it possible / a good idea to move some configurations into a special item's metadata?
  56 2012-05-06T12:19:05  <xiaq> the "reloadable" ones, not SECRET_KEY, DEBUG
  57 2012-05-06T12:20:13  <xiaq> ha it's already visible on the web at +admin/wikiconfig
  58 2012-05-06T12:22:21  <xiaq> it's reasonable to have settings like interwiki_map modifiable at runtime
  59 2012-05-06T12:22:29  <xiaq> if we store it in a special item
  60 2012-05-06T12:22:47  <xiaq> that will be another use of the yet-to-be-implemented metadata editor :)
  61 2012-05-06T12:23:30  <xiaq> in moin1 interwiki maps are taken from /InterWikiMap which is editable at runtime
  62 2012-05-06T12:24:54  <xiaq> And sth. else
  63 2012-05-06T12:25:07  <xiaq> ThomasWaldmann: i saw you mention XML "processing instructions" on the etherpad
  64 2012-05-06T12:26:59  <xiaq> ThomasWaldmann: how is that related to the mechanism to differentiating tickets?
  65 2012-05-06T12:27:32  <xiaq> another meta key looks good to me. are there downsides?
  66 2012-05-06T12:27:49  <ThomasWaldmann> (if we have nothing else to do, I may start wondering about wiki-editable config, but right now, that is definitely not the case)
  67 2012-05-06T12:29:05  <ThomasWaldmann> PI is also just another metadata key
  68 2012-05-06T12:30:22  <xiaq> so... you're just suggesting it's similar?
  69 2012-05-06T12:30:30  <ThomasWaldmann> yes
  70 2012-05-06T12:31:27  <xiaq> hm, can we rename the etherpad?
  71 2012-05-06T12:31:41  <xiaq> i have done basically s/issue/ticket/g
  72 2012-05-06T12:32:03  <ThomasWaldmann> no idea, make a backup first :D
  73 2012-05-06T12:32:35  <xiaq> seems no renaming supported...
  74 2012-05-06T12:33:21  <xiaq> changed the title though
  75 2012-05-06T12:34:09  * ThomasWaldmann is glad we have better renaming in moin2
  76 2012-05-06T12:39:04  <ThomasWaldmann> xiaq: tell when you are finished with your current work on EP
  77 2012-05-06T12:40:26  <xiaq> ThomasWaldmann: EP?
  78 2012-05-06T12:44:02  <dreimark> etherpad
  79 2012-05-06T12:44:06  <dreimark> xiaq: ^
  80 2012-05-06T12:44:17  <xiaq> i was thinking about engineering physics :)
  81 2012-05-06T12:44:57  <xiaq> ThomasWaldmann: the index part is still empty..
  82 2012-05-06T12:46:03  <xiaq> dreimark: also plz see EP chat :)
  83 2012-05-06T12:53:29  <xiaq> ThomasWaldmann: you called for a better name for "title" on EP
  84 2012-05-06T12:53:40  <xiaq> ThomasWaldmann: i'll call it "summary"
  85 2012-05-06T13:04:10  <ThomasWaldmann> xiaq: exactly
  86 2012-05-06T13:04:31  <xiaq> ThomasWaldmann: can be used for other items too
  87 2012-05-06T13:26:02  <ThomasWaldmann> sure
  88 2012-05-06T13:29:44  <dreimark> the question is if it is a title or a summary. Can we use it also as description? as alt text attr?
  89 2012-05-06T13:29:54  <dreimark> htg, bbl
  90 2012-05-06T13:49:55  *** spy has joined #moin-dev
  91 2012-05-06T15:04:23  *** kanha has joined #moin-dev
  92 2012-05-06T15:04:53  *** kanha_ has quit IRC
  93 2012-05-06T16:22:21  *** dwcramer has quit IRC
  94 2012-05-06T16:22:30  * ThomasWaldmann tries to implement itemid based lookup
  95 2012-05-06T17:24:29  <CIA-146> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 1346:62bfa171319f 2.0/MoinMoin/apps/frontend/views.py: always use itemname:... in for item names within routes
  96 2012-05-06T17:25:42  *** dwcramer has joined #moin-dev
  97 2012-05-06T17:29:50  *** paepke has joined #moin-dev
  98 2012-05-06T17:29:55  <paepke> hi
  99 2012-05-06T17:35:49  <ThomasWaldmann> moin paepke
 100 2012-05-06T17:35:53  <ThomasWaldmann> xiaq: https://bitbucket.org/thomaswaldmann/moin-2.0/issue/74/mad-url-redesign-item-lookup-idea#comment-1384171
 101 2012-05-06T17:36:34  <ThomasWaldmann> (you see that idea was already in my mind for a while)
 102 2012-05-06T17:40:51  <ThomasWaldmann> still wondering about how to make nice urls from that idea
 103 2012-05-06T17:57:36  *** RogerHaase has joined #moin-dev
 104 2012-05-06T18:26:58  <RogerHaase> ThomasWaldmann:  I do not know how to create a test for a +search page or a render_field macro call.  Do you have a pointer to a similar test?  relates to: http://codereview.appspot.com/6091043/
 105 2012-05-06T18:33:26  <ThomasWaldmann> hmm, not sure if we have such tests
 106 2012-05-06T19:27:03  *** RogerHaase has quit IRC
 107 2012-05-06T19:51:30  *** jaiditya has quit IRC
 108 2012-05-06T20:08:15  <ThomasWaldmann> localhost:8080/+lookup?itemid=7
 109 2012-05-06T20:09:16  <ThomasWaldmann> does a prefix search in the current revs index, finds itemid 756d7f6b895847bdadd1f30be21b0f47 and redirects to item "baz"
 110 2012-05-06T20:11:54  <dreimark> hmm, too long
 111 2012-05-06T20:13:28  <dreimark> localhost:8080/+item?id=7
 112 2012-05-06T20:13:41  <ThomasWaldmann> well "itemid" is the metadata key (others works also: revid, name, name_exact)
 113 2012-05-06T20:14:13  <dreimark> i see
 114 2012-05-06T20:15:01  <ThomasWaldmann> i thought about maybe checking for qs at the root item
 115 2012-05-06T20:15:11  <ThomasWaldmann> localhost:8080/?itemid=7
 116 2012-05-06T20:15:42  <dreimark> thought on that too, currently not sure if that breaks something else
 117 2012-05-06T20:16:13  <dreimark> because we have always +operation currently
 118 2012-05-06T20:17:41  <dreimark> hmm, we shoult first think about if one wants relative positions too
 119 2012-05-06T20:17:52  <ThomasWaldmann> the nice thing with using the query string is that the code can work with a form post also
 120 2012-05-06T20:18:07  <dreimark> e.g. localhost:8080/foo/+item?id=+1 or so
 121 2012-05-06T20:18:25  <ThomasWaldmann> ids are orthogonal to names, thus no
 122 2012-05-06T20:19:58  <dreimark> how are subitems enumbered or is that just linear. first created first number next gets +1 independent from the location?
 123 2012-05-06T20:20:26  <dreimark> and if an item is protected you get a missing one?
 124 2012-05-06T20:20:53  <dreimark> that is a small hole in soft security
 125 2012-05-06T20:21:00  <ThomasWaldmann> ids are uuid (random)
 126 2012-05-06T20:21:10  <dreimark> because now you don't know it exists can't see the name
 127 2012-05-06T20:21:44  <dreimark> but you know now there is something because itemid=6 is something you don't have access
 128 2012-05-06T20:22:22  <ThomasWaldmann> sorry, i don't understand
 129 2012-05-06T20:23:11  <ThomasWaldmann> a name is a way to indentify an item, a itemid is another way
 130 2012-05-06T20:23:24  <dreimark> currently if you have no access rights you can't find out that this is the case for some items
 131 2012-05-06T20:23:50  <ThomasWaldmann> a name + a revid is a way to identify a revision, just a revid is also sufficient
 132 2012-05-06T20:23:56  <dreimark> now you can increment the number and it will tell you that there are items you don't have access
 133 2012-05-06T20:24:32  <ThomasWaldmann> you don't get anything from incrementing random numbers
 134 2012-05-06T20:25:07  <ThomasWaldmann> ah, you mean by using the prefix search and a short number?
 135 2012-05-06T20:25:41  <dreimark> localhost:8080/?itemid=7 sounded like it is linear increasing, it isn't ? (i guessed it because of only 1 digit)
 136 2012-05-06T20:25:47  <dreimark> yes
 137 2012-05-06T20:26:14  <ThomasWaldmann> it is just a prefix of the long uuid
 138 2012-05-06T20:26:38  <ThomasWaldmann> but of course if you allow short prefixes, you could try them all
 139 2012-05-06T20:27:35  <ThomasWaldmann> but as i am just calling search, this should not be a problem as protection layer will deal with this
 140 2012-05-06T20:28:37  <dreimark> my point is that we make it easier to get the information that there are protected pages
 141 2012-05-06T20:28:55  <ThomasWaldmann> why?
 142 2012-05-06T20:29:34  <dreimark> because of the short prefix this is faster to lookup
 143 2012-05-06T20:30:31  <dreimark> without that it is extremly hard to guess a name or uuid to check a whole site
 144 2012-05-06T20:30:39  <ThomasWaldmann> you won't get results
 145 2012-05-06T20:31:02  <dreimark> yes, we tell only there is half of the wiki is protected
 146 2012-05-06T20:31:16  <dreimark> or something else
 147 2012-05-06T20:31:35  <ThomasWaldmann> http://hg.moinmo.in/moin/2.0/file/62bfa171319f/MoinMoin/storage/middleware/protecting.py#l54 see line 57
 148 2012-05-06T20:32:18  <ThomasWaldmann> so, if that a protected page is the only result, it won't be yielded, so there are 0 results and it will just 404
 149 2012-05-06T20:32:27  <ThomasWaldmann> -a
 150 2012-05-06T20:32:44  <dreimark> yes, but for a non existing item it tells the ui for creating it
 151 2012-05-06T20:34:55  <dreimark> i have nothing against the implementation, it is just what comes to my mind if some id is easy to access
 152 2012-05-06T20:35:49  <dreimark> and i am not sure if that is a risk.
 153 2012-05-06T20:39:48  <ThomasWaldmann> no, it doesnt
 154 2012-05-06T20:40:12  <dreimark> ok
 155 2012-05-06T20:44:10  *** dwcramer has quit IRC
 156 2012-05-06T20:44:16  <ThomasWaldmann> i think we could set up some interwiki entries like: Ticket: http://server/?itemid= (or Blog: or Paste: )
 157 2012-05-06T20:47:08  <dreimark> yes
 158 2012-05-06T20:56:03  *** dwcramer has joined #moin-dev
 159 2012-05-06T21:06:34  <paepke> anyone running moin2 with gunicorn? didn't get the trick how to give it the wikiconfig.py-path.
 160 2012-05-06T21:10:15  <ThomasWaldmann> either have it in . or give it to the app creation call
 161 2012-05-06T21:12:08  <paepke> ThomasWaldmann: in . doesn't work. can't supply it on the commandline.
 162 2012-05-06T21:12:57  <paepke> ThomasWaldmann: so writing a wrapper is the way to go?
 163 2012-05-06T21:13:03  <ThomasWaldmann> http://hg.moinmo.in/moin/2.0/file/62bfa171319f/MoinMoin/app.py#l48
 164 2012-05-06T21:13:25  <ThomasWaldmann> or create_app a few lines above
 165 2012-05-06T21:13:51  <paepke> hmm. ENVVAR
 166 2012-05-06T21:14:04  <paepke> MOINCFG
 167 2012-05-06T21:14:38  <paepke> need to read more code :-/
 168 2012-05-06T21:15:50  <ThomasWaldmann> well, such stuff is still missing from our docs maybe
 169 2012-05-06T21:15:59  <ThomasWaldmann> we usually use the builtin server
 170 2012-05-06T21:17:00  <paepke> ThomasWaldmann: I'm using nginx as frontend. as i'm normally deploying django apps with gunicorn it was my first guess to use it for moinmoin, too.
 171 2012-05-06T21:17:11  <paepke> is the builtin that stable?
 172 2012-05-06T21:18:43  <ThomasWaldmann> well, it is stable enough for development :)
 173 2012-05-06T21:19:01  <ThomasWaldmann> maybe also for desktop wiki or small intranet sites
 174 2012-05-06T21:20:38  <dreimark> paepke: we use it since moin 1.5 for development
 175 2012-05-06T21:20:57  <dreimark> and since 1.6 the desktopedition is integrated
 176 2012-05-06T21:21:06  <dreimark> so we always use it for developing
 177 2012-05-06T21:24:27  <paepke> dreimark: , ThomasWaldmann wanna use it in "production" small extranet site.
 178 2012-05-06T21:24:36  <paepke> private project.
 179 2012-05-06T21:24:47  <paepke> sure, could use moin19
 180 2012-05-06T21:25:42  <dreimark> moin2 is not production
 181 2012-05-06T21:26:06  <paepke> dreimark: i know. dont need it that stable.
 182 2012-05-06T21:28:03  <dreimark> ok, then stay on contact with us and help us to get it stable
 183 2012-05-06T21:28:11  <dreimark> s/on/in/
 184 2012-05-06T21:28:32  <paepke> dreimark: sure.
 185 2012-05-06T21:31:15  *** MattMaker has joined #moin-dev
 186 2012-05-06T21:43:47  *** dcramer_ has joined #moin-dev
 187 2012-05-06T21:45:59  <paepke> does it make sense so document my gunicorn micro-script?
 188 2012-05-06T22:00:51  <ThomasWaldmann> show it :)
 189 2012-05-06T22:13:38  *** dcramer_ has quit IRC
 190 2012-05-06T22:14:09  *** dwcramer has quit IRC
 191 2012-05-06T23:54:37  *** dcramer_ has joined #moin-dev
 192 2012-05-06T23:57:38  *** dwcramer has joined #moin-dev
 193 

MoinMoin: MoinMoinChat/Logs/moin-dev/2012-05-06 (last edited 2012-05-05 22:45:04 by IrcLogImporter)