[web2py] Re: web2py 2.14.1 beta

2016-03-24 Thread Dave S
On Wednesday, March 23, 2016 at 9:41:36 PM UTC-7, Dave S wrote: > > I've brought up one of my older apps in the beta. Looks like that is > working, except for some layout.html/css issues > > I've now done it with my home app (not an app for home, an app at home). It's pretty simple, and seems

[web2py] Re: web2py 2.14.1 beta

2016-03-24 Thread Ron Chatterjee
I downloaded 5 minutes ago and it gives me this error (see the screen shot). On Thursday, March 24, 2016 at 5:06:50 AM UTC-4, Dave S wrote: > > On Wednesday, March 23, 2016 at 9:41:36 PM UTC-7, Dave S wrote: >> >> I've brought up one of my older apps in the beta. Looks like that is >> working,

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-24 Thread Ron Chatterjee
I am looking at this link: https://almsaeedstudio.com/themes/AdminLTE/documentation/index.html. Is that widget/plugin that comes with that bootstrap? Michael, you familiar with that? It has something call direct chat. On Thursday, March 24, 2016 at 12:23:08 AM UTC-4, Michael Beller wrote: > >

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-24 Thread rajjmatthur
This may be little preliminary but what you mean by "Admin user and auth_groups" setup and how? I don't recall anything to set up with the welcome app. It worked the first time straight out of the box. On Thursday, March 24, 2016 at 8:56:22 AM UTC-4, Ron Chatterjee wrote: > > I am looking at thi

[web2py] Re: What are the platforms for free web hosting of web2py apps?

2016-03-24 Thread Carlos Cesar Caballero
Hi Michael, thanks for your suggestion, pythonanywhere is really good, but it do not meet two requirements that I need, the first is that I have some php apps, and the second is that I have many low traffic sites, making the pythonanywhere plan too expensive. Greetings. El miércoles, 23 de mar

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-24 Thread Michael Beller
Yes - the AdminLTE template/theme is based on Bootstrap and includes many front-end plugins/components (like Datatables.net, Full Calendar, etc.). It includes layouts and widgets for displaying chat sessions, charts, tables, etc. all with a common theme and layout. On Thu, Mar 24, 2016 at 8:56 AM,

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-24 Thread Michael Beller
I commonly create a user (usually my email) and an Admin group and then add myself to the Admin group. I have logic in the Starter app based on the Admin group. I usually have other groups such as Operations and Customer Service (I tend to build enterprise 'line of business' apps). Since I frequ

Re: [web2py] Re: Web2PY login password reset WARNING - email not sent

2016-03-24 Thread Literate Aspects
Thank you Dave S. you are the greatest. I am going to slow down on my questions and just do more searching on the web for the answers. Thank you. Jon On 3/23/16, Dave S wrote: > > > On Wednesday, March 23, 2016 at 5:00:19 PM UTC-7, Literate Aspects wrote: >> >> Hello, >> >> I am trying to log

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-24 Thread Michael Beller
The appconfig in 2.13 has a problem with strings separated by comma's in the appconfig.ini file. Starter app uses 2.14.1 You can either install 2.14.1 or just change ... line 34 in initialize.py: for group in myconf.get('admin_user.auth_groups'): could replace with for group in

[web2py] Load component in a ?

2016-03-24 Thread webmaster
I want my component to load in a span() instead of the default div(class="data-w2p_remote"). Anyone know the best way to do this? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/

[web2py] Re: Load component in a ?

2016-03-24 Thread Anthony
If you're talking about using the LOAD helper, it only generates a DIV, and the JS code only looks for DIVs. Would setting it's display to inline do the trick: mycomponent = LOAD(..., _style='display:inline') If not, you should be able to do something like this in the view (not tested): $.we

Re: [web2py] How to change Web2py interface language

2016-03-24 Thread Fernando Soares
Web2Py admin page has a language menu right at the bottom of the main page. Just pick your choice. Cheers! Fernando On Thursday, April 22, 2010 at 3:07:30 AM UTC-3, Lio wrote: > > I want to change the interface language to English. According to some > post, I change the language of Chrome br

[web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Massimo Di Pierro
http://web2py.com/ First of all many many thanks to Simone (niphlod), Richard, and Leonel. Most of the work is theirs. It is important that you upgrade because we fixed some serious security bugs that may leak your admin password (if you use rocket and expose the old example app). We fixed ma

[web2py] Re: Load component in a ?

2016-03-24 Thread webmaster
Works for my use case, thanks! Got so wrapped up in not wanting to do anything global in my CSS, I completely drew a blank on defining an in-line style. Thanks! On Thursday, March 24, 2016 at 10:26:50 AM UTC-7, Anthony wrote: > > If you're talking about using the LOAD helper, it only generates

Re: [web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Richard Vézina
Here : https://github.com/web2py/web2py/releases 2.11.2 is still flagged as Latest 2.14.1 doesn't appear either... On Thu, Mar 24, 2016 at 1:36 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > http://web2py.com/ > > First of all many many thanks to Simone (niphlod), Richard, and Leo

Re: [web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Ron Chatterjee
I downloaded the new source code from web2py/download and it still says: 2.13.4-stable+timestamp.2015.12.26.04.59.39 Where is 2.14.1 is located? On Thursday, March 24, 2016 at 1:52:45 PM UTC-4, Richard wrote: > > Here : https://github.com/web2py/web2py/releases > > 2.11.2 is still flagged as Lat

Re: [web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Richard Vézina
@Ron, you need to take the trunk : https://github.com/web2py/web2py/blob/master/VERSION On Thu, Mar 24, 2016 at 2:13 PM, Ron Chatterjee wrote: > I downloaded the new source code from web2py/download and it still says: > > 2.13.4-stable+timestamp.2015.12.26.04.59.39 > > Where is 2.14.1 is located

Re: [web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Richard Vézina
Here : http://www.web2py.com/examples/static/nightly/web2py_src.zip On Thu, Mar 24, 2016 at 2:17 PM, Richard Vézina wrote: > @Ron, you need to take the trunk : > https://github.com/web2py/web2py/blob/master/VERSION > > On Thu, Mar 24, 2016 at 2:13 PM, Ron Chatterjee > wrote: > >> I downloaded t

Re: [web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Massimo Di Pierro
Ron is right. Should be there. Checking. Massimo On Thursday, 24 March 2016 13:13:13 UTC-5, Ron Chatterjee wrote: > > I downloaded the new source code from web2py/download and it still says: > > 2.13.4-stable+timestamp.2015.12.26.04.59.39 > > Where is 2.14.1 is located? > > On Thursday, March 24,

Re: [web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Ron Chatterjee
Thank you Richard. Thanks Massimo On Thursday, March 24, 2016 at 2:41:38 PM UTC-4, Massimo Di Pierro wrote: > > Ron is right. Should be there. Checking. > > Massimo > > On Thursday, 24 March 2016 13:13:13 UTC-5, Ron Chatterjee wrote: >> >> I downloaded the new source code from web2py/download and

Re: [web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Massimo Di Pierro
I checked and the stable versions at web2py.com/ and they are 2.14.1. @Ron. Try again. On Thursday, 24 March 2016 13:41:38 UTC-5, Massimo Di Pierro wrote: > > Ron is right. Should be there. Checking. > > Massimo > > On Thursday, 24 March 2016 13:13:13 UTC-5, Ron Chatterjee wrote: >> >> I downloa

Re: [web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Richard Vézina
Fine for me... On Thu, Mar 24, 2016 at 2:45 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I checked and the stable versions at web2py.com/ and they are 2.14.1. > @Ron. Try again. > > > On Thursday, 24 March 2016 13:41:38 UTC-5, Massimo Di Pierro wrote: >> >> Ron is right. Should be

[web2py] Input Form Fields

2016-03-24 Thread Akash Sarda
Hey, i am a beginner. Suppose i want to take input through a text-box from a user and try to process it, how do i take it for temporry use? when i don't want to store it in a database? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (

Re: [web2py] How to change Web2py interface language

2016-03-24 Thread Dave S
On Thursday, April 22, 2010 at 3:07:44 AM UTC-7, Johann Spies wrote: > > [...] > I wonder why the default naming of the files use the double-names like > es-es.py. > > Some languages have significant variants. See fr.py and fr-ca.py (for France and for Canada (Quebec)). Some folks claim ther

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-24 Thread Ron Chatterjee
I am sorry, I was having some problem downloading the latest version so everything is good. Quick question Michael, how does someone change the profile picture? There is a avatar field? On Thursday, March 24, 2016 at 11:56:27 AM UTC-4, Michael Beller wrote: > > The appconfig in 2.13 has a proble

Re: [web2py] web2py 2.14.1 is OUT

2016-03-24 Thread Ron Chatterjee
Its all good Massimo. I was able to download it from the link. Idk what happened . I thoughts I got the source and it said 2.13...my bad. On Thursday, March 24, 2016 at 2:46:41 PM UTC-4, Richard wrote: > > Fine for me... > > On Thu, Mar 24, 2016 at 2:45 PM, Massimo Di Pierro > wrote: > >> I chec

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-24 Thread Michael Beller
No Avatar field yet! It's hardcoded in the template. It should be easy to add a custom field to the auth_user table following these instructions: http://web2py.com/books/default/chapter/29/09/access-control?search=auth_user#Customizing-Auth Then you can upload an avatar using the user profile p

[web2py] Re: Input Form Fields

2016-03-24 Thread Leonel Câmara
Plenty of options, you can store it in the user's localstorage, you can store it in the session, you can store it in cache disk or ram. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/is

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread Dave S
On Thursday, March 24, 2016 at 10:36:54 AM UTC-7, Massimo Di Pierro wrote: > > http://web2py.com/ > > First of all many many thanks to Simone (niphlod), Richard, and Leonel. > Most of the work is theirs. > > My thanks also ... web2py has been a great resource for me. As with the beta, I'm still

Re: [web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread Richard Vézina
Hello Dave, You may have a look in gluon/contrib... Simone had change scheduler since 2.13.1 and there is info about how to instantiate scheduler now in the changelog... On Thu, Mar 24, 2016 at 3:41 PM, Dave S wrote: > > > On Thursday, March 24, 2016 at 10:36:54 AM UTC-7, Massimo Di Pierro wrot

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-24 Thread Ron Chatterjee
Its all good. Just asked. On Thursday, March 24, 2016 at 3:33:00 PM UTC-4, Michael Beller wrote: > > No Avatar field yet! It's hardcoded in the template. It should be easy > to add a custom field to the auth_user table following these instructions: > > http://web2py.com/books/default/chapter/2

[web2py] Re: Load component in a ?

2016-03-24 Thread Anthony
You could also do: LOAD(..., _class='w2p_component') and then add a CSS rule for that class. Anthony On Thursday, March 24, 2016 at 1:38:04 PM UTC-4, webmas...@trytha.com wrote: > > Works for my use case, thanks! Got so wrapped up in not wanting to do > anything global in my CSS, I completely

Re: [web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread Dave S
On Thursday, March 24, 2016 at 12:51:52 PM UTC-7, Richard wrote: > > Hello Dave, > > You may have a look in gluon/contrib... Simone had change scheduler since > 2.13.1 and there is info about how to instantiate scheduler now in the > changelog... > Not it. I have things running on 2.13.4 (dif

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread Dave S
On Thursday, March 24, 2016 at 12:41:50 PM UTC-7, Dave S wrote: > > > > On Thursday, March 24, 2016 at 10:36:54 AM UTC-7, Massimo Di Pierro wrote: >> >> http://web2py.com/ >> >> First of all many many thanks to Simone (niphlod), Richard, and Leonel. >> Most of the work is theirs. >> >> > My than

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread Niphlod
just to reassure that scheduler code has changed to fix a bug with prevent-drift: nothing has changed instantiation-wise (and the traceback points otherwise, well before scheduler istantiation...) On Thursday, March 24, 2016 at 9:17:18 PM UTC+1, Dave S wrote: > > > > On Thursday, March 24, 201

Re: [web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread Dave S
On Thursday, March 24, 2016 at 1:14:48 PM UTC-7, Dave S wrote: > > > > On Thursday, March 24, 2016 at 12:51:52 PM UTC-7, Richard wrote: >> >> Hello Dave, >> >> You may have a look in gluon/contrib... Simone had change scheduler since >> 2.13.1 and there is info about how to instantiate scheduler

[web2py] Re: iterating through form fields with rows

2016-03-24 Thread aetagothno
What worked for me was utilizing row.values(), because I was doing this within the models file! I haven't been able to find any documentation in regards to using it but that is what I was looking for! Thank you! On Tuesday, March 15, 2016 at 2:15:12 PM UTC-7, Val K wrote: > > Hi! > Just for clar

[web2py] compute field and uploading file

2016-03-24 Thread aetagothno
I've been struggling with trying to figure out how this can be achieved ...not sure if it can be. In db1.py I have a table defined..example: db.define_table('form1', Field('field1', 'string'), Field('field2', 'string'), Field('field3', 'integer'), Field('form1_file', 'upload', compute=form1comp

[web2py] Re: What are the platforms for free web hosting of web2py apps?

2016-03-24 Thread Michael Beller
I don't know about PHP but if you need a separate install of web2py for each app (which is what I do), each new web app costs $2/month. In several cases, I run multiple apps within one instance of web2py (the only disadvantage is the URL but that's oftentimes fine for some enterprise apps). I

[web2py] Re: compute field and uploading file

2016-03-24 Thread aetagothno
Or maybe would I have to construct a class within the models file so that it is called in form1compute each time, and the values from row are passed to it and saved in an array within that? I'm not that advanced with python but I think I need the class in order to actually continue to append all

[web2py] Re: Djano channels

2016-03-24 Thread Ron Chatterjee
You know if we can turn this into a audio video chat and conference application similar to web meeting? On Monday, March 21, 2016 at 1:19:27 AM UTC-4, Massimo Di Pierro wrote: > > Supports multiple chat rooms. It is in the example in the code itself. It > is very similar to the Django one. > > >

[web2py] Re: Djano channels

2016-03-24 Thread Massimo Di Pierro
Theoretically yes. In practice it would not be nearly as good or efficient as webrtc. Just use webrtc for that. On Thursday, 24 March 2016 17:22:43 UTC-5, Ron Chatterjee wrote: > > You know if we can turn this into a audio video chat and conference > application similar to web meeting? > > On Mo

[web2py] web2py 2.14.2

2016-03-24 Thread Massimo Di Pierro
http://web2py.com/ First of all many many thanks to Simone (niphlod), Richard, and Leonel. Most of the work is theirs. It is important that you upgrade because we fixed some serious security bugs that may leak your admin password (if you use rocket and expose the old example app). We fixed ma

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread Dave S
On Thursday, March 24, 2016 at 1:17:18 PM UTC-7, Dave S wrote: > > > > On Thursday, March 24, 2016 at 12:41:50 PM UTC-7, Dave S wrote: >> >> >> >> On Thursday, March 24, 2016 at 10:36:54 AM UTC-7, Massimo Di Pierro wrote: >>> >>> http://web2py.com/ >>> >>> First of all many many thanks to Simone

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread 黄祥
the new configuration surely is different from previous one, i have some question about it (appconfig.ini and db.py) 1. myconf.get() instead of myconf.take() is there any difference or the old one is drop? 2. pool_size = myconf.get('db.pool_size'), i learned from anthony in the old version it ha

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread 黄祥
i realize the sqlform(), sqlform.grid() and sqlform.factory() is behave strangely, the form field is added with None, e.g. NameNone is there a way to fix this? thanks and best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/w

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread Massimo Di Pierro
On Thursday, 24 March 2016 20:15:13 UTC-5, 黄祥 wrote: > > the new configuration surely is different from previous one, i have some > question about it (appconfig.ini and db.py) > 1. myconf.get() instead of myconf.take() is there any difference or the > old one is drop? > Not the same. take is s

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread Massimo Di Pierro
Do not understand can you explain more? On Thursday, 24 March 2016 20:27:56 UTC-5, 黄祥 wrote: > > i realize the sqlform(), sqlform.grid() and sqlform.factory() is behave > strangely, the form field is added with None, e.g. NameNone > is there a way to fix this? > > thanks and best regards, > stifa

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread 黄祥
pictures means thousand words, in previous version 2.13.x the same code doesnt have None in every form field, i guess the root cause is in T() but not sure because I never Translate for Id yet the result is same IdNone (please see attached files), the expected is without None : Id thanks and be

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread 黄祥
target locked, the culprit is : *in old version :* response.form_label_separator = myconf.get('forms.separator') *in current version : * response.form_label_separator = myconf.get('forms.separator') or '' *effect :* when using old version conf in current version web2py, in form field the name is

[web2py] Re: web2py 2.14.1 is OUT

2016-03-24 Thread 黄祥
not sure enough about the boolean configuration in appconfig. just tested it but return an error traceback, e.g. *appconfig.ini* [smtp] ssl= true *db.py* auth.settings.create_user_groups = myconf.get('smtp.ssl') *traceback error* TypeError: unsupported operand type(s) for %: 'bool' and 'Sto

[web2py] Re: Get list of user groups

2016-03-24 Thread mfarees . knysys
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 are subscribed to the Google Groups "web2py-users" group. T

[web2py] Why datetime.now() is not returning correct value

2016-03-24 Thread mfarees . knysys
Hi. I am in Asia/Karachi timezone and am testing my application for US/Pacific timezone. Here is the scenario: The *system time* that I've set is, 2016-03-24 18:02:58 and the timezone is US/Pacific When I use the *Python interpreter* to print the datetime, I get >>> print datetime.dateti