[web2py] setting user is authenticated

2024-02-12 Thread Oscar S
Hi, I have made an alternative login system to web2py that consists of sending a token by email to the user's email, once I validate that everything is right, how can I set that the user is authenticated? Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http:/

[web2py] setting user is authenticatedout of web2py control access

2024-02-12 Thread Oscar S
I have made an alternative login system to web2py that consists of sending a token by email to the user's email, once I validate that everything is right, how can I set that the user is authenticated? I use the Auth database tables. Thanks -- Resources: - http://web2py.com - http://web2py.co

[web2py] Configure web2py for catalan language

2014-10-16 Thread Oscar Chic
I try to add catalan language to web2py When Create Language ca.py I get a new file ca.py but also an error "gluon/contrib/plural_rules/ca.py not found" I make a test translating a string but does not work I appreciate your help Òscar -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Distance between geolocations in a query

2013-11-29 Thread Oscar Fonts
imization still applies, unless you used "ST_DWithin": http://postgis.refractions.net/documentation/manual-2.0/ST_DWithin.html Oscar- -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/

Re: [web2py] Distance between geolocations in a query

2013-11-29 Thread Oscar Fonts
lations: http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates -- Oscar Fonts www.geomati.co <http://geomati.co> -- 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) -

[web2py] Model extractor for legacy Oracle databases - call for testing

2013-11-20 Thread oscar . fonts
you already have a systematic battery of tests I could run by myself. In any case, let me know the best way to quality check the script before merging it to trunk. Oh, and I hope you find it useful! Oscar Fonts. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://gi

[web2py] Real time web app game

2012-08-31 Thread Oscar Hou
interact with other players. The web2py application will have some actionscript for the client facing graphics. Is this a feasible design? Should I scrap the node.js server and just host everything using the web2py application? Thank you, Oscar --

[web2py] DAL: About upload field and S3

2011-07-08 Thread Oscar
Hi, There exist a way to do an upload when a Upload field is defined at the model but it upload the file to a S3 bucket? Do I have to extend the upload field properties? How? Thanks in advance. Oscar.

[web2py] Re: list:string and Update form

2011-06-13 Thread Oscar
I used the following: record = db(db[main_data.settings.table_name_products].id == product_id).select() form.element(_id = "op_products_type")[0] = record[0].type Regards, Oscar. On 12 jun, 01:33, Oscar wrote: > Hi, > > I have a model using a list:string field called type.

[web2py] Re: list:string and Update form

2011-06-13 Thread Oscar
No problem I already solved the issue. Regards, Oscar. On 12 jun, 01:33, Oscar wrote: > Hi, > > I have a model using a list:string field called type. > > Validation for type field: > IS_IN_SET({'finished':T('Finished'),'service':T(

[web2py] list:string and Update form

2011-06-11 Thread Oscar
product_fields, submit_button = submit_button, formstyle = 'divs') I need that type field get the right value from the string stored in the DB to get it showed in the dropdown. How I can do this? Regards, Oscar.

[web2py] Re: It's a bug or my mistake

2011-06-02 Thread Oscar
Was a wrong validation. Regards, Oscar On 2 jun, 09:43, Martín Mulone wrote: > I do not recommend to enter values manually in powerpack and perhaps in > another app using appadmin, because you are avoiding data validation. > > 2011/6/2 Oscar > > > Hi Massimo, > &

[web2py] It's a bug or my mistake

2011-06-02 Thread Oscar
ck or web2py. You can download the erro file from: http://cl.ly/1O1n2U0r0Y3P45333q2N Best regards, Oscar.

[web2py] Re: Domains and Web2Py

2011-05-15 Thread Oscar
Thank you very much. Oscar. On 15 mayo, 21:10, Anthony wrote: > Seehttp://web2py.com/book/default/chapter/04#Parameter-Based-System, in > particular, this example: > > routers = dict( >   BASE  = dict( >       domains = { >           'domain1.com' : 'app1

[web2py] Domains and Web2Py

2011-05-15 Thread Oscar
Hi, I want to host a single Web2Py installation with few appliances or apps installed on it, Can I redirecto with Web2Py every domain pointed to my host to the related appliance? I mean at Web2Py level, not to ngix or Apache level. Regards, Oscar.

[web2py] Massimo: What is happening with Wiki Plugin

2011-05-10 Thread Oscar
ive_current_record_fkey"\nDETAIL: Key (current_record)=(40) is not present in table "plugin_wiki_page".\n\n' p4724 I checked the plugin_wiki_page table and all looks fine. If you can give me some lights about this issue it will be apreciated. Oscar.

[web2py] Re: Wiki Plugin and meta-code with new DB

2011-05-09 Thread Oscar
52, in execute return self.log_execute(*a, **b) File "/Users/ra/Documents/Desarrollo/web2py/gluon/dal.py", line 1147, in log_execute ret = self.cursor.execute(*a,**b) InternalError: current transaction is aborted, commands ignored until end of transaction block On 9 mayo, 11:44

[web2py] Wiki Plugin and meta-code with new DB

2011-05-09 Thread Oscar
cause the migrate disabled? Regards, Oscar.

[web2py] Re: CNAME and routes.py file

2011-04-27 Thread Oscar
Ok, Thank you for your help. On 27 abr, 17:13, Jonathan Lundell wrote: > On Apr 27, 2011, at 2:07 PM, Oscar wrote: > > > > > will be supressed myapp from the url? > > Yes. That's really all that being the default application means. If you don't > want it

[web2py] Re: CNAME and routes.py file

2011-04-27 Thread Oscar
will be supressed myapp from the url? On 27 abr, 16:24, Jonathan Lundell wrote: > On Apr 27, 2011, at 1:17 PM, Oscar wrote: > > > > > I just want to configure myapp as default without rename it to init. > > That's all. > > Just set default_application in rou

[web2py] Re: CNAME and routes.py file

2011-04-27 Thread Oscar
I just want to configure myapp as default without rename it to init. That's all. On 27 abr, 14:28, Jonathan Lundell wrote: > On Apr 27, 2011, at 10:34 AM, Oscar wrote: > > > > > Nope, > > > I didn't use URL tag, but i was suspecting it. > > > Th

[web2py] Re: CNAME and routes.py file

2011-04-27 Thread Oscar
Nope, I didn't use URL tag, but i was suspecting it. There is a Way to invoke the default application without hide the entire URL? On 27 abr, 12:41, pbreit wrote: > If you set "default_application" in routes.py, it's going to hide "/app" > (and /default) which is usually what you want. But eve

[web2py] Re: CNAME and routes.py file

2011-04-27 Thread Oscar
Thanks for the tip. On 27 abr, 13:19, Jonathan Lundell wrote: > On Apr 27, 2011, at 9:41 AM, pbreit wrote: > > > If you set "default_application" in routes.py, it's going to hide "/app" > > (and /default) which is usually what you want. But everything should still > > work. Do you generate all

[web2py] Re: CNAME and routes.py file

2011-04-27 Thread Oscar
ontrollers. On 27 abr, 12:40, Jonathan Lundell wrote: > On Apr 27, 2011, at 9:26 AM, Oscar wrote: > > > > > I'm using dotcloud service for host my web2py application, I > > configured a routes.py file to change the default application, > > function and cont

[web2py] CNAME and routes.py file

2011-04-27 Thread Oscar
hange to www.myapp.dotcloud.com/myapp/w/index- (because of routes.py) If I access using the domain it shows the page without issue but the URL don´t show /myapp/w/index so If i do clic in static URL it just don't work. Some one knows how to fix this? Thanks in advance, Oscar.

[web2py] Re: Deploying DB

2011-04-26 Thread Oscar
line 3992, in define_table\nraise SyntaxError, \'invalid table "%s" attribute: %s\' % (tablename, key) \nSyntaxError: invalid table "plugin_wiki_page" attribute: migrate_enabled\n' p4093 Oscar. On 26 abr, 08:23, Massimo Di Pierro wrote: > Than the safe way is: >

[web2py] Re: Deploying DB

2011-04-26 Thread Oscar
So, If I don't use any argument at all, does Web2py set true as default? Oscar. On 26 abr, 08:23, Massimo Di Pierro wrote: > Than the safe way is: > > 1) delete database > 2) recreate database (empty, no tables) > 3 use > > DAL('mysql://...')

[web2py] Re: Deploying DB

2011-04-26 Thread Oscar
It applies for Postgre too? Oscar. On 26 abr, 08:23, Massimo Di Pierro wrote: > Than the safe way is: > > 1) delete database > 2) recreate database (empty, no tables) > 3 use > > DAL('mysql://...') # the default with no arguments like > migrate_enabled=True

[web2py] Re: web2py 1.95.1 and open issues

2011-04-26 Thread Oscar
That solved the issue :-) I removed .xml from every "URL" object in that line. Oscar. On 26 abr, 08:25, Massimo Di Pierro wrote: > In you menu you have... > > URL(...).xml() but should be URL(...) without .xml(). > > On Apr 26, 1:18 am, Oscar wrote: > > &

[web2py] Re: web2py 1.95.1 and open issues

2011-04-26 Thread Oscar
Why happened it? Did you changed some thing in the last update? Thank you, Oscar. On 26 abr, 08:25, Massimo Di Pierro wrote: > In you menu you have... > > URL(...).xml() but should be URL(...) without .xml(). > > On Apr 26, 1:18 am, Oscar wrote: > > > > > >

[web2py] Re: web2py 1.95.1 and open issues

2011-04-25 Thread Oscar
I upgraded to this version, then plugin_wiki is broken, it return an error at menu.py sating that attribute str has not xml method. Oscar.

[web2py] Re: Deploying DB

2011-04-25 Thread Oscar
ant that it work without issue. > On Apr 25, 3:39 pm, Oscar wrote: > > > > > > > > > Sorry again, > > > The error is: ProgrammingError: relation "auth_user" already exists > > > Oscar. > > > On 25 abr, 16:34, Oscar wrote: >

[web2py] Re: Deploying DB

2011-04-25 Thread Oscar
Sorry again, The error is: ProgrammingError: relation "auth_user" already exists Oscar. On 25 abr, 16:34, Oscar wrote: > BTW I tried with migration set to False locally with SqLite and it > worked without issues. > > Oscar. > > On 25 abr, 16:32, Oscar wrote

[web2py] Re: Deploying DB

2011-04-25 Thread Oscar
BTW I tried with migration set to False locally with SqLite and it worked without issues. Oscar. On 25 abr, 16:32, Oscar wrote: > Hi there, > > I'm triying to deploy a W2P project based on Wiki_Plugin. I just > installed the plugin, I did some tests using sqlite, then I wante

[web2py] Deploying DB

2011-04-25 Thread Oscar
gards, Oscar.

[web2py] Re: Circula relationship

2011-04-14 Thread Oscar
Thank you very much. Regards, Oscar. On 14 abr, 17:43, Anthony wrote: > Is this what you > want:http://web2py.com/book/default/chapter/06#Self-Reference-and-Aliases > > > > > > > > On Thursday, April 14, 2011 4:56:28 PM UTC-4, Oscar wrote: >

[web2py] Circula relationship

2011-04-14 Thread Oscar
today()), Field('enabled', 'boolean', default=True), migrate=self.i2p.config.is_first_time) db.define_table('categories', categories, Field('parent_id', categories)) Regards, Oscar.

[web2py] Re: VoltDB

2010-06-03 Thread Oscar
I tought yes, Python is a requirement, see at: http://cl.ly/1GMu Source: http://cl.ly/1GX1 Regards, Oscar. On 1 jun, 23:00, mdipierro wrote: > Is there a python driver for it? > > On Jun 1, 1:02 pm, Oscar wrote: > > > Hi there, > > > There is a new DBMS in th

[web2py] VoltDB

2010-06-01 Thread Oscar
Hi there, There is a new DBMS in the block, a new kind of DBMS. Plese read http://cl.ly/1EO3 for more information. Massimo, can you add support for it. it's worth. Best Regards, Oscar.

[web2py] Sendgrid Support?

2010-05-04 Thread Oscar
Does Web2Py have sendgrid.com API support? it uses an smtp mail server and API for create emails under their rules. You can see the API for python at http://cl.ly/r29 and example at http://cl.ly/o1B. Regards, Oscar.

[web2py:21452] ¿More bugs?

2009-05-07 Thread Oscar
sh I don't know if it is related with that warning. I tryed all again with python 2.6.2 ang I got the same behaviour from language. So what is happening, BTW you was right about tar library, I tryed it with 2.5.1 and all worked fine for compress a decompress. Regar

[web2py:21183] Re: BUG:

2009-05-04 Thread Oscar
Let me try... Thank you! On 5 mayo, 09:34, Douglas Soares de Andrade wrote: > Em Segunda-feira 04 Maio 2009, às 00:10:55, Oscar escreveu: > > > That's right, I'm using Python 2.6.1 > > > Regards, > > Oscar. > > Hi Oscar, > > Please test with pyt

[web2py:21182] Re: BUG:

2009-05-04 Thread Oscar
:-/ On 4 mayo, 22:17, mdipierro wrote: > That's why we say web2py requires 2.5. ;-) > > Massimo > > On May 3, 10:10 pm, Oscar wrote: > > > That's right, I'm using Python 2.6.1 > > > Regards, > > > Oscar. > > > On 4 mayo, 21:59,

[web2py:21181] Re: BUG:

2009-05-04 Thread Oscar
Mac OS X 1.5.6 On 4 mayo, 22:22, mdipierro wrote: > BTW what os? > > On May 3, 10:17 pm, mdipierro wrote: > > > That's why we say web2py requires 2.5. ;-) > > > Massimo > > > On May 3, 10:10 pm, Oscar wrote: > > > > That's ri

[web2py:21113] Re: BUG:

2009-05-03 Thread Oscar
That's right, I'm using Python 2.6.1 Regards, Oscar. On 4 mayo, 21:59, mdipierro wrote: > Are you using python 2.6? The tar module seems to have a bug in 2.6. > > Massimo > > On May 3, 9:56 pm, Oscar wrote: > > > Ok let me explain more in detail. > >

[web2py:21110] Re: BUG:

2009-05-03 Thread Oscar
turns that traceback. Using 1.61.4 all functions work without issue. Regards, Oscar. On 4 mayo, 21:47, mdipierro wrote: > I guess I misunderstood the issue. where di you download "free_sms" > from. This does not come from my server. > > Massimo > > On May 3, 9:29 

[web2py:21107] Re: BUG:

2009-05-03 Thread Oscar
2py/applications/free_sms/views/web2py_ajax.html' Regards, Oscar. On 3 mayo, 23:56, mdipierro wrote: > I think it is fixed. I had forgotten to add some new admin files to > SVN. > > Massimo > > On May 2, 5:03 pm, mdipierro wrote: > > > I am investing the previous

[web2py:21088] Re: BUG:

2009-05-03 Thread Oscar
I will try again. Thank you! Oscar. On 3 mayo, 23:56, mdipierro wrote: > I think it is fixed. I had forgotten to add some new admin files to > SVN. > > Massimo > > On May 2, 5:03 pm, mdipierro wrote: > > > I am investing the previous issue. I changed the structur

[web2py:21087] Re: BUG:

2009-05-03 Thread Oscar
I did get the same result with mutiple downloaded files... so, ¿All were corrupted? even ziped file in your page. Regards, Oscar. On 3 mayo, 17:03, mdipierro wrote: > I am investing the previous issue. I changed the structure of admin in > trunk and it is possible I forgot to add some

[web2py:20996] Re: BUG:

2009-05-02 Thread Oscar
I just found another issue with SVN version, When I try to import a packaged app, then I restore it in my new instalation, the view layer is broken. Any page can't be displayed, (no errors, just a white page), I did the app again from scratch for get the views working again. Regards,

[web2py:20961] Re: BUG:

2009-05-01 Thread Oscar
welcome app and no routes On 2 mayo, 16:11, mdipierro wrote: > When you say > > default/index > > which app are you referring to? Is it possible there is a routes.py in > there that does not belong in there? > > Massimo > > On May 1, 3:27 pm, Oscar wrote: >

[web2py:20957] BUG:

2009-05-01 Thread Oscar
not be created. Regards, Oscar. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, sen

[web2py:19281] Re: Auth Wiki example

2009-04-06 Thread Oscar
What are the complete list of auth_user fields? and default values? Regards, Oscar. On 7 abr, 11:22, mdipierro wrote: > auth=Auth(globals(),db) > auth.settings.table_user=db.define_table('auth_user', fields > including first_name, last_name, email, password, registrati

[web2py:19230] Re: Auth Wiki example

2009-04-05 Thread Oscar
Thank you! So... how I can extend fields, I already asked that for T2 but what about auth? Regards, Oscar. On 25 mar, 14:01, mdipierro wrote: > That line is added by web2py at runtime. I but it appears in the > ticket not in the code and that would be ok, > > On Mar 24, 1:22 pm,

[web2py:18505] Auth Wiki example

2009-03-23 Thread Oscar
Hi all, I followed the example posted at the WiKi about auth, I extended Auth class with: db.py -> class MyAuth(Auth): def __init__(self, environment, T, db = None): Auth.__init__(self, environment, db) self.messages.logged_in = T("Logged in")

[web2py:15038] Re: Error with response.menu

2009-01-16 Thread Oscar
Thank you! Oscar. On 17 ene, 02:11, Fran wrote: > On Jan 16, 4:55 am, Oscar wrote: > > > B.T.W. there is a way to modify login and registration form called by > > t2 functions? > > The Views can be amended either by creating files called views/ > login.html &a

[web2py:15032] Re: Error with response.menu

2009-01-15 Thread Oscar
So... Thank you very much. what a dumb. B.T.W. there is a way to modify login and registration form called by t2 functions? Regards, Oscar. On 16 ene, 21:04, mdipierro wrote: > response.menu=[ >              [T('Main'),False,t2.action('index')], >            

[web2py:15030] Error with response.menu

2009-01-15 Thread Oscar
Hi, I'm just following the tutorial as a base for concept app, i'm using response.menu for get a menu in my page but i getting the following error: Error traceback Traceback (most recent call last): File "/Users/ra/codigo_fuente/web2py/gluon/restricted.py", line 62, in restricted exec cco

[web2py:12577] Re: new T2

2008-11-27 Thread Oscar
There is a way to use GAE email framwork with T2?? Something like the db management system, but with GAE email infrastructure. Regards, Oscar. On 25 nov, 22:52, mdipierro <[EMAIL PROTECTED]> wrote: > Actually it is secure. If you have email_auth it uses TLS. > > http://w

[web2py:12413] Re: T2 Registering

2008-11-23 Thread Oscar
Which is the best way of hide registration key field? Thank you! Oscar. On 24 nov, 11:34, mdipierro <[EMAIL PROTECTED]> wrote: > Now I understand. You found a bug in t2! Thank you. > > The string length defaults to 32. A uuid is longer so those fields > should have a length

[web2py:12412] Re: GAE: JOIN

2008-11-23 Thread Oscar
Thank you! I will review these! Oscar. On 24 nov, 11:48, mdipierro <[EMAIL PROTECTED]> wrote: > There is a section of the book on many-to-many. You can also look at > the examples in the pyworks2008 talk (on the web site) If this does > not answer the question I will rewrite

[web2py:12407] Re: GAE: JOIN

2008-11-23 Thread Oscar
Sorry I missed the link: http://blog.arbingersys.com/2008/04/google-app-engine-one-to-many-join.html (one-to-many) On 24 nov, 11:33, Oscar <[EMAIL PROTECTED]> wrote: > Hi, > > How I can reproduce this with Web2Py and T2: > > http://blog.arbingersys.com/2008/04/google-app-

[web2py:12405] GAE: JOIN

2008-11-23 Thread Oscar
Hi, How I can reproduce this with Web2Py and T2: http://blog.arbingersys.com/2008/04/google-app-engine-better-many-to-many.html (many-to-many) Or (one-to-many) Regards. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[web2py:12402] Re: T2 Registering

2008-11-23 Thread Oscar
turns an error, something about error on function. If y expose and display the registration key field and I try again to add a record the form returns an flash error about string too long. How long can be an string field? I don't understand because an UUID key isn't so long. Thanks in

[web2py:12393] T2 Registering

2008-11-22 Thread Oscar
ons and T2 messages? Best Regards, Oscar. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group,

[web2py:10966] Re: How to extend a model

2008-11-02 Thread Oscar
So, Massimo, what does mean these two lines? Sorry I'm a very new with programming at python. Thanks in advance, Oscar. On 3 nov, 10:29, Oscar <[EMAIL PROTECTED]> wrote: > What does mean below lines? > > db.t2_person.exposes=['name','email','pass

[web2py:10964] Re: How to extend a model

2008-11-02 Thread Oscar
wrong: 'booelan' and that was the whole issue. I already fix it ;) Thank you! Oscar. On 3 nov, 12:29, mdipierro <[EMAIL PROTECTED]> wrote: > The point that Yarko is making (and he is right) is that "boolean" is > a type. "booelan" > is not. ;-) > >

[web2py:10961] Re: How to extend a model

2008-11-02 Thread Oscar
Yes, Is supposed that "boolean" is a type, even describe as it in comments at db.py file. Regards, Oscar. On 3 nov, 11:52, "Yarko T" <[EMAIL PROTECTED]> wrote: > Oscar - > Are you asking why   "booelan" is an unknown type? > > *grin* > >

[web2py:10953] Re: How to extend a model

2008-11-02 Thread Oscar
. 3. 4. 5. 6. 7. 8. 9. Traceback (most recent call last): File "/Users/ra/fuentes/web2py/gluon/restricted.py", line 62, in restricted exec ccode in environment File "/Users/ra/fuentes/web2py/applications/diamante/models/db.py", line 52, in db.Field('messages&

[web2py:10952] Re: How to extend a model

2008-11-02 Thread Oscar
. 3. 4. 5. 6. 7. 8. 9. Traceback (most recent call last): File "/Users/ra/fuentes/web2py/gluon/restricted.py", line 62, in restricted exec ccode in environment File "/Users/ra/fuentes/web2py/applications/diamante/models/db.py", line 52, in db.Field('messages&

[web2py:10951] Re: How to extend a model

2008-11-02 Thread Oscar
What does mean below lines? db.t2_person.exposes=['name','email','password'] db.t2_person.displays=['name','email','password'] Regards, Oscar. On 3 nov, 00:30, mdipierro <[EMAIL PROTECTED]> wrote: > Normally you can do &g

[web2py:10949] Re: How to extend a model

2008-11-02 Thread Oscar
No problem! I already did it! Thanks! On 3 nov, 10:01, Oscar <[EMAIL PROTECTED]> wrote: > How I can get all functioality from this table, I mean, the UUID added > automatically to the registry key field and other stuff? > > Regards, > > Oscar. > > On 3 nov, 00:3

[web2py:10947] Re: How to extend a model

2008-11-02 Thread Oscar
How I can get all functioality from this table, I mean, the UUID added automatically to the registry key field and other stuff? Regards, Oscar. On 3 nov, 00:30, mdipierro <[EMAIL PROTECTED]> wrote: > Normally you can do > > db.define_table('base_table',SQLField(

[web2py:10946] Re: How to extend a model

2008-11-02 Thread Oscar
Thnaks for your help!!! Oscar. On 3 nov, 03:41, billf <[EMAIL PROTECTED]> wrote: > Massimo > > I think that extending the T2 tables, especially t2_person, could be > quite common and I wondered if people think it would be useful to > extend a t2 table without having to re

[web2py:10931] How to extend a model

2008-11-01 Thread Oscar
Hi, I was looking for how to extend a model, I mean, I working with T2 and I want to add some more fields to t2_persona table, I tryed defining again the table in my new project but It didn't worked. Some oen knows how I can accomplish this? Regards,

[web2py:9867] Dynamic Form

2008-10-06 Thread Oscar
ant that when I select the state my forms shows the city field with respective cities for that state. I don't know if I must construct a entire form using view or there is an auto generated way ??? Regards, Oscar. --~--~-~--~~~---~--~~ You received this m