I am glad you guys agree. I actually don't even know where to get
pluggins at this point. For example, I could jsut add all the pluggins
I need at ones for an app I am buildings in one quick snap.
--Plugins---
|X| Creditcard transations
| | Blog Tool
|X| Admin Tool
|X| Bandwidth Throttler
| | Por
Hei,
Totally off topic. But wanted to say thanking for using web2py in
finland!
Best Regards,
Jason Brower
(Oulu)
On Wed, 2010-01-20 at 21:45 -0800, kari wrote:
> Thanks for the reply - I think a typo in my original message might
> have
> given a wrong impression of the problem I am facing.
>
>
well, thanks by explanation.
:-)
I think my confusion is because debian/ubuntu, at 'apt-get install
libapache2-mod-wsgi', install by default apache2-worker.
I tested installing libapache2-mod-php5 after mod-wsgi, (e change to
apache2-prefork) and web2py still works
The rest is the trick to con
2010/1/15 mr.freeze :
> WebGrid can handle large datasets as it limits the query by the page
> size if the datasource is a Set or Table(s). The performance hit will
> come in when the filter row is enabled since each filter is a query
> for all distinct values in a field. I would try disabling the
Is there any way to log when files are downloaded from the static
directory of an app and see when they started downloading and when
they completed?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googl
2010/1/21 Graham Dumpleton :
> As asked in the thread:
>
> http://groups.google.com/group/web2py/browse_frm/thread/6ae2a411d79ade50
>
> where similar question was asked, you need to indicate:
>
> """
> What needs to control the root page of the web server, a PHP script
> or
> web2py?
>
> Can the
I copied my application to another directory and cleared
out the cache variables (because web2py was complaining
about them):
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2010
Version 1.74.6 (2010-01-17 12:41:15)
Database drivers available: SQLite3
Starting cron...
I would like the table produced by SQLTABLE to have different column
labels (e.g. "Name" for "db.person.name"). How do I do it?
Also: I would like the output of SQLTABLE to provide links to
individual records simliar to what appadmin does. I could not fully
understand the code appadmin uses to a
I'm using web2app for a small one-off application in a
corporate setting, quickly making changes to code to
get a project done. Two users behind a corporate
firewall. It's become a real hassle when application
errors occur because the tickets aren't visible.
I can understand not making the admi
Hi to all,
I'm new to the list and also to web2py (I started learning it a week
ago).
So first of all I must say Thank You to Massimo and to the community
for such a great framework!!! Your work is much appreciated!
Now back to my question.
I've a database on a mssql server with some tables; i need
I completely agree with this but one more step is necessary.
Currently with "web2py plugin" we just mean an autonomous subset of an
app.
To do what you want we need a sophisticated kind of plugin. I think we
need a CMS and plugins that can talk to the CMS. We need a protocol.
Massimo
On Jan 21,
You could check the web server logs in web2py/httpserver.log or the
apache logs.
You could also implement your own download action:
db.define_table('mylog',Field('filename'),Field
('start','datetime'),Field('stop',datetime'))
def static():
import datetime
path = os.path.join(request.fold
Thanks Jeff. We use google code for issue tracking.
There are not many because most of the issues you see are with trunk
version and therefore we try solve them before they make it to stable.
Anyway, if users log the issues, I update it on google code. I tend
not log the issues myself because it ta
massimo-di-pierros-macbook:web2py_jeeva mdipierro$ python web2py.py -S
welcome
...
>>> help(SQLTABLE)
class SQLTABLE(gluon.html.TABLE)
| given a SQLRows object, as returned by a db().select(), generates
| an html table with the rows.
|
| optional arguments:
|
| :param linkto: URL (or lam
It should be trivial to make a view_tickets app by taking the
appropriate action from admin and add auth.
I encourage people to build one and I will be happy to post it.
Massimo
On Jan 21, 7:51 am, Jeff Bauer wrote:
> I'm using web2app for a small one-off application in a
> corporate setting,
Hi Pier, welcome to the group.
I believe there is a slight misunderstanding probably generated by
Note 5 in the referenced post:
5) update_record function is not available
update_record is a function used to update single records (objects of
class gluon.sql.Row) and for technical reasons it is n
So this works
db(query).update(field=value,...)
but this
db(query).select().first().update_record(field=value,)
does not for keyed tables.
thanks Denes for the clarification.
On Jan 21, 8:20 am, DenesL wrote:
> Hi Pier, welcome to the group.
>
> I believe there is a slight misunder
hi to all!
a couple of questions. i'm writing a simple blog to get used to web2py
and get my hands dirty with it (and i love it so far!).
each blog post has a title. as i want that title to be in the url when
retrieving the post, i need what in django is called a "slug" field,
or a pretty, url-fr
Thanks!
2010/1/21 mdipierro :
>
> massimo-di-pierros-macbook:web2py_jeeva mdipierro$ python web2py.py -S
> welcome
> ...
help(SQLTABLE)
> class SQLTABLE(gluon.html.TABLE)
> | given a SQLRows object, as returned by a db().select(), generates
> | an html table with the rows.
> |
> | opti
On Jan 20, 6:44 pm, "hamdy.a.farag" wrote:
> Thank you Denzel for replying
>
> for the IS_EXPR(), In fact I did my own validator that does what I
> need
> It's nice though to know about "onvalidation" which makes life easier
>
> For the other translation problem, I guess after all that error
> mes
Thanks it will be useful. Can you email me the code?
form.accepts(request.vars, session)
detects submission of some hidden fields in the form (this way works
with both GET and POST).
if returns True ONLY if the form was submitted and no errors, else
otherwise.
if form.accept(...)
# accepted a
Great!
So is even easier to do than expected! (my fault to not double check
what update_record does, sorry)
Once again Thank you!
Pier
On 21 Gen, 15:37, mdipierro wrote:
> So this works
>
> db(query).update(field=value,...)
>
> but this
>
> db(query).select().first().update_record(field=
Hi
Is not it nice to have toutes.py in my models/ so that I can have a
route system on the application level and in the same time I can have
something like:
id = None
if request.function == show:
id = db(db.table.name == request.args(0)).select(db.table.id)
[0].id
routres_in = (...
aha, sorry for the misunderstanding
Thanks,
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For mor
That shouldn't be too hard to do. In the meantime, I
realized that I could just grab the tickets from:
web2py/applications/myapp/errors
Jeff Bauer
Rubicon, Inc.
On 01/21/2010 08:12 AM, mdipierro wrote:
It should be trivial to make a view_tickets app by taking the
appropriate action from ad
A another way to define a different column name is using label
Field('myfield', label ='myothernametofield')
(in model)
or in controller/function (if you don't want to all app))
db.mytable.myfield.label = 'myothernametofield'
2010/1/21 Johann Spies
> I would like the table produced by SQLTABL
ops, its don't work for sql tables...
2010/1/21 Alexandre Andrade
> A another way to define a different column name is using label
>
> Field('myfield', label ='myothernametofield')
> (in model)
>
> or in controller/function (if you don't want to all app))
> db.mytable.myfield.label = 'myothernam
also look into scripts/tickets2db.py
On Jan 21, 10:34 am, Jeff Bauer wrote:
> That shouldn't be too hard to do. In the meantime, I
> realized that I could just grab the tickets from:
>
> web2py/applications/myapp/errors
>
> Jeff Bauer
> Rubicon, Inc.
>
> On 01/21/2010 08:12 AM, mdipierro wrot
Johann, mdipierro is correct in saying that setting up web2py with
cherokee, for example, is no different than setting up any other
framework, there are not many options for framework-server
integration. A couple of weeks ago I was also very frustrated with
setting up a production server, but was a
Although, I take my words back. My way is not the simplest. =) But it
is not hard at all and is powerful.
On Jan 20, 6:43 pm, Johann Spies wrote:
> As I am unable to get a solution to my problems serving web2py using
> apache alongside other sites I am trying out Cherokee - so far with no
> succe
Trying to locate older posts in this group using Google, Gmane, Bing,
etc. seems like an exercise in futility. Even with the exact subject
of the post NONE of the above can locate it. Ridiculous.
No wonder some of the questions keep popping up.
Does anybody know of a better way?.
We might need to
What are you trying to find ?
-Thadeus
On Thu, Jan 21, 2010 at 3:27 PM, DenesL wrote:
>
> Trying to locate older posts in this group using Google, Gmane, Bing,
> etc. seems like an exercise in futility. Even with the exact subject
> of the post NONE of the above can locate it. Ridiculous.
>
I'm using web2py on GAE, and wanted to be able to click on a link and
view tickets in that world, so i basically did a copy of the code from
the admin interface into my default.py so that my app can display the
tickets. I'll paste it in here, hope it copies fine in email (i don't
think i can add a
I already found the post by scrolling thru pages and pages.
So then, using the exact words in it, a search got this many hits:
zero, zip, zilch, nada!
just as if it did not exist.
There must a better way...
--
You received this message because you are subscribed to the Google Groups
"web2py-use
i usually use google: site:groups.google.com/group/web2py/ myquery
but I am not sure if google archives older posts and provides a
different interface for them
On Jan 21, 10:36 pm, Thadeus Burgess wrote:
> What are you trying to find ?
>
> -Thadeus
>
>
>
> On Thu, Jan 21, 2010 at 3:27 PM, DenesL
great idea, i wrote a couple of plug-ins by now which i guess some of
could find useful (user admin, generic star-rating, binarry rating,
comments (improved), tagging (improved), systems biology annotations)
but since i got like no feedback on posting my fist plug-in and seeing
no one else post plu
Hi again!
I don't know if this may make any sense as a standard feature, but
anyhow... How can I calculate, with a fairly exact approximation, the
total time taken to generate a page? What is a reliable "entry point"
and "exit point" in web2py page life cycle? In other words: how to get
he number o
We're going to have a problem though that there will be multiple
versions of the same plugin that does the same thing. I also have a
comments/tagging/star-rating for my blog, if they offer the exact same
functionality (i already have a markdown embeded into my comment
plugin) then we don't need two
There is also the fact that plugins are just a subset of an app with a
naming convention. I do not consider them plugins personally. I think
trac has the idea of plugins down, as well as other python
applications.
The issue comes down to, we all want a kick ass plugin system, but
nobody wants to (
Hi,
I think it is really cool that web2py works under the hood to keep a
site secure (sql injection, xss...) and that it integrates and
encourages reCaptcha.
As a user, though, i find captchas, in general, and reCaptcha in
particular to be annoying and invasive. For a small site that I'm
building
Thanks, howesc. I think having a mechanism similar to this
and supported by Massimo would not be too much of a security
risk, assuming it's not turned on by default. There's a
big difference between allowing a user to view your source
code and granting full admin access.
I've added a new issue
I would like to show dynamic pretty URLs from the root of my app, such
as:
mysite/pretty-url
instead of:
mysite/blog/post/show/pretty-url
Do I need routes for this?
Richard
On Jan 22, 1:38 am, pistacchio wrote:
> hi to all!
> a couple of questions. i'm writing a simple blog to get used to web2
This logged already in web2py/httpserver.log
On Jan 21, 4:57 pm, pistacchio wrote:
> Hi again!
> I don't know if this may make any sense as a standard feature, but
> anyhow... How can I calculate, with a fairly exact approximation, the
> total time taken to generate a page? What is a reliable "en
You can also run with
-F PROFILER_FILENAME, --profiler=PROFILER_FILENAME
profiler filename
for more detailed info.
On Jan 21, 4:57 pm, pistacchio wrote:
> Hi again!
> I don't know if this may make any sense as a standard feature, but
> anyhow... How can I calculate, wi
there is a captcha app on web2py.com/applicances you may want to look
at.
On Jan 21, 5:12 pm, pistacchio wrote:
> Hi,
> I think it is really cool that web2py works under the hood to keep a
> site secure (sql injection, xss...) and that it integrates and
> encourages reCaptcha.
>
> As a user, thou
can you please email it to me? thank you.
On Jan 21, 4:07 pm, howesc wrote:
> I'm using web2py on GAE, and wanted to be able to click on a link and
> view tickets in that world, so i basically did a copy of the code from
> the admin interface into my default.py so that my app can display the
> t
yes.
On Jan 21, 6:14 pm, Richard wrote:
> I would like to show dynamic pretty URLs from the root of my app, such
> as:
> mysite/pretty-url
>
> instead of:
> mysite/blog/post/show/pretty-url
>
> Do I need routes for this?
> Richard
>
> On Jan 22, 1:38 am, pistacchio wrote:
>
> > hi to all!
> > a
Have you come across a JQuery plugin that supports rapidly skimming
through an image set like Google's Fast Flip?
For demo see http://fastflip.googlelabs.com/
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to w
Hrm, I've been able to make it detect when the download begins, but
determining when it finishes is a horse of a different color. Is the
web2py httpserver.log customizable at all? Can I make it log the MAC
address or the IP of the machine downloading the file?
On Jan 21, 6:02 am, mdipierro wrot
You have no way of knowing the mac address. It logs the IP already. It
always logs 127.0.0.1 if behind a proxy.
On Jan 21, 7:13 pm, jlegler wrote:
> Hrm, I've been able to make it detect when the download begins, but
> determining when it finishes is a horse of a different color. Is the
> web2py
I don't know if this would work. But perhaps we could have a selected
list of plug-ins. One for each task. A good example if the ubuntu
software center. It skips all the extras, and half done stuff and let's
people see stuff with clean and clear information, unlike synaptic
package manager(every
On Jan 21, 1:51 pm, Jeff Bauer wrote:
> I'm using web2app for a small one-off application in a
> corporate setting, quickly making changes to code to
> get a project done. Two users behind a corporate
> firewall. It's become a real hassle when application
> errors occur because the tickets aren'
We've been building a framework for disaster response for over a year
now & Haiti put it to the test as we went live with it.
I'm doing a Lessons Learnt, but this isn't it (still in the middle)
I just thought I'd highlight one exceptional piece of work:
Requirement comes in for a system to store in
53 matches
Mail list logo