About a million years ago, when I did DB2 programming, we used DECIMAL
a lot. Anything that handled money was a DECIMAL value. We also did
calculations on columns, like SUM(). I think it is worthwhile pursuing
a solution for the DAL in web2py, as we used it a lot for anything
financial. In fact
Hello!
> You must create your own widget do to this. If I have time I will post
> an example.
I have just seen that DenesL was faced with the same problem:
http://groups.google.com/group/web2py/msg/089cee9b4fdf11b3
What happened to his patch in:
http://groups.google.com/group/web2py/msg/44cc5a605
Massimo, It happens on the mac version too.
Regards
On 25 mayo, 04:54, mdipierro wrote:
> Yes, this is a known problem with the windows version. I will fix it
> asap.
>
> Massimo
>
> On May 24, 9:40 pm, Yannick wrote:
>
>
>
> > Sorry maybe I don't understand but did you downloaded it from
> >
Thanks you all, I download trunk again, and it's OK now. :)
On 5月23日, 下午8時59分, mdipierro wrote:
> I know what the problem is. I think I fixed it. Please download trunk
> again.
>
> On May 23, 2:11 am, Yarko Tymciurak wrote:
>
> > It appears right there in the svn
> > sources:http://code.google
On May 25, 2:21 am, mdipierro wrote:
> send. thanks Alexey, sorry if I am slow to keep up with your patches.
>
> On May 24, 10:41 am, Alexey Nezhdanov wrote:
>
> > Please see the patch attached. Tested with IE6, I don't have any others
> > under
> > the hand, but deciding on what I've found o
So, Massimo do you have any idea how to solve that problem? ;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe
Not yet. I have 3 major patches to process. I expect they will take me
a week. I also thing more and more we need to refactor DAL to
accommodate some of the recent requests. Probably this problem will be
easier to tackle with a new DAL.
Massimo
On May 25, 8:29 am, mika wrote:
> So, Massimo do
you are right. it was just an example
On May 25, 12:45 am, Alexey Nezhdanov wrote:
> I think that's handy. Dropping cross-db compartibility is bad indeed,
> but you just need to have a big warning in the place where user have
> to make that choice.
>
> Also - I don't think that you can safely re
http://groups.google.com/group/web2py/browse_thread/thread/13d9e9fd7334b679
On May 25, 4:35 am, Joe Barnhart wrote:
> About a million years ago, when I did DB2 programming, we used DECIMAL
> a lot. Anything that handled money was a DECIMAL value. We also did
> calculations on columns, like SU
Let me think about adding this:
db.mytest.person.requires=IS_NULL_OR(IS_ALPHANUMERIC(), IS_IN_DB
(db,'dogs.dog_name',
'%
(dog_name)s'))
In general I am against a proliferation of validators. This is because
everybody has flightly di
I posted 1.63. This problem should go away.
On May 25, 5:14 am, salbefe wrote:
> Massimo, It happens on the mac version too.
>
> Regards
>
> On 25 mayo, 04:54, mdipierro wrote:
>
> > Yes, this is a known problem with the windows version. I will fix it
> > asap.
>
> > Massimo
>
> > On May 24, 9:
Alexey,
this break web2py ability to redirect tickets to custom pages via
routes.
in principle one just need to change 200 into 500 ino
check_error_route
Can you point me to any documentation that talks about the size of
text in the error page and IE, because I do not have a windows machine
han
Hi Timmie,
the IS_IN_SET_OR validator code could be used in your situation but it
would limit the range of possible values, i.e. it is not as open ended
as you want:
But what do I do if I want to give the users the option to
1) select from previous entries OR
2) add new data like:
> >
> > V
I found the reference so the fix is in trunk.
Can a windows user please check if tickets still work and return 500
properly?
Massimo
On May 25, 9:40 am, mdipierro wrote:
> Alexey,
>
> this break web2py ability to redirect tickets to custom pages via
> routes.
>
> in principle one just need to c
> > Any chance that I can do
>
> > db.mytest.person.requires=IS_NULL_OR(IS_ALPHANUMERIC(), IS_IN_DB(db,
> > 'dogs.dog_name',
> > '%
> > (dog_name)s'))
>
> > where IS_IN_DB could also be IS_IN_SET.
>
> Not currently, IS_NULL_OR has two
I'm facing issues when a 'next version' of an application is moved
from one system (like development system) to another one. The unique
string in the begin of the .table files of the auth tables is making
troubles.
I think what happens is that on the new system the app gets a new
unique string, fi
First, thanks for you both to follow up!
> db.mytest.person.requires=[IS_ALPHANUMERIC(),IS_NULL_OR(IS_IN_DB
> (db,'dogs.dog_name', (dog_name)s'))]
>
> and I believe this is equivalent to what you want, except that it will
> not display the dropbox without creating a custom widget to handle it.
Wel
people let IE6 die!
http://ie6update.com/
it is its time RIP...
On Mon, May 25, 2009 at 4:49 PM, mdipierro wrote:
>
> I found the reference so the fix is in trunk.
> Can a windows user please check if tickets still work and return 500
> properly?
>
> Massimo
>
> On May 25, 9:40 am, mdipierro
The following admin functions do not work behind a proxy working on a
local machine:
* read tweets
* check updates
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this grou
I believe this is where configuration could help us. The user knows
what browser uses, and it's very likely not to be IE6, specially if he
is on Linux or Mac OS. Set the less intrusive convention but give
option to the user to decide how it should behave.
On May 25, 5:26 pm, Boris Manojlovic
wro
An FYI for anyone experimenting with jDivLoad ...
If you deploy a web2py app using jDivLoad to Google App Engine (this
does not happen in the SDK), you may receive 411 errors when those
jDiv's attempt to load while using Firefox (this issue is not
necessarily isolated to just GAE).
The jDivLoad
Can I save a formula in it?
2009/5/25 mdipierro
>
> you are right. it was just an example
>
> On May 25, 12:45 am, Alexey Nezhdanov wrote:
> > I think that's handy. Dropping cross-db compartibility is bad indeed,
> > but you just need to have a big warning in the place where user have
> > to ma
FYI - you can attach small files and images if you _mail_ to
web2py@googlegroups.com with the subject being the thread topic... or reply
to a mailed thread.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web
yes... that's a "security feature" ;-)
I know I don't want web2py going outside my intranet unless I intentionally
enable it.
For example, I might enable tweets to use a proxy, but not updates... if it
were available...
On Mon, May 25, 2009 at 11:28 AM, Timmie wrote:
>
> The following admin fu
Great, thanks for this.
I'm interested in seeing how you mimic ListProperty in a relational
database, Massimo. My gut says it doesn't belong, because it breaks
down normalization and/or it just seems like a proxied data type in a
relational database. Not sure how I feel about it since it seems li
> I know I don't want web2py going outside my intranet unless I
> intentionally enable it.
See your point.
But how do you enable it? It will get overwritten each time an upgrade
is performed.
There is no security issue with retrieving a RSS feed...
--~--~-~--~~~---
On Mon, May 25, 2009 at 4:04 PM, Tim Michelsen
wrote:
>
> > I know I don't want web2py going outside my intranet unless I
> > intentionally enable it.
> See your point.
> But how do you enable it? It will get overwritten each time an upgrade
> is performed.
>
> There is no security issue with retr
It is not in the manual.
give this:
db.mytest.person.requires=[IS_ALPHANUMERIC(),IS_NULL_OR(IS_IN_DB
(db,'dogs.dog_name', (dog_name)s'))]
you can do
class OptionsWidget:
@staticmethod
def has_options(field):
return hasattr(field.requires, 'options')\
or isinstance
The ID6 docs say the error is not shown only if the size if less than
512 bytes.
I think the latest trunk is fine. we just need to test it.
On May 25, 12:08 pm, Francisco Gama wrote:
> I believe this is where configuration could help us. The user knows
> what browser uses, and it's very likely n
formula?
On May 25, 1:16 pm, BearXu wrote:
> Can I save a formula in it?
>
> 2009/5/25 mdipierro
>
>
>
> > you are right. it was just an example
>
> > On May 25, 12:45 am, Alexey Nezhdanov wrote:
> > > I think that's handy. Dropping cross-db compartibility is bad indeed,
> > > but you just nee
instead of migrate=True, use migrate="myjunktablefile.table" and
rename the [UUID].table as "myjunktablefile.table". This way you will
not have migration issues.
Massimo
On May 25, 11:05 am, Hans
wrote:
> I'm facing issues when a 'next version' of an application is moved
> from one system (like
Hello
Can anyone show me a custom auth example with users registration
turned off or only for admin user? Thanks a lot:)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this gr
can we design a custom column that can save a function in it?
Thus the customer can create or modify their own function
to manipulate other data in the database.
So such kind of field saves the code instead of the value.
2009/5/25 mdipierro
>
> formula?
>
> On May 25, 1:16 pm, BearXu wrote:
>
After "playing" a while with web2py, i think i've found a very
interesting platform for solid and rapid web applications. But i have
to
port existing applications to web2py. I want to keep the authorisation
process for the users of these applications, wich is done by:
Login: XX
Password: Y
Hello Captainy,
I believe you don't have to rewrite the gluon.tools module, it depends
also of your design, you can re-use the Auth class inside the tools
module, import it and call the Login() method if you are only
interested to the login process...
Does it help ? If not please provide more in
This is not identical to your request, but if you can accept "app
developer (you) create your own function, user submit data", you can
try the accepts(...,onvalidation=callback)
By the way, what is your circumstance which need user to create a
function to manipulate data in db? Sounds vulnerable.
auth.settings.actions_disabled.append('register')
On May 25, 6:29 pm, virhilo wrote:
> Hello
> Can anyone show me a custom auth example with users registration
> turned off or only for admin user? Thanks a lot:)
--~--~-~--~~~---~--~~
You received this message beca
I think you need to tell us more about the current process and whether
you want to keep the process, the data, and/or the current
implementation of the process.
Massimo
On May 25, 6:20 pm, captainy wrote:
> After "playing" a while with web2py, i think i've found a very
> interesting platform fo
Hello Massimo,
Thanks for your note but unfortunately I still have the same error
message even after making the change you proposed
Here is the change i made:
settingform = form_factory(SQLField('firstname',label='First Name',
requires=IS_NOT_EMPTY(),default=default_firstname),
IE6 is irrelevant. IE7 have this bug too and IE8 probably.
So this link is of no help.
On Monday 25 May 2009 20:26:54 Boris Manojlovic wrote:
> people let IE6 die!
>
> http://ie6update.com/
>
> it is its time RIP...
>
> On Mon, May 25, 2009 at 4:49 PM, mdipierro wrote:
> > I found the reference
please email me your code although I cannot promise I will have time
within the next 2 days.
Massimo
On May 25, 9:10 pm, Yannick wrote:
> Hello Massimo,
> Thanks for your note but unfortunately I still have the same error
> message even after making the change you proposed
> Here is the cha
When you say bug. Do you mean that the ticket with erro 500 still does
not display, even if longer than 512 bytes?
Massimo
On May 25, 10:08 pm, Alexey Nezhdanov wrote:
> IE6 is irrelevant. IE7 have this bug too and IE8 probably.
> So this link is of no help.
>
> On Monday 25 May 2009 20:26:54 B
No, merely that IE doesn't display them unless they are longer than some
number of bytes.
On Tuesday 26 May 2009 07:52:21 mdipierro wrote:
> When you say bug. Do you mean that the ticket with erro 500 still does
> not display, even if longer than 512 bytes?
>
> Massimo
>
> On May 25, 10:08 pm, A
Hello,
I'm trying to build something similar to the flatpage application in
django, that is an app that maps a simple content to an arbitrary url.
To do so I have to trap 400 and 404 errors and then see if a content
is attached to this url. If so, display it, if not, raise the error
again.
How c
Agree with Joe, on the need to store decimal in the database. I may be
biaised because I have used Sqlalchemy before.
I suppose we should be able to find inspiration from Sqlalchemy code
for decimal...
Please let me know how I can help.
--~--~-~--~~~---~--~~
You r
There may be an easier to implement Django flatpages in web2py but if
you need to trap error codes, look into
web2py/routes.examples.py
Massimo
On May 26, 12:51 am, desfrenes wrote:
> Hello,
>
> I'm trying to build something similar to the flatpage application in
> django, that is an app that
46 matches
Mail list logo