[web2py] grid and smartgrid issue

2012-02-07 Thread Manuele Pesenti
Hi, I've just reported another issue... and I want to ask to the list if you agree with it. http://code.google.com/p/web2py/issues/detail?id=651 essentially I found that the two options for deletion has a different behavior. It seams that the function passed to ondelete is never performed an

[web2py] Re: Database error from constraint violation seemingly ignored

2012-02-07 Thread Mark Kirkwood
Sorry, I was not being all that clear. What I meant to say was: When I try to delete such a record, instead of the form telling me that the delete was prevented it appears to have succeeded. However a refresh of the form shows the record survived (and obviously the database log tells us why)!

[web2py] Database error from constraint violation seemingly ignored

2012-02-07 Thread Mark Kirkwood
I'll illustrate with a variant of the dog example schema (see below): I have a 'sire_id' field that refers back to the 'dog' table. However I have the ondelete attribute set to 'RESTRICT' [1]. I'd like to prevent dogs that have sired other dogs being deleted. When I attempt this it looks liek i

[web2py] Re: Just lost all my data

2012-02-07 Thread pbreit
Hmmm, I would not think that would happen. Mine just looks like this: auth = Auth(db) auth.settings.hmac_key = 'sha512:5669f-51df-5-9e-4' Possible the get_or_create_key() function is the culprit but I don't know why that would happen.

[web2py] Re: a beginner question about queries

2012-02-07 Thread pbreit
I'm not sure that reference is going to work. The reference usually points to the "id". So: db.define_table('customers', Field('name'), Field('age'), format = '%(name)s' ) db.define_table('purchases', Field('customer_id', db.customers), Field('cart') ) Then the query

[web2py] Re: 2 Questions regarding auth

2012-02-07 Thread Lewis
Where would I add these? I am really mystified how the auth() class call receives the method as its argument from these urls assuming that the user action looks like: def user() return dict(form=auth()) How does this instance of the call to auth() get a method call? I am really mystified abo

[web2py] Re: Just lost all my data

2012-02-07 Thread Lewis
Correction: only the auth tables were dropped and recreated and the one table that had a foreign key to auth. So, it is linked to the change to auth. It looks like that instead of just hashing passwords with a different key (which would have invalidated all the old passwords, of course--this is

[web2py] Just lost all my data

2012-02-07 Thread Lewis
I switched auth to using the proper key: originally: auth = Auth(jodb) changed to: auth = Auth(jodb, hmac_key=Auth.get_or_create_key()) The original worked fine. But, it seemed that using the hmac_key was preferred. So I changed it. Now, all the data in all tables is gone. The auth tables

Re: [web2py] Re: [web2py-users-brazil:2924] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Bruce Wade
Well BSD isn't what you want for your goals. BSD allows anyone to download and sell your code as if it was their own. If you take QT for example they had a really strict license that stopped a lot of people interested in commercial use from using it. However when they changed their license to LGPL

Re: [web2py] deletable = auth.has_permission different for grid and smartgrid?

2012-02-07 Thread Adi
Richard, Thanks for your for response... Since I needed to control the "Delete" button of a "child" table, in my sample called item, I used a dict on a parent level and all works fine now. My mistake. smartgrid ... deletable = dict(purchase_order=auth.has_membership(group_id="admin"), item=

[web2py] Re: Workflow engine for web2py

2012-02-07 Thread mart
I think features such as those you already implemented in your bug tracking app hold some importance here as well Ie. the good use of groups, permissions & ability to modify things like ownership - as an example, a corporate accounting department should still have the ability to  reimburse employee

[web2py] Re: using radio widget can't receive the empty submit

2012-02-07 Thread Dan
You are right, if I used an non-empty list to submit, both forms work fine. so the widget = SQLFORM.widgets.radio.widget did have different behavior to the form submission. On Feb 7, 11:08 pm, DenesL wrote: > It will work if you have values inside the IS_IN_SET validators in > your controller, e

[web2py] Re: Workflow engine for web2py

2012-02-07 Thread Massimo Di Pierro
That's a finite state machine. It is nice and simple but too simple. Anyway, the problem in using that with web2py (or any other web framework) it is not designed to maintain its state using the database. Anyway, it should be possible to modify it so that state and rules are stored in the database

Re: [web2py] Re: auth registration redirect

2012-02-07 Thread Tito Garrido
Same for me.. On Tue, Jan 31, 2012 at 11:16 AM, Web2Py Freak wrote: > i added it to the db.py and its not working and i used this one from > the book and it didnt work two : > > auth.settings.register_next = URL('user', args='profile') > -- Linux User #387870 . _/_õ|_

[web2py] Re: [web2py-users-brazil:2924] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Tito Garrido
Is it using SEO optimizations? Really nice project! On Tue, Feb 7, 2012 at 10:15 PM, Bruno Rocha wrote: > I am trying to understand the COns and Pros between BSD, MIT and LGPL > > So I will choose one of that by the end of the week when beta will be > officially released. > > > On Tue, Feb 7, 20

[web2py] Re: is_https

2012-02-07 Thread Ross Peoples
Using nginx, you have to have a line somewhere for "fastcgi_pass". If this line isn't: fastcgi_pass http://127.0.0.1:9000 Then you will have problems. When you connect to web2py through nginx, web2py only sees nginx. So if nginx is passing fastcgi to another computer on the network, then web2p

[web2py] Re: Workflow engine for web2py

2012-02-07 Thread mart
Something to think about if effort is put on this (just a suggestion). You may want to consider the importance of 'roles' in an implemented wf engine, since user to role interaction should probably be key in a wf model (or at least as important as having the ability to move work items around). Jus

[web2py] is_https

2012-02-07 Thread Joerg Poeltl
Hello, I setup a new server with nginx, ssl and scgi today. The crazy thing is, that the connection is done per SSL, but the admin interface is still disabled. I access.py, but everything seem to be ok. within request 'HTTP_REFERER': 'https://web2py.domain.com/admin/ default/site' seem to be ok,

Re: [web2py] Re: DAL Connection String

2012-02-07 Thread Hugh Barker
Excellent, thanks very much. This solved my issue. 2012/2/8 Niphlod : > PS : final DAL initiation code is > > db = DAL('postgres://hello:p%40ssword@localhost:5432/bbb', > decode_credentials=True)

[web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Bruno Rocha
I am trying to understand the COns and Pros between BSD, MIT and LGPL So I will choose one of that by the end of the week when beta will be officially released. On Tue, Feb 7, 2012 at 7:30 PM, Ross Peoples wrote: > I'm not sure how much my opinion matters here, but a lot of times, I am > not a

[web2py] Re: a beginner question about queries

2012-02-07 Thread shartha
I don't understand how represent would be of help. Could you show that? On Feb 7, 11:43 am, Richard Vézina wrote: > Why not use represent? > > http://web2py.com/books/default/chapter/29/6?search=represent#Record-... > > Richard > > > > > > > > On Tue, Feb 7, 2012 at 12:37 PM, shartha wrote: > >

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Ricardo Pedroso
On Tue, Feb 7, 2012 at 8:29 PM, Bruno Rocha wrote: > That is exactly what I had in mind, now I dont know if I stay with AGPL or > change to LGPL.. > > I chosen AGPL because I saw another related projetct using it > (http://noosfero.org/Site/About) Hi Bruno, I'm completely ignorant about this lic

[web2py] One issues (I guess) with auth form login+janrain

2012-02-07 Thread Ricardo Pedroso
I'm evaluatind multiple logins using the normal auth form + janrain in web2py 1.99.4 It's working almost as I was expecting, but when I do the following steps: 1) login with janrain (in my case using google) 2) I'm sucessfully logged in my app. I go to /myap/default/user/change_password and ca

Re: [web2py] Re: keep shared objects permanently in RAM: Is it possible ?

2012-02-07 Thread Ross Peoples
Sorry Mariano, I misspelled your name in my last post :) To give you a better example of what you might want to do here is a more advanced module that makes a static class and better resembles the singleton pattern: class Counter(object): instance = None @classmethod def get(cl

Re: [web2py] Re: CSV Import/Export from different tables

2012-02-07 Thread Richard Vézina
Your are welcome! Richard On Tue, Feb 7, 2012 at 5:46 PM, Omi Chiba wrote: > Thank you, Richard ! > I came up the same idea using excutesql and it's done in a seconds !! > > db.executesql('INSERT INTO request (subject, result) SELECT subject, > result FROM result;') > * my database is db2 > > >

[web2py] Re: CSV Import/Export from different tables

2012-02-07 Thread Omi Chiba
Thank you, Richard ! I came up the same idea using excutesql and it's done in a seconds !! db.executesql('INSERT INTO request (subject, result) SELECT subject, result FROM result;') * my database is db2 > In your case you need input of user so you need to import from CSV... But I > don't see why

Re: [web2py] Re: keep shared objects permanently in RAM: Is it possible ?

2012-02-07 Thread Ross Peoples
Marino is referring to the method I mentioned earlier of using modules and the singleton pattern. You could use this in combination with Michele's mmap suggestion to hold the data to do what you want. I've never used mmap before, but I can get you on the right track with modules. This is a very

Re: [web2py] Workflow engine for web2py

2012-02-07 Thread Richard Vézina
>From what I understand you can do just that, but without reinventing the wheel by designing and implementing your own solution. Richard On Tue, Feb 7, 2012 at 5:27 PM, Ross Peoples wrote: > I don't know workflow engines in the general sense that well. I once > created a full documentation mana

Re: [web2py] Re: CSV Import/Export from different tables

2012-02-07 Thread Richard Vézina
I was think of something like this... INSERT INTO dict_table (table_name) SELECT relname FROM pg_class WHERE relnamespace='2200' AND relname LIKE 'test_%' AND relname NOT LIKE '%_id_seq' That could be write in raw SQL or with web2py request syntax In your case you need input of user so you need

Re: [web2py] web2py long term projects: experiences ?

2012-02-07 Thread Sebastian E. Ovide
Thanks for that Martin, appreciated. I've read your slides: They are very clear ! On Tue, Feb 7, 2012 at 11:35 AM, Martín Mulone wrote: > I can tell my experience, I'm working for 2 years with web2py or more I > think. I work in different projects, one I currently developing I think is > quite

Re: [web2py] default layout.html error (or just me)

2012-02-07 Thread Ross Peoples
Glad you figured it out!

Re: [web2py] Workflow engine for web2py

2012-02-07 Thread Ross Peoples
I don't know workflow engines in the general sense that well. I once created a full documentation management system where each document couple have a workflow assigned to it. The workflow (predefined, or created on-the-fly) would push the document around from person to person, ensuring that eac

Re: [web2py] Re: keep shared objects permanently in RAM: Is it possible ?

2012-02-07 Thread Sebastian E. Ovide
Hi Mariano, what do you mean by permanently importing the data in a module ? As far as I know, every request will reload ALL the models and module again... and again... and again in the mean time I'm reading about mmap as suggested by Michele... even is it looks like (I have not studied it y

Re: [web2py] Workflow engine for web2py

2012-02-07 Thread Richard Vézina
There is no ubuntu official package as far as I can see, so you will have to follow the installation information explain into the tar ball available here : http://www.hforge.org/itools/ Then : from itools.workflow import Workflow And the rest is explained in the docs : http://www.hforge.org/ito

Re: [web2py] default layout.html error (or just me)

2012-02-07 Thread Andreas Christoffersen
I was missing a paranthesis... sorry for the confusion - and thanks for the help... Sometimes taking a walk and comming back to the editor is the best way to handle errors. I had: {{=LI(A(image.title, _href=URL("show", args=image.id))}}$ but should have had: {{=LI(A(image.title, _href=URL("show",

[web2py] Re: CSV Import/Export from different tables

2012-02-07 Thread Omi Chiba
I think my case is the former. Like Sales support team prepare the reply for the open request at the end of the day and upload. In the evening, I have scheduled job on my AS400 do the upgrade from result to request table with other information. Insert each rows takes long time compared to update o

Re: [web2py] Workflow engine for web2py

2012-02-07 Thread António Ramos
How to use this in web2py ? dummies tutorial? 2012/2/7 omicron > This library is small and easy to use: > http://www.hforge.org/itools/docs/workflow/

[web2py] Re: How to make an index table look like SQLFORM.grid?

2012-02-07 Thread Cliff
solved! TD(blah, _style='text-align:right;') On Feb 7, 2:06 pm, Cliff wrote: > How can I get the buttons to stick to the right side of my index > table? > > My code looks something like this, after a couple of hours of reverse > engineering. > > query = db.tbl.blah > rows = db(query).select(db

[web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Ross Peoples
I'm not sure how much my opinion matters here, but a lot of times, I am not allowed to touch GPL code, especially AGPL code for a business project. The legal department avoids (A)GPL like the plague. There are just too many gotchas with it, whether real or imaginary. They much prefer I use MIT o

Re: [web2py] deletable = auth.has_permission different for grid and smartgrid?

2012-02-07 Thread Richard Vézina
I don't think there should be difference about that... Smartgrid supposed to be much the same as grid except that it follow link between tables referenced by the shown table... Would show more code to help list member to better help you? Richard On Tue, Feb 7, 2012 at 4:02 PM, Adi wrote: > > I

Re: [web2py] CSV Import/Export from different tables

2012-02-07 Thread Richard Vézina
Do you have to let the user do that copy/paste because they add result to kind of empty CSV/Excel spreadsheet to feed your system or you only want to move data around once? In later case you can make a request at DB level or in web2py shell... Richard On Tue, Feb 7, 2012 at 3:48 PM, Omi Chiba w

[web2py] deletable = auth.has_permission different for grid and smartgrid?

2012-02-07 Thread Adi
I have following code in grid and smartgrid: deletable = auth.has_permission('management'), The button Delete shows in grid, but not in smartgrid. Is there a difference between the two, or I should dig deeper in possible permissions messup? Thanks, ADnan

[web2py] CSV Import/Export from different tables

2012-02-07 Thread Omi Chiba
For example, I have two tables, "request" and "result". I want user to download all open request (status="1") from "request" table and upload with the result to "result" table. What's the easy way to do ? db.define_table('request', Field('subject'), Field('status', default="1"), Field

[web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Anthony
> > Bruno's work is given for free, and if you don't share your changes back, > keep it secret behind the server, it doesn't help the Movuca project. So > for Bruno the GPL or even AGPL is a good option, as it keeps the code free > (as in freedom). > Under a more permissive license, a smaller

[web2py] Re: web2py performance

2012-02-07 Thread VP
Did you remove the line in layout.html that links to an external FaceBook service? Things like this take time. On Feb 7, 1:24 am, LightOfMooN wrote: > Hi > Just download web2py, run it and go to edit welcome app. > > in db.py: > db.define_table('mytable',Field('myfield','string')) > > in cont

Re: [web2py] Re: Some very basic, but important questions.

2012-02-07 Thread Mariano Reingart
On Tue, Feb 7, 2012 at 4:50 PM, amiroff wrote: > > Thanks Mariano for answers, > > On Feb 7, 2:11 pm, Mariano Reingart wrote: > > > > You can have your shared settings in a common python module, and then > > import it in your model: > > > > from shared_settings import DB_URI > > db=DAL(DBURI) > >

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Bruno Rocha
That is exactly what I had in mind, now I dont know if I stay with AGPL or change to LGPL.. I chosen AGPL because I saw another related projetct using it ( http://noosfero.org/Site/About) On Tue, Feb 7, 2012 at 5:59 PM, Wikus van de Merwe < dupakrop...@googlemail.com> wrote: > Bruno's work is gi

[web2py] Re: 1.99.4 Active Directory LDAP Issue

2012-02-07 Thread Omi Chiba
It's known issue and fixed version is in trunk. http://code.google.com/p/web2py/issues/detail?id=565&can=1&q=ldap On Feb 7, 12:53 pm, Ialejandro wrote: > Hi!! I have a lot of apps running with Windows LDAP and web2py (1.8) > and everything works just fine. Now I'm trying to build an app from > s

[web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Wikus van de Merwe
Bruno's work is given for free, and if you don't share your changes back, keep it secret behind the server, it doesn't help the Movuca project. So for Bruno the GPL or even AGPL is a good option, as it keeps the code free (as in freedom). CMS is very different to a framework like web2py, which

[web2py] Re: Some very basic, but important questions.

2012-02-07 Thread amiroff
Thanks Mariano for answers, On Feb 7, 2:11 pm, Mariano Reingart wrote: > > You can have your shared settings in a common python module, and then > import it in your model: > > from shared_settings import DB_URI > db=DAL(DBURI) This is obvious, what I was looking for was a web2py way of doing thi

[web2py] Re: Set username as default

2012-02-07 Thread Omi Chiba
Thank you both !! It works perfectly. On Feb 7, 1:36 pm, Massimo Di Pierro wrote: > db.IQWAGFTY.TYUUSR.default=dba.auth_user(auth.user_id).username.upper() > > On Feb 7, 1:31 pm, Omi Chiba wrote: > > > > > > > > > I want to set username (Not id) to table when the record is created > > using "imp

[web2py] Re: Set username as default

2012-02-07 Thread Massimo Di Pierro
db.IQWAGFTY.TYUUSR.default=dba.auth_user(auth.user_id).username.upper() On Feb 7, 1:31 pm, Omi Chiba wrote: > I want to set username (Not id) to table when the record is created > using "import_from_csv_file". > The following model cause error because when you open the website > auth.user_id

Re: [web2py] default layout.html error (or just me)

2012-02-07 Thread Bruno Rocha
you are missing {{ or }} somewhere in view On Tue, Feb 7, 2012 at 5:26 PM, Andreas Christoffersen < achristoffer...@gmail.com> wrote: > > Hi group, > > > I am trying to build the simple image blog from the web2py book chapter 3. As > far as I can see I have reentered the example code to the lett

[web2py] Re: Set username as default

2012-02-07 Thread Ross Peoples
I usually do this: default = auth.user.username.upper() if auth.user else None

[web2py] Re: default layout.html error (or just me)

2012-02-07 Thread Ross Peoples
Sorry, I meant views/default/index.html, not controllers/default/index.html.

[web2py] Re: default layout.html error (or just me)

2012-02-07 Thread Ross Peoples
Can you paste the code in your controllers/default/index.html? Also, you should be able to scroll down near the bottom of the ticket to see the line of code in the view that triggers the issue.

[web2py] Set username as default

2012-02-07 Thread Omi Chiba
I want to set username (Not id) to table when the record is created using "import_from_csv_file". The following model cause error because when you open the website auth.user_id is None. Can we set if statement says auth.user_id !=none, dba.auth_user(auth.user_id).username.upper() else "" ? Model

[web2py] default layout.html error (or just me)

2012-02-07 Thread Andreas Christoffersen
Hi group, I am trying to build the simple image blog from the web2py book chapter 3. As far as I can see I have reentered the example code to the letter - but still I get an error (which I think stems from layout.html?) (using latest web2py on mac) Traceback (most recent call last): File "g

[web2py] Re: Postgres: what am i doing wrong ?

2012-02-07 Thread Cliff
What is the problem in your app? Do you have the same problem if you use SQLite? On Feb 7, 12:26 pm, Anthony wrote: > > Just tried it -> same results. > > FYI, I'm only using the interactive python shell to illustrate the > > problem I face I my app... > > When you use the -M option to load your

[web2py] How to make an index table look like SQLFORM.grid?

2012-02-07 Thread Cliff
How can I get the buttons to stick to the right side of my index table? My code looks something like this, after a couple of hours of reverse engineering. query = db.tbl.blah rows = db(query).select(db.tbl.id, db.tbl.f1, db.tbl.f2) thead = THEAD(TR(TH('Col1'), TH('Col2'), TH())) tbody = [] for ro

[web2py] 1.99.4 Active Directory LDAP Issue

2012-02-07 Thread Ialejandro
Hi!! I have a lot of apps running with Windows LDAP and web2py (1.8) and everything works just fine. Now I'm trying to build an app from scratch using the same auth method with web2py 1.99.4. But it doesn't work. When I try to log in (after typing pass and username) I get a ticket this is what it s

[web2py] Re: new web2py application

2012-02-07 Thread Cliff
Cool stuff. I like the thought behind it, too. On Feb 7, 9:38 am, Massimo Di Pierro wrote: > This made the news it > italy:http://www.repubblica.it/tecnologia/2012/02/05/news/hacker_anti_corru... > Repubblica is the main national newspaper. > > Congratulations to the authors! > > Massimo > > On

Re: [web2py] How to disable debugging

2012-02-07 Thread Anthony
On Tuesday, February 7, 2012 11:54:59 AM UTC-5, Praveen Bhat wrote: > > Hello, > > The "form" and "records" words appear even after taking off > {{=response.toolbar()}} line from generic.html.. > Your controller is returning a dict containing "form" and "records" keys -- the following generic.ht

Re: [web2py] How to disable debugging

2012-02-07 Thread Praveen Bhat
Hello, The "form" and "records" words appear even after taking off {{=response.toolbar()}} line from generic.html.. regards, Pravene

[web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Anthony
> > - License changed to AGPL3 (Gnu Afferro GPL) >> >> >> If I understand AGPL3 correctly, if someone deploys Movuca on a server, >> they will be required to allow all users of their website to download the >> entire source code of the site, including any customizations they make to >> the Movu

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Bruno Rocha
OK, I am going to change it to LGPL3 (the same of web2py) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Bruce Wade
LGPL would probably be the best choice, meaning they can use the code for commercial however need to submit/supply source code changes that they make to the CMS directly, but allows them to keep their own unique code built on top of the CMS closed if they want. On Tue, Feb 7, 2012 at 9:29 AM, Mari

Re: [web2py] a beginner question about queries

2012-02-07 Thread Richard Vézina
Why not use represent? http://web2py.com/books/default/chapter/29/6?search=represent#Record-representation Richard On Tue, Feb 7, 2012 at 12:37 PM, shartha wrote: > Hello. > > I have this model: > db = DAL('sqlite://storage.sqlite') > > db.define_table('customers', >Field('name'), >Fie

[web2py] a beginner question about queries

2012-02-07 Thread shartha
Hello. I have this model: db = DAL('sqlite://storage.sqlite') db.define_table('customers', Field('name'), Field('age'), format = '%(name)s' ) db.define_table('purchases', Field('name',db.customers), Field('cart') ) db.purchases.name.requires = IS_IN_DB(db,db.customers,'%(nam

[web2py] Re: web2py performance

2012-02-07 Thread Anthony
On Tuesday, February 7, 2012 2:36:14 AM UTC-5, LightOfMooN wrote: > > I'm using loop for 10 inserts just one time to insert 100k records > in database. > All next time I just try to get response. > And now in our project we have much more than 100k records, that can > be filtered and sorted

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Mariano Reingart
The magic keyword is "distribute", both the GPL and LGPL would prevent proprietary closed forks (binary only releases). But, if you want that every site that uses your app would have to publish the source code, AGPL. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.

[web2py] Re: Postgres: what am i doing wrong ?

2012-02-07 Thread Anthony
> > Just tried it -> same results. > FYI, I'm only using the interactive python shell to illustrate the > problem I face I my app... > When you use the -M option to load your models, are you then still doing this in your shell session: >>> db = DAL('postgres://postgres:@localhost/cou

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Bruno Rocha
On Tue, Feb 7, 2012 at 3:15 PM, Bruce Wade wrote: > I agree with Anthony, I think this type of license will limit the adoption > greatly. Honestly I probably wont even look at the code now, not because I > wasn't interested. Instead because 99% of my clients require to keep the > code that makes

Re: [web2py] dataTables with serverside json

2012-02-07 Thread Richard Vézina
Finally got it to work... There was a problem with the init of DTs particularly this option : http://datatables.net/release-datatables/extras/FixedColumns/server-side-processing.html *fnInitComplete* * * * * It's not solving my speed problem as I expect it could do... So I will put it on hold, b

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Bruce Wade
I agree with Anthony, I think this type of license will limit the adoption greatly. Honestly I probably wont even look at the code now, not because I wasn't interested. Instead because 99% of my clients require to keep the code that makes their system unique and profitable. -- Regards, Bruce On T

Re: [web2py] Re: web2py performance

2012-02-07 Thread Vinicius Assef
Massimo, if this question was to me, I don't face this situation with web2py yet. This is my experience, no matter what tools I use. -- Vinicius Assef On Tue, Feb 7, 2012 at 12:51 PM, Massimo Di Pierro wrote: > Are you using trunk or stable. I believe there was an optimization in > trunk in t

Re: [web2py] How to disable debugging

2012-02-07 Thread Anthony
On Tuesday, February 7, 2012 10:31:39 AM UTC-5, Detectedstealth wrote: > > Removing {{=response.toolbar()}} just prevents it from showing, or does it > actually disable it from being called in the background and assigned to the > response object? > .toolbar() is a method that is called to genera

Re: [web2py] How to disable debugging

2012-02-07 Thread Anthony
On Tuesday, February 7, 2012 11:32:21 AM UTC-5, Praveen Bhat wrote: > > Hello Bruce, > > Thanks for your quick reply. > > But I do not find any generic.html view file as I am using the Windows > Webpy. > generic.html should be in /web2py/application/your_app/views (even in the Windows distributi

[web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Bruno Rocha
On Tue, Feb 7, 2012 at 2:56 PM, Anthony wrote: > - License changed to AGPL3 (Gnu Afferro GPL) > > > If I understand AGPL3 correctly, if someone deploys Movuca on a server, > they will be required to allow all users of their website to download the > entire source code of the site, including any c

[web2py] 1 Week Left! Web2py Application Exhibition

2012-02-07 Thread NetAdmin
There is only ONE week left for submissions. If you plan to submit an application for the Web2py Application Exhibition, please send me an e-mail indicating your interest so I can have an idea of how many submissions to expect. Thanks! Mr.NetAdmn

[web2py] Re: Movuca - Social CMS beta 0.1

2012-02-07 Thread Anthony
> > - License changed to AGPL3 (Gnu Afferro GPL) If I understand AGPL3 correctly, if someone deploys Movuca on a server, they will be required to allow all users of their website to download the entire source code of the site, including any customizations they make to the Movuca code in order

Re: [web2py] Workflow engine for web2py

2012-02-07 Thread Richard Vézina
I know it in french, I didn't find it in english : http://fr.wikipedia.org/wiki/Liste_des_moteurs_de_workflow And what about XPDL? http://en.wikipedia.org/wiki/XPDL Richard On Tue, Feb 7, 2012 at 11:27 AM, omicron wrote: > This library is small and easy to use: > http://www.hforge.org/itools/d

Re: [web2py] How to disable debugging

2012-02-07 Thread Praveen Bhat
Hello Bruce, Thanks for your quick reply. But I do not find any generic.html view file as I am using the Windows Webpy. Regards, Praveen On Tue, Feb 7, 2012 at 9:01 PM, Bruce Wade wrote: > Removing {{=response.toolbar()}} just prevents it from showing, or does it > actually disable it from be

Re: [web2py] Workflow engine for web2py

2012-02-07 Thread omicron
This library is small and easy to use: http://www.hforge.org/itools/docs/workflow/

[web2py] Movuca - Social CMS beta 0.1

2012-02-07 Thread Bruno Rocha
Hi, By the end of the week I will release Movuca Social CMS Beta 0.1 (for release I just need to finish installation page, admin dashboard and web2py scheduler notification worker) But, I want to hear your feedback about it! *Main Changes:* - Now it defaults to bootstrap theme (but basic the is

Re: [web2py] Re: VPScolo.com Five dolar VPS, anybody knows it?

2012-02-07 Thread Tito Garrido
Excellent piece of information Ross! Thank you very much! On Tue, Feb 7, 2012 at 11:11 AM, Ross Peoples wrote: > I haven't heard of them before, but I have learned a quick lesson about > VPS providers: most of them are one-man operations that only last for a few > months. I have done a LOT of res

Re: [web2py] Re: Postgres: what am i doing wrong ?

2012-02-07 Thread Richard Vézina
May be web2py need a password to be define to acces model in shell?? So use -a parameter to set a pwd here my start command, notice I am not sure but have auto after the -M that maybe required?? : python web2py.py -a '12345' -i 127.0.0.1 -p 8001 -S apllication_name -M auto' Richard On Tue, Feb

[web2py] Re: Possible bug when using upload with GAE

2012-02-07 Thread howesc
check the GAE data console (locally for me that is at 127.0.0.1:8080/_ah/admin/datastore) and see what the datatype of of the image is and how much data is stored. i thought that a blob type could be up to 1MB. for what it's worth, i use blobstore to store my images (does not have the 1mb lim

Re: [web2py] Re: Postgres: what am i doing wrong ?

2012-02-07 Thread Massimiliano
What do you expect to see in db.tables? Tables defined in model(s) or tables on database? On Tue, Feb 7, 2012 at 5:03 PM, Calycé wrote: > Just tried it -> same results. > FYI, I'm only using the interactive python shell to illustrate the > problem I face I my app... > > On Feb 7, 4:56 pm, Mich

[web2py] web2py RBAC and "virtual table"

2012-02-07 Thread Richard
Hello, I would like to know if there is a way in web2py to have "virtual table" (mean subset of columns from a existing table) access controlled with the web2py built-in RBAC ?? I mean I have to denormalize to improve speed of an app that use to have many table that are all using the same pattern

[web2py] Re: Postgres: what am i doing wrong ?

2012-02-07 Thread Calycé
Just tried it -> same results. FYI, I'm only using the interactive python shell to illustrate the problem I face I my app... On Feb 7, 4:56 pm, Michele Comitini wrote: > python web2py/web2py.py -S courier > > add -M > > python web2py/web2py.py -S courier -M > > mic > > 2012/2/7 Calycé : > > > > >

Re: [web2py] Postgres: what am i doing wrong ?

2012-02-07 Thread Michele Comitini
python web2py/web2py.py -S courier add -M python web2py/web2py.py -S courier -M mic 2012/2/7 Calycé : > Hi all, > > I'm starting a new project in which I'm using Postgresql, but I have > some problems. > I have defined a couple of tables in models/db.py. I can see and > manipulate those table

[web2py] Postgres: what am i doing wrong ?

2012-02-07 Thread Calycé
Hi all, I'm starting a new project in which I'm using Postgresql, but I have some problems. I have defined a couple of tables in models/db.py. I can see and manipulate those tables through web2py's admin interface, but when I try to use DAL I'm facing some problems. I can connect without problem,

[web2py] Re: Adding application specific data to httpserver.log ?

2012-02-07 Thread JC11
Thank you, Would there be any harm in adding environ['QUERY_STRING'] httpserver.log as a change in your main.py source code ? This would solve my issue and perhaps help others by giving a little more detail in the logs which for REST type applications will be very useful. One line added and t

Re: [web2py] How to disable debugging

2012-02-07 Thread Bruce Wade
Removing {{=response.toolbar()}} just prevents it from showing, or does it actually disable it from being called in the background and assigned to the response object? On Tue, Feb 7, 2012 at 7:25 AM, Bruno Rocha wrote: > You are using generic views. > > Better to create your own views. > > But,

Re: [web2py] How to disable debugging

2012-02-07 Thread Bruno Rocha
You are using generic views. Better to create your own views. But, if you want to disabled that, you need to edit the views/generic.html and remove the {{=response.toolbar()}} On Tue, Feb 7, 2012 at 1:05 PM, Praveen Bhat wrote: > Hello, > > I have attached the screenshot of the page rendered, a

[web2py] How to disable debugging

2012-02-07 Thread Praveen Bhat
Hello, I have attached the screenshot of the page rendered, and there is some debugging information. How can I disable it? regards Praveen <>

[web2py] Re: using radio widget can't receive the empty submit

2012-02-07 Thread DenesL
It will work if you have values inside the IS_IN_SET validators in your controller, e.g. IS_IN_SET([1,2,3,4],multiple='multiple')

Re: [web2py] Workflow engine for web2py

2012-02-07 Thread Bruno Rocha
+1 I would like to have it, lets start coding? http://zerp.ly/rochacbruno Em 18/01/2012 22:02, "António Ramos" escreveu: > is it dificult to do something like this in web2py? > > > http://blog.aizatto.com/2009/12/07/ruby-on-rails-finite-state-machine-plugin-workflow/ >

Re: [web2py] Re: Workflow engine for web2py

2012-02-07 Thread Richard Vézina
Interrested too! Richard On Tue, Feb 7, 2012 at 9:38 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I need this too. > > On Feb 7, 2:56 am, Ashraf Mansour wrote: > > I am having the same interest... > > > > On Jan 19, 3:02 am, António Ramos wrote: > > > > > > > > > > > > > > > >

  1   2   >