n't need special features in Web2py. If you want crossdomain feature
> in QooxDoo you must set the crossDomain property to true:
> var rpc = new qx.io.remote.Rpc("http://targetdomain.com/appname/
> function/call/jsonrpc");
> rpc.setCrossDomain(true);
>
> On 23
is. If poeple have any idea let me know.
>
> On Oct 23, 8:24 am, Don Lee wrote:
>> Is there anything within web2py's json-rpc implementation that would
>> prevent cross domain calls?
> >
>
--~--~-~--~~~---~--~~
You received this m
Is there anything within web2py's json-rpc implementation that would
prevent cross domain calls?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googl
pyjamas.
On Thu, Oct 22, 2009 at 11:37 PM, mdipierro wrote:
>
> should we include jsonrpclib in contrib?
>
> Massimo
>
> On Oct 22, 1:51 pm, Don Lee wrote:
> > I made some progress. Using jsonrpclib I am able to do the following.
> >
> >
test
from the CLI ! That should help debugging. I I had waited a couple of
minutes, I could have saved an e-mail, but hopefully others will find this
useful.
On Thu, Oct 22, 2009 at 2:30 PM, mdipierro wrote:
>
> Ignore my previous message.
>
> I do not know. It is an RPC so t
I have created a test application to play around with json-rpc.
=
# coding: utf8
def index():
return dict()
def call():
return service
@service.jsonrpc
def echo(msg)
return msg
=
How can
ect* method of having a selected group of users authorized to
> > > access your system is to use LDAP groups and that's something I intend
> > > to add to web2py as currently LDAP support is really basic.
> >
> > > In my case, I want to authenticate only agains
Thanks, I thought about that. But as I said I do not have administrative
access to the server. I will talk to the database directly. I was just
curious is someone had another way around this. it would be nice if I would
map a primary key in web2py or have a primary key that was not an integer.
I know it seems strange but LDAP authentication works best if you follow the
books recommendation. I spent some time trying to understand the code. I
used wingIDE to try to understand what was going on (I am new to python). I
tried only LDAP, inserting LDAP before the reference to auth, and doin
I believe in a previous thread you wrote that people who bought the previous
edition from lulu could get a free copy of the 2nd edition if they sent you
a copy of their receipt. Does that offer still stand?
On Thu, Aug 27, 2009 at 7:24 AM, mdipierro wrote:
>
> Yes this was a mistake.
>
> On Aug
=
auth.settings.login_methods=[ldap_auth(mode='company',
server='yp.company.com',
base_dn='ou=yp,o=company.com')]
==
** I will add a try to catch eventual errors and set it up
I thought the following code would work, but I am not getting any response.
===
if mode == 'company':
# search company ldap database via the e-mail address to figure out the
dn
con.simple_bind_s("", "")
filter = '(mail='+username+')'
Yes. PostgreSQL allows for an SSL connection between the client and the
server. This can be done with psycopg2, for example:
import psycopg2 as database
db = database.connect (host="db.host.com",
sslmode="require",
database="dbname",
user="dbuser",
password="dbpass")
On Sun
I found what appears to be an easier way. I should have thought of it
before. Everything is an object so:
in my controller:
=
def testFunction(a):
return a*a
def index():
return dict(funct=testFunction)
=
in my vie
rking.
On Fri, Aug 21, 2009 at 7:41 AM, Graham Dumpleton <
graham.dumple...@gmail.com> wrote:
>
>
>
> On Aug 20, 5:45 pm, Graham Dumpleton
> wrote:
> > On Aug 20, 12:21 pm, Graham Dumpleton
> > wrote:
> >
> > > On Aug 20, 5:14 am, Don Lee wrote:
quot;/welcome/static" instead
of "/apps/welcome/static/". So I am a lot closer.
On Thu, Aug 20, 2009 at 5:53 AM, Don Lee wrote:
> Can that working configuration be posted to this list?
>
>
> On Wed, Aug 19, 2009 at 10:21 PM, Graham Dumpleton <
> graham.dumple
, Graham Dumpleton <
graham.dumple...@gmail.com> wrote:
>
>
>
> On Aug 20, 5:24 am, Don Lee wrote:
> > Removing "Alias" line causes a different error.
> >
> > ===
> > Service Temporarily Unavailable
> >
> >
Can that working configuration be posted to this list?
On Wed, Aug 19, 2009 at 10:21 PM, Graham Dumpleton <
graham.dumple...@gmail.com> wrote:
>
>
>
> On Aug 20, 5:14 am, Don Lee wrote:
> > I'll try that, but I got that from the web2py_manual. The manual gives
web2py configs, I add an "Option Indexes"
directive to my "Location" stanza. Now I get a directory listing in the
welcome app. Not sure if this is progress.
On Wed, Aug 19, 2009 at 3:24 PM, Don Lee wrote:
> Removing "Alias" line causes a different error.
>
&
Red Hat) configured --
resuming normal operations
[Wed Aug 19 15:23:01 2009] [info] Server built: Jul 14 2009 06:02:39
[Wed Aug 19 15:23:10 2009] [error] [client xx.xx.xx.xx] Directory index
forbidden by Options directive:
/usr/local/web2py/current/applications/welcome/
===
On
Can someone post a working apache config for rhel/centos5 ?
On Wed, Aug 19, 2009 at 2:01 PM, Fran wrote:
>
> On Aug 19, 5:08 pm, Don Lee wrote:
> > Alias /apps "/usr/local/web2py/current/applications"
>
> Try removing the line above
>
> > WSGIScriptA
I'll try that, but I got that from the web2py_manual. The manual gives an
example of a virtual host configuration, so I've tried to adapt that by
taking out the things I feel are related to virtual hosts.
On Wed, Aug 19, 2009 at 2:01 PM, Fran wrote:
>
> On Aug 19, 5:08 pm
; does not have correct permissions for your web2py installation.
>
> There are a couple of ways to address this, depending on if you have sudo
> or root access (e.g. if it's your own server, or if you just have an
> account).
>
>
> On Wed, Aug 19, 2009 at 11:08 AM, Don
I am trying to deploy my app on a CentOS 5.3 server running apache. I get
an error message whenever I try to access the apps.
==
Forbidden
You don't have permission to access /apps/ on this server.
==
I have python2.6.2 installed
; everything in the folder databases/.
>
> Massimo
>
> On Aug 11, 10:41 am, Don Lee wrote:
> > Thanks, that got rid of my problem with a false value for the boolean.
> >
> >
> > # coding: utf
Thanks, that got rid of my problem with a false value for the boolean.
# coding: utf8
# define a SQLite database
database=SQLDB("sqlite://database.db")
# create a vendor table
database.define_table('vendor',
database.Field('
26 matches
Mail list logo