[web2py:24396] Re: new slides

2009-06-17 Thread bsnipes
Click on More and then Save Document... it looks like the Download / PDF link points back to web2py.com which points back to scribd again. Brian On Jun 17, 4:38 am, carlo syseng...@gmail.com wrote: it is impossible to download from Scribd, it just launches an endless Loading.. carlo On 17

[web2py:23199] Re: more slides - must read

2009-06-03 Thread bsnipes
The document appears to be blank except for the first page and the bullets now. On Jun 3, 9:39 am, mdipierro mdipie...@cs.depaul.edu wrote: yes, it is messy. I wrote it late at night. Fixing it. thanks. --~--~-~--~~~---~--~~ You received this message because

[web2py:23206] Re: more slides - must read

2009-06-03 Thread bsnipes
There seem to be some pdf errors in the document. I can open it on Windows but the document says it has 'invalid object structure' and a 'misaligned object'. On Linux I get a 30 page document with all white backgrounds, text on the title page and only the bullets show after that. On Jun 3,

[web2py:23212] Re: more slides - must read

2009-06-03 Thread bsnipes
and it shows when it thinks a pdf has errors in it. Brian On Jun 3, 2:07 pm, JohnMc maruadventu...@gmail.com wrote: I am using Xubuntu with the evince reader and am having no problems. Which reader are you using? On Jun 3, 1:44 pm, bsnipes snipes.br...@gmail.com wrote: There seem

[web2py:23215] Re: more slides - must read

2009-06-03 Thread bsnipes
. Maybe the transport and the unreadable pdf are related. On Jun 3, 2:22 pm, bsnipes snipes.br...@gmail.com wrote: I won't discount it being my system since I did do an update yesterday but I've opened other pdf files with no errors that I can see (including a couple of 1000+ page pdfs

[web2py:23218] Re: more slides - must read

2009-06-03 Thread bsnipes
That works in both evince and in okular for me. Thanks! On Jun 3, 2:45 pm, mdipierro mdipie...@cs.depaul.edu wrote: Try this instead: http://www.scribd.com/doc/16085263/web2py-slides-version-163 On Jun 3, 2:19 pm, bsnipes snipes.br...@gmail.com wrote: Arch Linux.  Using Okular and Evince

[web2py:23086] Re: new slides

2009-06-01 Thread bsnipes
Advanced is misspelled on slide 50. Still going through it... On Jun 1, 9:31 pm, mdipierro mdipie...@cs.depaul.edu wrote: I posted another version. Now it is twice as long. still lots to say but please send me feedback. http://www.web2py.com/examples/static/cookbook2.pdf Massimo

[web2py:23087] Re: new slides

2009-06-01 Thread bsnipes
Business misspelled on slide 56. On Jun 1, 9:31 pm, mdipierro mdipie...@cs.depaul.edu wrote: I posted another version. Now it is twice as long. still lots to say but please send me feedback. http://www.web2py.com/examples/static/cookbook2.pdf Massimo

[web2py:23088] Re: new slides

2009-06-01 Thread bsnipes
oops.. and 48 and 49. On Jun 1, 9:40 pm, bsnipes snipes.br...@gmail.com wrote: Advanced is misspelled on slide 50. Still going through it... On Jun 1, 9:31 pm, mdipierro mdipie...@cs.depaul.edu wrote: I posted another version. Now it is twice as long. still lots to say but please send me

[web2py:20724] Re: yet another feature in trunk

2009-04-28 Thread bsnipes
WooHoo! Now I can ditch my workaround... Brian On Apr 28, 12:23 am, mdipierro mdipie...@cs.depaul.edu wrote: SQLField('fieldname','upload',length='256',rememberfilename=True) Do I need to say more? Just try with appadmin (requires appadmin from trunk)

[web2py:20457] Re: Pretty book printing

2009-04-24 Thread bsnipes
On Apr 24, 6:17 am, Angelo Compagnucci angelo.compagnu...@gmail.com wrote: Hi list and hi Massimo, I bought the pdf book version, is there a way to pretty print the book without crop markers?? One way to do this is to use Inkscape and pdftk. Open Inkscape and change the page type to Letter.

[web2py:19468] Best deployment via apache to hide controller and app name?

2009-04-08 Thread bsnipes
What would be the best way to deploy web2py and 'hide' the default controller and the application name? For example: application name: mysitename controller used for functions: default If a user visits http://www.mysitename.com/ it should pull from web2py /mysitename/default/index. If the

[web2py:19470] Re: Best deployment via apache to hide controller and app name?

2009-04-08 Thread bsnipes
On Apr 8, 3:10 pm, Boris Manojlovic boris.manojlo...@gmail.com wrote: I do not know if you are aware that if you call your application init you will get exactly that what you want. Hmm.. just tried it and while it does make that app come up when just the base url is used in the browser (

[web2py:19376] Re: Newbie trying to get the auth role

2009-04-07 Thread bsnipes
On Apr 7, 9:10 am, Monty808 davidmontgom...@gmail.com wrote: I assigned roles to the user.  How can I get the role using something like role=auth.role? I don't know if this is the 'proper' way to do it but you could try:

[web2py:19379] Re: Apache config.

2009-04-07 Thread bsnipes
On Apr 7, 9:20 am, zxynax zxy...@gmail.com wrote: a2enmod web2py returns ERROR: Module web2py does not exist! oops... I guess that should be a2ensite web2py... I'll power on my laptop that I was testing with and paste them shortly. Brian --~--~-~--~~~---~--~~

[web2py:19389] Re: Apache config.

2009-04-07 Thread bsnipes
On Apr 7, 9:52 am, zxynax zxy...@gmail.com wrote: I thought that's what you intended.  But as I'm the one who's obviously not understanding something very simple - like the example in the deployment recipe section - I'm the one waving the idiot banner and as such have had all powers of

[web2py:19407] Re: Apache config.

2009-04-07 Thread bsnipes
On Apr 7, 1:32 pm, zxynax zxy...@gmail.com wrote: So I found a workaround. Great! The problem I have with this is I'd like to manipulate the xml contained within the .svg with web2py. Is an email to the author in order? Not a clue. I've never touched WSGI before last night :) Brian

[web2py:19412] Re: Apache config.

2009-04-07 Thread bsnipes
On Apr 7, 1:59 pm, zxynax zxy...@gmail.com wrote: That begs the question - what deployment method are you using? It will be on Apache. Right now I am creating my first actual site. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[web2py:19294] Re: Apache config.

2009-04-06 Thread bsnipes
On Apr 6, 2:19 pm, zxynax zxy...@gmail.com wrote: I'm trying to have apache serve svg images as they should be served. Problem is the doctype seems to always come back as text/plain which casues text rather than an image to show. Anybody else have experience with this? No experience but

[web2py:19307] Hide registration function?

2009-04-06 Thread bsnipes
What is the best way to hide the register option when auth is enabled in a web2py application? Thanks, Brian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py Web Framework group. To post to this group, send

[web2py:19309] Re: Apache config.

2009-04-06 Thread bsnipes
On Apr 6, 2:40 pm, zxynax zxy...@gmail.com wrote: Thanks for your prompt attention. OS is Ubuntu and the mime.types has the images/svg+xml definition and it is uncommented.  I can even serve svg images if I use a vhost that does not utilize WSGI. Haven't setup WSGI yet. I will ( I hope )

[web2py:19315] Re: Hide registration function?

2009-04-06 Thread bsnipes
On Apr 6, 3:48 pm, mdipierro mdipie...@cs.depaul.edu wrote: def user():     if request.args and request.args[0]=='register': redirect(... somewhere...)     return auth() DOH! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[web2py:19339] Re: Apache config.

2009-04-06 Thread bsnipes
I am downloading Ubuntu server 8.10 right now and hope to test it within the next couple of hours. Brian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py Web Framework group. To post to this group, send email

[web2py:19346] Re: Apache config.

2009-04-06 Thread bsnipes
Well.. got Ubuntu server installed and followed all the steps from the manual excluding adding ssl to the vhost and up to ( but not including ) the proxy part. 2 things seem to be missing from the example that I see: 1. a2enmod web2py 2. if I don't run 'python web2py.py' at least once the

[web2py:19034] Re: changed file name in file upload

2009-04-03 Thread bsnipes
On Feb 9, 3:00 pm, mdipierro mdipie...@cs.depaul.edu wrote: For 3 reasons: 1) avoid directory traversal attacks 2) avoid conflicts (two files uploaded with same name) 3) be able to identify which table and which record afilebelongs to from thefilename itself. Massimo Is it possible to

[web2py:19036] Re: changed file name in file upload

2009-04-03 Thread bsnipes
Is it possible to capture the original filename to the table and then send it as back to the name back to the client when the client clicks on a link to download the file? Never mind... found some more info in another thread on it.

[web2py:10785] Re: SQLFORM option but non-editable

2008-10-29 Thread bsnipes
[field]}}/td/tr {{pass}} /table You may need to customize it. Massimo On Oct 29, 10:54 am, bsnipes [EMAIL PROTECTED] wrote: I would like to display a record in a view matching the SQLFORM layout and looks but for it to be non-editable.  Is there anything like that available or do I need