[web2py] Problem with one-to-many field

2011-01-17 Thread rif
Hi guys, I just started working with web2py and I like it a lot. I have a little problem with the following tables: The firma field in the second table is shown as a text field where I can only enter the ids and not as a select field. I admit that I might have saved the db.py with firma field as

[web2py] Re: Problem with one-to-many field

2011-01-18 Thread rif
7;)), > > or even better > >  Field('firma', db.firma), > > the validator is automatic for reference fields. > >  Field('firma', db.firma, requires=[IS_IN_DB(db, > 'firma.id', '%(nume)s')]), > > On Jan 17, 5:11 am, rif wrote:

[web2py] Re: Problem with one-to-many field

2011-01-18 Thread rif
Before you send me the app. Please explain again what is your model > now, what you get and what you expect. > > You original code was wrong because if the validator is a list than > there is no dropdown. That is not a bug but a feature. > > On Jan 18, 2:09 am, rif wrote: &

[web2py] Re: Why web2py? and not django?

2011-01-26 Thread rif
I'm oscillating between the two, myself. I find django more verbose than it needs to be and as the number of the applications grows in your project you'll be switching between files with the same name till your finger (or mouse) hurts. Web2py on the other hand has a poorer documentation and it doe

[web2py] Re: Why web2py? and not django?

2011-01-26 Thread rif
maintain integrity of keys and > > relationships, and make sure queries return accurate and up to date > > data. > > Right. A single *logical* database server that presents a single consistent > view of the logical database. > > > > > > > > > > >

[web2py] Re: django admin like app/plugin in web2py

2011-01-27 Thread rif
I requested this feature in uservoice: http://web2py.uservoice.com/forums/42577-general You can vote for it. rif On Jan 27, 6:37 am, William wrote: > Hi all, > I just got started in web2py and like it so far. > I noticed that it has a admin and an appadmin for each app. > &

[web2py] Re: django admin like app/plugin in web2py

2011-01-28 Thread rif
Yes, it is an amazing time saver. On Jan 27, 11:56 pm, William wrote: > Just vote it! > why nobody care this? They claim django admin is the kill feature of django.

[web2py] Re: need a simple wiki...

2012-08-20 Thread rif
The Search Pages is also not working. If I enter a page title and hit Submit I get: Traceback (most recent call last): File "/home/rif/Downloads/web2py/gluon/restricted.py", line 205, in restricted exec ccode in environment File "/home/rif/Downloads/web2py/applications/h

[web2py] Re: web2py nginx and uwsgi

2012-08-24 Thread rif
There are some (scripts/setup-web2py-nginx-uwsgi-ubuntu.sh and scripts/setup-web2py-nginx-uwsgi-on-centos.sh) that automate the processes of setting up web2py with nginx+uwsgi. You can start by analyzing these scripts and then consult the upstream documentation. -rif vineri, 24 august 2012

[web2py] Re: Book - Overview Typo

2012-08-27 Thread rif
Another mistake is here: http://web2py.com/books/default/chapter/29/6#Copy-data-from-one-db-into-another hocalhost -> localhost (multiple times) And I also thing that this is wrong: postgresql:// -> postgres:// (multiple times) -rif miercuri, 15 august 2012, 16:33:18 UTC+3, Anthony a

[web2py] GAE with Janrain problem 2.0.2

2012-08-30 Thread rif
After a succesful login from janrain running on GAE I get the following error: Traceback (most recent call last): File "/home/rif/Documents/webframeworks/homepage/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/home/rif/Documents/webfram

[web2py] Re: web2py book on github

2012-09-01 Thread rif
Another small patch to chapter with to changes: postrgresql:// -> postgres:// hocalhost -> localhost sâmbătă, 1 septembrie 2012, 20:00:49 UTC+3, Massimo Di Pierro a scris: > > The web2py book app has been rewritten > >http://www.web2py.com/book > > and the source of the app and the book itse

Re: [web2py] Updated cheatsheet

2012-09-05 Thread rif
Maybe the otherwise param should appear in the cheatsheet: @auth.requires_login(otherwise=URL(...)) --

Re: [web2py] Updated cheatsheet

2012-09-05 Thread rif
Also the cast parameter. Are the sources for the cheatsheet available so we can make patch suggestions? -rif miercuri, 5 septembrie 2012, 18:53:45 UTC+3, Massimo Di Pierro a scris: > > It should > > > On Wednesday, 5 September 2012 09:57:30 UTC-5, rif wrote: >> >>

[web2py] [ANN] Started development on web2admin

2012-09-10 Thread rif
I started the development of a new django-like admin interface. You can find it here: https://github.com/rif/web2admin It is very basic but still usable because it uses SQLFORM.smartgrid. I am announcing it early because I need your feedback and feature requests so that I can find out if grid

Re: [web2py] [ANN] Started development on web2admin

2012-09-12 Thread rif
Added plugin configuration options (inspired by sramana's instant-admin): - items per page - extra links in sidebar Every day when I get some free time I am adding some new features. If you have requests or bug reports please don't hesitate :) Thanks, -rif --

Re: [web2py] [ANN] Started development on web2admin

2012-09-12 Thread rif
There was a problem with the installation from master tip tar gz. Created plugin archive for download here<https://github.com/downloads/rif/web2admin/web2py.plugin.web2admin.w2p> . miercuri, 12 septembrie 2012, 18:50:20 UTC+3, rif a scris: > > Added plugin configuration options

Re: [web2py] [ANN] Started development on web2admin

2012-09-13 Thread rif
displayed rows) - Inline tables (related tables on a single row) - Your suggestion here -rif miercuri, 12 septembrie 2012, 19:07:10 UTC+3, rif a scris: > > There was a problem with the installation from master tip tar gz. Created > plugin archive for download > here<htt

Re: [web2py] [ANN] Started development on web2admin

2012-09-14 Thread rif
release today, thank you. The fields feature is ready and today I will work on action history (to keep a log of actions in the admin) and filters. -rif vineri, 14 septembrie 2012, 00:45:57 UTC+3, rochacbruno a scris: > > Nice work! > > the select2.js is the same as choosen? I re

[web2py] App does not exist or your are not authorized

2012-09-14 Thread rif
Does anybody know why do I get "App does not exist or your are not authorized" when I install https://github.com/rif/web2admin ? The plugin install fine, though. -rif --

[web2py] Re: [ANN] Started development on web2admin

2012-09-14 Thread rif
bug report is appreciated). However there are more features in the pipeline so whenever you consider it to have enough features you can start using it. About the place for visibility: well, my goal is to make it stand near plugin_wiki ;) -rif vineri, 14 septembrie 2012, 16:39:50 UTC+3, Massimo

Re: [web2py] Re: [ANN] Started development on web2admin

2012-09-14 Thread rif
Excellent suggestion. dbs will be available in the next version. -rif vineri, 14 septembrie 2012, 20:34:16 UTC+3, rochacbruno a scris: > > There is Pyodel (learning tool), I dont know about the status of QAStak > and PyForum. > > @rif what about multiple databases and

Re: [web2py] Re: [ANN] Started development on web2admin

2012-09-15 Thread rif
I have added initial multi-db support and now I am working on your suggestion. It should be ready in a couple of hours. I will let you know. -rif sâmbătă, 15 septembrie 2012, 02:33:49 UTC+3, rochacbruno a scris: > > @rif I have some suggestion > > Screenshot: http://i.imgur.c

Re: [web2py] Re: [ANN] Started development on web2admin

2012-09-15 Thread rif
You can pull from my devel branch for multi-db support. Please give me feedback. I am merging your pull request. An I think I will use ajax. -rif sâmbătă, 15 septembrie 2012, 13:11:14 UTC+3, rochacbruno a scris: > > I did the modal part, now need to do the shortcuts. > > als

Re: [web2py] Re: [ANN] Started development on web2admin

2012-09-15 Thread rif
I bow before what you showed in modules/html.py, yet I preferred a much simpler solution even if it is not reusable (hopefully it will give a chance to less-python-gurus like me to understand :). I will focus on the rest of the suggestions now. -rif sâmbătă, 15 septembrie 2012, 13:31:52 UTC+3

[web2py] Re: [ANN] Started development on web2admin

2012-09-15 Thread rif
reach a conclusion I am happy to change. Also the the plugin_web2admin->plugin_admin is OK, especially if it will become official :) To others: please give feedback on this. -rif sâmbătă, 15 septembrie 2012, 15:25:27 UTC+3, Alan Etkin a scris: > > Shouldn't this be called p

[web2py] Re: [ANN] Started development on web2admin

2012-09-16 Thread rif
Check out the new global search, feedback most welcomed. Features still to come: - Custom Links - Custom Left join -rif sâmbătă, 15 septembrie 2012, 15:38:14 UTC+3, rif a scris: > > I just thought that one might want to use the manager (without prefix) > role for a different p

[web2py] Re: [ANN] Started development on web2admin

2012-09-18 Thread rif
Lots of new customization options and features. Check it out and please report bugs. -rif duminică, 16 septembrie 2012, 13:31:55 UTC+3, rif a scris: > > Check out the new global search, feedback most welcomed. > > Features still to come: > >- Custom Links >- Custom

[web2py] Re: [ANN] Started development on web2admin

2012-09-25 Thread rif
Added django like filters to web2admin. I will stop adding new features for a while and declare the current build as beta. Please test it and report issues on github<https://github.com/rif/web2admin/issues> . Currently the GAE is not supported due to some dal issues. Please test, -rif

Re: [web2py] Re: [ANN] Started development on web2admin

2012-09-25 Thread rif
lcomed for the 1.1 release. -rif marți, 25 septembrie 2012, 15:22:06 UTC+3, Massimo Di Pierro a scris: > > Let me add... appadmin was never developed to be a production tool. > Something better like web2admin is very much welcome. I will review and we > will discuss on this list wheth

[web2py] Re: Problem runing on GAE

2012-04-09 Thread rif
Please check that your python version is 2.5. If this is not the case, change the app.yaml to use python2.7 runtime. -rif luni, 9 aprilie 2012, 20:57:21 UTC+3, waglik a scris: > > Hi guys. > > > I try playing with web2py on GAE but on a very beginning I fail with > running my

Re: [web2py] Re: Cookbook recipe for nginx/uwsgi woes

2012-04-27 Thread rif
I had the same issue and I solved by adding plugin python in the uwsgi web2py configuration: python <--HERE 127.0.0.1:9001 /home/www-data/web2py/ wsgihandler joi, 12 aprilie 2012, 09:23:39 UT

[web2py] Re: appadmin in Romanian (for Massimo)

2012-06-03 Thread rif
Thank you very much, Ionel! -rif sâmbătă, 2 iunie 2012, 18:30:30 UTC+3, ionel a scris: > > Hello Massimo, > > This is the language file for appadmin in Romanian. > > Thank you, > > i.a. > >

[web2py] LinuxJournal web development poll

2013-01-20 Thread rif
http://m.linuxjournal.com/content/web-development-poll Most of my prefernces were not listed... --

[web2py] Re: LinuxJournal web development poll

2013-01-20 Thread rif
Corrected link http://goo.gl/gOIJP --

[web2py] Re: LinuxJournal web development poll

2013-01-20 Thread rif
01:38:31 UTC-8, rif wrote: >> >> http://m.linuxjournal.com/content/web-development-poll >> >> Most of my prefernces were not listed... >> > --

Re: [web2py] web2py admin2 is DEAD?

2013-02-08 Thread rif
Yes, AFAIK it was never tested on windows. -rif vineri, 8 februarie 2013, 21:38:11 UTC+2, Derek a scris: > > It shouldn't be the default because it doesn't work for everyone (at > least, it doesn't work for me) > > ('42000', "[42000] [Mic

Re: [web2py] web2py admin2 is DEAD?

2013-02-08 Thread rif
At the time when it was announced there were not many feature suggestions. However if many users find it useful we will find a better place for it. -rif vineri, 8 februarie 2013, 20:34:00 UTC+2, Ramos a scris: > > Also why is this not the default admin? > > > > 2013/2/8 Antóni

Re: [web2py] web2py admin2 is DEAD?

2013-02-08 Thread rif
I'd love to work on it again :) vineri, 8 februarie 2013, 22:05:41 UTC+2, rif a scris: > > At the time when it was announced there were not many feature suggestions. > However if many users find it useful we will find a better place for it. > > -rif > > vineri, 8 febr

[web2py] Re: web2py admin2 is DEAD?

2013-02-16 Thread rif
then it has all permissions for all tables except auth tables (no changing permissions for other users). So you must create at least one of the groups and add a membership for a user to that group. You can do that via old admin or in the shell. -rif sâmbătă, 16 februarie 2013, 17:04:17

[web2py] Re: how to show login/logout auth in custom layout

2013-02-17 Thread rif
try this: {{='auth' in globals() and auth.navbar(mode="dropdown") or ''}} you can also remove the mode="dropdown" parameter. -rif duminică, 17 februarie 2013, 07:24:11 UTC+2, 黄祥 a scris: > > hi, > > i've create the custom layout using

[web2py] Re: web2py appadmin bad to use,is there appadmin easy to use? linke the django admin

2013-03-13 Thread rif
try https://github.com/rif/web2admin and post back your impressions. -rif miercuri, 13 martie 2013, 15:33:49 UTC+2, RunSky ruan a scris: > > I want to use the web2py because it easy to use, > but the appadmin is not easy to use. > is there some beautiful appadmin lik

[web2py] session in redis

2012-10-08 Thread rif
, there is an error: ERROR:web2py:Traceback (most recent call last): File "/home/rif/Documents/webframeworks/web2py/gluon/main.py", line 614, in wsgibase BaseAdapter.close_all_instances('rollback') File "/home/rif/Documents/webframeworks/web2py/gluon/dal.py&

[web2py] Re: session in redis

2012-10-08 Thread rif
## connect to Google BigTable (optional 'google:datastore://namespace') db = DAL('google:datastore') ## store sessions and tickets there session.connect(request, response, db = db) ## or store session in Memcache, Redis, etc. The last line above misled me. so it is possible to stor

[web2py] Re: session in redis

2012-10-08 Thread rif
I find it better than memcache because the sessions would survive a restart. So while I can settle on using memcache but I feel like I am loosing something. I really see no reason to store them on the disk or in db (except limited memory). -rif luni, 8 octombrie 2012, 18:44:09 UTC+3, Niphlod

[web2py] Re: session in redis

2012-10-08 Thread rif
Thank you and take your time. I will report any issues I find with it. Right now after Massimo's fix I get this: Traceback (most recent call last): File "/home/rif/Documents/webframeworks/web2py/gluon/main.py", line 541, in wsgibase session._try_store_in_db(request, r

Re: [web2py] Re: [ANN] Started development on web2admin

2012-10-12 Thread rif
Thank you Ovidio. Do you mean like auth.enable_record_versioning? Can you give more details? -rif vineri, 12 octombrie 2012, 00:55:00 UTC+3, Ovidio Marinho a scris: > > It really is a great job and I think it definitely will be incorporated as > a standard interface for administ

[web2py] Re: session in redis

2012-10-13 Thread rif
It is working for me and the performance is very close to session.forget() Good work, -rif sâmbătă, 13 octombrie 2012, 20:05:24 UTC+3, Niphlod a scris: > > it's in trunk. Docs will be available shortly but just looking at the > docstring it should be painless. > > On Saturd

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread rif
It works fine here. I get two cookies (listed below): How can we set a longer expiration? Name: session_id_w2a Content: None Domain: localhost Path: / Send for: Any kind of connection Accessible to script: Yes Created: Tuesday, October 16, 2012 4:51:00 PM Expires: When the browsing session ends

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread rif
I'd go for this if the session is small and does not contain critical information. So it is good to have this option. marți, 16 octombrie 2012, 22:27:01 UTC+3, Niphlod a scris: > > > On Tuesday, October 16, 2012 7:46:16 PM UTC+2, VP wrote: >> >> >> I think one advantage of moving session data to

[web2py] Re: pythondiary

2012-10-17 Thread rif
I guess two out of the three cons would be eliminated by web2admin. Please take some time to review it and give it some visibility. joi, 18 octombrie 2012, 00:58:24 UTC+3, Massimo Di Pierro a scris: > > http://www.pythondiary.com/reviews/web2pyV2.0.html > --

Re: [web2py] Re: pythondiary

2012-10-18 Thread rif
One query support coming up! joi, 18 octombrie 2012, 14:47:11 UTC+3, rochacbruno a scris: > > +1 web2admin is awesome! if we include query support it will be perfect to > replace appadmin > Em 18/10/2012 03:23, "rif" > escreveu: > >> I guess two out of the

Re: [web2py] Re: pythondiary

2012-10-19 Thread rif
y as it is and web2admin should only be an optional plugin Either way I hope more people would find out about it. -rif vineri, 19 octombrie 2012, 06:39:31 UTC+3, rochacbruno a scris: > > To don't let this issue to get lost, I created a ticket about this: > http://code.google.

[web2py] web2py love

2012-10-20 Thread rif
Constrained by some performance requirements I am developing a web app using Go , Gorilla , The Goods and MongoDB . While I enjoy the beauty of go and the lightweight feeling of minimal libraries I

[web2py] Re: GAE - SQL cloud connection

2012-11-16 Thread rif
I created today a sql cloud database. And I got the same error. I changed to path VARCHAR(255) and now it works. Anybody else having the same problem? -rif marți, 7 august 2012, 18:27:13 UTC+3, Massimo Di Pierro a scris: > > Why does 512 result in "Specified key was too long; max ke

[web2py] Re: GAE - SQL cloud connection

2012-11-16 Thread rif
Done (http://code.google.com/p/web2py/issues/detail?id=1172) Are the migrations issues to GoogleSQL still present? -rif vineri, 16 noiembrie 2012, 12:57:14 UTC+2, Massimo Di Pierro a scris: > > Please open a ticket and we will fix this asap. > > On Friday, 16 November 2012 04:49:3

Re: [web2py] GAE - SQL cloud connection

2012-11-16 Thread rif
I was referring to http://web2py.com/books/default/chapter/29/06#Gotchas vineri, 16 noiembrie 2012, 15:04:47 UTC+2, Massimo Di Pierro a scris: > > > On Nov 16, 2012, at 5:17 AM, rif wrote: > > Done (http://code.google.com/p/web2py/issues/detail?id=1172) > > Are the migration

[web2py] user_signature question

2012-11-22 Thread rif
reloads the page containing the link and clicks on it again that she/he can access the page. Is there a workaround to this behavior? I want to be redirected directly to the protected page after login. -rif --

Re: [web2py] user_signature question

2012-11-22 Thread rif
t does @auth.requires_signature() really means? > > Wouldn't it be @auth.requires_login()? > > > > On Thu, Nov 22, 2012 at 6:19 AM, rif > > wrote: > > If you create a link with user_signature=True and a controller with > > @auth.requires_signature() and a user

[web2py] missing anything....

2012-11-27 Thread rif
Do you have any insights on this: https://groups.google.com/forum/m/?fromgroups#!topic/web2py/cPvuY4mnzs0 --

[web2py] Re: Redis cache and session

2012-11-29 Thread rif
Yes, the support for redis depend on python-redis<https://github.com/andymccurdy/redis-py>package for python. -rif joi, 29 noiembrie 2012, 02:06:00 UTC+2, Ralo Tannahill a scris: > > I have tried to make some tests using redis to store cache and sessions > but there is no modu

[web2py] Re: Tips & tricks : showing / pre-viewing an image before uploading and/or resizing and/or submit :)

2012-12-03 Thread rif
Unfortunately it doesn't seem to work in internet explorer (except 10). Hopefully it will be usable in the next few years. -rif luni, 3 decembrie 2012, 06:20:12 UTC+2, Don_X a scris: > > Hello Web2py users : > > I had so much trouble with previewing an image before upload or

Re: [web2py] web2py 2.3.1?

2012-12-03 Thread rif
I've been using trunk for the last three weeks and I didn't notice any problems. -rif --

[web2py] Re: book: why web2py

2011-12-11 Thread rif
I can do that:. Is the following environment relevant? - ubuntu 11.10 on a kvm virtual instance (mod_wsgi 3.3 - latest) - web2py with the default setup from scripts/setup-web2py-ubuntu.sh - ab -n1000 -c20 http://localhost/ and ab -n1000 -c20 http://localhost:8000/ I also have to report two public

[web2py] Rocket vs mod_wsgi

2011-12-11 Thread rif
Environment machine: libvirt kvm instance: *512Mb 1cpu* on a acer aspire 5100 laptop os: ubuntu 11.10, mod_wsgi3.3 web2py: 1.99.3 apache config: default resulted from scripts/setup-web2py-ubuntu.sh Rocket: v1.2.4 python web2py.py -Na test -i 0.0.0.0 Commands: - run from the host system ab -n100

[web2py] Re: Rocket vs mod_wsgi

2011-12-11 Thread rif
In the same environment I tested nginx configuration: nginx: 1.0.10 uwsgi: 0.9.8.1 ab -n1000 -c20 http://192.168.122.187/welcome/default/index This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Sof

[web2py] Re: Rocket vs mod_wsgi

2011-12-11 Thread rif
And now the weirdest thing: Enabling two CPUs on the virtual machine gave me the following weird results: nginx: 31.92 [#/sec] apache: 10.63 [#/sec] rocket: 10.36 [#/sec] So 1000 request with a concurrency of 20 on 2 CPUs actually slows down apache and rocket. I thought that apache and rocket

[web2py] Re: Rocket vs mod_wsgi

2011-12-11 Thread rif
This comparison was intended to help writing the why web2py paragraph from the book (https://groups.google.com/d/topic/web2py/29jdfjejwZo/discussion )

[web2py] Re: Rocket vs mod_wsgi

2011-12-11 Thread rif
Compiled uwsgi 0.9.9.3 (the 0.9.8.1 did not now about pythonpath) uwsgi --pythonpath /opt/web-apps/web2py --module wsgihandler --http :80 -s /tmp/we2py.sock >uwsgi.log 2>&1 1 CPU: 17.83 [#/sec] (better than rocket) 2 CPUs: 17.98 [#/sec] uwsgi --pythonpath /opt/web-apps/web2py --module wsgihandle

[web2py] Two gae questions

2012-03-06 Thread rif
1. What is the status of mysql database for gae? 2. Is there any better solution than this ( http://www.web2pyslices.com/main/slices/take_slice/63) to write blobs to blobstore? Thank you, -rif

[web2py] Re: Two gae questions

2012-03-07 Thread rif
Thank you for your answers. -rif miercuri, 7 martie 2012, 06:06:32 UTC+2, howesc a scris: > > 1. i think they just promoted it to be generally available in the last > couple of weeks. > 2. there is also the files API. check out the google docs for writing > directly to a blob

[web2py] Re: Using Blobstore API

2012-03-07 Thread rif
.stream(blob_info.open()) Now I am hitting the 10Mb limit so I need to experiment some more with create_upload_url. -rif miercuri, 7 martie 2012, 11:36:40 UTC+2, Sushant Taneja a scris: > > Hi, > > I am trying to use the Google Blobstore API for uploading images. I also > checked

[web2py] Older facebook clone application issue

2012-04-02 Thread rif
any recommended workarount to this kind of search on gae? Moreover http://web2py.appspot.com/friends/default/home will issue a crash ticket after login. Maybe it should be checked and fixed if the application is still online on web2py appspot. -rif

[web2py] Re: what other tools do you use with web2py

2011-09-11 Thread rif
I use SASS provided by compass and it really makes CSS more pleasant. I never used CoffeeScript as I stay on jQuery syntax 95% of javascript code.

[web2py] Re: preparing for 1.99.1

2011-09-13 Thread rif
Excellent redis cache feature. If we store session in cache will it auto expire and be removed? Please add at least a small description in the release note about new syntax features (new syntax rows[i]('tablename.fieldname'), new query syntax field.contains(list,all=True or False)). I have be

Re: [web2py] Re: github & hg repo

2011-11-24 Thread rif
I really tried to switch from hg to git (several times) but did not find sufficient reasons to stick with it.

[web2py] book: why web2py

2011-12-10 Thread rif
One of the reasons to use web2py mentioned in the book is the following: web2py has a small footprint and is very fast. It uses the Rocket WSGI web server developed By Timothy Farrell. It is 30% faster than Apache with mod_proxy. I don't really understand the second sentence. Should it say Apac

[web2py] Mac OSX server startup files

2011-02-02 Thread rif
I made web2py autostart on a mac osx server conforming to tutorial . Install web2py in /Applications folder. The StartupParameters.plist must be placed in the /Library/StartupItems/ (if you don't have one already). Then create a directory name

Re: [web2py] jQuery 1.5 released

2011-02-02 Thread rif
Google is still on 1.4.4 (including your link).

Re: [web2py] web2py and GoogleAppEngineLauncher

2011-02-12 Thread rif
Shoud these steps work? - download google app engine - download web2py - run ./dev_appserver.py ../web2py/ - go to http://localhost:8080 Should it display the welcome app? I am on a fedora system with python 2.7 and it doesn't (it gives me an long stacktrace). Is it because of python version?

[web2py] Recomanded way questions

2011-03-11 Thread rif
;client', db.client), Field('project', db.project), Field('name'), format='%(name)s' ) 1. With the above models how can I make the project field in the entry table be optional (not required in entry form)? 2. Is there a recommended way to display only the projects for the selected client in the entry form? Thank you, rif

[web2py] Re: Recomanded way questions

2011-03-11 Thread rif
er selects a client get all projects via ajax and populate the project combo). At least this is the only way I could solve my second question. Thanks again, rif

[web2py] strange lost password behavior

2011-03-21 Thread rif
Hi guys, Is the default lost password working for you? In my deploy I always get an Invalid email validation warning.

Re: [web2py] strange lost password behavior

2011-03-21 Thread rif
1.94.5 the latest.

Re: [web2py] strange lost password behavior

2011-03-21 Thread rif
ok, the validation was because the email was not registered, with a valid email I get this: Traceback (most recent call last): File "/Users/alex/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/Users/alex/web2py/applications/mcsa/controllers/default.

[web2py] plugin_wiki unsolved merge

2011-04-29 Thread rif
It seems that the downloadable version of plugin_wiki is packaged with an unsolved merge in the models folder. There are three files plugin_wiki.py plugin_wiki.py.bak plugin_wiki.py.orig Also the star rating plugin is not functioning well because of this. BTW where is the plugin_wiki repo?

[web2py] Re: The multi-tenant feature and validators ...

2011-06-23 Thread rif
I used this feature like this: db._common_fields.append(Field('request_tenant',default=auth.user_id,writable=False,readable=False)) so every user would have it's own data. It seeams that IS_IN_DB is not aware of the request_tenant and also if you mark a filed as unique it will be unique across

[web2py] alternate join syntax

2011-08-03 Thread rif
Hi guys, Can anyone provide some examples of the new syntax for join introduced in 1.96.1? - new alterante syntax for inner joins: db(...).select(join=...) Thank you

[web2py] W3C Validator errors

2011-08-11 Thread rif
If we validate the welcome app with http://validator.w3.org we only have two errors: 1. 2. *Line 12, Column 66*: Bad value X-UA-Compatible for attribute http-equiv on element meta. * ✉

Re: [web2py] Slick new CSS framework from Twitter

2011-08-20 Thread rif
I prefer compass (sass) and blueprint :)

[web2py] status of web2py on openshift

2013-11-05 Thread rif
I try to deploy on openshift with Version 2.7.4-stable+timestamp.2013.10.14.15.16.29 and I could not get application to run on the server. What I did: 1. Created an opesnhift python 2.7 application 2. Cloned the resulted repo with git 3. Used web2py's Deploy to openshift button 4. Used resulted

Re: [web2py] Re: web2py app like adminer

2014-01-02 Thread rif
https://github.com/rif/web2admin it's something like a django admin. Maybe it can help. -rif joi, 2 ianuarie 2014, 03:54:43 UTC+2, samuel bonill a scris: > > when it's ready i'll let you know > > > 2014/1/1 Massimo Di Pierro > > >> I look

Re: Error with virtual field (was: Re: [web2py] [ANN] Started development on web2admin)

2014-01-10 Thread rif
I am checking it right now, be back soon. -rif vineri, 10 ianuarie 2014, 01:28:37 UTC+2, Manuele a scris: > > Il 10/09/12 15:49, rif ha scritto: > > I started the development of a new django-like admin interface. > > > > You can find it here: https://github.com/rif/w

Re: Error with virtual field (was: Re: [web2py] [ANN] Started development on web2admin)

2014-01-10 Thread rif
): return 'foo' db.testtable.virtualfields.append(MyVirtualFields()) I'll make a few updates to web2py with this occasion :) Thanks, -rif vineri, 10 ianuarie 2014, 01:28:37 UTC+2, Manuele a scris: > > Il 10/09/12 15:49, rif ha scritto: > > I started the development

Re: Error with virtual field (was: Re: [web2py] [ANN] Started development on web2admin)

2014-01-10 Thread rif
I meant a few updates to web2admin :) vineri, 10 ianuarie 2014, 13:46:24 UTC+2, rif a scris: > > Unfortunately it seems to be a web2py grid/smartgrid bug. I opened a > ticket here: http://code.google.com/p/web2py/issues/detail?id=1851 > > Meanwhile please note that defining an ol

[web2py] Re: !! NEW ADMIN !!

2014-01-10 Thread rif
It sure looks like it, the more options the better :) Anyhow if there are any features in A-Plus missing in web2admin please let me know, I'll try to keep up. -rif vineri, 10 ianuarie 2014, 11:26:48 UTC+2, Alan Etkin a scris: > > El lunes, 6 de enero de 2014 18:19:54 UTC-3, sa

[web2py] Re: !! NEW ADMIN !!

2014-01-10 Thread rif
You can clone the repo git clone https://github.com/pyner/admin_plus.git And you will have the w2p file available in the cloned directory. vineri, 10 ianuarie 2014, 14:13:06 UTC+2, Remco Boerma a scris: > > Github complains about the file being to big? Can i download it somewhere > else? > > >

[web2py] Re: Error with virtual field

2014-01-12 Thread rif
m the book so I made a pull request to add it in the book example as well. However it does not make too mutch sense as the name of the field is already specified in the db.testtable.testfield part. -rif vineri, 10 ianuarie 2014, 17:00:52 UTC+2, Manuele a scris: > > Il 10/01/14 12:47, rif

[web2py] Re: emacs and web2py

2014-02-06 Thread rif
M-x package-list-packages right now. Thanks a lot! marți, 4 februarie 2014, 23:22:14 UTC+2, François-Xavier Bois a scris: > > Hi, > I would like to announce that web-mode.el, an emacs major mode for editing > web templates, is now compatible with web2py templates. > web-mode.el is available on h

[web2py] recovering from crash

2014-02-10 Thread rif
Hi guys, If I lost the content of datatbases directory can I restore a web2py application having only the pg_dump of the application datatbase? -rif -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

  1   2   >