[web2py] Re: Authentication for services in iPhone not work

2011-08-09 Thread Relsi Hur
Yes, the objective-C suport xml-rpc, but the developer says that the iphone does not work the wire format https://username:password@my_server/my_app/service/call/xmlrpc. I do not work with the platform iOS, so I do not know the particularities of the platform, I do not want is having to stop using

[web2py] Re: Authentication for services in iPhone not work

2011-08-09 Thread Christopher Steel
I have not tried xml-rpc on the iphone but apparently Wordpress has some iphone xmlrpc examples... http://stackoverflow.com/questions/147062/does-iphone-support-xml-rpc Let us know how it goes! C.

Re: [web2py] Re: video about new web2py scheduler [RFC]

2011-08-09 Thread Fran Boon
On 10 August 2011 07:11, Massimo Di Pierro wrote: > On Aug 9, 6:13 pm, Fran wrote: >> I have problems under Windows with >> python web2py.py -K app >> I guess this is due to MultiProcessing > Can you check whether it is a reporting thing only but it is doing the > work? It is not doing the work.

[web2py] Re: celery integration?

2011-08-09 Thread Massimo Di Pierro
Thank you David, do you have code we can peek at? Massimo On Aug 9, 9:42 pm, web2py_is_the_shiz wrote: > Hello all, > > Long time lurker here wishing to first thank all you for your > wonderful work and a magnificent community.  I have learned a great > deal from this list and the book in a ver

[web2py] Re: Follow-up on web2py, mercurial, and Fabric

2011-08-09 Thread Christopher Steel
If everything else is secure and so on and so forth the other main concern is handling stuff that should remain private and not overwriting (or including your database) certain configuration information in pushes and pulls to and from public repos. Much (all?) of this can be handled with a wel

[web2py] Re: Trying to do Massimo's Poll Django video tutorial but getting this traceback error. Please explain!

2011-08-09 Thread Massimo Di Pierro
Without seeing your code I suspect you have a orderby=-something that should be orderby=~something Should be ~ not - On Aug 9, 8:49 pm, Jared Stunn wrote: > Can somebody please explain what the issue is. Its this video at > 9.34:http://vimeo.com/6507384 > > TRACEBACK > > Traceback (most rece

[web2py] Re: Bug in virtualfields w/ session

2011-08-09 Thread Massimo Di Pierro
let us see it! On Aug 9, 9:36 pm, Michael Toomim wrote: > Result: Fixed by upgrading. I was seeing this > bug:http://code.google.com/p/web2py/issues/detail?id=345 > > However, virtualfields still take more time than they should. My > selects take 2-3x longer with virtualfields enabled than witho

[web2py] Re: POST with web2py RESTful API

2011-08-09 Thread Massimo Di Pierro
In the above code if you pass a list of vars explicity: def manage_dog(): def PUSH(dog,name,age,birthdate): db.dog[dog].update_record(name=name,age=age,birthdate=birthdate) return dict() return locals() It would work with PUSH http://?name=...&age=...&birthdate

[web2py] Re: crud.search query

2011-08-09 Thread niknok
I finally found out that "equals" don't work but using "contain" does. It's counter-intuitive but at least there's a workaround. On Jul 1, 7:24 pm, niknok wrote: > I have field "gender" that is defined like so: > >         Field('gender','reference aux_gender',notnull=True,widget=radio_h) > > The

[web2py] Re: adopt an app!

2011-08-09 Thread Massimo Di Pierro
My typo: form.accepts(request,session) On Aug 9, 8:30 pm, Andrew wrote: > Hi Massimo, > I'm guessing form.accept isn't implemented yet.  I get: > AttributeError: 'FORM' object has no attribute 'accept' > > Thanks > Andrew W > > On Aug 10, 1:53 am, Massimo Di Pierro > wrote: > > > > > > > >

[web2py] Re: video about new web2py scheduler [RFC]

2011-08-09 Thread Massimo Di Pierro
On Aug 9, 6:13 pm, Fran wrote: > The video is very useful - thanks :) > > I have problems under Windows with > python web2py.py -K app > > I guess this is due to MultiProcessing Can you check whether it is a reporting thing only but it is doing the work? > It works fine with: > python web2py.py

[web2py] Re: celery integration?

2011-08-09 Thread web2py_is_the_shiz
Hello all, Long time lurker here wishing to first thank all you for your wonderful work and a magnificent community. I have learned a great deal from this list and the book in a very very short order of time. Finally I may have something to contribute back to all you wonderful folks. Though not

[web2py] Re: Why is_active?

2011-08-09 Thread Yair Eshel
Ok, this is more like it This just makes the signature unread/writeable by default in the welcome app. Now - on to more important stuff! On Tue, Aug 9, 2011 at 10:02 AM, Yair Eshel wrote: > This is a patch that allows you to adds auth.settings.is_active_writable > It is set to True by default, f

[web2py] Re: Why is_active?

2011-08-09 Thread guruyaya
On Aug 10, 1:01 am, Massimo Di Pierro wrote: > But you can do > > auth=Auth(db) > auth.signature.is_active.writeable = False > auth.define_tables() Because... Because... I have no idea why. Well, there's no real need for a patch, other then to set it as a default for new applications. I'll issu

Re: [web2py] Trying to do Massimo's Poll Django video tutorial but getting this traceback error. Please explain!

2011-08-09 Thread Kenneth Lundström
Please send the whole default.py as I don't think do problem is on that line you showed. Kenneth Can somebody please explain what the issue is. Its this video at 9.34: http://vimeo.com/6507384 TRACEBACK Traceback (most recent call last): File "gluon/restricted.py", line 192, in restrict

[web2py] Re: Bug in virtualfields w/ session

2011-08-09 Thread Michael Toomim
Result: Fixed by upgrading. I was seeing this bug: http://code.google.com/p/web2py/issues/detail?id=345 However, virtualfields still take more time than they should. My selects take 2-3x longer with virtualfields enabled than without. I implemented a little hack in the dal that adds methods to row

[web2py] Trying to do Massimo's Poll Django video tutorial but getting this traceback error. Please explain!

2011-08-09 Thread Jared Stunn
Can somebody please explain what the issue is. Its this video at 9.34: http://vimeo.com/6507384 TRACEBACK Traceback (most recent call last): File "gluon/restricted.py", line 192, in restricted File "C:/Users/Joe/Desktop/P/web2py/applications/polls/controllers/ default.py", line 73, in Fil

[web2py] POST with web2py RESTful API

2011-08-09 Thread Tiago Rosa
Hi folks, I'm trying to expose some of my app's data through a RESTful API and I'm having some trouble using the POST method. In this post (http://www.reddit.com/r/programming/comments/g5hxq/ web2py_trunk_has_a_new_restful_api_that_writes_db/) and video Massimo introduced web2py's RESTful API wit

[web2py] Re: adopt an app!

2011-08-09 Thread Andrew
Hi Massimo, I'm guessing form.accept isn't implemented yet. I get: AttributeError: 'FORM' object has no attribute 'accept' Thanks Andrew W On Aug 10, 1:53 am, Massimo Di Pierro wrote: > There are many old applications inhttp://web2py.com/appliancessome > are current, come are old, some are crap

[web2py] Re: Insert not working on Keyed Table

2011-08-09 Thread Andrew
Thanks Denes. On Aug 10, 9:43 am, DenesL wrote: > Looks like a bug with SQLFORM, > investigating... > > On Aug 8, 4:58 pm, Andrew wrote: > > > > > thanks again Denes, > > I'm running MS SQL 2005 and Web2py 1.98.2. > > Note that from the shell interface, the following works: > > db.web2pytest_leg

[web2py] Re: Why is_active?

2011-08-09 Thread pbreit
You could also just write your own signature: def lazy_user (auth = self): return auth.user_id reference_user = 'reference %s' % settings.table_user_name def represent(id,record=None,s=settings): try: user = s.table_user(id) retu

[web2py] Re: video about new web2py scheduler [RFC]

2011-08-09 Thread Fran
The video is very useful - thanks :) I have problems under Windows with python web2py.py -K app I guess this is due to MultiProcessing It works fine with: python web2py.py -S app -M -N -R scheduler.py Where that file contains: current._scheduler.worker_loop(heartbeat=20) However I don't get an

[web2py] Re: Why is_active?

2011-08-09 Thread Massimo Di Pierro
But you can do auth=Auth(db) auth.signature.is_active.writeable = False auth.define_tables() what is wrong with this? On Aug 9, 3:50 pm, guruyaya wrote: > 1. Yeah, I thought it'd be problematic. > At this point, auth.signature is part of the init process. That means > I cannot write write > au

[web2py] Re: Date format in CRUD forms

2011-08-09 Thread Massimo Di Pierro
Field(...,requires=IS_DATE(format='%m/%d/%Y')) On Aug 9, 3:07 pm, Jim Steil wrote: > I'm sure I just missed this somewhere, but I can't find how to control > the date format for date fields in CRUD-created forms. > > db.py > > driverUnit = db.define_table('driverUnit', >      Field('driverUni

Re: [web2py] video about new web2py scheduler [RFC]

2011-08-09 Thread Bruno Rocha
thank you, I am already testing it, nice solution. I was working with this one > https://github.com/lucasdavila/web2py-queue (which is not complete yet) but now I am trying your solution for one of my systems. Thanks

[web2py] Re: Insert not working on Keyed Table

2011-08-09 Thread DenesL
Looks like a bug with SQLFORM, investigating... On Aug 8, 4:58 pm, Andrew wrote: > thanks again Denes, > I'm running MS SQL 2005 and Web2py 1.98.2. > Note that from the shell interface, the following works: > db.web2pytest_leg.insert(LoadID=2, LoadName='DirectInsert') > db.commit() > > Here's m

Re: [web2py] Re: Forcing table name in row object?

2011-08-09 Thread Bruno Rocha
> > rows = db(...).select(...) > rows.compact = False > > and now you always have the rows[i].table.field syntax. no more > rows[i].field shortcuts. Thank you Massimo, this will save some 'ifs' that i've made in my plugins.

[web2py] Re: Why is_active?

2011-08-09 Thread guruyaya
1. Yeah, I thought it'd be problematic. At this point, auth.signature is part of the init process. That means I cannot write write auth.signature.is_active.writeable = False before auth - Auth because auth does not exist yet. I can pass it as an argument to the Auth init function, but It feels lik

[web2py] Date format in CRUD forms

2011-08-09 Thread Jim Steil
I'm sure I just missed this somewhere, but I can't find how to control the date format for date fields in CRUD-created forms. db.py driverUnit = db.define_table('driverUnit', Field('driverUnitId', 'id'), Field('driverId', db.driver, required=True, label='Driver'), Field('unitId'

Re: [web2py] Re: Forcing table name in row object?

2011-08-09 Thread Marin Pranjic
Thanks Marin On 9 Aug 2011 20:18, "Massimo Di Pierro" wrote: Now I understand: rows = db(...).select(...) rows.compact = False and now you always have the rows[i].table.field syntax. no more rows[i].field shortcuts. Massimo On Aug 9, 1:06 pm, Marin Pranjic wrote: > No, but it would not h

[web2py] Re: video about new web2py scheduler [RFC]

2011-08-09 Thread Massimo Di Pierro
I guess you can. Did not try. Let me know if that breaks anything. ;-) Mind workers need restarting if code changes. On Aug 9, 1:42 pm, pbreit wrote: > Cool! > > Would I start this with a @reboot cron job? > > I might be able to figure it out but the thing I would really like to see is > how to

[web2py] Re: generic.html not display crud.search correctly out of the box

2011-08-09 Thread Massimo Di Pierro
I agree. That needs revision. On Aug 9, 1:55 pm, Richard Vézina wrote: > I just had a look to the book... There is no extended explanations about the > crud.search peculiar nature, since there is only a single example that > actually use the correct controller syntax you point me out : > > def ma

Re: [web2py] Re: generic.html not display crud.search correctly out of the box

2011-08-09 Thread Richard Vézina
I just had a look to the book... There is no extended explanations about the crud.search peculiar nature, since there is only a single example that actually use the correct controller syntax you point me out : def manage(): table=db[request .ar

Re: [web2py] Re: generic.html not display crud.search correctly out of the box

2011-08-09 Thread Richard Vézina
It true... It needs a result container... My bad... Sorry. Richard On Tue, Aug 9, 2011 at 2:42 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > haha. that's the problem. > > crud.search does not return one object but two > > form, rows = crud.search(db.dict_database) > return dic

[web2py] Re: generic.html not display crud.search correctly out of the box

2011-08-09 Thread Massimo Di Pierro
haha. that's the problem. crud.search does not return one object but two form, rows = crud.search(db.dict_database) return dict(form=DIV(form,rows)) and this will do what you want. On Aug 9, 1:40 pm, Richard Vézina wrote: > def search(): >     form = crud.search(db.dict_database) >     retur

[web2py] Re: video about new web2py scheduler [RFC]

2011-08-09 Thread pbreit
Cool! Would I start this with a @reboot cron job? I might be able to figure it out but the thing I would really like to see is how to use it for "delayed jobs", for example like a mail queue. Would I just insert a send_mail() function to run immediately 1 time?

Re: [web2py] Re: generic.html not display crud.search correctly out of the box

2011-08-09 Thread Richard Vézina
def search(): form = crud.search(db.dict_database) return dict(form=form) On Tue, Aug 9, 2011 at 2:36 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > what does your controller look like? > > On Aug 9, 1:31 pm, Richard Vézina wrote: > > Here what I got in the HTML nav. displa

[web2py] Re: generic.html not display crud.search correctly out of the box

2011-08-09 Thread Massimo Di Pierro
what does your controller look like? On Aug 9, 1:31 pm, Richard Vézina wrote: > Here what I got in the HTML nav. displayed when I copy/paste/rename > generic.html for search.html for a given controller function... > > Search(, 0x4c49050>) > designrequestsessionresponsedb stats > > With the old g

Re: [web2py] Re: generic.html not display crud.search correctly out of the box

2011-08-09 Thread Richard Vézina
Here the old generic.html : {{extend 'layout.html'}} {{""" You should not modify this file. It is used as default when a view is not provided for your controllers """}} {{=BEAUTIFY(response._vars)}} admin request request{{=BEAUTIFY(request)}} session session{{=BEAUTIFY(session)}} response resp

Re: [web2py] Re: generic.html not display crud.search correctly out of the box

2011-08-09 Thread Richard Vézina
Here what I got in the HTML nav. displayed when I copy/paste/rename generic.html for search.html for a given controller function... Search(, ) designrequestsessionresponsedb stats With the old generic.html I had the HTML rendered correctly with all the input and check boxes and the dropbox for

[web2py] Re: generic.html not display crud.search correctly out of the box

2011-08-09 Thread Massimo Di Pierro
can you show a code example and what is wrong with it? On Aug 9, 1:21 pm, Richard wrote: > Hello, > > Like in the title... I don't know if the issue have been reported > already. > > Richard

[web2py] generic.html not display crud.search correctly out of the box

2011-08-09 Thread Richard
Hello, Like in the title... I don't know if the issue have been reported already. Richard

[web2py] Re: Forcing table name in row object?

2011-08-09 Thread Massimo Di Pierro
Now I understand: rows = db(...).select(...) rows.compact = False and now you always have the rows[i].table.field syntax. no more rows[i].field shortcuts. Massimo On Aug 9, 1:06 pm, Marin Pranjic wrote: > No, but it would not help me. > > I want to implement "dynamic queries", actually suppor

Re: [web2py] ValueError - legacy database

2011-08-09 Thread Ramiro B. da Luz
Thank you Bruno. But this didn't solved my problem. Fortunately I figure out what it was. The problem was caused by a plugin, simple comments, I was not using it, just enabled everything, as I am just learning and testing, when I removed the plugin everything worked fine. On Mon, Aug 8, 2011 at 8

Re: [web2py] Re: Forcing table name in row object?

2011-08-09 Thread Marin Pranjic
No, but it would not help me. I want to implement "dynamic queries", actually support adding some WHERE and SELECT parts in query (extending original queries). And iteration through Rows object should work without knowing did query had JOINs or not. Problem is when original query does not have JOI

[web2py] Re: Why is_active?

2011-08-09 Thread Massimo Di Pierro
on a second thought... it should be auth.signature.is_active.writable = False On Aug 9, 11:30 am, Massimo Di Pierro wrote: > I am sorry, I cannot take this patch for two reasons: > > 1) it moves self.signature to after tables are defined. that prevents > custom auth_* tables which are signed. So

[web2py] Re: Where to put the .htaccess file

2011-08-09 Thread Mirek Zvolský
>> problem is I don't know where to put the file .htaccess ? I am new and I don't know how to do things properly. But for testing I have installed web2py on alwaysdata 10M free server as follows: 1. Under their /www folder I have /www/web2py with standard web2py tree, include my application myweb

[web2py] Re: Why is_active?

2011-08-09 Thread Massimo Di Pierro
I am sorry, I cannot take this patch for two reasons: 1) it moves self.signature to after tables are defined. that prevents custom auth_* tables which are signed. Some users do that. 2) Why auth.settings.is_active_writable = False is better than db.auth_user.is_active.writable = False ? It

[web2py] Re: video about new web2py scheduler [RFC]

2011-08-09 Thread Massimo Di Pierro
1. Let's not call it a cron instance. The idea is that you have one web2py that talks to the users and schedule tasks and you have one or more workers that pickup and run tasks in background. Because there are more than one (in principle) they are different processes. web2py needs a an interface

[web2py] Re: adopt an app!

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 08:21:30 -0700 (PDT) Massimo Di Pierro wrote: > One for all. I do not expect too many responses. OK. I've created issue: http://code.google.com/p/web2py/issues/detail?id=373 Sincerely, Gour -- “In the material world, conceptions of good and bad are all mental speculatio

[web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 11:00:30 -0500 Furqan Rauf wrote: > make much more sense, just to say in my word web2py is a house that > may have many windows and each window can be packaged into smaller > components like window glass, lock and frame etc? Why don't you start with rooms instead? ;) Sincere

Re: [web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Furqan Rauf
make much more sense, just to say in my word web2py is a house that may have many windows and each window can be packaged into smaller components like window glass, lock and frame etc? On Tue, Aug 9, 2011 at 10:52 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > It is ok and I underst

[web2py] Re: Why is_active?

2011-08-09 Thread guruyaya
Ummm... anybody? On Aug 9, 10:02 am, Yair Eshel wrote: > This is a patch that allows you to adds auth.settings.is_active_writable > It is set to True by default, for backword compatablity, but I took the > liberty of turning it off in the welcome app, by defalt. > > I Hope it'll bring you joy. >

[web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Massimo Di Pierro
It is ok and I understand the confusion. web2py is an application from the point of view of a developer. It serves the purpose of developing web applications and it is required for those we applications to run. Yet web2py is not an application from the point of view of the end user. The end user

[web2py] Re: video about new web2py scheduler [RFC]

2011-08-09 Thread guruyaya
Basically, I liked what I saw. Few questions: 1. Will there be a way to start it along with the web2py main app in the future or I'll have to start a seperate cron instance? 2. Is there a way to make the task run indefinite? On Aug 9, 1:40 pm, Massimo Di Pierro wrote: > http://www.vimeo.com/2747

[web2py] Re: PowerFormWizard 0.1.4 - Bug Fixes and auto_validation (+ a new plugin for grids)

2011-08-09 Thread José L .
Hi Bruno, I'm trying to use PowerFormWizard and it was working fine until I found a bug using an Autocomplete widget for one of the fields. I can reproduce the error even using your example application (I just added a colors table and db.person.colors.widget = SQLFORM.widgets.autocomplete(

Re: [web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Furqan Rauf
just following this conversation, is it normal for a newb, to not understand what are you guys talking about? and to my understanding you are saying that web2py is an app itself and all we do create different components and deploy it. and we assign one component as primary or how does this work i m

[web2py] Re: adopt an app!

2011-08-09 Thread Massimo Di Pierro
One for all. I do not expect too many responses. On Aug 9, 10:01 am, Gour-Gadadhara Dasa wrote: > On Tue, 9 Aug 2011 07:50:26 -0700 (PDT) > Massimo Di Pierro > > wrote: > > Good idea. Would you like to open the issue? Else I can do it. > > I can do it...but do you think about one issue for all o

Re: [web2py] Re: adopt an app!

2011-08-09 Thread Juan Hernandez
count me in! On Tue, Aug 9, 2011 at 10:31 AM, Gour-Gadadhara Dasa wrote: > On Tue, 9 Aug 2011 07:50:26 -0700 (PDT) > Massimo Di Pierro > wrote: > > > Good idea. Would you like to open the issue? Else I can do it. > > I can do it...but do you think about one issue for all or one issue per > app?

[web2py] Re: adopt an app!

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 07:50:26 -0700 (PDT) Massimo Di Pierro wrote: > Good idea. Would you like to open the issue? Else I can do it. I can do it...but do you think about one issue for all or one issue per app? Sincerely, Gour -- “In the material world, conceptions of good and bad are all menta

[web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 07:38:50 -0700 (PDT) Massimo Di Pierro wrote: > Some plugins define components (plugin_wiki does) and some do not. Interesting... > A component is a set of models/views/controller designed to work > together. > For example consider a web2py file "controllers/plugin_calculator

[web2py] Re: adopt an app!

2011-08-09 Thread Massimo Di Pierro
Good idea. Would you like to open the issue? Else I can do it. On Aug 9, 9:44 am, Gour-Gadadhara Dasa wrote: > On Tue, 9 Aug 2011 07:27:05 -0700 (PDT) > Massimo Di Pierro > > wrote: > > yes. I think the adopter should submit the app on google code which > > does provide bug tracking. > > I was

[web2py] Re: adopt an app!

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 07:27:05 -0700 (PDT) Massimo Di Pierro wrote: > yes. I think the adopter should submit the app on google code which > does provide bug tracking. I was thinking to open issue at google code to track progress of adopted app until the 'appliances' page is cleared a bit which will

[web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Massimo Di Pierro
Some plugins define components (plugin_wiki does) and some do not. A component is a set of models/views/controller designed to work together. For example consider a web2py file "controllers/plugin_calculator.py" which contains def adder(): form = SQLFORM.factory(Field('a','integer'),Field('b

[web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 07:13:33 -0700 (PDT) Massimo Di Pierro wrote: > One web2py installation can contain many apps (what web2py calls an > app is what django calls a project) and different apps share nothing > by default. A reusable subset of a web2py app is what we call a web2py > plugin. (loosely

[web2py] Re: adopt an app!

2011-08-09 Thread Massimo Di Pierro
yes. I think the adopter should submit the app on google code which does provide bug tracking. On Aug 9, 9:20 am, Gour-Gadadhara Dasa wrote: > On Tue, 9 Aug 2011 06:53:00 -0700 (PDT) > Massimo Di Pierro > > wrote: > > There are many old applications inhttp://web2py.com/appliancessome > > are cu

[web2py] Re: adopt an app!

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 06:53:00 -0700 (PDT) Massimo Di Pierro wrote: > There are many old applications in http://web2py.com/appliances some > are current, come are old, some are crap. > > I encourage users to adopt an app: This is great idea!!! > - pick one > - download it and try it > - determine

[web2py] Re: Rocket - Static Files length error

2011-08-09 Thread Massimo Di Pierro
can somebody reproduce this problem? Can you please open a ticket with as many details as you can? On Aug 8, 3:11 pm, Brian M wrote: > I've got a web2py app that has started to behave oddly - suddenly static > files aren't loading reliably.  In Chrome's developer tools it appears that > rocket is

[web2py] Re: web2py-piwik

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 06:42:47 -0700 (PDT) Massimo Di Pierro wrote: > Not has good but we had these: > http://web2py.com/appliances/default/show/27 > http://web2py.com/appliances/default/show/14 > could use some work... Well, I thought about web2py-piwiki which would integrate Piwik in the appadmin

[web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Massimo Di Pierro
One Django installation maps 1-1 into a project. A project can contain many reusable apps. All the apps in the project share one config file and the database connections defined there. One web2py installation can contain many apps (what web2py calls an app is what django calls a project) and diffe

[web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 05:55:45 -0700 (PDT) Ross Peoples wrote: > I don't know anything about Django's reusable apps. I assume it means > that you can package an application up and give it to someone as a > plugin or appliance or something similar. "A reusable Django app, is an app that is easily p

[web2py] adopt an app!

2011-08-09 Thread Massimo Di Pierro
There are many old applications in http://web2py.com/appliances some are current, come are old, some are crap. I encourage users to adopt an app: - pick one - download it and try it - determine if it is crap and if it is let me know, I will delete it! (*) - try improve it (good exercise) (**) - ad

[web2py] Re: web2py-piwik

2011-08-09 Thread Massimo Di Pierro
Not has good but we had these: http://web2py.com/appliances/default/show/27 http://web2py.com/appliances/default/show/14 could use some work... Massimo On Aug 9, 7:32 am, Gour-Gadadhara Dasa wrote: > Hello, > > for my present PHP web sites I use Piwik (http://piwik.org/) - open source web > anal

[web2py] Re: Follow-up on web2py, mercurial, and Fabric

2011-08-09 Thread Eric Scott
Thanks Richard and pbreit for your input. pbreit -- what you describe is similar to what I was thinking of. And yes, it would be nice if there were a standardized way to do this. Richard, since Bitbucket is acting as my central repo, I'll need to pull from bitbucket to the production server. But

[web2py] Re: what is web2py equivalent of django's reusable app

2011-08-09 Thread Ross Peoples
I don't know anything about Django's reusable apps. I assume it means that you can package an application up and give it to someone as a plugin or appliance or something similar. If that's the case, then web2py already provides this. You can package apps and plugins into w2p files for distribut

[web2py] spam protection for web2py sites

2011-08-09 Thread Gour-Gadadhara Dasa
Hello, What do you recommend and/or what is available for spam protection of blog comments & forms in web2py-based sites? I know there is Recaptcha, but wonder about stuff like Akismet/Tyepad/Mollon/... ? Sincerely, Gour -- “In the material world, conceptions of good and bad are all mental sp

[web2py] web2py-piwik

2011-08-09 Thread Gour-Gadadhara Dasa
Hello, for my present PHP web sites I use Piwik (http://piwik.org/) - open source web analytics software. I also know about 'django-piwik' (https://github.com/francois2metz/Python-piwik) and wonder if there is something for web2py? I couldn't find anything and if there is nothing, what do you thi

[web2py] what is web2py equivalent of django's reusable app

2011-08-09 Thread Gour-Gadadhara Dasa
More than two and half years ago I played with Django and became enamored by hearing high-selling points about (Django's) re-usable apps. However, real life was not so thrilling and I went back to PHP. iWhen I did return to Python/Django I experienced (again) apps which use the same reusable app (m

[web2py] Re: video about new web2py scheduler [RFC]

2011-08-09 Thread Ross Peoples
Very cool. I wondered how exceptions would work. I like how it puts the traceback in there. This is WAY more useful than the current cron method. I have a web2py app generating a report every morning that takes a few minutes to run, I had to write a module for it, then a bootstrap file for it,

Re: [web2py] video about new web2py scheduler [RFC]

2011-08-09 Thread António Ramos
Thank you Good job 2011/8/9 Massimo Di Pierro > http://www.vimeo.com/27478796 >

[web2py] Re: web2py repo format at LP

2011-08-09 Thread Gour-Gadadhara Dasa
On Tue, 9 Aug 2011 01:18:58 -0700 (PDT) Massimo Di Pierro wrote: Hello Massimo, > we use mostly mercurial and I have not put much attention into bzr. That's OK. Mercurial is nice, better (imho) than git and I've bzr-hg plugin installed. :-) > Can you tell he how to change format from 1 to 2?

[web2py] video about new web2py scheduler [RFC]

2011-08-09 Thread Massimo Di Pierro
http://www.vimeo.com/27478796

[web2py] Re: The web2py grid/crud plugin you've always dreamed about! Options

2011-08-09 Thread peter
I found the problem, it was caused by having something in _init_.py Thanks On Aug 8, 4:10 pm, peter wrote: > And where does the custom_importer get its paths from, because they > seem different in some apps to in others. > So how can I check the paths or change them. > Thanks > > On Aug 8, 1:08 

[web2py] Re: web2py repo format at LP

2011-08-09 Thread Massimo Di Pierro
Dear Gour, we use mostly mercurial and I have not put much attention into bzr. Can you tell he how to change format from 1 to 2? I have no objection in principle but it will happen sooner if you can save me time. ;-) On Aug 9, 2:38 am, Gour-Gadadhara Dasa wrote: > Hello! > > I've decided to use

[web2py] Re: IMPORTANT on cron jobs, scheduled jobs and delayed jobs

2011-08-09 Thread Massimo Di Pierro
On Aug 8, 9:07 pm, Andrew wrote: > I don't know anything about Celery, but I am interested in scheduling > functionality for web2py.  When you mention it doesn't have > dependencies, I assume you mean the code itself. > > One of my next tasks was to look at open source schedulers, > particularly t

[web2py] web2py repo format at LP

2011-08-09 Thread Gour-Gadadhara Dasa
Hello! I've decided to use web2py for all my needs instead of Django...one of the first thing how I want to contribute is by some translation work and since I keep all my work under DVCS - bzr is my preferred DVCS (after spending several years with darcs) over git & hg - I went to pull web2py bran

[web2py] Why is_active?

2011-08-09 Thread Yair Eshel
This is a patch that allows you to adds auth.settings.is_active_writable It is set to True by default, for backword compatablity, but I took the liberty of turning it off in the welcome app, by defalt. I Hope it'll bring you joy. -- Get Freebiz - השיגו פריביז http://www.fribiz.com/referrer/guru