Re: [web2py] Timeout for data entry screens: Help!

2021-02-01 Thread Dirk C
database = Microsoft SQL Server Op vrijdag 29 januari 2021 om 16:17:33 UTC+1 schreef eudor...@gmail.com: > What database are you using? > > On Fri, 29 Jan 2021 at 16:12, Massimiliano wrote: > >> Reading better you message, I'm not sure that auth.settings.expiration is >> what you need. >> Sorr

[web2py] unicode symbols

2020-08-18 Thread Dirk C
Hello, I wonder if i can replace the string 'mytext' with a unicode symbol like ❌ {{=A('mytext',callback=URL(r=request,f='ltb_wijzig_groepssamenstelling' ,vars=dict(v_groepslid_id=groepslid.id,v_dossier_id=dossier[0].id,v_ckz=dossier[0].f_ckz,v_naam=dossier[0].f_naam,v_action= "EDIT")))}} -- Re

[web2py] ajax - sqlform

2019-10-20 Thread Dirk C
Hey, I'm new to web2py. I want to update a inputfield with the return value of a function. when adding a new record to t_cre_customers, i want to lookup in table t_cre_contractors. I'm using focusout event to launch. Passing the argument of field t_cre_customers_f_ctm_no to function cre_find_con

[web2py] Re: Error when Inserting a new user programmatically with web2py, v2.4.6, TypeError: character mapping

2013-05-07 Thread Dirk
json.loads() returns a unicode string which * db.auth_user.password.validate() doesn't like -- try converting your password variable to a string first as follows: * * password = str(db.auth_user.password.validate(str(password))[0]) Don't forget to str() the result of the db.auth_user.passwo

[web2py] Re: Rendering 'raw' HTML for AngularJS with Web2py

2013-01-29 Thread Dirk Krause
olateProvider) { $interpolateProvider.startSymbol('[['); $interpolateProvider.endSymbol(']]'); }); function MyCtrl($scope) { $scope.name = 'Superhero'; } //]]> Hello, [[name]] Am Dienstag, 29. Januar 2013 21:10:04 UTC+1 schrieb Dirk Krause: > > I have to ap

[web2py] Re: Rendering 'raw' HTML for AngularJS with Web2py

2013-01-29 Thread Dirk Krause
rkaround, since you can change the markup in angular according to this: http://stackoverflow.com/questions/8302928/angularjs-with-django-conflicting-template-tags I'll try this next. Am Dienstag, 29. Januar 2013 17:12:30 UTC+1 schrieb Dirk Krause: > > Hi, > > I am trying to use

[web2py] Rendering 'raw' HTML for AngularJS with Web2py

2013-01-29 Thread Dirk Krause
but then I can't protect the files via @auth.requires_login() etc. What would be the best way to achieve that? Thank you, Dirk -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop recei

[web2py] Re: How do I use web2py to make a simple GUI?

2013-01-25 Thread Dirk Krause
my two cents: as long as you don't need web services (and you don't if I understood you correctly) you are probably better off with a JavaScript framework without a server component (i.e. without web2py). The AngularJS framework is one of many frameworks that come with good documentation. I'd r

[web2py] Re: MARKMIN line break

2012-11-29 Thread Dirk Krause
ll? If you have \n\n in your text, it will > be used to brak You can just add space after with css. > > On Thursday, 29 November 2012 10:27:12 UTC-6, Dirk Krause wrote: >> >> I see, and thank you. Now we already have a database full of text without >> the &#x

[web2py] Re: web2py on Heroku

2012-11-29 Thread Dirk Krause
p with that documentation? > > On Thursday, 29 November 2012 10:35:44 UTC-6, Dirk Krause wrote: >> >> From my attempts to get apps running on Heroku (a few experiments with >> nodejs) people expect to create and edit the requirements and the procfile >> anyways

Re: [web2py] dashboard using bootstrap

2012-11-29 Thread Dirk Krause
Check http://d3js.org/ and http://raphaeljs.com/ Also there is http://paperjs.org/ and esp http://processingjs.org/ There is a good overview here: http://coding.smashingmagazine.com/2012/02/22/web-drawing-throwdown-paper-processing-raphael/ Am Donnerstag, 29. November 2012 17:24:43 UTC+1 schrieb

[web2py] Re: web2py on Heroku

2012-11-29 Thread Dirk Krause
>From my attempts to get apps running on Heroku (a few experiments with nodejs) people expect to create and edit the requirements and the procfile anyways. The procedure is also described in Herokus Tutorials, so one needs to understand the concept

[web2py] Re: MARKMIN line break

2012-11-29 Thread Dirk Krause
29. November 2012 16:27:19 UTC+1 schrieb Massimo Di Pierro: > > The idea was to insert explicit newlines inside tags like H1, H2, etc. > > On Thursday, 29 November 2012 08:52:24 UTC-6, Dirk Krause wrote: >> >> ok, thank you. >> >> I am only wondering why there is a

[web2py] Re: MARKMIN line break

2012-11-29 Thread Dirk Krause
e.com/replace-single-line-break ) Where would I put this regular expression best to avoid the newline tag for the editor? Thanks again. Am Donnerstag, 29. November 2012 13:13:54 UTC+1 schrieb villas: > > Use this: > > [[NEWLINE]] > > On Thursday, November 29, 2012 11:04:56 AM UT

[web2py] MARKMIN line break

2012-11-29 Thread Dirk Krause
sly the MARKMIN renderer doesn't support (3). From some forum posts I thought it would support (2) but it doesn't (I checked on version 2.0.9). What is the best practice to achieve single line breaks? Thanks, Dirk --

[web2py] Form upload with cURL

2012-09-13 Thread Dirk Krause
Hi, I finally figured out to do a file upload via curl (may be obvious to everybody else, but not to me ...) so here we go: I followed the 'manual file upload' example over at web2pyslices (thanks, Yarin!): http://www.web2pyslices.com/slice/show/1504/manual-uploads Just for clarity I changed

[web2py] Re: grid/smartgrid field editability

2012-08-31 Thread Dirk Krause
That was it - thx a bunch! Am Freitag, 31. August 2012 11:28:34 UTC+2 schrieb Niphlod: > > the "default" way of setting db.table.field.writable = False should work... > > Il giorno venerdì 31 agosto 2012 11:26:16 UTC+2, Dirk Krause ha scritto: >> >> Is

[web2py] grid/smartgrid field editability

2012-08-31 Thread Dirk Krause
Is there an (easy) way to disable the editability of distinct fields in a grid/smartgrid? I'd like to create a view for an editor (being able to edit all fields), and an approver (being able to just view all fields, and change only one field like a checkbox). Thanks, Dirk --

[web2py] Re: web2py 2.0 almost done

2012-08-07 Thread Dirk Krause
If you want the trunk (i.e. the latest version) I assume it's best that you do a git clone https://github.com/web2py/web2py/ and work from there. Every once and a while you will want to do a git pull to receive the latest version. Am Dienstag, 7. August 2012 18:03:24 UTC+2 schrieb Luc Chase: >

[web2py] Re: web2py 2.0 almost done

2012-08-07 Thread Dirk Krause
Sry if this is a dumb question: am I supposed to post possible bugs here or file an issue on google code? Am Dienstag, 7. August 2012 06:33:48 UTC+2 schrieb Massimo Di Pierro: > > Web2py 2.0 is almost done. > Please try the nightly build. > Let us know if it breaks anything. > > massimo > --

Re: [web2py] Re: web2py hangs while creating the mysql tables

2012-08-07 Thread Dirk Krause
I finally understand why the app wizard prefixes every table with 't_' and every field with 'f_'. Probably a good practice anyway. Am Dienstag, 7. August 2012 17:03:44 UTC+2 schrieb Yarin: > > Change the name of in your Field('long') field in maps table - it's a > reserved keyword in MySQL and

[web2py] RESTful services with curl and/or python

2012-08-02 Thread Dirk Krause
Hi, I tried to pull together the different sources for restful services, including various hints in this group and of course the excellent web2py documentation. If this is the wrong place or info, feel free to move or delete it. Here's how you create a restful web2py application in under 2 min

[web2py] Markmin patch with nested lists

2012-07-31 Thread Dirk Krause
file, but I don't see any changes. Do I need to restart something to see the changes working? Thanks, Dirk --

[web2py] Correctly resolve message[.verify_email | .resetPassword] literal protocol referenes

2012-02-28 Thread Dirk
Is there an automatic, deployment architecture agnostic way to determine whether web2py is running with SSL support so message.verify_email and message.resetPassword can be rendered correctly? This should work for both Rocket and WSGI deployment. TIA, D

[web2py] "ERROR:Rocket.Errors.Port8000:SSL Error: [Errno 8] _ssl.c:499: EOF occurred in violation of protocol" on Upgraded v1.99.1

2011-09-22 Thread Dirk
Upgraded a test environment with the live update, and am seeing the following with embedded server and SSL enabled via CLI: ERROR:Rocket.Errors.Port8000:SSL Error: [Errno 8] _ssl.c:499: EOF occurred in violation of protocol TIA, Dirk

[web2py] Re: mail.settings.ssl = False, ISP (authsmtp) sees SSL

2011-09-16 Thread Dirk
I actually have two accounts with the ISP (authsmtp) -- one SSL enabled and the other non SSL. Both accounts support the same port options (e.g. you enable SSL on your account and they transparently proxy it through their SSL stack w/t requiring a port change). I've tried using both accounts (e.g.

[web2py] mail.settings.ssl = False, ISP (authsmtp) sees SSL

2011-09-16 Thread Dirk
account is using SSL - either disable it in your email client or enable it at http://bla.bla.bla', 'b...@bla.bla') I looked at the code in gluon.tools.py and it should use the correct SMTP stack based on the .ssl setting, but... Any suggestions before debugging? Logged requests appear as expected. TIA, Dirk