[web2py] IMAPDB, decode ISO-8859-1 in sender.from name

2014-08-31 Thread javierobcn
Hi I'm working with IMAPDB adapter, i can connect and read the messages, but i want proccess and store in DB some messages. The problem is with the message.sender field and some characters... the sender can be something similar to: Juan =?ISO-8859-1?Q?Cint=F3?= I need convert or decode the

[web2py] SOAP API authentication

2014-08-31 Thread Stefan van den Eertwegh
Hi, Does anyone know how to set authentication to a web2py SOAP API? Thank you! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this messag

[web2py] Moving a file (upload) from one table to another

2014-08-31 Thread Spokes
I have two tables, *t_image2* and *t_image1*, and I would like to copy an image (type: 'upload') from* t_image2* to *t_image1*.The tables are something like the following: db.define_table('t_image2', ... Field('name', requires=[IS_NOT_EMPTY(), IS_NOT_IN_DB(db, 't_image2.name' )], unique

[web2py] Re: Document Expired/ Need to reload page on using browser back button

2014-08-31 Thread Anthony
The problem is that you are making a POST request to return the grid, which is fundamentally a GET action. When you use the browser back button to try to return to a page that was requested via POST, the browser will typically display a message indicating the page has expired (because responses

[web2py] Re: Help in server config

2014-08-31 Thread Carlos Correia
Reinstalled in a virtual machine with the same config (Debian wheezy+apache+wsgi), just to confirm. Please take a look at the way the admin interface looks :( Why is web2py rendering the links like this ( )? I would appreciate *very much *any help. Thanks, Sábado, 30 de Agosto de 2014 20:2

[web2py] Re: Help in server config

2014-08-31 Thread Niphlod
from 2.1.0 there's static asset management. http://web2py.com/books/default/chapter/29/04/the-core#Static-asset-management On Sunday, August 31, 2014 4:45:18 PM UTC+2, Carlos Correia wrote: > > > Reinstalled in a virtual machine with the same config (Debian > wheezy+apache+wsgi), just to confi

[web2py] Re: Moving a file (upload) from one table to another

2014-08-31 Thread Niphlod
when you deal with upload fields, you should use the proper method (i.e. store()) http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#More-on-uploads On Sunday, August 31, 2014 2:52:45 PM UTC+2, Spokes wrote: > > I have two tables, *t_image2* and *t_image1*, and I would

[web2py] Re: "Enter date as 1963-08-28" error

2014-08-31 Thread Niphlod
hm. sorry, you got that already: you have two fields with the same name. What are you trying to achieve ? On Saturday, August 30, 2014 9:13:09 PM UTC+2, Richard wrote: > > I have used an sql form for adding records with date fields. > I added 2 date fields on a table like I did before, now I get

Re: [web2py] Re: Help in server config

2014-08-31 Thread Carlos Correia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31-08-2014 17:28, Niphlod wrote: > from 2.1.0 there's static asset management. > > http://web2py.com/books/default/chapter/29/04/the-core#Static-asset-management > Thanks, that solves the first "mistery" (the old server was running v. 2.0.6). No

[web2py] Re: Moving a file (upload) from one table to another

2014-08-31 Thread Spokes
Thanks, Niphlod - that looks like it should solve the issue. Just have a follow-up question - what's the best way to pass the location of the file to the 'open()' function? I've tried a few things, including the following: image_filename_as_list = current_image.image.split('.') c

[web2py] How do I change or remove the tabkename above a SQLFORM.grid?

2014-08-31 Thread Tom Øyvind Hogstad
The default SQLFORM.grid shows the tablename as a title above the output grid. I want to change or remove it. -- Resources: - http://web2py.com - http://web2p

[web2py] Re: two forms submitted into the same cotroller

2014-08-31 Thread Andrey K
Thanks Massimo. Here is my reformatted question(hope it will be more understandable): I want to present two input sets of information coming from server into two sections of the same view (div1 and div2). First input set is generated based on user choice control, that presented at the sam

[web2py] Re: How do I change or remove the tabkename above a SQLFORM.grid?

2014-08-31 Thread Massimo Di Pierro
You cannot remove it but you can can set db.plant._plural = 'My Plants' On Sunday, 31 August 2014 08:18:55 UTC-5, Tom Øyvind Hogstad wrote: > > The default SQLFORM.grid shows the tablename as a title above the output > grid. I want to change or remove it. > > >

[web2py] Re: new web2py videos

2014-08-31 Thread samuel bonill
Thanks so much El sábado, 30 de agosto de 2014 21:57:04 UTC-5, Massimo Di Pierro escribió: > > Nico has helped edit and re-organize some my class lectures about web2py. > They are now split into 30 small videos: > > https://vimeo.com/album/3016728 > > Please join me in thanking Nico. >

[web2py] Re: two forms submitted into the same cotroller

2014-08-31 Thread Massimo Di Pierro
This helps but I still have some questions... where is ? what is ? is this used the output of two generated SQLFORM? or the actual source view? On Sunday, 31 August 2014 14:45:02 UTC-5, Andrey K wrote: > > Thanks Massimo. > Here is my reformatted question(hope it will be more understandable):

Re: [web2py] new web2py videos

2014-08-31 Thread Stef Mientki
great Nico and Massimo. one small remark, the titles can't be read (other than hoovering), so if I may suggest, change the title by removing "Web2py video course 2013" (or put it at the end of the title). cheers, Stef On 31-Aug-14 04:56, Massimo DiPierro wrote: Nico has helped edit and re-

[web2py] Re: Philosophical help with REST

2014-08-31 Thread Tim Richardson
Helpful it would be to see your table definitions. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to

[web2py] Re: How do I change or remove the tabkename above a SQLFORM.grid?

2014-08-31 Thread Anthony
I don't think SQLFORM.grid generates a heading like that -- what does your code look like? On Sunday, August 31, 2014 9:18:55 AM UTC-4, Tom Øyvind Hogstad wrote: > > The default SQLFORM.grid shows the tablename as a title above the output > grid. I want to change or remove it. > > >

[web2py] Re: SOAP API authentication

2014-08-31 Thread Matheus Cardoso
You can find your answer here: http://web2py.com/books/default/chapter/29/09/#markmin_basic_authentication And was working like a charm. ;) On Sunday, August 31, 2014 9:41:01 AM UTC-3, Stefan van den Eertwegh wrote: > > Hi, > > Does anyone know how to set authentication to a web2py SOAP API? >

[web2py] Re: Document Expired/ Need to reload page on using browser back button

2014-08-31 Thread Sarbjit
Thanks a lot Anthony for the solution. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google

[web2py] Re: Scheduler repeat time drift

2014-08-31 Thread Yi Liu
Hi, any updates on Cron_style scheduler? Scheduler is definitely more powerful than cron? Unfortunately, it cannot do what cron can do simply :( I am developing a web app that scrapes a page at 9am every day. Really wish scheduler can do this easily. I also read your comments here: http://comm