[web2py] Re: Fixing an issue from GitHub #1929

2018-07-13 Thread Stelios Koroneos
Thanks. Now that its clear I will. Have a nice weekend > Yes, looks like that needs to be updated as well. Feel free to submit a > pull request. > > so its not clear to me if all references should be made to both classes >> > > I think the btn-default class is left in case someone is using Bo

[web2py] Re: Fixing an issue from GitHub #1929

2018-07-13 Thread Stelios Koroneos
on='button btn btn-default btn-secondary', buttontext='buttontext button', so its not clear to me if all references should be made to both classes Stelios I just also realized i might be posting on the wrong group. Probably the devs group might have be

[web2py] Fixing an issue from GitHub #1929

2018-07-13 Thread Stelios Koroneos
Greetings to all. As i was working with grid i stumbled upon the same issue mention in 1929 https://github.com/web2py/web2py/issues/1929 The problem comes from a change in bootstrap button classes. I was able to fix it in my copy by replacing all mentions of btn-default and was wondering what is

[web2py] Re: Off-line RSS reader

2018-04-04 Thread Stelios Koroneos
Dave thanks ! Yes Beautifullsoup is the way to parse the html and determine for any additional resource fetching. There is also a nice thread 4 years back for a similar request https://groups.google.com/forum/?fromgroups#!searchin/web2py/rss$20reader%7Csort:date/web2py/3RzivktPaRI/3wNH4Xv31FEJ

[web2py] Off-line RSS reader

2018-04-02 Thread Stelios Koroneos
Greetings to all. A small intro before going into the request Used web2py 4 years as a web interface to a voip applications and really liked its features compared to other frameworks. Haven't used it since and its nice to see that work has continued and its been improved in a lot of ways. Downlo

[web2py] web2py Greek users

2013-07-05 Thread Stelios Koroneos
Are there any web2py Greek users around ? I was thinking of doing a web2py intro in hackerspace.gr http://hackerspace.gr/wiki/Main_Page and would be a nice to arrange a meetup of web2py users before/after Stelios -- --- You received this message because you are subscribed to the Google Group

[web2py] Re: Using convert_tz with DAL

2013-07-05 Thread Stelios Koroneos
On Friday, June 28, 2013 12:46:43 PM UTC+3, Niphlod wrote: > > are you aware that web2py handles timezones automatically if set to do so ? > > If you want to leverage mysql own function, you have to write raw queries > for that. > > Yes i've used the web2py tz conversion ability that was introd

[web2py] Using convert_tz with DAL

2013-06-28 Thread Stelios Koroneos
Greetings. I am saving all time related references in UTC timezone and want to convert them to the user's timezone when the request to display them comes. Mysql offers the convert_tz which can handle this pretty much 'automagically' during the query. Is there a way to use convert_tz from a 'stan

[web2py] DAL select and count strangeness

2013-04-18 Thread Stelios Koroneos
Greetinfs to all. I am facing a problem with count on a db that i am using the following to create the query. class CDRI(): def __init__(self,cdri_db): self.db=cdri_db def _generate_querry(self,device_id,date_from=None,date_to=None,source=None,destination=None):

Re: [web2py] Re: sql between function

2010-02-28 Thread Stelios Koroneos
On Sat, 2010-02-27 at 19:13 -0800, mr.freeze wrote: > def datesearch(): > matches=None > form = > SQLFORM.factory(Field('start_date','date',requires=IS_NOT_EMPTY()), > > Field('end_date','date',requires=IS_NOT_EMPTY())) > if form.accepts(request.vars,session): > (sy,sm,sd) = (

[web2py] sql between function

2010-02-27 Thread Stelios Koroneos
Hi, I'm trying to make a query function that accepts two datetime.date object(start_date and end_date), and returns all records that are between start_date and end_date. However, I found nothing like a between function in the web2py manual, so I was wondering what's the best way to achieve this. I