+1 it's confusing every body, I made this way because I don't want to touch
DAL.
This patch was applied?. I'm interested in this function.
are you sure is not syntax error?
db.executesql("insert into hytest (conent)values(%s)",content)
"conent"
like the idea, but we need a more complex design.
do you like web2pycentral?. :P
Our idea is to give solution to this items menu from web2py site:
- User Voice
- Perhaps alter ego (FAQ)
- Videos
- Web2py slices
- Free Appliance
- Plugins
But we don't want to make it too complex, because the time we can dedicated
to this. For comments we are g
:O the rumors run fast
db definition?.
exception message?.
http://martin.tecnodoc.com.ar/myblog/2011/01/17/plugin-comments-for-web2py
in create.html
#if recording!=record.thedate:}
you commented this line but you hasn't commented the pass, the same to
{{#session.uuid=record.uuid}}
and what is recording??.
my mistake this code in view
{{=XML(myscript)}}
http://martin.tecnodoc.com.ar/myblog/2011/01/10/hacking-web2py-sqlform-part-1
Look really good.
I think you are checking request.vars instead of request.args
There are no css customization over upload input in the base.css, because
any css rules is override with the browser, perhaps some yes, but it's hard
to achieve and requiere some js hacks and don't work with all browser. See
http://www.quirksmode.org/dom/inputfile.html if you want to do that, a
LGPL3 +1
Merry Christmas +1
+1
I like it, congrats good app!. I have a sugestion, Do you consider to make
janrain authetication?, because I don't like to put info of my google
account. A bit late for exhibition also :).
Great!, I will test tomorrow!.
I dont't understand this line: seems to me that dogs_teamname is not defined
db.users.team.requires = IS_IN_DB(db, 'dogs.teamname', ' dogs_teamname')
>From web2py from trunk I have this code. In older version has no problem with
>this. This stop instant press working with the last version.
==BEGIN CODE ==
db.define_table('problematic',
Field('id', 'id'),
Field('myfield','str
Thank you anthony. Sorry I was very busy yeasterday. I'll fix this today.
And yes don't vote for app exhibition is going to be deleted.
It's a security issue that can be exploided if you allow public to manage
width and height.
Google in appengine for serving image the size has to be in:
IMG_SERVING_SIZES = [
32, 48, 64, 72, 80, 90, 94, 104, 110, 120, 128, 144,
150, 160, 200, 220, 288, 320, 400, 512, 576, 6
There are some links in menu, that point to ex: web2py.com/book, in
web2py mainsite. Perhaps we need to change to www.web2py.com.
checkrole.py
---
class checkrole():
def mysession(name):
username=name
role=db.user(role,ldap=username)
return role
db.py
-
db=SQLDB('mysql://root:test...@localhost/web')
modrole=local_import('checkrole')
myrole = modrole.checkrole()
db.define_table('user',Field('ldap'),Fie
You can start submitting your application
http://w2pexhibition.appspot.com/
You can vote many applications you want only one time (you can
unvote). The most voted application won. I made an example and there
is link with the source code in the site. I'm only made the app, Mr.
Netadmin is in charg
If it's for small things you can use:
http://groups.google.com/group/web2py/browse_thread/thread/1a1d52d29611564d/3ef8ca27ecfcea58?lnk=gst&q=table+div#3ef8ca27ecfcea58
On Nov 9, 2:36 pm, villas wrote:
> I want to customize the result of SQLTABLE so that it can make me a
> nice table without li
Did you try?
IMG(_src=URL('static', str(T('images/someimage.jpg'
On 12 nov, 20:59, Branko Vukelic wrote:
> I'm using the URL method as a src attribute for an image like so:
>
> IMG(_src=URL('static', 'images/someimage.jpg'))
>
> This image contains some text that must be translated, so there
I decided to start to make my own implementation of table maker. The
diference with sqltable or TABLE(), it use div (more flexible), accept
web2py helpers as values and is very simple to use.
Example:
http://web2pytesting.appspot.com/tablediv/
Code:
table =
SIMPLE_TABLE_DIV(fixedwidth=True,maxw
;,'exit', there
are no action 'file'. The same here 'Resorces' is to display submenus
and so on
On 5 nov, 22:14, mdipierro wrote:
> I understand that. But do you want dead links in the welcome menu?
>
> On Nov 5, 7:13 pm, "Martin.Mulone" wrote:
&g
here i found some explanation
http://www.webdevelopersnotes.com/tutorials/javascript/javascript_event_handlers_onclick_ondblclick.php3
On 5 nov, 20:57, "Martin.Mulone" wrote:
> This is the correct way to make a link to do nothing, so you can click
> and going to display sub-men
This is the correct way to make a link to do nothing, so you can click
and going to display sub-menus without going to a link. If you put a
normal link with # or #nolink some browser (mosts) interpreat to
search in the page this anchor, and move the screen.
On 5 nov, 20:44, mdipierro wrote:
> I a
Thanks branko look very good.
Some little things
-less rounded in title headers?
-the orange in "button edit" still killing my eyes?
-"submit" button has no margins
-Why not by default in edit => all collapsed ?
-The font color in top menu orange with green background is not
getting well, you tri
I want to pass to classical menu
response.menu = [
(T('Home'), False, URL(request.application,'default','index'),'',
[])
]
something like _onclick="" to make an ajax call. I implement myself my
own menu class, but broke the compatibility. There are any way to do
this?, because is very use
the new logo powered by is there I didn't make an example with the new
version, you have to download from repository.
On 2 nov, 19:16, Bruno Rocha wrote:
> Needs to change the 'powered by' sticker at the bottom. to the new one.
>
> 2010/11/2 Martin.Mulone
>
>
g more beautiful.
>
> On 28 September 2010 23:29, Martin.Mulone wrote:
>
>
>
> > It's cost me a lot of time really, but I think i did it, after many
> > try, i think the only way we have proper columns (sidebars) is with
> > fixed width, so i have to know in the momen
About Instant Press, instead of testing page make link to my new blog
made with instant press about instant press, python and web2py . I am
not going to maintain test page in appspot but the blog yes.
The link is http://martin.tecnodoc.com.ar/
On Oct 24, 10:44 pm, mdipierro wrote:
> If you do, I
or make your own amazon, when people buy the book, it render the
online version to the book. +1 great video.
On Oct 21, 5:08 pm, mdipierro wrote:
> LOL
>
> Think about me. This makes the book obsolete and the publisher did not
> even send tot amazon yet. ;-(
>
> On Oct 21, 2:14 pm, guruyaya wrot
We need to have own application made it in web2py. This is great!.
When you have something to show, some preview, screenshot, anything
tell us.
On 21 oct, 03:51, Adi wrote:
> Hi all,
>
> I'd like to introduce you all to a very simple uservoice clone app
> made in web2py:http://github.com/adsahay/
ip already.
* More test and fixings bugs that i introduce fixing things :P
On 20 oct, 01:45, Richard wrote:
> On Oct 19, 8:58 pm, "Martin.Mulone" wrote:
>
> > > Opening and closing all those admin panels takes a lot of mouse work
>
> > I'm going to see, I d
Great tip!. This is very usefull! and you make it in trunk :D
On 17 oct, 23:03, mdipierro wrote:
> Replace your web2py/routes.py with this:
>
> - begin routes.py---
> try: config=open('routes.conf','r').read()
> except: config=''
> def auto_in(apps):
> routes=[
> (
> Martin, a suggestion is to include the option of writing in Markmin format.
Ok I believe this not hard to implement
> Do you have a clone in BitBicket or Mercurial in Google ?
I'm planning to move to bitbucket.
> Opening and closing all those admin panels takes a lot of mouse work
I'm going
ckeditor
On 18 oct, 19:11, Stef Mientki wrote:
> looks fantastic !!!
> which html editor did you include ( can't remember having a so extended
> editor in a web2py
> application) ?
> thanks,
> Stef
>
> On 18-10-2010 17:09, Martin.Mulone wrote:
>
>
http://groups.google.com/group/web2py/browse_thread/thread/4abaf58c38f31ae5/5a3b1f19ce4dbab0?lnk=gst&q=compile+application+#5a3b1f19ce4dbab0
from mdipierro
yes, make a script compile.py
from gluon.admin import app_compile
app_compile(request.application, request)
and run it with
python
I already have the domain instant2press.com
On Oct 18, 1:36 pm, mdipierro wrote:
> press2py, word2py, py2press, press4web, word4web, etc.
>
> On Oct 18, 11:05 am, Jonathan Lundell wrote:
>
>
>
> > Here's an idea, free for nothing, for this or some other application: name
> > it Web Press. (I ha
After almost 3 month of heavy development, i think its mature enough
to move to beta phase. Well for me was a proof of concept, of what can
i do in web2py, i have to thank to massimo and the community to
answered my littles questions. What's new in beta, well i suggest to
see the page and watch new
A new variation to favicon + current design:
http://blouweb.com/logovote/default/index?logoid=124
On Oct 18, 11:16 am, Anthony wrote:
> I agree with Bruno's thoughts on the current logo (i.e., #5 and #17 on
> the logovote site). It is based on Massimo's thoughtful design concept
> -- if you miss
python 2.3 is not supported: only python 2.4+
On 18 oct, 06:36, victors wrote:
> OK Maximo
>
> here the log:
>
> MOD_PYTHON ERROR
>
> ProcessId: 15678
> Interpreter: 'www.empresasdomotica.com'
>
> ServerName: 'www.empresasdomotica.com'
> DocumentRoot: '/home/sangar05/domains/empresa
I think "Approval Voting" is better way than the current, easy to
implement and I ready to do so what the others think?. Random is very
annoying, and i dont believe that change anything in matter of votes.
How about that after deadline for sending ideas (1 day after or two)
have the 5 or 6 most vot
auth.settings.login_next = URL('index')
http://web2py.com/book/default/chapter/08?search=login_next
On 17 oct, 09:03, Amit Ambardekar wrote:
> I am some public page. Not [app]/default/index
>
> And when I log in. I am supposed to be redirected to that page not
> home page. It always redirects to
Do you get a web2py error or a page telling that this png is not
supported?. Because I think is the last one. The pil is installed not
support interlaced png.
On 15 oct, 22:20, weheh wrote:
> logovote uploading capability is broken.
It came to my mind, with a little modification, we can have our
uservoice and stackoverflow. And if you want to contribute to another
project logo put in description: web2pyslice, etc. this is easy to
implement.
On Oct 15, 7:32 am, "Martin.Mulone" wrote:
> Great work bruno. The
Great work bruno. The comments are working!. Yes I think we have to
show comment counter and make the vote as a rating system.
On 15 oct, 03:30, Bruno Rocha wrote:
> I added your comment and some more important info
> tohttp://www.blouweb.com/logovote/default/upload
>
> 2010/10/15 mdipierro
>
>
users can change the choice any time they want.
>
> 2010/10/14 Martin.Mulone
>
>
>
>
>
> > Ok i made some changes:
>
> > * Now the voter are hide only admin can view the votes.
> > * Now you can delete your logo. An the admin can delete all the logos.
>
Ok i made some changes:
* Now the voter are hide only admin can view the votes.
* Now you can delete your logo. An the admin can delete all the logos.
* Now is listing randomly
* TODO: comments.
Bruno has to test it and deploy.
On Oct 14, 7:05 pm, mdipierro wrote:
> select(orderby='')
>
> On Oc
Strange I think:
from gluon.validators import *
but this is imported by default app or are you using modules?
On Oct 14, 8:16 am, Francisco Costa wrote:
> I'm getting this:
>
> NameError: global name 'IS_NOT_EMPTY' is not defined
>
> What should i import?
I like your concept weheh
On Oct 14, 12:18 am, weheh wrote:
> If anyone can delete 22, 23, and 24, please, you have my permission to
> do so.
On 13 oct, 18:17, Richard wrote:
> I remember talk about ability to upgrade through admin - is that
> practical?
>
In production with wsgi-apache2 is not practical.
A dream if I can do in the server: sudo apt-get update, sudo apt-get
upgrade.
The process of debian is very slow, perhaps a ppa. An
Bruno you made the banner tricky!!! ;)
On Oct 13, 6:42 pm, Bruno Rocha wrote:
> Martin Mulone is the creator of the app!
>
> After uploading your ideas, dont forget to vote!
>
> or just vote for which one you think is better.
>
> 2010/10/13 Thadeus Burgess
>
>
>
>
>
> > That is awesome Buno! Kud
You can also use the html5 normalize welcome
http://web2pytesting.appspot.com/static/welcome.zip
You only have to edit view/default/index.html
and change:
left_sidebar_enabled = True
right_sidebar_enabled = False
and here put some content:
{{block left_sidebar}}
Now are looking great, also i like the others logos.
On Oct 12, 6:54 pm, Bruno Rocha wrote:
> Or we can just take examples app and switch the logo by given args
>
> something like:http://web2pylogocontest.appspot.com/examples/index?logo=1
>
> we need to create a page for uploading logos to GAE.
>
http://blogs.sitepoint.com/2010/10/08/the-w3c-and-the-html5-isnt-ready-backlash/
On Oct 6, 4:04 pm, mdipierro wrote:
> BTW... what do you think about this?
>
> http://www.infoworld.com/d/developer-world/w3c-hold-html5-in-websites...
>
> On Oct 6, 1:46 pm, mart wrote:
>
>
>
> > which one... googl
great!. Multiple notification are awesome.
On 6 oct, 23:18, mdipierro wrote:
> You may want to change web2py_ajax.html and replace
>
> if(jQuery('.flash').html()!='') jQuery('.flash').slideDown('slow');
> ...
> if(flash) jQuery('.flash').html(flash).slideDown();
>
> with
>
> if(jQuery('.flash').h
dumps(info)
On Oct 6, 6:59 pm, mdipierro wrote:
> Perhaps I do not understand but I do not see any problem with your
> example code below.
>
> On Oct 6, 4:44 pm, "Martin.Mulone" wrote:
>
>
>
> > i see, well this "caching" method is more dangerous w
999
>
> will all be cached separately and cause a memory leak.
>
> On Oct 6, 1:43 pm, "Martin.Mulone" wrote:
>
>
>
> > a simple question about cache
>
> > if i have this in controller:
>
> > @cache(request.env.path_info, time_expire=CACHE_TI
a simple question about cache
if i have this in controller:
@cache(request.env.path_info, time_expire=CACHE_TIME_EXPIRE_PAGES,
cache_model=cache.ram)
def index():
try:
page = int(request.args[0])
except:
page = 1
d = dict(page=page)
return response.render(d)
but
i think the future is html5, html5 is getting webcam and voice
support. As google said the future of applications are web
applications.
On Oct 6, 11:42 am, mart wrote:
> I think someone mentioned something about that openSource Natural
> Language Toolkit (http://www.nltk.org/) last month, which i
Look great!. do you plan in future to make english language? are you
using T()?.
Un saluti de martín.
On Oct 6, 11:31 am, ceriox wrote:
> Hi all,
> i'm sorry but my project is only for italy, so the rest of the message
> is in italian language.
>
> Ciao a tutti gli utenti italiani di questo grup
in my opinion we have already a template system, another one or mix
with web2py is to complicate things. Perhaps not, but sure we are
going to have people writing python code in javascript block, and
javascript in python block.
On 2 oct, 02:10, yamandu wrote:
> Hi, I found thishttp://www.embedded
for all interested in seo, google update his SEO guide.
http://googlewebmastercentral.blogspot.com/2010/09/seo-starter-guide-updated.html
width))
> > else:
> > logging.info("resize width and height")
> > img.resize(int(request.vars.width),
> > int(request.vars.height))
> > return img.execute_transforms(images.JPEG)
> > else:
> > r
It's cost me a lot of time really, but I think i did it, after many
try, i think the only way we have proper columns (sidebars) is with
fixed width, so i have to know in the moment of views if its sidebar
right, sidebar left, both or none. This complex the view, but work out
the box without editing
e more people can do just with css, the better.
>
> On Sep 27, 3:08 pm, "Martin.Mulone" wrote:
>
>
>
> > Because we don't need it. I dont delete ez-css from base.css so you
> > can use it if you want.
>
> > This is the old code utili
A line break in code not make anything visually, this is another
thing, perhaps ie margin bug.
jaja stephen has many other things better to do than web2py :P
On 27 sep, 23:12, mdipierro wrote:
> I read you but I do not understand how this is possible.
> Is your name really Steven Hawking?
>
> On
to?
> what is DC.?
>
>
>
>
>
> Massimo
>
> On Sep 27, 2:36 pm, "Martin.Mulone" wrote:
>
>
>
> > fixed.
>
> > you can test in css_test at the bottom i put multiple. You have to
> > reload the page to see the changes because of cach
hat is DC.?
>
>
>
>
>
> Massimo
>
> On Sep 27, 2:36 pm, "Martin.Mulone" wrote:
>
>
>
> > fixed.
>
> > you can test in css_test at the bottom i put multiple. You have to
> > reload the page to see the changes because of caching.
>
> >http:/
fixed.
you can test in css_test at the bottom i put multiple. You have to
reload the page to see the changes because of caching.
http://web2pytesting.appspot.com/welcome/default/test_css
On Sep 25, 1:41 am, Luis Díaz wrote:
> Greetings,
> there is an option select multiple problems.
>
> should
I don't recommend to use ports 9090, you have to use port 80 in
production. If you are testing it's ok
On 27 sep, 01:39, Rahul wrote:
> By the way, Just curious if anyone was able to access the site and the
> application contained using this
> url.http://www.flockbird.com:9090/web2py/Flockbird
>
better way:
link = 'http://' + str(request.env.http_host) + URL('show',
args=row.id)
On 26 sep, 06:30, Tom Atkins wrote:
> Thanks for the replies. I worked out what the problem is. The code in the
> book is incorrect. The line:
>
> link = URL('show', args=row.id)
>
> does not produce a full UR
I already fix this issue, and put the notification more centre. You
can see the changes in:
Html5 test font and edit content
http://web2pytesting.appspot.com/html5
And the notification example
http://web2pytesting.appspot.com/notification/
On Sep 24, 2:34 pm, "dustin.b"
wrote:
> hi, i followed
ed.
this is the welcome:
http://web2pytesting.appspot.com/welcome/
this is the source:
http://web2pytesting.appspot.com/welcome/static/welcome.zip
http://web2pytesting.appspot.com/welcome/static/welcome.w2p
On Sep 23, 6:46 pm, "Martin.Mulone" wrote:
> Ok this is what i want to k
Ok this is what i want to know, i'll going to fix tomorrow.
On Sep 23, 6:13 pm, rochacbruno wrote:
> Sidebars are there to be used with plugin_wiki that has meta-sidebar
>
> Enviado via iPhone
>
> Em 23/09/2010, às 18:09, "Martin.Mulone" escreveu:
>
>
>
last thing you have to reaload F5 because of cache browser or use
http://web2pytesting.appspot.com/welcome2/
On Sep 23, 6:06 pm, "Martin.Mulone" wrote:
> Version 2.0
>
> * About validation, this almost validate in html5 but one thing that
> is important, that force to
pot.com/welcome/static/welcome.w2p
And test this, the classical database example with new layout:
http://web2pytesting.appspot.com/database_example/default/register_dog
On Sep 22, 6:12 pm, Jonathan Lundell wrote:
> On Sep 22, 2010, at 1:47 PM, Martin.Mulone wrote:
>
>
>
> >
the resources menu should go in admin, not welcome and the
But the programmer have the option to make your own menu, i am going
to make some examples of using menus.
On Sep 22, 2:33 pm, "Martin.Mulone" wrote:
> welcome app normalize hack ie and html5 ready
>
> I made some changes
welcome app normalize hack ie and html5 ready
I made some changes to welcome app, based on this http://html5boilerplate.com/
and other stuff.
* Added support ie 6.0 png transparency (hack)
* Normalize all tags
* Support for html 5 (future), using http://www.modernizr.com/, that
detect if your bro
I think to deal with your problems is what KMax says
On Sep 21, 1:02 am, KMax wrote:
> Did you check errors in admin page?
> Ajax errors not easy to catch due their hideness.
> Try FireBug or other simular tools (Google chrome & IE8 has own build-
> in)
>
> On 13 сен, 10:40, weheh wrote:
>
>
>
Great!
On Sep 18, 3:12 am, mdipierro wrote:
> http://code.google.com/p/conf2py/
>
> can you try run it and check if you run into any setup/intallation
> issues?
I think you also need:
response.headers['Content-Type']='text/plain'
On Sep 17, 10:21 am, mdipierro wrote:
> sorry I forgot.
>
> Imagine you have:
>
> db.define_table('mytable',Field('somedata','text'))
>
> you can define an action:
>
> def gimmefile():
> #http:///gimmefile/
> myreco
To hide a field:
Field('out','boolean',writable=False,readable=False)
And computed fields in book:
http://web2py.com/book/default/chapter/06#Computed-Fields
On 17 sep, 05:58, Fabio Alessandro Locati wrote:
> Hi,
> I'm trying to make a form with a hidden field, but I haven't found the way
> to d
WDT - Web Developer Tools
http://gnome-look.org/content/show.php/WDT+-+Web+Developer+Tools?content=129726
thanks mariano.
On 16 sep, 01:16, Mariano Reingart wrote:
> Bruno, I'm glad you liked PyFPDF, and thanks Massimo for this great
> framework and his openess to accept contributions :-)
>
> In short, you can convert HTML to PDF (ie. reports and listing using
> tables, images, lists), and you can us
Very interesting, +1.
On Sep 15, 4:03 pm, Michael Ellis wrote:
> Just came across this while searching for something else. Haven't
> played with it at all yet. Looks as though the authors have packaged
> together a fairly comprehensive set of html/css/js techniques for
> cross-browser compatib
First to use blobstore you have to enabled billing. Yes for your
approach i think the best is to use blobstore in gae.
Take a look to this:
http://www.web2pyslices.com/main/slices/take_slice/63
And to display images use the new introduce function get_serving_url
is really fast and doesnt consume
happy programmer's day to all
On Sep 13, 9:15 am, mdipierro wrote:
> http://en.wikipedia.org/wiki/Programmers%27_Day
thanks, is fixed now
On Sep 10, 1:55 pm, mdipierro wrote:
> I think it is fixed now.
> very strange. I remember having this that already this week. Perhaps a
> de ja vu.
>
> Massimo
>
> On Sep 10, 11:32 am, "Martin.Mulone" wrote:
>
>
>
> > I c
I continue here because google dont like my reply
http://code.google.com/p/web2py/issues/detail?id=108
On Sep 10, 12:14 pm, mdipierro wrote:
> can you help me debug this? Why is the code below wrong?
>
> On Sep 10, 9:40 am, "Martin.Mulone" wrote:
>
>
>
> >
We were unable to post your message
On Sep 10, 12:14 pm, mdipierro wrote:
> can you help me debug this? Why is the code below wrong?
>
> On Sep 10, 9:40 am, "Martin.Mulone" wrote:
>
>
>
> > I report a bug with 'contains' in gae in list:string but
I report a bug with 'contains' in gae in list:string but in trunk is
not fixed. I want to know if this is going to be fixed and when
because is important.
this simple make in gql.py do the job
in gluon/contrib/gql.py
-
def contains(self, value):
if self.ty
Yes but i think this is gae thing. You try? with max(id) or add some
datetime field and order by this field like Field('created_on',
'datetime',
default=datetime.datetime.today(),writable=False,readable=False)
On 9 sep, 03:06, b vivek wrote:
> Ok so if i have a table in my db named homepage as be
= clean_words)
To search i Use contains().
This remove the stop words of the text and save in a list string.
http://code.google.com/p/instant-press/source/browse/trunk/models/fulltext.py
If you have a better ideas i am listening :)
On 6 sep, 07:45, "Martin.Mulone" wrote:
> This is
1 - 100 of 145 matches
Mail list logo