1 2012-04-01T00:02:32  *** dwcramer has joined #moin-dev
   2 2012-04-01T00:53:35  *** TheSheep has left #moin-dev
   3 2012-04-01T01:10:03  *** ayrus12 has joined #moin-dev
   4 2012-04-01T01:38:01  *** dwcramer has quit IRC
   5 2012-04-01T02:15:22  *** dwcramer has joined #moin-dev
   6 2012-04-01T03:31:34  <xiaq> Moin, though likely no one else is awake now :) More on the issue tracker ideas
   7 2012-04-01T03:33:41  <xiaq> I can do it by first enhancing the +meta view
   8 2012-04-01T03:34:39  <xiaq> The issue view *might* be implemented by introducing a new +issue view
   9 2012-04-01T03:35:27  <xiaq> But that doesn't feel clean enough
  10 2012-04-01T03:38:43  <xiaq> ThomasWaldmann: you mentioned that there needs to be a way other than mimetype to influence how items are rendered, like wiki markup as "plain text, highlighted text or rendered"
  11 2012-04-01T03:38:49  *** brunosmartin has joined #moin-dev
  12 2012-04-01T03:42:21  <xiaq> Currently the different rendering mechanism (plain text, highlighted text or rendered) depends on the +indexable, +highlight and +show respectively
  13 2012-04-01T03:43:06  <xiaq> It is arguable that +issue is rather similiar to them - so they should use the same mechanism
  14 2012-04-01T03:43:29  <xiaq> Also there is a pattern that occurs several times in apps/frontend/views.py
  15 2012-04-01T03:44:15  <xiaq> Line 174: @frontend.route('/+show/+<rev>/<itemname:item_name>', methods=['GET'])
  16 2012-04-01T03:44:52  <xiaq> Line 208: @frontend.route('/+dom/+<rev>/<itemname:item_name>')
  17 2012-04-01T03:45:25  <xiaq> Line 239: @frontend.route('/+highlight/+<rev>/<itemname:item_name>')
  18 2012-04-01T03:45:43  <xiaq> And so on...
  19 2012-04-01T03:47:13  <xiaq> These views all take an item name or a revision plus an item name, and render it in some way
  20 2012-04-01T03:47:50  <xiaq> They do not modify the item
  21 2012-04-01T03:48:18  <xiaq> So my idea is that
  22 2012-04-01T03:49:51  <xiaq> these views, with much in common, might be factored out
  23 2012-04-01T03:50:37  <xiaq> I haven't came up with a better name, but let's call it "rendering view" for now
  24 2012-04-01T03:51:53  <xiaq> We can add a layer of indirection for rendring views
  25 2012-04-01T03:51:57  <xiaq> eg. instead of writing
  26 2012-04-01T03:52:09  <xiaq> @frontend.route('/+dom/+<rev>/<itemname:item_name>')
  27 2012-04-01T03:52:09  <moinBot> xiaq: Error: "frontend.route('/+dom/+<rev>/<itemname:item_name>')" is not a valid command.
  28 2012-04-01T03:52:09  <xiaq> @frontend.route('/+dom/<itemname:item_name>', defaults=dict(rev=CURRENT))
  29 2012-04-01T03:52:09  <xiaq> def show_dom(item_name, rev):
  30 2012-04-01T03:52:10  <moinBot> xiaq: Error: "frontend.route('/+dom/<itemname:item_name>'," is not a valid command.
  31 2012-04-01T03:52:27  <xiaq>    ...
  32 2012-04-01T03:52:42  <xiaq> we write something like
  33 2012-04-01T03:52:51  <xiaq>  @render_view('dom')
  34 2012-04-01T03:53:01  <xiaq>  def dom(item_name, rev):
  35 2012-04-01T03:53:05  <xiaq>     ...
  36 2012-04-01T03:53:22  <xiaq> and the @render_view decorator would do the frontend.route part
  37 2012-04-01T03:53:59  *** MattMaker has quit IRC
  38 2012-04-01T03:54:51  <xiaq> Hey I wonder what is moinBot watching my @ for :)
  39 2012-04-01T03:54:53  <xiaq> @help
  40 2012-04-01T03:54:53  <moinBot> xiaq: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin.
  41 2012-04-01T04:00:58  * xiaq played with moinBot
  42 2012-04-01T04:01:28  <xiaq> Well that's pretty much what I've thought of, about the issue tracker project
  43 2012-04-01T04:03:42  <xiaq> In brief, just add one more layer of indirection ;-)
  44 2012-04-01T04:05:28  * xiaq read http://www.dmst.aueb.gr/dds/pubs/inbook/beautiful_code/html/Spi07g.html
  45 2012-04-01T04:05:48  <xiaq> Should be "another level of indirection" :)
  46 2012-04-01T04:28:36  <xiaq> BTW I will be pushing code to https://bitbucket.org/xiaq/moin2/
  47 2012-04-01T04:51:45  *** sudo_dirk has quit IRC
  48 2012-04-01T05:06:13  *** sudo_dirk has joined #moin-dev
  49 2012-04-01T05:36:54  *** dwcramer has quit IRC
  50 2012-04-01T05:38:35  *** _mayank has joined #moin-dev
  51 2012-04-01T06:38:41  *** brunosmartin has left #moin-dev
  52 2012-04-01T07:51:49  *** MattMaker has joined #moin-dev
  53 2012-04-01T08:26:47  *** _mayank has quit IRC
  54 2012-04-01T08:35:05  *** _mayank has joined #moin-dev
  55 2012-04-01T10:17:59  *** kanha has joined #moin-dev
  56 2012-04-01T10:23:40  *** kanha has left #moin-dev
  57 2012-04-01T10:24:12  *** kanha has joined #moin-dev
  58 2012-04-01T10:25:50  *** kanha_ has joined #moin-dev
  59 2012-04-01T10:26:41  *** kanha_ has quit IRC
  60 2012-04-01T10:26:45  *** kanha has quit IRC
  61 2012-04-01T10:30:06  *** kanha has joined #moin-dev
  62 2012-04-01T11:22:43  <kanha> moin
  63 2012-04-01T11:24:27  <kanha> why its needed to Parse interwiki the same way as Moin Wiki(todo in creole_in.py)?
  64 2012-04-01T11:57:54  <sudo_dirk> dreimark: i added video support to arnica. it is not completed but i use ffmpeg and pil to generate thumb- and webnail.
  65 2012-04-01T11:58:33  <sudo_dirk> dreimark: possibly thats all i want to do there. if you click on the link you can view the video with an external player. is that ok for you?
  66 2012-04-01T11:59:23  <sudo_dirk> dreimark: the thumb- and webnail have i videocamera icon in the to right corner to know its a video.
  67 2012-04-01T12:00:24  <sudo_dirk> dreimark: i want to have the webnail pic a link to the original file if it's ok.
  68 2012-04-01T12:01:00  <sudo_dirk> to->top
  69 2012-04-01T12:24:15  <sudo_dirk> just one question? is there a macro, which shows all pages with special attachments? e.g. (.avi, .mov, .mp4)
  70 2012-04-01T12:33:56  <ronny> sudo_dirk: i think you can abuse a macro that searches
  71 2012-04-01T12:46:16  *** ayrus12 has quit IRC
  72 2012-04-01T13:04:20  <sudo_dirk> is it correct to use xapian with mimetyp? is there a possibilty to search for several mimetypes?
  73 2012-04-01T13:04:47  <sudo_dirk> mimetype:image/v1 or mimetype:image/v2???
  74 2012-04-01T13:15:24  <ronny> sudo_dirk: huh? moin has whoosh
  75 2012-04-01T13:15:37  <ronny> eh moin2  mean
  76 2012-04-01T13:48:19  <ThomasWaldmann> moin
  77 2012-04-01T14:01:59  *** greg_f has joined #moin-dev
  78 2012-04-01T14:11:19  *** ThomasWaldmann2 has quit IRC
  79 2012-04-01T14:21:20  *** kanha_ has joined #moin-dev
  80 2012-04-01T14:22:02  *** kanha__ has quit IRC
  81 2012-04-01T14:38:16  *** dwcramer has joined #moin-dev
  82 2012-04-01T14:38:52  *** ThomasWaldmann has quit IRC
  83 2012-04-01T14:41:48  *** ThomasWaldmann has joined #moin-dev
  84 2012-04-01T14:41:49  *** ThomasWaldmann has joined #moin-dev
  85 2012-04-01T14:48:35  *** ThomasWaldmann has quit IRC
  86 2012-04-01T14:48:42  *** ThomasWaldmann has joined #moin-dev
  87 2012-04-01T14:48:50  *** ThomasWaldmann has joined #moin-dev
  88 2012-04-01T14:49:58  *** ThomasWaldmann has quit IRC
  89 2012-04-01T14:52:57  *** ThomasWaldmann has joined #moin-dev
  90 2012-04-01T14:52:57  *** ThomasWaldmann has joined #moin-dev
  91 2012-04-01T14:59:17  * ThomasWaldmann switched terminal/irssi to summer mode (black on white)
  92 2012-04-01T15:11:19  <ThomasWaldmann> kanha: the link parsing in creole_in is a bit strange
  93 2012-04-01T15:11:59  <ThomasWaldmann> [a-zA-Z0-9+.-]+ it uses this to match stuff like http ftp or other schemes
  94 2012-04-01T15:12:34  <ThomasWaldmann> :// then it REQUIRES this (which is expecting too much already, e.g. mailto: has no //
  95 2012-04-01T15:12:35  <kanha> ok
  96 2012-04-01T15:14:37  <ThomasWaldmann> kanha: look at the inline_link regex in moinwiki_in.py
  97 2012-04-01T15:15:49  <ThomasWaldmann> of course one has to check that it complies with creole link markup spec in the end
  98 2012-04-01T15:19:47  *** dwcramer has quit IRC
  99 2012-04-01T15:30:37  <kanha> spec mean?
 100 2012-04-01T15:40:18  <kanha> In rst_in.py todo:i18n for docutils(visit_author(self,node) , visit_version(self,node) ,visit_copyright(self,node)) can you explain what is it about,what i18n ofr docutils mean?
 101 2012-04-01T15:48:34  <ThomasWaldmann> spec means specification
 102 2012-04-01T15:50:38  <ThomasWaldmann> i18n means internationalization. in that case it means to translate to string.
 103 2012-04-01T15:51:43  <ThomasWaldmann> but i am not sure there is a good way to do that, because you maybe can not know the best target language.
 104 2012-04-01T16:04:10  <ThomasWaldmann> kanha: maybe don't file 1 bug per typo
 105 2012-04-01T16:05:08  <kanha> ok
 106 2012-04-01T16:06:12  <kanha> so what should i do with that bug now?
 107 2012-04-01T16:06:31  <ThomasWaldmann> (rather just find/fix some of them in your repo workdir and submit a patch)
 108 2012-04-01T16:07:00  <kanha> ok thanks :)
 109 2012-04-01T16:07:01  <ThomasWaldmann> just attach some more typo fixes, so we can fix them all at once
 110 2012-04-01T16:08:22  <kanha> sure as am going throug codes so whenever i will find i will attach it
 111 2012-04-01T16:15:05  *** DasIch_ has joined #moin-dev
 112 2012-04-01T16:15:37  *** DasIch has quit IRC
 113 2012-04-01T16:15:37  *** DasIch_ is now known as DasIch
 114 2012-04-01T16:18:59  *** RogerHaase has joined #moin-dev
 115 2012-04-01T16:37:36  *** kanha has quit IRC
 116 2012-04-01T16:43:29  <RogerHaase> ThomasWaldmann: edit on doubleclick ready for review:  http://codereview.appspot.com/5975057/
 117 2012-04-01T16:44:53  * ThomasWaldmann looks
 118 2012-04-01T16:46:15  <ThomasWaldmann> RogerHaase: this is a lot shorter than before
 119 2012-04-01T16:46:41  <RogerHaase> yes, the autoscroll was complex
 120 2012-04-01T16:47:32  <RogerHaase> cannot do autoscroll now because there are no embedded line numbers
 121 2012-04-01T16:51:25  <ThomasWaldmann> ah
 122 2012-04-01T16:51:51  <ThomasWaldmann> RogerHaase: review done
 123 2012-04-01T16:52:14  <ThomasWaldmann> i am currently looking at {{{#!python etc. - i guess i found why it does not work
 124 2012-04-01T16:57:07  <RogerHaase> ThomasWaldmann:  on finding modify button with different flaks/werkzeug versions:  would it be OK to search for either /+modify/ or /%2bmodify/ ?
 125 2012-04-01T17:00:26  <RogerHaase> else we need a class on the modify LI or A element:  ...looking at how hard that will be to do
 126 2012-04-01T17:03:02  <ThomasWaldmann> that would be better, but some class might be cleaner
 127 2012-04-01T17:10:33  <RogerHaase> ThomasWaldmann: adding class requires changing templates/itemviews.html, foobar/templates/local.html, and foobar/templates/itemviews.html
 128 2012-04-01T17:11:56  <RogerHaase> I will add the class
 129 2012-04-01T17:15:47  <ThomasWaldmann> ok
 130 2012-04-01T17:30:56  <ThomasWaldmann> DasIch: are you editing the ideas page?
 131 2012-04-01T17:31:15  <DasIch> ThomasWaldmann: i'm editing my application
 132 2012-04-01T17:35:16  <ThomasWaldmann> somehow i often get (timed out) edit lock warnings for you
 133 2012-04-01T17:37:29  <DasIch> ThomasWaldmann: hm, I've logged out and logged in again. Does that help?
 134 2012-04-01T17:40:31  <ThomasWaldmann> shouldn't be necessary. just if you edit - either save or cancel
 135 2012-04-01T17:55:56  *** greg_f has quit IRC
 136 2012-04-01T17:57:57  <RogerHaase> ThomasWaldmann:  added class, foobar theme works with doubleclick:  http://codereview.appspot.com/5975057/
 137 2012-04-01T17:59:39  *** greg_f has joined #moin-dev
 138 2012-04-01T18:01:57  <RogerHaase> ThomasWaldmann:  But I had to move doubleclick event to body, it was on #moin-content.  Foobar theme renamed #moin-content to #moin-content-with-panel.  I think that is a wrong thing to do.
 139 2012-04-01T18:02:40  <ThomasWaldmann> RogerHaase: ok
 140 2012-04-01T18:03:32  <ThomasWaldmann> RogerHaase: there needs to be more thought on theme structure
 141 2012-04-01T18:12:22  <RogerHaase> ThomasWaldmann:  forgot to update comments in javascript - fixed
 142 2012-04-01T18:23:53  <dreimark> moin
 143 2012-04-01T18:26:44  <dreimark> sudo_dirk: sounds interesting, but webnail? that sounds wrong. we have two options there we need streaming or a way to have more than one image e.g. each min or so for a slideshow per video.
 144 2012-04-01T18:28:17  <dreimark> in the future we need a convertor for webm or something similar
 145 2012-04-01T18:29:34  <dreimark> i mean we need that in the cache somehow similiar to pythons repr for strings
 146 2012-04-01T18:30:21  <dreimark> so that we can do mimetype_item.repr() and get a browser viewable object by that
 147 2012-04-01T18:30:38  <dreimark> for some other formats we can use svg too
 148 2012-04-01T18:31:15  <dreimark> e.g. pdf2svg can make a repr of svg from a pdf page
 149 2012-04-01T18:33:05  <dreimark> sudo_dirk: look at AttachList macro, it has also a mimetype argument
 150 2012-04-01T18:57:12  * ThomasWaldmann braindumps about macros, parsers, converters
 151 2012-04-01T18:59:12  <dreimark> ThomasWaldmann: don't miss acls
 152 2012-04-01T18:59:48  <dreimark> i mean that such some of that objects needs to check acls
 153 2012-04-01T19:00:01  <dreimark> -such
 154 2012-04-01T19:01:13  <ThomasWaldmann> ?
 155 2012-04-01T19:02:31  <dreimark> http://moinmo.in/ReimarBauer/Moin2BrainDump/Macros%20as%20Item
 156 2012-04-01T19:03:53  <dreimark> if you don't want to give power of macros not too all users
 157 2012-04-01T19:04:59  <dreimark> currently we also separate by is_superuser
 158 2012-04-01T19:08:33  <ThomasWaldmann> we have function_acl since a while that can be used for misc functionalities
 159 2012-04-01T19:09:27  <ThomasWaldmann> i read that wiki page. maybe it makes sense in some cases, where same or similar macro calls are needed.
 160 2012-04-01T19:09:48  <ThomasWaldmann> and when the call is rather complex. otherwise it would make more sense to just do it inline.
 161 2012-04-01T19:10:51  <dreimark> it is somehow like a template you have transcluded
 162 2012-04-01T19:11:19  <dreimark> and you need onky to optimize the template item then
 163 2012-04-01T19:13:53  <dreimark> i often have currently pages with attachlist, arnica and some other plugins and have to repeat that on tons of pages
 164 2012-04-01T19:15:39  <dreimark> currently it is much easier for me to write a new parser where i only have to change the parser if one wants the output changed on all pages.
 165 2012-04-01T19:15:59  <ThomasWaldmann> let me first try to unify those 3 things before we do new stuff :)
 166 2012-04-01T19:16:29  <dreimark> ok
 167 2012-04-01T19:18:07  <ThomasWaldmann> btw, macros are the last users of importPlugin code
 168 2012-04-01T19:21:07  <dreimark> \o/
 169 2012-04-01T19:21:40  <ThomasWaldmann> RogerHaase: where was it where we had the block vs inline issues recently?
 170 2012-04-01T19:27:54  <RogerHaase> ThomasWaldmann:  transclusions in general, http://test.moinmo.in/HTMLerror
 171 2012-04-01T19:32:18  *** greg_f has quit IRC
 172 2012-04-01T19:32:46  <RogerHaase> ThomasWaldmann: or did you want the name of module:  include.py
 173 2012-04-01T19:34:36  <RogerHaase> A better example of potential problem is http://test.moinmo.in/italicInclude
 174 2012-04-01T19:59:08  <ThomasWaldmann> ok
 175 2012-04-01T20:37:24  *** chaitu has joined #moin-dev
 176 2012-04-01T20:38:12  <chaitu> hello guys i'm chaitu , joined the community today
 177 2012-04-01T20:38:38  <chaitu> only
 178 2012-04-01T20:39:14  <chaitu> i'm interested in buiding a new calendar for moin2
 179 2012-04-01T20:39:30  <chaitu> anyone interested in the topic
 180 2012-04-01T20:47:37  <ThomasWaldmann> hi chaitu
 181 2012-04-01T20:47:52  <chaitu> hello
 182 2012-04-01T20:48:08  <ThomasWaldmann> for SOC, right?
 183 2012-04-01T20:48:09  <chaitu> hello thomas
 184 2012-04-01T20:48:14  <chaitu> yes
 185 2012-04-01T20:49:16  <ThomasWaldmann> did you already work with moin before?
 186 2012-04-01T20:52:54  <dreimark> chaitu: :)
 187 2012-04-01T20:53:18  <dreimark> have you jquery experience and know the old moin calendar?
 188 2012-04-01T20:53:45  <chaitu> i have good experience in jquery
 189 2012-04-01T20:54:02  <chaitu> i know about the old moin calendar
 190 2012-04-01T20:56:39  <chaitu> for improving the calendar , the features those are present in Fullcalendar  jquery plugin might be a good choice right??
 191 2012-04-01T20:57:48  <dreimark> yes i already have builted a xstatic package of it. But if you have a better one
 192 2012-04-01T20:57:53  <dreimark> we can also use that
 193 2012-04-01T20:58:04  <dreimark> on a first glance it looks pretty awesome
 194 2012-04-01T20:58:45  <dreimark> have you looked already on moin2 ? its codebase is quite different than for the old m1
 195 2012-04-01T20:59:07  <chaitu> no i didn't look at it , i will start looking at it
 196 2012-04-01T20:59:47  <dreimark> a not uptodate version is running at http://test.moinmo.in/Home
 197 2012-04-01T21:00:20  <dreimark> http://moinmo.in/MoinMoin2.0 for starter
 198 2012-04-01T21:02:51  <chaitu> dreimark : could you please elaborate on xstatic package
 199 2012-04-01T21:03:14  <dreimark> if you ask
 200 2012-04-01T21:03:46  <dreimark> http://pypi.python.org/pypi/XStatic as an overview
 201 2012-04-01T21:04:07  <dreimark> we want all 3rd party code also if it is not python installable by pip
 202 2012-04-01T21:04:33  <chaitu> ok
 203 2012-04-01T21:05:59  <dreimark> chaitu: everyone tries to elaborate all the time, just ask don't ask to ask
 204 2012-04-01T21:06:56  <chaitu> what what ?? just ask don't ask to ask ??
 205 2012-04-01T21:07:14  <dreimark> 21:02 < chaitu> dreimark : could you please elaborate on xstatic package
 206 2012-04-01T21:07:31  <dreimark> i have to guess what the question is ;)
 207 2012-04-01T21:07:45  <chaitu> k :)
 208 2012-04-01T21:09:46  <dreimark> http://moinmo.in/4ct10n/info/GoogleSoc2012/InitialProjectIdeas?action=diff&rev1=22&rev2=18 (may be not recent now) but thats an example how to use a new plugin from an xstatic package
 209 2012-04-01T21:09:58  <dreimark> just for the principles
 210 2012-04-01T21:13:47  <chaitu> i understood about the xstatic  .. thanks for providing the link
 211 2012-04-01T21:15:30  <chaitu> it is an awesome idea , hatsoff to thomas Waldmann
 212 2012-04-01T21:16:16  <dreimark> ThomasWaldmann: ^
 213 2012-04-01T21:17:21  <dreimark> if you want you can create a proposal page on our wiki and ThomasWaldmann can set acls on it. please use the developertemplate page as template
 214 2012-04-01T21:17:43  <dreimark> this is than easier for us and you to discuss it before you upload it to melange
 215 2012-04-01T21:32:17  <RogerHaase> ThomasWaldmann:  Did you say OK to commit edit on doubleclick patch?
 216 2012-04-01T21:40:44  <ThomasWaldmann> RogerHaase: yes
 217 2012-04-01T21:49:33  <RogerHaase> ThomasWaldmann: edit on doubleclick pushed to https://bitbucket.org/RogerHaase/moin-2.0
 218 2012-04-01T21:58:09  <ThomasWaldmann> thanks
 219 2012-04-01T22:39:29  *** chaitu has quit IRC
 220 2012-04-01T23:53:26  <RogerHaase> ThomasWaldmann:  since it looks like there may be a student working on foobar theme, I plan on working on #38 and clean up common.js next.  Or, do you have another idea?

MoinMoin: MoinMoinChat/Logs/moin-dev/2012-04-01 (last edited 2012-03-31 22:45:04 by IrcLogImporter)