1 2013-04-21T00:22:22  *** dwcramer has joined #moin-dev
   2 2013-04-21T00:32:37  *** ashutosh1461 has quit IRC
   3 2013-04-21T00:49:31  *** dwcramer has quit IRC
   4 2013-04-21T01:31:34  *** dwcramer has joined #moin-dev
   5 2013-04-21T02:28:42  *** mtdkw has joined #moin-dev
   6 2013-04-21T02:57:39  *** mtdkw has quit IRC
   7 2013-04-21T03:10:53  *** mtdkw has joined #moin-dev
   8 2013-04-21T03:17:40  *** vj14 has quit IRC
   9 2013-04-21T03:21:24  *** mtdkw has quit IRC
  10 2013-04-21T03:34:29  *** dwcramer has quit IRC
  11 2013-04-21T04:26:53  *** mtdkw has joined #moin-dev
  12 2013-04-21T04:28:39  *** desophos has quit IRC
  13 2013-04-21T04:40:15  *** desophos has joined #moin-dev
  14 2013-04-21T06:33:49  <sharky93> how do I give my user superuser access on the wiki ?
  15 2013-04-21T06:35:26  *** vj14 has joined #moin-dev
  16 2013-04-21T06:42:15  *** vj14 has quit IRC
  17 2013-04-21T08:40:50  *** ashutosh1461 has joined #moin-dev
  18 2013-04-21T08:42:35  <ashutosh1461> moin
  19 2013-04-21T08:55:14  *** mtdkw has quit IRC
  20 2013-04-21T09:38:39  *** mtdkw has joined #moin-dev
  21 2013-04-21T10:04:29  <dreimark> sharky93: search moin2 docs for it
  22 2013-04-21T10:09:08  *** mtdkw has quit IRC
  23 2013-04-21T10:11:00  *** Juggerr has joined #moin-dev
  24 2013-04-21T10:12:54  *** mtdkw has joined #moin-dev
  25 2013-04-21T10:29:42  *** mtdkw has quit IRC
  26 2013-04-21T10:32:18  *** Juggerr has quit IRC
  27 2013-04-21T10:42:23  *** mtdkw has joined #moin-dev
  28 2013-04-21T11:18:54  *** mtdkw has quit IRC
  29 2013-04-21T11:36:34  *** mtdkw has joined #moin-dev
  30 2013-04-21T11:37:41  *** ashutosh1461 has quit IRC
  31 2013-04-21T11:50:31  *** ashutosh1461 has joined #moin-dev
  32 2013-04-21T13:23:48  *** ashutosh1461 has quit IRC
  33 2013-04-21T13:25:30  *** puneet has joined #moin-dev
  34 2013-04-21T13:37:05  *** ashutosh1461 has joined #moin-dev
  35 2013-04-21T13:41:59  *** ashutosh1461 has quit IRC
  36 2013-04-21T13:43:14  *** ashutosh1461 has joined #moin-dev
  37 2013-04-21T13:50:52  <ThomasWaldmann> sharky93: about yesterday 16:30 CEST question: oviously you can have keys in querystring that contain & in the key, as & is the separator
  38 2013-04-21T13:51:01  <ThomasWaldmann> can't*
  39 2013-04-21T13:51:57  <sharky93> ThomasWaldmann, this would mean the suggested markup of {{ picture | | &w=50, height=100 }} cannot be used directly.
  40 2013-04-21T13:52:27  <sharky93> a possible solution is to parse the '&' convert it to some supported character in the url-encode like '-'
  41 2013-04-21T13:52:36  <ThomasWaldmann> also, if there is a &key=value in the markup, that just means that key=value should end up in the querystring and everything else that is not having a & before the key shall NOT end up there.
  42 2013-04-21T13:53:17  <ThomasWaldmann> (in the end - how that is handled in the domtree is TBD)
  43 2013-04-21T13:54:46  <sharky93> how about the solution of converting it into something we know, like a '-', and then finally in the html_conv converter, separate the query string into what actually has to go into the server.. i.e the keys with a '-' before.. and the others are rendered as attributes in the HTML
  44 2013-04-21T13:54:49  <sharky93> ThomasWaldmann, ^
  45 2013-04-21T13:58:07  *** ashutosh1461 has quit IRC
  46 2013-04-21T13:59:33  <ThomasWaldmann> i think it would be better to have stuff separated as soon as we can decide (and that is the arg parser)
  47 2013-04-21T14:00:47  <ThomasWaldmann> the qs stuff should then go into the url, the attributes stuff maybe could be encoded in same way, but put into another dom object attribute, so that the decision how it is used in the end can be taken in the output converter
  48 2013-04-21T14:01:07  <ThomasWaldmann> waldi: ^ what's your opinion on that?
  49 2013-04-21T14:08:08  <sharky93> a doubt regarding acl's -> if my acl on the page says allow "write" access to user X", but my acl_after says "no write access to anyone" .. the user X will still get the write access on the page.. ? since the ACL is evaluated from left to right ?
  50 2013-04-21T14:10:00  <ThomasWaldmann> sure. read HelpOnAccessControlLists.
  51 2013-04-21T14:11:00  *** dwcramer has joined #moin-dev
  52 2013-04-21T14:13:26  <ThomasWaldmann> (on master19.moinmo.in - that is for moin 1.9, but the basics are somehow similar for moin2)
  53 2013-04-21T14:13:45  <ThomasWaldmann> reminds me that i need to write some sphinx docs for moin2 about that...
  54 2013-04-21T14:15:34  <sharky93> got it
  55 2013-04-21T14:15:58  <ThomasWaldmann> https://moin-20.readthedocs.org/en/latest/admin/configure.html?highlight=acl#authorization this is for moin2
  56 2013-04-21T14:24:38  *** mtdkw has quit IRC
  57 2013-04-21T15:09:00  *** dwcramer has quit IRC
  58 2013-04-21T15:22:12  *** dwcramer has joined #moin-dev
  59 2013-04-21T15:26:02  *** Juggerr has joined #moin-dev
  60 2013-04-21T16:14:23  *** ashutosh1461 has joined #moin-dev
  61 2013-04-21T16:14:58  <ashutosh1461> moin
  62 2013-04-21T16:15:45  <ashutosh1461> ThomasWaldmann, please review https://codereview.appspot.com/8753043/
  63 2013-04-21T16:48:56  *** puneet has quit IRC
  64 2013-04-21T16:49:31  *** puneet has joined #moin-dev
  65 2013-04-21T17:03:21  *** sharky93 has quit IRC
  66 2013-04-21T17:04:59  *** sharky93 has joined #moin-dev
  67 2013-04-21T17:12:11  *** desophos has quit IRC
  68 2013-04-21T17:13:25  *** vj14 has joined #moin-dev
  69 2013-04-21T17:15:21  *** desophos has joined #moin-dev
  70 2013-04-21T17:31:59  <ThomasWaldmann> ashutosh1461: looks ok now. you tested different scenarios with "name" lookups?
  71 2013-04-21T17:37:43  *** desophos has quit IRC
  72 2013-04-21T17:38:06  *** desophos has joined #moin-dev
  73 2013-04-21T17:44:04  <ashutosh1461> Yes, did some tests, it works fine.
  74 2013-04-21T17:47:01  <ThomasWaldmann> ok, commit :)
  75 2013-04-21T17:47:37  <ashutosh1461> ThomasWaldmann, one more thing, create an item with contenttype (say moin.wiki) now while modifying the item select a file to upload, say now if i upload a png file the moin page crashes
  76 2013-04-21T17:49:29  *** desophos has quit IRC
  77 2013-04-21T17:49:31  <ashutosh1461> and also the upload box is not editable, say if an user selects a file to upload and he wants to remove the file URL from the Upload File Box, what should he do?
  78 2013-04-21T17:49:32  *** dwcramer has quit IRC
  79 2013-04-21T17:51:05  *** desophos has joined #moin-dev
  80 2013-04-21T18:07:05  <dreimark> ashutosh1461: exchanging of the mimetype could be blocked if we have a content type analyzer
  81 2013-04-21T18:07:17  <dreimark> until that the user has to modify meta afterwards too
  82 2013-04-21T18:08:27  <dreimark> if he don't want to upload he can go back (browser button)
  83 2013-04-21T18:09:54  <ThomasWaldmann> there is a validator. if it is switched to strict instead of warn mode, it'll reject stuff that doesn't decode.
  84 2013-04-21T18:11:17  <ashutosh1461> dreimark, well that is an option but what if the user has written something in the textarea and he does not want to go back, what about if he could manually erase the file URL ?
  85 2013-04-21T18:14:19  <dreimark> ashutosh1461: yes fot textbox items it is differntly
  86 2013-04-21T18:15:07  <dreimark> have you tried reload ?
  87 2013-04-21T18:16:18  <dreimark> in my text box my changes survive, the upload path once was gone
  88 2013-04-21T18:17:57  <dreimark> ok, the ui can be improved
  89 2013-04-21T18:18:08  <vj14> Sir, I have a doubt regarding: https://bitbucket.org/thomaswaldmann/moin-2.0/issue/313/combine-navibar-user-and-admin-tabs
  90 2013-04-21T18:18:30  <vj14> How is user differentiated from admin in the wiki?
  91 2013-04-21T18:18:55  <dreimark> vj14: admin is a user with the superuser funcion
  92 2013-04-21T18:18:58  <dreimark> +t
  93 2013-04-21T18:19:35  <ashutosh1461> upload path still remains there, should we open an issue?
  94 2013-04-21T18:19:39  <ashutosh1461> on reloading
  95 2013-04-21T18:21:54  <vj14> Yeah, but my question is that is there any way one can know whether the user is authenticated or not inside the wiki?
  96 2013-04-21T18:33:54  *** ana-balica has joined #moin-dev
  97 2013-04-21T18:46:02  <ThomasWaldmann> vj14: search for "may" in the src
  98 2013-04-21T18:51:21  <ashutosh1461> ThomasWaldmann, at some places in formatting we were using  %(variable)r instead of %(variable)s, that causes the related message to be like (the username u'Ashutosh' is already taken) instead of (the username Ashutosh is already taken). should i fix them?
  99 2013-04-21T18:57:27  <ThomasWaldmann> are these messages for logging?
 100 2013-04-21T18:58:37  <ThomasWaldmann> %r is used often for logging to avoid any issues with codings
 101 2013-04-21T18:58:42  <ashutosh1461> no, i found two instances one was for displaying the error message to the user and another one was some information
 102 2013-04-21T18:58:42  <ashutosh1461> https://codereview.appspot.com/8600044/
 103 2013-04-21T19:11:33  <ThomasWaldmann> see there
 104 2013-04-21T19:16:15  <ashutosh1461> ok fine.
 105 2013-04-21T19:17:39  <ashutosh1461> and about the upload text box thing, should an issue be created ?
 106 2013-04-21T19:21:29  <dreimark> ashutosh1461: yes
 107 2013-04-21T19:21:48  <dreimark> the ui could become redisigned
 108 2013-04-21T19:22:03  <dreimark> e.g. if upload is on a differnt layer one can close it
 109 2013-04-21T19:22:28  <dreimark> or if upload is drag and drop it saves us to maintain a different feature
 110 2013-04-21T19:22:46  <dreimark> i mean it could be same as in global indey
 111 2013-04-21T19:34:02  *** puneet has quit IRC
 112 2013-04-21T19:37:51  *** puneet has joined #moin-dev
 113 2013-04-21T19:39:27  *** desophos has quit IRC
 114 2013-04-21T20:13:31  *** vj14 has quit IRC
 115 2013-04-21T20:16:45  *** puneet has quit IRC
 116 2013-04-21T20:33:16  *** ashutosh1461 has quit IRC
 117 2013-04-21T20:43:16  *** ana-balica has quit IRC
 118 2013-04-21T22:49:24  *** Juggerr has quit IRC
 119 

MoinMoin: MoinMoinChat/Logs/moin-dev/2013-04-21 (last edited 2013-04-21 00:30:02 by IrcLogImporter)