On Nov 3, 2010, at 8:45 PM, Leo wrote:
>
> I am running web2py 1.88.2.
>
> I have some modules I import that are not under the application's
> directory. These are moduled developed for other projects.
>
> Accessing the modules works fine within the app itself, since they are
> on the PYTHONPATH
On Nov 3, 2010, at 8:21 PM, mdipierro wrote:
>
> Here is the latest work by Branko (with minor edits by me):
This scales up (cmd +) rather badly under Safari, the buttons especially.
>
> http://web2py.com/demo_admin
>
> (also in trunk)
>
> This is the older one
>
> http://web2py.com/dem
Hi,
I am running web2py 1.88.2.
I have some modules I import that are not under the application's
directory. These are moduled developed for other projects.
Accessing the modules works fine within the app itself, since they are
on the PYTHONPATH. However, running the following cron command:
@re
This is now better in trunk. Please check it there.
On Nov 3, 10:53 pm, Bruno Rocha wrote:
> in this
> pagehttp://web2py.com/demo_admin/default/edit/demo_app1/controllers/defau...
>
> too much space used above the edit area, intead having 'save' and 'versions'
> below, this could be aside, or wi
in this page
http://web2py.com/demo_admin/default/edit/demo_app1/controllers/default.py
too much space used above the edit area, intead having 'save' and 'versions'
below, this could be aside, or within a toggle/accordion space. space
matters when editing files in admin.
2010/11/4 mdipierro
> H
The Edit button is pointing to /peek
2010/11/4 Bruno Rocha
> I think the accordion top bars are too much rounded, better to keep the
> same rounded degree as buttons have.
>
>
>
> 2010/11/4 mdipierro
>
> Here is the latest work by Branko (with minor edits by me):
>>
>> http://web2py.com/demo_
I think the accordion top bars are too much rounded, better to keep the same
rounded degree as buttons have.
2010/11/4 mdipierro
> Here is the latest work by Branko (with minor edits by me):
>
> http://web2py.com/demo_admin
>
> (also in trunk)
>
> This is the older one
>
> http://web2py.co
Here is the latest work by Branko (with minor edits by me):
http://web2py.com/demo_admin
(also in trunk)
This is the older one
http://web2py.com/demo_admin_halloween
My edits are:
1) I have made all edit buttons orange
2) links files and no longer buttons (consistently with original
vers
errata
views/default/user.html
On Nov 3, 6:51 pm, Andrew Evans wrote:
> How can I implement my own html template for the authentication/login to use
> throughout my site. I thought about redirecting it but that doesn't make
> sense... any ideas
I think you just want to edit the views/default/user.py
On Nov 3, 6:51 pm, Andrew Evans wrote:
> How can I implement my own html template for the authentication/login to use
> throughout my site. I thought about redirecting it but that doesn't make
> sense... any ideas
It should be easy to turn it into a plugin. Any takers?
On Nov 3, 6:20 pm, yamandu wrote:
> Is there a way to integrate into my app?
>
> On Nov 3, 8:39 pm, mdipierro wrote:
>
> > I just posted it. User Jeevan did it.
>
> > On Nov 3, 4:24 pm, Christopher Steel wrote:
>
> > > Wow, this seems to w
Massimo and others,
Google claims that count() does not have an enforced limit, though
they have mis-documented the feature. see
http://code.google.com/p/googleappengine/issues/detail?id=4001 if you
are curious. in order to get count to be truly limitless, you need to
pass limit=None to count.
How can I implement my own html template for the authentication/login to use
throughout my site. I thought about redirecting it but that doesn't make
sense... any ideas
Is there a way to integrate into my app?
On Nov 3, 8:39 pm, mdipierro wrote:
> I just posted it. User Jeevan did it.
>
> On Nov 3, 4:24 pm, Christopher Steel wrote:
>
> > Wow, this seems to work really well!
>
> > Thanks!!! Great work
>
> > On Nov 2, 6:09 pm, mdipierro wrote:
>
> > > This is Co
Ok, in trunk, this should work:
response.menu = [
(T('Home'), False,
A('hello',_href=URL(request.application,'default','index')))
]
Please let me know since I did not check it.
On Nov 3, 5:52 pm, Martín Mulone wrote:
> Or pass an A() instead of a url and you have all the elements.
>
> 2
Or pass an A() instead of a url and you have all the elements.
2010/11/3 mdipierro
> I guess we can modify MENU so that is we pass a fifth argument, it
> will be used for _onclick
>
> On Nov 3, 4:43 pm, "Martin.Mulone" wrote:
> > I want to pass to classical menu
> >
> > response.menu = [
> >
Yes, the new welcome is based in htmlboilerplate and has some things for
mobile but you have to test and make proper changes to
static/css/handheld.css and not all mobiles support media="handheld". Other
thing is the new jquery has improvements for mobile. Also there are a new
project in alpha http
Hello Uolter,
the use of exec_environment is really discouraged and rarely needed.
moreover cas is now integrated with web2py in gluon/contrib/
login_methods.
Before we do this... what do you need to do?
Massimo
On Nov 3, 3:52 pm, Uolter wrote:
> Can someone help me with the Execution Environ
Can someone help me with the Execution Environment?
Is the example on the book correct?
I'm talking about:
from gluon.shell import exec_environment
cas = exec_environment('applications/cas/models/db.py')
rows = cas.db().select(cas.db.user.ALL)
I gave it a go, but cas application does not exist
I guess we can modify MENU so that is we pass a fifth argument, it
will be used for _onclick
On Nov 3, 4:43 pm, "Martin.Mulone" wrote:
> I want to pass to classical menu
>
> response.menu = [
> (T('Home'), False, URL(request.application,'default','index'),'',
> [])
> ]
>
> something like
I just posted it. User Jeevan did it.
On Nov 3, 4:24 pm, Christopher Steel wrote:
> Wow, this seems to work really well!
>
> Thanks!!! Great work
>
> On Nov 2, 6:09 pm, mdipierro wrote:
>
> > This is CoreFive's Filemanager integrated with web2py. Also included
> > ckeditor to edit text and html
There is something in the new welcome in trunk. Martin did it. I am
not sure what it does thou.
On Nov 3, 4:16 pm, Christopher Steel wrote:
> Anyone know if someone has setup Web2py with device detection and/or
> created a mobile.css for web2py display on small displays?
>
> Chris
>
> On Nov 3, 2
We need to assemble a team.
On Nov 3, 3:00 pm, jnowl wrote:
> I keep an eye on python web frameworks.
>
> Here at Carleton a pilot has just begun:
>
> http://www2.carleton.ca/ccs/this-month-ccs/october-2010/learning-mana...
>
> Looking at the LMS's you mention (BB, D2L, Moodle). I don't work in
>
I have no idea what this does but this line looks very suspicious to
me:
maxSize = self._options['uploadMaxSize'] * 1024 * 1024 * 1024
On Nov 3, 3:42 pm, Phyo Arkar wrote:
> Maybe thats why.I was using elfinder , which i made web2py integration.
> The code is here:
>
> def __upload(self):
>
The oreder is important because validators are filters.
requires=[A,B,C]
input -> A -> B -> C -> database
database -> ~C -> ~B ->~A -> output
You get a dropdown if there is a single validator that has an options
attribute.
On Nov 3, 2:52 pm, andrej burja wrote:
> hi
>
> why is order of valida
... for completeness.. there are tests in there but they are not tests
of the web2py app. they are JS tests for HTML5 compliance of the
browser. That is useful but does not belong to a scaffolding app in my
opinion.
On Nov 3, 5:23 pm, mdipierro wrote:
> Yes but what we are talking about here are
Yes but what we are talking about here are not tests. We are talking
about a folder called test that provides examples of hos to customize
the layout. These examples may confuse new users since they require
extra modules, views and controllers.
On Nov 3, 2:50 pm, Branko Vukelic wrote:
> I've rand
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
I'm not going to participate this time!!!, but i'm going to help netadmin
with the submittion application.
2010/11/3 rochacbruno
> Nice! Until december I will finish one of my open projects.
>
> Enviado via iPhone
>
> Em 03/11/2010, às 19:18, NetAdmin escreveu:
>
> > Web2py Application Exhibiti
Nice! Until december I will finish one of my open projects.
Enviado via iPhone
Em 03/11/2010, às 19:18, NetAdmin escreveu:
> Web2py Application Exhibition Version 2.0
>
> Do you have a Web2py app that you'd like to show the world?
> If so, you may be interested in the Web2py Application Exhib
Wow, this seems to work really well!
Thanks!!! Great work
On Nov 2, 6:09 pm, mdipierro wrote:
> This is CoreFive's Filemanager integrated with web2py. Also included
> ckeditor to edit text and html files.
>
> Developed by Jeevan
>
> License: BSD
>
> http://web2py.com/appliances/default/show/70
Web2py Application Exhibition Version 2.0
Do you have a Web2py app that you'd like to show the world?
If so, you may be interested in the Web2py Application Exhibition.
The WAE is a way to...
1. Demonstrate what can be done with Web2py.
2. Share and learn about useful web2py, python, Javascript,
Anyone know if someone has setup Web2py with device detection and/or
created a mobile.css for web2py display on small displays?
Chris
On Nov 3, 2:21 am, Johann Spies wrote:
> It runs on the Nokia N900.
>
> Regards
> Johann
> --
> May grace and peace be yours in abundance through the full knowle
Meanwhile, and only If you want, send me or post here your nicknames of
twitter and I'll make a web2py twitter-list.
my twitter is @desmondo.
On Wed, Nov 3, 2010 at 10:06 PM, rochacbruno wrote:
> Do you mean showing who follows @web2py?
>
> I think it is a good idea, even to create some kind of
Do you mean showing who follows @web2py?
I think it is a good idea, even to create some kind of web2pyers network based
on twitter.
Enviado via iPhone
Em 03/11/2010, às 18:18, Michele Comitini escreveu:
> Don't you think some components using this on web2py.com home page
> would be nice?
>
I keep an eye on python web frameworks.
Here at Carleton a pilot has just begun:
http://www2.carleton.ca/ccs/this-month-ccs/october-2010/learning-management-system-trials-have-begun/
Looking at the LMS's you mention (BB, D2L, Moodle). I don't work in
the LMS area but would like to see python use
Maybe thats why.I was using elfinder , which i made web2py integration.
The code is here:
def __upload(self):
"""Upload files"""
try: # Windows needs stdio set for binary mode.
import msvcrt
msvcrt.setmode (0, os.O_BINARY) # stdin = 0
msvcr
Don't you think some components using this on web2py.com home page
would be nice?
2010/11/3 Bruno Rocha :
> Maybe it can be usefull for someone building a twitter app with web2py,
> I take this form an example posted by @gwidion on twitter.
>
> # -*- coding: utf-8 -*-
> import urllib, json
> #
On Wed, Nov 3, 2010 at 9:10 PM, Branko Vukelic wrote:
> 2010/11/3 Kenneth Lundström :
>> IS_IN_DB takes out the need for IS_NOT_EMPTY as the value has to be in the
>> database it can´t be empty.
>
> IS_THAT_TRUE? Because, I know for sure there's a use-case for
>
> IS_EMPTY_OR(IS_IN_DB())
>
> I
2010/11/3 Kenneth Lundström :
> IS_IN_DB takes out the need for IS_NOT_EMPTY as the value has to be in the
> database it can´t be empty.
IS_THAT_TRUE? Because, I know for sure there's a use-case for
IS_EMPTY_OR(IS_IN_DB())
I've used the above pattern a lot in a web.py app I've recently
crea
This is a educated guess but I think you can only have one requires,
when you write two the second is used. So if you put IS_NOT_EMPTY last
web2py only uses that one, and that alone is not enough for web2py to
build a dropdown.
IS_IN_DB takes out the need for IS_NOT_EMPTY as the value has to b
hi
why is order of validators important?
i have
db.tecaj.voditelj.requires=IS_NOT_EMPTY()
db.tecaj.voditelj.requires=IS_IN_DB(db,'person.id','%(name)s')
why does putting the IS_NOT_EMPTY() at the end doesn't produce
dropdown list?
do i need the IS_NOT_EMPTY() if i have IS_IN_DB validator?
andre
I've randomly read this topic in between CSS and short cigarette
breaks, and noted this part:
"About the tests. They are not heavy in the bandwidth sense. They just
clutter the design page and new users get lost. There is aleady too
much stuff in the design page. I am even considering hiding
appad
2010/11/3 mdipierro :
> Should I wait for a patch about this?
>
yes
> On Nov 2, 4:08 pm, Michele Comitini
> wrote:
>> Bruno Rochas pointed this out:
>>
>> http://www.ymacs.org/demo/
>>
>> cool!
>>
>> mic
Cool! And much easier than I tought.
I can simply create my own helper if I need position and other JS
BTW. Its a good idea to promote flash in to a built in helper and the mode arg.
Enviado via iPhone
Em 03/11/2010, às 16:27, mdipierro escreveu:
> One thing we can do is a FLASH helper tha
One thing we can do is a FLASH helper that allows:
response.flash=flash('test',mode='warn')
This is already in the new welcome app but we could promote flash to a
FLASH helper. Pros? Cons?
It would link a helper to some image static files that may not be
there.
We could add some JS code insider
On Nov 2, 7:38 pm, Jonathan Lundell wrote:
> On Nov 2, 2010, at 4:09 PM, pierreth wrote:
>
> A tuple works fine, but zero=None isn't part of the tuple.
>
> IS_IN_SET(("Dr", "Dre", "M.", "Me", "Mme", "Mlle", "Mr", "Miss", "Mrs",
> "hon"), zero=None)
>
You are right. I was wrong.
Would be a good idea to have more options for flash.
I.e: response.flash('hello world',position='top-right')
Enviado via iPhone
Em 03/11/2010, às 14:56, Martín Mulone escreveu:
> Massimo I think welcome is broken in trunk, there no files in views/ :O
>
> Often the user does not notice that s
Massimo I think welcome is broken in trunk, there no files in views/ :O
Often the user does not notice that something has just appeared in the flash
> box
Perhaps a variation of flash 'silen', that goes like an application
statusbar, on bottom and thin.
2010/11/3 mdipierro
> I think this is f
Should I wait for a patch about this?
On Nov 2, 4:08 pm, Michele Comitini
wrote:
> Bruno Rochas pointed this out:
>
> http://www.ymacs.org/demo/
>
> cool!
>
> mic
I think this is fixed and layouts now work with both old welcome and
new welcome.
Can somebody try it please?
Just install one random layout (old welcome and new welcome) and use
firebug to make sure superfish.js is found.
Massimo
On Nov 3, 4:37 am, Branko Vukelic wrote:
> On Wed, Nov 3, 2010
On Nov 3, 2010, at 8:40 AM, Bruno Rocha wrote:
>
> In my applications, sometimes I realize that the flash goes unnoticed.
>
> Often the user does not notice that something has just appeared in the flash
> box
>
> To fix this I usually put the flash centered, or use some kind of 'Expose'
> feat
In my applications, sometimes I realize that the flash goes unnoticed.
Often the user does not notice that something has just appeared in the flash
box
To fix this I usually put the flash centered, or use some kind of 'Expose'
feature, I am using expose from Jquery Tools
2010/11/3 Jonathan Lunde
On Nov 3, 2010, at 6:12 AM, Martín Mulone wrote:
> Online new version:
>
> http://web2pytesting.appspot.com/
Nice and simple. With all that room at the top, though, it'd be nice if the
flash didn't obscure the top-right navigation links.
>
>
>
> 2010/11/3 Martín Mulone
> - removed the tests
Ok
2010/11/3 mdipierro
> I agree jgrowl is better but not for a scaffold app. It requires
> downloading 3 more files and the advantages are minimal.
>
> About the tests. They are not heavy in the bandwidth sense. They just
> clutter the design page and new users get lost. There is aleady too
> m
I agree jgrowl is better but not for a scaffold app. It requires
downloading 3 more files and the advantages are minimal.
About the tests. They are not heavy in the bandwidth sense. They just
clutter the design page and new users get lost. There is aleady too
much stuff in the design page. I am ev
I too am interested in participating in a project like this.
Jose
More difficult to get is a list of States/Cities
2010/11/3 Martín Mulone
> Very usefull
>
> 2010/11/3 Jason Brower
>
> Yeah, I noticed that a few months ago. It's very nice to use.
>>
>>
>> On Wed, 2010-11-03 at 10:49 -0200, Bruno Rocha wrote:
>>
>>
>>
>> Countries as Python objects
>>
>>
>>
Very usefull
2010/11/3 Jason Brower
> Yeah, I noticed that a few months ago. It's very nice to use.
>
>
> On Wed, 2010-11-03 at 10:49 -0200, Bruno Rocha wrote:
>
>
>
> Countries as Python objects
>
>
> http://opencountrycodes.appspot.com/python/
>
>
>
>
--
My blog: http://martin.tecnodoc.c
Online new version:
http://web2pytesting.appspot.com/
2010/11/3 Martín Mulone
> - removed the tests (because make it un-necessarily heavy)
>
>
> Why do you think is heavy, yes there are new things, but none of them is
> loaded, only loaded by controller test. And test can be removed without
>
Yeah, I noticed that a few months ago. It's very nice to use.
On Wed, 2010-11-03 at 10:49 -0200, Bruno Rocha wrote:
>
>
>
> Countries as Python objects
>
>
> http://opencountrycodes.appspot.com/python/
>
>
2010/11/2 mdipierro :
> Most of that work was done on a very old web2py version. I never had
> the time to merge with the most current version. I have the thesis and
> I should go back study it.
can I help you in some way? I'm interested in it...
>
> Massimo
--
Manuele Pesenti
I'm new to Web2Py and like it a lot. I must say I was rather lost in
the admin UI at first. And still find it a bit slow to navigate
within. One thing I would like is to be able to have each section
(models/controllers/views et.c) on separate pages. In that case one
could easily open each one in a
2010/11/2 mdipierro :
> Most of that work was done on a very old web2py version. I never had
> the time to merge with the most current version. I have the thesis and
> I should go back study it.
can I help you in some way? I'm interested in it...
>
> Massimo
--
Manuele Pesenti
I am a Web2Beginner and I am trying to learn how to use it in a proper
way.
I'd like to add some Ajax-functionality to some areas of a Web2Py
application. I'm not sure how to approach it best.
For an example : I have a list with items, and actionlinks "edit" to
open each item in a jQuery dialog a
Maybe it can be usefull for someone building a twitter app with web2py,
I take this form an example posted by @gwidion on twitter.
# -*- coding: utf-8 -*-
import urllib, json
# Author: João S. O. Bueno
# License: LGPL V 3.0
def get_people_set(method, id, update=None):
url = "http://api.twitt
Countries as Python objects
http://opencountrycodes.appspot.com/python/
I think you can use InstantPress or plugin_wiki for doing that.
2010/11/3 Kenneth
> I´m thinking about setting up a site where anybody can post stories
> and then people can comment and maybe rate them.
>
> I looked through the Free Appliances but could not find a perfect fit
> for this.
>
> W
I´m thinking about setting up a site where anybody can post stories
and then people can comment and maybe rate them.
I looked through the Free Appliances but could not find a perfect fit
for this.
Would you make a new app from scratch, modify a Free Appliances or
maybe somebody has something like
>
> - removed the tests (because make it un-necessarily heavy)
Why do you think is heavy, yes there are new things, but none of them is
loaded, only loaded by controller test. And test can be removed without
affecting anything. The test are for a web developer, perhaps i don't
explain what the me
Sorry, I did't send the compelte information, while I was on mobile.
The easy way to render the 'http://' urls in web2py, is using markmin.
lets say you have a text
text = "ths is a text with a link http://www.rochacbruno.com.br";
To render the link as an Hyperlink you can use markmin.
{{=MARK
You can use MARKMIN()
Enviado via iPhone
Em 03/11/2010, às 06:12, Luther Goh Lu Feng escreveu:
> This probably isn't a web2py specific question but I thought I should
> ask anyway in case there is something relevant in web2py that I have
> missed.
>
> I have a comments form that is used to cr
Please ignore my previous email. I made a stupid mistake.
Regards
Johann
--
May grace and peace be yours in abundance through the full knowledge
of God and of Jesus our Lord! His divine power has given us
everything we need for life and godliness through the full knowledge
of the one who ca
Sure, the problem would have been solved that way. But if you want to
deploy your app in an external server or hosting, in my opinion is
easier to have it all integrated in the same application, than having
to run it in a sepparated one.
Thanks for your point of view!!
Bernardo
On 3 nov, 10:31, B
Sorry, I meant more in the way of how it works, rather than how you
like it. Since my initial idea was to solve the problem of
readability, rather than just cosmetic.
Once the whole template is done, we can discuss other aspects, sure.
On Wed, Nov 3, 2010 at 12:15 AM, Anthony wrote:
> OK, point
On 29 May 2010 03:38, Candid wrote:
> db.your_table.your_field.requires = IS_IN_DB(db, 'person.id', '%
> (name)s', orderby='person.name'))
>
> On May 28, 9:38 am, David Marko wrote:
>> Is there a way, how to specify order(sorting) in IS_IN_DB ? Its easy
>> to use it for validator and let web2py t
On Wed, Nov 3, 2010 at 6:00 AM, mdipierro wrote:
> We have two solutions:
> 1) change all layouts w2p files to look for superfish in static/ or in
> static/js
> 2) move all the current static files in static/ and our of static/css,
> static/js, static/images/.
>
> Probably 1) is a better option.
On Wed, Nov 3, 2010 at 9:48 AM, Bernardo wrote:
> The problem comes when, reading whoosh documentation, we find out that
> when indexing a document, whoosh lock the index (it is just locked to
> write, you can read in while indexing). So, how to solve this
> imposibility of concurrency? (Imagine t
Hi all,
I would like to share with you the integration process of this
searching code (Whoosh) in my web2py application. For those who don't
know it, Whoosh is a search engine fully written in python, so it is
easy to use in a framework such as web2py, but with some little
issues. Well, after plac
This probably isn't a web2py specific question but I thought I should
ask anyway in case there is something relevant in web2py that I have
missed.
I have a comments form that is used to create comments based on user
input. I would like to parse this user input such that any URLs
included will be c
On Nov 1, 11:45 am, cjrh wrote:
> import gluon.contrib.simplejson as simplejson
> return unicode(simplejson.dumps(make_result_list(msg_out, rows,
> success)), 'unicode-escape')
This is bad advice, because 'unicode-escape' will clobber all things
that have been escaped, including quotes. Y
Yes, especially when you have a look at how this thread started ...
LOL
Kind regards,
Annet
82 matches
Mail list logo