[web2py] Re: Push Notifications

2016-11-08 Thread Dave S
On Tuesday, November 8, 2016 at 4:45:48 AM UTC-8, Michael Beller wrote: > > I've been thinking about trying https://pusher.com/ > > They use servers running on an Amazon cluster? /dps > > On Wednesday, November 2, 2016 at 6:32:54 PM UTC-4, David wrote: >> >> Hello, >> >> My website allows u

[web2py] Re: Push Notifications

2016-11-08 Thread Dave S
On Wednesday, November 2, 2016 at 7:37:52 PM UTC-7, Anthony wrote: > > [...] You can also use various realtime messaging services (e.g., Fanout > ), or something like Pushpin > (an open source proxy server used by Fanout), which is probably a bit more

[web2py] About web2py_component and redirect

2016-11-08 Thread Marco Mansilla
Hi, since my previous email hasn't got any response, I'm still trying to find a solution to my problem. The problem is this, I have a form loaded via ajax into a modal, so far, so good, it gets called for creating a new form as well as edition, with SQLFORM in the respective controller, but when I

[web2py] Re: Memory leak in standalone DAL

2016-11-08 Thread Sukhmeet Toor
Hi Massimo, Thanks for looking into this. I just ran a few tests and I can confirm that the leak does repro on Mac OS X El Capitan (10.11.6 (15G1004)) with the latest version of pyDAL (16.9) and the HEAD and latest tags for web2py repo (https://github.com/web2py/web2py/releases). The leak did n

[web2py] Re: Copy and insert a row in a database

2016-11-08 Thread Anthony
> > Here is some code: > > def copy(): > import os > a = db.name(db.name.id== request.args(0)) > filepath = os.path.join(request.folder, 'uploads', a.file) > stream = open(filepath, 'rb') > db.name.insert(title= '%s_copy' % (a.title), > file_up = db.

[web2py] Re: web2py with DB2/Os400

2016-11-08 Thread António Ramos
solved... http://ochiba77.blogspot.pt/2011/09/how-to-connect-db2-with-python-pyodbc.html 2016-11-08 15:28 GMT+00:00 António Ramos : > Any guidelines working with os400/db2 ? > regards > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] DAL with db2 on ISeries/OS400 table names converted to AUTH_0000x

2016-11-08 Thread António Ramos
Hello just found that auth_membership and auth_permissions are created as AUTH_1 and AUTH_2 Those who know a litle of working with AS400/db2 know that table names are max 10 char long. So i think we have a problem... Regards António -- Resources: - http://web2py.com - http://web2py.com

[web2py] Re: Non-users getting permissions by setting auth.settings.everybody_group_id?

2016-11-08 Thread Anthony
On Monday, November 7, 2016 at 8:37:43 AM UTC-5, Horst Horst wrote: > > Thanks for the explanation, Anthony! It seems I had different expectations > regarding the definition of "everybody", but I guess either way makes sense. > In this context "everybody" means all registered users. What else wou

[web2py] web2py with DB2/Os400

2016-11-08 Thread António Ramos
Any guidelines working with os400/db2 ? regards -- 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 th

[web2py] Copy and insert a row in a database

2016-11-08 Thread Simon Andersson
Hi guys, I'm making a function to copy and insert a row of a database. I want to copy and rename a file but the automatic b16 renaming becomes too long and breaks when you make a copy of a copy. It also breaks some of my later processing of the file. Here is some code: def copy(): import o

[web2py] Re: data processing conditional on form input

2016-11-08 Thread Simon Andersson
Solution was: def processing(): if db.dbname(db.dbname.id == request.args(0)).file == 'file1': pathDir = /path/to/file1 else: pathDir = /path/to/file2 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source cod

[web2py] Re: custom forms

2016-11-08 Thread Michael Beller
The online web2py book is a great place to start: http://web2py.com/book Web2py will "automatically" generate a form (with dropdowns, radio buttons, etc.) and the form field validation based on the database model (along with the create, read, and edit forms). The forms chapter I think provides

[web2py] Re: Push Notifications

2016-11-08 Thread Michael Beller
I've been thinking about trying https://pusher.com/ On Wednesday, November 2, 2016 at 6:32:54 PM UTC-4, David wrote: > > Hello, > > My website allows users to send messages to one another; however, the only > way to see their new messages is to refresh the page. Is there any way to > notify th

[web2py] Re: strange behavior of $@ bash parameter expansion

2016-11-08 Thread Niphlod
the error you've seen has nothing to do with either $@ or "$@". it just signalled that you had a migration error. once you deleted both metadata and the underlying tables, everything was fixed. On Monday, November 7, 2016 at 6:28:22 PM UTC+1, Mirek Zvolský wrote: > > I use Debian (testing), Post

Re: [web2py] Re: pydal bug or odd behaviour

2016-11-08 Thread Manuele Pesenti
Il 08/11/16 02:55, Massimo Di Pierro ha scritto: > Please open a pydal issue. Ok done https://github.com/web2py/pydal/issues/428 Thank Massimo :) M. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.goo