Thanks!
It seems ok!!
hope it will be corrected soon in the official version, as it should be
considered as a serious security bug.
Il giorno lun 25 mag 2020 alle ore 06:29 egamarro dpu <
egamarro@gmail.com> ha scritto:
>
>I'm pretty sure Fred found the right line to fix this. Buildin
Would be nice to have autofocus to the first filed of all SQLFORM by
default too...
(Off topic annoyance: appadmin's "DB new record" form doesn't use
> autofocus, and I feel it *should* take you to the first field.)
>
> /dps
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (D
found the solutions:
in* auth.extra_fields* there are some tables that are reference to other
tables.
so I moved this settings and the
auth.define_tables(username=False, signature=False)
at the bottom. Seems that resolved all the troubles.
2018-02-09 13:42 GMT+01:00 Marvi Benedet :
>
s/fields
on the db is matching what is defined in the web2py model?
After some tests with "fake_migrate" It's easy to loose the match..
Thanks!
2018-02-08 16:55 GMT+01:00 Marvi Benedet :
> Yes, It worked!
>
> thanks!
>
> 2018-02-07 17:14 GMT+01:00 Leonel Câmara
Yes, It worked!
thanks!
2018-02-07 17:14 GMT+01:00 Leonel Câmara :
> This is sort of a bug, but one that is probably kept for backwards
> compatibility reasons.
>
> You can make your example code work by doing this:
>
> auth = Auth(db, host_names=configuration.get('host.names'), signature=
> Fal
hello,
I tried the code on bottom, where I changed the default auth_user table
name and I used the "auth.signature' feature, but I get an error:
‘*Cannot resolve reference auth_user in tests definition*’
this happen only when a table contain "auth.signature".
Debuggin a bit I found that when run
Just tried now, and it works perfectly! really many thanks for the support!!
Didn't know that db().select(...) construction is discouraged.
Marvi
2017-10-02 16:21 GMT+02:00 Anthony :
> On Monday, September 11, 2017 at 5:43:30 AM UTC-4, Marvix wrote:
>>
>> Found that was already discussed some y
When I was looking for an easy to learn framework for building a web
application, I tried some: Django, Flask, Pyramid and so on. As I had very
limited time to invest, I found that the one that was best explained was
web2py.
I saw the Massimo's videos and all was so easy and clear. I wasn't expert
Really no solutions to this?
2017-09-11 11:43 GMT+02:00 Marvix :
> Found that was already discussed some years ago, but I think isn't resolved
>
>
> https://groups.google.com/forum/#!topic/web2py/WY2U54uoTno
>
>
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
Hello,
I'm writing a multi-tenant app.
All tables have a domain field which is used to distinguish beetween
different organizations.
They all have a "common_filter = lambda query:
db..domain==session.domain" parameter.
All is working fine, except when I'm trying to use a left join query,
in this
https://docs.python.org/2/library/functions.html#any
def any(iterable):
for element in iterable:
if element:
return True
return False
so any() return true if one (or more) of the elements is True.
this:
auth.has_membership(role) for role in list_of_roles
try all th
tried this?
requires=IS_EMPTY_OR(IS_IN_SET(...))
2017-04-10 14:07 GMT+02:00 Karoly Kantor :
> I have a picklist type of field where the user selects from a set of
> predefined values. I am using IS_IN_SET(list_of_values) in the Field
> constructor.
> The form cannot be saved unless a value is sel
I think the message is misleading...
2017-02-10 13:09 GMT+01:00 Leonel Câmara :
> I don't see the problem. Appadmin only checks that the insert form is
> accepted which it is.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2
Sorry for the delay, I was busy on other tasks.
I tried and works like a charm!
Many thanks!
2016-11-24 2:35 GMT+01:00 Anthony :
> On Wednesday, November 23, 2016 at 8:20:48 AM UTC-5, Marvix wrote:
>>
>> so, is there a way to disable the password validator in the login form
>> without modify w
so, is there a way to disable the password validator in the login form
without modify web2py core files?
2016-11-22 14:36 GMT+01:00 Anthony :
> def user():
> if request.args(0) == 'login':
> custom_auth_table.password.requires.pop(0)
> return dict(form=auth())
>
> The default pas
Ok. Thanks!
Good to know that doesn't exist something ready.
Will try to find the time to study LDAP and the rest!
Bye, Marvi
2016-08-23 15:58 GMT+02:00 Richard Vézina :
> For checking if user exist in LDAP you will need to write your own logic
> and query LDAP... For creating the user you ha
Hello to all.
I tried LDAP authentication and all work flawless.
As an user logs in, the relative user entry is created in the web2py user
table. That's great.
But sometimes it would be usefull to have the user in the table before his
first login.
So, would be great for some user, says an admini
Ok, thanks to the suggestions. I'll give a try!
2016-06-27 23:15 GMT+02:00 Limedrop :
> The function you are looking for is CRYPT. You could but something like
> this in an on_validation function:
>
> if auth.user.password == CRYPT()(request.vars.new_password)[0]:
>
ormat".
>
> Anthony
>
> On Friday, November 6, 2015 at 8:31:26 PM UTC-5, Marvi Benedet wrote:
>>
>> Very similar problem, but with an important difference: the referencing
>> table is the "user" table, an extension of it actually...
>> So I don'
Very similar problem, but with an important difference: the referencing
table is the "user" table, an extension of it actually...
So I don't know how to resolve.
by the way, the behaviour is a little randomic: it works for some fields
but not for others.
At the moment "dipartimenti" is working
20 matches
Mail list logo