Re: [web2py] Layout for forms

2012-09-20 Thread Kevin Bethke
I'm using the standard auth_user. there is a checkbox remember me for 30 days. I can't find anything like that in the db. On Thu, Sep 20, 2012 at 9:09 AM, Johann Spies johann.sp...@gmail.comwrote: On 19 September 2012 19:54, BlueShadow kevin.bet...@gmail.com wrote: Hi, I like to change the

Re: [web2py] Changing the dynamic URLs to static URLs

2013-03-14 Thread Kevin Bethke
#!/usr/bin/python # -*- coding: utf-8 -*- routers = dict( BASE = dict( domains = { 'mydomain.de' : 'App1', 'www.mydomain.de' : 'App1', 'ip' : 'App2', 'ip/Test' : 'TestEnv', 'ip/MA' : 'dbmigratetest', } ), ) logging = 'debug' def

Re: [web2py] Changing the dynamic URLs to static URLs

2013-03-14 Thread Kevin Bethke
when I visit the funktion showArticle?id=1 , I want the URL to say www.mydomain.de/showArticle/TitletextofdbArticlewithid1 table article Fields{id,*title*,content} On Thu, Mar 14, 2013 at 8:42 PM, Jonathan Lundell jlund...@pobox.comwrote: On 14 Mar 2013, at 12:32 PM, Kevin Bethke kevin.bet

Re: [web2py] Re: performance issue time to first byte

2013-04-10 Thread Kevin Bethke
Thats exactly what i'm saying anthony. Those total times are enormous considering the whole page including images is now a little under 300kb. And i actually dont care if its called ttfb or something else i just want to have quick response times. Am 10.04.2013 15:23 schrieb Anthony

Re: [web2py] Re: performance issue time to first byte

2013-04-10 Thread Kevin Bethke
There are 6 files which they start to load at the same time. Or what do you did you mean? Am 10.04.2013 15:34 schrieb Niphlod niph...@gmail.com: edit: the real problem on that graph is that there's no concurrency: I don't know if it's a feature of webpagetest.org, but apparently there's no new

Re: [web2py] Re: performance issue time to first byte

2013-04-10 Thread Kevin Bethke
Before i had the mod-deflate i had times around 3.5 secs the ttfbs were about the same +- 50 ms Am 10.04.2013 15:49 schrieb Niphlod niph...@gmail.com: probably nothing, just check that they are not sequential. probably is just how they draw their graphs. On the TTFB note: did you try timing it

Re: [web2py] Re: costum error log

2013-04-19 Thread Kevin Bethke
Thats no anchor thats the first random character i found. Try it it fails. Code 400 Am 19.04.2013 20:50 schrieb Niphlod niph...@gmail.com: uhm you can't (even in a normal request) have the value that is assigned with an #anchor (call it anchor, fragment, whatever) ... that doesn't get

Re: [web2py] Re: 2.4.7 problems

2013-05-30 Thread Kevin Bethke
I used the standard web2py-ubuntu-nginx install so www-user should be the right one. but I got that user and full access to the cache folder for everyone. drwxrwxrwx On Thu, May 30, 2013 at 12:41 PM, LightDot light...@gmail.com wrote: If it's a linux system, it must have an owner. Perhaps it's

Re: [web2py] Re: 2.4.7 problems

2013-05-30 Thread Kevin Bethke
for me its on both local development(windows) and server(ubuntu) On Thu, May 30, 2013 at 1:10 PM, Marian score2...@gmx.net wrote: My local development system is windows 7 width the build in rocket server, my test server is a IIS 7 running with isapi_wsgi. On both, the cache.shelve created

Re: [web2py] web2py Safety discussion

2013-06-01 Thread Kevin Bethke
How the ssh tunnel is probably the best and only real secure option. If anyone can point me towards a tutorial for this would be awesome. Thinking about another solution: how about adding a username. This would make bruteforce even harder. As far as my novice knowlege goes server like apache and

Re: [web2py] web2py Safety discussion

2013-06-02 Thread Kevin Bethke
Having this file is awesome I will write a few lines of code to add this to my security report. just one question: I tested a failed login myself because my file was fortunatly empty. The file format looks like this: ip 1 1370164406 I asume the one is number of attemps and the long number is a

Re: [web2py] Re: Request: Error Traceback Page: Requested URL with Arguments

2013-10-26 Thread Kevin Bethke
on the ticket page. Error ticket for AppName Ticket ID IP.datetime.somenumber type 'exceptions.IndexError' list index out of range Version ... On Fri, Oct 25, 2013 at 1:09 PM, Niphlod niph...@gmail.com wrote: ehm, where exactly ? Il giorno venerdì 25 ottobre 2013 11:59:12 UTC+2,

Re: [web2py] Re: avoid out of range error from googlebot

2013-11-20 Thread Kevin Bethke
that was the answer I was looking for. how do I direct the request to a 404 page or some other function? On Wed, Nov 20, 2013 at 5:21 PM, Niphlod niph...@gmail.com wrote: shouldn't this question be raised to google than web2py ? if this is unsolvable, wrap the entire thing in a try except

Re: [web2py] DAL db.table.field.contains

2013-11-21 Thread Kevin Bethke
each book has one author but I want to select all Books which have Author id=7 On Thu, Nov 21, 2013 at 3:30 PM, Richard Vézina ml.richard.vez...@gmail.com wrote: Each book that refer to an Author will only has one Author what the problem there? You may want to aggregate the book for one

Re: [web2py] Re: DAL db.table.field.contains

2013-11-22 Thread Kevin Bethke
thats why. thanks richard for your solution it works perfectly. -- 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

Re: [web2py] list:reference painfull to fill

2013-12-09 Thread Kevin Bethke
that bsm select looks already way better than the standard w2p implementation. My requirements are pick 0-max ingredience. All ingredience have to be in the ingredience table. no ingredient can be picket twice. I don't need the default or most common 10 stuff. Just a simple way to pick quite a few

Re: [web2py] list:reference painfull to fill

2013-12-09 Thread Kevin Bethke
widget with bootstrap multiselect and typeahead... To me what was important was to make sure order of picked items remains from input and update, so you can see the order of importance of the thing selected, like ingredient label on can... :) Richard On Mon, Dec 9, 2013 at 10:30 AM, Kevin

Re: [web2py] list:reference painfull to fill

2013-12-09 Thread Kevin Bethke
web2py default... BSM select is not going to work out of the box you will have to give it what it need to work : web2py custom widget that wrap BSM for instance. Richard On Mon, Dec 9, 2013 at 10:43 AM, Kevin Bethke kevin.bet...@gmail.comwrote: autocomplete would be nice. but anything

Re: [web2py] Re: list:reference painfull to fill

2013-12-13 Thread Kevin Bethke
thanks but to be honest now I'm even more confused. why do you need a piece of jquery code in a javascript variable. I sopose you included the entire jquery library. Why do you do the ordering with javascript and not with python is there a special reason for this? I think I just explained the last

Re: [web2py] Re: list:reference painfull to fill

2013-12-13 Thread Kevin Bethke
... then I create option from that list in javascript like you could do in web2py with helpers for instance or by generating html yourself... Hope it helps. Richard On Fri, Dec 13, 2013 at 7:27 AM, Kevin Bethke kevin.bet...@gmail.comwrote: thanks but to be honest now I'm even more confused. why

Re: [web2py] Re: list:reference painfull to fill

2013-12-13 Thread Kevin Bethke
Well actually I got one more question: How do you change the standard form from web2py, to use the bsmselect form? On Fri, Dec 13, 2013 at 4:18 PM, Kevin Bethke kevin.bet...@gmail.comwrote: Thanks it explains a lot. I will try to work on it as soon as I got the time. Unfortunatly we got

Re: [web2py] Re: converted url %3F and %3D

2014-01-04 Thread Kevin Bethke
External links to my side from a diffrent website i got no control over. Thats the problem Am 04.01.2014 13:21 schrieb Massimo Di Pierro massimo.dipie...@gmail.com : How are you generating those links? Can you show the code? On Saturday, 4 January 2014 05:57:10 UTC-6, BlueShadow wrote: Hi,

Re: [web2py] Re: converted url %3F and %3D

2014-01-05 Thread Kevin Bethke
well I want to make a redirekt and parse the url. thats the plan. So my idea was to get every 404 error if there is %3F inside the requested url it will redirekt you to the url where it is replaced by a ? the same thing for the = Sign in all other cases it shows you the 404 page. would that be

Re: [web2py] Re: Reaching pages by a descriptive pagename

2014-02-10 Thread Kevin Bethke
So my controller function would look something like this? def Article(): idstring=request.args(0) /*seperate id out of /112/-Title-of-Article*/ row=db(db.Article.id==id).select() return dict(Article=row[0]) -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Re: Tuning app performance for good response times on slow servers

2014-02-25 Thread Kevin Bethke
thecode can't be that bad. Can it? On Tue, Feb 25, 2014 at 8:50 PM, Niphlod niph...@gmail.com wrote: Every efficiency trick brings down considerably the response time, but usually you'd start from 400 ms response times to go lower, maybe arriving at 100 ms 2 full seconds is so much that

Re: [web2py] Re: Tuning app performance for good response times on slow servers

2014-02-26 Thread Kevin Bethke
what do you mean by profiler? thanks On Wed, Feb 26, 2014 at 5:10 PM, Michele Comitini michele.comit...@gmail.com wrote: check that there is not a problem with your dns setup where web2py runs. use the profiler to find out it can give you some good hints. 2014-02-25 22:49 GMT+01:00 Niphlod

Re: [web2py] Re: module has no attribute...

2014-05-28 Thread Kevin Bethke
Oo i didn't know. Tell me more about the track changes. Am 28.05.2014 17:04 schrieb Anthony abasta...@gmail.com: Did you restart the server? Changes to modules have no effect after the first request in which they are imported, unless you restart or use the track_changes functionality.

Re: [web2py] Re: multiple select plugin and list reference

2014-11-25 Thread Kevin Bethke
I haven't fixed the issue jet. Regards Am 25.11.2014 02:47 schrieb Dennis Jacobs jcbs.d...@gmail.com: Hi TSmith, I'm experiencing the exact same issue! Were you able to resolve this issue? And if so, how exactly did you do so? Regards, Dennis. On Wednesday, November 27, 2013 5:14:25 PM

Re: [web2py] Re: multiple select plugin and list reference

2014-11-28 Thread Kevin Bethke
apparently I did something diffrent back than. Now its working. Thanks On Tue, Nov 25, 2014 at 6:55 PM, Leonel Câmara leonelcam...@gmail.com wrote: This is working fine for me. db.define_table('fruit', Field('name'), ) db.define_table('cocktail', Field('fruit','list:reference

Re: [web2py] Re: multiple select plugin and list reference

2014-11-28 Thread Kevin Bethke
I think I was a little quick to write it works. The multiple select shows but the entries won't move to the second box. So no function of the widget at all. How do I open up the console to check for javascript errors? On Fri, Nov 28, 2014 at 11:55 AM, Kevin Bethke kevin.bet...@gmail.com wrote

Re: [web2py] Re: temp table

2015-03-19 Thread Kevin Bethke
storing it in a session is probably not a good idea since the the action from the user should be 2-4 times a month the update of the file is every hour. but creating a new temp database will probably work. On Thu, Mar 19, 2015 at 12:28 PM, Leonel Câmara leonelcam...@gmail.com wrote: Instead of

Re: [web2py] Re: web2py update app admin doesn't work anymore

2015-04-25 Thread Kevin Bethke
thanks it worked perfectly On Sat, Apr 25, 2015 at 6:18 PM, 黄祥 steve.van.chris...@gmail.com wrote: what version did you use right now? if i'm not wrong in the newest version got the pydal modules separate. please download and unzip from web2py website. ref:

Re: [web2py] Re: button to start function which dynamicly chynges page

2015-04-07 Thread Kevin Bethke
thanks that will give me at least a starting point. Until you wrote I had no idea what I have to look at. I would be interested in your progress if you like to share On Mon, Apr 6, 2015 at 8:06 PM, Dave S snidely@gmail.com wrote: On Monday, April 6, 2015 at 3:16:35 AM UTC-7, BlueShadow

Re: [web2py] Re: routes.py problems

2016-05-23 Thread Kevin Bethke
like I said an internal server error so I guess the error is before web2py? On Mon, May 23, 2016 at 6:45 PM, Jim Steil wrote: > And, what is the error? > > On Mon, May 23, 2016 at 11:33 AM, BlueShadow > wrote: > >> #!/usr/bin/python >> # -*- coding:

Re: [web2py] Re: routes.py problems

2016-05-23 Thread Kevin Bethke
Os: ubuntu 16.04. Webserver: Nginx url: www.movie-alarm.de Am 23.05.2016 18:52 schrieb "Jim Steil" : > What OS? > > On Mon, May 23, 2016 at 11:52 AM, Jim Steil wrote: > >> What webserver, and what URL are you accessing? >> >> On Mon, May 23, 2016 at

Re: [web2py] Re: unknown ticket on server for all sites

2016-05-15 Thread Kevin Bethke
So I checked bitlocker is of for all devices. So it can't be bitlocker. Is there a log somewhere where I can get more informations on the unknown ticket? On Sun, May 15, 2016 at 5:58 PM, Alfonso Serra wrote: > Bit locker is a windows feature that encrypts your harddrive so

Re: [web2py] Re: web2py broken

2018-08-10 Thread Kevin Bethke
Hi thanks for the post villas. I have the database on my local pc. (storage.sqlite) I opened it with the tool db browser and it seems to be OK. At least I can view all the tables and I checked a few entries which are still there. Are there any tools you reccommend to verify and check it. I looked