1 2011-02-09T00:04:04  *** m4k3r has quit IRC
   2 2011-02-09T00:18:26  * dreimark new mail from carol on mentor ML
   3 2011-02-09T00:25:15  <ThomasWaldmann> ah, interesting
   4 2011-02-09T00:25:43  <dreimark> may be svg-edit gets by this a slot too
   5 2011-02-09T01:03:18  <dreimark> gn
   6 2011-02-09T01:04:31  <ThomasWaldmann> gn dreimark
   7 2011-02-09T02:36:13  *** xjjk has quit IRC
   8 2011-02-09T02:37:09  *** xjjk has joined #moin-dev
   9 2011-02-09T03:18:41  *** cosmos_thought has quit IRC
  10 2011-02-09T03:20:15  *** cosmos_thought has joined #moin-dev
  11 2011-02-09T04:08:55  *** Marchael has joined #moin-dev
  12 2011-02-09T04:58:49  *** Marchael has quit IRC
  13 2011-02-09T05:00:39  *** kursor has joined #moin-dev
  14 2011-02-09T05:06:44  *** Marchael has joined #moin-dev
  15 2011-02-09T05:14:34  *** Marchael has quit IRC
  16 2011-02-09T05:21:55  *** ThomasWaldmann has quit IRC
  17 2011-02-09T05:21:57  *** xorAxAx has quit IRC
  18 2011-02-09T05:21:59  *** TheSheep has quit IRC
  19 2011-02-09T05:22:02  *** xjjk has quit IRC
  20 2011-02-09T05:22:03  *** zynox has quit IRC
  21 2011-02-09T05:22:03  *** diofeher has quit IRC
  22 2011-02-09T05:22:03  *** gwork has quit IRC
  23 2011-02-09T05:22:07  *** MattMaker has quit IRC
  24 2011-02-09T05:22:08  *** vpv has quit IRC
  25 2011-02-09T05:22:09  *** dreimark has quit IRC
  26 2011-02-09T05:22:10  *** CIA-65 has quit IRC
  27 2011-02-09T05:25:46  *** xjjk has joined #moin-dev
  28 2011-02-09T05:25:46  *** gwork has joined #moin-dev
  29 2011-02-09T05:25:46  *** MattMaker has joined #moin-dev
  30 2011-02-09T05:25:46  *** dreimark has joined #moin-dev
  31 2011-02-09T05:25:46  *** TheSheep has joined #moin-dev
  32 2011-02-09T05:25:46  *** ThomasWaldmann has joined #moin-dev
  33 2011-02-09T05:25:46  *** zynox has joined #moin-dev
  34 2011-02-09T05:25:47  *** CIA-65 has joined #moin-dev
  35 2011-02-09T05:25:47  *** diofeher has joined #moin-dev
  36 2011-02-09T05:25:47  *** xorAxAx has joined #moin-dev
  37 2011-02-09T05:25:47  *** vpv has joined #moin-dev
  38 2011-02-09T06:05:06  *** Marchael has joined #moin-dev
  39 2011-02-09T06:06:13  *** kursor has quit IRC
  40 2011-02-09T06:26:54  <Marchael> moin
  41 2011-02-09T07:04:38  <Marchael> ThomasWaldmann: Looks like yerstaday bug appears when I create HTML item from scratch and put nothing or text without any tags in the textform
  42 2011-02-09T07:10:47  <Marchael> also I`m not seeing text editor on localhost. Is there somethig way to enable it(config?)?
  43 2011-02-09T07:12:59  *** Marchael has quit IRC
  44 2011-02-09T07:23:36  *** Marchael has joined #moin-dev
  45 2011-02-09T07:27:14  *** Marchael has quit IRC
  46 2011-02-09T07:38:04  *** kasun has joined #moin-dev
  47 2011-02-09T07:57:41  *** Marchael has joined #moin-dev
  48 2011-02-09T08:21:26  *** Marchael has quit IRC
  49 2011-02-09T08:37:56  *** Marchael has joined #moin-dev
  50 2011-02-09T08:38:45  <Marchael> How can I get data_text from objects in MoinMoin/items/__init__.py? I use item.get_data() but it returns nothing
  51 2011-02-09T08:59:05  *** Marchael has quit IRC
  52 2011-02-09T09:00:15  *** Marchael has joined #moin-dev
  53 2011-02-09T09:07:50  *** Marchael has quit IRC
  54 2011-02-09T09:08:14  *** Marchael has joined #moin-dev
  55 2011-02-09T09:09:14  *** kasun has quit IRC
  56 2011-02-09T09:24:13  *** kasun has joined #moin-dev
  57 2011-02-09T09:32:43  <Marchael> oh, found it. data_text = request.values.get('data_text')
  58 2011-02-09T09:50:46  <Marchael> ThomasWaldmann: are you here?
  59 2011-02-09T10:13:48  <Marchael> I add textcha support for /+modify, but I using one temlate for rendering all types of items(HTML,text,video etc.). And I`m need an advice.
  60 2011-02-09T10:14:33  <Marchael> s/temlate/template/
  61 2011-02-09T10:17:16  <Marchael> To solve this task, I can modify all do_modify() in MoinMoin/items/__init.py, but I think it`s not good idea
  62 2011-02-09T10:20:35  <Marchael> Or for each class in MoinMoin/items/__init__.py add variable 'template_name="some_template.html" and get it in MoinMoin/apps/frontend/views.py.
  63 2011-02-09T10:20:35  <Marchael> For example, render_template(item.template_name, blah blah)
  64 2011-02-09T10:52:16  <Marchael> еще думаю дать тему связанную с тонкими клиентами на линукс и поддержкой авторизации
  65 2011-02-09T10:52:57  <Marchael> и дать на выбор kerberos + nfs, smbfs etc
  66 2011-02-09T10:53:31  <Marchael> sorry, wrong window :D
  67 2011-02-09T11:34:50  *** greg_f has joined #moin-dev
  68 2011-02-09T11:35:48  <ThomasWaldmann> moin
  69 2011-02-09T11:36:36  <ThomasWaldmann> Marchael: about the html item without tags. yes, I told you so yesterday already.
  70 2011-02-09T11:38:01  <ThomasWaldmann> what do you mean with "i do not see the text editor on localhost". ckeditor? did you use the quickinstall script to download and unpack ckeditor to env/ ?
  71 2011-02-09T11:40:40  <Marchael> hm, no. I just start ./moin :)
  72 2011-02-09T11:42:01  <dreimark> Marchael: may be read the quickinstall script in the same dir
  73 2011-02-09T11:42:13  <dreimark> it is for setting up all the environment
  74 2011-02-09T11:42:21  <dreimark> in virtualenv
  75 2011-02-09T11:52:20  <ThomasWaldmann> Marchael: one issue with the textcha stuff on +modify (tested for moin wiki text type) is that is easily overlooked down there at the bottom
  76 2011-02-09T11:52:46  <ThomasWaldmann> but it handles that case gracefully at least, one gets the form again, missing stuff in red
  77 2011-02-09T11:53:57  <Marchael> Yes, therefore I think what it will be good idea to move "Save" and "Cancell" buttons at bottom
  78 2011-02-09T11:55:03  <ThomasWaldmann> well, we had them at the bottom (a long time ago) and people wanted them above so they don't have to scroll down
  79 2011-02-09T11:55:57  <ThomasWaldmann> also, if the save button happens to be down there far enough, it might be not visible, which is a problem for people not realising that they need to scroll down
  80 2011-02-09T11:57:08  <Marchael> Ok, them I`m need to move textcha to top part of page?
  81 2011-02-09T11:57:34  <ThomasWaldmann> maybe just right of the buttons?
  82 2011-02-09T11:58:49  <Marchael> ok, I try
  83 2011-02-09T12:01:38  <ThomasWaldmann> about the template stuff, I'ld first have to look in the code to see how to best solve it. or you show your current hg diff if you like comments about your src.
  84 2011-02-09T12:03:33  <ThomasWaldmann> btw, as long as you did not successfully run quickinstall, there might be a lot of other stuff missing (e.g. the drawing applets, jquery, ...)
  85 2011-02-09T12:40:20  *** Marchael has quit IRC
  86 2011-02-09T12:40:44  *** Marchael has joined #moin-dev
  87 2011-02-09T13:37:10  *** kasun has quit IRC
  88 2011-02-09T14:16:53  <Marchael> ThomasWaldmann: http://paste.pocoo.org/show/334983/
  89 2011-02-09T14:17:51  <Marchael> This is my code. I hope this shalln`t too ugly :)
  90 2011-02-09T14:42:44  *** kasun has joined #moin-dev
  91 2011-02-09T16:04:38  *** kasun has quit IRC
  92 2011-02-09T16:05:23  <Marchael> ThomasWaldmann:
  93 2011-02-09T16:14:37  <dreimark> Marchael: do you have run pytest especially test_sourcecode?
  94 2011-02-09T16:14:52  <dreimark> acomment =  request.values.get('comment')
  95 2011-02-09T16:14:59  <dreimark>                  ^
  96 2011-02-09T16:15:15  <dreimark> comment =  < to much blanks
  97 2011-02-09T16:15:37  <dreimark> indenting not so nice in the render_template line below
  98 2011-02-09T16:17:49  <dreimark> what is the meaning of TextChaizedForm, the word Chaized is unknown to me
  99 2011-02-09T16:18:33  *** gwork has quit IRC
 100 2011-02-09T16:19:21  <dreimark> what does the change in line 249 have to do with textcha ? manager.add_command("moin", Server(host='0.0.0.0', port=8080)
 101 2011-02-09T16:19:45  <dreimark> or in line 240?
 102 2011-02-09T16:19:52  <dreimark> +#!/usr/bin/env python2
 103 2011-02-09T16:24:39  <Marchael> 240 and 249 It is my changes for testing moin, next time I can cut this from hg diff
 104 2011-02-09T16:24:53  <Marchael> class TextChaizedForm(Form):
 105 2011-02-09T16:25:33  <Marchael> writing not me
 106 2011-02-09T16:26:06  <dreimark> ah ok, i just wondered about the name if it is a typo
 107 2011-02-09T16:30:40  <dreimark> Marchael: did you run pytest from top level dir?
 108 2011-02-09T16:32:12  <Marchael> It`s running now
 109 2011-02-09T16:40:09  <Marchael> It`s done with errors, but I can`t find a line with such error
 110 2011-02-09T16:41:11  <Marchael> > acomment =  request.values.get('comment')
 111 2011-02-09T16:41:12  <Marchael> acomment?
 112 2011-02-09T16:52:00  <Marchael> dreimark:
 113 2011-02-09T16:53:37  <Marchael> I have running moin with my code locally, but It`s accessible from Internet.
 114 2011-02-09T16:53:56  <Marchael> If you need, I can provide a link
 115 2011-02-09T16:58:51  *** zynox has quit IRC
 116 2011-02-09T16:59:21  *** zynox has joined #moin-dev
 117 2011-02-09T17:18:21  *** zynox has quit IRC
 118 2011-02-09T17:18:52  *** zynox has joined #moin-dev
 119 2011-02-09T17:20:37  <dreimark> Marchael: remove the a from the beginning
 120 2011-02-09T17:20:46  *** kursor has joined #moin-dev
 121 2011-02-09T17:21:02  <ThomasWaldmann> Marchael: don't commit unintended changes like the one in 249
 122 2011-02-09T17:21:26  <dreimark> bbl, going to have a presentation about mm2
 123 2011-02-09T17:21:38  <ThomasWaldmann> dreimark: ah, have fun :)
 124 2011-02-09T17:21:51  <ThomasWaldmann> point people to this channel :)
 125 2011-02-09T17:22:31  * ThomasWaldmann is wondering about whether TextChaizedForm wasn't rather intended as base class and not to be used directly
 126 2011-02-09T17:25:51  <ThomasWaldmann> hmm, yes, it is, but of course that needs more changes...
 127 2011-02-09T17:26:40  <Marchael> that changes?
 128 2011-02-09T17:26:58  <ThomasWaldmann> Marchael: we can use it like you do it right now, but there should be more form changes later
 129 2011-02-09T17:27:05  <Marchael> s/that/what/
 130 2011-02-09T17:27:16  <ThomasWaldmann> so that the whole form is a subclass of TextchaizedForm
 131 2011-02-09T17:27:27  <ThomasWaldmann> and gets fed and validated with flatland
 132 2011-02-09T17:31:42  <ThomasWaldmann> Marchael: do you imports forms.html in modify_binary.html?
 133 2011-02-09T17:32:08  <ThomasWaldmann> your diff looks a bit strange there
 134 2011-02-09T17:32:23  <Marchael> oops
 135 2011-02-09T17:32:25  <ThomasWaldmann> you import it into modify_applet (but you don't use it there)
 136 2011-02-09T17:32:43  <ThomasWaldmann> but you use it in modify_binary, but you don't import it there :)
 137 2011-02-09T17:32:52  <Marchael> I forgot add this line when move textcha from bottom to top :)
 138 2011-02-09T17:33:32  <ThomasWaldmann> and don't forget to "hg revert moin" before commit, or everybody will get your changes there :)
 139 2011-02-09T17:34:17  <ThomasWaldmann> it maybe makes sense to just cp moin mymoin and keep mymoin as unrevisioncontrolled file
 140 2011-02-09T17:35:05  <ThomasWaldmann> other than that, you change looks good :)
 141 2011-02-09T17:35:22  <ThomasWaldmann> maybe try all views you changed before committing
 142 2011-02-09T17:35:31  <ThomasWaldmann> and also run ./pytest to find pep8 issues
 143 2011-02-09T17:47:37  <Marchael> ThomasWaldmann: ok, I`m trying other views, but am I need external repo which can be using for merging with official repo?
 144 2011-02-09T17:54:11  <ThomasWaldmann> Marchael: well, you could either get a bitbucket repo to publish your stuff (i can easily merge it back then) or (for few changes), you can also export a changeset to a pastebin or so
 145 2011-02-09T17:54:51  <ThomasWaldmann> if you think your change is finished and perfect, you just locally commit
 146 2011-02-09T17:55:14  <ThomasWaldmann> (good commit comment please and set your name in .hgrc first, so it is correct in the commit)
 147 2011-02-09T17:55:36  <ThomasWaldmann> and then either push to your public repo or hg export ...
 148 2011-02-09T17:56:25  <Marchael> No one is perfect :)
 149 2011-02-09T17:57:20  <ThomasWaldmann> true, but I usually read through hg diff as often until i run out of ideas how to do it better :)
 150 2011-02-09T17:57:42  <ThomasWaldmann> usually one finds some typos or some other stuff while reading it
 151 2011-02-09T17:58:33  <ThomasWaldmann> that avoids having to do a few more commits to fix all that stuff 5 minutes later :)
 152 2011-02-09T18:00:04  <Marchael> ok, I'll be back in a few minutes.
 153 2011-02-09T18:00:07  *** Marchael has quit IRC
 154 2011-02-09T18:39:03  *** Marchael has joined #moin-dev
 155 2011-02-09T18:40:38  *** kasun_ has joined #moin-dev
 156 2011-02-09T18:44:53  *** cosmos_thought has quit IRC
 157 2011-02-09T18:45:56  <ThomasWaldmann> dreimark: greetings to andreas schreiber, I just read his xing invitation, but I will only virtually be present over this channel here :)
 158 2011-02-09T18:46:32  <ThomasWaldmann> (with some interruption as i drive to our local linux meeting soon)
 159 2011-02-09T18:55:48  *** Marchael has quit IRC
 160 2011-02-09T19:13:26  *** Marchael has joined #moin-dev
 161 2011-02-09T19:23:19  *** kasun_ is now known as kasun
 162 2011-02-09T19:27:36  *** kursor has quit IRC
 163 2011-02-09T19:33:16  *** kasun has quit IRC
 164 2011-02-09T19:33:50  *** kasun has joined #moin-dev
 165 2011-02-09T19:42:33  <TheSheep> funny thing about that python wiki
 166 2011-02-09T19:42:43  <TheSheep> they need volunteers but I'm still waiting for access
 167 2011-02-09T19:48:34  *** Marchael has quit IRC
 168 2011-02-09T19:50:53  *** Marchael has joined #moin-dev
 169 2011-02-09T19:51:26  *** greg_f has quit IRC
 170 2011-02-09T19:51:39  *** kasun has quit IRC
 171 2011-02-09T19:52:38  *** kasun has joined #moin-dev
 172 2011-02-09T19:56:15  *** kasun has quit IRC
 173 2011-02-09T19:58:55  *** kasun has joined #moin-dev
 174 2011-02-09T20:05:00  <dreimark> ThomasWaldmann: greetings from pycologne
 175 2011-02-09T20:05:10  <dreimark> please define transclude
 176 2011-02-09T20:12:31  *** grzywacz has joined #moin-dev
 177 2011-02-09T20:12:31  *** grzywacz has joined #moin-dev
 178 2011-02-09T20:20:23  <ThomasWaldmann> dreimark: hi
 179 2011-02-09T20:21:36  <ThomasWaldmann> transclude is like embed / include. moin does it by hanging the other domtree into the current domtree at the current position.
 180 2011-02-09T20:23:45  <ThomasWaldmann> works for all sorts of mimetypes, even for non-existing items
 181 2011-02-09T21:00:57  *** Marchael has quit IRC
 182 2011-02-09T21:19:27  *** kasun has quit IRC
 183 2011-02-09T21:19:50  *** kasun has joined #moin-dev
 184 2011-02-09T21:25:59  *** kasun has joined #moin-dev
 185 2011-02-09T22:01:06  *** m4k3r has joined #moin-dev
 186 2011-02-09T22:33:41  *** RogerHaase has joined #moin-dev
 187 2011-02-09T22:34:22  <RogerHaase> ThomasWaldmann:  quickinstall.bat, try 2 ==> http://paste.pocoo.org/show/335318/
 188 2011-02-09T22:37:35  <RogerHaase> I copied "AnyWikiDraw 0.14" to AnyWikiDraw rather than use the mklink command.  mklink requires NTFS file system and special admin privileges.
 189 2011-02-09T22:39:10  <RogerHaase> ThomasWaldmann: I tried merging tip into my 4 month old changes.  Problem 1, the server wouldn't start.
 190 2011-02-09T22:44:02  <RogerHaase> Tried new clone of current repo and then merged my merge.  Problem 2, server starts but page looks like unformatted wiki page content.  In the middle of this http://paste.pocoo.org/show/335322/ is an ImportError: cannot import name _
 191 2011-02-09T22:45:40  <RogerHaase> I am out of time and will not be able to work on the merge for several more days.
 192 2011-02-09T22:51:06  *** RogerHaase has left #moin-dev
 193 2011-02-09T23:07:26  *** kasun has left #moin-dev
 194 2011-02-09T23:11:28  <ThomasWaldmann>  re
 195 2011-02-09T23:47:57  *** m4k3r has quit IRC
 196 

MoinMoin: MoinMoinChat/Logs/moin-dev/2011-02-09 (last edited 2011-02-08 23:45:02 by IrcLogImporter)