[web2py] Re: web2py 1.99.3 is OUT

2011-12-13 Thread Jim Karsten
Ok, sounds good. I'll convert the code to use hidden argument explained in 
Chapter 7. Thanks for the explanation, Anthony.


Re: [web2py] Re: web2py 1.99.3 is OUT

2011-12-12 Thread Richard Vézina
Web2py leitmotiv should be :

Web2py : always further...

:)

Richard

On Sun, Dec 11, 2011 at 8:26 PM, Anthony abasta...@gmail.com wrote:

 Massimo, shortly I'll be sending an updated 'examples' that fixes this as
 well as some other issues (courtesy of Chris May). The Bossie Award problem
 is resolved by moving the .announce div outside the statusbar div (perhaps
 it was nested inadvertently).

 Anthony


 On Sunday, December 11, 2011 3:58:00 PM UTC-5, Massimo Di Pierro wrote:

 Does this work?

 .announce { clear:both;position:absolute;**align:center;color:white;top:
 120px;font-weight:bold;text-**align:center;}

 your proposed chance breaks it for me with chrome.

 On Dec 11, 12:11 pm, Jim Gregory bikes...@gmail.com wrote:
  Changing the announce class specification on line 13 in examples.css
  from :
 
  .announce { position:absolute;align:**center;color:white;top:120px;**
 font-
  weight:bold;text-align:center;**}
 
  to:
  .announce {clear:both;color:white;top:**120px;font-weight:bold;text-
  align:center;}
 
  takes care of the problem for me.
 
  -Jim
 
  On Dec 10, 6:02 pm, Stefan Scholl ste...@no-spoon.de wrote:
 
 
 
 
 
 
 
   Massimo Di Pierro massimo@gmail.com wrote:
 
The new web site layout needs work but we put it out there hoping
 for
more feedback.
 
   The announcement 2011 BOSSIE AWARD FOR OPEN SOURCE DEVELOPMENT
   SOFTWARE is cut off and too far on the right in Firefox 9.0 Beta
   on Mac OS X 10.6.
 
   Haven't found a good solution, but if you add a br clear=all /
   before the announce DIV, the text is centered again.




[web2py] Re: web2py 1.99.3 is OUT

2011-12-12 Thread Jim Karsten
SQLFORM.factory hidden fields are not working the same in 1.99.3 as in 
1.99.2. Here is a simple example 
form = SQLFORM.factory( 
Field('text_field'), 
Field('hidden_field', type='hidden', default='test'),) 

The hidden field is not hidden. Here is the html produced. The first is 
from 1.99.2, the second 1.99.3. 

input id=no_table_hidden_field class=hidden type=text value=test 
name=hidden_field style=display: none; 
input id=no_table_hidden_field class=string type=text value=test 
name=hidden_field 

If I use readable=False, writable=False, the field is hidden from the 
display but then no input is created for it. I have javascript code 
accessing the hidden input value. I can probably work around the problem 
using this syntax. 

form = SQLFORM.factory( 
Field('text_field'), 
hidden={'hidden_field': 'test'}) 

However, the input produced has no id or class attribute which I was using. 

input value=test name=hidden_field type=hidden 

Is what I'm seeing a bug or was the Field(... type='hidden'...) syntax 
never intended to work? 

[web2py] Re: web2py 1.99.3 is OUT

2011-12-12 Thread Anthony
I'm guessing that was never supposed to work. I think the 'type' argument 
to Field() is only supposed to take one of the DAL's pre-defined types. In 
the past this worked because without specifying a widget or one of the 
recognized field types, the field was given the string widget by default, 
and the string widget previously didn't assign a specific class, so just 
adopted the field's 'type' as the class. In 1.99.3, the string widget 
explicitly assigns a class=string, so now ignores the field's 'type'.

If you want to add hidden fields, you're supposed to do so via the 'hidden' 
argument -- see the end of this 
section: http://web2py.com/book/default/chapter/07#SQLFORM

Anthony

On Monday, December 12, 2011 8:21:42 PM UTC-5, Jim Karsten wrote:

 SQLFORM.factory hidden fields are not working the same in 1.99.3 as in 
 1.99.2. Here is a simple example 
 form = SQLFORM.factory( 
 Field('text_field'), 
 Field('hidden_field', type='hidden', default='test'),) 

 The hidden field is not hidden. Here is the html produced. The first is 
 from 1.99.2, the second 1.99.3. 

 input id=no_table_hidden_field class=hidden type=text value=test 
 name=hidden_field style=display: none; 
 input id=no_table_hidden_field class=string type=text value=test 
 name=hidden_field 

 If I use readable=False, writable=False, the field is hidden from the 
 display but then no input is created for it. I have javascript code 
 accessing the hidden input value. I can probably work around the problem 
 using this syntax. 

 form = SQLFORM.factory( 
 Field('text_field'), 
 hidden={'hidden_field': 'test'}) 

 However, the input produced has no id or class attribute which I was 
 using. 

 input value=test name=hidden_field type=hidden 

 Is what I'm seeing a bug or was the Field(... type='hidden'...) syntax 
 never intended to work? 



[web2py] Re: web2py 1.99.3 is OUT

2011-12-11 Thread Stefan Scholl
This was just a on the fly test in Firebug. And it doesn't feel
right to insert some random BR in there.

Oh, how I hate floats. You can't do without them and then
something random happens ...



Massimo Di Pierro massimo.dipie...@gmail.com wrote:
 Can you emailed me the fixed layout.html?
 
 On Dec 10, 6:02 pm, Stefan Scholl ste...@no-spoon.de wrote:
 Massimo Di Pierro massimo.dipie...@gmail.com wrote:

  The new web site layout needs work but we put it out there hoping for
  more feedback.

 The announcement 2011 BOSSIE AWARD FOR OPEN SOURCE DEVELOPMENT
 SOFTWARE is cut off and too far on the right in Firefox 9.0 Beta
 on Mac OS X 10.6.

 Haven't found a good solution, but if you add a br clear=all /
 before the announce DIV, the text is centered again.
 




[web2py] Re: web2py 1.99.3 is OUT

2011-12-11 Thread ma...@rockiger.com
The new home page looks very nice.

Means this web2py is leaving ez-css und mercurial behind?
I am just asking because of my introductory book to web development 
featuring web2py
and don't wanna present obsolete solutions.


[web2py] Re: web2py 1.99.3 is OUT

2011-12-11 Thread Massimo Di Pierro
we abandoned ez-css.

we are not abandoning mercurial. Just replacing bzr with git.

On Dec 11, 5:11 am, ma...@rockiger.com rocki...@googlemail.com
wrote:
 The new home page looks very nice.

 Means this web2py is leaving ez-css und mercurial behind?
 I am just asking because of my introductory book to web development
 featuring web2py
 and don't wanna present obsolete solutions.


[web2py] Re: web2py 1.99.3 is OUT

2011-12-11 Thread Jim Gregory
Changing the announce class specification on line 13 in examples.css
from :

.announce { position:absolute;align:center;color:white;top:120px;font-
weight:bold;text-align:center;}

to:
.announce {clear:both;color:white;top:120px;font-weight:bold;text-
align:center;}

takes care of the problem for me.

-Jim



On Dec 10, 6:02 pm, Stefan Scholl ste...@no-spoon.de wrote:
 Massimo Di Pierro massimo.dipie...@gmail.com wrote:

  The new web site layout needs work but we put it out there hoping for
  more feedback.

 The announcement 2011 BOSSIE AWARD FOR OPEN SOURCE DEVELOPMENT
 SOFTWARE is cut off and too far on the right in Firefox 9.0 Beta
 on Mac OS X 10.6.

 Haven't found a good solution, but if you add a br clear=all /
 before the announce DIV, the text is centered again.


[web2py] Re: web2py 1.99.3 is OUT

2011-12-11 Thread Massimo Di Pierro
Does this work?

.announce { clear:both;position:absolute;align:center;color:white;top:
120px;font-weight:bold;text-align:center;}

your proposed chance breaks it for me with chrome.

On Dec 11, 12:11 pm, Jim Gregory bikesatw...@gmail.com wrote:
 Changing the announce class specification on line 13 in examples.css
 from :

 .announce { position:absolute;align:center;color:white;top:120px;font-
 weight:bold;text-align:center;}

 to:
 .announce {clear:both;color:white;top:120px;font-weight:bold;text-
 align:center;}

 takes care of the problem for me.

 -Jim

 On Dec 10, 6:02 pm, Stefan Scholl ste...@no-spoon.de wrote:







  Massimo Di Pierro massimo.dipie...@gmail.com wrote:

   The new web site layout needs work but we put it out there hoping for
   more feedback.

  The announcement 2011 BOSSIE AWARD FOR OPEN SOURCE DEVELOPMENT
  SOFTWARE is cut off and too far on the right in Firefox 9.0 Beta
  on Mac OS X 10.6.

  Haven't found a good solution, but if you add a br clear=all /
  before the announce DIV, the text is centered again.


[web2py] Re: web2py 1.99.3 is OUT

2011-12-11 Thread Anthony
Massimo, shortly I'll be sending an updated 'examples' that fixes this as 
well as some other issues (courtesy of Chris May). The Bossie Award problem 
is resolved by moving the .announce div outside the statusbar div (perhaps 
it was nested inadvertently).

Anthony

On Sunday, December 11, 2011 3:58:00 PM UTC-5, Massimo Di Pierro wrote:

 Does this work?

 .announce { clear:both;position:absolute;align:center;color:white;top:
 120px;font-weight:bold;text-align:center;}

 your proposed chance breaks it for me with chrome.

 On Dec 11, 12:11 pm, Jim Gregory bikes...@gmail.com wrote:
  Changing the announce class specification on line 13 in examples.css
  from :
 
  .announce { position:absolute;align:center;color:white;top:120px;font-
  weight:bold;text-align:center;}
 
  to:
  .announce {clear:both;color:white;top:120px;font-weight:bold;text-
  align:center;}
 
  takes care of the problem for me.
 
  -Jim
 
  On Dec 10, 6:02 pm, Stefan Scholl ste...@no-spoon.de wrote:
 
 
 
 
 
 
 
   Massimo Di Pierro massimo@gmail.com wrote:
 
The new web site layout needs work but we put it out there hoping for
more feedback.
 
   The announcement 2011 BOSSIE AWARD FOR OPEN SOURCE DEVELOPMENT
   SOFTWARE is cut off and too far on the right in Firefox 9.0 Beta
   on Mac OS X 10.6.
 
   Haven't found a good solution, but if you add a br clear=all /
   before the announce DIV, the text is centered again.



Re: [web2py] Re: web2py 1.99.3 is OUT

2011-12-10 Thread Daniel Aguayo Catalán

LightDot escribió:


I'm browsing trough the new web page a bit and I can report a glitch:

div class sixteen columns announce gets thrown to the right, so I 
get a horizontal scroll bar even on a 1920px wide screen. Tested on 
linux, Firefox 8 and Opera 11.60 (screenshot attached).


Chromium 15 shows this div centered and no horizontal scroll bars, I 
guess displaying as intended.

I can confirm this.


[web2py] Re: web2py 1.99.3 is OUT

2011-12-10 Thread Simon Lukell

 We could not call it 1.100 because it would break the old automatic
 upgrade mechanism (1 comes before 9, yikes).

Why not make the upgrade from old version a two-step process?  Or is
this too high a price to pay for being absolutely clear that the API
not been broken?

I know bumping major versions is all the rage, but isn't backward
compatibility one of the strongest selling points of web2py?


[web2py] Re: web2py 1.99.3 is OUT

2011-12-10 Thread Stefan Scholl
Massimo Di Pierro massimo.dipie...@gmail.com wrote:
 The new web site layout needs work but we put it out there hoping for
 more feedback.

The announcement 2011 BOSSIE AWARD FOR OPEN SOURCE DEVELOPMENT
SOFTWARE is cut off and too far on the right in Firefox 9.0 Beta
on Mac OS X 10.6.

Haven't found a good solution, but if you add a br clear=all /
before the announce DIV, the text is centered again.





[web2py] Re: web2py 1.99.3 is OUT

2011-12-10 Thread Massimo Di Pierro
Can you emailed me the fixed layout.html?

On Dec 10, 6:02 pm, Stefan Scholl ste...@no-spoon.de wrote:
 Massimo Di Pierro massimo.dipie...@gmail.com wrote:

  The new web site layout needs work but we put it out there hoping for
  more feedback.

 The announcement 2011 BOSSIE AWARD FOR OPEN SOURCE DEVELOPMENT
 SOFTWARE is cut off and too far on the right in Firefox 9.0 Beta
 on Mac OS X 10.6.

 Haven't found a good solution, but if you add a br clear=all /
 before the announce DIV, the text is centered again.


[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Massimo Di Pierro
This is a CSS issue. Can you help us fix it?

On Dec 9, 11:04 am, António Ramos ramstei...@gmail.com wrote:
 BUG!
 I have windows 7
 the app wizard does not show any plugin but if i select *check all* it
 replies 23 selected
 If i select uncheck all , nothing happens. Still 23 selected

 This was also a bug in previous versions

 2011/12/9 Ivica Kralj ivicakr...@gmail.com







  Cool :)
  Thank you

  On 9 December 2011 16:40, Massimo Di Pierro 
  massimo.dipie...@gmail.comwrote:

  Make no mistakes. This is not a minor revision. This is in preparation
  for 2.0.

  We could not call it 1.100 because it would break the old automatic
  upgrade mechanism (1 comes before 9, yikes).

  There are a huge number of bugs fixes and many improvements.

  The most important change is that the new welcome is very mobile
  friendly, it uses the skeleton flexible grid and detects mobile to
  render the menu as a dropdown and optionally compress all your css/js.

  The SQLFORM.grid is also very much improved.

  Markin now can do things like

  {{=MARKMIN('qr:http://web2py.com')}}
  {{=MARKMIN('embed:http://www.youtube.com/embed/x1w8hKTJ2Co')

  and it automatically embeds audio and video players if you just
  include a link in the text. If you have not used markmin, you should.

  There is an experimental MongoDB support.

  The new web site layout needs work but we put it out there hoping for
  more feedback.

  We ditched Launchpad and moved to GitHub and Googlecode (mirrored).
  Issue tracking is still on Googlecode but we plan to move to Github.

  The book is also coming out very soon. The book will described 1.99.3

  Thanks to all those who contributes in particular Anthony, Jonathan,
  Mariano, Ross, Angelo, Niphold, Bruno, Dave, Mark. Too may people have
  contributed small patches and they are too many to mention. I
  apologize.

  Please test it and report bugs.
  As soon as we have a mobile support in admin we will rename this 2.0.

  Massimo


[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Massimo Di Pierro
It includes a link to the QR code for the url.

On Dec 9, 11:04 am, Bruno Rocha rochacbr...@gmail.com wrote:
 what does {{=MARKMIN('qr:http://web2py.com')}} ??


Re: [web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Vasile Ermicioi
also web2py.com website changed,
I like old menu better than new one


Re: [web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Bruno Rocha
I miss a click here for regular website to bypass mobile detection.

http://zerp.ly/rochacbruno
Em 09/12/2011 16:01, Vasile Ermicioi elff...@gmail.com escreveu:

 also web2py.com website changed,
 I like old menu better than new one



[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Massimo Di Pierro
You are not the only one.

If anybody whats to work on improving it (perhaps merging the old and
new one) I'd be happy. Thins I like about the new one:
-uses skeleton (like welcome)
- shares lots of structure and files with welcome
- menu is generated from text, not an image

Massimo

On Dec 9, 12:01 pm, Vasile Ermicioi elff...@gmail.com wrote:
 also web2py.com website changed,
 I like old menu better than new one


[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Paolo Caruccio
I solved so:

admin\static\plugin_multiselect\jquery.multiselect.css
line 14 becomes
.ui-multiselect-checkboxes { position:relative /* fixes bug in IE6/7 */; 
overflow-y:scroll; margin-left:0; width:100%; }
line 16 becomes 
.ui-multiselect-checkboxes label input { position:relative; top:1px; 
right:2px; }

admin\static\plugin_multiselect\jquery.multiselect.js
on line 21 replace toggleChecked func with
toggleChecked:function(b,c,d){(dd.length?d:k.find(input)).not(:disabled).attr(checked,c);r()}})


[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread nick name
I just pulled git and hg and there's a small difference (that was also 
already there a few days ago):

 Only in web2py.hg/applications/examples/static/js: modernizr-1.6.min.js
 Only in web2py.hg/applications: __init__.py
 Only in web2py.hg/applications/welcome/models: db.py.orig
 Only in web2py.git/applications/welcome/static/css: anytime.css
 Only in web2py.git/applications/welcome/static/js: anytime.js
 Only in web2py.git: .git
 Only in web2py.hg: .hg
 Only in web2py.hg: .hgignore
 Only in web2py.hg: .hgtags

Last 4 lines are fine, first 5 lines are probably unintended differences



[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread greenpoise
Safest way to update from 1.99.2? last time I did an update through
the interface and it didnt go through.





Thanks


dan




On Dec 9, 2:18 pm, nick name i.like.privacy@gmail.com wrote:
 I just pulled git and hg and there's a small difference (that was also
 already there a few days ago):

  Only in web2py.hg/applications/examples/static/js: modernizr-1.6.min.js
  Only in web2py.hg/applications: __init__.py
  Only in web2py.hg/applications/welcome/models: db.py.orig
  Only in web2py.git/applications/welcome/static/css: anytime.css
  Only in web2py.git/applications/welcome/static/js: anytime.js
  Only in web2py.git: .git
  Only in web2py.hg: .hg
  Only in web2py.hg: .hgignore
  Only in web2py.hg: .hgtags

 Last 4 lines are fine, first 5 lines are probably unintended differences


[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Massimo Di Pierro
I think I fixed it. Can you check it?

On Dec 9, 4:18 pm, nick name i.like.privacy@gmail.com wrote:
 I just pulled git and hg and there's a small difference (that was also
 already there a few days ago):

  Only in web2py.hg/applications/examples/static/js: modernizr-1.6.min.js
  Only in web2py.hg/applications: __init__.py
  Only in web2py.hg/applications/welcome/models: db.py.orig
  Only in web2py.git/applications/welcome/static/css: anytime.css
  Only in web2py.git/applications/welcome/static/js: anytime.js
  Only in web2py.git: .git
  Only in web2py.hg: .hg
  Only in web2py.hg: .hgignore
  Only in web2py.hg: .hgtags

 Last 4 lines are fine, first 5 lines are probably unintended differences


[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Joseph Jude
Congrats to everyone. If people are still using 1.99.2 (or older version), 
is there a place of reference for those versions? At last the n - 1 (n = 
latest version)?

BTW, I like to new layout

Rgds,
Joseph


[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Anthony
http://web2py.com/examples/static/1.99.2/web2py_src.zip, etc.

Anthony