[web2py] Re: web2py 2.15.0b1

2017-08-06 Thread wish7code
Opened a ticket at https://github.com/web2py/web2py/issues/1721

On Thursday, 13 July 2017 09:45:11 UTC+2, Jacinto Parga wrote:
>
> Great job. Thanks.
>
> First issue with @mobilize import
>
>
> 
>
> from gluon.contrib.user_agent_parser import mobilize
>
>
>
>
> El miércoles, 5 de julio de 2017, 8:55:21 (UTC+2), Massimo Di Pierro 
> escribió:
>>
>> Please help us test the new web2py:
>>
>>
>> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_src.zip
>>  
>>
>> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_osx.zip
>>
>> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_win.zip
>>
>> Personally and on behalf of the community: thanks to everybody who has 
>> contributed! 
>>
>> It has been a year but we piled up a huge number of small changes and bug 
>> fixes.
>>
>> ## 2.16.0b1
>>
>> - experimental python 3 support
>>
>> - experimental authapi for service login
>>
>> - more tests
>>
>> - d3.js model visulization
>>
>> - improved scheduler
>>
>> - is_email support for internationalized Domain Names
>>
>> - improved used of cookies with CookieJar
>>
>> - SQLFORM.grid(showblobs=True)
>>
>> - import JS events (added w2p.componentBegin event)
>>
>> - added support for CASv3
>>
>> - allow first_name and last_name placeholders in verify_email message
>>
>> - added three-quote support in markmin
>>
>> - updated pg8000 driver (but we still recommend psycopg2)
>>
>> - compiled views use . separator not _ separator (must recompile code)
>>
>> - better serbian, french, and catalan translations
>>
>> - speed improvements (refactor of compileapp and pyc caching)
>>
>> - removed web shell (never worked as intended)
>>
>> - allow Expose(..., follow_symlink_out=False).
>>
>> - Updated fpdf to latest version
>>
>> - JWT support
>>
>> - import fabfile for remote deployment
>>
>> - jQuery 3.2.1
>>
>> - PyDAL 17.07 including:
>>
>>   allow jsonb support for postgres
>>
>>   correctly configure adapters that need connection for configuration
>>
>>   better caching
>>
>>   updated IMAP adapter methods to new API
>>
>>   experimental suport for joinable subselects
>>
>>   improved Teradata support
>>
>>   improved mongodb support
>>
>>   overall refactoring
>>
>>   experimental support for Google Cloud SQL v2
>>
>

-- 
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: web2py 2.15.0b1

2017-08-04 Thread wish7code
>First issue with @mobilize import



Hey everybody,

I'm getting the same error with @mobilize after upgrade. 
Any ideas how to resolve?

Thanks & cheers
Toby

On Thursday, 13 July 2017 09:45:11 UTC+2, Jacinto Parga wrote:
>
> Great job. Thanks.
>
> First issue with @mobilize import
>
>
> 
>
> from gluon.contrib.user_agent_parser import mobilize
>
>
>
>
> El miércoles, 5 de julio de 2017, 8:55:21 (UTC+2), Massimo Di Pierro 
> escribió:
>>
>> Please help us test the new web2py:
>>
>>
>> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_src.zip
>>  
>>
>> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_osx.zip
>>
>> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_win.zip
>>
>> Personally and on behalf of the community: thanks to everybody who has 
>> contributed! 
>>
>> It has been a year but we piled up a huge number of small changes and bug 
>> fixes.
>>
>> ## 2.16.0b1
>>
>> - experimental python 3 support
>>
>> - experimental authapi for service login
>>
>> - more tests
>>
>> - d3.js model visulization
>>
>> - improved scheduler
>>
>> - is_email support for internationalized Domain Names
>>
>> - improved used of cookies with CookieJar
>>
>> - SQLFORM.grid(showblobs=True)
>>
>> - import JS events (added w2p.componentBegin event)
>>
>> - added support for CASv3
>>
>> - allow first_name and last_name placeholders in verify_email message
>>
>> - added three-quote support in markmin
>>
>> - updated pg8000 driver (but we still recommend psycopg2)
>>
>> - compiled views use . separator not _ separator (must recompile code)
>>
>> - better serbian, french, and catalan translations
>>
>> - speed improvements (refactor of compileapp and pyc caching)
>>
>> - removed web shell (never worked as intended)
>>
>> - allow Expose(..., follow_symlink_out=False).
>>
>> - Updated fpdf to latest version
>>
>> - JWT support
>>
>> - import fabfile for remote deployment
>>
>> - jQuery 3.2.1
>>
>> - PyDAL 17.07 including:
>>
>>   allow jsonb support for postgres
>>
>>   correctly configure adapters that need connection for configuration
>>
>>   better caching
>>
>>   updated IMAP adapter methods to new API
>>
>>   experimental suport for joinable subselects
>>
>>   improved Teradata support
>>
>>   improved mongodb support
>>
>>   overall refactoring
>>
>>   experimental support for Google Cloud SQL v2
>>
>

-- 
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.


Re: [web2py] Systemd/uwsgi issue on setup-web2py-nginx-uwsgi-ubuntu.sh install

2016-12-09 Thread wish7code
Sorry, I guess I just opened a duplicate issue.. The behaviour was already 
reported with https://github.com/web2py/web2py/issues/1443



On Friday, 9 December 2016 16:55:34 UTC+1, Richard wrote:
>
> Yes, you should have a look if there is no issue open, open a new issue, 
> and if there is no PR pending correcting this issue submit one...
>
> I fix that in my own environnement restoring script, but I guess I forgot 
> to report this problem, but I remember having notice this issue a couples 
> of months ago when I was working to update my environment script.
>
> Thanks
>
> Richard
>
> On Fri, Dec 9, 2016 at 3:57 AM,  wrote:
>
>> Yes, I took master..
>>
>> I think, I now identified the issue: the installer starts the service on 
>> first run (see 
>> https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh#L218),
>>  
>>
>> but it fails to activate it permanently. What's missing here is a
>>
>> systemctl enable emperor.uwsgi.service
>>
>> which would activate the uwsgi service permanently as in the older 
>> upstart versions of this script..
>>
>> Shall I open an issue or send a PR? What's the preferred version?
>>
>> Cheers
>> Toby
>>
>>
>> On Thursday, 8 December 2016 22:52:50 UTC+1, Richard wrote:
>>>
>>> Did you take the last version of the script the one available in trunk 
>>> (or github master)?
>>>
>>> I not, try that version of the script first...
>>>
>>> Here : 
>>> https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
>>>
>>> If you still experiment the same problem consider open an issue :
>>>
>>> https://github.com/web2py/web2py/issues
>>>
>>> Thanks
>>>
>>> Richard
>>>
>>> On Thu, Dec 8, 2016 at 4:46 PM,  wrote:
>>>
 Hello friends,

 I started a new web2py project on ubuntu 16.04 from scratch using 
 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh

 When trying to access the website I get 502 bad gateway errors, 
 probably related to an uwsgi issue.
 This is the systemctl output:

 $ systemctl status emperor.uwsgi.service
 ● emperor.uwsgi.service - uWSGI Emperor
Loaded: loaded (/etc/systemd/system/emperor.uwsgi.service; disabled; 
 vendor preset: enabled)
Active: inactive (dead)

 If I start uwsgi manually, everything works fine, i.e.

 $ systemctl start emperor.uwsgi.service
 ● emperor.uwsgi.service - uWSGI Emperor
Loaded: loaded (/etc/systemd/system/emperor.uwsgi.service; disabled; 
 vendor preset: enabled)
Active: active (running) since Thu 2016-12-08 22:36:02 CET; 8s ago
  Main PID: 1404 (uwsgi)
Status: "uWSGI is ready"
 Tasks: 5
Memory: 32.5M
   CPU: 190ms
CGroup: /system.slice/emperor.uwsgi.service
├─1404 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
├─1417 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
├─1418 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
├─1419 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
└─1420 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini



 $ /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini   works too

 Any idea, how I could fix/debug this?

 Thanks & cheers
 Toby

 -- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> -- 
>> 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+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.


Re: [web2py] Re: Web2py with ngix

2016-12-09 Thread wish7code
https://github.com/web2py/web2py/issues/1545

Cheers
Toby

On Friday, 9 December 2016 02:32:58 UTC+1, Richard wrote:
>
> Could you link issue here?
>
>
> Richard
>
> On Thu, Dec 8, 2016 at 5:03 PM,  wrote:
>
>> I just posted an issue with uwsgi and setup-web2py-nginx-uwsgi-ubuntu.sh to 
>> the mailing list ( 
>> https://groups.google.com/forum/#!topic/web2py/U_GTzcdXdKE )
>> This might possible be related..
>>
>> On Thursday, 8 December 2016 05:53:58 UTC+1, J Boggy wrote:
>>
>>> Web2py with ngix start work well.
>>> But when i start uwsgi 
>>> it show  uwsgi.service not found error.
>>> If i need to create service i don't know how to create.
>>> I follow this way
>>>
>>> https://www.digitalocean.com/community/tutorials/how-to-deploy-web2py-python-applications-with-uwsgi-and-nginx-on-ubuntu-14-04
>>>
>> -- 
>> 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+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.


Re: [web2py] Systemd/uwsgi issue on setup-web2py-nginx-uwsgi-ubuntu.sh install

2016-12-09 Thread wish7code
Yes, I took master..

I think, I now identified the issue: the installer starts the service on 
first run (see 
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh#L218),
 

but it fails to activate it permanently. What's missing here is a

systemctl enable emperor.uwsgi.service

which would activate the uwsgi service permanently as in the older upstart 
versions of this script..

Shall I open an issue or send a PR? What's the preferred version?

Cheers
Toby


On Thursday, 8 December 2016 22:52:50 UTC+1, Richard wrote:
>
> Did you take the last version of the script the one available in trunk (or 
> github master)?
>
> I not, try that version of the script first...
>
> Here : 
> https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
>
> If you still experiment the same problem consider open an issue :
>
> https://github.com/web2py/web2py/issues
>
> Thanks
>
> Richard
>
> On Thu, Dec 8, 2016 at 4:46 PM,  wrote:
>
>> Hello friends,
>>
>> I started a new web2py project on ubuntu 16.04 from scratch using 
>> https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
>>
>> When trying to access the website I get 502 bad gateway errors, probably 
>> related to an uwsgi issue.
>> This is the systemctl output:
>>
>> $ systemctl status emperor.uwsgi.service
>> ● emperor.uwsgi.service - uWSGI Emperor
>>Loaded: loaded (/etc/systemd/system/emperor.uwsgi.service; disabled; 
>> vendor preset: enabled)
>>Active: inactive (dead)
>>
>> If I start uwsgi manually, everything works fine, i.e.
>>
>> $ systemctl start emperor.uwsgi.service
>> ● emperor.uwsgi.service - uWSGI Emperor
>>Loaded: loaded (/etc/systemd/system/emperor.uwsgi.service; disabled; 
>> vendor preset: enabled)
>>Active: active (running) since Thu 2016-12-08 22:36:02 CET; 8s ago
>>  Main PID: 1404 (uwsgi)
>>Status: "uWSGI is ready"
>> Tasks: 5
>>Memory: 32.5M
>>   CPU: 190ms
>>CGroup: /system.slice/emperor.uwsgi.service
>>├─1404 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
>>├─1417 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
>>├─1418 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
>>├─1419 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
>>└─1420 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
>>
>>
>>
>> $ /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini   works too
>>
>> Any idea, how I could fix/debug this?
>>
>> Thanks & cheers
>> Toby
>>
>> -- 
>> 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+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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: Web2py with ngix

2016-12-08 Thread wish7code
I just posted an issue with uwsgi and setup-web2py-nginx-uwsgi-ubuntu.sh to 
the mailing list ( 
https://groups.google.com/forum/#!topic/web2py/U_GTzcdXdKE )
This might possible be related..

On Thursday, 8 December 2016 05:53:58 UTC+1, J Boggy wrote:
>
> Web2py with ngix start work well.
> But when i start uwsgi 
> it show  uwsgi.service not found error.
> If i need to create service i don't know how to create.
> I follow this way
>
> https://www.digitalocean.com/community/tutorials/how-to-deploy-web2py-python-applications-with-uwsgi-and-nginx-on-ubuntu-14-04
>

-- 
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] Systemd/uwsgi issue on setup-web2py-nginx-uwsgi-ubuntu.sh install

2016-12-08 Thread wish7code
Hello friends,

I started a new web2py project on ubuntu 16.04 from scratch using 
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh

When trying to access the website I get 502 bad gateway errors, probably 
related to an uwsgi issue.
This is the systemctl output:

$ systemctl status emperor.uwsgi.service
● emperor.uwsgi.service - uWSGI Emperor
   Loaded: loaded (/etc/systemd/system/emperor.uwsgi.service; disabled; 
vendor preset: enabled)
   Active: inactive (dead)

If I start uwsgi manually, everything works fine, i.e.

$ systemctl start emperor.uwsgi.service
● emperor.uwsgi.service - uWSGI Emperor
   Loaded: loaded (/etc/systemd/system/emperor.uwsgi.service; disabled; 
vendor preset: enabled)
   Active: active (running) since Thu 2016-12-08 22:36:02 CET; 8s ago
 Main PID: 1404 (uwsgi)
   Status: "uWSGI is ready"
Tasks: 5
   Memory: 32.5M
  CPU: 190ms
   CGroup: /system.slice/emperor.uwsgi.service
   ├─1404 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
   ├─1417 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
   ├─1418 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
   ├─1419 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
   └─1420 /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini



$ /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini   works too

Any idea, how I could fix/debug this?

Thanks & cheers
Toby

-- 
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: ST_X function on POSTGIS geography() fields

2015-09-30 Thread wish7code
Done: https://github.com/web2py/pydal/issues/298

Cheers
Toby

Am Dienstag, 29. September 2015 23:17:37 UTC+2 schrieb wish...@gmail.com:
>
> +1 from my side too :-) Was a pydal ticket ever opened?
> Otherwise I would do now...
>
> Cheers 
> Toby
>
> Am Montag, 22. Juni 2015 08:51:59 UTC+2 schrieb Massimo Di Pierro:
>>
>> Please open a pydal ticket. I do not think we support this yet but we can 
>> add it.
>>
>> On Wednesday, 23 April 2014 05:44:39 UTC-5, libe...@gmail.com wrote:
>>>
>>> Hi everyone,
>>> I am trying to extract latitude and longitude from a POSTGIS geography() 
>>> field. Unfortunately the usual st_x() and st_y() functions normally used
>>> for geometry() fields won't work.
>>> How can I extract the required values or transform geography in geometry?
>>>
>>> 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: ST_X function on POSTGIS geography() fields

2015-09-29 Thread wish7code
+1 from my side too :-) Was a pydal ticket ever opened?
Otherwise I would do now...

Cheers 
Toby

Am Montag, 22. Juni 2015 08:51:59 UTC+2 schrieb Massimo Di Pierro:
>
> Please open a pydal ticket. I do not think we support this yet but we can 
> add it.
>
> On Wednesday, 23 April 2014 05:44:39 UTC-5, libe...@gmail.com 
>  wrote:
>>
>> Hi everyone,
>> I am trying to extract latitude and longitude from a POSTGIS geography() 
>> field. Unfortunately the usual st_x() and st_y() functions normally used
>> for geometry() fields won't work.
>> How can I extract the required values or transform geography in geometry?
>>
>> 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: Invalid password reset

2015-08-20 Thread wish7code
Thanks so much! That solved the issue..

Cheers
Toby

Am Mittwoch, 19. August 2015 23:38:44 UTC+2 schrieb Massimo Di Pierro:

 This is not a bug. This is a misconfiguration.You have a custom message 
 for the email that is sent and it uses an old syntax for embedding the 
 email reset link. The email you quote looks like


 https://www.leonexus.nl/my/default/user/reset_password/1436942252-fffb0ed4-dec2-4ae6-93a1-19355abc13ac
  
 http://127.0.0.1:8000/my/default/user/reset_password/1436942252-fffb0ed4-dec2-4ae6-93a1-19355abc13ac

 instead it should be


 https://www.leonexus.nl/my/default/user/reset_password?key=1436942252-fffb0ed4-dec2-4ae6-93a1-19355abc13ac
  
 http://127.0.0.1:8000/my/default/user/reset_password/1436942252-fffb0ed4-dec2-4ae6-93a1-19355abc13ac

 Make sure you use %(link)s to embed the link, for example:

 auth.settings.reset_password='Click on the link %(link)s to reset your 
 password'





 On Wednesday, 19 August 2015 15:59:42 UTC-5, wish...@gmail.com 
 javascript: wrote:

 Any news on that issue? I just tested 
 2.12.3-stable+timestamp.2015.08.19.00.18.03, 
 but I still get the *Invalid password reset* message..
 Happy to provide any details needed for analysis..

 Cheers
 Toby



 Am Montag, 20. Juli 2015 08:38:09 UTC+2 schrieb Massimo Di Pierro:

 Will get to the bottom of this today.

 On Sunday, 19 July 2015 10:10:21 UTC-5, wish...@gmail.com wrote:

 Same with me...

 Am Mittwoch, 15. Juli 2015 08:42:39 UTC+2 schrieb Annet:


 This would happen if the user has already clicked the link.


 This also happens when clicking the link for the very first time,
 I noticed this after upgrading to version 2.10.

 Kind regards,

 Annet 



-- 
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: Invalid password reset

2015-08-19 Thread wish7code
Any news on that issue? I just tested 
2.12.3-stable+timestamp.2015.08.19.00.18.03, 
but I still get the *Invalid password reset* message..
Happy to provide any details needed for analysis..

Cheers
Toby



Am Montag, 20. Juli 2015 08:38:09 UTC+2 schrieb Massimo Di Pierro:

 Will get to the bottom of this today.

 On Sunday, 19 July 2015 10:10:21 UTC-5, wish...@gmail.com javascript: 
 wrote:

 Same with me...

 Am Mittwoch, 15. Juli 2015 08:42:39 UTC+2 schrieb Annet:


 This would happen if the user has already clicked the link.


 This also happens when clicking the link for the very first time,
 I noticed this after upgrading to version 2.10.

 Kind regards,

 Annet 



-- 
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: Invalid password reset

2015-07-24 Thread wish7code
OK, I see. It might really be a Google bug:

I just saw my messages disappearing with the message
 Message from the moderator:
 Your message has been rejected.
 Only posts related to web2py are allowed.

But back to the details: Basically I've got pretty much the same setting as 
Annet, i.e. using user name instead of email address as login.
While initially I used a custom auth table 
(http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth),
 
I followed Annets hint and switched to the described extra fields 
alternative. Nevertheless the problem remains..

I'd be happy to provide any further details needed.

Cheers
Toby


Am Montag, 20. Juli 2015 08:38:09 UTC+2 schrieb Massimo Di Pierro:

 Will get to the bottom of this today.

 On Sunday, 19 July 2015 10:10:21 UTC-5, wish...@gmail.com javascript: 
 wrote:

 Same with me...

 Am Mittwoch, 15. Juli 2015 08:42:39 UTC+2 schrieb Annet:


 This would happen if the user has already clicked the link.


 This also happens when clicking the link for the very first time,
 I noticed this after upgrading to version 2.10.

 Kind regards,

 Annet 



-- 
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: Invalid password reset

2015-07-20 Thread wish7code
Is there any specific reason, why my posts were denied
As requested, I was providing detailled informations on my setting to 
reproduce the issue.

As everybody on the list, I try to help making web2py better.
Deleting posts without comment or reason then seems a litte bit unpolite to 
me.

Cheers
Toby

Am Mittwoch, 15. Juli 2015 10:56:33 UTC+2 schrieb Massimo Di Pierro:

 Can you please post the list of steps to reproduce? We will fix it asap.

 On Wednesday, 15 July 2015 01:42:39 UTC-5, Annet wrote:


 This would happen if the user has already clicked the link.


 This also happens when clicking the link for the very first time,
 I noticed this after upgrading to version 2.10.

 Kind regards,

 Annet 



-- 
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: Invalid password reset

2015-07-19 Thread wish7code
Same with me...

Am Mittwoch, 15. Juli 2015 08:42:39 UTC+2 schrieb Annet:


 This would happen if the user has already clicked the link.


 This also happens when clicking the link for the very first time,
 I noticed this after upgrading to version 2.10.

 Kind regards,

 Annet 


-- 
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.


Re: [web2py] Invalid password reset

2015-07-14 Thread wish7code
Has there been any solution yet?

 Could it be expired?

Mine is brand-new..

Am Montag, 15. Juni 2015 07:10:49 UTC+2 schrieb Annet:


 Could it be expired?


 I reported the same issue on 24. Mai

 https://groups.google.com/forum/?fromgroups=#!topic/web2py/ytYoSQuOux4


 Kind regards,

 Anne 


-- 
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: Any problem in list:reference in 2.10 ?

2015-05-04 Thread wish7code
Hi Paolo,

 Can you try to replace the failing line with if db._adapter.dbengine == 
'google:datastore'
Solved the issue for me, only the colon at end of missing :-)

Thanks!
Toby

Am Mittwoch, 29. April 2015 12:07:21 UTC+2 schrieb Paolo Valleri:

 Hi,
 Can you try the fix I proposed in 
 https://github.com/web2py/web2py/issues/946#issuecomment-9661

 Paolo

 On Tuesday, April 28, 2015 at 9:26:23 PM UTC+2, Ariya Owam-aram wrote:

 Hi Everyone,

 I just upgrade to 2.10.4 and found error message when using filed 
 list:reference.

 APP : welcome 

 DB
 db.define_table('parent', Field('name'))
 db.define_table('student', Field('name'), Field('parent', 'list:reference 
 parent'))

 in APPADMIN
 - from parent table insert : father, mother
 - from student table insert : student1 with select father (or mother or 
 both)
 - open student grid view : return error 
 type 'exceptions.TypeError' isinstance() arg 2 must be a class, type, 
 or tuple of classes and types

 1.
 2.
 3.
 4.
 5.
 6.
 7.
 8.
 9.
 10.
 11.
 12.
 13.

 Traceback (most recent call last):
   File /home/www-data/web2py/gluon/restricted.py, line 227, in restricted
 exec ccode in environment
   File /home/www-data/web2py/applications/welcome/views/appadmin.html 
 https://op4.cacpacific.com/admin/edit/welcome/views/appadmin.html, line 
 175, in module
 {{if ram['bytes']  524287:}}
   File /home/www-data/web2py/gluon/sqlhtml.py, line 3253, in __init__
 r = represent(field, r or [], record)
   File /home/www-data/web2py/gluon/sqlhtml.py, line 68, in represent
 return f(value)
   File /home/www-data/web2py/gluon/packages/dal/pydal/helpers/methods.py, 
 line 268, in __call__
 if isinstance(db._adapter, GoogleDatastoreAdapter):
 TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and 
 types


 Frames

- 

*File /home/www-data/web2py/gluon/restricted.py in restricted at line 
 227* code arguments variables
- 

*File /home/www-data/web2py/applications/welcome/views/appadmin.html in 
 module at line 175* code arguments variables
- 

*File /home/www-data/web2py/gluon/sqlhtml.py in __init__ at line 3253* 
 code arguments variables
- 

*File /home/www-data/web2py/gluon/sqlhtml.py in represent at line 68* 
 code arguments variables
- 

*File /home/www-data/web2py/gluon/packages/dal/pydal/helpers/methods.py 
 in __call__ at line 268* code arguments variables
Function argument list

(self=pydal.helpers.methods._repr_ref_list object, value=[1L], row=None)
Code listing

263.
264.
265.
266.
267.
268.

269.
270.
271.
272.

if not value:
return None
from ..adapters import GoogleDatastoreAdapter
refs = None
db, id = self.ref._db, self.ref._id
if isinstance(db._adapter, GoogleDatastoreAdapter):

def count(values):
return db(id.belongs(values)).select(id)
rx = range(0, len(value), 30)
refs = reduce(lambda a, b: a  b, [count(value[i:i+30])

Variablesbuiltinisinstancebuilt-in function 
 isinstancedb._adapterpydal.adapters.sqlite.SQLiteAdapter 
objectdbDAL uri=sqlite://storage.sqliteGoogleDatastoreAdapterNone


 Thank you
 Ariya



-- 
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: Issue with lookup foreign key / format statement in 2.10.3

2015-04-15 Thread wish7code
Thats's good news!

Thanks for taking care!
Cheers
Toby

Am Dienstag, 14. April 2015 23:29:48 UTC+2 schrieb Niphlod:

 being a bug, we need to ship a new web2py. it got fixed already. we're 
 waiting for Massimo to release a 2.10.4.

 On Tuesday, April 14, 2015 at 10:51:31 PM UTC+2, wish...@gmail.com wrote:

 I just discovered, there's already a issue posted..

 https://groups.google.com/forum/#!topic/web2py/Tog4tdUl400
 https://github.com/web2py/web2py/issues/904 

 Are there already any solutions yet?

 Thanks  cheers
 Toby

 wish...@gmail.com:

 Hey guys!

 Did 2.10.3-stable+timestamp.2015.04.02.21.42.07 change something in the 
 way* format statements *%(fields)s are handled?

 When referencing another table, the *format statement now seems to be 
 ignored*. Instead only the foreign key id is displayed.

 Example 

 I have the following lookup table

 db.define_table('countries',
 Field('country', 'string'),
 Field('the_geom', 'geometry()'),
 Field.Virtual('latitude', lambda row: db(db.countries.id == 
 row.countries.id
 ).select(db.countries.centroid.st_y()).first()[db.countries.centroid.st_y()]),
 Field.Virtual('longitude', lambda row: db(db.countries.id == 
 row.countries.id
 ).select(db.countries.centroid.st_x()).first()[db.countries.centroid.st_x()]),
* format='%(country)s'*, migrate=True)
 
 Another table is referencing this lookup table

 db.define_table('uploads',
 Field('country',* db.countries*),
 Field('uploaded','date'),
 ...
 migrate=True)
 
 Now I would like to count the number of uploads per country.

 def count_uploads_by_country():
 import datetime
 from datetime import timedelta
 count = db.wifi_zone.id.count()
 result = db(db.uploads.uploaded  datetime.date.today() -  
 timedelta(days=7)).select(*db.uploads.country*, count, groupby = 
 db.uploads.country).render()
 return dict(result=result)
 
 I would expect that a query on the uploads table would display the 
 country name as specified in the format statement, i.e.
 *Country  Uploads per Country*
 *France* 123
 *Italy   *45 
 *Germany   *10

 Until recently this worked perfectly, but following the update to 2.10.3 
 only the country ids are returned, i.e.

 *Country  Uploads per Country**1*   -- foreign id instead of name
 *2*   --45 
 *3*   --10

 db._lastsql shows that the country name isn't even queried:
 SELECT uploads.country, COUNT(uploads.id) FROM uploads WHERE 
 (uploads.last_updated  '2015-04-04') GROUP BY uploads.country;

 Does anybody have a clue, why only the foreign id is displayed, but not 
 the country name according to the format statement?

 Cheers 
 Toby



-- 
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: Issue with lookup foreign key / format statement in 2.10.3

2015-04-14 Thread wish7code
I just discovered, there's already a issue posted..

https://groups.google.com/forum/#!topic/web2py/Tog4tdUl400
https://github.com/web2py/web2py/issues/904 

Are there already any solutions yet?

Thanks  cheers
Toby

wish...@gmail.com:

 Hey guys!

 Did 2.10.3-stable+timestamp.2015.04.02.21.42.07 change something in the way* 
 format statements *%(fields)s are handled?

 When referencing another table, the *format statement now seems to be 
 ignored*. Instead only the foreign key id is displayed.

 Example 

 I have the following lookup table

 db.define_table('countries',
 Field('country', 'string'),
 Field('the_geom', 'geometry()'),
 Field.Virtual('latitude', lambda row: db(db.countries.id == 
 row.countries.id
 ).select(db.countries.centroid.st_y()).first()[db.countries.centroid.st_y()]),
 Field.Virtual('longitude', lambda row: db(db.countries.id == 
 row.countries.id
 ).select(db.countries.centroid.st_x()).first()[db.countries.centroid.st_x()]),
* format='%(country)s'*, migrate=True)
 
 Another table is referencing this lookup table

 db.define_table('uploads',
 Field('country',* db.countries*),
 Field('uploaded','date'),
 ...
 migrate=True)
 
 Now I would like to count the number of uploads per country.

 def count_uploads_by_country():
 import datetime
 from datetime import timedelta
 count = db.wifi_zone.id.count()
 result = db(db.uploads.uploaded  datetime.date.today() -  
 timedelta(days=7)).select(*db.uploads.country*, count, groupby = 
 db.uploads.country).render()
 return dict(result=result)
 
 I would expect that a query on the uploads table would display the country 
 name as specified in the format statement, i.e.
 *Country  Uploads per Country*
 *France* 123
 *Italy   *45 
 *Germany   *10

 Until recently this worked perfectly, but following the update to 2.10.3 
 only the country ids are returned, i.e.

 *Country  Uploads per Country**1*   -- foreign id instead of name
 *2*   --45 
 *3*   --10

 db._lastsql shows that the country name isn't even queried:
 SELECT uploads.country, COUNT(uploads.id) FROM uploads WHERE 
 (uploads.last_updated  '2015-04-04') GROUP BY uploads.country;

 Does anybody have a clue, why only the foreign id is displayed, but not 
 the country name according to the format statement?

 Cheers 
 Toby



-- 
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] Issue with lookup foreign key / format statement in 2.10.3

2015-04-12 Thread wish7code
Hey guys!

Did 2.10.3-stable+timestamp.2015.04.02.21.42.07 change something in the way* 
format statements *%(fields)s are handled?

When referencing another table, the *format statement now seems to be 
ignored*. Instead only the foreign key id is displayed.

Example 

I have the following lookup table

db.define_table('countries',
Field('country', 'string'),
Field('the_geom', 'geometry()'),
Field.Virtual('latitude', lambda row: db(db.countries.id == 
row.countries.id).select(db.countries.centroid.st_y()).first()[db.countries.centroid.st_y()]),
Field.Virtual('longitude', lambda row: db(db.countries.id == 
row.countries.id).select(db.countries.centroid.st_x()).first()[db.countries.centroid.st_x()]),
   * format='%(country)s'*, migrate=True)

Another table is referencing this lookup table

db.define_table('uploads',
Field('country',* db.countries*),
Field('uploaded','date'),
...
migrate=True)

Now I would like to count the number of uploads per country.

def count_uploads_by_country():
import datetime
from datetime import timedelta
count = db.wifi_zone.id.count()
result = db(db.uploads.uploaded  datetime.date.today() -  
timedelta(days=7)).select(*db.uploads.country*, count, groupby = 
db.uploads.country).render()
return dict(result=result)

I would expect that a query on the uploads table would display the country 
name as specified in the format statement, i.e.
*Country  Uploads per Country*
*France* 123
*Italy   *45 
*Germany   *10

Until recently this worked perfectly, but following the update to 2.10.3 
only the country ids are returned, i.e.

*Country  Uploads per Country**1*   -- foreign id instead of name
*2*   --45 
*3*   --10

db._lastsql shows that the country name isn't even queried:
SELECT uploads.country, COUNT(uploads.id) FROM uploads WHERE 
(uploads.last_updated  '2015-04-04') GROUP BY uploads.country;

Does anybody have a clue, why only the foreign id is displayed, but not the 
country name according to the format statement?

Cheers 
Toby

-- 
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: How to set Reset password key programmatically?

2015-01-01 Thread wish7code
Just for the records (it took me quite some time to understand the password 
reset mechanism, maybe this helps somebody else):
The reset password key is created dynamically, so there's absolutely no 
need to populate the reset key field.

Per default the reset password key field is empty. *Only *when a user 
request a password reset the key is calculated automatically as
reset_password_key=str(int(time.time()))+'-'+str(uuid.uuid4())

Am Sonntag, 28. Dezember 2014 19:52:30 UTC+1 schrieb wish...@gmail.com:

 Hey everybody,

 I added a couple of users programmatically as suggested on the mailing 
 list using

 my_crypt = CRYPT(key=auth.settings.hmac_key)
 crypt_pass = my_crypt(passw)[0]
 id_user= db.auth_user.insert(username = username, email = email, password 
 = crypt_pass)

 That's perfectly fine, but... the newly created users lack a *Reset 
 password key*
 How would I assign a Reset password key when creating users 
 programmatically, so that users later can retrieve their password?

 Anybody could share a code snippet?

 Cheers
 Toby


-- 
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.


Re: [web2py] How to set Reset password key programmatically?

2015-01-01 Thread wish7code
Thanks Michele! In fact I misunderstood the basic concept (see my other 
mail which is still stuck in moderation)
I thought reset_password_key is mandatory in all cases, in fact it's only 
needed upon password reset request as you suggested..

Cheers 
Toby

Am Dienstag, 30. Dezember 2014 12:59:40 UTC+1 schrieb Michele Comitini:

 A simple trick is to send the user (with user_id) a link (by mail or any 
 other way)

 You can do something like this (max_time is when you want the key to 
 expire)

  user = db.auth_user(user_id)   
 reset_password_key = str(int(max_time)) + '-' + web2py_uuid()
 user.update_record(reset_password_key=reset_password_key)

 link =auth.url(auth.settings.function,
 args=('reset_password', reset_password_key),
 scheme='https')

 You can put this in a file .py and call it from web2py.py using the -R  
 option on commandline.



 2014-12-28 19:52 GMT+01:00 wish...@gmail.com javascript::

 Hey everybody,

 I added a couple of users programmatically as suggested on the mailing 
 list using

 my_crypt = CRYPT(key=auth.settings.hmac_key)
 crypt_pass = my_crypt(passw)[0]
 id_user= db.auth_user.insert(username = username, email = email, password 
 = crypt_pass)

 That's perfectly fine, but... the newly created users lack a *Reset 
 password key*
 How would I assign a Reset password key when creating users 
 programmatically, so that users later can retrieve their password?

 Anybody could share a code snippet?

 Cheers
 Toby

 -- 
 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+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
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 set Reset password key programmatically?

2014-12-29 Thread wish7code
Hey everybody,

I added a couple of users programmatically as suggested on the mailing list 
using

my_crypt = CRYPT(key=auth.settings.hmac_key)
crypt_pass = my_crypt(passw)[0]
id_user= db.auth_user.insert(username = username, email = email, password = 
crypt_pass)

That's perfectly fine, but... the newly created users lack a *Reset 
password key*
How would I assign a Reset password key when creating users 
programmatically, so that users later can retrieve their password?

Anybody could share a code snippet?

Cheers
Toby

-- 
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] Route (legacy) php request to a web2py function

2014-08-08 Thread wish7code
Hi guys,

any idea how I can map an url like upload/upl*.php5* to an web2py 
controller/function?

Background: upload/upl.php was the old url from an outdated php server 
stack. Unfortunately it has been hardcoded in some clients out of my 
control.
To make things work a 301 redirect will break this upload clients...

Thanks for your help
Cheers 
Toby

-- 
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] Rename files (model,controller,view) in web ui

2014-05-18 Thread wish7code
Hey guys,

I misspelled a model and want to correct that now. Is there an easy way to 
rename a model (or any other file, be it controller or view) in the web ui?

Of course, I could create a new model with the correct name, copy  paste 
the code from my misspelled model, delete the misspelled model, but there 
might be smarter ways?

Cheers
Toby

-- 
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.