Re: [web2py] LOAD() and auth.requires_login() - Nice "please login" message??

2013-03-28 Thread Yoel Benítez Fonseca
El 27/03/13 19:16, Brian M escribió: > I have a page that is using LOAD() to pull in a form that requires the > user to be logged-in (@auth.requires_login()) In previous versions of > web2py if the user hadn't yet logged in they'd get the login screen > within the LOAD()'s DIV and at least could g

Re: [web2py] Re: web2py app repository

2013-03-31 Thread Yoel Benítez Fonseca
email to web2py+un...@googlegroups.com . For more options, visit https://groups.google.com/groups/opt_out. -- Yoel Benítez Fonseca Tel: 573400 -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group

[web2py] Scheluder for long tasks

2013-03-31 Thread Yoel Benítez Fonseca
simultaneously or it wait to terminate the first to do the next? -- Yoel Benítez Fonseca Tel: 573400 -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [web2py] Re: Scheluder for long tasks

2013-03-31 Thread Yoel Benítez Fonseca
parameters should I consider in the call to queue_task? Suppose I have to transcode a video and do two consecutive calls to queue_task, Will initiate the two tasks simultaneously or it wait to terminate the first to do the next? -- Yoel Benítez Fonseca Tel: 573400 -- Yoel Benítez Fonseca Tel: 573400

Re: [web2py] Re: Scheluder for long tasks

2013-04-03 Thread Yoel Benítez Fonseca
queue_task? Suppose I have to transcode a video and do two consecutive calls to queue_task, Will initiate the two tasks simultaneously or it wait to terminate the first to do the next? -- Yoel Benítez Fonseca Tel: 573400 -- Yoel Benítez Fonseca Tel: 573400 -- Yoel Benítez Fonseca Tel: 573400

[web2py] scheduler init script

2013-04-04 Thread Yoel Benítez Fonseca
y -K myapp == Is this the best way in ubuntu ? Is necessary some aditional parameters to respawn ? -- Yoel Benítez Fonseca Tel: 573400 -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this grou

[web2py] another scheduler Q

2013-04-04 Thread Yoel Benítez Fonseca
the available jobs. P.D: got them in diferent's groups and randomly assing task to the groups. -- Yoel Benítez Fonseca Tel: 573400 -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and st

Re: [web2py] Re: another scheduler Q

2013-04-05 Thread Yoel Benítez Fonseca
-- Yoel Benítez Fonseca Tel: 573400 -- Yoel Benítez Fonseca Tel: 573400 -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googleg

Re: [web2py] Re: another scheduler Q

2013-04-05 Thread Yoel Benítez Fonseca
he work is the only with true in is_ticker field, i just the 2 of em cooperate and pickup the available jobs. P.D: got them in diferent's groups and randomly assing task to the groups. -- Yoel Benítez Fonseca Tel: 573400 -- Yoel Benítez Fonseca Tel: 573400 -- Yoel Benítez Fonseca Tel: 573

Re: [web2py] Re: another scheduler Q

2013-04-05 Thread Yoel Benítez Fonseca
> >>>> 2 severs with the same web2py & app installed, > each of then run a > >>>> scheluder worker > >>>> > >>>> the problem is that only one of t

[web2py] problem with gluon/contenttype.py

2013-04-06 Thread Yoel Benítez Fonseca
d be 'video/ogg' [1]. As i changed gluon/contenttype.py firefox played ogv videos smoothly. -- Yoel Benítez Fonseca Tel: 573400 [1] https://developer.mozilla.org/en-US/docs/HTML/Supported_media_formats?redirectlocale=en-US&redirectslug=Media_formats_supported_by_the_audio_and_

[web2py] Forcing the translation of a text

2016-12-10 Thread Yoel Benítez Fonseca
Hi, folks, this is in my controller: if not dash_list: # create a new dashboard d_id = db.dashboard.insert( name=T('My Dashboard', lazy=False), item_list=[]) query = (db.dashboard.id > 0) query &= (db.dashboard.created_by == auth.user.id) da

Re: [web2py] Re: Forcing the translation of a text

2016-12-12 Thread Yoel Benítez Fonseca
On Sun, 11 Dec 2016 15:32:41 -0800 (PST) Marlysson Silva wrote: > You can overrride programatically the language getting accepted > language header from client using : > > language = response.headers['Accept-Language'].lower() > > T.force(language) I think got what is wrong, the controller in

Re: [web2py] Re: compiling application ?

2018-02-28 Thread Yoel Benítez Fonseca
Thanks Anthony, On Wed, Feb 28, 2018 at 10:04 AM, Anthony wrote: On Tuesday, February 27, 2018 at 6:26:10 PM UTC-5, Yoel Benitez Fonseca wrote: Is there a way of compiling a web2py application from the command line ? I don't think via the web2py command line, but it can be done programmatic

Re: [web2py] Unit testing apis

2018-03-07 Thread Yoel Benítez Fonseca
H! checkout: https://github.com/viniciusban/web2py.test On Wed, Mar 7, 2018 at 10:10 AM, Kevin Huang wrote: Hi all, I'm relatively new to web2py, and still trying to find more resources, but i've hit a wall, and I'm not quite sure on this issue I'm working with: So working with the "g

Re: [web2py] Unit testing apis

2018-03-07 Thread Yoel Benítez Fonseca
book Pytest your app the right way 2018-03-07 18:02 GMT+00:00 Yoel Benítez Fonseca : H! checkout: https://github.com/viniciusban/web2py.test On Wed, Mar 7, 2018 at 10:10 AM, Kevin Huang wrote: Hi all, I'm relatively new to web2py, and still trying to find more resources, but

[web2py] Is there a typo !? uploadfs

2018-03-27 Thread Yoel Benítez Fonseca
ystem installed. uploadfs must point to PyFileSystem. uploadfs widget must be one of the available widget objects, including custom widgets,..." At the end is 'must point to PyFileSystem.uploadfs' or 'must point to PyFileSystem' and the last '. uploadfs' don&#x

[web2py] updating pydal in web2py from git repo

2018-03-28 Thread Yoel Benítez Fonseca
h! How long takes the changes from pydal to be in the web2py git repo... following the README.md from web2py: git clone --recursive https://github.com/web2py/web2py.git This is OK, but now it need a change already in the master granch of pydal, ¿how can i update the pydal submodule? -- R

[web2py] Re: updating pydal in web2py from git repo

2018-03-30 Thread Yoel Benítez Fonseca
h! for this of you who don't are to experienced with git, for updating your git clone of the web2py: git pull --recurse-submodules This will update gluon/packages/dal to On Wed, Mar 28, 2018 at 1:18 PM, Yoel Benítez Fonseca wrote: h! How long takes the changes from pydal to be i

Re: [web2py] Re: web2py 2.16.1 is OUT

2017-11-16 Thread Yoel Benítez Fonseca
> > >> response.write('\n > >> class="dropdown-menu">\n ', escape=False) > > >> for _subitem in _item[3]: > > >> response.write('\n > >> class="dr

Re: [web2py] Date widget seems boroken on 2.16.1

2018-01-04 Thread Yoel Benítez Fonseca
Go to the languages/*.py and search for a translatión of the date format. Also edit web2py_ajax.html It is posible have being edited/modified. On Wed, Jan 3, 2018 at 12:20 PM, Carlos Cesar Caballero Díaz wrote: Hi guys, is just me, or the date widget seems broken on 2.16.1 (see attached im

Re: [web2py] Re: How to select row based on item ID or name

2018-01-04 Thread Yoel Benítez Fonseca
You can get algo a row by ID by: row = db.model_name(ID) Where ID stand for the actual record id. On Thu, Jan 4, 2018 at 1:13 PM, Maurice Waka wrote: Second option is better for me On 4 Jan 2018 8:24 PM, "Dave S" wrote: On Wednesday, January 3, 2018 at 10:48:32 PM UTC-8, Maurice Waka w

Re: {Disarmed} Re: [web2py] Date widget seems boroken on 2.16.1

2018-01-04 Thread Yoel Benítez Fonseca
ry to submit a PR with the fix asap. Greetings. El 04/01/18 a las 13:14, Yoel Benítez Fonseca escribió: Go to the languages/*.py and search for a translatión of the date format. Also edit web2py_ajax.html It is posible have being edited/modified. On Wed, Jan 3, 2018 at 12:20 PM, Carlos

[web2py] One form for multiple tables

2018-01-08 Thread Yoel Benítez Fonseca
I have a crear idea on how to use: http://web2py.com/books/default/chapter/29/07/forms-and-validators#One-form-for-multiple-tables But how to do the same for a edit form? Is posible to tell to SQLFORM.factory with are the current values of the fields ? Until now what i do is: - Copy the fiel