[web2py] py4web google oauth issue

2020-02-18 Thread Eric
y setup that switches out the people api. https://github.com/web2py/py4web/pull/120 In addition, there is change for SSO._handle_callback to show errors such as what I received above and a way to force https for callback uris. Eric -- Resources: - http://web2py.com - http://web2py.com/book (

[web2py] validator formatter when validation fails

2020-02-17 Thread Eric
In py4web, when form validation fails on a datetime field, py4web throws and exception. In the IS_DATETIME validator, when validation fails, validate() returns value as string (the original value). The form code tries to display the fields properly by calling field's validator formatter().

[web2py] Re: scheme of url when using py4web with https proxy

2020-02-04 Thread Eric
On Tuesday, February 4, 2020 at 8:16:52 AM UTC-6, Eric wrote: > > How can I configure py4web to return the proper scheme? > > I should add that main problem this is causing for me is that the OAuth2 class builds the callback URIs based on the reported scheme. Eric -- Resou

[web2py] scheme of url when using py4web with https proxy

2020-02-04 Thread Eric
the proper scheme? Eric -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "w

[web2py] pydal for_update on sqlite

2020-02-03 Thread Eric
I'm using pydal revision 20191227.1 installed via pip. Trying to use "for_update" in select on sqlite database results in an exception sqlite3.OperationalError: near "FOR": syntax error The adapter for sqlite does have special handling for "for_update", but it looks like pydal is adding

[web2py] Re: Take me advice, please

2019-12-30 Thread Eric
Have you tried with a session variable? El domingo, 29 de diciembre de 2019, 12:34:49 (UTC-7), Константин Комков escribió: > > Hello! > > How can I transfer my variable type of list, which contain my classes to > another function in controller. I tried vars and args in URL function but > my

[web2py] Why still mixing PY2 and PY3

2019-01-31 Thread Eric
Hi, I'm happily using Web2Py, but with the end of PY2 on 01-01-2020 ( https://pythonclock.org) I'm curious why all the efforts are in place to keep creating a version of Web2Py that supports PY2 and PY3 in one version? Why not update the master only for PY3 stuff (remove the PY2 stuff?) and

[web2py] Re: OFF Topic - Tech for the frontend - Elm ???

2017-10-09 Thread Eric Waldman
I've recently been quite enamoured by choo https://choo.io/ It's got a beautiful api, very functional. Nowhere near as complex as Angular or React + Redux. On Thursday, September 28, 2017 at 11:59:56 AM UTC-4, Ramos wrote: > > i meant sharing :) > > 2017-09-28 16:58 GMT+01:00 António

[web2py] Re: Future of web2py

2017-06-02 Thread eric cuver
lol Le mercredi 31 mai 2017 21:21:40 UTC+2, Oasis Agano a écrit : > > > But web2py is still maintained right? or we start buying flask books > On Saturday, May 27, 2017 at 9:11:02 AM UTC+2, Andrea Fae' wrote: >> >> Hello guys, >> I'd like to know if there will be future of web2py? Any information

[web2py] Re: Smartgrid linked tables gotcha

2016-12-09 Thread Eric Waldman
Bumping this because it saved me while trying to figure out why my tables weren't linking. I don't believe this is mentioned anywhere in the book/docs and they should be updated. Is there any way I can help with that? On Tuesday, October 15, 2013 at 3:00:09 PM UTC-4, Cliff Kachinske wrote: > >

[web2py] Re: info: w3 css, responsive

2016-11-21 Thread eric cuver
I use w3 css it works well with web2py and cordova Le lundi 21 novembre 2016 13:17:41 UTC+1, Mirek Zvolský a écrit : > > not web2py, but looks interesting. > > http://www.w3schools.com/w3css/default.asp > > On mobile pages load instantly. In oposite to bootstrap3. > > Does somebody use it ? > > >

[web2py] Re: web2py on android

2016-09-18 Thread eric cuver
H a écrit : > > what if I need to store data in the mobile when there is no internet > connection and sync with the webserver when there is connection? > > what db or sqlite, can I use? > > On Saturday, July 23, 2016 at 1:03:24 AM UTC-5, eric cuver wrote: >> >> y

[web2py] Re: web2py on android

2016-07-23 Thread eric cuver
you can use cordova wbeview and used side client brython( python) and backend web2py I create the applications in this way it works very well Le mardi 19 juillet 2016 13:16:10 UTC+2, Paolo Amboni a écrit : > > Is it possible to do something like that with web2py? > > Android apps with Python,

Re: [web2py] Re: Remove _extra from as_list()

2016-07-21 Thread Eric Christiaanse
n dict(GET=post, POST=post) 2016-07-21 17:12 GMT+02:00 Anthony <abasta...@gmail.com>: > Please show your code. > > On Wednesday, July 20, 2016 at 3:55:19 PM UTC-4, Eric wrote: >> >> Hi Anthony, >> >> I'm not including them. I'm only using with_alias() an

Re: [web2py] Re: Remove _extra from as_list()

2016-07-20 Thread Eric Christiaanse
Hi Anthony, I'm not including them. I'm only using with_alias() and the select in combination with as_list(). I would not expect to get the _extra as a little bonus when you use with_alias()... That's why I'm asking :) Greetings, Eric 2016-07-20 20:56 GMT+02:00 Anthony <abasta...@gmail.

[web2py] Remove _extra from as_list()

2016-07-20 Thread Eric
Hi There, Is there a way in Web2Py to suppress the _extra information when selecting data with as_list() or as_dict()? I can't find it and option for it, but maybe I'm just overlooking it in the documentation ;) Thanks! -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Notification similar to django-notification

2016-05-30 Thread eric cuver
mework, it may be its not possible to get a package like that. > > On Friday, May 20, 2016 at 10:33:56 AM UTC-4, eric cuver wrote: >> >> you can give the django notifcation links to see >> >> Le vendredi 13 mai 2016 16:14:26 UTC+2, billmac...@gmail.com a é

[web2py] Re: Notification similar to django-notification

2016-05-20 Thread eric cuver
you can give the django notifcation links to see Le vendredi 13 mai 2016 16:14:26 UTC+2, billmac...@gmail.com a écrit : > > Is there a plugin/package for web2py that is similar to > django-notification for emails, texts and other activities? > > -- Resources: - http://web2py.com -

[web2py] Re: JS: very small but very useful

2016-05-07 Thread eric cuver
you can give us the website link Le vendredi 6 mai 2016 17:26:43 UTC+2, Val K a écrit : > > Very small py-function that wraps any js-content in anonymous js-function > > def JS_fun(*args_lst): > def _inner(body): > return "(function(%s){ %s ;})" % (','.join(args_lst), body) >

[web2py] Re: BIO-METERIC ATHUNTICATION

2016-04-04 Thread eric cuver
look this maybe can help you https://github.com/pingali/pyAadhaarAuth , https://www.twilio.com/blog/2014/06/voice-biometric-authentication-with-twilio.html Le lundi 4 avril 2016 11:05:04 UTC+2, PAVAN DHAVALESWARAPU a écrit : > > Is it possible to use bio-metric authentication in real time

[web2py] Re: Could you write the code for RESTFUL api used in the web2py app controller and in the phonegap view?

2016-03-28 Thread eric cuver
it is better that you put your code like this we will help you to see what's wrong Le lundi 28 mars 2016 07:16:26 UTC+2, Rgb Aston a écrit : > > Please don't send me the link of the documentation. I seriously tried it > but it's not working. Please write the codes finally as I have given up >

Re: [web2py] Re: How do you use web2py app work with phonegap?

2016-03-21 Thread eric cuver
tic pages interacting via json webservices. > > 2016-03-21 7:23 GMT-03:00 eric cuver <amihaco...@gmail.com >: > >> ok thank you i'll check >> >> >> Le dimanche 20 mars 2016 21:24:05 UTC+1, pbreit a écrit : >>> >>> Ionic is free. Bu

[web2py] Re: How do you use web2py app work with phonegap?

2016-03-21 Thread eric cuver
> Maybe look at Onsen or F7? > > > https://www.airpair.com/ionic-framework/posts/hybrid-apps-ionic-famous-f7-onsen > > > > On Sunday, March 20, 2016 at 12:14:14 PM UTC-7, eric cuver wrote: >> >> Ionic it pays I believe? and I do not like angular >> >

[web2py] Re: How do you use web2py app work with phonegap?

2016-03-20 Thread eric cuver
h 19, 2016 at 3:12:42 AM UTC-7, eric cuver wrote: >> >> hi Leonel, >> >> which client (boostrap, jquery mobile, ionic.) for design with >> phonegap advises you ? >> >> >> Le vendredi 18 mars 2016 18:41:22 UTC+1, Leonel Câmara a écrit : >&

[web2py] Re: How do you use web2py app work with phonegap?

2016-03-19 Thread eric cuver
thank for information my friend Le samedi 19 mars 2016 13:05:58 UTC+1, Leonel Câmara a écrit : > > I usually just use bootstrap because I'm used to it But really, any mobile > first CSS framework is ok. I've used foundation before it's good too, I've > also not used anything and just made my

[web2py] Re: How do you use web2py app work with phonegap?

2016-03-19 Thread eric cuver
hi Leonel, which client (boostrap, jquery mobile, ionic.) for design with phonegap advises you ? Le vendredi 18 mars 2016 18:41:22 UTC+1, Leonel Câmara a écrit : > > I'm sorry but you show fundamental misconceptions about what phonegap > does, what web2py does, how they run in the

[web2py] Re: Is Opencv threadsafe in web2py?

2016-03-12 Thread eric cuver
look you are tutorial http://www.learnopencv.com/tag/web2py/ Le vendredi 11 mars 2016 18:19:51 UTC+1, RAGHIB R a écrit : > > Are opencv stuffs thread-safe and is it okay to use them in web2py? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: for those of us who do not understand ...

2016-03-10 Thread eric cuver
it's nice I am impressed Le jeudi 10 mars 2016 20:43:03 UTC+1, Massimo Di Pierro a écrit : > > Here is another piece: > > http://mdipierro.github.io/stupid.css/widgets/index.html > > The work with web2py forms if you manually add the data-format and > data-range. For example > > for e in

[web2py] Re: for those of us who do not understand ...

2016-03-05 Thread eric cuver
it's very good thanks massimo Le samedi 5 mars 2016 23:36:28 UTC+1, Massimo Di Pierro a écrit : > > You can also compare this: > >http://mdipierro.github.io/stupid.css/themes/landing-page.html > > with this: > >http://blackrockdigital.github.io/startbootstrap-landing-page/ > > The

[web2py] Re: list:reference, multiple=True, validation error

2016-03-04 Thread eric cuver
I teste it on my web2py it work Le vendredi 4 mars 2016 15:24:39 UTC+1, villas a écrit : > > Hi Eric, Thanks for your interest. I believe that this is a bug in > IS_IN_DB validator. I am surprised that more users have not reported it. > Try this to replicate. > > 1. M

[web2py] Re: list:reference, multiple=True, validation error

2016-03-04 Thread eric cuver
you can paste your code ? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] Re: how to create my own profile??

2016-03-04 Thread eric cuver
which error web2py show you ?? There is an error that generates a ticket? Le jeudi 3 mars 2016 21:12:34 UTC+1, prashant joshi a écrit : > > how to make my profile like a facebook?? > if i am login then i will show my record as like image ,name,email > id.(.all fileld in stud_person table) >

[web2py] Re: for those of us who do not understand ...

2016-03-04 Thread eric cuver
Le jeudi 3 mars 2016 08:27:57 UTC+1, Massimo Di Pierro a écrit : > > A damn simple and easy css framework ... stupid.css > > https://t.co/9vB48IjYJK > > No promise of backward compatibility is made, but comments and suggestions > for improvement are welcome. > it's nice --

[web2py] Re: Massimo for President!

2016-02-26 Thread eric cuver
thank you for sharing Le vendredi 26 février 2016 09:27:05 UTC+1, Nico Zanferrari a écrit : > > Hi all, > > I've found this article this morning: > http://www.corrierecomunicazioni.it/it-world/39758_coding-cosi-funziona-il-mio-programma-che-mette-il-turbo-a-python.htm > It's an Italian

[web2py] The connection could be established sorry

2016-02-04 Thread eric cuver
Hi, everybody ,since the last update I've often this message when I want to go on one of the controller's page "The connection could be established sorry Return" -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Can we use a web2py app on Android mobile?

2016-01-30 Thread eric cuver
android.html Le mercredi 27 janvier 2016 16:48:00 UTC+1, Ron Chatterjee a écrit : > Any documentation of using Cordova or Kivy using a hosted web2py app? If > a site is hosted using bootstrap3 and html5 its mobile friendly anyway. > > On Tuesday, January 12, 2016 at 9:12:01 AM UTC-5

[web2py] Re: loging web2py

2016-01-25 Thread eric cuver
Thank you Mr Massimo !! Le lundi 25 janvier 2016 18:49:34 UTC+1, Massimo Di Pierro a écrit : > > increase the default expiration time > > auth.settings.expiration = 1 # seconds > > On Sunday, 24 January 2016 21:45:46 UTC-6, eric cuver wrote: >> >> I t

[web2py] loging web2py

2016-01-24 Thread eric cuver
Hello everybody, I need to know how I can do to avoid that users must loging to each time for using an application. i would like the user login only one time after he can connect to the application without login each time. Thank you -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: loging web2py

2016-01-24 Thread eric cuver
tem > remembers you until the session expires. Is this not working for you? What > do you experience? > > On Sunday, 24 January 2016 03:31:26 UTC-6, eric cuver wrote: >> >> Hello everybody, >> I need to know how I can do to avoid that users must loging to each t

Re: [web2py] Re: Can we use a web2py app on Android mobile?

2016-01-13 Thread eric cuver
/journal/your-favourite-app-isnt-native Le mardi 12 janvier 2016 15:53:44 UTC+1, Andrew Buchan a écrit : > > @eric That's interesting... So essentially you'd get an "app" on your > mobile, but it just opens to a webpage on a server. > That is probably the best solution offered so

Re: [web2py] Re: Can we use a web2py app on Android mobile?

2016-01-13 Thread eric cuver
html for mobile http://mobilehtml5.org/ as I say it depends on what you want to do Le mardi 12 janvier 2016 15:53:44 UTC+1, Andrew Buchan a écrit : > > @eric That's interesting... So essentially you'd get an "app" on your > mobile, but it just opens to a webpage on a server.

Re: [web2py] Re: Can we use a web2py app on Android mobile?

2016-01-13 Thread eric cuver
when you're far from a real computer… > > -Mathieu > > 2016-01-12 16:39 GMT+01:00 eric cuver <amihaco...@gmail.com > > : > >> there are several solution all depends on your application. facebook use >> 2 adress url www.facebook.com for the web and when

[web2py] Re: Can we use a web2py app on Android mobile?

2016-01-12 Thread eric cuver
you can also do this with web2py you just need to create a webview with Cordova or Kivy with the URL of your mobile website view. Me this is what I do and it works without problems Le lundi 11 janvier 2016 22:31:58 UTC+1, Alessio Varalta a écrit : > > Sorry, , you are right. Now i have

[web2py] Re: Possible bug in 2.12.2 when including a .css file in a HTML email template

2015-08-12 Thread Eric
I've created an issue on GitHub: https://github.com/web2py/web2py/issues/1041 Feels like a better place to report this than here... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Update session expiration after login

2015-08-11 Thread Eric
do something like: def after_login(form): if 'special_group' in auth.user_groups.values(): session.auth.expiration = 60 * 60 * 24 auth.settings.login_onaccept.append(after_login) Anthony On Thursday, August 6, 2015 at 10:04:49 AM UTC-4, Eric wrote: Hi, How can I change

[web2py] Re: Update session expiration after login

2015-08-11 Thread Eric
It seems that: session.auth.expiration = [value] Is also doing the job :) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message

[web2py] Possible bug in 2.12.2 when including a .css file in a HTML email template

2015-08-11 Thread Eric
Hi, I've just updated my project to Web2py 2.12.2 and found a little issue that wasn't there in my previouse versie 2.10.something... I render a HTML template for the 'reset password' email like this: auth.messages.reset_password = response.render('templates/email/reset_password.html',

[web2py] Update session expiration after login

2015-08-06 Thread Eric
Hi, How can I change the session expiration length after someone has loggedin? I've found the setting auth.settings.expiration, but that only works when I place it in the db.py (or somewhere before I call the (bare)login function). Trouble is that I only know the rights of the user after

[web2py] web2py inspired framework

2015-07-31 Thread eric cuver
What do you think of this framework which is clearly inspired by web2py http://weppy.org/ -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received

Re: [web2py] Re: Web2py is Badly designed framework and Does not scale

2015-07-20 Thread eric cuver
thank you, I tested it works very well with web2py Le dimanche 19 juillet 2015 18:04:11 UTC+2, Anthony a écrit : On Sunday, July 19, 2015 at 11:10:19 AM UTC-4, eric cuver wrote: can we use brython with web2py ? Sure. Brython simply generates Javascript code that then gets executed

[web2py] Re: google play

2015-07-07 Thread eric cuver
Bruno cezar rocha on twitter answer me: 1. *eric* ‏@ghyfr1 https://twitter.com/ghyfr1 12 hil y a 12 heures https://twitter.com/ghyfr1/status/617988200615813120 @rochacbruno https://twitter.com/rochacbruno hi bruno you can show me or explain how i can create web2py

Re: [web2py] Re: Semantic 2.0

2015-07-07 Thread eric cuver
oh my god semantic i'm fan Le lundi 6 juillet 2015 18:12:28 UTC+2, JorgeH a écrit : I am open to use both. On Monday, July 6, 2015 at 10:21:55 AM UTC-5, Massimo Di Pierro wrote: I am the one who proposed moving to semantic a year ago but the overwhelming majority here wanted bootstrap.

[web2py] google play

2015-07-06 Thread eric cuver
hi everybody anyone know how I can create a mobile application on google play with web2py as web2pyslices -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues)

[web2py] Re: Web2py mobile app using Kivy

2015-06-01 Thread eric cuver
good question I am also interested in the answer Le lundi 1 juin 2015 16:19:56 UTC+2, Joe a écrit : I developed a web app with Web2py. It works great, I thing Web2py is fantastic. I want to create a mobile app from my web app and I am not sure what is the best approach. Does anyone have

[web2py] Re: Sublime Text web2py plugin

2015-05-04 Thread eric cuver
cool it's great thank you Le lundi 4 mai 2015 12:28:55 UTC+2, Gergely Orosz a écrit : Hi 4 All, I've started to develop a web2py plugin for Sublime Text 3. I've implemented a few command I found very useful on my daily work. If you have any idea how can I make it better and useful please

Re: [web2py] Re: cache.disk.clear() crashes in appadmin

2015-03-05 Thread Eric Christiaanse
Hi Leonel, I've removed the cache folder from svn. Everything works fine now with cache removal :) Tnx! 2015-03-03 16:21 GMT+01:00 Leonel Câmara leonelcam...@gmail.com: Yes, it is created on demand if it isn't there, go ahead and svn delete it. -- Resources: - http://web2py.com -

Re: [web2py] Re: cache.disk.clear() crashes in appadmin

2015-03-03 Thread Eric Christiaanse
leonelcam...@gmail.com: Hey Eric, web2py 2.9.12 does contain the fix, however your application's appadmin probably doesn't as the error is in appadmin which is a controller in your own application. You need to copy the one with the fix from the 2.9.12 welcome application and overwrite

Re: [web2py] Re: cache.disk.clear() crashes in appadmin

2015-03-03 Thread Eric Christiaanse
Hi, The folder itself is under svn control, the data in it isn't. It the cache folder created 'on demand'? When that's the case we can remove all svn control on it. 2015-03-03 15:01 GMT+01:00 Leonel Câmara leonelcam...@gmail.com: Why is the cache folder under svn control? Files are keys

Re: [web2py] Re: cache.disk.clear() crashes in appadmin

2015-03-02 Thread Eric Christiaanse
/eric/Projects/Web2Py/web/gluon/restricted.py, line 224, in restricted exec ccode in environment File /home/eric/Projects/Web2Py/web/applications/cms/controllers/maintenance.py, line 415, in module File /home/eric/Projects/Web2Py/web/gluon/globals.py, line 393, in lambda self._caller

Re: [web2py] Newby Question

2015-02-02 Thread Eric
to avoid is just assuming some magic happens. Eric On Thursday, January 29, 2015 at 12:20:53 PM UTC-6, Richard wrote: Without the code from your controller and view it is more difficult to be sure of what you are talking about exactly... I guess you have wrote a model, where you define

[web2py] Newby Question

2015-01-29 Thread Eric
web programming works so any references would be appreciated. I've been working my way through an on-line HTML tutorial, but it seems that javascript is also important. Thanks in advanced, Eric -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com

Re: [web2py] Is Web2py suitable for my project

2015-01-26 Thread Eric
Richard, If you try Bokeh and/or mpld3 please tell me how it went. I'll need scientific plots in my application and would welcome any hints on how to accomplish this in Web2py. Eric On Monday, January 26, 2015 at 9:30:48 AM UTC-6, Richard wrote: Didn't know bokeh thanks! Richard On Sun

[web2py] Is Web2py suitable for my project

2015-01-25 Thread Eric
. Eventually I'd like to use a database to archive the uploaded data files and resulting result files along with other information such as user, date, instrument serial number, etc. Thanks, Eric -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py

Re: [web2py] Is Web2py suitable for my project

2015-01-25 Thread Eric
into the Python parsing script. I'm usually pretty good at finding resources on the web, but my general knowledge of web technologies is a problem. Eric On Sunday, January 25, 2015 at 3:24:18 AM UTC-6, Kiran Subbaraman wrote: I would use web2py for these requirements, because you get

[web2py] SQLite, or some other database?

2015-01-02 Thread Eric Taw
From reading a lot of web2py tutorials and guides, they always say SQLite is good for small implementations of databases, whereas other SQL flavors are better suited for larger uses. Is there any reason why? Can I still use SQLite if I have a lot of information to store? -- Resources: -

[web2py] cache.disk.clear() crashes in appadmin

2014-10-16 Thread Eric
Hi All, When I press the 'empty cache' button on the Appadmin I get a nice error: Traceback (most recent call last): File /home/eric/Projects/Web2Py/site/gluon/restricted.py, line 224, in restricted exec ccode in environment File /home/eric/Projects/Web2Py/site/applications/cms/controllers

[web2py] Re: cache.disk.clear() crashes in appadmin

2014-10-16 Thread Eric
@Paolo: Done (http://code.google.com/p/web2py/issues/detail?id=1996) @Leonel: Thans! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this

[web2py] Re: french web2py developper in paris

2014-10-15 Thread eric cuver
? On Tuesday, 14 October 2014 04:24:12 UTC-5, eric cuver wrote: I want to know is there for developers in web2py on paris for projects in web2py in paris. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] french web2py developper in paris

2014-10-14 Thread eric cuver
I want to know is there for developers in web2py on paris for projects in web2py in paris. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received

[web2py] Re: Semantic UI instead of bootstap

2014-10-14 Thread eric cuver
semantic it's like web2py framework that is to say, the best in its field Le mardi 14 octobre 2014 07:17:36 UTC+2, Massimo Di Pierro a écrit : I really like semantic ui. On Monday, 13 October 2014 09:19:34 UTC-5, Ramos wrote: is semantic UI a good frontend ? http://semantic-ui.com/

[web2py] about format %Y-%m-%d

2014-10-13 Thread eric cuver
Hello, someone knows a javascript or method for a user that can not change %d, %m, and can not change that Y%.for %d, %m by default it's still January 01 thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Manual reset password link

2014-09-30 Thread Eric
Hi, Since version 2.9.11 of Web2Py this piece of code can be found in tools.py: if self.settings.prevent_password_reset_attacks: key = request.vars.key if not key and len(request.args)1: key = request.args[-1] if key:

[web2py] Re: compute and calculate database

2014-09-20 Thread eric cuver
this post was resoulus to see the solution see the post https://groups.google.com/forum/#!topic/web2py/nb-xnYhJKao Le mardi 16 septembre 2014 09:21:07 UTC+2, eric cuver a écrit : I'm on the home stretch of my application. I want to know I sought but I can not find. from the database. I

[web2py] Re: web2py 2.9.10 is OUT

2014-09-17 Thread eric cuver
cool thank you. you can tell us the new upgrades please Le lundi 15 septembre 2014 15:15:43 UTC+2, Massimo Di Pierro a écrit : web2py 2.9.10 is out. It fixes some important bugs and upgrades some contrib. packages. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] share tip to calculate hours from database

2014-09-17 Thread eric cuver
I share with you a solution that gives leonel camara to a problem that I encounter my question : users must score the hours or minutes of work performed on the project. it's for Timesheet software. obligation: the data must be store in database , so virtual field impossible. the solution was

[web2py] compute and calculate database

2014-09-17 Thread eric cuver
I'm on the home stretch of my application. I want to know I sought but I can not find. from the database. I have this problem. db.define_table ('spot' Field ('analyse_des_besoins', 'double') analyse_des_besoins== 50 % Field ('patent', 'double') 'patent===10% Field ('marketing',

[web2py] Re: share datebases with different application

2014-08-29 Thread eric cuver
authentication, there is a central authentication service that you can use. On Monday, August 25, 2014 4:17:44 AM UTC-7, eric cuver wrote: Hi, I have 2 applications (AppA, AppB). Each application has a database (AppA.db, AppB.db). There is a table in AppA (AppA.table), which should be used

[web2py] Re: multiple DAL

2014-08-29 Thread eric cuver
can you give me example please ? Le lundi 25 août 2014 21:08:47 UTC+2, Niphlod a écrit : or you can just use migrate=False and leave it be. On Monday, August 25, 2014 7:49:32 PM UTC+2, Leonel Câmara wrote: Ohh then you also need to pass the folder argument to your DAL as the sqlite file

[web2py] share datebases with different application

2014-08-25 Thread eric cuver
Hi, I have 2 applications (AppA, AppB). Each application has a database (AppA.db, AppB.db). There is a table in AppA (AppA.table), which should be used in AppB and There is a table in AppB (AppB.table), which should be used in AppA it's possible with web2py ? -- Resources: -

[web2py] multiple DAL

2014-08-25 Thread eric cuver
hello everybody, can we create multiple DAL in same model. for example: db1 = DAL('sqlite://storage.sqlite') db.define_table() db.define_table() db2 = DAL('sqlite://storage.sqlite') db.define_table() db.define_table() -- Resources: - http://web2py.com -

[web2py] Re: multiple DAL

2014-08-25 Thread eric cuver
Le lundi 25 août 2014 18:29:02 UTC+2, Leonel Câmara a écrit : Yes you can, however you probably don't want both DALs using the same db (sqlite is pointing to the same file). Also remember to do db1.define_table, db2.define_table, etc. Instead of just db.define_table. Anyway, why do you

[web2py] Re: PeerQuiz

2014-08-14 Thread eric cuver
ok. I just need to know how I can build PeerQuiz form in answer section with the + and - thank you in advance Le mardi 5 août 2014 17:57:55 UTC+2, Massimo Di Pierro a écrit : It is not open source. On Sunday, 3 August 2014 12:29:42 UTC-5, eric cuver wrote: hello , everybody, i

[web2py] about next update web2py

2014-08-11 Thread eric cuver
What are news functionality in the next update to web2py thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you

[web2py] Re: Web2py, authenticating two types of profile

2014-08-11 Thread eric cuver
-control You can create different types of accounts without separate tables. On Sunday, August 10, 2014 3:01:14 PM UTC+8, eric cuver wrote: nobody know how we can create two types of accounts or login ? Le samedi 9 août 2014 00:27:03 UTC+2, eric cuver a écrit : hello everybody, i want

[web2py] Re: Web2py, authenticating two types of profile

2014-08-11 Thread eric cuver
i seen.. but i will not have this probleme because the buyer will never be the customer. but can you give me an example about your solution Le lundi 11 août 2014 19:30:20 UTC+2, Leonel Câmara a écrit : I wouldn't implement that solution. Well it depends on the objective, but it seems wrong to

[web2py] Re: Web2py, authenticating two types of profile

2014-08-11 Thread eric cuver
return dict(form=auth.register()) def register_customer(): db.auth_user.is_buyer.default=False db.auth_user.is_customer.default=True return dict(form=auth.register()) and link them in the right places in your app. On Monday, 11 August 2014 13:05:54 UTC-5, eric cuver wrote

[web2py] Re: Web2py, authenticating two types of profile

2014-08-10 Thread eric cuver
nobody know how we can create two types of accounts or login ? Le samedi 9 août 2014 00:27:03 UTC+2, eric cuver a écrit : hello everybody, i want create one application. i need to create two types of accounts or login. Each of them should be able to register/login/... buyer/customer

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-08-09 Thread eric cuver
where i can find the web2py version with bootstrap Le samedi 9 août 2014 09:17:28 UTC+2, Massimo Di Pierro a écrit : also help us test the grid in trunk. On Saturday, 9 August 2014 02:13:38 UTC-5, Massimo Di Pierro wrote: Bootstrap 3 is in trunk now. Please help us test it. Also help us

[web2py] Web2py, authenticating two types of profile

2014-08-08 Thread eric cuver
hello everybody, i want create one application. i need to create two types of accounts or login. Each of them should be able to register/login/... buyer/customer account defined by different tables in db. how i can do with web2py thank you -- Resources: - http://web2py.com -

[web2py] Re: Add (customer) number to url

2014-08-05 Thread Eric
you could say /a/c/f.html/customernumber and customernumber would be request.args[0] On Wednesday, July 30, 2014 2:53:34 AM UTC-7, Eric wrote: Hi, We need a way to get the customer number into web2py by it's url so we can display the corresponding data to the visitor. To keep it easy

[web2py] cvs web2py model

2014-08-03 Thread eric cuver
hello, i tried tu create webpy model from csv file with this command : /home/csvstudio# for line in open('db_departement.py','r'): print line, the terminal answer- bash: Erreur de syntaxe près du symbole inattendu « ( » somebody look where my error. thanks -- Resources: -

[web2py] PeerQuiz

2014-08-03 Thread eric cuver
hello , everybody, i looking for peerquiz web2py source http://vimeo.com/83536698 . i dont find in github. somebody know where i can find it ? thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Add (customer) number to url

2014-07-30 Thread Eric
Hi, We need a way to get the customer number into web2py by it's url so we can display the corresponding data to the visitor. To keep it easy for the visitor this number needs to be visible in every url. Since the site runs under SSL and we don't want to buy another SSL certificate, we're

[web2py] Re: Possible SQLCustomType bug with booleans

2014-07-22 Thread Eric
)? What's wrong with your current code? Anthony On Thursday, July 17, 2014 9:29:00 AM UTC-4, Eric wrote: Hi There, Today I needed to use a SQLCustomType to convert a boolean to a string (in view mode) and the other way around when storing it. I used this customtype: bool_to_text

[web2py] Compiling web2py application to run as a native android app

2014-07-20 Thread eric cuver
it is possible compiling web2py application as a native android app ? if it possible how we do ? thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) ---

[web2py] Possible SQLCustomType bug with booleans

2014-07-17 Thread Eric
: AttributeError: 'bool' object has no attribute 'replace' http://127.0.0.1:8000/admin/errors/portal# Traceback (most recent call last): File /home/eric/Projects/Web2Py/BricksSis/gluon/restricted.py, line 220, in restricted exec ccode in environment File /home/eric/Projects/Web2Py

[web2py] pythonanywhere

2014-07-13 Thread eric cuver
Hello, I want to run one web2py instance where each web2py application will be mapped to different domain and with ability to map some urls differently in different domains. i tried without succes -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: sublime text 3

2014-07-10 Thread eric cuver
Pierro wrote: If your problem is the lack of autocompletion try add gluon to path and include if 0: from gluon import * on your files. Everything else should work out of the box. On Wednesday, 9 July 2014 04:29:49 UTC-5, eric cuver wrote: hello, how can we do to configure sublime text 3

[web2py] sublime text 3

2014-07-09 Thread eric cuver
hello, how can we do to configure sublime text 3 to work web2py -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you

[web2py] Re: sublime text 3

2014-07-09 Thread eric cuver
of the box. On Wednesday, 9 July 2014 04:29:49 UTC-5, eric cuver wrote: hello, how can we do to configure sublime text 3 to work web2py -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p

  1   2   3   >