[web2py] to Tim Farrell

2010-05-05 Thread elffikk
hi, this is not related to web2py, just to rocket I just got trac running with Rocket. Performance is great! But one thing that I need is authentication using at least basic auth, since trac is relying on web server authentication anyone can help with that? seems that cherrypy does it and (nothin

[web2py] amfast rtmp example

2010-05-10 Thread elffikk
will it be hard to add this in web2py? http://code.google.com/p/amfast/source/browse/#svn/trunk/examples/messaging/python or it is again a question for Tim? :)

[web2py] DAL error

2010-07-14 Thread elffikk
I am getting such an error in last release of web2py, with previews versions didn't try Traceback (most recent call last): File "...\web2py\gluon\restricted.py", line 178, in restricted exec ccode in environment File ".../web2py/applications/mailtest/models/models.py", line 7, in Fiel

[web2py] Flash security

2010-07-30 Thread elffikk
I know that web2py aims to be secure, but if you use it with amfrpc service that could be interesting to read http://www.ivizsecurity.com/blog/web-application-security/testing-flash-applications-pen-tester-guide/

[web2py] Cron question

2010-08-02 Thread elffikk
Is it possible to use hardcron when running on rocket not on apache? I am running web2py on top of gevent.pywsgi on CentOS 5.+ soft cron is just not suitable...

[web2py] routes problem

2010-08-07 Thread elffikk
hi, I use version 1.82.1 (latest) and this seems not to work ('(.*):https?://(.*)site\.com:(.*)/(.*)', '/site/$4'), for simple site.com getting error site - is another name :)

[web2py] Re: New server

2010-08-09 Thread elffikk
a few files that I used for CentOS 5+ (I can;t attach them so I provide links) http://thebookle.com/thebookle/static/install/supay.py http://thebookle.com/thebookle/static/install/www.d http://thebookle.com/thebookle/static/install/server_install.txt use commands from server_install.txt place www

[web2py] web2py with alchemy

2010-02-13 Thread elffikk
hi, is there somebody that used sqlalchemy with web2py, how hard will be to do that? my thoughts now are to try it with formalchemy as alternative to web2py models + things like SQLForm or SQLTable -- You received this message because you are subscribed to the Google Groups "web2py-users" grou

[web2py] web2py on hostmonster

2010-02-28 Thread elffikk
hi, I am trying to install web2py on hostmonster (fcgid) using this (how to install django) http://www.hostmonsterforum.com/showthread.php?t=3100 but ... :( fcgi scripts are running only from cgi-bin/ directory, tried to install just cherrypy and it seems not finding a free port, logs says that

[web2py] a substitute for sqlite?

2010-03-24 Thread elffikk
Berkeley DB's new SQLite-compatible SQL API Oracle Berkeley DB 11g Release 2 introduces a new SQL API, based on SQLite, which is familiar to a large developer community and helps simplify application development. http://www.oracle.com/us/corporate/press/063695 A few things to note (from press rel

[web2py] web2py on github

2010-04-04 Thread elffikk
hi, I use a few project stored on github, and I find it easier to navigate source code or to get a trunk version. What about moving web2py on github? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@go

[web2py] rocket performance

2010-04-19 Thread elffikk
a simple test loading one by one the same link, leaving concurrency and advanced testing to Tim and others :) just wanted to feel the improvement, and I have to say Tim did his job very well web2py 1.76.5 vs 1.77.1 load test 10 requests: 1.76.5 - 0.3016 seconds 1.77.1 - 0.2736 seconds 100 re

[web2py] web2py wrong version

2010-04-19 Thread elffikk
hi, just downloaded 1.77.2 (from http://www.web2py.com/examples/static/web2py_src.zip ), but it shows that is version 1.77.1 content of version file: Version 1.77.1 (2010-04-19 15:50:56) -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

[web2py] routes question

2010-04-24 Thread elffikk
hi, I want to serve multiple websites (absolutely different domains) using the same web2py instance I am getting always an 'Invalid request' message routes.py is something like that routes_in = ( ('^.*site1\.com.*/(.*)', '/site1/$1'), ('^.*site2\.com.*/(.*)', '/site2/$1'), ) I read this pos

[web2py] how to use sql functions in dal expressions

2010-04-29 Thread elffikk
hi, how to use sql functions in dal expressions ? particularly I am interested in mod operator (%) for using on updates need somethings like that db.table.update( (db.table.field+n) % db.table.count() )

[web2py] something like SqlSoup

2010-05-02 Thread elffikk
hi, is there something like SqlSoup in web2py ? (http://www.sqlalchemy.org/ docs/reference/ext/sqlsoup.html) and another will happened something to the rest of database if I will create a single table to work with?

[web2py] nginx with bultin uwsgi module

2010-09-30 Thread elffikk
http://nginx.org/

[web2py:32383] Amf service doesn't work

2009-10-07 Thread elffikk
Hi, I am pretty new to web2py and ... need help :) I am trying this and works (json service) def call(): return service() @service.json def getList(): return db().select(db.classifieds.ALL) but with amf doesn't work def call(): return service() @service.amfrpc def getList(): return

[web2py:34905] Nested Sets implementation

2009-11-08 Thread elffikk
Hi, I started a nested sets implementation Just sharing the code. I welcome any thoughts you have 2 files - nstree_controller (just quick and dirty tests of the model), and nstree_model [nstree_controller :] t1 = nstree(db, db.tree1) def index(): return dict(message="Version " + nstree.ve

[web2py:35188] gae transactions

2009-11-12 Thread elffikk
Hi, A while ago I read in web2py manual that gae doesn't support transactions I found this link http://code.google.com/appengine/docs/python/datastore/transactions.html Quite confused.. Any one can tell me more about? --~--~-~--~~~---~--~~ You received this messag

[web2py:36195] crossdomain.xml problem

2009-11-29 Thread elffikk
Hi, I created routes in the root folder of web2py and it look like that routes_in = (('.*:/crossdomain.xml', '/myapp/static/ crossdomain.xml'),) I don't see any errors but http://127.0.0.1:8000/crossdomain.xml shows an 'Invalid request' message Any thoughts? -- You received this message becau

[web2py:36338] Re: crossdomain.xml problem

2009-12-02 Thread elffikk
No one had this problem? -- 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 th

[web2py] amfast

2010-01-11 Thread elffikk
Hi, have someone used amfast with web2py? http://code.google.com/p/amfast/ I am interested in using it with web2py in gae http://code.google.com/p/amfast/wiki/ExampleImplementations so if someone used it please share your experience, save my time :) -- You received this message because you are

[web2py] routes question

2010-12-07 Thread elffikk
why that is not working, always shows 'invalid controller' for simple http://localhost/ request routes_in = ( ('/(.*)', '/myapp/$1'), ) routes_out = ( ('/myapp/(.*)', '/$1'), )

[web2py] pyamf 0.6 doesn't work with web2py

2011-01-31 Thread elffikk
hi Massimo, I think this is due to a list of backward incompatibilities http://www.pyamf.org/whatsnew/0.6.html

[web2py] webfaction increased memory

2011-12-18 Thread elffikk
hi, I just noticed that webfaction increased memory from 80 to 256Mb important to notice that this is application memory "This is the actual memory available to your long-running processes (for instance, your Rails or Django processes). Unlike on a VPS, the memory used by the operating system, the

[web2py] unicode problem in args?

2012-03-03 Thread elffikk
hi, I have such a problem this url works (unicode in vars http://localhost:8000/myapp/default/show/products?q=M%C4%83rimea but this doesn't (unicode in args) http://localhost:8000/myapp/default/show/products/s-M%C4%83rimea any ideas?

[web2py] table_class

2011-09-04 Thread elffikk
hi, just noticed that you added table_class to dal define_table method thank you Massimo, do you have anything in mind to use it for? or you did a favor to me ? :)

[web2py] Re: uWSGI 0.9.9

2011-09-10 Thread elffikk
hi Roberto, This version seems to be backward incompatible: --protocol http --socket 127.0.0.1: doesn't seems to work for me and using uwsgi --http 127.0.0.1: with --touch-reload makes uwsgi to exit completely (no uwsgi processes after touching the file )

[web2py] Re: uWSGI 0.9.9

2011-09-14 Thread elffikk
seems fixed in 0.9.9.2 thank you and some questions: is it possible to run uwsgi with jython ? when do you think it will be possible to run uwsgi with pypy ? thank you again for your awesome project

[web2py] web2py with jython on linux

2011-09-16 Thread elffikk
I got this error import cPickle ImportError: No module named copy_reg

[web2py] maybe it is time to think on starting web3py

2011-09-22 Thread elffikk
why I think it is time: - python 3 is already in version 3.2 - pypy will start soon a python 3 implementation - python 3 has many cool features (OrderedDict, all strings are unicode, etc), well some of them already ported to 2.7 :) - many libraries used by web2py already support python 3: rocket ev

[web2py] uwsgi question

2011-09-29 Thread elffikk
hi, sqlite 3.7+ supports better concurrency (see http://www.sqlite.org/draft/wal.html), on webfaction, there are multiple python versions installed, but python2.7 is built against 3.3.6 so I built from sources sqlite, python 2.7 and now on /home/my_user/ bin/python2.7 I can use latest sqlite >

[web2py] anyone using jython with web2py on production

2011-10-01 Thread elffikk
hi, I am interested to know if there is anyone using jython with web2py in production - on top of what server - with what database - what is the memory consumption - what is the performance thank you

[web2py] Re: IMPORTANT

2011-10-14 Thread elffikk
"We welcome people of any gender identity or expression, race, ethnicity, size, nationality, sexual orientation, ability level, religion, culture, subculture, and political opinion" +1 for me that means that Johan has the right to include his signature, as we accept him, that speaks about himse

[web2py] unql

2011-10-28 Thread elffikk
hi, I am thinking how to extend DAL so it could be suitable for OriendDB SQL or for http://www.unqlspec.org/display/UnQL/Home do you have any thoughts on that? gae storage is already an example of DAL variations by not supporting joins and other features

[web2py] auth.requires_login() inside a view

2011-11-10 Thread elffikk
hi, I need to display a form (similar to a blog post), but only when a user is registered, but the page should be displayed even if user is not authenticated, except the form #a list of posts {{if auth.user:}} {{=form}} {{else:}} {{=T('Posting messages requires login')}}

[web2py] codemirror as editor

2011-11-16 Thread elffikk
hi, I just managed to use codemirror instead of editarea using python mode and html mixed mode for views and codemirror-ui toolbar I propose to include it in web2py as an alternative to eamy and editarea, may be as a default one I can send the code and files that I used

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-16 Thread elffikk
hi Roberto, a few questions about uwsgi 1: - how it is running by default: threaded or async? - does it limits memory usage or I have to use as before --limit-as 80 ? I suppose that I have to pass parameter as it doesn't know the memory limit please tell me what you think about my command uw

[web2py] how to execute a controller from command line

2011-11-24 Thread elffikk
hi, is it possible to execute a controller from command line without running a wsgi server? I want to use that in a long running applications which from time to time will call different controllers

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread elffikk
with the latest uwsgi version I cannot login to my website, even no error is generated I use also a flex app with web2py service and it gives an error Traceback (most recent call last): File "/home/yourname/web2py/gluon/restricted.py", line 194, in restricted exec ccode in environment File

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread elffikk
and also uwsgi --version doesn't give the version but tells that there is an error

[web2py] small book error

2011-12-05 Thread elffikk
http://web2py.com/book/default/chapter/08 please add an 's' to auth.setting.extra_fields['auth_user']= [ Field('address'), Field('city'), Field('zip'), Field('phone')] should be auth.settings

[web2py] dal to use a limited number of connections

2011-02-04 Thread elffikk
hi, I use dal standalone with gevent for a high io bound program, there are thousands of users each with his own database (mysql), I update some tables with info from the web, and to make it fast I use a few hundreds greenlets, that means each has a db (DAL) object, which use a db connection how

[web2py] PyPy faster than C ...

2011-02-07 Thread elffikk
I think this is cool http://morepypy.blogspot.com/2011/02/pypy-faster-than-c-on-carefully-crafted.html

[web2py] dal feature request

2011-02-09 Thread elffikk
hi Massimo, I would like to have something like sqlsoup, but I don't need it to inspect database to do class mapping or so I am just interested to use dal syntax without defining my tables ( they are already in the database) When I have to develop database parts I have 2 scenarios: - everything i

[web2py] Re: pyamf 0.6 doesn't work with web2py

2011-02-11 Thread elffikk
What is the status, I would like to test it On Jan 31, 4:19 pm, Massimo Di Pierro wrote: > g... > > I can port it to the new one. Can you help with testing? > > On Jan 31, 3:04 am, elffikk wrote: > > > > > > > > > hi Massimo, >

[web2py] a few DAL proposes

2011-02-16 Thread elffikk
hi, I propose to add a few things to DAL 1) an 'act_as' parameter in define_table so I can extend Table class and use it as regular table for e.g. db.define_table("images", Field("category", db.categories), Field("title"), act_as=OrderedList, ) OrderedList is a class that extends T

[web2py] fulltext search question

2011-02-17 Thread elffikk
hi, sqlite supports fulltext search http://www.sqlite.org/fts3.html also mysql, mssql, oracle, and soon GAE what could be some steps to add support for fulltext search in dal?

[web2py] authentication with services

2011-02-17 Thread elffikk
I want to do that @auth.requires_login() @service.amfrpc3('myservice') def item_list(): return [1,2,3] but of course it will not work as it can't redirect to login form, how to use then authentication and authorization here?

[web2py] recaptcha or requires login for comments

2011-03-31 Thread elffikk
hi, I cannot find in the book how to use recaptcha with simple forms for now I need recaptcha or requires login for comments, any thoughts?

[web2py] april fools

2011-04-01 Thread elffikk
from my country http://www.tigan.md/card1.aspx?id=7417ac7c-3188-4652-b9b2-362875219e70 from google http://www.google.com/mail/help/motion.html#utm_source=en-et-na-us&utm_medium=new-features-link&utm_campaign=en

[web2py] reCaptcha in forms

2011-04-02 Thread elffikk
how to use reCaptcha in other form then authorization forms? is it possible or do I need to implement that? please help

[web2py] OrderedTree implementation

2011-04-17 Thread elffikk
Hi, I am developing a solution to store hierarchical data, we have already nested sets, but I have some reasons to develop an alternative for those interested to contribute with ideas and implementation the description (draft) https://docs.google.com/document/d/1ZOwRUJz4gRPI875rftTfwOBIera1JgZDP

[web2py] new versions of software

2011-05-06 Thread elffikk
just want to share some news :) recently released pypy 1.5 jquery 1.6 codemirror 2 flex 4.5

[web2py] a new html editor

2011-05-06 Thread elffikk
hi, I am here to present a work in progress: a lighweight jquery based html editor http://8plus2.org/init/static/bolteditor/index.html it is in alpha version now it is 10kb of js code + 15kb html+css+images and of course dependencies jquery and jquery.ui.position user interface (and just user

[web2py] Web2py - the "one-man-band" of all python frameworks :)

2011-05-11 Thread elffikk
http://projects.unbit.it/uwsgi/wiki/Example

[web2py] Markmin question

2011-06-16 Thread elffikk
hi, I like markmin syntax, I am thinking to use it, yet I have a few questions - is there a html to markmin converter? (a markmin to html is - /gluon/ contrib/markmin/markmin2html.py) - how to emebed flash? - what about including css or javascript ? (

[web2py] Re: web2py 1.97.1 is OUT

2011-06-27 Thread elffikk
I get an error when access an amfrpc3 service from flex (works for 1.96.4) [FaultEvent fault=[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: 'http://localhost:8000/myapp/gateway/ca

[web2py] web2py license

2011-06-30 Thread elffikk
here is an interesting article about source code licenses http://gskinner.com/blog/archives/2008/07/source_code_lic_1.html the author in summary says "I would strongly encourage developers to release shared code under the MIT license." and "I would also encourage developers to petition the owners

[web2py] web2py vs Drupal

2011-07-21 Thread elffikk
hi, soon I will have a conversation with a client and it is possible that we will discuss this thing too, I have good experience with php, but not with Drupal, if some of you have some experience and migrated to web2py please share that thank you

[web2py] Re: New release of pyForum

2011-08-18 Thread elffikk
you have a wrong spelled link on https://bitbucket.org/speedbird/pyforum, please fix http://pyfroum.org/ to http://pyforum.org/