1 2010-05-28T00:01:59  <CIA-47> Diogenes Augusto <diofeher@gmail.com> default * 8225:e67eaffec0df 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/header.html theme/__init__.py theme/modernized.py): now we have a jinjaTheme class that inherits ThemeBase
   2 2010-05-28T00:02:09  <CIA-47> Diogenes Augusto <diofeher@gmail.com> default * 8226:13842149a954 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (search/__init__.py templates/header.html): converted trail and title functions into jinja2
   3 2010-05-28T00:02:15  <valeuf> good night ^ ^
   4 2010-05-28T00:02:34  <xorAxAx> gn valeuf
   5 2010-05-28T00:09:18  <CIA-47> Diogenes Augusto <diofeher@gmail.com> default * 8227:a5723dee88c0 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/jinja.py: forget to add jinja class
   6 2010-05-28T00:13:49  <ThomasWaldmann> diofeher: title() -> kill the backlink magic
   7 2010-05-28T00:16:52  <diofeher> ThomasWaldmann: didn't understood
   8 2010-05-28T00:17:07  <ThomasWaldmann> (this can be replaced by an action menu item: less magic, better visible, less special cases)
   9 2010-05-28T00:17:36  <ThomasWaldmann> http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/rev/a5723dee88c0#l1.82 + following few lines
  10 2010-05-28T00:17:51  <ThomasWaldmann> that does a linkto: search for the page title
  11 2010-05-28T00:18:10  <diofeher> hmmm
  12 2010-05-28T00:18:13  <ThomasWaldmann> just do a link to current page instead
  13 2010-05-28T00:19:16  <diofeher> and move this magic to action menu item?
  14 2010-05-28T00:19:21  <ThomasWaldmann> yes
  15 2010-05-28T00:19:43  <diofeher> ok
  16 2010-05-28T00:20:22  <ThomasWaldmann> doing a backlinks search by clicking title is kind of wiki heritage
  17 2010-05-28T00:20:38  <ThomasWaldmann> but the problem is new users don't get it
  18 2010-05-28T00:21:39  <diofeher> get it :)
  19 2010-05-28T00:21:43  <ThomasWaldmann> and it creates special cases at 2 places when doing it that way
  20 2010-05-28T00:21:50  <diofeher> just to you know, MoinSearch is broken
  21 2010-05-28T00:22:02  <ThomasWaldmann> a) in title() for creating the search link
  22 2010-05-28T00:22:50  <ThomasWaldmann> b) in navibar, for adding an entry that links to current page (one needs it if one is on a action different from show action and wants to return to normal page view)
  23 2010-05-28T00:23:07  <ThomasWaldmann> yes, that's known, ignore it
  24 2010-05-28T00:24:17  <diofeher> hmm
  25 2010-05-28T00:24:51  <ThomasWaldmann> so, an action menu entry "What links here?" is easier in the end.
  26 2010-05-28T00:25:08  <diofeher> makes sense
  27 2010-05-28T00:25:17  <diofeher> i'm gonna put this in my TODO list :)
  28 2010-05-28T00:27:45  <ThomasWaldmann> also, before doing too much changes in the way you do now, find out how to build links from the template
  29 2010-05-28T00:28:34  <ThomasWaldmann> so that you just give the page name to the template, and the template computes the link to the page
  30 2010-05-28T00:31:05  <ThomasWaldmann> (or a tuple (pagename, linktext))
  31 2010-05-28T00:33:04  <ThomasWaldmann> http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/rev/a5723dee88c0#l1.293
  32 2010-05-28T00:33:33  <ThomasWaldmann> that is the b) special case you won't need any more then
  33 2010-05-28T00:34:53  <diofeher> oh ok
  34 2010-05-28T00:35:14  <diofeher> so, remove this special case 2, fix the actual title method, and create a new action title :)
  35 2010-05-28T00:39:11  <ThomasWaldmann> yes
  36 2010-05-28T00:40:23  <diofeher> sorry to always do these lists... i do this just to remember, i'm kind forgetful
  37 2010-05-28T00:40:24  <ThomasWaldmann> also, later (when it comes to style stuff), we need to modify the title display so that users aren't confusing it with document title
  38 2010-05-28T00:40:47  <ThomasWaldmann> (maybe it should also get renamed in the code)
  39 2010-05-28T00:41:16  <ThomasWaldmann> that thing is just navigation, document name, document location
  40 2010-05-28T00:41:36  <diofeher> okay, later we talk about them :D
  41 2010-05-28T00:41:45  <diofeher> so, i have some news about new design
  42 2010-05-28T00:41:55  <ThomasWaldmann> if one wants to have some nice "title" above the document, one uses = what ever =
  43 2010-05-28T00:42:10  <diofeher> i've contacted a friend of mine, he's a great designer
  44 2010-05-28T00:42:46  <ThomasWaldmann> http://wiki.sheep.art.pl/
  45 2010-05-28T00:42:54  <diofeher> and he will makes the new design :) it's just trade-off
  46 2010-05-28T00:42:59  <diofeher> www.diegonaive.com
  47 2010-05-28T00:43:11  <diofeher> Radomir gonna do the new design?
  48 2010-05-28T00:43:40  <ThomasWaldmann> i just wanted to point out qualification of your mentor :)
  49 2010-05-28T00:43:50  <diofeher> hehe, I saw his wiki
  50 2010-05-28T00:44:04  <ThomasWaldmann> and, mind it is YOUR project, not radomirs and not your friend's
  51 2010-05-28T00:44:12  <diofeher> it's fantastic, designs made by him
  52 2010-05-28T00:44:16  <diofeher> i know
  53 2010-05-28T00:44:30  <diofeher> but i'm not good designer :/
  54 2010-05-28T00:45:00  * ThomasWaldmann neither
  55 2010-05-28T00:45:06  <diofeher> only site that i've drawed was mine
  56 2010-05-28T00:45:08  <diofeher> www.diofeher.net
  57 2010-05-28T00:45:24  <diofeher> and some from university projects
  58 2010-05-28T00:45:33  <ThomasWaldmann> I always try to choose really sucking colours in the hope that someone jumps on it and improves them. :D
  59 2010-05-28T00:45:45  <diofeher> hehehe
  60 2010-05-28T00:46:42  <diofeher> i only likes to do html and css
  61 2010-05-28T00:47:24  <ThomasWaldmann> css hates me
  62 2010-05-28T00:48:03  <ThomasWaldmann> I sometimes think "oh this should be easy to do with css" but some hours later I usually think "someone better with css should do that"
  63 2010-05-28T00:48:55  <diofeher> uauahauha
  64 2010-05-28T00:49:08  <diofeher> sometimes it's complicate
  65 2010-05-28T00:50:03  <ThomasWaldmann> a nice property for a theme would be that it is easily hackable
  66 2010-05-28T00:50:35  <ThomasWaldmann> e.g. if you want to move the search box from here to there, that it just works without mixing up the rest
  67 2010-05-28T00:51:54  <diofeher> yes, i was thinking about this
  68 2010-05-28T00:52:22  <diofeher> in early versions, it's too complicated too an user modify an html from moinmoin
  69 2010-05-28T00:52:37  <diofeher> only css
  70 2010-05-28T00:53:08  <diofeher> i think it's scary try to modify html inside themebase
  71 2010-05-28T00:54:04  <CIA-47> Diogenes Augusto <diofeher@gmail.com> default * 8228:8ac9c4dfda69 2.0-dev-jinja2-plugins-dfeher/ (MoinMoin/templates/header.html docs/2.0-JINJA2-TODO): changing position of title in html and modifying TODO
  72 2010-05-28T00:55:08  <diofeher> well, i'm leaving now... gonna work out a little
  73 2010-05-28T00:55:20  <diofeher> good night
  74 2010-05-28T00:56:47  <ThomasWaldmann> gn
  75 2010-05-28T02:49:35  *** DmitryAndreev_ has joined #moin-dev
  76 2010-05-28T02:53:48  *** DmitryAndreev has quit IRC
  77 2010-05-28T04:12:11  <diofeher> hey ThomasWaldmann i'm looking logs of this channel now
  78 2010-05-28T04:12:55  <diofeher> i see you told me to fill the form... it  told to my psyBNC... and it's not showing mentions in channel, only private logs i think
  79 2010-05-28T04:13:15  <diofeher> i'm gonna try to fix it, if it's broken
  80 2010-05-28T07:41:15  *** Faxe has joined #moin-dev
  81 2010-05-28T07:41:19  <Faxe> Moin
  82 2010-05-28T08:04:57  <ThomasWaldmann> diofeher: well, stuff that could've been done in community bonding phase
  83 2010-05-28T08:05:02  <ThomasWaldmann> and moin
  84 2010-05-28T08:06:43  <dreimark> moin
  85 2010-05-28T08:06:46  *** DmitryAndreev_ has quit IRC
  86 2010-05-28T08:24:46  <dreimark> ThomasWaldmann: http://hg.moinmo.in/moin/1.9/file/203afc609f8a/MoinMoin/action/cache.py#l54
  87 2010-05-28T08:25:14  <dreimark> I need to add a new keyword for setting max_staleness
  88 2010-05-28T08:25:37  <dreimark> otherwise Image can't change the lifetime of a sendcache file
  89 2010-05-28T08:26:11  <dreimark> in my use case every hour a user is able to recreate all sendcache files
  90 2010-05-28T08:26:50  <dreimark> Also Image will need a paramter to overwrite the default of max_staleness=3600
  91 2010-05-28T08:30:16  <dreimark> the old cache files persists in that dir too
  92 2010-05-28T08:31:47  <ThomasWaldmann> huh? please first show a patch. it doesn't seem that that param has anything to do with key().
  93 2010-05-28T08:36:46  <dreimark> http://hg.moinmo.in/moin/1.9/file/203afc609f8a/MoinMoin/action/cache.py#l94
  94 2010-05-28T08:37:07  <dreimark> currently in key it calls fuid = filesys.fuid(AttachFile.getFilename(request, itemname, attachname))
  95 2010-05-28T08:37:20  * dreimark does a patch later
  96 2010-05-28T08:42:55  <ThomasWaldmann> and btw, as long as you don't run moin on windows, it shouldn't use that max_staleness param anyway
  97 2010-05-28T08:43:53  <dreimark> it seem it does
  98 2010-05-28T08:45:24  <dreimark> fiesys.fuid does not care on the OS
  99 2010-05-28T08:46:44  * dreimark likes to do a patch for fuid
 100 2010-05-28T08:52:04  <ThomasWaldmann> http://hg.moinmo.in/moin/1.9/file/203afc609f8a/MoinMoin/util/filesys.py#l285
 101 2010-05-28T08:52:19  <ThomasWaldmann> st_ino is the inode and usually non-zero on posix
 102 2010-05-28T08:54:33  <ThomasWaldmann> all that stuff is to detect changes (with the staleness stuff being just a workaround for window's limitations)
 103 2010-05-28T08:55:28  <ThomasWaldmann> so, don't patch what ain't broken
 104 2010-05-28T09:11:01  <dreimark> then something else is broken
 105 2010-05-28T09:13:17  <ThomasWaldmann> start with a clear problem description :)
 106 2010-05-28T09:14:06  <dreimark> i have removed yesterday all sendcache cache files and recreated all again
 107 2010-05-28T09:14:40  <ThomasWaldmann> they usually recreate themselves, right?
 108 2010-05-28T09:14:54  <dreimark> why?
 109 2010-05-28T09:15:11  <dreimark> they don't or they should if the inode changes
 110 2010-05-28T09:15:14  <ThomasWaldmann> because you deleted them? :)
 111 2010-05-28T09:15:55  <dreimark> yes, because i have 24098 image i recreate them once
 112 2010-05-28T09:16:40  <dreimark> yes if i delete a cache file it becomes recreated
 113 2010-05-28T09:16:51  <dreimark> but i want to ommit that cpu time
 114 2010-05-28T09:17:14  <ThomasWaldmann> you can't
 115 2010-05-28T09:17:26  <dreimark> why not
 116 2010-05-28T09:17:47  <ThomasWaldmann> it either recreates the cache content when you run your "access all stuff to recreate cache" script
 117 2010-05-28T09:18:01  <ThomasWaldmann> putting lots of load in a short time onto the cpu
 118 2010-05-28T09:18:24  <ThomasWaldmann> or, it will just recreate them on the fly first time someone accesses the object
 119 2010-05-28T09:18:43  <dreimark> yes, but currently it creates them again later
 120 2010-05-28T09:18:47  <ThomasWaldmann> putting a little load on the cpu for a more longspread time
 121 2010-05-28T09:20:04  <ThomasWaldmann> it creates cache again for an item that hasn't changed?
 122 2010-05-28T09:20:06  <dreimark> i don't say anything against the different usecases of cpu
 123 2010-05-28T09:20:39  <dreimark> i just don't want that it makes additional cache files while it has one for a file
 124 2010-05-28T09:20:56  <dreimark> the number of cache files increases per access of an image on my system
 125 2010-05-28T09:21:26  <ThomasWaldmann> find out why and how to reproduce
 126 2010-05-28T09:21:31  <dreimark> yes
 127 2010-05-28T09:21:44  *** DmitryAndreev_ has joined #moin-dev
 128 2010-05-28T12:52:37  <TheSheep> would you guys be interested in doing some talk at this year's PyConPL ?
 129 2010-05-28T12:55:22  * ThomasWaldmann doesn't even give one at europython
 130 2010-05-28T12:56:02  <TheSheep> well, PyConPL has probably lower requirements :)
 131 2010-05-28T13:30:54  <aa_> ThomasWaldmann: you should do a lightning talk on "Recent advances in moin" at least, most people don't know how quickly it is progressing
 132 2010-05-28T13:32:29  <TheSheep> aa_: would *you* come? :)
 133 2010-05-28T13:33:19  <aa_> TheSheep: to pyconPL? sorry my calendar is very full, I can only attend europy because it is in this country this year
 134 2010-05-28T13:33:33  <TheSheep> aa_: I see, a shame
 135 2010-05-28T13:54:23  <ThomasWaldmann> aa_: yes, some informal quick talk or "moin user meetup and ask everything" is rather likely
 136 2010-05-28T13:54:50  <ThomasWaldmann> ah, and sprints for whoever wants to join
 137 2010-05-28T14:11:33  <dreimark> we can do an openspace session and sprints
 138 2010-05-28T14:12:11  <dreimark> TheSheep: when ?
 139 2010-05-28T14:35:21  <TheSheep> dreimark: not sure exactly, in November in Zakopane
 140 2010-05-28T15:04:09  <dreimark> good that it is not in october
 141 2010-05-28T15:04:23  <dreimark> i tried page_header1 = u"<html><h1>Hallo</h1></html>"
 142 2010-05-28T15:04:41  <dreimark> and page_footer1 = u"<html><h1>Hallo</h1></html>"
 143 2010-05-28T15:04:53  <dreimark> the page_header1 is not shown
 144 2010-05-28T15:04:59  <dreimark> is that a bug?
 145 2010-05-28T15:17:37  <TheSheep> you can only have one html tag per document
 146 2010-05-28T15:31:27  <dreimark> yes but it doesnt show <h1>Hallo</h1> too
 147 2010-05-28T15:32:31  <dreimark> http://paste.pocoo.org/show/219294/
 148 2010-05-28T15:43:36  <ThomasWaldmann> no <html> or </html>
 149 2010-05-28T15:44:10  <dreimark> yes, but h1 should work or?
 150 2010-05-28T15:44:17  <dreimark> page_header1 = u"<h1>Hallo</h1>"
 151 2010-05-28T15:45:40  <ThomasWaldmann> just look at the output
 152 2010-05-28T15:47:10  <dreimark> i did and i didn't find it in the page source
 153 2010-05-28T15:47:50  <dreimark> ok - fixed
 154 2010-05-28T15:48:18  <dreimark> fscking long wikiconfig_local sorry
 155 2010-05-28T15:48:38  <dreimark> sorry
 156 2010-05-28T15:56:44  *** SWAT has joined #moin-dev
 157 2010-05-28T15:56:48  *** SWAT has left #moin-dev
 158 2010-05-28T17:00:00  *** DmitryAndreev_ has quit IRC
 159 2010-05-28T19:21:30  <ThomasWaldmann> re
 160 2010-05-28T19:47:23  <dreimark> re
 161 2010-05-28T19:49:42  <dreimark> diofeher: can you use on MM if possible half of your names. so that pagetitles become shorter. on my screen your pages are listed in two lines in RC always.
 162 2010-05-28T19:50:04  <dreimark> (this is just a question)
 163 2010-05-28T19:58:12  <ThomasWaldmann> hehe
 164 2010-05-28T19:58:22  <ThomasWaldmann> ENAMETOOLONG
 165 2010-05-28T19:59:13  <ThomasWaldmann> http://asset.soup.io/asset/0844/3932_6286.jpeg lol, ENAMEHASNONASCII
 166 2010-05-28T20:00:32  *** DmitryAndreev_ has joined #moin-dev
 167 2010-05-28T20:00:50  *** DmitryAndreev_ is now known as DmitryAndreev
 168 2010-05-28T20:14:22  <CIA-47> Dmitry Andreev <klieg.polar@gmail.com> default * 8224:c4a840b01c1b 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/ (moinwiki_in.py moinwiki_out.py): DOM->Moinwiki: span node added, first test.
 169 2010-05-28T21:21:36  <dreimark> where is the user_homewiki cached
 170 2010-05-28T21:22:08  <dreimark> i have changed the var and now it each click cycles me through the old and new page
 171 2010-05-28T21:22:51  <ThomasWaldmann> maybe some processes still have old config
 172 2010-05-28T21:23:04  <dreimark> server was rebooted
 173 2010-05-28T21:23:15  <dreimark> but ...
 174 2010-05-28T21:24:54  <dreimark> good idea one instance has some different settings
 175 2010-05-28T22:33:15  <diofeher> hello
 176 2010-05-28T22:33:27  <diofeher> ok dreimark i'm gonna change my pages to DiogenesAugusto
 177 2010-05-28T22:42:38  <dreimark> :)
 178 2010-05-28T22:46:51  <diofeher> changed :)
 179 2010-05-28T22:56:25  <TheSheep> diofeher: how is it going?
 180 2010-05-28T22:56:54  * TheSheep just came from tedxpoznan
 181 

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-05-28 (last edited 2010-05-27 22:45:03 by IrcLogImporter)