Re: [web2py] Re: web2py book on github

2012-10-04 Thread Massimo Di Pierro
You can email me a patch On Thursday, 4 October 2012 20:02:25 UTC-5, Richard wrote: > > Hello, > > I translate the 08.markmin chapter, I will need help to upload de change > with Git, I don't know Git that much and Github neither. I will try to > follow Github howto, but if anyone can provide qu

Re: [web2py] Re: web2py book on github

2012-10-04 Thread Richard Vézina
Hello, I translate the 08.markmin chapter, I will need help to upload de change with Git, I don't know Git that much and Github neither. I will try to follow Github howto, but if anyone can provide quick and dirty tutorial I will appreciate. I plan tu upload the 08 chapter I translated next week

Re: [web2py] Re: web2py book on github

2012-09-21 Thread Nico Zanferrari
Il giorno sabato 8 settembre 2012 14:46:39 UTC+2, Niphlod ha scritto: > > > BTW: the book is still online at web2py.com/book if you want to read it: > it's not required to download the app to read it ^_^ > > Please, note that the book online at web2py.com/book does not have all the updates that

[web2py] Re: web2py book on github

2012-09-15 Thread Alan Etkin
Then I suppose deleting manualy the .html is enough and no further hacking of the controller is needed. actually, even better instead of commenting 92,93,94, change 81 from > > TOMORROW = now + datetime.timedelta(days=1) > > to > > TOMORROW = now - datetime.timedelta(days=1) > > Thanks --

Re: [web2py] Re: web2py book on github

2012-09-14 Thread Massimo Di Pierro
The chapter that change the most are 0,3,4 and 6. Most of the work on 6 has been done I think. The other chapters will not change much as content but the content may be re-arranged as I am considering adding one chapter about background processes. On Friday, 14 September 2012 15:42:15 UTC-5, Ri

Re: [web2py] Re: web2py book on github

2012-09-14 Thread Richard Vézina
I would like to translate in french too, is there chapter that will not change too much? I don't want to do it for nothing... Richard On Fri, Sep 14, 2012 at 4:10 PM, Niphlod wrote: > +1. Thanks Yarin. > > > On Thursday, September 13, 2012 11:36:34 PM UTC+2, Yarin wrote: >> >> @Massimo @Niphlod

[web2py] Re: web2py book on github

2012-09-14 Thread Niphlod
+1. Thanks Yarin. On Thursday, September 13, 2012 11:36:34 PM UTC+2, Yarin wrote: > > @Massimo @Niphlod > > Patch for scheduler docs. Mostly clarifications and syntactical > corrections. Thanks-. >> >> >> >> --

[web2py] Re: web2py book on github

2012-09-14 Thread Niphlod
actually, even better instead of commenting 92,93,94, change 81 from TOMORROW = now + datetime.timedelta(days=1) to TOMORROW = now - datetime.timedelta(days=1) On Friday, September 14, 2012 6:11:11 PM UTC+2, Niphlod wrote: > > I think you encountered another fine feature of my patches to the

[web2py] Re: web2py book on github

2012-09-14 Thread Niphlod
I think you encountered another fine feature of my patches to the production book: cache headers correcly set ... Useful when the book sources rarely change but not so if you're hitting f5 to see the results of your work. Changing that line (95) definitely triggers the output to be re-converted

[web2py] Re: web2py book on github

2012-09-14 Thread Alan Etkin
> Thanks niphlod > Changed the line, the same output. I even changed a book/static_chaps file > with chapter 8 in html with no luck. > > Nevermind my last message, now refreshed the page and the chages appeared. Looks like static_chaps is for app auto-generated files cause my previous chang

[web2py] Re: web2py book on github

2012-09-14 Thread Yarin
@Alan- delete the html file completely from the static_chaps folder- that's what worked for me On Friday, September 14, 2012 11:48:53 AM UTC-4, Alan Etkin wrote: > > there's no "development app". The book app is the one in production :p . >> It caches the output of markmin pages to avoid cpu usag

[web2py] Re: web2py book on github

2012-09-14 Thread Alan Etkin
> > there's no "development app". The book app is the one in production :p . > It caches the output of markmin pages to avoid cpu usage. If you are > developing, open controllers/default.py and edit line 95 to "if 1:" Thanks niphlod Changed the line, the same output. I even changed a book/stati

[web2py] Re: web2py book on github

2012-09-14 Thread Niphlod
there's no "development app". The book app is the one in production :p . It caches the output of markmin pages to avoid cpu usage. If you are developing, open controllers/default.py and edit line 95 to "if 1:" On Friday, September 14, 2012 5:15:44 PM UTC+2, Alan Etkin wrote: > > El sábado, 1 de

[web2py] Re: web2py book on github

2012-09-14 Thread Alan Etkin
El sábado, 1 de septiembre de 2012 14:00:49 UTC-3, Massimo Di Pierro escribió: > > The web2py book app has been rewritten > >http://www.web2py.com/book > > and the source of the app and the book itself is now on github > > > I'm trying to add a chapter 8th subsection with an imap howto "Readi

[web2py] Re: web2py book on github

2012-09-13 Thread Yarin
@Massimo @Niphlod Patch for scheduler docs. Mostly clarifications and syntactical corrections. Thanks-. On Saturday, September 1, 2012 1:00:49 PM UTC-4, Massimo Di Pierro wrote: > > The web2py book app has been rewritten > >http://www.web2py.com/book > > and the source of the app and the bo

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Ezugworie Ikechukwu
Hi, am currently running version 2.0.7. Also, my internet access is not always up. On Sat, Sep 8, 2012 at 1:46 PM, Niphlod wrote: > are you on the latest web2py version ? > > BTW: the book is still online at web2py.com/book if you want to read it: > it's not required to download the app to read

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Niphlod
are you on the latest web2py version ? BTW: the book is still online at web2py.com/book if you want to read it: it's not required to download the app to read it ^_^ On Saturday, September 8, 2012 2:16:44 PM UTC+2, ikdme wrote: > > I'm not getting any errors. The images are not displaying. Every

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Ezugworie Ikechukwu
I'm not getting any errors. The images are not displaying. Every other is working well. I miss the line numbers. On Sat, Sep 8, 2012 at 10:30 AM, Alec Taylor wrote: > The documentation is starting to look much better :) > > Maybe the chapters have gotten a little large though and should each > b

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Alec Taylor
The documentation is starting to look much better :) Maybe the chapters have gotten a little large though and should each be separated into "Basic use" and "Advanced use"... Also the new code boxes are much nicer than before, but still doesn't have python syntax-highlighting. Can we get this also

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Andrew W
I use TortoiseHG on Windows which I find quite simple to use, although sometimes I have to go back to the command line. I recommend it. In any case, the tar.gz should work. Are you getting an error ? On Saturday, September 8, 2012 7:47:38 AM UTC+12, ikdme wrote: > > Hello, > Please am a windows

Re: [web2py] Re: web2py book on github

2012-09-07 Thread Ezugworie Ikechukwu
Hello, Please am a windows user and I don't know how to use mercurial or git so i downloaded the book in 'tar.gz' format. I managed to install the book but the images are not displaying (streaming). I don't know why. Please could someone help me with what to do. Thanks On Tue, Sep 4, 2012 at 8:54

[web2py] Re: web2py book on github

2012-09-04 Thread Niphlod
sections with code are h1,h2,h3,h4,h5,h6 contained in a div with class article containing a code tag. assuming you want them styled as h1,h2,h3,h4,h5,h6 with no changes in style in respect of other h1,h2,h3,h4,h5,h6 the simplest thing is .article h1 code, .article h2 code, .article h3 code, .art

[web2py] Re: web2py book on github

2012-09-03 Thread Massimo Di Pierro
The book uses the default web2py style with bootstrap. The section titles, if they contain code are not rendered properly. Could use some help improving the css. massimo On Saturday, 1 September 2012 12:00:49 UTC-5, Massimo Di Pierro wrote: > > The web2py book app has been rewritten > >htt

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Bruno Rocha
FYK: The portuguese will be done by a community, so we are tracking the statuses on this file: https://github.com/rochacbruno/web2py-book/blob/master/sources/37-web2py-portuguese-work-in-progress/translation_status.md Maybe someone can follow the pattern... --

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Niphlod
we could "affix" that in bootstrap-style. If Massimo agrees I can send a patch. On Monday, September 3, 2012 9:42:51 PM UTC+2, Ramos wrote: > > I wish you could make the table of contents fixed so i dont have to > scroooll all way to the top to change to another chapter. > > Best regards > A

Re: [web2py] Re: web2py book on github

2012-09-03 Thread António Ramos
I wish you could make the table of contents fixed so i dont have to scroooll all way to the top to change to another chapter. Best regards António 2012/9/3 Martín Mulone > I'm using 36, but this can be changed very easy in the app. > > > 2012/9/3 Bruno Rocha > >> >> Martin, I am doing the

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Martín Mulone
I'm using 36, but this can be changed very easy in the app. 2012/9/3 Bruno Rocha > > Martin, I am doing the same for portuguese. > > Which number did you named your spanish version? > 36-spanish-work-in-progress ? > > I forked and I will put a 37-portuguese-work-in-progress > > On Mon, Sep 3, 20

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Alfonso de la Guarda
Massimo, The Latinux people translate the book (spanish) however no sources available and also there is a lot of new features with the new versions, maybe you can ask to them for open the sources and publish (Ricardo Strusberg surely can do), if not we need to start a new translation. Saludos,

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Bruno Rocha
Martin, I am doing the same for portuguese. Which number did you named your spanish version? 36-spanish-work-in-progress ? I forked and I will put a 37-portuguese-work-in-progress On Mon, Sep 3, 2012 at 4:27 PM, Martín Mulone wrote: > I know but it's not in markmin, and make changes and sync is

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Martín Mulone
I know but it's not in markmin, and make changes and sync is a hell pain. Google translation is funny, is not serious. 2012/9/3 Massimo Di Pierro > Mind that I believe there is already around a spanish translation of the > 3rd edition. > > There is also this version translated by google: > >

[web2py] Re: web2py book on github

2012-09-03 Thread Don_X
Massimo, Just a suggestion : In the various scripts included in the packages .. I realized that by default : the default file rewritten for apache for example, contain "Deny from all" in various portion of the sh scripts ( for ubuntu, fedora, etc .. ) I recommend to make them "Allow from a

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Massimo Di Pierro
Mind that I believe there is already around a spanish translation of the 3rd edition. There is also this version translated by google: https://dl.dropbox.com/u/18065445/web2py/web2py_manual_es.pdf and this one translated in portuguese by google: https://dl.dropbox.com/u/18065445/web2py/

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Martín Mulone
Thanks massimo, this is a huge advance!, and the app is also very cool. I started translation to spanish based on fork (29-english), here https://github.com/mulonemartin/web2py-book. 2012/9/3 Massimo Di Pierro > Planning to add that by the end of the week. > > > On Monday, 3 September 2012 11:41

[web2py] Re: web2py book on github

2012-09-03 Thread Massimo Di Pierro
Planning to add that by the end of the week. On Monday, 3 September 2012 11:41:56 UTC-5, Mandar Vaze wrote: > > > > On Saturday, September 1, 2012 10:30:49 PM UTC+5:30, Massimo Di Pierro > wrote: >> >> The web2py book app has been rewritten >> >>http://www.web2py.com/book >> > > Does this me

[web2py] Re: web2py book on github

2012-09-03 Thread Mandar Vaze
On Saturday, September 1, 2012 10:30:49 PM UTC+5:30, Massimo Di Pierro wrote: > > The web2py book app has been rewritten > >http://www.web2py.com/book > Does this mean the PDF is also (automatically) updated ? I checked online, the PDF still says Build Date "December 2011" -Mandar --

[web2py] Re: web2py book on github

2012-09-02 Thread Anthony
We also need to document the new formstyle='bootstrap' option as well as the new callable formstyle option that takes the form and fields and builds the entire form DOM. Anthony On Saturday, September 1, 2012 5:37:11 PM UTC-4, Massimo Di Pierro wrote: > > These features are now documented in th

Re: [web2py] Re: web2py book on github

2012-09-02 Thread Massimo Di Pierro
On Sunday, 2 September 2012 00:21:47 UTC-5, Andrew W wrote: > > Does auth.wiki need to be included in the doco todo list ? If plugin_wiki > is to be phased out does the Components chapter need updating to refer to > auth.wiki? For me the first order to do list if the CHANGELOG. I Just po

Re: [web2py] Re: web2py book on github

2012-09-01 Thread Andrew W
Does auth.wiki need to be included in the doco todo list ? If plugin_wiki is to be phased out does the Components chapter need updating to refer to auth.wiki? By the way, thanks for putting the book on github. A good lesson in itself for a documentation app (on my list) I need to add so

Re: [web2py] Re: web2py book on github

2012-09-01 Thread Massimo Di Pierro
It is actually [ ] db.table.myuploadfield.default = 'path/to/file' On Saturday, 1 September 2012 17:21:56 UTC-5, rochacbruno wrote: > > Also mention that this > > [x] new syntax: db.mytable.insert(myuploadfield=open()), thank you > Iceberg > > Now works as: > > [ ] db.table.myuploadfield.d

Re: [web2py] Re: web2py book on github

2012-09-01 Thread Bruno Rocha
Also mention that this [x] new syntax: db.mytable.insert(myuploadfield=open()), thank you Iceberg Now works as: [ ] db.table.myuploadfield.default = open() --

Re: [web2py] Re: web2py book on github

2012-09-01 Thread Bruno Rocha
Include this: [ ] Rows.find(lambda row: bool(), limitby=(0,1)) --

[web2py] Re: web2py book on github

2012-09-01 Thread andrej burja
i think there are some problems in chapter The database abstraction layer after belongs anrej On Saturday, September 1, 2012 7:00:49 PM UTC+2, Massimo Di Pierro wrote: > > The web2py book app has been rewritten > >http://www.web2py.com/bo

[web2py] Re: web2py book on github

2012-09-01 Thread Niphlod
the docs on the scheduler are ready in markmin because they are embedded into w2p_scheduler_tests. Really don't know where to put those, it's a pretty long section. On Saturday, September 1, 2012 11:37:11 PM UTC+2, Massimo Di Pierro wrote: > > These features are now documented in the html book.

[web2py] Re: web2py book on github

2012-09-01 Thread Massimo Di Pierro
These features are now documented in the html book. Working on more. [x] Support for DAL(lazy_tables=True) and db.define_table(on_define=lambda table:), thanks Jonathan [x] db(...).select(cacheable=True) make select 30% faster [x] db(...).select(cache=(cache.ram,3600)) now caches parsed data 100x

[web2py] Re: web2py book on github

2012-09-01 Thread Massimo Di Pierro
thanks. On Saturday, 1 September 2012 15:53:50 UTC-5, rif wrote: > > Another small patch to chapter with to changes: > > postrgresql:// -> postgres:// > hocalhost -> localhost > > sâmbătă, 1 septembrie 2012, 20:00:49 UTC+3, Massimo Di Pierro a scris: >> >> The web2py book app has been rewritten >

[web2py] Re: web2py book on github

2012-09-01 Thread rif
Another small patch to chapter with to changes: postrgresql:// -> postgres:// hocalhost -> localhost sâmbătă, 1 septembrie 2012, 20:00:49 UTC+3, Massimo Di Pierro a scris: > > The web2py book app has been rewritten > >http://www.web2py.com/book > > and the source of the app and the book itse