Re: [Zope] force the output encoding to utf-8 in page templates

2011-11-11 Thread morten
, the > publisher will find this filled and avoid to put the default. > > on line 315 of ZopePageTemplate.py > > Is there a better way? Thanks! Look for setting the default publisher encoding in the zope.conf filesystem file and restart. :) -Morten ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Morten W. Petersen
tics I'd be interested in too, it wasn't the aim for this thread but something that's been bobbing around in my head. Is this something you're thinking of releasing or is it "too good/bad to share"? -Morten -- Morten W. Pe

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Morten W. Petersen
> Right. But wouldn't profiling indexes in Zope be as easy as wrapping the index search method in a function that does time.time before and after the search? :-) -Morten -- Morten W. Petersen Manager Nidelven IT Ltd Phone: +47 45 44

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Morten W. Petersen
Lennart Regebro skrev: > On Sat, Apr 25, 2009 at 13:24, Morten W. Petersen > wrote: > >> So far, I've been contemplating disabling undo (if that's possible), >> > > I doubt that it would make a difference. The Undo functionality comes > out of

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Morten W. Petersen
programming as well as keeping my SQL skills up to date so. :-) -Morten -- Morten W. Petersen Manager Nidelven IT Ltd Phone: +47 45 44 00 69 Email: mor...@nidelven-it.no ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope] Building a fast, scalable yet small Zope application

2009-04-25 Thread Morten W. Petersen
else developed something similar? Are there Zope product examples out there that fit the bill? -Morten -- Morten W. Petersen Manager Nidelven IT Ltd Phone: +47 45 44 00 69 Email: mor...@nidelven-it.no ___ Zope maillist - Zope@zope.org http://mail.z

Re: [Zope] Zope and SSL

2009-03-16 Thread Morten W. Petersen
I've seen anyway) do have clear instructions on how to go about SSL when Apache is involved. - -Morten Catherine E. Reinehr wrote: > Hello, > > I'm trying to find out how to generate a CSR, and I can't find the > information I need. All my research covers Zope and

[Zope] Disabling ZEO file cache?

2009-02-02 Thread Morten W. Petersen
Hi, how does one go about in the configuration file to disable the ZEO file-caching feature? -Morten ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] objects catalog

2001-01-26 Thread Morten W. Petersen
about ZPatterns can be found searching zope.org and the mailing lists. Cheers, Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org

[Zope] Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Morten W. Petersen
gic means if I search for a word, for example 'programmer', it will return matches to the words 'program', 'programming','programmable' etc. I.e., it will somewhat intelligently return words that are similar in what they mean, using grammar rules

[Zope] ZCatalog and 'fuzzy logic'

2001-01-09 Thread Morten W. Petersen
Is there anyone who could try to give an estimate of how long it would take to add fuzzy logic (regexp-like) searching capability to the ZCatalog? And reasoning as to why would be appreciated. ;) -Morten ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Morten W. Petersen
[Chris Withers] | I'll second this. It'd be _so_ nice... | | ever wanted to do: | | I totally agree. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! *

Re: [Zope] Logica bruker Zope (...)

2001-01-02 Thread Morten W. Petersen
[Morten W. Petersen] | Se her dah.. Sorry guys. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope

[Zope] Logica bruker Zope (...)

2001-01-02 Thread Morten W. Petersen
Se her dah.. -Morten [Alex Bowyer] | Our company has a repository of staff CVs (Resumes) as Word Documents and I | am about to embark on creating a new feature for our Zope Intranet to allow | project managers to search those documents for keywords such as particular | skills or projects

Re: [Zope] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Morten W. Petersen
ght now, I definatly see some value in have the zope | solution capable of grabbing the contents of the POP mail box and then | sorting it based on addressee. I do as well. I think this will be included, very soon. =) Cheers, Morten ___ Zope maillist

Re: [Zope] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Morten W. Petersen
at make it accessible will have to be built. Am I making any sense? =) Cheers, Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.o

Re: [Zope] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Morten W. Petersen
mailbox to 'divvy up' the mail - probably by some cron job every few | minutes. If you're thinking of not using mail accounts at all, that will probably be enabled (it's already some basic code there that reads /var/spool/mail/) somewhere in the near future. As always, suggestions /

Re: [Zope] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Morten W. Petersen
e for illustrative purposes. =) Cheers, Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

Re: [Zope] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Morten W. Petersen
[Erik Enge] | Well, I don't think it would be too much hassle to add some | administrative functionality to keep them in sync (albeit, to be 100% | percent sure will hurt a lot - I guess). I'm guessing that Morten is | already working on this. Yup. The way that seems right is to

Re: [Zope] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Morten W. Petersen
[marc lindahl] | I've been investigating how to do web-based email for zope users... it | seemed like worldpilot was cool (BTW, where is it??) http://www.zope.org/Members/morphex/ZopeGUM -- there's a mail / news agent located in that package. Cheer

Re: [Zope] A groupware package for zope

2000-12-19 Thread Morten W. Petersen
oo hard to fix, but it's not on my priority list. Cheers, Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinf

[Zope] A groupware package for zope

2000-12-19 Thread Morten W. Petersen
definently not ready for a production enviroment yet. Anyways, just wanted to let you all know. (And yes, I do appreciate feedback. =) -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts o

Re: [Zope] Troubles importing module DemoPortal.zexp

2000-12-18 Thread Morten W. Petersen
ethod product, downloadable from http://www.zope.org/Members/4am/PythonMethod . Cheers, Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zop

Re: [Zope] Access to Python arrays

2000-11-25 Thread morten
I'd also recommend reading the Python tutorial, and other introductory Python material, if you're not familiar with it. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts o

Re: [Zope] vCalendar

2000-11-22 Thread Morten W. Petersen
[Shahram Kaeidinejad] | Hi, Hi, | who can help me about "vCalendar". I need some example of vCalendar. So can | I understand it better. Have a look at these RFCs: http://www.imc.org/2445 http://www.imc.org/2446 http://www.imc.org/2447 HTH

Re: [Zope] random object with properties

2000-11-21 Thread Morten W. Petersen
[Kevin Worth] | | [,..] | What am I missing here? Maybe this will work: HTH. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] ZMailIn - alternatives?

2000-11-19 Thread Morten W. Petersen
-like product will pop us as well. But don't hold your breath.. =) -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mai

Re: [Zope] Web mail with POP3

2000-11-16 Thread Morten W. Petersen
[Aleksander Salwa] | Is this a good approach, or someone already has wrote something like this | for Zope ? You could take a look at ZopeGUM, http://www.zope.org/Members/morphex/ZopeGUM . -Morten ___ Zope maillist - [EMAIL PROTECTED] http

[Zope] Re: [Zope-dev] strange error on first load of zope page

2000-11-13 Thread Morten W. Petersen
module, in the same directory as your external method. I.e., if your external module does an 'import somemodule', and you've got a 'module.py'-file and a 'module'-directory, you'll get this error.. (because python loads package-like modules first). HTH. -Morte

Re: [Zope] Website search

2000-11-13 Thread Morten W. Petersen
[Stephan Goeldi] | So what's the simplest way to do a search on a website? If you're running Zope in combination with other web applications, ht://Dig may be the Right Thing (tm). See http://www.htdig.org for more info. HTH. -Morten __

Re: [Zope] Newbie question(s)

2000-11-12 Thread Morten W. Petersen
l for more info). -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailma

Re: [Zope] why DTML confusing

2000-11-10 Thread Morten W. Petersen
. ;) It's painful and ugly to use "_['sequence-item']", "_['sequence-index']" etc... -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encod

Re: [Zope] tags, dtml-vars and css

2000-11-09 Thread Morten W. Petersen
omewhere around line 560 of lib/python/OFS/Image.py for more info.. HTH. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailma

Re: [Zope] Security and Acquisition

2000-11-09 Thread Morten W. Petersen
something to do with acquirement of permission settings? (The leftmost column on the security tab). HTH. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Tar Ball with all Zope-Howtos

2000-11-08 Thread Morten W. Petersen
the "_" has a special meaning in interactive python (useful if you fancy the interpreter as a calculator!): """ Python 1.5.2 (#2, Aug 23 2000, 22:10:15) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam &g

Re: [Zope] Check for JavaScript:

2000-11-02 Thread Morten W. Petersen
HREF="http://www.yourhost.com/javascript-index.html">http://www.yourhost.com/javascript-index.html</A>'; // --> HTH. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross p

[Zope] Strange KeyError upon calling absolute_url

2000-10-30 Thread Morten W. Petersen
The line(s) causing the error were a rather long list of _setObject commands: """ [...] self._setObject('M', agencysort.AgencySort('M')) self._setObject('N', agencysort.AgencySort('

Re: [Zope] problem installing login manager

2000-10-28 Thread Morten W. Petersen
DynPersist.c file into a shared library; it's located within the ZPatterns product, and this command line (or something similar) will probably compile it for you: """ gcc -O2 -o DynPersist.so -c DynPersist.c -I../../ZODB \ -I../../../Components/ExtensionClass -I/usr

Re: [Zope] Reverse SendMail Question

2000-10-27 Thread Morten W. Petersen
GUM there is a poor example located in the gum module.. (in combination with the messagefilter module). http://www.zope.org/Members/morphex/ZopeGUM Regards, Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Calander.

2000-10-26 Thread Morten W. Petersen
he development of this Calendar product, you're more than welcome! The project will eventually be located at SourceForge, as soon as they fix the CVS problems they're having.. Regards, Morten ___ Zope maillist - [EMAIL PROTECTED] http://l

Re: [Zope] LoginManager 0.8.8b1 examples/suggestions?

2000-10-24 Thread Morten W. Petersen
ent them to fit your system: def userAuthenticate(self, REQUEST, username, password): if username == 'morten' and password == 'morten': return 1 else: return 0 def userExists(self, REQUEST, username): return 1 def userRoles(self, REQUEST,

Re: [Zope] IMAP and Zope!

2000-10-04 Thread Morten W. Petersen
[Joachim Werner] | - There is a similar project by Morten W. Petersen that also will feature a |ZODB-based message storage that will be searchable, Catalog-aware etc. I've uploaded some stuff now. Take a look at http://www.zope.org/Members/morphex . This is basically just playing a

Re: [Zope] IMAP and Zope!

2000-10-03 Thread Morten W. Petersen
th GnuPG. If this sounds interesting, send me an email.=) Regards, Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailm

Re: [Zope] Zope.org is soooooo slow.

2000-09-27 Thread Morten W. Petersen
the site is slow/unstable, even if it is because of network connections, it's the ZOPE that's gonna get the bad wrap. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML en

Re: [Zope] How does one display document count of a folder?

2000-09-08 Thread Morten W. Petersen
[[EMAIL PROTECTED]] | I am using a script to display the contents of a folder, but I | wonder how I might display a document count of the dtml | documents in a folder? Untested: HTH -Morten ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] Java applet with inner classes causing probs in Zope

2000-09-04 Thread Morten W. Petersen
Adding files to Zope through FTP doesn't seem to have the same restrictions. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.

Re: [Zope] SSL and PGP

2000-08-30 Thread morten
products/gnu/gpg/. I'm working with two other developers to build an entire Python->GPG API, so that we can access all GnuPG functionality from Python. It's GPL and if anybody here's interested in participating, send me a mail. Regards, Morten ___

[Zope] What does it mean?

2000-05-30 Thread Morten W. Petersen
"The Zope Gadfly product is a free Zope adapter [...] so it should not be used to create large databases. What does large databases mean in this context? -Morten - How to reply to email: http://home.sol.no/~vidaandr

Re: [Zope] ZClass acting up?

2000-05-22 Thread Morten W. Petersen
> Prøvde det, og det funka. Ser ut til at det er problemer med Debian igjen, > *host,host* ;). > > Seriøst, funker helt fint her. > > -Morten (=) > My apologies, seems I forgot to speak in english: Tried it, and it worked. Looks like a Debian specific proble

Re: [Zope] ZClass acting up?

2000-05-22 Thread Morten W. Petersen
> Did you try it at your installation? With the same result? > Prøvde det, og det funka. Ser ut til at det er problemer med Debian igjen, *host,host* ;). Seriøst, funker helt fint her. -Morten (=) ___ Zope maillist - [EMAIL PROTECTED

[Zope] ZMySQLDA and dtml-in (bug?)

2000-05-22 Thread Morten W. Petersen
fter an alteration of 10 columns in the SQL table. This is Zope 2.1.6 on top of RedHat 6.2 -Morten - How to reply to email: http://home.sol.no/~vidaandr/news/OBSquoting.html (norsk) http://home.sol.no/~vidaandr/news/FAQquoting.html (en

Re: [Zope] detect root folder

2000-05-20 Thread Morten W. Petersen
> Just don't give any other folders the title of 'Zope' Hmm, this is better(tm): The root folder has no identity!!"> sweet"> You could always do a "id == '' and title == 'Zope

Re: [Zope] detect root folder

2000-05-20 Thread Morten W. Petersen
> > We're at the root folder > > You can go up from here > > I think the root folder has the title Zope too, so: -Morten (0.01$) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.or

Re: [Zope] Welcome Aboard!!!

2000-05-19 Thread Morten W. Petersen
Yay! -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo