I am writing a new script to convert drupal themes. It would help if
somebody could download a few 100 zipped drupal 6 themes from
http://drupal.org/project/themes or, even better, a script that can
get a list of themes (from their rss feed, if it exists) with name,
preview and zip file to
For me it doesn't really matter what is default behaviour,
as long as it is documented.
Since I use zero='None' mostly, so change will not affect me much.
But I would to ask to document it in official web2py book anyway.
Please don't take for granted that all users frequently go for
epydocs
to
Thanks for the response - at least I know I was not missing any
feature of the current framework.
Aah - makes sense now that | is being used in the context of an OR
operator, and not just a delimiter!
For reference, here is a version of get_fruit_list from my previous
example that is compatible
Hello,
I made a custom login form with the following code.
{{if request.args(0)=='login':}}
{{=form.custom.begin}}
Email:{{=form.custom.widget.email}}
Password:{{=form.custom.widget.password}}
{{=form.custom.submit}}
{{=form.custom.end}}
Now, when the user inputs an incorrect email or password
Thankfully, I have received a decent amount of interest in the web2py
app that I've launched on Google App Engine here:
http://opensourcebroadcasting.appspot.com/pledgedrives
Now, my question is what is the best way to distinguish between Paid/
Preferred users from people who are casually
This is a breaking change I support. For other UI widgets like the
text widget, the default behaviour is not to submit any value during a
form submit without explicit user input. It makes sense to align the
default behaviour of other UI widgets as much as possible to the
same.
When other
On Mar 22, 12:18 am, Thadeus Burgess thade...@thadeusb.com wrote:
How would you propose web2py to write sql.log, or its .table files
used in migrations for that matter?
The debian packaging rules are quite strict about it, the log files
should go to /var/log, transient runtime files go to
Yes, I'll be here for the foreseeable future, but Yarko's philosophy is
much better. I've designed Rocket with a liberal MIT license and
clean-reading code so that it is easily maintainable. My best wishes
going to anyone trying to maintain Cherrypy. I've studied its code and
some aspects
Hello!
Is there a way to allow crud to user without login but to force login
to certain other crud form?
I make a webpage with crud and auth and I need anonymous access to
guestbook (protected with recaptcha:)
Or I need SQLForm for guestbook?
--
You received this message because you are
My client wants to be able to select from a list of records (SQLTABLE)
which records to output in a csv-file (or pdf).
Is this possible to do that using SQLTABLE?
Regards
Johann
--
Blessed are the poor in spirit: for theirs is the
kingdom of heaven...Blessed are they which do hunger
Do you get other flash messages? do you have a custom layout?
On Mar 22, 5:47 am, salbefe salb...@gmail.com wrote:
Hello,
I made a custom login form with the following code.
{{if request.args(0)=='login':}}
{{=form.custom.begin}}
Email:{{=form.custom.widget.email}}
I hthink the best way is to add a counter to the auth_user table or
create a new table that references auth_user and you use for
counting.
On Mar 22, 6:58 am, johntynan jgty...@gmail.com wrote:
Thankfully, I have received a decent amount of interest in the web2py
app that I've launched on
You say
On Mar 22, 7:01 am, what_ho a...@viovi.com wrote:
This is a breaking change I support. For other UI widgets like the
text widget, the default behaviour is not to submit any value during a
form submit without explicit user input. It makes sense to align the
default behaviour of other
phppgadmin seems to in /users/share/ and it looks to me everything is
in there.
On Mar 22, 7:45 am, Dima Barsky d...@debian.org wrote:
On Mar 22, 12:18 am, Thadeus Burgess thade...@thadeusb.com wrote:
How would you propose web2py to write sql.log, or its .table files
used in migrations for
On Sat, Mar 20, 2010 at 7:27 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Just for fun:
http://web2py.com/zengarden
then click on the [zengarden] link under the menu, under the index
link. You can change the skin per user, per session.
This is a bare bone welcome app with the layout
It
yes but how depends on details
you can do
@auth.requires_login()
@auth.requires_membership()
@auth.requires_permission()
@auth.requires(other... condition...)
to every function in web2py. Here is a neat trick
authenticated_crud_create = auth.requires_login()(crud.create)
form =
On Mar 22, 2010, at 5:55 AM, Timothy Farrell wrote:
web2py could support both but the benefits get lost quickly. web2py is
designed to be simple, asking the user to pick which bundled web server they
would like to use is too much in my opinion.
No need to ask; there'd be a silent default.
On Mar 18, 2010, at 3:40 PM, mdipierro wrote:
It is a bug.
What's the fix?
Massimo
On Mar 18, 3:07 pm, Jonathan Lundell jlund...@pobox.com wrote:
When I completely remove admin, cron crashes:
File /opt/vtc/vpepmanage/web2py/web2py.py, line 20, in module
It takes a bit of coding. Something like this:
db.define_table('mytable',Field('name'))
def select():
session.records=[]
db.mytable.id.represent=lambda v: \
INPUT(_type='checkbox',
_id='r%s' % v,
_name='%s' % v,
I think this was fixed some time ago. gluon/contrib/cron.py is no
longer used in web2py 1.76.5.
Massimo
On Mar 22, 9:30 am, Jonathan Lundell jlund...@pobox.com wrote:
On Mar 18, 2010, at 3:40 PM, mdipierro wrote:
It is a bug.
What's the fix?
Massimo
On Mar 18, 3:07 pm, Jonathan
I have no objection to having an option and I would take a patch in
this direction but: 1) I prefer to have rocket as default (else we
will never know if there is some obscure problem with it) and, 2) they
should both use ssl and not openssl so I do not have to redo the re-
packaging.
Right now
On Mar 22, 2:14 pm, mdipierro mdipie...@cs.depaul.edu wrote:
phppgadmin seems to in /users/share/ and it looks to me everything is
in there.
I'm not very familiar with phppgadmin, but from the first look it does
not produce any log files, nor does it have any state which has to be
preserved
Hi Dima,
I agree on the fact that it is not an elegant solution.
But till now we have we have two possible solutions.
The First one is to create a user web2py and make it a member of www-data.
And put the application in the home folder which will work.
- No diskprotected multi-user system (or
Ignore this. it is done.
On Mar 22, 1:45 am, mdipierro mdipie...@cs.depaul.edu wrote:
I am writing a new script to convert drupal themes. It would help if
somebody could download a few 100 zipped drupal 6 themes
fromhttp://drupal.org/project/themesor, even better, a script that can
get a
Hello Massimo,
I'm using a custom layout and I don't get any other flash messages.
On 22 mar, 15:08, mdipierro mdipie...@cs.depaul.edu wrote:
Do you get other flash messages? do you have a custom layout?
On Mar 22, 5:47 am, salbefe salb...@gmail.com wrote:
Hello,
I made a custom
On Mon, Mar 22, 2010 at 22:58, mdipierro mdipie...@cs.depaul.edu wrote:
Ignore this. it is done.
web2py can usage Drupal 's PHP thempletes ?
so magic!
On Mar 22, 1:45 am, mdipierro mdipie...@cs.depaul.edu wrote:
I am writing a new script to convert drupal themes. It would help if
somebody
You can do this.
1) move web2py/*.py and web2py/gluon somewhere in PYTHONPATH (/
somewhere)
3) create a /var/web2py/
4) create a /etc/web2py/
move applications and deposit under /var/web2py
move options_std.py under /etc/web2py and EDIT as follow:
import socket
import os
ip = '127.0.0.1'
port
Hi Massimo,
If there is something that I don't like at all from Drupal are their lack of
templates, they are few and regular quality.
If we really want to get the most of templates I would go for wordpress
templates, there are thousands of free high quality templates... Although the
main
Yes - correct, sorry I didn't make that clear. I support the
historical breaking change to zero=''
On Mar 22, 2:12 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You say
On Mar 22, 7:01 am, what_ho a...@viovi.com wrote:
This is a breaking change I support. For other UI widgets like the
text
*objection
Gosh Massimo, you're wearing off on me.
On 3/22/2010 9:49 AM, Timothy Farrell wrote:
I have no object to gradual rollover. One way that could satisfy from
all angles is to have HTTPS configurations default to use Rocket while
regular connections use Cherrypy. This would
http://www.kraftwerk-wsgi.com/
--
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 more options,
Once I am done with these we can do the wordpress ones. The structure
is similar as far as web2py is concerned. Converting wordpress may
even be easier.
Massimo
On Mar 22, 10:21 am, Alejandro Fanjul alex.fan...@gmail.com wrote:
Hi Massimo,
If there is something that I don't like at all from
Not sure what than means. Hope it is good.
On Mar 22, 10:31 am, Timothy Farrell tfarr...@swgen.com wrote:
*objection
Gosh Massimo, you're wearing off on me.
On 3/22/2010 9:49 AM, Timothy Farrell wrote:
I have no object to gradual rollover. One way that could satisfy from
all angles is
Hi Mark,
The First one is to create a user web2py and make it a member of www-data.
And put the application in the home folder which will work.
No, that would not work at all. Applications are not allowed to
install anything under /home. In fact, the whole /home directory does
not have to
Okay I see.
Good tip the
authenticated_crud_create = auth.requires_login()(crud.create)
form = authenticated_crud_create(db.tablename)
:)
On márc. 22, 15:21, mdipierro mdipie...@cs.depaul.edu wrote:
yes but how depends on details
you can do
@auth.requires_login()
I said, I have no object to gradual rollover. but meant to say I have
no objection to gradual rollover.
I mean that I'm misspelling words like you typically do. It was meant
in jest. ;-P
My mom was a stickler for proper pronunciation (being in Oklahoma you
can see how that might be
On Mar 22, 2010, at 7:39 AM, mdipierro wrote:
I think this was fixed some time ago. gluon/contrib/cron.py is no
longer used in web2py 1.76.5.
OK; that system was running 1.76.3. I'll try again.
Massimo
On Mar 22, 9:30 am, Jonathan Lundell jlund...@pobox.com wrote:
On Mar 18, 2010, at
Well, we have enough discussion in
https://groups.google.com/group/web2py/browse_frm/thread/d25d13cd3f5bd7b1/67f5748c0411e81e
and I don't want to repeat.
Just one thing. When talking about keeping backward compatibility
and thinking this argument could support proposal zero='', then you
are badly
Hi Massimo,
That sounds like a plan to me. There is only one problem left: I don't
think that putting application code under /var is a good idea. I'll
have to check the packaging manual, but my gut feeling is that all
python code must go under /usr. The same logic applies as before - /
usr might
But the web2py app have to be modified via admin therefore I do not
think we can avoid putting them in var.
On Mar 22, 11:49 am, Dima Barsky d...@debian.org wrote:
Hi Massimo,
That sounds like a plan to me. There is only one problem left: I don't
think that putting application code under /var
Hi,
cost me find this. Some time ago I had read but did not remember
where.
[1]
The LOAD function can also load a URL hosted on a different server
(and it does not need to be running web2py):
{{=LOAD(url='http://otherdomain/otherapp')}}
if I do the following:
But the web2py app have to be modified via admin therefore I do not
think we can avoid putting them in var.
I think we would have to disable this feature for pre-packaged
applications. That makes sense to me - only the package manager should
be allowed to change the content of a debian package.
There are two type of apps:
the core, web2py itself
applications that runs in the web2py environment. Those have to be
editable. This is a hard case, since web2py is kind of an OS itself,
this should be solved with /var.
--
Kuba
--
You received this message because you are subscribed to the
For now, give these a try:
http://www.web2py.com/drupal
On Mar 22, 10:08 am, Zoom.Quiet zoom.qu...@gmail.com wrote:
On Mon, Mar 22, 2010 at 22:58, mdipierro mdipie...@cs.depaul.edu wrote:
Ignore this. it is done.
web2py can usage Drupal 's PHP thempletes ?
so magic!
On Mar 22, 1:45 am,
On Mar 22, 5:33 pm, Kuba Kucharski kuba.kuchar...@gmail.com wrote:
There are two type of apps:
the core, web2py itself
applications that runs in the web2py environment. Those have to be
editable. This is a hard case, since web2py is kind of an OS itself,
this should be solved with /var.
You can LOAD(url='anything') but anything must return a component, not
entire page with html../html. How the browsers response to an
html/ inside another html/ is unpredictable.
On Mar 22, 12:26 pm, Jose jjac...@gmail.com wrote:
Hi,
cost me find this. Some time ago I had read but did not
On 22 mar, 17:56, mdipierro mdipie...@cs.depaul.edu wrote:
You can LOAD(url='anything') but anything must return a component, not
entire page with html../html. How the browsers response to an
html/ inside another html/ is unpredictable.
Ok, thank.
--
You received this message because you
Hi everyone,
Thought that it was possible to pre-compile applications in web2py.
Never used it before, but I found it out on the website.
We could consider pre-compiled applications as production applications.
Which means they may not and cannot be edited.
All non compiled
You can bytecode compile hem but you cannot break the deplyment
mechanism. Even bytecode compiled apps must be under a writable
applications, therefore under /vars/
On Mar 22, 1:20 pm, Mark Breedveld m.breedv...@solcon.nl wrote:
Hi everyone,
Thought that it was possible to pre-compile
Use the form in the other post labeled as Survey:
Also, I do agree I don't want everything to turn into a survey, but
this is a point of contention that has been argued back and forth for
months now ever since the feature creeped in without proper
community input on this breaking change.
Hi Thadeus,
how would you see this possible compromise:
1) we default to zero=None for IS_IN_DB and IS_IN_SET
2) when the validator is set automatically in
db.define_table(...,format=), we set zero=''?
this will not break your old code and will not change the behavior of
the new
On Mar 22, 6:28 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You can bytecode compile hem but you cannot break the deplyment
mechanism. Even bytecode compiled apps must be under a writable
applications, therefore under /vars/
The *.pyc file are not treated as runtime data in Debian. All python
We need a web site to do this:
- allow people to register as web2py developers, web2py clients,
web2py sponsors
- everybody can post a profile
- clients can rate the developers
- developers can rate other developers (is this a good idea?)
- clients can look for developers
- developers can
http://gluonframework.wordpress.com/2010/03/22/skinning-web2py/
--
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
At the web of zengarden plugin [1] , the download link prints a ticket
error.
[1]: http://www.web2py.com/zengarden/default/index
Thanks for the efforts on beautification.
On Mon, Mar 22, 2010 at 8:04 PM, Massimo Di Pierro
mdipie...@cs.depaul.eduwrote:
How do you apply a theme plugin once installed? It didn't seem to have
any effect.
On Mar 22, 12:53 pm, mdipierro mdipie...@cs.depaul.edu wrote:
For now, give these a try:
http://www.web2py.com/drupal
On Mar 22, 10:08 am, Zoom.Quiet zoom.qu...@gmail.com wrote:
On Mon, Mar 22, 2010 at
oops. fixed.
On Mar 22, 2:16 pm, Albert Abril albert.ab...@gmail.com wrote:
At the web of zengarden plugin [1] , the download link prints a ticket
error.
[1]:http://www.web2py.com/zengarden/default/index
Thanks for the efforts on beautification.
On Mon, Mar 22, 2010 at 8:04 PM, Massimo Di
* Click on plugin names to preview
* Choose and download a plugin for web2py
* Apply plugin to web2py (one click via the admin interface)
* Backup your views/layout.html
* Copy static/plugin_theme_name/layout.html over views/layout.html
On Mar 22, 2:19 pm, mr.freeze
Hello everybody!
I making my first steps in Web2Py, and although I'm not at this stage
yet, I will eventually have to deal with this issue, and wanted to be
prepared
as a vfx studio we keep information on every 3D model that is created
in 3D program (time spent working on it, it's status etc.)
Perhaps you can use XMLRPC described here:
http://www.web2py.com/book/default/section/9/2
Perhaps other users have other/better solutions.
On Mar 22, 2:02 pm, canna c.ne...@gmail.com wrote:
Hello everybody!
I making my first steps in Web2Py, and although I'm not at this stage
yet, I will
Hello,
The answer will be: yes you can, just search the correct way.
My company has develop a Shouting Simulator for the Peruvian Army
using web2py for the settings and connect with Blender Game Engine
through the sqlite module, well both talks python, but we can set the
scene, air, wind, and
Hi Massimo,
I thought that would be.
Because of the cache and sessions dir for example.
But in order to stay close to the guidelines, (which is required for repo)
We need to define the purpose of web2py application folder structure.
But controllers/models/modules/views/cron are the core of a
web2py application are higher level. Like php scripts in www
directory. They are edtable. They are apps within web2py. They are
isolated and independent. They sometimes contain sqlite data inside.
web2py is about user-developers. So in some way applications are user
data. Applying default security
Any solutions that breaks the subfolder structure of a web2py app will
break the mechanism for installing and packaging new applications. I
do not see a way around it.
Where would you put php files? I have seen them in /var/www/
Massimo
On Mar 22, 2:31 pm, Mark Breedveld m.breedv...@solcon.nl
yes, there may be no home in Debian, but the proper user always have
some directory assigned in /etc/passwd
mysql:x:116:122:MySQL Server,,,:/var/lib/mysql:/bin/false
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send
web2py should run as www-data it is most likely to be used with
apache.
On Mar 22, 3:15 pm, Kuba Kucharski kuba.kuchar...@gmail.com wrote:
yes, there may be no home in Debian, but the proper user always have
some directory assigned in /etc/passwd
mysql:x:116:122:MySQL
So /var/www..
--
Kuba
--
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 more options, visit this
/var/www/web2py/applications/ ?
On Mar 22, 3:24 pm, Kuba Kucharski kuba.kuchar...@gmail.com wrote:
So /var/www..
--
Kuba
--
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
http://web2py.com/examples/static/nightly/web2py_src.zip
http://web2py.com/examples/static/nightly/web2py_win.zip
http://web2py.com/examples/static/nightly/web2py_osx.zip
It is not yet completely automated but I will post build them often
from trunk.
Massimo
--
You received this message
Hi everyone,
I agree that it must become /var/web2py/applications,
because the hole application is dynamic, except for the gluon folder.
Which could be under the py path.
I heard that is possible to cluster web2py by putting it on a central
server.
And start it through a share on another
- Where to put web2py.py? //Because this aint user data, but the
application/webserver
Do not know but web2py.py should be called by something like /etc/
init.d/web2py
Why all your emails get blocked pending moderation?
It only happens with your emails and I cannot figure out why.
According to
Ill used ms outlook as mailer, but I could return to webmail.
If that is the problem.
Mark
-Oorspronkelijk bericht-
Van: web2py@googlegroups.com [mailto:web...@googlegroups.com] Namens
mdipierro
Verzonden: maandag 22 maart 2010 22:54
Aan: web2py-users
Onderwerp: [web2py] Re: Debian /
This one was blocked too. google somehow thinks this is spam even if
you are not moderated.
On Mar 22, 5:02 pm, Mark Breedveld m.breedv...@solcon.nl wrote:
Ill used ms outlook as mailer, but I could return to webmail.
If that is the problem.
Mark
-Oorspronkelijk bericht-
Van:
Hello!
I have a view that lists some records (events), one of the fields
(events.room_id) is a foreign key. When i display these records I want
to display rooms.name, not events.room_id. Can someone give me a nudge
(or swift kick) in the right direction on how to do this? I suspect a
join of some
It's as simple as this:
{{=event.room_id.name}}
On Mar 22, 5:45 pm, Greg greg.kr...@gmail.com wrote:
Hello!
I have a view that lists some records (events), one of the fields
(events.room_id) is a foreign key. When i display these records I want
to display rooms.name, not events.room_id. Can
You can just replace
td{{=event.room_id}}/td
with
td{{=event.room_id.name}}/td
This will result in one extra select per record.
You can also use a join
#default.py
def index():
events =
db(db.events.room_id==db.rooms.id).select(orderby=db.events.event_date)
return dict(events=events)
Any idea/progress?
On Mar 22, 12:45 am, Richard richar...@gmail.com wrote:
great! I was going to ask about this.
On Feb 1, 1:44 am, mdipierro mdipie...@cs.depaul.edu wrote:
needs testing but please check in trunk
db.table.bulk_insert([dict(field='value'),dict(field1='value')])
I read in another thread that all that is needed for a host to support
web2py is python2.4+. However I tried and failed to run web2py on
Hostgator, which does support python2.5. It is likely possible, but my
Apache-fu is not strong enough.
What would be great is a list of hosts that are known to
Where would you put php files? I have seen them in /var/www/
Massimo,
I'm sorry to disappoint you, but any script you might've seen in /var/
www was not under Debian package control, it was installed there
manually by the administrator. All php files are also installed under /
usr. If you try
Hostgator works but it's not as easy as it could be. I'll try to put
together a slice soon.
On Mar 22, 6:34 pm, Richard richar...@gmail.com wrote:
I read in another thread that all that is needed for a host to support
web2py is python2.4+. However I tried and failed to run web2py on
Hostgator,
That would be great, and it's already working for GAE.
On Mar 22, 2:41 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Perhaps we could simplify some code and include this in auth.
http://code.google.com/p/gaema/
--
You received this message because you are subscribed to the Google Groups
Hello Web2Py Users,
I am looking for an experienced web2py programmer to work on a short-
term project (4-6 weeks). Project involves enhancing an existing
scientific product developed with web2py with new features.
You should have:
- Excellent python programming skills
- MySQL, Oracle
Hi Mark,
Summary
- The application under /var/web2py
I disagree. Only the runtime data should go to /var, the code should
stay under /usr (and it should be immutable). I presume we are still
talking about pre-packaged applications, right? Nothing will stop
individual users from starting their
How can i disable to import some default packages (for example from
all controller files i don't want to use the database, DAL, SQLFORMs
etc...)
I want to manage this in other way.
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this
I use vps.net and I cannot be happier. I will make a video on how to
deploy web2py there.
Massimo
On Mar 22, 6:40 pm, mr.freeze nat...@freezable.com wrote:
Hostgator works but it's not as easy as it could be. I'll try to put
together a slice soon.
On Mar 22, 6:34 pm, Richard
The main feature of web2py is that appliances are data and are
treated as such. Consider a CMS app that wants to install, for
example, a plugin. A plugin contains code and needs to be installable
at runtime. The plugin may also modify other application files (such
as replace a layout or a model).
models files in web2py are defined as containers for things you want
to expose to all controllers. If something should not be exposed to
all controllers do not put it in a model, put it in a module and
import the module where needed.
web2py keywords like DAL, SQLFORM, etc, exist in the namespace
Dreamhost is slow, but cheap
I use slicehost and manage 3 web2py servers, couldn't be happier. I
originally went with apache/mod_wsgi, however I am now migrating
everything over to cherokee + uwsgi, the main selling point there
being a web based management interface.
-Thadeus
On Mon, Mar 22,
At the moment, there's a delete-confirmation checkbox that's turned on when an
SQLFORM is 'deletable'. It's a simple checkbox with class='delete', along with
this bit of code in web2py_ajax.html:
jQuery(input[type='checkbox'].delete).each(function(){jQuery(this).click(function()
{
Hey Richard,
I have 10+ dynamic apps (e.g. running a DB back-end, including
pyforum.org and techfuel.net, both web2py) on a $15.00 a month VPS on
serveraxis.com, but don't let the price fool you, uptime has been
virtually 100% in the past 4 years, the caveat is that you get a
plain vanilla server
If I get rid of the admin application, there's no UI for tickets. They're
available in the file system, but that's it.
It's not too hard to access tickets through an application, but it requires a
little reverse engineering of admin's logic.
My proposal is to provide a couple of helper
On Mar 22, 2010, at 10:16 PM, Thadeus Burgess wrote:
Just an update:
The current functionality is set at zero= for web2py. This survey
will only serve as a consulting referendum, it does not mean that the
end result will be the same.
Current Number of responses: 5 (we really need more!
92 matches
Mail list logo