[web2py] Re: please help testing web3py

2019-07-09 Thread Relsi Maron

 
>
> Does it work?
>

Works fine here.
Ubuntu 16.04
Python 3.5
 

> How does it flow?
>

In a fresh install, its flow easy.
 

> What explanations should be necessary?
>

None, at now.
 

> Can you write a brief documentation of your experience for other users?
>

I simply followed the instructions in the email and had no problem. I did 
not have another version installed, so I believe you used a version with no 
issues. 
 

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/fe7ebb7c-69cd-47fb-aa23-5434951a7adf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Future of web2py

2017-05-27 Thread Relsi Maron

Hi Andrea,

Yes, there will be a future for web2py!

Web2py will remain being what it is. :)

A new version, with support for Python 3, is about to come. Even though 
Massimo is developing a new framework, Web2py will continue to exist - with 
the same purpose for which it was created: to teach development.

Cheers.


Em sábado, 27 de maio de 2017 04:11:02 UTC-3, Andrea Fae' escreveu:
>
> Hello guys,
> I'd like to know if there will be future of web2py? Any information about 
> it?
> Thanks
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2pyslices

2017-03-21 Thread Relsi Maron

Hi Massimo, what is the major difficult to maintenance? How we can help?


Em terça-feira, 21 de março de 2017 16:53:16 UTC-3, Massimo Di Pierro 
escreveu:
>
> web2pyslices is becoming hard to maintain. Right now the best solution is 
> to create a github repo and move all the recipes into issues. We will 
> deprecate by closing them. People with gihub accounts can post and comment 
> issues/recipes. Unless you have a better solution, this will be done within 
> the next week.
>
> One sideffect is that we will lose some information about authorship of 
> the recipes and the comments. We will add a notice "created by {...}" but 
> the {...} name will be the web2pyslices username and that may not mean 
> anything in the gihub context.
>
> At this I do not have a better solution but please share your thoughts. 
>
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: crud.update error on dynamic change field value

2015-12-23 Thread Relsi Maron

Really buddy! The Places API have a field called id, so the lib change the 
value of the web2py field. I let it pass unnoticed. :(

Thank you very much for your help.



Em quarta-feira, 23 de dezembro de 2015 12:01:19 UTC-2, Anthony escreveu:
>
> In update forms, the record ID is encoded into the _formname hidden field, 
> which is used as a key to check the _formkey in the session, which is used 
> for CSRF protection as well as to prevent a malicious user from attempting 
> to update an alternative record by manipulating the "id" field. It looks 
> like the jQuery library you are using might add its own "id" field to the 
> submitted data, which will cause web2py to think the "id" has been 
> manipulated. You'll either have to make a change via Javascript before the 
> form gets submitted or manipulate request.post_vars on the server after 
> form submission but before crud.update() gets called.
>
> Anthony
>
> On Tuesday, December 22, 2015 at 9:34:02 PM UTC-5, Relsi Maron wrote:
>>
>> Hello guys,
>>
>> I use this javascript lib [1 <http://ubilabs.github.io/geocomplete/>] to 
>> populate a form with geolocalization data [2 
>> <http://ubilabs.github.io/geocomplete/examples/form.html>]. It works 
>> very well in a crud.create form, but if I use it in crud.update form I get 
>> this error, when the fields are dynamyc populated with the new data:
>>
>> SyntaxError: user is tampering with form's record_id: 
>> 7e127c37a39c01e218ccfdce430b5c25d34b6006 != 16
>>
>>
>> But if I change manually the field value it works how expected.
>>
>> Anybody would know how fix it?
>>
>> Thanks for all.
>>
>> [1] http://ubilabs.github.io/geocomplete/
>> [2] http://ubilabs.github.io/geocomplete/examples/form.html
>>
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] crud.update error on dynamic change field value

2015-12-22 Thread Relsi Maron
Hello guys,

I use this javascript lib [1 ] to 
populate a form with geolocalization data [2 
]. It works very 
well in a crud.create form, but if I use it in crud.update form I get this 
error, when the fields are dynamyc populated with the new data:

SyntaxError: user is tampering with form's record_id: 
7e127c37a39c01e218ccfdce430b5c25d34b6006 != 16


But if I change manually the field value it works how expected.

Anybody would know how fix it?

Thanks for all.

[1] http://ubilabs.github.io/geocomplete/
[2] http://ubilabs.github.io/geocomplete/examples/form.html

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Interact Web2Py App with Android App Security

2015-10-03 Thread Relsi Maron

Enable basic authentication [1 

]:

auth.settings.allow_basic_login = True


so:

https://user:password@http://localhost:8080/mysite/controller/get_example




[1] 
http://www.web2py.com/books/default/chapter/29/09/access-control#Access-Control-and-Basic-Authentication








Em sexta-feira, 2 de outubro de 2015 18:06:25 UTC-3, Fábio Filho escreveu:
>
> I'm sorry by my english
>
> How can i connect my android application in my web2py site using auth 
> authentication (@auth.requires_login)?
>
> I need make a secure connection between them
>
> for example: 
>
>
> Web2Py Side :
>
> @auth.requires_login()
> def get_examplet():
> return "{'code':'0'}"
>
>
>
>
> Android Java side: 
>
> new Thread(){
>   
>   @Override
>   public void run(){
>   
> Http.request("localhost:8080/mysite/controller/get_example") ; 
>  //  < i got a refused connection because that python line code 
> ("@auth.requires_login()"),
>   
>  //so of course that is expected 
> because i need to be logged in to make this request   
>   
>  // when a remove that python line code 
> above ("@auth.requires_login()"), i take it perfectly  
>
>}
>
> }.start();
>
>
>
> How can i do this above? 
>
>
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] http 400 error after change urls

2014-03-14 Thread Relsi Maron

Hi,

This happening an unusual thing here, after I changed my urls, I am getting 
many http 400 errors.
I've rebooted the routes, already rebooted the server, and the errors are 
still happening. Sometimes you can access the url, and sometimes receive 
error 400. And sometimes it no rewrite the route, and shoue the real route.

I use patterns routes, and one of my routes, before the error was, is:

/init/jobs/job/$the_id/$the_slug

to:

/jobs/ver-job/$the_id/$the_slug

And I change to:

/vagas/ver-vagas/$the_id/$the_slug

And the errors start. And this is happening only with these urls I changed, 
all that I change of /jobs/anythings to /vagas/anythings.

eg. 
https://codefreelas.com/vagas/ver-vaga/209/desenvolvedor-web-conhecimento-wordpress-e-magento

Sometimes work, sometimes get a 400 error, and sometimes it show 
https://codefreelas.com/init/jobs/job/209/desenvolvedor-web-conhecimento-wordpress-e-magentohttps://codefreelas.com/vagas/ver-vaga/209/desenvolvedor-web-conhecimento-wordpress-e-magento
.

I use Nginx.

Thanks for any help.
 

-- 
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 Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] How to send email of registration verification and reset password by my function not by auth

2013-12-06 Thread Relsi Maron
Hi, 

I'm using boto to send my emails through Amazon SES, like this: 
http://www.web2pyslices.com/slice/show/1448/amazon-web-services-simple-email-service-using-boto

All email of the app is ok, are send by my function, but the verify 
register and reset password email already are sent automatically, how I can 
change this to my function?

Thanks to all

-- 
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 Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: How to send email of registration verification and reset password by my function not by auth

2013-12-06 Thread Relsi Maron

Molte grazie Massimo!

It worked perfectly! :D



Em sexta-feira, 6 de dezembro de 2013 13h50min53s UTC-2, Massimo Di Pierro 
escreveu:

 Look into gluon/tools.py there is a

 class Mail:def send(
 self,
 to,
 subject = '[no subject]',
 message = '[no message]',
 attachments=None,
 cc=None,
 bcc=None,
 reply_to=None,
 sender=None,
 encoding='utf-8',
 raw=False,
 headers={}
 ): 

 You can mail your own mail class and set:

 auth.settings.mailer = YourMail()
 

 On Friday, 6 December 2013 07:25:38 UTC-6, Relsi Maron wrote:

 Hi, 

 I'm using boto to send my emails through Amazon SES, like this: 

 http://www.web2pyslices.com/slice/show/1448/amazon-web-services-simple-email-service-using-boto

 All email of the app is ok, are send by my function, but the verify 
 register and reset password email already are sent automatically, how I can 
 change this to my function?

 Thanks to all



-- 
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 Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.