2009-04-29T00:04:50 <dreimark> TheSheep: any idea how I could stupidly have force no linebreak in my theme in li css
2009-04-29T00:05:37 <TheSheep> dreimark: li { display: inline }
2009-04-29T00:05:49 <TheSheep> or float it
2009-04-29T00:06:04 <TheSheep> both ways have their advantages
2009-04-29T00:06:17 <TheSheep> inline elements don't have height or vertical padding
2009-04-29T00:06:47 <TheSheep> floats require a clear at the end
2009-04-29T00:07:27 <TheSheep> inline-table or inline-block would be best, but don't work in all browsers
2009-04-29T00:08:15 <TheSheep> (guess which ones)
2009-04-29T00:08:20 <dreimark> ok, browser testing needs to be done later. currently resizing of the screen does not look good
2009-04-29T00:08:52 <TheSheep> link?
2009-04-29T00:09:19 <dreimark> https://www.fp7-reconcile.eu/FrontPage
2009-04-29T00:11:17 <TheSheep> that's weird
2009-04-29T00:11:32 <dreimark> indeed
2009-04-29T00:12:15 <TheSheep> btw, did you use the color scheme enerator for mandarin?
2009-04-29T00:12:31 <TheSheep> http://atos.wmid.amu.edu.pl/~sheep/cgi-bin/mandarin-color.cgi
2009-04-29T00:13:42 <dreimark> not yet. this will become a very strict cms like theme. first I thought I could show a login link to the wiki itselfs
2009-04-29T00:14:35 <TheSheep> I'd put the login link in the footer
2009-04-29T00:14:37 <dreimark> but we learned today that there are some people involved which seems never to used a wiki or dynamix content
2009-04-29T00:14:53 <dreimark> the solution for now is to have two wiki
2009-04-29T00:15:07 <TheSheep> staging
2009-04-29T03:26:45 *** devilsadvocate has quit IRC
2009-04-29T03:27:28 *** devilsadvocate has joined #moin-dev
2009-04-29T03:38:40 *** devilsadvocate has quit IRC
2009-04-29T03:39:33 *** devilsadvocate has joined #moin-dev
2009-04-29T05:20:04 *** amartani has left #moin-dev
2009-04-29T08:23:35 *** dimazest has joined #moin-dev
2009-04-29T08:26:19 *** dimazest has quit IRC
2009-04-29T08:29:39 *** dimazest has joined #moin-dev
2009-04-29T08:32:06 <ThomasWaldmann> moin
2009-04-29T08:32:08 <dreimark> moin
2009-04-29T08:32:45 <TheSheep> moin
2009-04-29T08:38:39 <dreimark> dennda: ThomasWaldmann this router middleware. can that also be used in the future to have two or more different data dirs if one likes to use the file backend?
2009-04-29T08:39:41 *** devilsadvocate has quit IRC
2009-04-29T08:39:50 *** devilsadvocate has joined #moin-dev
2009-04-29T08:53:29 <ThomasWaldmann> dreimark: it is comparable with mounting filesystems at different mount points
2009-04-29T08:54:47 <dreimark> :)
2009-04-29T08:56:08 <ThomasWaldmann> i don't think many people will use multiple fs backends mounted in the namespace, but for other backends, this is much more important
2009-04-29T08:56:39 <ThomasWaldmann> like if someone does some "virtual pages" backend, showing other stuff in the wiki namespace
2009-04-29T08:58:09 *** dimazest has quit IRC
2009-04-29T08:59:31 <dreimark> currently I think on using it for the case using a wiki for presententing a small amount of content to the word which will can be altered by another wiki
2009-04-29T08:59:53 <dreimark> instead of doing an html dump
2009-04-29T09:00:06 <dreimark> s/word/world/
2009-04-29T09:04:42 *** dimazest has joined #moin-dev
2009-04-29T09:08:21 <ThomasWaldmann> yes, once we have that code, that maybe could work that way
2009-04-29T09:10:19 <TheSheep> does a backend have to implement history?
2009-04-29T09:11:56 <ThomasWaldmann> you mean revisioning?
2009-04-29T09:12:23 <TheSheep> yes
2009-04-29T09:12:50 <TheSheep> I'm thinking of a 'just show the files form directories' backend...
2009-04-29T09:12:55 <TheSheep> from*
2009-04-29T09:13:08 <TheSheep> for things dreimark mentioned
2009-04-29T09:13:12 <ThomasWaldmann> it will have to comply with the api, but I guess it could fake it, without doing real revisioning.
2009-04-29T09:13:15 <TheSheep> maybe even read-only
2009-04-29T09:13:23 <TheSheep> too bad
2009-04-29T09:14:05 <ThomasWaldmann> what's "too bad"?
2009-04-29T09:14:25 <TheSheep> nothing
2009-04-29T09:17:43 <dreimark> TheSheep: ddo you have somewhere handy this javascript code which gets the browser resolution. I have to implement an image which should resize.
2009-04-29T09:19:25 <TheSheep> dreimark: window.clientWidth ?
2009-04-29T09:20:49 <dreimark> argh so easy thanks radomir :)
2009-04-29T09:21:10 <dreimark> bbl
2009-04-29T09:21:43 <TheSheep> you might prefer document.getElementById('content').clientWidth
2009-04-29T09:29:33 *** gottesmm has joined #moin-dev
2009-04-29T09:30:02 <gottesmm> hello, does anyone here speak english?
2009-04-29T09:30:08 <TheSheep> no
2009-04-29T09:30:11 <gottesmm> good =)
2009-04-29T09:30:35 <TheSheep> you will have to speak in Lojban
2009-04-29T09:30:37 <gottesmm> I have been using moinmoin for some time and I wanted to enquire about submitting patches/etc
2009-04-29T09:31:36 <ronny> TheSheep: http://xkcd.com/191/
2009-04-29T09:32:25 <TheSheep> true, true
2009-04-29T09:32:37 <TheSheep> gottesmm: go ahead and inquire
2009-04-29T09:33:16 <gottesmm> basically one patch is a very simple patch which allows the table of contents macro to have a user specifiable minimum height
2009-04-29T09:33:35 <gottesmm> and the other is there seems to be an issue with the current wikifarm setup in terms of pathinfo/script name
2009-04-29T09:33:58 <gottesmm> which I basically had to write a solution around
2009-04-29T09:34:29 <gottesmm> basically the setup is that I was migrating a bunch of singular wikis over to a wikifarm
2009-04-29T09:34:46 <gottesmm> and so I followed all the instructions and setup 1 moin.wsgi/etc
2009-04-29T09:35:21 <gottesmm> the issue is that since there is 1 entrance to the multiple wikis
2009-04-29T09:35:53 <gottesmm> apache makes the scriptname (this might be wrong) the one uri
2009-04-29T09:35:59 <gottesmm> so if I had lets say 3 wikis
2009-04-29T09:36:03 <gottesmm> wiki1,wiki2,wiki3
2009-04-29T09:36:20 <gottesmm> and had them in /var/wiki or something like that
2009-04-29T09:36:30 <gottesmm> and have apache setup so it redirects /wiki to /var/wiki/moin.cgi
2009-04-29T09:36:46 <gottesmm> if I go /wiki/wiki1/abc
2009-04-29T09:36:55 <gottesmm> moinmoin makes the path info /wiki1/abc
2009-04-29T09:37:05 <gottesmm> and the script name (or location I cant remember right now) /wiki
2009-04-29T09:37:19 <gottesmm> when to work, path info needs to be /abc
2009-04-29T09:37:33 <gottesmm> and the script name/location needs to be /wiki/wiki1
2009-04-29T09:37:39 <gottesmm> and then everything works like a charm
2009-04-29T09:37:48 <gottesmm> and moinmoin goodness continues =)
2009-04-29T09:38:36 <gottesmm> but yes the patch is trivial since you basically just detect that you have a wikifarm and then move around some strings
2009-04-29T09:38:53 <gottesmm> but you have to do it after the multiconfig loads the real config file
2009-04-29T09:39:07 <gottesmm> so I put it in the MoinMoin.request.__init__.BaseRequest init method
2009-04-29T09:39:10 <gottesmm> after the multiconfig
2009-04-29T09:39:19 <gottesmm> TheSheep: thats all I wanted to contribute
2009-04-29T09:41:24 <gottesmm> brb
2009-04-29T09:41:26 *** gottesmm has quit IRC
2009-04-29T09:43:31 *** gottesmm has joined #moin-dev
2009-04-29T09:45:34 *** gottesmm has quit IRC
2009-04-29T09:46:03 *** gottesmm has joined #moin-dev
2009-04-29T09:46:30 <TheSheep> gottesmm: sorry, back
2009-04-29T09:46:35 <gottesmm> no worries
2009-04-29T09:46:46 <TheSheep> gottesmm: the problem is that wikifarm is also used with domain-based names
2009-04-29T09:46:58 <TheSheep> gottesmm: where you have several vhosts pointing to the same name
2009-04-29T09:47:06 <TheSheep> same script*
2009-04-29T09:47:30 <TheSheep> so you don't always want to strip the part of path
2009-04-29T09:47:59 <gottesmm> it would make sense to atleast have a setting which you can turn on to fix that use case, especially considering the simplicity of the patch
2009-04-29T09:48:18 <TheSheep> gottesmm: to submit a patch, you usually report a bug and attach the patch to the bug report page
2009-04-29T09:48:20 <gottesmm> that is all I am saying (but I understand your view)
2009-04-29T09:48:21 <gottesmm> =)
2009-04-29T09:48:36 <gottesmm> on the main moinmoin wiki?
2009-04-29T09:48:39 <TheSheep> yes
2009-04-29T09:48:39 <gottesmm> moinmoin.in?
2009-04-29T09:48:47 <gottesmm> ok cool
2009-04-29T09:48:52 <gottesmm> and what do you think about the table of contents
2009-04-29T09:49:00 <gottesmm> its basically changing 3-4 words
2009-04-29T09:49:23 <TheSheep> it's theme-specific, right?
2009-04-29T09:49:28 <gottesmm> and you can make it so that if it is not set then it is just ignored
2009-04-29T09:50:04 <gottesmm> the macro is in the main moinmoin directory
2009-04-29T09:50:05 <TheSheep> I'd rather have sane defaults than lots of customizable options
2009-04-29T09:50:52 <gottesmm> the macro is already not customized too much, it basically has 1 argument, and I would add a second optional one or something along those lines
2009-04-29T09:51:05 <gottesmm> the one issue I do have with it
2009-04-29T09:51:09 <gottesmm> (to be honest)
2009-04-29T09:51:19 <gottesmm> is that really you would want it to be TableOfContents(min,max)
2009-04-29T09:51:30 <gottesmm> but so I did not overstep legacy wiki pages
2009-04-29T09:51:37 <gottesmm> I made it so that it was TableOfContents(max,min)
2009-04-29T09:51:41 <gottesmm> which to me is a bit... counterintuitive
2009-04-29T09:53:02 <gottesmm> but anyways, thank you for the advice
2009-04-29T09:53:04 <gottesmm> =)
2009-04-29T09:53:06 <gottesmm> choa!
2009-04-29T09:53:08 *** gottesmm has quit IRC
2009-04-29T10:23:25 *** dimazest has quit IRC
2009-04-29T10:23:46 <dreimark> such a change will need a mig script too
2009-04-29T10:34:48 *** dimazest has joined #moin-dev
2009-04-29T10:38:29 <dennda> dreimark: I guess your question was already sufficiently answered?
2009-04-29T12:07:53 <dreimark> dennda: yes
2009-04-29T12:08:17 * dreimark bbl lunch
2009-04-29T12:24:02 *** dimazest has quit IRC
2009-04-29T12:46:14 *** dimazest has joined #moin-dev
2009-04-29T13:35:11 *** dimazest_ has joined #moin-dev
2009-04-29T13:35:48 *** dimazest has quit IRC
2009-04-29T13:37:44 <TheSheep> do you remember that app we used last year to see who can attend the meetings when?
2009-04-29T13:46:23 <ThomasWaldmann> was it doodle.com?
2009-04-29T13:47:18 <TheSheep> exactly, thanks
2009-04-29T14:01:39 *** dimazest has joined #moin-dev
2009-04-29T14:01:39 *** dimazest_ has quit IRC
2009-04-29T14:28:07 <ThomasWaldmann> btw, if some developer has some spare cycles: werkzeug has a code reloading feature - I guess that would be a nice feature to have before SOC coding phase starts
2009-04-29T14:36:17 <dennda> ThomasWaldmann: isn't it just something like use_reloader=True or similar?
2009-04-29T14:36:41 <dennda> ThomasWaldmann: 1.9 just uses the werkzeug debugging server?
2009-04-29T14:48:47 <ThomasWaldmann> something along those lines, but maybe not that easy
2009-04-29T15:00:09 *** dimazest has quit IRC
2009-04-29T15:07:22 *** dimazest has joined #moin-dev
2009-04-29T15:09:13 *** dimazest has quit IRC
2009-04-29T15:10:13 *** dimazest has joined #moin-dev
2009-04-29T15:12:46 *** dimazest has quit IRC
2009-04-29T16:21:07 *** amartani has joined #moin-dev
2009-04-29T16:22:40 *** devilsadvocate has quit IRC
2009-04-29T16:23:40 *** devilsadvocate has joined #moin-dev
2009-04-29T16:29:48 *** amartani1 has joined #moin-dev
2009-04-29T16:47:41 *** amartani has quit IRC
2009-04-29T16:54:36 *** dimazest has joined #moin-dev
2009-04-29T17:02:47 <dreimark> TheSheep: it was a line height problem yesterday
2009-04-29T17:37:23 *** amartani has joined #moin-dev
2009-04-29T17:55:12 *** amartani1 has quit IRC
2009-04-29T18:28:48 *** dimazest has quit IRC
2009-04-29T19:06:30 <dreimark> amartani: hi
2009-04-29T19:07:08 <dreimark> if you have a bit time please can you also add a wiki page about your project similiar to Storage2009 and Groups2009
2009-04-29T19:16:39 <amartani> dreimark: Ok, I think I can do it today..
2009-04-29T19:17:21 <dreimark> thx
2009-04-29T19:19:31 *** dimazest has joined #moin-dev
2009-04-29T19:27:02 <dreimark> bbl
2009-04-29T20:03:16 *** dimazest has quit IRC
2009-04-29T20:03:48 *** dimazest has joined #moin-dev
2009-04-29T20:25:14 *** dimazest has quit IRC
2009-04-29T20:26:50 *** dimazest has joined #moin-dev
2009-04-29T20:38:28 *** devilsadvocate has quit IRC
2009-04-29T20:38:38 *** devilsadvocate has joined #moin-dev
2009-04-29T20:56:04 *** amartani has left #moin-dev
2009-04-29T21:03:10 <TheSheep> hmm... I'm trying to run tests in the 1.9 branch
2009-04-29T21:03:22 <TheSheep> but I'm getting werkzeug import errors
2009-04-29T21:18:01 * ThomasWaldmann tries
2009-04-29T21:19:54 * ThomasWaldmann has 19 failures, some due to the systempages changes
2009-04-29T21:24:01 <ThomasWaldmann> TheSheep: all the wsgi tests fail, but it doesn't show werkzeug import errors
2009-04-29T21:50:56 <TheSheep> ThomasWaldmann: sorry, it's my fault, I confused testing frameworks
2009-04-29T21:51:08 <TheSheep> ThomasWaldmann: tried to run nosetests :)
2009-04-29T21:52:32 <ThomasWaldmann> hehe
2009-04-29T21:54:30 <TheSheep> ThomasWaldmann: I fixed a small bug in the creole parser, and double-licensed it under BSD, I'll add it to 1.9 if you don't mind
2009-04-29T21:54:47 *** amartani has joined #moin-dev
2009-04-29T21:57:09 <ThomasWaldmann> TheSheep: is it not also in 1.8?
2009-04-29T21:57:22 <TheSheep> yes
2009-04-29T21:57:34 <TheSheep> I will fix it in both
2009-04-29T21:59:17 <ThomasWaldmann> just commit to 1.8 (we'll pull to 1.9 later)
2009-04-29T21:59:50 <TheSheep> ok
2009-04-29T22:00:29 <TheSheep> does py.test also run doctests?
2009-04-29T22:01:55 <TheSheep> quite some changes in 1.8 since I last pulled
2009-04-29T22:10:34 <ThomasWaldmann> mostly fixes and minor stuff
2009-04-29T22:11:02 <CIA-36> Radomir Dopieralski <moindev@sheep.art.pl> default * 4328:634ed3db8df4 1.8/MoinMoin/parser/ (_creole.py _tests/test_text_creole.py): (log message trimmed)
2009-04-29T22:11:02 <CIA-36> creole parser: Add second license: BSD, fix spaces in multiline elements.
2009-04-29T22:11:02 <CIA-36> Because the parser eats line endings, multi-line elements such as paragraphs
2009-04-29T22:11:02 <CIA-36> were adding an extra space at the end of each line, so that the lines were not
2009-04-29T22:11:02 <CIA-36> glued together. This resulted in gratuitous spaces just before closing tags
2009-04-29T22:11:06 <CIA-36> of pragraphs. In addtion, multiline list elements didn't add the extra spaces
2009-04-29T22:11:08 <CIA-36> at all, so the lines *were* glued together. This bugfix makes the parser add
2009-04-29T22:12:18 * TheSheep patiently watches as CIA explodes
2009-04-29T22:12:36 <TheSheep> next time I will rhyme the commit mesg :)
2009-04-29T22:13:09 <TheSheep> sorry for doing both things in one commit, but I fixed it in the creole parser repo and then just copied the fixed file...
2009-04-29T22:26:43 <ThomasWaldmann> no prob :)
2009-04-29T22:29:04 *** dimazest has quit IRC
2009-04-29T22:47:15 <dreimark> re
2009-04-29T22:48:36 <ThomasWaldmann> wb dreimark
2009-04-29T22:49:04 * dreimark looks how much tests fails for me
2009-04-29T22:49:58 <dreimark> test_wsgi does not fail for me
2009-04-29T22:50:10 <TheSheep> can py.test run doctests? I have quite a few of them for creole, but I'd like to avoid rewritting them to 'grownup' tests
2009-04-29T22:50:22 <dreimark> xorAxAx: ^^^
2009-04-29T22:50:50 <dreimark> I've only 2 tests failing
2009-04-29T22:52:56 <TheSheep> same here
2009-04-29T22:53:01 <TheSheep> but lots of skipped
2009-04-29T22:53:30 <dreimark> ThomasWaldmann: do you run the tests on a ssd or ram disk?
2009-04-29T22:53:38 <ThomasWaldmann> likely my underlay is not that great
2009-04-29T22:53:52 <ThomasWaldmann> due to the recent experiments and changes
2009-04-29T22:57:06 <dreimark> a clone of my workdir gives three PEP8 failures
2009-04-29T22:57:16 <dreimark> MoinMoin/userprefs/prefs.py:28:1: E303 too many blank lines (3)
2009-04-29T22:57:26 <dreimark> MoinMoin/script/account/homepage.py:34:89: W291 trailing whitespace
2009-04-29T22:57:41 <dreimark> contrib/googleimport/googlepush.py:6:1: E303 too many blank lines (3)
2009-04-29T22:59:31 <dreimark> and 1 in testSystemPage which is because of the refactoring and 1 in test_packages which looks a bit known
2009-04-29T22:59:38 <dreimark> assert package.searchpackage(self.request, "BadCon") == [u'BadContent']
2009-04-29T23:12:03 <dreimark> TheSheep: http://codespeak.net/py/dist/test/plugins.html looks like there is a plugin for doctests
2009-04-29T23:14:24 <dreimark> some of the other plugins are also interesting: pytest_restdoc, pytest_resultlog
2009-04-29T23:19:02 <dreimark> amartani: do you edit currently http://moinmo.in/4ct10n/edit/Storage2009 ?
2009-04-29T23:19:19 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4710:5c962bbcd797 1.9/MoinMoin/i18n/strings.py: ImageLink page has been killed (ImageLink macro is gone since 1.6.1)
2009-04-29T23:21:15 <xorAxAx> dreimark: no idea what the current status is
2009-04-29T23:21:45 <amartani> dreimark: ops, canceled..
2009-04-29T23:22:56 <dreimark> amartani: for viewing / copying content you can use more actions RAW
2009-04-29T23:27:50 <dreimark> ThomasWaldmann: dennda the Router middleware is currently described for pages. Can it be used for all items? or also mimetype dependent?
2009-04-29T23:28:08 <ThomasWaldmann> all, of course
2009-04-29T23:28:17 <dreimark> the I rename page to item
2009-04-29T23:32:55 <dreimark> do you have already thought about the data of user settings. I mean if that data of a user is similiar to an item
2009-04-29T23:33:34 <dreimark> or could be handled similiar, then the router middleware could be used to store or manage usersetting files on different places
2009-04-29T23:34:05 <dreimark> dennda: ThomasWaldmann ^^^
2009-04-29T23:46:48 <dennda> users are items without revisions
2009-04-29T23:46:56 <dennda> i.e., their information is kept in the items metadata
2009-04-29T23:47:07 <dennda> the routing backend is supposed to route items between backends based on the item name
2009-04-29T23:48:04 <dreimark> :)
2009-04-29T23:51:54 *** dimazest has joined #moin-dev
2009-04-29T23:54:21 <dreimark> hi dimazest
2009-04-29T23:54:32 <dimazest> dreimark: hi
2009-04-29T23:56:46 <dreimark> dimazest: thomas has mentioned to add the refactoring of code to the topics
2009-04-29T23:57:12 <dreimark> do you have already searched through the code for e.g. page_group_regex?
2009-04-29T23:57:20 <dimazest> yes i remember, i was busy with university these days
2009-04-29T23:57:29 <dimazest> no
2009-04-29T23:59:40 <dreimark> you can get some ideas where to look for by http://moinmo.in/MelitaMihaljevic/RefactoringWikidicts#Ideas
MoinMoin: MoinMoinChat/Logs/moin-dev/2009-04-29 (last edited 2009-04-28 22:15:02 by IrcLogImporter)