using direct ldap class I am able to log in using the following settings
login = 'n...@domain.com'
PWD = 'password'
server = 'ldap://localhost'
l = ldap.initialize(server)
l.set_option(ldap.OPT_REFERRALS, 0)
l.protocol_version = 3
l.simple_bind_s(login, PWD):
I really can't get it working with
Just make Latest python2.4 compatible web2py_src.zip
What something new, upgrade python, hosting or something else.
If not, use lastest web2py_src for 2.4
Reasonable?
On 5 фев, 02:37, Massimo Di Pierro massimo.dipie...@gmail.com wrote:
@web2py-developers we have discussing the possibility of
I´ve got an Application wich makes (url)callbacks to my web2py app and
All these webhooks have a Cookie: header with a value identical to
the browser that caused the request to be initiated.
For for example it calls the web2py Controller with this Cookie:
header:
Cookie:
web2py is the first framework i actually enjoy using. :) .. been
advocating it to everyone i meet these days. I sincerely thank the
entire web2py community for everything.
I have been developing a small web2py application for intranet use at
the place where i work. During development i used
You can add a fixtures file, which basically contains default data to
be inserted when the table is created.
An example is given here:
http://thadeusb.com/weblog/2010/4/21/using_fixtures_in_web2py
On Feb 10, 3:57 pm, Sascha Peilicke sasc...@gmx.de wrote:
Hi guys,
I'd like to know how to best
hi,
i'm just starting to learn web2py and i'm worndering what i'm doing wrong
here:
my db.py contains:
import datetime
now=datetime.date.today()
db=SQLDB('mysql://cookbook:cookbook@127.0.0.1/cookbook')
db.define_table('category',
Field('name',length=32))
*THIS*:
db.recipe.category.requires=[IS_IN_DB(db, db.category.id, db.category.name)]
Will give you text box with auto complete widget.
*THIS*:
db.recipe.category.requires=IS_IN_DB(db, db.category.id, db.category.name)
Will give you dropdown widget
Just a matter of [ ]
We have a small problem in the use of IS_IN_DB. Only you can use this, and
if
want to use a IS_NOT_EMPTY for example, does not display the dropdown list.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
I'm using OAuth/LinkedIn on GAE.
To get oauth/LinkedIn to run on dev_appserver/GAE I had to copy
directory oauth2 from web2py/site-packages to web2py/gluon/contrib and
httplib2 from site-packages to web2py/gluon/contrib/oauth2
Then in oauth10a_account.py change import oauth2 as oauth to import
In Alpha stage, but promising:
http://jquerymobile.com/
2011/2/11 mikech mp.ch...@gmail.com:
Sadly only on Apple at the moment
Thanks for your comments.
WHen you need urllib, and web2py.python makes outbound connections you
should not need a proxy server or any proxy configuration as far as I
can tell (and I am not sure about your setup). This looks more of a
firewall issue.
On Feb 11, 5:19 am, whowhywhat
you can have
requires=IS_IN_DB(,_and=IS_NOT_IN_DB(...))
and/or
requires=IS_IN_DB(db(condition),)
Mind that the example in the cookbook 3 years old.
It works but now you do not all those validators. They are set by
default:
import datetime
now=datetime.date.today()
Thanks for the information I will try it out
On Feb 10, 6:16 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Now I understand. These are plugins, not apps. You need an existing
app and apply them from the design page of the existing app as plugins
(form is at the bottom).
They do not
Hi,
I got a query to integrate BullHorn (Staffing solution) (http://bullhorn.com)
and VerticalResponse (Email-Marketing) (http://www.verticalresponse.com/)
together into their existing application.
On investigating I found out that, both uses soap services.
How do you recommend me to consume
It worked i created then applied the theme as a plugin. In the
documentation where is a tutorial in creating your own theme. Thanks
for all the help
On Feb 10, 6:16 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Now I understand. These are plugins, not apps. You need an existing
app
2011/2/11 Massimo Di Pierro massimo.dipie...@gmail.com
you can have
requires=IS_IN_DB(,_and=IS_NOT_IN_DB(...))
The above is a new syntax for me, is it on the book or somewhere?
On Friday, February 11, 2011 9:50:32 AM UTC-5, rochacbruno wrote:
2011/2/11 Massimo Di Pierro massimo@gmail.com
you can have
requires=IS_IN_DB(,_and=IS_NOT_IN_DB(...))
The above is a new syntax for me, is it on the book or somewhere?
Yes, in the IS_IN_DB section here:
I tried following in ipython at the second statement ipython just hanged. So
I'm a bit tensed..
Am I doing something wrong.
from gluon.contrib.pysimplesoap.client import SoapClient, SoapFault
client =
SoapClient(wsdl=https://api.bullhornstaffing.com/webservices-1.1/?wsdl;)
2011/2/11 Anthony abasta...@gmail.com
On Friday, February 11, 2011 9:50:32 AM UTC-5, rochacbruno wrote:
2011/2/11 Massimo Di Pierro massimo@gmail.com
you can have
requires=IS_IN_DB(,_and=IS_NOT_IN_DB(...))
The above is a new syntax for me, is it on the book or somewhere?
Hi,
how can I select records of a table that got 2 date fields (one datetime
and a simple date) wich difference is a fixed value?
I thought this solution:
import datetime
today=datetime.datetime.today()
yesterday = today.date() - datetime.timedelta(days=1)
db.define_table('mytab',
...
BTW why does the callbacks with the cookie header not work with web2py
just like that? Is this some kind of Security Feature of web2py?
Thanks in advance.
Dieter Asman
On 11 Feb., 13:02, AsmanCom d.as...@web.de wrote:
I´ve got an Application wich makes (url)callbacks to my web2py app and
All
A json template system :
https://github.com/ruidlopes/minimal.js
Definite win 4 web2py.
Hi,
A potential client requires a complete ERP system (with POS, Inventory, CRM,
etc., preferably multi-lingual with Spanish as a must, and to be installed
in Mexico), which I would love to implement with web2py, but unfortunately
his need is immediate (and requires something already proven),
My 4-year-old daughter has been practicing her writing recently. Yesterday,
she handed this to me (she must have found the book on my desk and copied
the title). Apparently web2py makes her think of hearts and flowers, as it
does for most people. :)
Anthony
attachment: new_web2py_logo.png
Hi,
I'm loosing a lot of time trying to generate a categories menu from
database, but my lack of experience in python seems to be yet too
much.
The respective error ticket says:
AttributeError: 'tuple' object has no attribute 'append'
How can I list.append((newitem,False,link)) inside a
sweet :)
On Fri, Feb 11, 2011 at 6:36 PM, Anthony abasta...@gmail.com wrote:
My 4-year-old daughter has been practicing her writing recently. Yesterday,
she handed this to me (she must have found the book on my desk and copied
the title). Apparently web2py makes her think of hearts and
Can you just read the cookie and match it to a session? Do these callbacks
occur quickly enough that the session has not expired? I don't know exactly
how sessions work but I could imagine there's be problems using sessions
with callbacks since the callback is not technically logged in (it has
Greetings,
web2py I mention that I use in my work.
and we have a proxy that we restrict the output
by user name and password
I have solved the problem properly configuring the proxy on the computer
where I have installed debian web2py
nano /etc/profile
adding the following lines:
export
2011/2/11 Manuele Pesenti manuele.pese...@gmail.com:
(...)
TypeError: float() argument must be a string or a number
Thank you very much for any help.
Manuele
where/why is the/a float argument?
replace (...) with [...] in
list=[(name,False,link,[newitem,False,link])] to make the respective
...
catree[-1].append((supercat.nombre,False,'link'))
list=[[name,False,link,[newitem,False,link]]] to make the respective
...
catree[-1].append([supercat.nombre,False,'link'])
On
Printing and hanging on wall!
On Feb 11, 11:36 am, Anthony abasta...@gmail.com wrote:
My 4-year-old daughter has been practicing her writing recently. Yesterday,
she handed this to me (she must have found the book on my desk and copied
the title). Apparently web2py makes her think of hearts
I forgot.
if you need to specify username and password
then the structure would be something.
export http_proxy = http://username:password@proxy:port/
export https_proxy = http://username:password@proxy:port /
export ftp_proxy = http://username:password@proxy:port /
2011/2/11 Luis Díaz
db(db.mytab.date1-db.mytab.date1 ==
datetime.timedelta(days=2).select()
must be
db(db.mytab.date1 == db.mytab.date1 +
datetime.timedelta(days=2).select()
a query has the form field = expression. You cannot have the
expression on the left-hand side.
I cannot exclude something else is also
Extjs and Sencha just seem more complete UI element wise. Their table
tools seem very powerful. It is pricey, but for business applications this
shouldn't be a problem.
This bullhornstaffing webservice is a very complex one, it import many
schemas so the library has to fetch many URL, and this can take quite
a while.
You can see what is happening using trace=True (and enabling wsdl
caching to prevent fetching them each time):
client =
On Feb 10, 2011, at 5:16 PM, Plumo wrote:
so let's say I have mapped /init/default/about to /about
Then: URL(r=request, c='default', f='about', anchor='company')
will produce: /init/default/about#company
instead of: /about#company
OK, I have some more information on this.
With the regex
I changed it as you say but now gives me:
ValueError: need more than 1 value to unpack
CONTROLLER
==
def catree():
# query
supercategorias =
On Feb 12, 1:53 am, mikech mp.ch...@gmail.com wrote:
Extjs and Sencha just seem more complete UI element wise. Their table
tools seem very powerful. It is pricey, but for business applications this
shouldn't be a problem.
Another mobile framework is http://joapp.com/
On Feb 11, 7:36 pm, Anthony abasta...@gmail.com wrote:
My 4-year-old daughter has been practicing her writing recently.
lol!
What is the status, I would like to test it
On Jan 31, 4:19 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
g...
I can port it to the new one. Can you help with testing?
On Jan 31, 3:04 am, elffikk elff...@gmail.com wrote:
hi Massimo,
I think this is due to a list of
Based on your criteria listed in your original post, the answer is
easy - http://www.xtuple.com/
You can interface with the database that xTuple uses (postgresql) from
any language. So you can extend xTuple using any set of tools you
want.
Don't bite off more than you can chew though...ERPs are
Hi, your solution worked.
Before I was clueless about what's happening and terminated the process in
between.
It takes minutes upon minutes to finish.
I've a doubt, it's not that pressing, but curious.
I've no access to server side implementation, all I know is location of this
wsdl file (I've
Oh, I forgot to Thank you,
Thank you very much for the tip. It saved my day. :)
Hello!
During the past months I'm using a lot web2py.
I've been asking a few questions here in this group and I've received
help from people all around the world. Sometimes I really felt like I
should give back something to those kind souls..
So that's why in the past 2 days I've created
Cool site. Have you looked at http://beta.qa-stack.com/ -- it's also a
web2py-based QA app (open source code)?
On Friday, February 11, 2011 2:45:52 PM UTC-5, Francisco Costa wrote:
Hello!
During the past months I'm using a lot web2py.
I've been asking a few questions here in this group and
Where can qa-stack be downloaded?
I am adding authentication and limitations to an app. Consider two
tables:
db_define_table('detail',
, Field('detail_item', type='string',label=T('Item'))
, FIeld('owner_id', db.auth_user, readable=False, writable=False)
)
I have a controller that includes a method to list all records
I'm interested in having a look at the code. Thanks.
I am trying to apply the plugin_wiki to a test application i created
in the wizard but when i go to preview the site it doesn't look like
the limey green look why is that.
please post the complete traceback.
On Feb 11, 12:08 pm, w2padawan web2py.n...@gmail.com wrote:
I changed it as you say but now gives me:
ValueError: need more than 1 value to unpack
CONTROLLER
==
def catree():
# query
I'm not sure what you would mean whit 'the limey green', but if you want to
access the plugin_wiki once installed, you should go to
http://URL/YourApp/plugin_wiki .
On Fri, Feb 11, 2011 at 10:27 PM, stargate kyoukh...@gmail.com wrote:
I am trying to apply the plugin_wiki to a test application i
Yes, it does seem strange to have 'modified_on','updated_by'. They
should be the same.
In the plugin_wiki it is modified_on, modified_by -- at least that's
consistent.
On Feb 11, 12:29 am, Vinicius Assef vinicius...@gmail.com wrote:
If you have 'created_on' and 'created_by', what about
Cannot. Still in beta.
On 11 Feb 2011 21:53, pbreit pbreitenb...@gmail.com wrote:
Where can qa-stack be downloaded?
Something quick for you to try...
1. Make sure your owner_id field has a user_id saved in there. Take a
look through the admin.
2. You may wish to add this to the field definition so it will save
your logged in user: default=auth.user_id
Field('owner_id', db.auth_user,default=auth.user_id,
I'm having trouble as well figuring out the best way to do this. It is core
to ever app I contemplate building but doesn't seem to be spelled out in the
docs. Pretty much every web site I know of personalizes web pages based on
who is logged in.
I noticed that for each user, a db.auth_group is
The individual auth_group can be used for giving permissions to that
individual user.
The main idea is to save yourself some work. Instead of giving every
individual person their own permissions, divide your users into
groups. Once you have all your users in groups, it becomes more
manageable
The Instant-press application is a great application to take a look at
for a number of reasons. In addition you will find an example of
populating a table with default values.
http://code.google.com/p/instant-press/
Chris
On Feb 10, 4:57 pm, Sascha Peilicke sasc...@gmx.de wrote:
Hi guys,
I'm really stuck here, would greatly appreciate any help.
Is there a way to check or test if the DAL is communicating with the
ldap ad host? It seems like no matter what settings I used to the
server and base_dn, even ones that are obviously wrong, I am only
getting the same invalid login error.
The green theme is from a previous version of web2py (pre 1.89?) If
you really want it, Chris Steel uploaded a plugin (http://
groups.google.com/group/web2py/msg/954dfcfd1adeb440) that will restore
it.
The plugin_wiki just adds functionality to your app without visually
altering it. It adds a new
No difference
On Feb 11, 7:30 pm, Panupat panup...@gmail.com wrote:
I'm really stuck here, would greatly appreciate any help.
Is there a way to check or test if the DAL is communicating with the
ldap ad host? It seems like no matter what settings I used to the
server and base_dn, even ones
I get the concept of groups which is why I was confused that web2py auth
creates a auth_group.role for each individual user (user_1, user_2 and so
on).
In all of my apps I have just one class of users. Sometimes, only the
created_by can view an item. And usually, only the create_by can edit an
Are you running behind apache?
On Feb 10, 4:43 pm, Nico nikola.cvrtn...@gmail.com wrote:
Hey peeps !
I have simple question Since web2py doesnt need any installation
and i want to run it on my shared host... how can i set it up...
I contacted my host, they moved my acc on another
I just read about Rails vulnerability, just thinking if we are protected
against the same kind of thing?
http://lists.webappsec.org/pipermail/websecurity_lists.webappsec.org/2011-February/007533.html
I want using the data below, generate a table:
header=['roll', 'name', 'absent']
data=[['1', ''], ['2', ''], ['3', ''], ['4', '']]
table width=200 border=1
tr
th scope=colRoll/th
th scope=colName/th
th scope=colpAbsent/p
p
label(
input type=checkbox name=absentall id=absentall
Thanks for the quick replies.
As Luis mentions i have used export http_proxy (but in /etc/
environment and in the startup script of cherokee). I will try
defining in /etc/profile
i did some further testing by launching web2py with its own web
server.
by running python web2py.py -c server.crt -k
On Feb 10, 2011, at 6:19 AM, Massimo Di Pierro wrote:
I offer $300 to whoever can identify within 3 weeks and without
ambiguity the cause of this problem. The bounty applies even if the
problem turns out to be not in web2py but in one of the Python
modules, in Apache or in the mod_wsgi
On Saturday, February 12, 2011 1:03:48 AM UTC-5, Jonathan Lundell wrote:
On Feb 10, 2011, at 6:19 AM, Massimo Di Pierro wrote:
I offer $300 to whoever can identify within 3 weeks and without
ambiguity the cause of this problem. The bounty applies even if the
problem turns out to be not
How
On 2월12일, 오전2시36분, Anthony abasta...@gmail.com wrote:
My 4-year-old daughter has been practicing her writing recently. Yesterday,
she handed this to me (she must have found the book on my desk and copied
the title). Apparently web2py makes her think of hearts and flowers, as it
does for
How sweet:)
On 2월12일, 오전2시36분, Anthony abasta...@gmail.com wrote:
My 4-year-old daughter has been practicing her writing recently. Yesterday,
she handed this to me (she must have found the book on my desk and copied
the title). Apparently web2py makes her think of hearts and flowers, as it
69 matches
Mail list logo