2009-03-17T00:00:48  <CIA-38> Reimar Bauer <rb.proj AT googlemail DOT com> default * 4659:1b3b177719ee 1.9/MoinMoin/script/account/homepage.py: script.account.homepage: This tool allows you to create user homepages via a command line interface.
2009-03-17T00:22:53  <dreimark> TheSheep: will be arnicaslides an operation or view action or can one be in both categories?
2009-03-17T01:11:21  *** |mmk[null]| has joined #moin-dev
2009-03-17T01:15:33  *** |mmk[null]| has quit IRC
2009-03-17T01:23:22  *** grzywacz has quit IRC
2009-03-17T04:37:49  *** starshine_away has quit IRC
2009-03-17T04:38:37  *** starshine_away has joined #moin-dev
2009-03-17T04:50:55  *** starshine_away has quit IRC
2009-03-17T04:50:55  *** ChanServ has quit IRC
2009-03-17T04:51:29  *** ChanServ has joined #moin-dev
2009-03-17T04:51:29  *** starshine_away has joined #moin-dev
2009-03-17T04:51:29  *** irc.freenode.net sets mode: +o ChanServ
2009-03-17T06:47:02  *** TheSheep has quit IRC
2009-03-17T06:47:02  *** waldi has quit IRC
2009-03-17T06:49:05  *** TheSheep has joined #moin-dev
2009-03-17T06:49:31  *** waldi has joined #moin-dev
2009-03-17T07:01:52  *** waldi has quit IRC
2009-03-17T07:02:34  *** waldi has joined #moin-dev
2009-03-17T09:03:04  *** moinBot` has joined #moin-dev
2009-03-17T09:03:04  *** moinBot has quit IRC
2009-03-17T09:49:21  *** moinBot has joined #moin-dev
2009-03-17T10:10:49  <dreimark> moin
2009-03-17T12:13:20  <ThomasWaldmann> moin
2009-03-17T12:18:08  <TheSheep> dreimark: as I see it, arnica (and AttachFile) is not a single action, but a whole bunch
2009-03-17T12:20:14  <TheSheep> dreimark: the main part is a view, but there is a number of operations, and even an export (the slideshow)
2009-03-17T15:42:20  <dreimark> we need to figure out how we can handle user contributed htdocs extensions for 1.9.
2009-03-17T15:50:46  *** jermy_ has joined #moin-dev
2009-03-17T15:51:09  *** jermy_ is now known as jermy
2009-03-17T15:57:58  <dreimark> currently I can install moin extensions in a separate dir. If I want to use htdocs from that dir the easiest solution can be to define a new alias var for that htdocs dir
2009-03-17T15:59:17  <dreimark> that will work for arnica.
2009-03-17T15:59:58  <dreimark> Slideshow will need currenly to have copied it's css dir to the theme you are using.
2009-03-17T16:02:04  <dreimark> I would prefer to handle the moin extensions as ready to use applications. Without a difficult installation procedure.
2009-03-17T16:03:31  <dreimark> It should be something like unpack, set an alias of moin_extensions to point to the htdocs dir and use the plugin_dirs = ['/some/where/extensions/data/plugin']
2009-03-17T16:07:18  <TheSheep> what about theming arnica?
2009-03-17T16:07:32  <TheSheep> for example, if your icons are too dark for my theme...
2009-03-17T16:08:24  <TheSheep> I think it would be nice if the plugins could have hooks in the theme, and use its defaults if the theme doesn't support them
2009-03-17T16:08:46  <dreimark> good idea.
2009-03-17T16:08:50  <TheSheep> something like what is done for rc currently
2009-03-17T16:08:59  <TheSheep> maybe less complicated
2009-03-17T16:11:56  <dreimark> in 1.9 htdocs is in the lib dir which is then not easy to change for wiki admin which are not server admins
2009-03-17T16:12:43  <TheSheep> shame we can't put symlinks in zips
2009-03-17T16:13:34  <TheSheep> dreimark: how about installing arnica as you install theme?
2009-03-17T16:19:40  <dreimark> the theme code can't be installed in 1.9 the way I did it. install theme code from the package installer isn't possible by 1.9.
2009-03-17T16:20:16  <dreimark> Or do you mean something different?
2009-03-17T16:20:20  <dreimark> TheSheep: ^^
2009-03-17T16:25:52  <TheSheep> dreimark: ah, ok, then it requires some thinking
2009-03-17T16:41:12  <ThomasWaldmann> dreimark: maybe we can just document, that if someone wants to have per-wiki static stuff or static stuff with extensions, that he needs a separate htdocs directory then
2009-03-17T16:41:49  <ThomasWaldmann> in fact, if you see the builtin static server as a emergency fallback (you don't need to use that), nothing changed compared to 1.8
2009-03-17T16:48:35  <dreimark> the difference is that in 1.8 one has only to modify wikiconfig.py now he needs to give another alias which needs to be done by one with edit rights on the apache config
2009-03-17T16:51:43  <dreimark> ThomasWaldmann: can we split DefaultConfig.url_prefix_static in DefaultConfig.url.prefix_static and DefaultConfig.url.prefix_extensions
2009-03-17T16:52:47  <dreimark> so that it somehow points on a wiki contributed htdocs dir
2009-03-17T16:53:18  <dreimark> which can overwrite the defaults of moin static files
2009-03-17T17:01:26  <ThomasWaldmann> url_prefix_foo points to a URL, not to a directory
2009-03-17T17:01:41  <ThomasWaldmann> so you need to serve that URL with data from some directory
2009-03-17T17:03:47  <dreimark> I know. I mean the difference is that you can'
2009-03-17T17:04:11  <dreimark> t install a theme based plugin or other theme now if you don't have
2009-03-17T17:04:15  <dreimark> access to the webserver
2009-03-17T17:04:24  <dreimark> or root rights
2009-03-17T17:05:25  <dreimark> It is not enough to have all rights for the instance of your wiki
2009-03-17T17:13:24  <ThomasWaldmann> well, you need to serve the stuff somehow. for apache, you'll need someone configuring it, and due to way it is setup, moin can't easily serve per-wiki static data right now.
2009-03-17T17:14:47  <dreimark> htg bbl
2009-03-17T18:44:37  <dreimark> re
2009-03-17T19:10:50  <dreimark> deprection warning for emit_http_headers http://paste.pocoo.org/show/108351/
2009-03-17T19:17:02  <dreimark> also I think we should add ensureversion to wikiutil http://paste.pocoo.org/show/108352/
2009-03-17T19:17:38  <dreimark> that can be called then from various plugins
2009-03-17T19:21:59  <dreimark> I am not sure if we want backwards compatible Form code. I think we should dscribe the changes and one who likes to support different version should test with  wikiutil.ensureversion an provide in his code both worlds
2009-03-17T19:23:34  <ThomasWaldmann>  if you like to work on the version spec problem, maybe better do a clean solution of the root problem
2009-03-17T19:24:47  <ThomasWaldmann> for comparing versions, a tuple like (1, 8, 2, 1.0) similar to the stuff used in moin.spec is maybe the best way
2009-03-17T19:25:09  <ThomasWaldmann> (or somehow like the numbering in debian packages)
2009-03-17T19:27:15  <ThomasWaldmann> then you do not need stuff like do_ensureversion but you can just compare tuples
2009-03-17T19:28:21  <ThomasWaldmann> hmm, maybe rather (1, 8, 2, '1.0') - that would be a release
2009-03-17T19:28:53  <ThomasWaldmann> (1, 9, 0, '0.1beta1') would be a beta
2009-03-17T19:31:08  <ThomasWaldmann> dreimark: about emit_http_headers - that's not just deprecated, but GONE :)
2009-03-17T19:31:44  <ThomasWaldmann> for being deprecated, it needs to be there and still working somehow, and give that warning
2009-03-17T19:36:09  <ThomasWaldmann> also, if you just emit that warning there, it won't give some hint at where emit_http_headers is called. So, if it doesn't work, we better raise an exception so ones sees where the call was made.
2009-03-17T19:44:49  <dreimark> I have not used raise because this means you can't have the same code for 1.8 and 1.9. If you remove emit_http_headers from your code it won't run with 1.8
2009-03-17T20:17:53  <ThomasWaldmann> and if you do it for 1.9, it won't do anything
2009-03-17T20:32:46  <dreimark> ThomasWaldmann: SlideShow will then run with 1.8 and 1.9.
2009-03-17T20:33:22  <ThomasWaldmann> because it uses that call without arguments
2009-03-17T20:36:38  <dreimark> how do we want to proceed with the extension repo. should it be compatible are always be bounded to the current developed moin version
2009-03-17T20:36:52  <dreimark> s/are/or/
2009-03-17T20:49:54  <ThomasWaldmann> that's the decision of every extensions authoDr
2009-03-17T20:50:56  <ThomasWaldmann> 
2009-03-17T20:59:12  <dreimark> no. I think we don't want estensions for 1.3 in the extension repo.
2009-03-17T21:04:03  <ThomasWaldmann> hg rm :)
2009-03-17T21:04:19  <ThomasWaldmann> or, alternatively, commit an update
2009-03-17T21:09:37  <ThomasWaldmann> and, if one adds some useful commit comments like "made it working with moin 1.9", a user can pick some appropriate revision
2009-03-17T21:16:05  <dreimark> some states of the plugin needs to be published then or it can become more complicated for a user to find the right version
2009-03-17T21:23:12  <ThomasWaldmann> you can link to the correct rev
2009-03-17T21:26:04  <dreimark> let's see if this works
2009-03-17T21:41:27  *** jermy has left #moin-dev
2009-03-17T22:23:01  *** grzywacz has joined #moin-dev
2009-03-17T23:39:40  *** grzywacz has quit IRC

MoinMoin: MoinMoinChat/Logs/moin-dev/2009-03-17 (last edited 2009-03-16 23:15:02 by IrcLogImporter)