web2py version 1.98.2
If a custom url is set for login_url (via auth.settings.login_url) and no
arg is passed, auth() does not honor login_url and redirects to url based on
controller set while initializing Auth()
e.g.
auth=Auth(globals(),db)
auth.settings.login_url =
Doesn't exactly answer my question. For example, say in web2py you
define table with fields a, b, c. In old db you have fields a, b and
d. Will you be able to load blank web2py table with old db data for a
and b just by importing the old db csv file into the new db? Or will
importer choke?
On
Many features have been added recently(last 3 months) but documentation is
behind these. Can docs can be updated, without this many features will be
lost somewhere in code. Also as Python is not staticly typed language and
doesnt use variable type declaration its very often dificult to
Massimo,
While I download...
Are the download files signed and/or hashed? just in case...
mic
2011/9/20 Massimo Di Pierro massimo.dipie...@gmail.com:
Please download the nightly built and try it with your apps. If they
work, say go and I we will launch tomorrow.
Massimo
Ran application I am working on no problems.
The welcome application seems to pull in some adware. Firebug opens in
Firefox with a problem loading sm6.html saying _gat is not defined. I
believe this is coming from the Share item in the top menu.
The jQuery team has released 1.6.4 to fix a bug
anything special coming up?
will it broke backward compatibility? nobody needs backward
compatibility in a major version.
are there any plans for a clean up?
Are there any Lotus Notes developers using web2py? I'v been doing Lotus
Notes development for more than 15 years and I also did two projects with
web2py recently. I really like web2py it makes me very productive, comparing
to Java Server Faces based xPages in Lotus Notes, which are really,
clean up is being done day by day without break of compatibility.
http://zerp.ly/rochacbruno
Em 20/09/2011 05:26, Mengu whalb...@gmail.com escreveu:
anything special coming up?
will it broke backward compatibility? nobody needs backward
compatibility in a major version.
are there any plans
I only can reproduce it on the production server. The fail comes about 2
seconds aftehr when the upload begins (and with my connection is impossible
to upload 1.2 mb in 2 seconds), but the uploading screen doesn't changes, is
like the firefox is waiting for a response.
2011/9/20 Massimo Di
I forgot: it's Version 1.99.0 (2011-09-20 03:52:08)
2011/9/20 Martin Weissenboeck mweis...@gmail.com
I wanted to play with other login methods. Therefore I created a new
application called alt_login - it started with no problems.
Next step: I copied the definition of my own auth_table from
+1 for breaking compatibility (in a major version) a remove obsolete
features,,,
On Tue, Sep 20, 2011 at 9:26 AM, Mengu whalb...@gmail.com wrote:
anything special coming up?
will it broke backward compatibility? nobody needs backward
compatibility in a major version.
are there any plans
Yes 2.0 we have to make it big.
2011/9/20 Sebastian E. Ovide sebastian.ov...@gmail.com
+1 for breaking compatibility (in a major version) a remove obsolete
features,,,
On Tue, Sep 20, 2011 at 9:26 AM, Mengu whalb...@gmail.com wrote:
anything special coming up?
will it broke backward
We should make some wishlist for 2.0 version somewhere. What about the user
voice http://web2py.uservoice.com/forums/42577-general ?
Massimo to add fonts support we have to think how to resolve the problem to
add css to files that not have the .css extension.
2011/9/19 Massimo Di Pierro massimo.dipie...@gmail.com
http://use.fontorie.com/
How about an app?
--
http://martin.tecnodoc.com.ar
Hi,
I've been searching for older threads but I can't find the solution,
so I decided to ask you.
I have a problem with the encoding. For example, in the menu.py file,
one of my fields is:
((Área Téncica),False,URL('default','vision_casos'),[]),
But when I run the aplication, it is showed as:
Hi,
I would like to have my own login and logout functionality
also my own table for authentication
i am a bit new to this framework, i m looking for code snippet for
this implementation
I was looking at something that would potentially be big, although it would
be more of an addon rather than replacement. Integrating qooxdoo to make RIA
applications rather than the traditional HTML + AJAX applications. I think
we could do something like this, without breaking backwards
You should be using db.auth_table, not just auth_table
Actually, sorry, it should be db.auth_user. Where did you get the
auth_table variable from anyways?
On Sep 19, 10:57 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Can you help me with wireshark and see if the ajax requests send or
not back he cookie? What browser did you use?
With Firebug in Firefox:
GET db1login.load
web2py-component-location
Hello!
I've started to play with Instant Press 2.0 and noticed that image cannot be
centered on the page using markmin markup.
It works with 'left' 'right', but neither with 'center' nor 'centered'.
Do I miss something?
Sincerely,
Gour
--
“In the material world, conceptions of good and
It will choke. Edit the csv with excel and delete the c column.
On Sep 20, 1:58 am, weheh richard_gor...@verizon.net wrote:
Doesn't exactly answer my question. For example, say in web2py you
define table with fields a, b, c. In old db you have fields a, b and
d. Will you be able to load blank
copy and paste from the book. :-)
Chapter Custimizing Auth
2011/9/20 Ross Peoples ross.peop...@gmail.com
Actually, sorry, it should be db.auth_user. Where did you get the
auth_table variable from anyways?
It took them 4 years to catch up with us.
On Sep 20, 7:18 am, David Marko dma...@tiscali.cz wrote:
http://activeadmin.info/
there is even the live demo ...
try string.encode('latin1')
2011/9/20 Samuel Mac mac.o...@gmail.com
Hi,
I've been searching for older threads but I can't find the solution,
so I decided to ask you.
I have a problem with the encoding. For example, in the menu.py file,
one of my fields is:
((Área
Also, there's http://sramana.in/web2py-instant-admin/.
On Tuesday, September 20, 2011 8:18:35 AM UTC-4, David Marko wrote:
http://activeadmin.info/
there is even the live demo ...
The actual code from the book:
db.define_table(
auth.settings.table_user_name,
Field http://web2py.com/book/default/docstring/Field('first_name',
length=128, default=''),
Field http://web2py.com/book/default/docstring/Field('last_name',
length=128, default=''),
Field
dal supporting graph databases and fulltext search
Thanks for all the feedback from everyone.
For the json cpp libraries, I find that jsoncpp looks unpolished with
outstanding bugs (it is still advertised as Beta) and it is a hassle
to install (you have to install some Python modules just to read the
documentation).
Cajun looked more polished
Its very nice. I just installed this into my project but I cant see any
tables on dashboard. Is there a way to specifiy tables handled by this admin
tool?
+1 for more comments in the code. Also, sometimes comments/docstrings need
to be updated when changes are made.
On Tuesday, September 20, 2011 3:55:24 AM UTC-4, David Marko wrote:
Many features have been added recently(last 3 months) but documentation is
behind these. Can docs can be
I use Domino web services within web2py. XML-RPC.
Works ok.
so is there anyone who is in charge of updating the book? Massimo is already
doing too much?
On Tue, Sep 20, 2011 at 8:23 AM, Anthony abasta...@gmail.com wrote:
+1 for more comments in the code. Also, sometimes comments/docstrings need
to be updated when changes are made.
On Tuesday,
+1 fulltext search
*Some* graph databases have already some good pythonic API.
Do you think that DAL can be adapted to graphs also? Isn't the DAL
too relational oriented?
mic
2011/9/20 Vasile Ermicioi elff...@gmail.com:
dal supporting graph databases and fulltext search
It seems like it's the most stable release that's coming ;-)
Richard
On Tue, Sep 20, 2011 at 9:23 AM, Anthony abasta...@gmail.com wrote:
+1 for more comments in the code. Also, sometimes comments/docstrings need
to be updated when changes are made.
On Tuesday, September 20, 2011 3:55:24
Have you read http://web2py.com/book/default/chapter/08. What are you trying
to do that cannot be accommodated by the existing access control
functionality?
On Tuesday, September 20, 2011 2:54:34 AM UTC-4, Viren Patel wrote:
Hi,
I would like to have my own login and logout functionality
I wish to reduce the widths of left right sidebars.
In base.css, uncommented modified the following line
left_sidebar { width: 10px; float:left; display: none; }
Inline documentation in css file says--- - column widths (change this
to use left_sidebar and right_sidebar)
Secondly, I had put
Thank you - now it works.
But: maybe there are two versions of THE BOOK?
Five minutes ago I have found the following code in the online version
(chapter Customizing Auth):
# after
# auth = Auth(globals(),db)
db.define_table(
auth.settings.table_user_name,
Field('first_name', length=128,
The code I posted is from here:
http://web2py.com/book/default/chapter/08#Customizing-Auth
Weird, I see different code when visiting that link. Are you looking at the
English version?
On Tuesday, September 20, 2011 11:47:11 AM UTC-4, Ross Peoples wrote:
The code I posted is from here:
http://web2py.com/book/default/chapter/08#Customizing-Auth
To me the 1.99.1 already improving a lot of things, no?!
And I was thinking about the reason why it takes that amount of time to
launch this version and my answer was maybe the core team wants to make a
new features full major version...
Richard
On Tue, Sep 20, 2011 at 10:00 AM, Michele
My link is http://www.web2py.com/book/default/chapter/08#Customizing-Auth(it
is the same!) I have tried twice with two different browsers.
2011/9/20 Anthony abasta...@gmail.com
Here's what I see at
http://web2py.com/book/default/chapter/08#Customizing-Auth (screenshot
attached) -- not the
This is not an option.
web3py (TM) will break backward compatibility. Not web2py 2.0
On Sep 20, 5:17 am, Sebastian E. Ovide sebastian.ov...@gmail.com
wrote:
+1 for breaking compatibility (in a major version) a remove obsolete
features,,,
On Tue, Sep 20, 2011 at 9:26 AM, Mengu
I promised somebody geospatial features. That will probably come
before full text search but this is a good time to look into it.
Should we take an approach sqlite/mysql/postgresql only or outsource
it to Sphinx?
On Sep 20, 9:00 am, Michele Comitini michele.comit...@gmail.com
wrote:
+1 fulltext
Hello Ivica,
Feel free to ask anything... I will be glad to help you to make something
really cool and usefull...
There is also António that were motivated...
http://groups.google.com/group/web2py/browse_thread/thread/82966962ef82a22c?pli=1
Richard
CC.: António
On Mon, Sep 19, 2011 at 10:45
Yes. There are different versions depending on the accept_language
browser settings. Problem is that non-english one that have not been
translated default to engllish.
The title should tell you which one you are looking at.
On Sep 20, 11:10 am, Martin Weissenboeck mweis...@gmail.com wrote:
My
That is the headline of the first page:
The Official (3rd Ed.)
web2py Book(de)
Does de mean German? But there is no German word inside this book.
And I cann't find any way to change the language.
2011/9/20 Anthony abasta...@gmail.com
Weird, I see different code when visiting that link. Are
I do not understand what is causing this. Please open a ticket and
link this thread so it does not get lost. I try process tickets before
other issues.
On Sep 20, 7:04 am, DenesL denes1...@yahoo.ca wrote:
On Sep 19, 10:57 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Can you help
How about?
reponse.files.append(('http://somefile','css')) # works with URL()
or
reponse.files.append('http://somefile[.css]') # does not work with
URL()
and then re-move css/[.css] automatically.
On Sep 20, 5:43 am, Martín Mulone mulone.mar...@gmail.com wrote:
Massimo to add fonts
tell us more.
On Sep 20, 8:43 am, HarryE harald.er...@gmail.com wrote:
I use Domino web services within web2py. XML-RPC.
Works ok.
About Sphinx I would propose to introduce fulltext search the way it's
faster if it's with Sphinx go head and then use the DB oriented approach
after just to offer a simpler fulltext search option maybe...
My point is just use first the faster approach.
;-)
Richard
On Tue, Sep 20, 2011 at
What's the production web server? How does it talk to web2py?
On Sep 20, 4:24 am, Daniel Gonzalez Zaballos dgzabal...@gmail.com
wrote:
I only can reproduce it on the production server. The fail comes about 2
seconds aftehr when the upload begins (and with my connection is impossible
to upload
yeah may be due to nature of C/C++ is not used for programming web
apps json support is quite weak.
Python's Native json lib are a lot more mature than C++ versions.
Did u also check AMF as alternative?
On 9/20/11, Magnitus eric_vallee2...@yahoo.ca wrote:
Thanks for all the feedback from
heres what i found:
from json.org
C:
JSON_checker.
JSON parser.
M's JSON parser.
YAJL.
cJSON.
Jansson.
js0n.
LibU.
jsmn.
cson.
json-c.
C++:
jsoncpp.
zoolib.
JOST.
CAJUN.
libjson.
nosjob.
JSONKit.
JsonBox.
On 9/20/11,
Hello,
ICTEC has released a web application for the sale of tickets for events.
The development was funded by an American company and we
has freed a variation of the beta site into production.
If someone wants to start a business with it, go ahead!
http://paol.pe/superticket
As always, please
Also check JsonBox , its used in RedBox 2D game engine.
On 9/20/11, Phyo Arkar phyo.arkarl...@gmail.com wrote:
heres what i found:
from json.org
C:
JSON_checker.
JSON parser.
M's JSON parser.
YAJL.
cJSON.
Jansson.
js0n.
LibU.
jsmn.
cson.
That is the answer. Now I switched to en and I can see the actual version
of this example.
2011/9/20 Massimo Di Pierro massimo.dipie...@gmail.com
Yes. There are different versions depending on the accept_language
browser settings. Problem is that non-english one that have not been
translated
Pretty much no one rolls their own user registration since Web2py supplies a
pretty good and flexible version.
Sphinx u mean sphinxsearch ?
I am using it with web2py and everything works fine .
On 9/20/11, pbreit pbreitenb...@gmail.com wrote:
+1 for breaking compatibility
-1000
+1 for breaking compatibility
-1000
Hello Phyo,
What have to be done to package it with an app?
Richard
On Tue, Sep 20, 2011 at 1:33 PM, Phyo Arkar phyo.arkarl...@gmail.comwrote:
Sphinx u mean sphinxsearch ?
I am using it with web2py and everything works fine .
On 9/20/11, pbreit pbreitenb...@gmail.com wrote:
+1 for
I do not like the idea of break of compatibility.
Why needs to break it to include new features?
http://zerp.ly/rochacbruno
Em 20/09/2011 14:44, Richard Vézina ml.richard.vez...@gmail.com
escreveu:
Hello Phyo,
What have to be done to package it with an app?
Richard
On Tue, Sep 20, 2011 at
On Tuesday, September 20, 2011 12:27:20 PM UTC-4, Massimo Di Pierro wrote:
I promised somebody geospatial features. That will probably come
before full text search but this is a good time to look into it.
Should we take an approach sqlite/mysql/postgresql only or outsource
it to Sphinx?
On Tuesday, September 20, 2011 12:28:48 PM UTC-4, mweissen wrote:
That is the headline of the first page:
The Official (3rd Ed.)
web2py Book(de)
Does de mean German? But there is no German word inside this book.
And I cann't find any way to change the language.
A number of people have
I do not manage to package it as an app. sphinx need to be installed
seprately , as its client-server architecture , not easy to packaged
inside as one.
what my project do it with :
- Generate configuration for new tables and database
- Generate Indexes
- Start Stop searchd
- Run queries and
On Sep 20, 12:30 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I do not understand what is causing this.
To have the same session?.
Isn't that the way sessions are supposed to work?.
My hunch is still that components need their own session, associated
to the main one somehow.
At some point we made the book multi-language. That means that the
book detects the language from accept_language and uses that. 8
languages were created (en, es, de, fr, pt, jp, cz, it) and pre
populated with english (official 3rd ed, except for it pre populated
with italian) to easy
Some weeks ago, I reported here some typo related with validators. Someone
tell me that the typo has been corrected, but when I check again the book,
the typo still there.
PS: And I see Book (es) but fully english lang
HTH
Bye, and sorry for my bad english
We use Domino 7. In order not to have a full Domino server exposed on
the Internet, I try to create a web2py frontend on DMZ to extract the
necessary info from Domino and present it to the public.
as in
def getmetinfo():
ad=request.args(0)
key=
if ad :
key=ad[0:4]
else :
I have a table sorter plugin that I use inside my view and I have an
external database that I use (inside my controller I import a python
module that connects to my database and returns an object). My
controller returns data to my view and inside my table in the view I
populate this data. How can
Something like that does sound interesting although I suspect easier said
than done. I inquired about something similar when I was looking at Postgres
text search. It sounds like it is currently not that easy for an end user to
extend DAL to create a new type of query. That would be cool.
And
websockets http://vimeo.com/18399381 or ajax long polling, or ape
http://www.ape-project.org/
On Tue, Sep 20, 2011 at 4:07 PM, rami beatrisr...@gmail.com wrote:
I have a table sorter plugin that I use inside my view and I have an
external database that I use (inside my controller I import a
On Tue, Sep 20, 2011 at 12:00 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Please download the nightly built and try it with your apps. If they
work, say go and I we will launch tomorrow.
I ran in to this:
Traceback (most recent call last):
File
Teh same in another app
File
/home/rochacbruno/projects/199test/applications/cursodepython/controllers/default.py
http://127.0.0.1:8001/admin/default/edit/cursodepython/controllers/default.py,
line 272, in user
return dict(form=auth())
File
Hi Bruno,
Please see:
https://groups.google.com/d/topic/web2py-developers/yqn3IjNdmDA/discussion
Carlos
Hi, here are my next tries (yes, now from the English version of THE BOOK):
(1) In db.py I have added:
from gluon.contrib.login_methods.email_auth import email_auth
auth.settings.login_methods=[email_auth(smtp.gmail.com:587, @gmail.com),
]
The Login-Form and the Register-Form look like usual,
On Tuesday, September 20, 2011 2:29:08 PM UTC-4, juanduke wrote:
Some weeks ago, I reported here some typo related with validators. Someone
tell me that the typo has been corrected, but when I check again the book,
the typo still there.
Yes, the typos have been fixed in the markmin but are
This is a commit error. Will fix in a few hours when I will have
access to my dev machine again. Sorry.
On Sep 20, 2:56 pm, Bruno Rocha rochacbr...@gmail.com wrote:
On Tue, Sep 20, 2011 at 12:00 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Please download the nightly built and
I took some time to merge book edits with the 3rd edition. Now the
book online should show all the recent edits.
I want to congratulate with those who have contributed edits since I
noticed a lot of improvements. All edits have been accepted.
I need to add a few paragraphs here and there to
Putting a *BIG* flag would help? ;-)
mic
2011/9/20 Massimo Di Pierro massimo.dipie...@gmail.com:
I took some time to merge book edits with the 3rd edition. Now the
book online should show all the recent edits.
I want to congratulate with those who have contributed edits since I
noticed a
I always liked this one (though really not as cool):
http://fictivekin.com/
Double click the dots. You can even put them back.
The modifiable text/style/font is ti**ies though!
-Kasapo
On Sep 19, 8:13 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
http://use.fontorie.com/
How
web2py ... does not reach yet the Lotus Notes power of views, ACLs,
formulas,calendar,etc
Not sure about that. It takes about as long to put a simple view
together in Web2py as in Notes. It would take a bit longer to do a
view with child records the first time around, but after that I don't
Yes, sometimes when I do google searches it seems to find the code i
search for in the french version (since the code is still english...
like searching for response.vars or something), but there is a
variable ?_language=fr in the URL.
After accessing a page (creating a session?) with the 'fr'
Some fonts:
http://www.google.com/webfonts
http://code.google.com/apis/webfonts/
2011/9/20 kasapo kas...@gmail.com:
I always liked this one (though really not as cool):
http://fictivekin.com/
Double click the dots. You can even put them back.
The modifiable text/style/font is ti**ies
I need to have a number that generally increases with every request made to
the service. The only requirement is that it is strictly monotonous - I
don't need a specific start, and I don't care if there are any holes.
Possible solutions:
- just use request.utcnow -- seems to satisfy, but I've
* The Web2py security methods put Notes ACL to shame?*
Can you explain why you think this way?
how do i solve this problem in web2py?
In a small organization (+- 100 users) it can be dificult to manage ACLs
without being able to add group to group membership.
consider my company
we have this
List of new features NOT yet documented in the book. I think:
- LICENSE CHANGE FROM GPLv2 to LGPLv3
- new URL syntax
- new T behavior
- new app level logging with logging.conf (thanks Jonathan)
- Polymmodel support on GAE
- current
- added pyfpdf, thank Mariano
- db(db.table), db(db.table.id)
Hello all,
I have been looking at using cxfreeze to create a web2py standalone
exe with custom libraries added in. Attached is the script used - Can
be used if you want to repackage web2py's windows exe adding in custom
libraries.
One of the major advantages of using cxfreeze for creating the
Web2Py 2.0 must be *fully* documented in online book.
On Sep 20, 4:26 pm, Mengu whalb...@gmail.com wrote:
anything special coming up?
will it broke backward compatibility? nobody needs backward
compatibility in a major version.
are there any plans for a clean up?
That is one *very impressive* list of new stuff and new documentation.
Thanks everyone who contributed.
we'll work on it.
On Sep 20, 6:49 pm, niknok nikolai...@gmail.com wrote:
Web2Py 2.0 must be *fully* documented in online book.
On Sep 20, 4:26 pm, Mengu whalb...@gmail.com wrote:
anything special coming up?
will it broke backward compatibility? nobody needs backward
compatibility
I have just started using web2py but already, I'm quite impressed. In
the past couple days I've already rolled out an entire site rewrite
and I'm working on my second project.
The project I'm working on right now is currently in PHP. I was in
the process of converting it to a Java / Spring MVC
This will be useful put presents a technical difficulty because of the
way CRYPT works. CRYPT is the validator that check is a password is
valid, and it does not know what is stored in db therefore it does not
know the salt. Anyway, let me know if you have a suggestion.
Massimo
On Sep 20, 9:25
2011/9/20 Massimo Di Pierro massimo.dipie...@gmail.com
I took some time to merge book edits with the 3rd edition. Now the
book online should show all the recent edits.
I want to congratulate with those who have contributed edits since I
noticed a lot of improvements. All edits have been
In gloun/tools there is the definition of class Recaptcha.
It contains a class variable
self.comment = ''
but there is no way to change by a parameter. Is it intended or is it a bug?
Martin
Yeah, we use haystack in Django here at my work for our search tool of
choice.
On Sep 20, 1:58 pm, Anthony abasta...@gmail.com wrote:
On Tuesday, September 20, 2011 12:27:20 PM UTC-4, Massimo Di Pierro wrote:
I promised somebody geospatial features. That will probably come
before full text
-1 for breaking compatibility. I can see the need here and there, but
I have some apps running on web2py, and thinking that I'll have to
make sure they work aain, just because we got to a rounded number - is
unthinkable. When web2py moves to python 3 - it'll make sense to
reexamine all features.
done. good job.
On Sep 20, 6:44 pm, Praneeth Bodduluri life...@gmail.com wrote:
Hello all,
I have been looking at using cxfreeze to create a web2py standalone
exe with custom libraries added in. Attached is the script used - Can
be used if you want to repackage web2py's windows exe adding in
WE WILL NOT BREAK BACKWARD COMPATiBILITY.
In fact there will be less changes between 1.99 and 2.0 then between
1.98 and 1.99.
Massimo
On Sep 20, 11:23 pm, guruyaya guruy...@gmail.com wrote:
-1 for breaking compatibility. I can see the need here and there, but
I have some apps running on
I like the idea that we are not breaking backward compatibility here .
Backward Compatibility not supported with web3py will be fine.
Rahul
On Sep 21, 10:19 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
WE WILL NOT BREAK BACKWARD COMPATiBILITY.
In fact there will be less changes
100 matches
Mail list logo