1 2010-07-01T00:11:19  *** grzywacz has quit IRC
   2 2010-07-01T00:41:15  *** RogerHaase has left #moin-dev
   3 2010-07-01T02:03:29  *** ultralord has joined #moin-dev
   4 2010-07-01T02:03:49  <ultralord> I need save a long page in moinmoin. Error 500: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
   5 2010-07-01T02:28:28  *** ultralord has quit IRC
   6 2010-07-01T04:38:21  *** eSyr has quit IRC
   7 2010-07-01T04:39:14  *** eSyr has joined #moin-dev
   8 2010-07-01T05:00:37  *** kursor has joined #moin-dev
   9 2010-07-01T06:48:46  *** kursor has quit IRC
  10 2010-07-01T08:15:12  *** ashish has joined #moin-dev
  11 2010-07-01T08:15:25  *** ashish is now known as Guest40675
  12 2010-07-01T08:16:05  *** Guest40675 is now known as AshishG
  13 2010-07-01T08:54:21  *** gwork has joined #moin-dev
  14 2010-07-01T09:07:32  *** gwork has quit IRC
  15 2010-07-01T09:30:51  <ThomasWaldmann> moin
  16 2010-07-01T09:48:14  <valeuf> moin :)
  17 2010-07-01T10:05:37  <dreimark> moin
  18 2010-07-01T10:10:50  <waldi> moin
  19 2010-07-01T10:13:36  <grad> moin\
  20 2010-07-01T10:16:37  <dreimark> grad: what happens to your first 3 chars?
  21 2010-07-01T10:20:11  *** grad is now known as ei-grad
  22 2010-07-01T10:20:25  <ei-grad> )
  23 2010-07-01T10:33:43  <CIA-98> Dmitry Andreev <klieg.polar@gmail.com> default * 8324:8a8d99429375 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/ (rst_in.py rst_out.py):
  24 2010-07-01T10:33:43  <CIA-98> ReStructuredText->DOM and DOM->ReStructuredText:
  25 2010-07-01T10:33:43  <CIA-98> macro and table_of_content
  26 2010-07-01T10:59:49  *** eSyr has quit IRC
  27 2010-07-01T11:00:40  *** eSyr has joined #moin-dev
  28 2010-07-01T11:25:56  *** DmitryAndreev has quit IRC
  29 2010-07-01T11:49:48  *** ei-grad1 has joined #moin-dev
  30 2010-07-01T13:17:02  * ei-grad regrets that it is impossible to add an assert in a list comprehension... )
  31 2010-07-01T13:17:55  <waldi> oh np
  32 2010-07-01T13:24:32  <aa_> ei-grad: I hope I never have to read any of your code
  33 2010-07-01T13:27:12  <dreimark> aa_: he
  34 2010-07-01T13:49:17  <ronny> wtf?
  35 2010-07-01T14:00:02  *** DmitryAndreev has joined #moin-dev
  36 2010-07-01T14:05:08  *** DmitryAndreev has quit IRC
  37 2010-07-01T14:15:56  *** DmitryAndreev has joined #moin-dev
  38 2010-07-01T14:18:14  <ei-grad> bbl
  39 2010-07-01T14:22:26  *** valeuf has quit IRC
  40 2010-07-01T14:36:06  *** valeuf has joined #moin-dev
  41 2010-07-01T14:44:53  * dreimark good this time midterm is before ep and not during
  42 2010-07-01T14:50:16  *** AshishG has quit IRC
  43 2010-07-01T14:50:56  <valeuf> dreimark: normally I will have the money before I leave for EuroPython which is great ^ ^
  44 2010-07-01T15:03:14  <ThomasWaldmann> aa_: btw, i had a look at flask extensions
  45 2010-07-01T15:03:54  <ThomasWaldmann> it looks like their intended use is for extending flask (and maybe not so much your own application)
  46 2010-07-01T15:04:21  *** MrDrew has joined #moin-dev
  47 2010-07-01T15:05:27  <MrDrew> Hello... I'm trying to get moinmoin's external cookie validation working in 1.9 but it seems that request data structure has changed and there's no more "saved_cookie"
  48 2010-07-01T15:05:39  <MrDrew> Does anyone know how to get the cookies from the session?
  49 2010-07-01T15:06:02  <ThomasWaldmann> hi MrDrew
  50 2010-07-01T15:06:16  <ThomasWaldmann> yes, request stuff changed, because we use werkzeug now
  51 2010-07-01T15:06:34  <ThomasWaldmann> (werkzeug and WSGI)
  52 2010-07-01T15:07:50  <MrDrew> ok, cool. i'm not familiar with werkzeug, but i'll track down the documentation. any hints on how to get the cookies from werkzeug?
  53 2010-07-01T15:08:18  <ThomasWaldmann> http://hg.moinmo.in/moin/1.9/file/011bbc010d40/MoinMoin/web/session.py#l302
  54 2010-07-01T15:08:41  <ThomasWaldmann> see there about how moin uses request.cookies
  55 2010-07-01T15:09:18  <ThomasWaldmann> MrDrew: are you working on that code that is in contrib/... ?
  56 2010-07-01T15:09:56  <MrDrew> Thomas: I'm working on the code on http://master19.moinmo.in/HelpOnAuthentication/ExternalCookie
  57 2010-07-01T15:10:18  <MrDrew> Thomas: should I be looking elsewhere?
  58 2010-07-01T15:10:40  <ThomasWaldmann> http://hg.moinmo.in/moin/1.9/file/011bbc010d40/contrib/auth_externalcookie/wikiconfig.py i mean that
  59 2010-07-01T15:10:50  <aa_> ThomasWaldmann: flask extensions are for extending flask, yes. Flask Modules are for composing your own applications
  60 2010-07-01T15:12:10  <ThomasWaldmann> MrDrew: i don't use either of these. but if you fix some stuff for 1.9, please provide a fixed and tested version of it.
  61 2010-07-01T15:12:11  <MrDrew> Thomas: looks similar, except that line 22, specifically request.saved_cookie, no longer works...
  62 2010-07-01T15:12:20  <MrDrew> Thomas: will do!
  63 2010-07-01T15:13:26  <ThomasWaldmann> aa_: ah!
  64 2010-07-01T15:18:49  <ThomasWaldmann> ok, for "subapplications", Modules are right. But I still miss Plugin-like stuff (like we have for parsers, macros, etc.)
  65 2010-07-01T15:20:18  <aa_> ThomasWaldmann: a plugin-extension would be required
  66 2010-07-01T15:20:31  <aa_> (if that makes sense) an extension to provide user-hooks of functionality
  67 2010-07-01T15:24:16  <MrDrew> Thomas: seems that request.cookies is empty?
  68 2010-07-01T15:44:05  *** kursor has joined #moin-dev
  69 2010-07-01T15:54:11  <ThomasWaldmann> MrDrew: our sessions work :)
  70 2010-07-01T15:54:18  <ThomasWaldmann> maybe you have no cookies?
  71 2010-07-01T16:06:48  <MrDrew> Thomas: alas, plenty of cookies floating around. wonder if the request is only responding with moinmoin cookies and not the whole set...
  72 2010-07-01T16:07:40  <MrDrew> Thomas: it is strange that I'm getting no cookies. not even any of the moin moin session variable ones
  73 2010-07-01T16:10:32  <ThomasWaldmann> it depends on the cookie (for which host/domain/path etc. it is valid)
  74 2010-07-01T16:10:57  <ThomasWaldmann> are you logged in via the normal moin login?
  75 2010-07-01T16:12:20  *** RogerHaase has joined #moin-dev
  76 2010-07-01T16:13:25  *** kursor has quit IRC
  77 2010-07-01T16:18:14  <valeuf> ThomasWaldmann: is it possible to access metadata from the converter ?
  78 2010-07-01T16:18:29  <MrDrew> Thomas: so I logged in under the normal moin login and then can see the cookie for the moin session (MOIN_SESSION_8080_ROOT).
  79 2010-07-01T16:18:58  <MrDrew> Thomas: now I just have to figure out how to get cookies from a different host/domain/path so that I can check it against the other application's session info
  80 2010-07-01T16:28:33  <ThomasWaldmann> valeuf: look if you can access the item or the revision
  81 2010-07-01T16:28:48  <valeuf> ThomasWaldmann: ok I will check that later, I was just curious
  82 2010-07-01T16:28:52  <ThomasWaldmann> i guess we'll need that for processing images
  83 2010-07-01T16:29:19  <valeuf> ThomasWaldmann: I need to think more about it, because at this time it is quite messy in my mind, I am afraid to choose wrong solution
  84 2010-07-01T16:29:31  <ThomasWaldmann> (and maybe also some other mimetypes that need special treatment to work right with current browsers)
  85 2010-07-01T16:29:32  <valeuf> ThomasWaldmann: I am booting up the ground of the DocBook converter at this time
  86 2010-07-01T16:34:12  <MrDrew> Thomas: thanks for all your help and suggestions, by the way. new to MoinMoin and looking forward to contributing.
  87 2010-07-01T16:34:31  <ThomasWaldmann> MrDrew: in moin2 there is lots of opportunity for that :)
  88 2010-07-01T16:35:19  <ThomasWaldmann> for moin 1.9, it is rather about fixes, patches are always welcome
  89 2010-07-01T16:40:50  <RogerHaase> MrDrew: I wrote http://master19.moinmo.in/HelpOnAuthentication/ExternalCookie, but haven't bothered to update it for 1.9 since there didn't seem to be any interest.  I need a few minutes to review the code and I will update it.
  90 2010-07-01T16:41:26  <MrDrew> Thomas: excellent. well, i'm happy to work on both patches to 1.9 and contribute to moin2 : )
  91 2010-07-01T16:41:50  <ThomasWaldmann> the difference between moin 1.x and moin 2 are rather big, btw, so, if you do bigger projects maybe talk to us here about best way
  92 2010-07-01T16:41:52  <MrDrew> Roger: i think it's as simple as changing line 22 from request.saved_cookies to request.request.cookies
  93 2010-07-01T16:47:12  <MrDrew> Roger: well, at least that's the first change... looks like a few others, but I can help with a patch if you'd like
  94 2010-07-01T16:47:47  <RogerHaase> MrDrew: I have a couple of other notes for 1.9, plus more for Python 2.5/2.6 changes.  Still looking...
  95 2010-07-01T16:49:05  <ThomasWaldmann> MrDrew: if you plan more moin hacking, do you use mercurial?
  96 2010-07-01T16:49:42  <ThomasWaldmann> RogerHaase: what do you mean with py 2.5/2.6 changes?
  97 2010-07-01T16:58:26  <RogerHaase> Just have to add .value to get cookie value: http://paste.pocoo.org/show/232320/
  98 2010-07-01T16:59:13  <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5762:7f201a8059db 1.9-ldap-kerberos-agrigorev/MoinMoin/datastruct/backends/ (_tests/test_ldap_groups.py ldap_groups.py): [LDAP2010] s/LDAPGroup/LDAPLazyGroup/g
  99 2010-07-01T16:59:16  <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5763:609a10534060 1.9-ldap-kerberos-agrigorev/MoinMoin/datastruct/backends/ldap_groups.py:
 100 2010-07-01T16:59:16  <CIA-98> [LDAP2010] Added a LDAPGroups backend with support of nested groups
 101 2010-07-01T16:59:16  <CIA-98> Added a simple ADGroups backend, that uses LDAPGroups
 102 2010-07-01T16:59:19  <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5764:9eb8b5cbb990 1.9-ldap-kerberos-agrigorev/MoinMoin/datastruct/backends/ (_tests/test_ldap_groups.py ldap_groups.py):
 103 2010-07-01T16:59:19  <CIA-98> [LDAP2010] Renamed member_search_filter and member_name_attribute parameters for LDAPLazyGroups
 104 2010-07-01T16:59:19  <CIA-98> Changed group_search_filter, user_search_filter and start_tls default values for LDAPLazyGroups.__init__
 105 2010-07-01T16:59:19  <CIA-98> Fixed syntax error in LDAPGroups._get_search_filter
 106 2010-07-01T16:59:51  <MrDrew> Thomas: i'm more of a git fan, but i think i could manage to use mercurial : )
 107 2010-07-01T17:00:44  <ThomasWaldmann> it's rather similar and in python :)
 108 2010-07-01T17:02:26  <ThomasWaldmann> RogerHaase: can't one just use werkzeug's .cookies?
 109 2010-07-01T17:03:06  <ThomasWaldmann> and I am wondering about whether py 2.5 and 2.6 is not compatible for cookies?
 110 2010-07-01T17:05:54  <MrDrew> Roger: interesting 2.5 v. 2.6 difference. however, i'm running 2.6 and the request.cookie is a dictionary of text objects so no need to use .value
 111 2010-07-01T17:06:49  <MrDrew> Thomas: I believe 2.5 and 2.6 handle it the same way, unless something has changed in how werkzeug.datastructures.dict is constructed in the different versions
 112 2010-07-01T17:13:36  <RogerHaase> MrDrew: I updated http://master19.moinmo.in/HelpOnAuthentication/ExternalCookie with what I am running with.  I think I removed all my passwords.  Some of the "uncomment lines below" comments are wrong.
 113 2010-07-01T17:20:04  <RogerHaase> The 2.5/2.6 cookie problem came up when I tried to test my wiki on Ubuntu 10.04.  I did a quick fix, which may not be the best fix.
 114 2010-07-01T17:24:30  <RogerHaase> MrDrew: Feel free to update http://master19.moinmo.in/HelpOnAuthentication/ExternalCookie with any improvements you make.  There aren't many external cookie users.
 115 2010-07-01T18:06:04  *** DmitryAndreev has quit IRC
 116 2010-07-01T18:11:33  <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5765:f8c32495c3a6 1.9-ldap-kerberos-agrigorev/MoinMoin/datastruct/backends/ (_tests/test_ldap_groups.py ldap_groups.py):
 117 2010-07-01T18:11:33  <CIA-98> [LDAP2010] Started to write tests for LDAPGroups
 118 2010-07-01T18:11:33  <CIA-98> Fixes in LDAPGroups.
 119 2010-07-01T18:44:19  <ThomasWaldmann> ei-grad: you saw my query?
 120 2010-07-01T19:29:18  <ei-grad> ThomasWaldmann: yes, i replied...
 121 2010-07-01T19:29:20  <ei-grad> bbl
 122 2010-07-01T19:54:57  *** grzywacz has joined #moin-dev
 123 2010-07-01T19:56:26  *** DmitryAndreev has joined #moin-dev
 124 2010-07-01T21:53:57  <ThomasWaldmann> re
 125 2010-07-01T22:42:38  <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8510:ae16b02fcaa8 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_html_out.py: Add tests for the lists in HTML_OUT converter
 126 2010-07-01T22:42:43  <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8511:0f649d7f7f64 2.0-dev-docbook-html-vjaniaut/MoinMoin/util/tree.py: Add docbook namespace
 127 2010-07-01T22:42:43  <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8512:6753e250e01c 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_out.py: Basic docbook_out test
 128 2010-07-01T22:42:44  <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8513:97995585d6e0 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_out.py: Add docbook_out converter groundwork
 129 2010-07-01T22:43:38  <valeuf> I hate starting something new, I always feel that it is huge to finish it :p
 130 2010-07-01T22:54:21  <dreimark> valeuf: start with tests and you see it becomes simpler
 131 2010-07-01T22:54:31  <valeuf> dreimark: it is quite what I did
 132 2010-07-01T22:55:09  <valeuf> dreimark: actually, I should say that starting to write test before implementing a feature for the converter is something really great
 133 2010-07-01T23:05:16  <MrDrew> still plugging away here : )   quick question.... when running wikiserver.py, how do you configure where the webserver looks for static files?
 134 2010-07-01T23:09:34  <MrDrew> I found where I can change where the browswer requests them from (i.e. url_prefix_static)
 135 2010-07-01T23:10:46  <MrDrew> oops, never mind. i found it :)
 136 2010-07-01T23:12:52  <MrDrew> now I just need to figure out how to get wikiserver.py to recognize wikiserverconfig.py : )
 137 2010-07-01T23:28:26  <dreimark> what do you mean how to find out
 138 2010-07-01T23:29:24  <dreimark> MrDrew: don't you change the one in toplevel dir?

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-07-01 (last edited 2010-06-30 22:45:03 by IrcLogImporter)