1 2011-06-02T00:01:20  <ThomasWaldmann> oh, oops :)
   2 2011-06-02T00:01:35  <RogerHaase> (as well as Divs within spans, etc.)  Thiere will still be one unfinished issue where when a page is transcluded, it always creates a DIV within a P.
   3 2011-06-02T00:02:13  <RogerHaase> There is an open bug report for the div inside of P.
   4 2011-06-02T00:03:00  <ThomasWaldmann> btw, just an english question from a non-native speaker:
   5 2011-06-02T00:03:21  <ThomasWaldmann> https://bitbucket.org/thomaswaldmann/moin-2.0/issue/7/attributes-for-transclusion-syntax scroll down to the bottom, see that "Bump!" button there
   6 2011-06-02T00:03:39  <ThomasWaldmann> what does that word mean there exactly?
   7 2011-06-02T00:04:14  * ThomasWaldmann knows what bump means, but i still don't understand what it means there
   8 2011-06-02T00:06:18  <RogerHaase> The way I have seen it used is: if the bug reporter thinks he is being ignored, he replies to his own report with a single word bump (meaning bump the priority) and then whoever is reading the list will look at issue again.
   9 2011-06-02T00:07:44  <RogerHaase> But is this case, I don't see a way to sort issues by date.  But I think you can get emails, right?
  10 2011-06-02T00:08:12  <ThomasWaldmann> i get an email if an issue is updated
  11 2011-06-02T00:09:59  <ThomasWaldmann> ok, it is clearer now. still no idea why that needs an extra button.
  12 2011-06-02T00:11:58  <RogerHaase> I clicked the bump button for issue 28, did not do anything as far as I can tell.
  13 2011-06-02T00:13:57  <ThomasWaldmann> didn't get mail yet
  14 2011-06-02T00:16:17  <RogerHaase> Ah, you need to put in both a message and the textcha and click the bump button.
  15 2011-06-02T00:18:16  <ThomasWaldmann> ok, and so what's the difference then to entering a message and save button?
  16 2011-06-02T00:20:08  <RogerHaase> Nothing, other than personal satisfaction, as far as I can tell.
  17 2011-06-02T00:22:13  <ThomasWaldmann> hehe
  18 2011-06-02T00:22:16  <RogerHaase> Oh, it appears to be for voting:  https://bitbucket.org/site/master/issue/206/add-bump-button-for-issues
  19 2011-06-02T00:23:18  <RogerHaase> ronny has more entries than anybody
  20 2011-06-02T00:26:49  <ThomasWaldmann> i just updated that issue :)
  21 2011-06-02T00:27:56  <RogerHaase> hehe
  22 2011-06-02T00:29:22  <ThomasWaldmann> you may now bump it :P
  23 2011-06-02T00:47:03  <dreimark> https://groups.google.com/group/svg-edit/browse_thread/thread/9765e87e5d66f3a8?hl=de
  24 2011-06-02T00:47:13  <dreimark> request for dual licensing
  25 2011-06-02T00:59:50  <RogerHaase> gtg
  26 2011-06-02T00:59:55  *** RogerHaase has left #moin-dev
  27 2011-06-02T01:49:26  *** ronny has quit IRC
  28 2011-06-02T01:51:43  *** ronny has joined #moin-dev
  29 2011-06-02T02:35:38  *** m4k3r has quit IRC
  30 2011-06-02T03:24:03  <Marchael> ThomasWaldmann: we could build indexes in background
  31 2011-06-02T03:24:08  <Marchael> moin
  32 2011-06-02T07:07:42  <Marchael> I catch exception and want to log it
  33 2011-06-02T07:08:00  <Marchael> I use logging.error() for that, but it don't show anything
  34 2011-06-02T08:02:42  <Marchael> рь
  35 2011-06-02T08:02:44  <Marchael> hm
  36 2011-06-02T08:02:47  <Marchael> logging.error(u"Can not open '%s'. Manually remove '%s' and rebuild indexes" % (self.index_path + schema, self.index_path))
  37 2011-06-02T08:02:57  <Marchael> TypeError: not enough arguments for format string
  38 2011-06-02T08:03:12  <Marchael> I don't understand what it wants from me
  39 2011-06-02T08:03:34  *** faina has joined #moin-dev
  40 2011-06-02T08:04:55  <dreimark> moin
  41 2011-06-02T08:05:03  <faina> hello
  42 2011-06-02T08:05:56  <dreimark> Marchael: print self.index_path + schema
  43 2011-06-02T08:06:05  <dreimark> print self.index_path
  44 2011-06-02T08:09:55  <Marchael> same thing
  45 2011-06-02T08:11:57  <Marchael> seems like error in other place
  46 2011-06-02T08:16:01  <faina> out of curiosity, in moin/2.0 is the right path to do transclusion (for a macro), something along the lines of x=Item.create(page_path_name) ; process(x.internal_representation())?
  47 2011-06-02T08:19:16  <Marchael> dreimark: strange, but it works now. Althought I didn't change anything
  48 2011-06-02T08:35:28  <Marchael> ThomasWaldmann: http://paste.pocoo.org/show/399298/
  49 2011-06-02T08:35:46  <dreimark> waldi: can you help faina
  50 2011-06-02T08:36:32  <dreimark> or may be you found the answer in http://hg.moinmo.in/moin/2.0/file/5028c04190a9/MoinMoin/converter/_wiki_macro.py
  51 2011-06-02T08:36:51  <Marchael> 63..82 add open index in __init()__
  52 2011-06-02T08:42:12  <faina> I was modifying PagenameList to do something like the fake-blog you could do with MonthCalendarTopList from Moin 1.x. I think internal_representation is the right way to get to the WikiDom.
  53 2011-06-02T08:43:16  <faina> My experiments with converting PagenameList are at http://paste.pocoo.org/show/399299/
  54 2011-06-02T08:43:43  <faina> I don't really understand the wikidom to output type yet though.
  55 2011-06-02T08:54:13  <dreimark> faina: try to catch waldi he is our expert on that
  56 2011-06-02T08:54:19  <faina> ok
  57 2011-06-02T08:54:53  <faina> when is he typically here?
  58 2011-06-02T08:55:52  <dreimark> ThomasWaldmann: will be i guess in a few minutes or in an hour here.
  59 2011-06-02T08:56:41  <dreimark> because we have today a holiday day I can't say when waldi joins in
  60 2011-06-02T08:57:01  <dreimark> may be stay connected and just wait a bit
  61 2011-06-02T08:57:34  <faina> Its actually a bit late for me. (GMT-7)
  62 2011-06-02T08:57:46  <dreimark> oh
  63 2011-06-02T08:58:23  <dreimark> then better come back after some sleep
  64 2011-06-02T08:58:33  <faina> :) ok
  65 2011-06-02T08:59:02  <faina> Thank you. And have a good day/night.
  66 2011-06-02T08:59:16  <dreimark> you are welcome
  67 2011-06-02T08:59:26  *** faina has left #moin-dev
  68 2011-06-02T09:48:59  *** sinha has joined #moin-dev
  69 2011-06-02T09:51:46  <sinha> dreimark: Re grouping based on item name, when a item with name "Sample" is deleted its name get changed to something like "Trash/Sample (2011-05-25 11:15:39 UTC) ", how should i handle grouping in this case ? I mean should group on the basis on name "Sample" and Add this item "Trash/Samp.." to that group or just leave this one separate ?
  70 2011-06-02T09:53:02  <sinha> dreimark: when retrieving rev object rev.item.name will return that "Trash/Sample.." name of that deleted item and rev.name will return that "Sample" name, So would grouping on basis of rev.name will suffice our object ?
  71 2011-06-02T10:01:42  <dreimark> sinha: make it separate
  72 2011-06-02T10:01:54  <dreimark> it is similiar to a new created one
  73 2011-06-02T10:03:34  <sinha> and so in that case "Trahs/Sampl.." will have lots of simiar items, like whatever change was earlier done for the item "Sample" will fall into this
  74 2011-06-02T10:03:35  <dreimark> you need for that case to verify if rev.item.name == rev.name
  75 2011-06-02T10:04:27  <dreimark> yes, but you show only those which fit into the date
  76 2011-06-02T10:04:34  <ronny> moin
  77 2011-06-02T10:04:37  <dreimark> not all together of all days
  78 2011-06-02T10:05:01  <dreimark> just the recent one
  79 2011-06-02T10:05:14  <dreimark> where it was trashed
  80 2011-06-02T10:05:26  <dreimark> s/where/when/
  81 2011-06-02T10:05:34  <sinha> yes and that trashed item will have all earlier item in its group
  82 2011-06-02T10:05:40  <dreimark> yes
  83 2011-06-02T10:06:03  <sinha> and should i also show the name of original item beside that Trash item
  84 2011-06-02T10:06:28  <dreimark> yes, look at the comment, may be it is in that
  85 2011-06-02T10:06:33  <sinha> bacause i  guess in case of Trash/item,that rev.name will be same as rev.otem.name
  86 2011-06-02T10:06:40  <sinha> s/otem/item
  87 2011-06-02T10:06:47  <dreimark> other wise you should tell previously named ...
  88 2011-06-02T10:07:17  <dreimark> there should be a rename comment
  89 2011-06-02T10:08:28  <sinha> how will i get its previous name, suppose a item is created and then deleted then the revision detail of when that item is created will have that rev.item.name as "Trash/item.." and rev.name as "Item"
  90 2011-06-02T10:08:49  <sinha> but the revision result of that "Trash/Item" action will have both one same
  91 2011-06-02T10:08:59  <sinha> seeing my point ?
  92 2011-06-02T10:09:05  <dreimark> there must be a comment
  93 2011-06-02T10:09:41  <sinha> you mean i should insert comment
  94 2011-06-02T10:09:48  <dreimark> and there is the action flag
  95 2011-06-02T10:10:27  <dreimark> and currently it is only a prefix of trasj
  96 2011-06-02T10:10:34  <dreimark> Trash
  97 2011-06-02T10:10:46  <dreimark> so you get its old name by removing the prefix
  98 2011-06-02T10:11:07  <sinha> yes i can do that
  99 2011-06-02T10:11:12  <dreimark> sinha: trashname = u'%s%s (%s UTC)' % (trash_prefix, self.name, now)
 100 2011-06-02T10:11:19  <dreimark> thats how it is defined
 101 2011-06-02T10:11:44  <sinha> okay and the top comment will be "this item was named as something,something "
 102 2011-06-02T10:12:03  <dreimark> yes, you cant use the same wording as in 1.9
 103 2011-06-02T10:12:11  <dreimark> so that is already translated
 104 2011-06-02T10:12:52  <sinha> okay first do this one, will ask more doubts later, if i face some .
 105 2011-06-02T10:13:06  <dreimark> http://hg.moinmo.in/moin/1.9/file/c162353f99ed/MoinMoin/i18n/en.MoinMoin.po#l1050
 106 2011-06-02T10:13:18  <dreimark> ok
 107 2011-06-02T10:33:46  *** m4k3r has joined #moin-dev
 108 2011-06-02T11:07:54  *** greg_f has joined #moin-dev
 109 2011-06-02T11:32:11  <Marchael> ThomasWaldmann: need your help with testing whoosh schema. There is traceback what generate my test and I don't understand reason of it http://paste.pocoo.org/show/399347/
 110 2011-06-02T11:45:45  <ThomasWaldmann> moin
 111 2011-06-02T11:46:09  <Marchael> hi ThomasWaldmann
 112 2011-06-02T11:47:09  <ThomasWaldmann> 15 is no good idea. don't use relative pathes. see other tests about how to create a temp dir for tests.
 113 2011-06-02T11:48:25  <ThomasWaldmann> maybe just name them "index" and "writer"
 114 2011-06-02T11:49:09  <ThomasWaldmann> and have separate tests for revisions and items
 115 2011-06-02T11:51:19  <ThomasWaldmann> the error msg in 120 is rather clear
 116 2011-06-02T11:52:35  <Marchael> hm, that mean what I need to add 4 additional params to item_name_analyzer()?
 117 2011-06-02T11:55:34  <ThomasWaldmann> it has a standard interface, you need to use that
 118 2011-06-02T11:56:09  <ThomasWaldmann> and add a test for it
 119 2011-06-02T11:56:32  <Marchael> ok
 120 2011-06-02T11:56:37  * Marchael brb
 121 2011-06-02T12:16:37  * Marchael bbl
 122 2011-06-02T12:21:10  *** Marchael has quit IRC
 123 2011-06-02T12:22:24  *** m4k3r has quit IRC
 124 2011-06-02T12:33:42  *** m4k3r has joined #moin-dev
 125 2011-06-02T12:42:05  <sinha> ThomasWaldmann: Can we generate any link having some params like "/+diff/item?val=1&val2=1" this, using that url_for function in template
 126 2011-06-02T13:10:33  *** sinha has quit IRC
 127 2011-06-02T13:26:30  *** sinha has joined #moin-dev
 128 2011-06-02T14:05:11  *** sinha has quit IRC
 129 2011-06-02T14:20:09  *** sinha has joined #moin-dev
 130 2011-06-02T14:48:50  *** m4k3r_ has joined #moin-dev
 131 2011-06-02T14:52:06  *** m4k3r has quit IRC
 132 2011-06-02T15:15:44  <sinha> and yes can access rev.revno also
 133 2011-06-02T15:16:11  <sinha> how could i access other attributes of rev object ??
 134 2011-06-02T16:40:26  <dreimark> do you have greppd for rev in template dir ?
 135 2011-06-02T16:42:33  <dreimark> sinha: ^
 136 2011-06-02T16:43:32  <sinha> dreimark: there are only html files
 137 2011-06-02T16:44:10  <sinha> the file at storage/backends/indexing.py is yielding four values, three of them are name,timestamp,revno and others in rev_metas
 138 2011-06-02T16:44:19  <sinha> s/in/is
 139 2011-06-02T16:44:29  <sinha> is that causing any trouble ?
 140 2011-06-02T16:49:54  <dreimark> contenttype = rev.get(CONTENTTYPE)
 141 2011-06-02T16:50:14  <dreimark> from MoinMoin.config import CONTENTTYPE
 142 2011-06-02T16:50:16  <dreimark> beforehand
 143 2011-06-02T16:50:27  <dreimark> sinha: ^
 144 2011-06-02T16:52:05  <sinha> and for comments and others also , above will work
 145 2011-06-02T16:52:19  <sinha> by changing the import function ?
 146 2011-06-02T16:52:31  <dreimark> for all keys look in module items http://hg.moinmo.in/moin/2.0/file/5028c04190a9/MoinMoin/items/__init__.py#l67
 147 2011-06-02T16:54:11  <sinha> okay, i guess this will help , thanks
 148 2011-06-02T16:54:16  <dreimark> :)
 149 2011-06-02T17:06:53  <ThomasWaldmann> sinha: you solved your url_for function question?
 150 2011-06-02T17:07:09  <sinha> no not yet
 151 2011-06-02T17:07:26  <sinha> i thought of generating link in the function itself
 152 2011-06-02T17:07:37  <ThomasWaldmann> yes, it is possible
 153 2011-06-02T17:08:39  <sinha> ThomasWaldmann: what would be best ? generating in function or in the template file ?
 154 2011-06-02T17:09:13  <sinha> also in context of creating editor links ? because anyway i am fetching editor info in function itself
 155 2011-06-02T17:09:40  <ThomasWaldmann> doesn't make a big difference maybe. in any case you'll use url_for()
 156 2011-06-02T17:10:08  <sinha> does {{ url_for('frontend.diff', item_name=item_name,rev1=1) }} will generate +diff/Sample?rev1=1 ?
 157 2011-06-02T17:10:37  <sinha> where Sample is item_name
 158 2011-06-02T17:11:02  <ThomasWaldmann> every kwarg that doesn't go into path will be put into qs
 159 2011-06-02T17:11:28  <sinha> okay, nice
 160 2011-06-02T17:13:23  * sinha bbl , out for dinner
 161 2011-06-02T18:54:26  <dreimark> bbl
 162 2011-06-02T18:54:40  <sinha> re
 163 2011-06-02T18:59:35  * ThomasWaldmann works on flatland stuff for search form
 164 2011-06-02T19:24:45  <CIA-69> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 248:1a1dab306214 2.0/MoinMoin/ (apps/frontend/views.py items/__init__.py themes/__init__.py): move the flatland form html generator to the global environment
 165 2011-06-02T19:24:46  <CIA-69> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 249:20c18292bd02 2.0/MoinMoin/ (4 files in 3 dirs): (log message trimmed)
 166 2011-06-02T19:24:46  <CIA-69> use flatland and some html5 features for search form, details see below
 167 2011-06-02T19:24:46  <CIA-69> generate the top-right search form using flatland.
 168 2011-06-02T19:24:46  <CIA-69> currently, search form is only rendered for "show" view.
 169 2011-06-02T19:24:47  <CIA-69> use a Validator for the search form, currently it rejects if search query
 170 2011-06-02T19:24:47  <CIA-69> length is below 2 (such stuff usually causes high load and gives too many
 171 2011-06-02T19:24:48  <CIA-69> results).
 172 2011-06-02T19:38:21  *** greg_f has quit IRC
 173 2011-06-02T19:49:40  <CIA-69> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 250:bc16cd1f04e0 2.0/MoinMoin/ (apps/frontend/views.py templates/layout.html): integrate the simple search into show view (makes it easier to show search query validation errors)
 174 2011-06-02T19:51:16  <ThomasWaldmann> ^^ that's ugly still, needs css
 175 2011-06-02T20:20:04  * ThomasWaldmann fixes css
 176 2011-06-02T20:22:40  <CIA-69> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 251:4654343b5abd 2.0/MoinMoin/themes/modernized/static/css/common.css: moin-searchform css: prettify validation error display, remove unused stuff
 177 2011-06-02T21:36:47  <ThomasWaldmann> http://paste.pocoo.org/show/399675/ < shall we do that to save some screen estate?
 178 2011-06-02T22:43:53  *** m4k3r_ has quit IRC
 179 2011-06-02T23:58:22  *** sinha has quit IRC
 180 

MoinMoin: MoinMoinChat/Logs/moin-dev/2011-06-02 (last edited 2011-06-01 22:45:03 by IrcLogImporter)