From michal at sabren.com Wed Jul 2 15:53:11 2003 From: michal at sabren.com (Michal Wallace) Date: Wed Jul 2 15:53:11 2003 Subject: [Moin-devel] twisted moin Message-ID: Hey All, I run a small hosting company and one of my customers is getting a ton of traffic on his moinmoin installation. It's really eating up the server, and I was hoping to get MoinMoin running through twisted. It looks like there's been some work done in this area ( webapi.twistedMoin ) but it also looks like there's still some refactoring to with the url-parsing stuff. So, two questions: - Has anyone done any further work on twistedMoin outside of the cvs repository? - Would a patch for this be welcome? Sincerely, Michal J Wallace Sabren Enterprises, Inc. ------------------------------------- contact: michal at sabren.com hosting: http://www.cornerhost.com/ my site: http://www.withoutane.com/ -------------------------------------- From tw at waldmann-edv.de Wed Jul 2 16:34:14 2003 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Wed Jul 2 16:34:14 2003 Subject: [Moin-devel] twisted moin In-Reply-To: References: Message-ID: <3F036F99.70507@waldmann-edv.de> Hi Michal, >I run a small hosting company and one of my >customers is getting a ton of traffic on his >moinmoin installation. It's really eating up >the server, and I was hoping to get MoinMoin >running through twisted. > That will help you on response time mainly. Also less load because it hasn't to spawn a python interpreter for each page. But traffic (rendered output) and cpu load for rendering by the parser/formatter will be the same of course. For CPU saving, see Florian Festis WASP work (not integrated yet) - that's the best "caching" approach than can be done easily without very big code changes. >It looks like there's been some work done in >this area ( webapi.twistedMoin ) but it also >looks like there's still some refactoring to >with the url-parsing stuff. > >So, two questions: > > - Has anyone done any further work on > twistedMoin outside of the cvs repository? > > Not yet, but I am interested in that, too. I did quite some of the easy (but many) changes needed to make moin run in persistent environments. But some stuff has still to be done (less, but more complicated). > - Would a patch for this be welcome? > If you don't want to redo it, wait until my work is in CVS or at least do OTHER stuff. As this work was scheduled post-1.1 release, I am awaiting an OK of Juergen Hermann before I commit that to CVS. If you want to help, see the MoinDev page in the MoinMoin wiki. Work is coordinated there. What I did is that string.xxx and print -> request.write stuff, but there are some problems left (see there). I also looked a bit at twisted, but was a bit confused ;) If you are deeper into twisted and if there is interfaceing code missing, maybe you could contribute that? greetings, Thomas From marcus at quintic.co.uk Wed Jul 9 01:58:05 2003 From: marcus at quintic.co.uk (Marcus Williams) Date: Wed Jul 9 01:58:05 2003 Subject: [Moin-devel] AttachFile patch Message-ID: <14189817125.20030709095702@quintic.co.uk> Hi - I've made some modifications to the AttachFile action. Basically this allows for moderated attachments. All attachments go to a pending directory waiting for administrator approval. An administrator approves them by moving them into the pages attachments directory (this bit can be automated via cgi, but I havnt needed to for my usage). It needs cleaning up (so that it can be switched off/on with some options) but I'm using it on a site at the moment and it seems to work well. Whilst in the pending directory, users can still refer to them using the standard attachment/inline achemas but the links appear as "Attachment xyz.ext on hold pending approval" until they get moved to the attachment directory. I've also added an administrator email variable in the moin_config file so that notifications can be sent to the administrator when attachments are added to a page. Has anyone else got any use for this patch (I can post it here if people want it)? Marcus -- Marcus Williams - http://www.onq2.com Quintic Ltd, 39 Newnham Road, Cambridge, UK From karl at la-grange.net Wed Jul 9 15:38:07 2003 From: karl at la-grange.net (Karl Dubost) Date: Wed Jul 9 15:38:07 2003 Subject: [Moin-devel] XHTML 1.0 Strict Message-ID: Hi, I would like to help if not done. But I have two requests: - Is there a way to make the output valid XHTML 1.0 strict? (does someone has created a package for that?) - Is there a need for a translation in French of the interface? Thanks -- Karl Dubost - http://www.la-grange.net/ Pr?s de vous, madame, oubliant les cieux, L'astronome ?tonn? se trouble; C'est dans l'?clat caressant de vos yeux, Qu'il avait cru trouver l'?toile double. From noreply at sourceforge.net Fri Jul 11 07:36:40 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 07:36:40 2003 Subject: [Moin-devel] [ moin-Bugs-761464 ] Full Text Search Fails Message-ID: Bugs item #761464, was opened at 2003-06-26 16:36 Message generated for change (Comment added) made by jcwinnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jonathan Smith (jcwinnie) Assigned to: Nobody/Anonymous (nobody) Summary: Full Text Search Fails Initial Comment: IOError: [Errno 21] Is a directory Python 2.2.2 /usr/bin/python A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are: __doc__ = 'I/O operation failed.' __getitem__ = > __init__ = > __module__ = 'exceptions' __str__ = > args = (21, 'Is a directory') errno = 21 filename = None strerror = 'Is a directory' /usr/lib/python2.2/site-packages/MoinMoin/Page.py in get_raw_body(self=) 136 self.set_raw_body(file.read()) 137 finally: 138 file.close() file = , global close = undefined 139 140 return self._raw_body /usr/lib/python2.2/site-packages/MoinMoin/wikiutil.py in searchPages(needle='Python', **kw={'case': 0, 'context': 40, 'literal': 0}) 362 all_pages = getPageList(config.text_dir) 363 for page_name in all_pages: 364 body = Page(page_name).get_raw_body() body = "'''Contents'''\n[[TableOfContents]]\n\nHello Wo...d Hello World HelloWorld\n\n=== HelloWorld ===\n", Page = , page_name = 'RCS', global get_raw_body = undefined 365 if context: 366 pos = 0 /usr/lib/python2.2/site-packages/MoinMoin/wikiaction.py in do_fullsearch(pagename='FindPage', request=, fieldname='value') 67 pagecount, hits = wikiutil.searchPages(needle, 68 literal=request.form.has_key('literal'), 69 context=context, case=case) context = 40, case = 0 70 71 # print the result /usr/lib/python2.2/site-packages/MoinMoin/cgimain.py in run(properties={}) 199 else: 200 try: 201 cgitb.handler() cgitb = , handler = 202 except: 203 cgi.print_exception(*saved_exc) ---------------------------------------------------------------------- >Comment By: Jonathan Smith (jcwinnie) Date: 2003-07-11 09:35 Message: Logged In: YES user_id=645989 IOError: [Errno 21] Is a directory Please include this information in your bug reports!: Python 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] - /usr/bin/python Linux Amalaki 2.4.20-18.9 #1 Thu May 29 06:54:41 EDT 2003 i686 MoinMoin Release 1.1 [Revision 1.173] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482 From noreply at sourceforge.net Fri Jul 11 16:42:09 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 16:42:09 2003 Subject: [Moin-devel] [ moin-Bugs-761464 ] Full Text Search Fails Message-ID: Bugs item #761464, was opened at 2003-06-26 16:36 Message generated for change (Comment added) made by jcwinnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jonathan Smith (jcwinnie) Assigned to: Nobody/Anonymous (nobody) Summary: Full Text Search Fails Initial Comment: IOError: [Errno 21] Is a directory Python 2.2.2 /usr/bin/python A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are: __doc__ = 'I/O operation failed.' __getitem__ = > __init__ = > __module__ = 'exceptions' __str__ = > args = (21, 'Is a directory') errno = 21 filename = None strerror = 'Is a directory' /usr/lib/python2.2/site-packages/MoinMoin/Page.py in get_raw_body(self=) 136 self.set_raw_body(file.read()) 137 finally: 138 file.close() file = , global close = undefined 139 140 return self._raw_body /usr/lib/python2.2/site-packages/MoinMoin/wikiutil.py in searchPages(needle='Python', **kw={'case': 0, 'context': 40, 'literal': 0}) 362 all_pages = getPageList(config.text_dir) 363 for page_name in all_pages: 364 body = Page(page_name).get_raw_body() body = "'''Contents'''\n[[TableOfContents]]\n\nHello Wo...d Hello World HelloWorld\n\n=== HelloWorld ===\n", Page = , page_name = 'RCS', global get_raw_body = undefined 365 if context: 366 pos = 0 /usr/lib/python2.2/site-packages/MoinMoin/wikiaction.py in do_fullsearch(pagename='FindPage', request=, fieldname='value') 67 pagecount, hits = wikiutil.searchPages(needle, 68 literal=request.form.has_key('literal'), 69 context=context, case=case) context = 40, case = 0 70 71 # print the result /usr/lib/python2.2/site-packages/MoinMoin/cgimain.py in run(properties={}) 199 else: 200 try: 201 cgitb.handler() cgitb = , handler = 202 except: 203 cgi.print_exception(*saved_exc) ---------------------------------------------------------------------- >Comment By: Jonathan Smith (jcwinnie) Date: 2003-07-11 18:41 Message: Logged In: YES user_id=645989 BTW: The title search works. It is only the full text search that fails. ---------------------------------------------------------------------- Comment By: Jonathan Smith (jcwinnie) Date: 2003-07-11 09:35 Message: Logged In: YES user_id=645989 IOError: [Errno 21] Is a directory Please include this information in your bug reports!: Python 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] - /usr/bin/python Linux Amalaki 2.4.20-18.9 #1 Thu May 29 06:54:41 EDT 2003 i686 MoinMoin Release 1.1 [Revision 1.173] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482 From noreply at sourceforge.net Sat Jul 12 01:49:15 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 12 01:49:15 2003 Subject: [Moin-devel] [ moin-Bugs-761464 ] Full Text Search Fails Message-ID: Bugs item #761464, was opened at 2003-06-26 23:36 Message generated for change (Comment added) made by jhermann You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482 Category: None Group: None Status: Open >Resolution: Accepted Priority: 5 Submitted By: Jonathan Smith (jcwinnie) Assigned to: Nobody/Anonymous (nobody) Summary: Full Text Search Fails Initial Comment: IOError: [Errno 21] Is a directory Python 2.2.2 /usr/bin/python A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are: __doc__ = 'I/O operation failed.' __getitem__ = > __init__ = > __module__ = 'exceptions' __str__ = > args = (21, 'Is a directory') errno = 21 filename = None strerror = 'Is a directory' /usr/lib/python2.2/site-packages/MoinMoin/Page.py in get_raw_body(self=) 136 self.set_raw_body(file.read()) 137 finally: 138 file.close() file = , global close = undefined 139 140 return self._raw_body /usr/lib/python2.2/site-packages/MoinMoin/wikiutil.py in searchPages(needle='Python', **kw={'case': 0, 'context': 40, 'literal': 0}) 362 all_pages = getPageList(config.text_dir) 363 for page_name in all_pages: 364 body = Page(page_name).get_raw_body() body = "'''Contents'''\n[[TableOfContents]]\n\nHello Wo...d Hello World HelloWorld\n\n=== HelloWorld ===\n", Page = , page_name = 'RCS', global get_raw_body = undefined 365 if context: 366 pos = 0 /usr/lib/python2.2/site-packages/MoinMoin/wikiaction.py in do_fullsearch(pagename='FindPage', request=, fieldname='value') 67 pagecount, hits = wikiutil.searchPages(needle, 68 literal=request.form.has_key('literal'), 69 context=context, case=case) context = 40, case = 0 70 71 # print the result /usr/lib/python2.2/site-packages/MoinMoin/cgimain.py in run(properties={}) 199 else: 200 try: 201 cgitb.handler() cgitb = , handler = 202 except: 203 cgi.print_exception(*saved_exc) ---------------------------------------------------------------------- >Comment By: J?rgen Hermann (jhermann) Date: 2003-07-12 10:48 Message: Logged In: YES user_id=39128 You have a directory NOT starting with a dot in your text directory, and you're not supposed to. errno 21 should possibly be treated accordingly, anyway. ---------------------------------------------------------------------- Comment By: Jonathan Smith (jcwinnie) Date: 2003-07-12 01:41 Message: Logged In: YES user_id=645989 BTW: The title search works. It is only the full text search that fails. ---------------------------------------------------------------------- Comment By: Jonathan Smith (jcwinnie) Date: 2003-07-11 16:35 Message: Logged In: YES user_id=645989 IOError: [Errno 21] Is a directory Please include this information in your bug reports!: Python 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] - /usr/bin/python Linux Amalaki 2.4.20-18.9 #1 Thu May 29 06:54:41 EDT 2003 i686 MoinMoin Release 1.1 [Revision 1.173] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482 From jh at web.de Sat Jul 12 02:33:09 2003 From: jh at web.de (Juergen Hermann) Date: Sat Jul 12 02:33:09 2003 Subject: [Moin-devel] AttachFile patch In-Reply-To: <14189817125.20030709095702@quintic.co.uk> Message-ID: On Wed, 9 Jul 2003 09:57:02 +0100, Marcus Williams wrote: >Has anyone else got any use for this patch (I can post it here if >people want it)? Please post it to sourceforge. Ciao, J?rgen From jh at web.de Sat Jul 12 02:34:01 2003 From: jh at web.de (Juergen Hermann) Date: Sat Jul 12 02:34:01 2003 Subject: [Moin-devel] twisted moin In-Reply-To: <3F036F99.70507@waldmann-edv.de> Message-ID: On Thu, 03 Jul 2003 01:49:45 +0200, Thomas Waldmann wrote: >But traffic (rendered output) and cpu load for rendering by the >parser/formatter will be the same of course. Also note that a big event.log eats away cpu like hell. >> - Has anyone done any further work on >> twistedMoin outside of the cvs repository? >Not yet, but I am interested in that, too. When the request object refactoring is finished, it becomes viable. Then there's still the point of doing async friendly processing, but we could add a request._yield() hook or something. Also, when we move to py 2.2, we can use the real yield in many places. Ciao, J?rgen From jh at web.de Sat Jul 12 02:34:06 2003 From: jh at web.de (Juergen Hermann) Date: Sat Jul 12 02:34:06 2003 Subject: [Moin-devel] XHTML 1.0 Strict In-Reply-To: Message-ID: On Wed, 9 Jul 2003 18:28:35 -0400, Karl Dubost wrote: > - Is there a way to make the output valid XHTML 1.0 strict? >(does someone has created a package for that?) When we add skins (which takes the HTML out of the core code), you're welcome to help with testing / spotting the errors. > - Is there a need for a translation in French of the interface? There is one, shift the priority of "fr" to top in your browser. Ciao, J?rgen From noreply at sourceforge.net Sat Jul 12 05:18:19 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 12 05:18:19 2003 Subject: [Moin-devel] [ moin-Bugs-761464 ] Full Text Search Fails Message-ID: Bugs item #761464, was opened at 2003-06-26 16:36 Message generated for change (Comment added) made by jcwinnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482 Category: None Group: None >Status: Closed Resolution: Accepted Priority: 5 Submitted By: Jonathan Smith (jcwinnie) Assigned to: Nobody/Anonymous (nobody) Summary: Full Text Search Fails Initial Comment: IOError: [Errno 21] Is a directory Python 2.2.2 /usr/bin/python A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are: __doc__ = 'I/O operation failed.' __getitem__ = > __init__ = > __module__ = 'exceptions' __str__ = > args = (21, 'Is a directory') errno = 21 filename = None strerror = 'Is a directory' /usr/lib/python2.2/site-packages/MoinMoin/Page.py in get_raw_body(self=) 136 self.set_raw_body(file.read()) 137 finally: 138 file.close() file = , global close = undefined 139 140 return self._raw_body /usr/lib/python2.2/site-packages/MoinMoin/wikiutil.py in searchPages(needle='Python', **kw={'case': 0, 'context': 40, 'literal': 0}) 362 all_pages = getPageList(config.text_dir) 363 for page_name in all_pages: 364 body = Page(page_name).get_raw_body() body = "'''Contents'''\n[[TableOfContents]]\n\nHello Wo...d Hello World HelloWorld\n\n=== HelloWorld ===\n", Page = , page_name = 'RCS', global get_raw_body = undefined 365 if context: 366 pos = 0 /usr/lib/python2.2/site-packages/MoinMoin/wikiaction.py in do_fullsearch(pagename='FindPage', request=, fieldname='value') 67 pagecount, hits = wikiutil.searchPages(needle, 68 literal=request.form.has_key('literal'), 69 context=context, case=case) context = 40, case = 0 70 71 # print the result /usr/lib/python2.2/site-packages/MoinMoin/cgimain.py in run(properties={}) 199 else: 200 try: 201 cgitb.handler() cgitb = , handler = 202 except: 203 cgi.print_exception(*saved_exc) ---------------------------------------------------------------------- >Comment By: Jonathan Smith (jcwinnie) Date: 2003-07-12 07:17 Message: Logged In: YES user_id=645989 Yes, thank-you. ---------------------------------------------------------------------- Comment By: J?rgen Hermann (jhermann) Date: 2003-07-12 03:48 Message: Logged In: YES user_id=39128 You have a directory NOT starting with a dot in your text directory, and you're not supposed to. errno 21 should possibly be treated accordingly, anyway. ---------------------------------------------------------------------- Comment By: Jonathan Smith (jcwinnie) Date: 2003-07-11 18:41 Message: Logged In: YES user_id=645989 BTW: The title search works. It is only the full text search that fails. ---------------------------------------------------------------------- Comment By: Jonathan Smith (jcwinnie) Date: 2003-07-11 09:35 Message: Logged In: YES user_id=645989 IOError: [Errno 21] Is a directory Please include this information in your bug reports!: Python 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] - /usr/bin/python Linux Amalaki 2.4.20-18.9 #1 Thu May 29 06:54:41 EDT 2003 i686 MoinMoin Release 1.1 [Revision 1.173] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482 From uriana at trxmail.com Mon Jul 14 06:19:25 2003 From: uriana at trxmail.com (uriana at trxmail.com) Date: Mon Jul 14 06:19:25 2003 Subject: [Moin-devel] =?euc-kr?B?o6ixpLDto6m1pcDMxq4sILnMxsMgLSC4uLOywMcgsaTA5Q==?= Message-ID: .. ?????? [click to see ] "?? ???? ??? ???? ?? ??? ???" "??? ?? ??? ???." "? ?? ??? ??? ????? ?????" "? ? ??? ??????, ????? ???? ???..." ???? * ? ????? ????? ??? ???? ???? ??[???], [???], [???], ???[???]? ??? ????? ?? ??? ???? ?? ???? ???? ??? ???? ??? ??? ????? ??, ??, ??, ????? ????? ??? ???? ???? ????? ? ? ?? ??? ??? ???. ??????? www.mygal.co.kr ???. ??? - ? ??? ??? ?? ?? ????? ?????? ? ?? ???. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at sourceforge.net Mon Jul 21 15:40:20 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 15:40:20 2003 Subject: [Moin-devel] [ moin-Bugs-775333 ] .bmp & .ico aren't recognized as images Message-ID: Bugs item #775333, was opened at 2003-07-21 15:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=775333&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Peter Kropf (peterk) Assigned to: Nobody/Anonymous (nobody) Summary: .bmp & .ico aren't recognized as images Initial Comment: URL's for .bmp and .ico files aren't recognized as images within wiki pages. Please allow for them to be used as inline images. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=775333&group_id=8482 From nirs at actcom.net.il Tue Jul 22 04:17:02 2003 From: nirs at actcom.net.il (Nir Soffer) Date: Tue Jul 22 04:17:02 2003 Subject: [Moin-devel] Re: [ moin-Bugs-775333 ] .bmp & .ico aren't recognized as images In-Reply-To: Message-ID: > URL's for .bmp and .ico files aren't recognized as > images within wiki pages. Please allow for them to be > used as inline images. Please do not allow them. PNG, GIF and JPG are enough. Actually PNG and JPG are enough, but Explorer on Windows does not support transparent PNG, so we need also GIF. Nir Soffer -- MacMac - The Hebrew Mac Wiki http://mac.plonter.co.il/plonwiki From oxygene at studentenbude.ath.cx Tue Jul 22 04:32:17 2003 From: oxygene at studentenbude.ath.cx (Patrick Mauritz) Date: Tue Jul 22 04:32:17 2003 Subject: [Moin-devel] Re: [ moin-Bugs-775333 ] .bmp & .ico aren't recognized as images In-Reply-To: References: Message-ID: <1058873546.529.1.camel@hydra.streichelzoo> On Tue, 2003-07-22 at 13:16, Nir Soffer wrote: > Please do not allow them. PNG, GIF and JPG are enough. Actually PNG and > JPG are enough, but Explorer on Windows does not support transparent > PNG, so we need also GIF. explorer on windows allows transparent png, just with the same restriction as gif: 1bit transparency instead of 8bit translucency (and those 8bit translucency channel pngs are possible using a quite well documented stylesheet hack) From nirs at actcom.net.il Sun Jul 27 09:20:05 2003 From: nirs at actcom.net.il (Nir Soffer) Date: Sun Jul 27 09:20:05 2003 Subject: [Moin-devel] How to send changes to moin Message-ID: <86010B7A-C04B-11D7-8A1A-000502B6C537@actcom.net.il> As you know I'm running MacMac, an Hebrew moin site. I made some changes to moin code, to solve various problems with hebrew page rendering and directionality. I also added some doc strings did minor refactoring. How should I send the changes, and where? I guess I should use diff - which options should I use (I never used it)? I looked for a guide on this subject in the MoinMoin wiki, but I could not find one... Summary of changes: ============== All changes relate to moin version 1.1 (1.173) from - Changed wiki toolbar to use tables instead of aligned , which brakes very easily when you use a small browser window, and can't handle RTL wikis. - Changed system message and pre to use tables, because position of div or pre with border and background color is broken on RTL pages, in both Mozilla and Safari on Mac - probably on other platforms as well. - Fixed a stupid bug in wikiutili.py, where i18n.getDirection() was called twice without specifying the language. This cause the wiki to ignore the config.default_lang. Now the default lang set the body lang properly. - Changed the language and direction to use the config.default_lang - and NOT the browser lang or the user lang - because the wiki content is not related to the interface language and direction. - Changed the headers - title and logo table, quicklinks and icon bar table and system message and the footer to use the user or browser or config.default_lang language and direction. - Changed the lang macro ([[en]], [[he]] etc.) to enable insertion of text with different language from the paragraph language. This change contain changing and refactoring of wikimacro.py, adding new formating method to formatter (formatter.lang(lang_name, text)) to both base.py, text_html.py and text_plain.py. - Changed stylesheet - using very light grey for backgrounds grey and blue for links, 100% font size etc. You can test all these changes at my development wiki: Choose different languages and see how the interface has its direction and the content has its own direction - which is set by the wiki admin or the user, using lang macros. Nir Soffer -- MacMac - The Hebrew Mac Wiki http://mac.plonter.co.il/plonwiki From marcus at dolphinsearch.com Mon Jul 28 15:26:09 2003 From: marcus at dolphinsearch.com (Marcus Smith) Date: Mon Jul 28 15:26:09 2003 Subject: [Moin-devel] widget Message-ID: <1059431361.2022.61.camel@bonkers> I notice the widget module is more filled out now in the new development stable version... so this is for tree navigation of the "LocalSiteMap"? is there any thought to have tree-like navigation of the sections?... given how PyWiki currently works, this would only be for one page... there is no notion that a section could be a link to another page... Marcus From frederik at pandora.be Tue Jul 29 08:20:03 2003 From: frederik at pandora.be (Frederik De Bleser) Date: Tue Jul 29 08:20:03 2003 Subject: [Moin-devel] new icons and css -- interested in merging? Message-ID: <059782CA-C1D8-11D7-8B04-000393667976@pandora.be> Hi, I'm a graphic design student currently using moinmoin for collecting information on projects we do. I started working on make some new icons for moinmoin to unify the style. The result can be seen on: http://wiki.grafitron.com/ All the icons are 16x16px. It requires some changes to the source (especially config.py, wikiutil.py, where there are width/height values hard-coded). Anybody interested in integrating these icons? I can make multiple styles, using different colors. This of course leads to theming. (also note that I radically changed the CSS to make the style complete) Even more: MoinMoin should have some smarter HTML to access all elements in the CSS (like the bottom actions such as EditText and FindPage). I'm also volunteering the work at this. I hope this is the correct place to volunteer. Anybody can help me on what to do next? Kind regards, Frederik From tw at waldmann-edv.de Tue Jul 29 11:01:02 2003 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue Jul 29 11:01:02 2003 Subject: [Moin-devel] new icons and css -- interested in merging? In-Reply-To: <059782CA-C1D8-11D7-8B04-000393667976@pandora.be> References: <059782CA-C1D8-11D7-8B04-000393667976@pandora.be> Message-ID: <3F26B617.8050605@waldmann-edv.de> Hi Frederik, > I'm a graphic design student currently using moinmoin for collecting > information on projects we do. > > I started working on make some new icons for moinmoin Great! We really need some better (and a bit larger) icons. > to unify the style. The result can be seen on: > http://wiki.grafitron.com/ Well, I looked at them and you were very successful unifying them X) But the problem is that they are harder to distinguish now, it's all grey in grey and you really have to look hard to see what's there. BTW, you are not alone with that problem. I was already looking for nice icons for quite some time and of course I found some neat-looking aqua style icons. But the problem was just the same: they looked TOO similar, they all were water drops with some tiny object under them... > All the icons are 16x16px. It requires some changes to the source > (especially config.py, wikiutil.py, where there are width/height values > hard-coded). I am currently working on making that easier. The code just isnt ready for prime time... > Anybody interested in integrating these icons? I can make multiple > styles, using different colors. This of course leads to theming. With theming we can have lots of different sets. But my personal interest is more on quality AND usability of ONE set than having lots of different (more or less unusable) ones. > Even more: MoinMoin should have some smarter HTML to access all elements > in the CSS (like the bottom actions such as EditText and FindPage). I'm > also volunteering the work at this. Indeed, there is lots to do. Maybe first discussing that in the MoinMoin wiki is a good idea. After that the coding and last, html/css work. > I hope this is the correct place to volunteer. Anybody can help me on > what to do next? As Nir Soffer and me is also interested in that topic, we should make a discussion page in the wiki. Thomas From frederik at pandora.be Tue Jul 29 15:40:05 2003 From: frederik at pandora.be (Frederik De Bleser) Date: Tue Jul 29 15:40:05 2003 Subject: [Moin-devel] new icons and css -- interested in merging? In-Reply-To: <3F26B617.8050605@waldmann-edv.de> Message-ID: <7E091616-C215-11D7-8B04-000393667976@pandora.be> > > But the problem is that [the icons] are harder to distinguish now, > it's all grey in grey and you really have to look hard to see what's > there. Good point. They *are* harder to see and distinguish, and it was something I realized when I put them up on my site. However, I think making them too large (like 32x32px) would be a bad idea, since it would take a lot of the attention away from the main content: the eye is more naturally drawn to graphics and images than text. But I think I could do a lot with just 16x16px, or maybe 24x24px. I'll see what I can cook up, and I'll keep you informed. The problem right now is that I have to go in and change the code whenever I change the format of the icons. (I'll probably just throw away the width and height parameters). > was just the same: they looked TOO similar, they all were water drops > with some tiny object under them... Again, point taken. We should aim for a visual style that is consistent, while at the same time communicating a lot in a small space. > > I am currently working on making that easier. The code just isnt ready > for prime time... MoinMoin has been up for quite some time now -- I have been using the same version for about a year now. I'm currently learning Python (I graduated in applied informatics and have worked with java for 4 years, just starting Python). If there's anything I can do to speed the process up... > With theming we can have lots of different sets. But my personal > interest is more on quality AND usability of ONE set than having lots > of different (more or less unusable) ones. Excellent -- a lot of people seem to forget this. That's also why I somewhat dimmed the visual style of MoinMoin and aimed more for the "content" look in my wiki. I am willing to work on a single, clear, visual style, consisting of both icons, css and a clean xhtml implementation. (I'm also a web standards addict) > As Nir Soffer and me is also interested in that topic, we should make > a discussion page in the wiki. Great! Maybe a MoinMoinIcons page, a MoinMoinVisual page and a MoinMoinWebStandards page. Kind regards, Frederik From marcus at dolphinsearch.com Tue Jul 29 19:36:01 2003 From: marcus at dolphinsearch.com (Marcus Smith) Date: Tue Jul 29 19:36:01 2003 Subject: [Moin-devel] widget In-Reply-To: <1059431361.2022.61.camel@bonkers> References: <1059431361.2022.61.camel@bonkers> Message-ID: <1059532748.2022.82.camel@bonkers> woops, I use the word PyWiki.. I meant MoinMoin On Mon, 2003-07-28 at 15:29, Marcus Smith wrote: > > I notice the widget module is more filled out now in the new development > stable version... > > so this is for tree navigation of the "LocalSiteMap"? > > is there any thought to have tree-like navigation of the sections?... > given how PyWiki currently works, this would only be for one page... > there is no notion that a section could be a link to another page... > > Marcus > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Moin-devel mailing list > Moin-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-devel > From nirs at actcom.net.il Tue Jul 29 23:35:17 2003 From: nirs at actcom.net.il (Nir Soffer) Date: Tue Jul 29 23:35:17 2003 Subject: [Moin-devel] Moin Redesign In-Reply-To: Message-ID: I am also not pleased with moin current design, and I am working on a better design for a wiki I admin and develop. If you read Hebrew you can read about it here: And see one design alternative here: The goal of MacMac design is to create a Mac-like environment for the typical Mac user, which is very different from a linux developer, and has different needs. We are following the concept Apple is using in its .Mac service . As Thomas said, we should talk about it. First we have to do some research on these topics: - What is wrong with the current design? - its important to distinguish between the concept and the implementation. - How are other wikis and collaborative sites designed? - What are the goals of the new design? There is no point in working on the new design before we talk about these issues. When we agree on our goals, we can work on design alternatives. First we should open a new page called MoinDesign, later we will have sub-pages like /Icons - if we will have any icons in the new design. Maybe we will go to text only design, and there will be no icons :-) We can also talk on IRC #moin on irc.freenode.org? Nir Soffer -- MacMac - The Hebrew Mac Wiki http://mac.plonter.co.il/plonwiki From jh at web.de Thu Jul 31 18:01:13 2003 From: jh at web.de (Juergen Hermann) Date: Thu Jul 31 18:01:13 2003 Subject: [Moin-devel] long editing times Message-ID: Hi! Before moving to the new machine, I noted that calinng the editor (subjectively) took a lot longer than before with current code (and viewing was a fast as before). Any of the ACL changes possibly responsible for this? Note that is totally subjective, no hard facts. And on the 3 GHz machine, it's no longer observable. ;) Ciao, J?rgen From jh at web.de Thu Jul 31 19:45:08 2003 From: jh at web.de (Juergen Hermann) Date: Thu Jul 31 19:45:08 2003 Subject: [Moin-devel] new icons and css -- interested in merging? In-Reply-To: <7E091616-C215-11D7-8B04-000393667976@pandora.be> Message-ID: On Wed, 30 Jul 2003 00:39:19 +0200, Frederik De Bleser wrote: >However, I think making them too large (like 32x32px) would be a bad >idea, since it would take a lot of the attention away from the main >content: the eye is more naturally drawn to graphics and images than >text. I'm already pretty much decided on http://svgicons.sourceforge.net/ as the main (default) set of icons, ALSO because icon size can become a user setting then. >But I think I could do a lot with just 16x16px, or maybe 24x24px. I'll >see what I can cook up, and I'll keep you informed. The problem right >now is that I have to go in and change the code whenever I change the >format of the icons. (I'll probably just throw away the width and >height parameters). Look at the above sf.net project, and check if you can make a SVG icon set including conversion to gif/png. >Great! Maybe a MoinMoinIcons page, a MoinMoinVisual page and a >MoinMoinWebStandards page. Please place them under MoinDev, following the established structure for planned features (and the skin page is already there). Ciao, J?rgen From Mike at Geary.com Thu Jul 31 20:25:17 2003 From: Mike at Geary.com (Michael Geary) Date: Thu Jul 31 20:25:17 2003 Subject: [Moin-devel] UI changes In-Reply-To: <059782CA-C1D8-11D7-8B04-000393667976@pandora.be> Message-ID: > From: Frederik De Bleser > > ... I started working on make some new icons for moinmoin ... I got rid of the icons completely. To me, they seem to be to be one of the most confusing things about a MoinMoin wiki. Some user actions are text links, some are icons. Some are at the top of the page, some are at the bottom. Instead, I've got one bar at the top of the page with text links for the most common user actions. The bottom of the page has text links for less frequently used actions. (Search is still at the bottom, but I plan to try out the "Google-like" search I saw on the patches page. If it works well, I'll probably put it the top of the page.) I've made a bunch of other changes as well. Some of the more interesting ones: * Added the ability to specify display text for a freeform wiki link, like this: ["The Page Name" The Display Text] This would have been a deal-killer for me: I couldn't use MoinMoin for my site if I couldn't alias freeform links. This syntax does seem a bit counterintuitive--I'd sort of expect the display text to be in quotes, not the page name--but I did it this way to be consistent with the way other things work in MoinMoin, such as: [http://www.foobar.com/ The Display Text]. * Changed the page name escaping to make prettier URLs. Spaces turn into underscores and hyphens remain unchanged (because I use them a lot). Special characters use =XX instead of _XX. For example, my personal page titled "Michael Geary - Software Inventor" would have this partial URL in a standard MoinMoin wiki: Michael_20Geary_20_2d_20Software_20Inventor Yuck! On my site, it's simply: Michael_Geary_-_Software_Inventor * The "Random" link jumps directly to a random page. The purpose of a Random link is entertainment, and it's much more entertaining to go directly to a page instead of just displaying a list of random pages. * Changed the Edit page quite a bit. It always shows the preview, and the preview is to the right of the editing area so you don't have to scroll up and down. (This works better for most but not all pages, so I'm going to add an option to use the old edit style with the preview below the edit area.) Naturally, I'll make all of these changes available to anyone who wants them once I dehackify the code a bit. :-) In the meantime, stop by and try it out: http://www.geary.com/ None of this is "done", of course--I've got lots of other changes in mind. A couple of them: * I plan to put all of the navigation links in a sidebar instead of at the top and bottom of the page. * I want to turn off WordsSmashedTogetherLikeSo links entirely--they really make things confusing when someone named McGeary tries to add a page. :-) But I'd have to edit all the help files to do this. Maybe I'll hack it so that anything beginning with Help still works as a WikiName but nothing else does. -Mike From jh at web.de Thu Jul 31 20:27:23 2003 From: jh at web.de (Juergen Hermann) Date: Thu Jul 31 20:27:23 2003 Subject: [Moin-devel] Moin Redesign In-Reply-To: Message-ID: On Wed, 30 Jul 2003 09:34:26 +0300, Nir Soffer wrote: >If you read Hebrew you can read about it here: > Of course, we all speak Hewbrew... :> >There is no point in working on the new design before we talk about >these issues. When we agree on our goals, we can work on design >alternatives. There is no THE new design. Only a default one, and I expect to include more than one skin in the distro. >First we should open a new page called MoinDesign, later we will have >sub-pages like /Icons - if we will have any icons in the new design. >Maybe we will go to text only design, and there will be no icons :-) Please don't disperse skin info on a wealth of pages, use subpages under SkinMarket to develop new skins. Ciao, J?rgen From jh at web.de Thu Jul 31 20:42:15 2003 From: jh at web.de (Juergen Hermann) Date: Thu Jul 31 20:42:15 2003 Subject: [Moin-devel] widget In-Reply-To: <1059431361.2022.61.camel@bonkers> Message-ID: On 28 Jul 2003 15:29:21 -0700, Marcus Smith wrote: >I notice the widget module is more filled out now in the new development >stable version... >so this is for tree navigation of the "LocalSiteMap"? No. Or not only for that. Widgets are a way to separate information processing from the final displaying (which means in the end you can view search results in list or table mode, etc.). >is there any thought to have tree-like navigation of the sections?... >given how PyWiki currently works, this would only be for one page... >there is no notion that a section could be a link to another page... You don't make sense to me here. Ciao, J?rgen