[web2py:19723] Re: Routes Help Plz :)

2009-04-13 Thread ceej
I've noticed that if I have mydomain.com/http://google.com?a=test it will ignore a in path, is there anyway in routes I can convert ? to safe text? I've created a tinyurl.com but better in web2py. This is my last problem before I update the look and make it opensource :) say if you are at http://

[web2py:19722] Re: Issue: sqlite:memory:

2009-04-13 Thread Yarko Tymciurak
Thanks Iceberg - this makes some sense... On Mon, Apr 13, 2009 at 11:28 PM, Iceberg wrote: > > Thanks Yarko's insight on the topic of db performance domain. > > As to me, I brought up the issue only because I want to store sessions > in RAM. In many cases sessions are not needed to be persistent

[web2py:19721] Tips of the day

2009-04-13 Thread mdipierro
Usefult shortcuts to define in the model: user_id = auth.user.id if auth.user else 0 item_id = request.args[0] if request.args else 0 now = request.now def url(f,args=[]): return URL(r=request,f=f,args=args) def goto(f,args=[],flash=None): """ usage: goto('index',flash='hello world') ""

[web2py:19720] Re: Issue: sqlite:memory:

2009-04-13 Thread Iceberg
Thanks Yarko's insight on the topic of db performance domain. As to me, I brought up the issue only because I want to store sessions in RAM. In many cases sessions are not needed to be persistent on disk. Ram means maintenance free here, that way there is no need to delete old session files anymo

[web2py:19719] pyForum B3 released

2009-04-13 Thread Speedbird
Released a couple of minutes ago, the update contains Pseudo-html code support added, and a little bit of code cleanup, read what this update contain at http://www.pyforum.org/pyforum/default/view_topic/33 What is pyForum? - pyForum is a 100% python-based message board system based in the excelle

[web2py:19718] Re: routes.py update without restart webserver

2009-04-13 Thread Álvaro Justen [Turicas]
On Mon, Apr 13, 2009 at 2:36 PM, Yarko Tymciurak wrote: > in a shared host, there must always be someway to restart your > applicacation. > If hosting is using mod_wsgi (for example), you can restart your application > hosted by mod_wsgi by restarting mod_wsgi > (see http://code.google.com/p/modw

[web2py:19717] Re: RFC auto fields

2009-04-13 Thread Yarko Tymciurak
On Mon, Apr 13, 2009 at 7:22 PM, Yarko Tymciurak wrote: > > *snip!* > >- db.define_table(table.shorthand_string) # where gluon.define_table >calls yet something else to parse, which application writer cannot >CANNOT ever modify or change (e.g. result is something overspecified b

[web2py:19716] Re: RFC auto fields

2009-04-13 Thread Yarko Tymciurak
On Mon, Apr 13, 2009 at 7:04 PM, Yarko Tymciurak wrote: > On Mon, Apr 13, 2009 at 5:28 PM, mdipierro wrote: > >> >> I can see lots of typos in people trying to do >> >> db.define_table('name','name string','birthdaty datetime') > > > Well - if the main goal is to have people type less, then this

[web2py:19715] Re: Routes Help Plz :)

2009-04-13 Thread ceej
Nice, doing it your way will fix the issues :) Thank you very much :) On Apr 13, 7:05 pm, mdipierro wrote: > Rules are executed in order. > > add as last one > > ('/(?P.*)','/cj/default/index/\g') > > you can also do > > ('/(?P.*)','/cj/default/index?path=\g') > > to avoid problems with strange

[web2py:19714] Re: Routes Help Plz :)

2009-04-13 Thread ceej
I did it: routes_in=( ('/admin(?P.*)', '/admin\g'), ('/static(?P.+)', '/cj/static\g'), ('/(?Perror|blog|auth)', '/cj/$controller/index'), ('/cj/(?P.+)', '/cj/\g'), ('^.*:/$', '/cj/main/index'), ('/(?P.+)', '/cj/main/index/$args'), ) routes_out=( ('/admin(?P.*)', '/admin\g'), ('^/cj/main/i

[web2py:19713] Re: Routes Help Plz :)

2009-04-13 Thread mdipierro
Rules are executed in order. add as last one ('/(?P.*)','/cj/default/index/\g') you can also do ('/(?P.*)','/cj/default/index?path=\g') to avoid problems with strange chars in incomping URL On Apr 13, 6:51 pm, ceej wrote: > so if I've defined what mydomain.com/controllers are, how would I

[web2py:19712] Re: RFC auto fields

2009-04-13 Thread Yarko Tymciurak
On Mon, Apr 13, 2009 at 5:28 PM, mdipierro wrote: > > I can see lots of typos in people trying to do > > db.define_table('name','name string','birthdaty datetime') Well - if the main goal is to have people type less, then this is not a problem - can do this from an application / user interface;

[web2py:19711] Re: Routes Help Plz :)

2009-04-13 Thread ceej
so if I've defined what mydomain.com/controllers are, how would I make it so anything not my controller like mydomain.com/jnjNKJN would be picked up in my /cj/main/index as request.args[0] ? On Apr 13, 6:40 pm, mdipierro wrote: > It cannot check for controller files but you can list them. replac

[web2py:19710] Re: query with crud

2009-04-13 Thread mdipierro
I would suggest you do instead items=db(db.task.taskarea=='Hardware').select(db.task.ALL) return dict(items=items) You can then access items[i].startTime etc and do what you need. On Apr 13, 6:02 pm, Wes James wrote: > This works: > > def item_tasks(): >     return crud.select(db.task

[web2py:19709] Re: Routes Help Plz :)

2009-04-13 Thread mdipierro
It cannot check for controller files but you can list them. replace ('/$controller', '/cj/$controller/index'), with ('/(?Pmycontroller1|mycontroller2|mycontroller3)', '/cj/ $controller/index'), On Apr 13, 5:44 pm, ceej wrote: > If I'm doing this: > > routes_in=( >  ('/admin(?P.*)', '/admin\g'

[web2py:19708] query with crud

2009-04-13 Thread Wes James
This works: def item_tasks(): return crud.select(db.task, db.task.taskarea=='Hardware') or "No data" but I have a startTime and endTime in the DB and would like to have query="sum(endTime - startTime) in the crud.select. Where do you put the sum in with crud formatting? thx, -wj --~--~-

[web2py:19707] Routes Help Plz :)

2009-04-13 Thread ceej
If I'm doing this: routes_in=( ('/admin(?P.*)', '/admin\g'), ('/cj/(?P.+)', '/cj/\g'), ('/$controller', '/cj/$controller/index'), ('^.*:/$', '/cj/main/index'), ('/(?P.+)', '/cj/\g'), ) routes_out=( ('/admin(?P.*)', '/admin\g'), ('^/cj/main/index$','/'), ('/cj/(?P.+)', '/\g'), ) So if I g

[web2py:19706] Re: web2py @ twitter.com

2009-04-13 Thread Wes James
On Mon, Apr 13, 2009 at 4:24 PM, mdipierro wrote: > > bio section? go to http://twitter.com/web2py look at the top right: * Name web2py Lover * Web http://web2py.com * Bio Pyhton Developer -wj --~--~-~--~~~---~--~~ You received this message bec

[web2py:19705] Re: RFC auto fields

2009-04-13 Thread mdipierro
I can see lots of typos in people trying to do db.define_table('name','name string','birthdaty datetime') vs db.define_table('name: name string, birthdaty datetime') I think we can support both notations. What do you think? This comment: > for table in db(db.meta.id>0).select(): > db.defin

[web2py:19704] Re: web2py @ twitter.com

2009-04-13 Thread mdipierro
bio section? On Apr 13, 4:37 pm, "mr.freeze" wrote: > BTW, Python is misspelled in the bio section. > > On Apr 13, 11:04 am, mdipierro wrote: > > > He registered the account and email me the password. > > > Massimo > > > On Apr 13, 10:44 am, Wes James wrote: > > > > On Mon, Apr 13, 2009 at 12:

[web2py:19703] Routes allowing : and /

2009-04-13 Thread ceej
I know you can have . in routes like mydomain.com/function/google.com is it possible to allow mydomain.com/function/http://google.com Also is it possible for the route of mydomain.com/ to check to see if a controller exists with that name i.e. mydomain.com/test if there is no test controller it

[web2py:19702] Re: web2py @ twitter.com

2009-04-13 Thread mr.freeze
BTW, Python is misspelled in the bio section. On Apr 13, 11:04 am, mdipierro wrote: > He registered the account and email me the password. > > Massimo > > On Apr 13, 10:44 am, Wes James wrote: > > > On Mon, Apr 13, 2009 at 12:15 AM, Yarko Tymciurak wrote: > > > ??? > > >http://twitter.com/web2

[web2py:19701] Re: RFC auto fields

2009-04-13 Thread Yarko Tymciurak
On Mon, Apr 13, 2009 at 2:11 PM, mdipierro wrote: > > I agree that the syntax you propose is cleaner but why are we doing > this? > > For me the reason is move functionality out of T3. Ok. > In particular we need a way to store a model in another model (think > of a table of table description

[web2py:19700] Re: RFC auto fields

2009-04-13 Thread Yarko Tymciurak
On Mon, Apr 13, 2009 at 2:11 PM, mdipierro wrote: > > I agree that the syntax you propose is cleaner but why are we doing > this? > > For me the reason is move functionality out of T3. Ok. > In particular we need a way to store a model in another model (think > of a table of table description

[web2py:19699] invalid gluton.tools.Mail docstring

2009-04-13 Thread virhilo
Hello:) The part of gluton.tools.Mail class doc string should look like that: from gluon.tools import Mail mail=Mail() mail.settings.server='smtp.gmail.com:587' mail.settings.sender='y...@somewhere.com' mail.settings.login=None or 'username:password' instead of: from gluon.contrib.utils import *

[web2py:19698] Re: RFC auto fields

2009-04-13 Thread mdipierro
I agree that the syntax you propose is cleaner but why are we doing this? For me the reason is move functionality out of T3. In particular we need a way to store a model in another model (think of a table of table descriptions) in order to be able to create models on GAE without going through th

[web2py:19696] Re: RFC auto fields

2009-04-13 Thread Yarko Tymciurak
On Mon, Apr 13, 2009 at 1:40 PM, Yarko Tymciurak wrote: > I have a couple of immediate comments: > [1] - with this syntax, you do not process and fields or migrate statements > (but you _could_; suggest you do) > [2] - the autofields() function seems to mash concerns in other ways also: > it han

[web2py:19697] Re: RFC auto fields

2009-04-13 Thread Yarko Tymciurak
On Mon, Apr 13, 2009 at 1:53 PM, Yarko Tymciurak wrote: > On Mon, Apr 13, 2009 at 1:40 PM, Yarko Tymciurak wrote: > >> I have a couple of immediate comments: >> [1] - with this syntax, you do not process and fields or migrate >> statements (but you _could_; suggest you do) >> [2] - the autofields

[web2py:19695] Re: RFC auto fields

2009-04-13 Thread Yarko Tymciurak
I have a couple of immediate comments: [1] - with this syntax, you do not process and fields or migrate statements (but you _could_; suggest you do) [2] - the autofields() function seems to mash concerns in other ways also: it handles tablename update (? why here) in addition to "autofields"; for

[web2py:19694] Re: Issue: sqlite:memory:

2009-04-13 Thread Yarko Tymciurak
temporary tables as a performance issue seem reasonable... Solving database storage performance in web2py seems the _wrong_ place to do this. Temporary tables (per-request) which help manage web2py's assumption that everything is data-driven, that is so you can take advantage of forms, etc. seem

[web2py:19693] Re: RFC auto fields

2009-04-13 Thread mdipierro
Try latest trunk. You can do: db.define_table('friendship: person by name birthday notnull, dog by name ') mind that you cannot have both notnull and unique and you cannot have a unique reference because I just realized we lack a validator to do it. I will make one and extend this.. Massimo On

[web2py:19692] Re: web2py team & Geo/GIS project created at Launchpad

2009-04-13 Thread dbb
I am on the process of creating how to create a map from scratch using web2py. On Apr 9, 11:43 am, AchipA wrote: > TheGIStopic is pretty complex - you have to decide early on whether > you want a simple spatial interface which is basically a pretty > picture viewer with some associated features

[web2py:19691] Re: web2py @ twitter.com

2009-04-13 Thread Yarko Tymciurak
ah - yes, of course... thanks. On Mon, Apr 13, 2009 at 10:44 AM, Wes James wrote: > > On Mon, Apr 13, 2009 at 12:15 AM, Yarko Tymciurak > wrote: > > ??? > > > > http://twitter.com/web2py > > BTW, Massimo, how do you know it was that person? > > -wj > > > > --~--~-~--~~~

[web2py:19690] Re: response.flash problem

2009-04-13 Thread Yarko Tymciurak
On Mon, Apr 13, 2009 at 9:55 AM, DenesL wrote: > > Hi Yarko, > > I don't get what you are saying, the points were: If following threads in email, then it is completely "ok" to "reply" and entirely change the subject line (number and all) to a now topic it will be posted (when the mail is r

[web2py:19689] Re: routes.py update without restart webserver

2009-04-13 Thread Yarko Tymciurak
in a shared host, there must always be someway to restart your applicacation. If hosting is using mod_wsgi (for example), you can restart your application hosted by mod_wsgi by restarting mod_wsgi (see http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode

[web2py:19688] Re: RFC auto fields

2009-04-13 Thread mdipierro
Actually it does just db.define_table('friendship' ,SQLField('person_name') ) but I am about to follow your suggestion (with a slight change in notation) and do db.define_table('friendship: person by name birthday notnull, dog by name ') generate: db.define_table('friendship' ,SQLField(

[web2py:19687] Re: how to do autoindex for directories & serve static html files

2009-04-13 Thread Yarko Tymciurak
or at least _I'd_ like to be able to do this I remember attempts to get sqldesigner be part of web2py without making any changes (so updates could be taken directly) - it's documentation would fail in this way, and it was one of the annoyances. On Mon, Apr 13, 2009 at 12:15 PM, Yarko

[web2py:19686] Re: how to do autoindex for directories & serve static html files

2009-04-13 Thread Yarko Tymciurak
or at least _I'd_ like to be able to do this I remember attempts to get sqldesigner be part of web2py without making any changes (so updates could be taken directly) - it's documentation would fail in this way, and it was one of the annoyances. On Mon, Apr 13, 2009 at 12:15 PM, Yarko

[web2py:19685] Re: how to do autoindex for directories & serve static html files

2009-04-13 Thread Yarko Tymciurak
that is only an option - still, you would like to be able to (say) write documentation for web2py using sphinx, generate all the indexes, and server the docs from within your web2py instance it's really a packaging / complexity of setup+deployment decision. On Mon, Apr 13, 2009 at 2:57 AM, Mi

[web2py:19684] Re: RFC auto fields

2009-04-13 Thread Iceberg
Good to have a new alternative syntax, though I doubt it is not powerful enough for some serious app which need to do many things for a SQLField(...), such as: SQLField('name', requires=IS_NOT_EMPTY(), label='User Name', comment='blah', # needed by many t2 functions writable=False, ...)

[web2py:19683] Re: RFC auto fields

2009-04-13 Thread vihang
The syntax above is very straightforward and useful and those not look very ambiguous. dot notation can be introduced for what DenesL suggested... i,e, if we have db.define_table('person : Name, Birthday date, Telephone') db.define_table('dog: Name, Owner person.Name, Picture upload') Here with

[web2py:19682] Re: Issue: sqlite:memory:

2009-04-13 Thread vihang
I like the proposal very much. Will be very useful. In the project I am working with, we need to create a lot of temporary tables. And memory seemed very good option. On Apr 13, 8:22 pm, Iceberg wrote: > If you are talking about where to store those *.table files, how about > just store them ins

[web2py:19681] Re: GAE help

2009-04-13 Thread Robin B
You are absolutely correct, in gaehandler.py I had set: settings.web2py_runtime = "foobar" to benchmark without caching. Thanks for making this important update for GAE. Robin On Apr 13, 10:44 am, mdipierro wrote: > I see the problem. You either tried this without GAE or you used your > own

[web2py:19680] Re: Issue: sqlite:memory:

2009-04-13 Thread Iceberg
If you are talking about where to store those *.table files, how about just store them inside a "system_table" in the db=SQLDB ('sqlite:')? In this way perhaps we don't need *.table anymore but I might be wrong. :P On Apr14, 0:02am, mdipierro wrote: > Here is a proposal > > db=SQLDB('sq

[web2py:19679] Re: web2py @ twitter.com

2009-04-13 Thread Wes James
On Mon, Apr 13, 2009 at 10:04 AM, mdipierro wrote: > > He registered the account and email me the password. > > Massimo ah, ok. Are you going announce version updates there? I sent the followers from 0 to 1. I've never been first on anything. Thanks ;) I guess the first follower would techn

[web2py:19678] Re: RFC auto fields

2009-04-13 Thread DenesL
Maybe too short to be useful, but when you get to references it would be nice to have: db.define_table('friendship: person.name, dog.name') But then, does this mean: db.define_table('friendship' ,SQLField('person_name' ,db.person ,requires=IS_IN_DB(db,db.person,'%(name)') )... or

[web2py:19677] Re: web2py @ twitter.com

2009-04-13 Thread mdipierro
He registered the account and email me the password. Massimo On Apr 13, 10:44 am, Wes James wrote: > On Mon, Apr 13, 2009 at 12:15 AM, Yarko Tymciurak wrote: > > ??? > > http://twitter.com/web2py > > BTW, Massimo, how do you know it was that person? > > -wj --~--~-~--~~

[web2py:19676] Re: Issue: sqlite:memory:

2009-04-13 Thread mdipierro
Here is a proposal db=SQLDB('sqlite:memory:appname',cache=cache.ram) Working on this but the problem is determining whether tables are there or need to be created. Massimo On Apr 13, 10:30 am, Iceberg wrote: > This is a topic with long > history.http://groups.google.com/group/web2py/msg/df79

[web2py:19675] Re: web2py @ twitter.com

2009-04-13 Thread Wes James
On Mon, Apr 13, 2009 at 12:15 AM, Yarko Tymciurak wrote: > ??? > http://twitter.com/web2py BTW, Massimo, how do you know it was that person? -wj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framewo

[web2py:19674] Re: GAE help

2009-04-13 Thread mdipierro
I see the problem. You either tried this without GAE or you used your own gaehandler.py instead of the provided one. If compileapp does not find settings.web2py_runtime in ['gae:production','gae:development'] it will assume NO GAE and only cache the model source (which is not really necessary any

[web2py:19673] Re: Issue: sqlite:memory:

2009-04-13 Thread Iceberg
This is a topic with long history. http://groups.google.com/group/web2py/msg/df79e41f2298bef2 Hopefully Massimo will eventually find a way to implement a ram based db. :-) On Apr13, 10:44pm, vihang wrote: > There maybe something wrong in my understanding, in which case please > correct me, but

[web2py:19672] Re: '%LIKE%' syntax.

2009-04-13 Thread Wes James
On Sat, Apr 11, 2009 at 11:20 PM, mdipierro wrote: > > I do not understand. Can you make an example? > > On Apr 11, 5:36 pm, AchipA wrote: >> what would be the reverse of that ? if the field is the substring we >> want to locate ? I have a solution but it's ugly/hackish so I'm open >> to suggest

[web2py:19671] Re: Packing without errors/* nor sessions/*

2009-04-13 Thread mdipierro
thank you On Apr 13, 10:16 am, Iceberg wrote: > Hi pals, > > I've adjusted the admin app to pack things except errors/* and sessions/* > > However I still choose to call __cleanup() before packing, because it is more > simple, and no need to repeat special treatment for errors/* and sessions/*

[web2py:19670] Re: Issue: sqlite:memory:

2009-04-13 Thread mdipierro
On Apr 13, 9:44 am, vihang wrote: > There maybe something wrong in my understanding, in which case please > correct me, but db objects created using sqlite:memory: are not > persistant. i.e. insert does not work? Is this is a bug ? If not, > could someone tell me what it is suppose to do? They

[web2py:19669] Re: GAE help

2009-04-13 Thread mdipierro
That is not what it is supposed to do. very strange. Let me check! On Apr 13, 10:09 am, Robin B wrote: > Looks good, but I tried inspecting 'cfs' to verify that it is caching > the ccode: > > in controller/default.py: > > from gluon.compileapp import cfs > def index(): >     response.flash = BEA

[web2py:19668] Packing without errors/* nor sessions/*

2009-04-13 Thread Iceberg
Hi pals, I've adjusted the admin app to pack things except errors/* and sessions/* However I still choose to call __cleanup() before packing, because it is more simple, and no need to repeat special treatment for errors/* and sessions/* (the DRY rule). Besides, I fixed a bug occurs when trying

[web2py:19667] Re: GAE help

2009-04-13 Thread Robin B
Looks good, but I tried inspecting 'cfs' to verify that it is caching the ccode: in controller/default.py: from gluon.compileapp import cfs def index(): response.flash = BEAUTIFY(cfs) return dict(message=T('Hello World')) The results were not what I expected. Only the model db.py was c

[web2py:19666] response.flash problem

2009-04-13 Thread DenesL
Hi Yarko, I don't get what you are saying, the points were: 1) You should open a new thread for a new problem. 2) Don't change the subject (topic in discussions page of the group), it makes the thread harder to find for the people following it. Denes. On Apr 13, 2:40 am, Yarko Tymciurak wrote

[web2py:19665] Issue: sqlite:memory:

2009-04-13 Thread vihang
There maybe something wrong in my understanding, in which case please correct me, but db objects created using sqlite:memory: are not persistant. i.e. insert does not work? Is this is a bug ? If not, could someone tell me what it is suppose to do? To replicate behavior, create new db object (db =

[web2py:19664] Re: dropbox in form_factory

2009-04-13 Thread DenesL
Hi Annet, On Apr 13, 3:54 am, jmverm...@xs4all.nl wrote: > Massimo, > > >SQLField(...widget=...) > >there are some examples in gluon/sqlhtml.py but your way of doing it > >is the easiest way. > > I think I prefer the widget, the easiest way is not always the most > beautiful way. I had a look at

[web2py:19663] Re: Layout problem

2009-04-13 Thread DenesL
Annet, it is hard to tell without the full html and css. But you might be against a common problem: http://www.xs4all.nl/~sbpoley/webmatters/layout3.html Denes. On Apr 13, 9:17 am, annet wrote: > Denes, > > I still haven't been able to solve my layout problem. I have both used > Safari and Fir

[web2py:19662] Re: dataTables and date

2009-04-13 Thread mdipierro
On Apr 13, 3:13 am, jmverm...@xs4all.nl wrote: > I am not sure I complete get the implication of your answer. Are you > saying I have two options? correct > [...] and create a language file en-du.py. Will this in all cases take care > of the date being presented in the correct format? yes >

[web2py:19661] Layout problem

2009-04-13 Thread annet
Denes, I still haven't been able to solve my layout problem. I have both used Safari and Firefox to find the cause of the problem, without any result. Part of my layout reads like: {{if response.image:}}

[web2py:19660] Re: routes.py update without restart webserver

2009-04-13 Thread Álvaro Justen [Turicas]
On Mon, Apr 13, 2009 at 2:34 AM, mdipierro wrote: > This is not an easy one. The problem is that the routes code is > outside any app. Currently if there is a bug in routes, web2py does > not start. If you allow changes at runtime: 1) you make web2py slower > because changes have to be monitored;

[web2py:19659] Re: dataTables and date

2009-04-13 Thread jmvermeer
The problem described above, seems to have something to do with the language file being ignored. I a function I have the following string constants marked by T response.functionname=T('Club locator by place') response.flash=T('Form has errors') response.flash=T('Please fill the form') The en-nl

[web2py:19658] Re: dataTables and date

2009-04-13 Thread jmvermeer
I tried: > Two: change the validators to read like: > > db.event.datum.requires=[IS_DATE(str(T('%Y-%m-%d'))), IS_NOT_EMPTY()] > db.event.einddatum.requires=IS_DATE(str(T('%Y-%m-%d'))) > > and create a language file en-nl.py. Translations: OriginalTranslation %Y

[web2py:19657] Re: dataTables and date

2009-04-13 Thread jmvermeer
I am not sure I complete get the implication of your answer. Are you saying I have two options? One: leave the model as it is: db.define_table('event', SQLField(...), SQLField('datum', type='date', default='', notnull=True,), SQLField('einddatum', type='date'), SQLField('...),

[web2py:19656] Re: Can't seem my web apps from other computers on the network.

2009-04-13 Thread Michal Jursa
By default web2py application binds only to local loopback device, so it is accessible only from local machine. Use -i 0.0.0.0 when starting application and it will be accessible on every network device in your computer. Michal Jason Brower wrote: > I try to use my IP addy from another comput

[web2py:19655] Re: how to do autoindex for directories & serve static html files

2009-04-13 Thread Michal Jursa
I'd say, if you just need to serve direcotry indexes and static files, use separate http server for that part and not application server. Michal Yarko Tymciurak wrote: > Note: If you serve static files like this, you will run into > (potentially) one problem: > > If (as is common) a link to

[web2py:19654] Re: dropbox in form_factory

2009-04-13 Thread jmvermeer
Massimo, >SQLField(...widget=...) >there are some examples in gluon/sqlhtml.py but your way of doing it >is the easiest way. I think I prefer the widget, the easiest way is not always the most beautiful way. I had a look at the gluon/sqlhtml.py file, I suppose the OptionsWidget is the one I need

[web2py:19653] Re: New App - hope you like it

2009-04-13 Thread Anand Vaidya
Hi Speedbird, The forum really looks great. I hope it will become a good alternative to the popular PHP based forum software ( such as phpBB.) Regards Anand On Apr 11, 5:25 am, Speedbird wrote: > Here's the last of my "pets", I present you with pyForum, the FIRST > message board written exclus

[web2py:19652] Re: Ajax Auth and Multiple Single Signon

2009-04-13 Thread Boris Manojlovic
maybe I'll look into this, as I will have a need for this integrating with AD (ldap) On Mon, Apr 13, 2009 at 8:16 AM, suiato wrote: > > The page (https://rpxnow.com/docs) has example code in C#, Java, PHP > and RoR. > Not in Python, but supposedly the program in C# or Java can be called > by Py

[web2py:19651] Re: New App - hope you like it

2009-04-13 Thread Jason Brower
+1 I like that idea. What would be the reason to leave that data in the package? And if so, it would be good to have an option for it. -BR Jason On Sun, 2009-04-12 at 22:59 -0700, Iceberg wrote: > Nothing wrong, but it seems people tends to forget pressing the > cleanup button before packing,

[web2py:19650] Re: google trends today

2009-04-13 Thread Jason Brower
Congrats! That's a big step in my opinion. :D -BR Jason On Sun, 2009-04-12 at 22:29 -0700, mdipierro wrote: > http://www.web2py.com/examples/static/the_pass.png > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[web2py:19649] Can't seem my web apps from other computers on the network.

2009-04-13 Thread Jason Brower
I try to use my IP addy from another computer on the same network but it doesn't show up. Is there a setting somewhere that I need to change to make it accessable from outside the network? (I need it for browser testing.) Best Regards, Jason Brower --~--~-~--~~~---~-