[web2py] Re: design issue

2010-05-14 Thread annet
Hi, Thank you very much for your extensive reply, it's very helpful, at least I now have an idea of how to approach this problem. Kind regards, Annet

[web2py] Re: Do you use web2py in your company?

2010-05-14 Thread szimszon
Forgot to mention my parent's website: http://oregpreshaz.eu/ :) (email form, guestbook, photo gallery, recaptcha) On máj. 13, 14:01, szimszon szims...@gmail.com wrote: I made several small apps, and installed a CAS to centralize the authentication but there are not enterprise grade... I

[web2py] Re: design issue

2010-05-14 Thread cjrh
On May 14, 9:24 am, annet annet.verm...@gmail.com wrote: Thank you very much for your extensive reply, it's very helpful, at least I now have an idea of how to approach this problem. If you come up with a better way, please share!

[web2py] jqgrid onSelectRow refresh iframe

2010-05-14 Thread Jason Lotz
Now I have two containers, one includes jqgrid_plugin the other includes iframe to display /default/details view. Both work fine on the initial load of the page. Using jqgrid onSelectRow event I tried to add a function to update the iframe page. ## View div

[web2py] Re: How to auto-login into an account from an specific computer.

2010-05-14 Thread Benigno
Is there any simpler way or any example of this or something similar anywhere that I could use as an example?. On May 13, 11:32 am, cjrh caleb.hatti...@gmail.com wrote: On May 13, 10:06 am, Benigno bca...@albendas.com wrote: We have made an app with web2py to present data from a

[web2py] Re: How to auto-login into an account from an specific computer.

2010-05-14 Thread cjrh
On May 14, 10:05 am, Benigno bca...@albendas.com wrote: Is there any simpler way or any example of this or something similar anywhere that I could use as an example?. The presence of the Session ID in the response object is all handled by web2py. On the client side, whatever tool you're using

[web2py] Re: jqgrid onSelectRow refresh iframe

2010-05-14 Thread Jason Lotz
The first and obvious thing I see I did wrong was trying to put python into jquery script. jQuery(#%(id)s).jqGrid({ onSelectRow: function() { $ ('#myframe').attr('src',{{=URL(r=request,f='details',args=2)}});} But I still don't understand how I can make it dynamic src, or how to get jquery

[web2py] Re: Do you use web2py in your company?

2010-05-14 Thread Anand Vaidya
I have deployed a web2py based app in a high profile defence contractor co. I was told by the company not to disclose or publish any details about the project . Sorry, no details. Regards, Anand

[web2py] Re: jqgrid onSelectRow refresh iframe

2010-05-14 Thread Jason Lotz
Sorry to keep replying to myself. Just wanted to let you know my progress. After stepping back and evaluating the case I managed to configure it as I wanted. ## View jQuery(document).ready(function(){jQuery(#%(id)s).jqGrid({ onSelectRow: function(postdata){$(#myframe).attr('src',/MyApp/

[web2py] Re: Review my web2py app: Radbox.me

2010-05-14 Thread selecta
got it to work with FF but the 3. Favorites 4. Archives links jump when I hover with my mouse over them in FF On May 12, 5:38 pm, Adi aditya.sa...@gmail.com wrote: We have not tested much with Opera - there may be some issues specific to the browser. I added the same video to my account

[web2py] Re: Idea: Appliance remote management

2010-05-14 Thread blackthorne
Maybe, before going further with this there should be a place in web2py framework to edit the app details such as the version, dependencies, app name, which could be included in the app_conf.yml file [?]. This would make things a lot easier when you want to retrieve the details of an app or when

[web2py] Re: Do you use web2py in your company?

2010-05-14 Thread hywang
I am developing a lightweight CMS framework using web2py. Maybe I will make it surpport multilanguages, but recently I am too busy. If you register, you will find that you can't do nothing, because you has no enough privilege. http://www.hibitty.com/ thanks.

Re: [web2py] SSL is OFF error message when starting the server

2010-05-14 Thread Timothy Farrell
As of version 1.77.3, web2py depends on the ssl package for HTTPS support. It no longer uses the pyOpenSSL package. You can get ssl for Python 2.3-2.5 from the cheeseshop. -tim On 5/13/2010 4:29 PM, OMAR wrote: I have web2py installed on a remote Debian server. When connecting via my local

Re: [web2py] Re: SSL Error on windows [SOLVED]

2010-05-14 Thread Timothy Farrell
The only question is: how do you want that to look? All web2py interfaces currently only take one IP and socket number. I don't think it's wise to assume that if someone wants HTTPS they automatically want HTTP as well (and pick the port for them). You decide how you want the Tk frontend,

[web2py] Re: Idea: Appliance remote management

2010-05-14 Thread mdipierro
There is LICENSE and ABOUT. We can add another file where to keep metadata and make edtable via admin as with ABOUT. On May 14, 5:14 am, blackthorne francisco@gmail.com wrote: Maybe, before going further with this there should be a place in web2py framework to edit the app details such as

[web2py] Re: SSL Error on windows [SOLVED]

2010-05-14 Thread mdipierro
true and there are security advantages to have two processes serve 80 and 443 respectively. Let's think about this some more. On May 14, 7:52 am, Timothy Farrell tfarr...@swgen.com wrote: The only question is: how do you want that to look? All web2py interfaces currently only take one IP and

[web2py] Re: Idea: Appliance remote management

2010-05-14 Thread blackthorne
that's exactly what I am suggesting. speaking about that, I think I will make a web yaml editor which should be perfect for configurating things with a browser... On May 14, 2:01 pm, mdipierro mdipie...@cs.depaul.edu wrote: There is LICENSE and ABOUT. We can add another file where to keep

[web2py] Re: Idea: Appliance remote management

2010-05-14 Thread mdipierro
I think I will make a web yaml editor which should be perfect for configurating things with a browser... I can see many applications for it, for example a way to edit tables. It would be nice if it were possible to constrain the structure of the accessible yaml (for example the field types

[web2py] Re: Idea: Appliance remote management

2010-05-14 Thread blackthorne
yes. So I see on this thread 2 or 3 different ideas and a small roadmap: - this web conf (YAML) editor as a first step to create/edit app metadata based on a specification (yet to build). This is a general application which can be applied to any yaml file in different scenarios. - On a second

[web2py] Re: JqGrid Plugin

2010-05-14 Thread AsmanCom
@Andrea Your plugin is absolutely awesome, that´s what i´ve looked for! Are going to implement further JQGrid functions in the near future? I would appreciate if the Subgrid feature would be implemented in the plugin: http://www.trirand.com/blog/jqgrid/jqgrid.html -New since beta 3.0 -subgrid

[web2py] Re: jqgrid onSelectRow refresh iframe

2010-05-14 Thread AsmanCom
Hi, i am working with JQGrid plugin too. Just to get your approach right.. you´ve realised a Master-Detail function with the JQGrid? Very nice! May i can use this too. Is the code(for Controller, View) from your last post working, right now? Did you made any changes to the ##model code? I am

[web2py] Postgresql Schema in Web2py

2010-05-14 Thread Jean6uy
Hi, I googled a lot on this topic before send this email. I am kind of postgresql newbie and of course also with web2py. I have already designed a database with PGAdminIII that respond to my need that has already around 50 tables with many foreign key relationship. I use schemas to group my

Re: [web2py] Postgresql Schema in Web2py

2010-05-14 Thread Russ Ferriday
*IF* you determine that web2py is too hard to integrate with your system... You might look at repoze.BFG. It's a python-based framework that inherits some of the best features of Django and Pylons, and can integrate with any (R)DBMS or ORM, quite easily. Good luck with your project, -r. On

[web2py] Re: Postgresql Schema in Web2py

2010-05-14 Thread Mengu
you can install sqlalchemy and use it with web2py. and i recommend using declarative bases: http://www.sqlalchemy.org/docs/ormtutorial.html#creating-table-class-and-mapper-all-at-once-declaratively but remember, if you use sqlalchemy you won't be able to use the built- in auth and crud systems.

[web2py] Re: When and how to use command line option -f FOLDER?

2010-05-14 Thread Iceberg
Hi Massimo, Turns out that the fix [1] is not completed. Most apps work when using web2py -f another_web2py_folder, but not those contains local_import('my_module', app='my_app'). Should be easy to fix, but I even tried to add following lines at line 706 of gluon/widget.py, yet have no luck.

[web2py] Re: Form Checkbox how to Use efectively

2010-05-14 Thread Andrew Evans
Hello I have been doing research and still trying to figure how to check if a check box is checked This is what I have but it doesn't work.. I think the values are not passed myDimensions = [] if session.browser and session.browser == on: myDimensions.append(browser) myMetrics =

[web2py] rpc from jquery

2010-05-14 Thread MikeEllis
Hi, I'm trying to create an application that displays live sparklines (small inline graphs). A typical page might have a dozen or so of these updating every few seconds, so it seems like either jsonrpc or xlmrpc is the right thing to use. As a test, I've currently got sparklines updating on the

[web2py] Re: large sites/application.

2010-05-14 Thread howesc
i have a variety of applications running on web2py. www.tenthrow.com has 33 tables in one postgres schema, and another 9 in another schema. it runs happily along with the low traffic we get right now. all my tables of the same schema are in the same model file (maybe it's time to split it out).

[web2py] Re: Do you use web2py in your company?

2010-05-14 Thread howesc
Massimo, I'm using web2py in almost all of my work right now. * www.tenthrow.com is all webpy with cherokee and postgres. (we are in the middle of a large redesign of the site and i was promised space in the footer for a link back to web2py) * the database backend for an iphone karaoke

[web2py] Re: Postgresql Schema in Web2py

2010-05-14 Thread howesc
Johny, Perhaps i mis-understandbut you have all your tables already created in postgres right? if so, then you can just define your model in web2py using the DAL, but set migrate=false for each table. Then you define the tables yourself (and have complete control over that part), but the

Re: [web2py] Re: Do you use web2py in your company?

2010-05-14 Thread Andrew Evans
Hi I just started using web2py But I am hoping to integrate it in to my company. I own a web dev company currently we are using PHP but I hope to fully integrate web2py on our two dedicated, two vservers and our web sites I must say I love this Framework :-P *cheers Andrew

[web2py] Re: Do you use web2py in your company?

2010-05-14 Thread mdipierro
wow. fantastic sites On May 14, 4:23 pm, howesc how...@umich.edu wrote: Massimo, I'm using web2py in almost all of my work right now. *www.tenthrow.comis all webpy with cherokee and postgres.  (we are in the middle of a large redesign of the site and i was promised space in the footer for

[web2py] Re: rpc from jquery

2010-05-14 Thread mdipierro
Try this: replace $(function() { $('.dynamicsparkline').everyTime(1000,function(i) { var a = [10,9,8,7,6,5,4]; var b = [0,0,0,0,0,0,0] var j = 2+i%5; for(var k=0; kb.length; k++) { b[k] = a[k] %j;} $(this).sparkline(b);

Re: [web2py] Re: Do you use web2py in your company?

2010-05-14 Thread Jonathan Lundell
On May 14, 2010, at 4:41 PM, mdipierro wrote: *www.tenthrow.com is all webpy with cherokee and postgres. (I was puzzling over ten throw until I visited the site) We vpeptech.com use web2py in a server management application. There's a small local table for server ID and credentials, but

[web2py] Re: rpc from jquery

2010-05-14 Thread MikeEllis
Thanks, Massimo! I've said it before, but it's certainly worth repeating. You are running the most responsive and helpful group on the web. So I've almost got it working with your suggestion, but I'm running into what seems to be an issue with javascript's scoping rules. My service function is

[web2py] Re: rpc from jquery

2010-05-14 Thread mdipierro
aha try replace $(function() { $('.dynamicsparkline').everyTime(1000,function(i) { $.getJSON('{{=URL(r=request,f='call/json/ datapoints')}}/'+i, function(data) { var b = [0,0,0,0,0,0,0] var j = 2+i%5; for(var k=0; kb.length; k++) { b[k]

[web2py] PGP Mail

2010-05-14 Thread Massimo Di Pierro
Thanks to szimszon we have PGP in Mail (trunk only) mail.send( self, to, subject='None', message='None', attachments=None, cc=None, bcc=None, reply_to=None, encoding='utf-8', cipher_type=None, sign=True,

Re: [web2py] Re: When and how to use command line option -f FOLDER?

2010-05-14 Thread Jonathan Lundell
On May 14, 2010, at 11:27 AM, Iceberg wrote: Turns out that the fix [1] is not completed. Most apps work when using web2py -f another_web2py_folder, but not those contains local_import('my_module', app='my_app'). Should be easy to fix, but I even tried to add following lines at line 706 of

Re: [web2py] Re: Auth not showing all my custome feilds...

2010-05-14 Thread Jason Brower
It didn't seem to make any difference unfortunately. To be thorough I will include the entire db.py to make sure I didn't miss something. This site goes live in a few weeks and it would be nice to have this feature. Best Regards, Jason Brower On Wed, 2010-05-12 at 21:05 -0700, mdipierro wrote:

[web2py] web2pyslices password hash method

2010-05-14 Thread Frank
thank you freeze for your slices code, now I try hash my password like you did in slices, copy clienttools.py to cd/modules folder,I use the code in def user in default.py and def clientcrypt_auth in db.py like below,but fail, I can register user but password was not hashed in database and still

[web2py] Re: web2pyslices password hash method

2010-05-14 Thread mr.freeze
Can you verify that the jQuery sha256 plugin is being included on the page properly with firebug? On May 14, 11:05 pm, Frank thethinkbo...@gmail.com wrote: thank you freeze for your slices code, now I try hash my password like you did in slices, copy clienttools.py to cd/modules folder,I use

[web2py] Re: web2pyslices password hash method

2010-05-14 Thread Frank
I have jquery, jquqery.idtabs and calendar.js, not sha256. Frank

[web2py] Re: web2pyslices password hash method

2010-05-14 Thread mr.freeze
This line below should add it to the page. If you inspect the head section, you should be able to expand the script tag to verify that it is being included properly. Also, look in your static folder to verify that it is being downloaded properly. Does the password box fill up with masked

[web2py] Re: web2pyslices password hash method

2010-05-14 Thread Frank
like you did, I do following code in def user, and the jquery.sha256.min.js file are properly downloaded. the passward box does not fill up by masked ch like your slices code. page.include(http://plugins.jquery.com/files/ jquery.sha256.min.js.txt,

[web2py] Re: web2pyslices password hash method

2010-05-14 Thread mr.freeze
Do you have this in your view somewhere?: {{=page.render()}} This will render the output of client tools PageManager. On May 14, 11:59 pm, Frank thethinkbo...@gmail.com wrote: like you did, I do following code in def user, and the jquery.sha256.min.js file are properly downloaded. the

[web2py] Re: web2pyslices password hash method

2010-05-14 Thread Frank
and more I use following in def user in default.py, it's same. page.include(URL(r=request,c='static',f='jquery.sha256.min.js')) Frank

[web2py] Re: web2pyslices password hash method

2010-05-14 Thread mr.freeze
Make sure you have {{=page.render()}} in your view. This is what all of the javascript that clienttools.py produces is rendered through. On May 15, 12:04 am, Frank thethinkbo...@gmail.com wrote: and more I use following in def user in default.py, it's same.

[web2py] Re: web2pyslices password hash method

2010-05-14 Thread Frank
you are pefectly right, I include below in web2py_ajax.html {{=page.render()}} it's ok now, thank you very much. Frank

[web2py] Re: PGP Mail

2010-05-14 Thread Iceberg
On May15, 10:39am, Massimo Di Pierro mdipie...@cs.depaul.edu wrote: Thanks to szimszon we have PGP in Mail (trunk only) mail.send(         self,         to,         subject='None',         message='None',         attachments=None,         cc=None,         bcc=None,        

[web2py] Re: web2pyslices password hash method

2010-05-14 Thread Frank
you are pefectly right, I include below in web2py_ajax.html {{=page.render()}} it's ok now, thank you very much. Frank