1 2011-04-29T02:54:59  *** Marchael has joined #moin-dev
   2 2011-04-29T03:21:16  *** Marchael has quit IRC
   3 2011-04-29T03:24:52  *** RogerHaase has quit IRC
   4 2011-04-29T03:43:05  *** RogerHaase has joined #moin-dev
   5 2011-04-29T04:17:07  *** m4k3r has joined #moin-dev
   6 2011-04-29T05:44:33  <dreimark> moin
   7 2011-04-29T05:50:07  *** m4k3r has quit IRC
   8 2011-04-29T06:06:08  *** RogerHaase has left #moin-dev
   9 2011-04-29T06:31:36  *** m4k3r has joined #moin-dev
  10 2011-04-29T06:40:42  *** Marchael has joined #moin-dev
  11 2011-04-29T06:41:03  <Marchael> moin
  12 2011-04-29T07:03:32  *** m4k3r has quit IRC
  13 2011-04-29T07:22:34  *** xjjk has quit IRC
  14 2011-04-29T07:24:45  *** xjjk has joined #moin-dev
  15 2011-04-29T09:53:38  *** MattMaker has joined #moin-dev
  16 2011-04-29T10:02:38  *** MattMaker has quit IRC
  17 2011-04-29T10:05:11  *** hardy_89 has joined #moin-dev
  18 2011-04-29T11:21:49  *** Marchael has quit IRC
  19 2011-04-29T12:57:47  *** hardy_89 has quit IRC
  20 2011-04-29T13:02:07  *** hardy_89 has joined #moin-dev
  21 2011-04-29T13:13:19  <dreimark> moin
  22 2011-04-29T14:25:20  <dreimark> ThomasWaldmann: index2 can be named uploader
  23 2011-04-29T14:25:33  <dreimark> or upload
  24 2011-04-29T14:26:07  <dreimark> and if it is intended to use it only for subitems it should be only enabled on an existing item
  25 2011-04-29T14:29:02  <dreimark> btw. a few hundred files slows the browser down, and shows a js dialog
  26 2011-04-29T14:30:25  <dreimark> for images i want to reuse some of arnicas css to show the images in css
  27 2011-04-29T14:30:43  <dreimark> for the index and not the list
  28 2011-04-29T14:31:19  *** greg_f has joined #moin-dev
  29 2011-04-29T14:31:41  <dreimark> a small sized image in flask cache
  30 2011-04-29T14:33:28  <dreimark> btw. the image uploading has not worked, may be because of the js error?
  31 2011-04-29T14:33:36  <dreimark> i try it after breakfast again
  32 2011-04-29T14:56:40  *** hardy_89 has quit IRC
  33 2011-04-29T14:57:53  <ThomasWaldmann> dreimark: the duplicate "Index" link is only temporary
  34 2011-04-29T16:11:53  *** RogerHaase has joined #moin-dev
  35 2011-04-29T16:36:28  <CIA-25> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 196:1b3dec65779e 2.0/MoinMoin/converter/moinwiki_in.py: fix parsing bug with parser sections and mimetypes having a dot (like text/x.moin.creole)
  36 2011-04-29T16:38:20  *** MattMaker has joined #moin-dev
  37 2011-04-29T16:49:55  <ThomasWaldmann> RogerHaase: do you think it is appropriate for modernized (moin2) to have a sidebar? or rather a bottombar maybe?
  38 2011-04-29T17:12:12  <ThomasWaldmann> anyone else?
  39 2011-04-29T17:13:47  <ThomasWaldmann> I think it would be nice for index2 display (maybe collapsible)
  40 2011-04-29T17:40:10  *** sinha has joined #moin-dev
  41 2011-04-29T17:41:00  <RogerHaase> ThomasWaldmann: I like sidebars.  But I still think it best to keep modernized similar to 1.9 and create a new theme.  One thing that mediawiki does is write out content first (I have read that may be useful for page ranking on some search engines).  With sidebars, it would be easier to write page content first.
  42 2011-04-29T17:43:13  <ThomasWaldmann> yeah, new sidebar theme is clear
  43 2011-04-29T17:44:22  <sinha> RogerHaase: what does this means "write out content first" ?
  44 2011-04-29T17:44:41  <sinha> is the sidebar loaded after the entire page load
  45 2011-04-29T17:45:59  <ThomasWaldmann> but i think that subitems showing index / download / upload is useful for modernized also
  46 2011-04-29T17:46:59  <ThomasWaldmann> (I mean permanently showing it, not only after clicking on "Index")
  47 2011-04-29T17:49:53  <RogerHaase> sinha: look at templates/layout.html (near line 132, ), the moin-page div would be relocated to the top.
  48 2011-04-29T17:53:26  <ThomasWaldmann> RogerHaase: did you see what the left and right "Index" view shows now?
  49 2011-04-29T17:53:51  <sinha> RogerHasse: You mean content will be written before writing the nav-bar and other header items
  50 2011-04-29T17:55:28  <RogerHaase> sinha: yes
  51 2011-04-29T17:56:16  <RogerHaase> ThomasWaldmann: no, (still trying to find a page with content in index)
  52 2011-04-29T17:57:03  <ThomasWaldmann> go to an arbitrary item, click on the right "Index", drag&drop some images onto the green upload button
  53 2011-04-29T17:57:57  <ThomasWaldmann> (maybe not 500 photos from last vacation, some browsers get into trouble if it is too much :)
  54 2011-04-29T18:00:32  <ThomasWaldmann> i think we should have that available all the time, to ease access to subitems ("attachments")
  55 2011-04-29T18:01:13  <ThomasWaldmann> and maybe use same jquery.file-upload stuff for the modify view
  56 2011-04-29T18:01:39  <ThomasWaldmann> just one file to upload there usually, but still nice if it works the same way, including d&d
  57 2011-04-29T18:06:33  <ThomasWaldmann> sinha: btw, are you still preparing exams or is it over already?
  58 2011-04-29T18:07:09  <RogerHaase> My first drag & drop attempt with 3 files, went to bit heaven, but now it is working and I see the list.  Very cool. :-)
  59 2011-04-29T18:08:49  <sinha> ThomasWaldmann: yes i am having exams now.It will over on 3rd.
  60 2011-04-29T18:09:20  <sinha> after that will be free from course works.
  61 2011-04-29T18:09:35  <RogerHaase> Would be very useful to be able to drag a link back into content to embed the image.  I think there was a feature request for something similar to that a while back.
  62 2011-04-29T18:14:40  *** hardy_89 has joined #moin-dev
  63 2011-04-29T18:18:35  <RogerHaase> ThomasWaldmann: By "available all the time" do you mean the list is written on every page, but hidden  -- then clicking Index displays index sidebar adjacent to content?
  64 2011-04-29T18:30:03  <RogerHaase> For left (Global) index, it may be better to use ajax to fetch the list of global pagenames when wanted  rather than write it out with every page.
  65 2011-04-29T18:43:05  <RogerHaase> Ignore that, I just noticed 2 adjacent Indexes. (I thought left Index refered to global tab).
  66 2011-04-29T18:55:04  <ThomasWaldmann> sinha: wish you success :)
  67 2011-04-29T18:55:42  <sinha> thank you :)
  68 2011-04-29T18:55:49  <ThomasWaldmann> RogerHaase: yeah, i also like that j-f-u, so much easier than what we had before
  69 2011-04-29T18:57:04  <ThomasWaldmann> RogerHaase: i want the local subitems easily accessible (it should not show the global index on every page, that'ld be overkill)
  70 2011-04-29T18:57:59  <ThomasWaldmann> and for the local ones I am not sure, it could either just show them (all the time), or using ajax and on demand (to save some cpu/io)
  71 2011-04-29T18:59:01  <ThomasWaldmann> and it could show the same subitems index on modify view also
  72 2011-04-29T19:00:02  <ThomasWaldmann> hi hardy_89
  73 2011-04-29T19:00:18  <hardy_89> hey ThomasWaldmann
  74 2011-04-29T19:02:27  <ThomasWaldmann> how's your moin exploration going? you are so silent...
  75 2011-04-29T19:03:09  <ThomasWaldmann> http://moinmo.in/GoogleSoc2011 and that page is still missing a link to your project page
  76 2011-04-29T19:04:48  <ThomasWaldmann> RogerHaase: the intended use of moinwiki19_in is to convert content from moin 1.9
  77 2011-04-29T19:05:00  <ThomasWaldmann> (as good as it gets)
  78 2011-04-29T19:06:12  <hardy_89> ThomasWaldmann: checking page...
  79 2011-04-29T19:06:14  <RogerHaase> Is there a way to feed moinwiki19 a page to convert?
  80 2011-04-29T19:06:17  <ThomasWaldmann> moinwiki_in is for new moin wiki markup, which e.g. does not support CamelCase links any more (and also not the markup like !FooBar that was required to deal with CamelCase going wrong)
  81 2011-04-29T19:07:09  <ThomasWaldmann> RogerHaase: if an item has mimetype text/x.moin.wiki;format=1.9, it should invoke the moinwiki19_in converter
  82 2011-04-29T19:12:16  <RogerHaase> ah, that helps.  Now I can see the free interwiki links do not work correctly (just like the 19 tests was telling me)
  83 2011-04-29T19:13:01  <hardy_89> ThomasWaldmann: i need to place a link of my Project Repo there, Right?
  84 2011-04-29T19:13:07  <ThomasWaldmann> when testing interwiki, make sure your map has that wiki name
  85 2011-04-29T19:13:23  <ThomasWaldmann> hardy_89: no, to a project wiki page
  86 2011-04-29T19:13:37  <ThomasWaldmann> you can just create a subpage of your homepage, for example
  87 2011-04-29T19:14:32  <ThomasWaldmann> and use it for discuss/refine your proposal, so, when coding time comes, you'll know exactly what to do :)
  88 2011-04-29T19:14:45  <ThomasWaldmann> s/for/to/
  89 2011-04-29T19:15:03  <ThomasWaldmann> RogerHaase: do you have a iw map configured?
  90 2011-04-29T19:15:38  <ThomasWaldmann> interwiki_map = dict(MoinMoin='http://moinmo.in/')
  91 2011-04-29T19:15:51  <hardy_89> ThomasWaldmann: ok. let me see what i can do here
  92 2011-04-29T19:17:35  <ThomasWaldmann> RogerHaase: yes, it's malfunctioning, it creates local links instead of links to other wiki
  93 2011-04-29T19:19:43  <ThomasWaldmann> RogerHaase: converter/link.py:140 has code to process interwiki links
  94 2011-04-29T19:20:46  <ThomasWaldmann> so if markup is MoinMoin:FooBar, authority has to be 'MoinMoin'
  95 2011-04-29T19:23:30  <RogerHaase> ThomasWaldmann: No I have not configured interwiki_map, but  the [[CAKE:RecentChanges]] and other interwiki links work.  Doesn't that mean I have a default interwiki_map?
  96 2011-04-29T19:26:14  <RogerHaase> and the same interwiki_map will be used for free links on the 19 converter?
  97 2011-04-29T19:27:06  <ThomasWaldmann> the default interwiki map is empty
  98 2011-04-29T19:27:20  <ThomasWaldmann> so it'll likely render it as normal text
  99 2011-04-29T19:28:42  <ThomasWaldmann> the behaviour of interwiki map changed from 1.9. in 1.9 it processed interwiki maps from specific file locations or maybe even some specific wiki page.
 100 2011-04-29T19:29:27  <ThomasWaldmann> moin2 just expects that the dictionary is in the config. a loader for the old file format exists, though, iirc.
 101 2011-04-29T19:30:10  <ThomasWaldmann> "no magic" :)
 102 2011-04-29T19:32:33  *** sinha has quit IRC
 103 2011-04-29T19:32:52  <RogerHaase> I am not convinced there is no magic: how does [[CAKE:RecentChanges]] generate a link to http://www.cakem.net/mywiki/RecentChanges when I have no interwiki_map?
 104 2011-04-29T19:34:13  <ThomasWaldmann> doesn't work for me :)
 105 2011-04-29T19:34:42  <ThomasWaldmann>     interwiki_map = InterWikiMap.from_file(os.path.join(wikiconfig_dir, 'contrib', 'interwiki', 'intermap.txt')).iwmap
 106 2011-04-29T19:35:01  <ThomasWaldmann> that's from the wikiconfig.py (I have overwritten it in my local config)
 107 2011-04-29T19:35:18  <ThomasWaldmann> that's the loader I have mentioned
 108 2011-04-29T19:41:06  <RogerHaase> ok, found the file... no magic after all  :-)
 109 2011-04-29T19:42:17  *** greg_f has quit IRC
 110 2011-04-29T19:52:11  <ThomasWaldmann> RogerHaase: http://paste.pocoo.org/show/380387/
 111 2011-04-29T19:52:37  <ThomasWaldmann> 1 fail for moinwiki_in
 112 2011-04-29T19:53:39  <ThomasWaldmann> moinwiki19_in works
 113 2011-04-29T20:24:52  *** ronny has quit IRC
 114 2011-04-29T20:38:35  *** ronny has joined #moin-dev
 115 2011-04-29T20:50:56  <ThomasWaldmann> hardy_89: btw, you could move the "gsoc plan" part from your home page to your project page
 116 2011-04-29T20:51:10  <ThomasWaldmann> and link it from your home page (and the main gsoc page)
 117 2011-04-29T20:51:37  <hardy_89> ThomasWaldmann: ok
 118 2011-04-29T21:00:25  <hardy_89> ThomasWaldmann: done
 119 2011-04-29T21:04:25  *** hardy_89 has quit IRC
 120 2011-04-29T21:12:56  <ThomasWaldmann> RogerHaase: http://localhost:8080/+dom/Home that view will be fixed by next commit
 121 2011-04-29T21:14:54  *** moin3 has joined #moin-dev
 122 2011-04-29T21:15:46  <CIA-25> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 197:19e92e1ff286 2.0/MoinMoin/ (apps/frontend/views.py items/__init__.py):
 123 2011-04-29T21:15:46  <CIA-25> fix the +dom view, details below
 124 2011-04-29T21:15:46  <CIA-25> As we use autoescape now, we need to use Markup() class to give xml into
 125 2011-04-29T21:15:46  <CIA-25> the template.
 126 2011-04-29T21:15:46  <CIA-25> Removed converters argument when calling internal_representation(),
 127 2011-04-29T21:15:47  <CIA-25> use default.
 128 2011-04-29T21:15:47  <CIA-25> Remove unneeded import.
 129 2011-04-29T21:16:03  <ThomasWaldmann> (one can see in that view what the input converter produces as dom tree)
 130 2011-04-29T21:17:11  *** moin3 has quit IRC
 131 2011-04-29T23:18:11  <CIA-25> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 198:ade15b9e74fd 2.0/MoinMoin/converter/_tests/test_moinwiki_in.py: moinwiki_in tests: add a test for parser sections, parsing of mimetypes with dots
 132 2011-04-29T23:41:35  <RogerHaase> ThomasWaldmann: re; and trying to get unconfused.  The +dom view is very helpful.  I am thinking the 19 test you added for MoinMoin:FooBar runs OK in test_moinwiki19_in,  but the html_out output is still wrong -- see http://test.moinmo.in/InterWiki19 (1.9 formatter; obsolete code but same result in tip).
 133 2011-04-29T23:46:46  <RogerHaase> test_html_out needs more link tests (and fixes) for xlink:href="wiki: and xlink:href="wiki.local:, right?
 134 2011-04-29T23:54:59  *** fayaz has joined #moin-dev
 135 2011-04-29T23:56:31  *** fayaz has quit IRC
 136 

MoinMoin: MoinMoinChat/Logs/moin-dev/2011-04-29 (last edited 2011-04-29 01:00:03 by IrcLogImporter)