Re: [naviserver-devel] ns_mktemp

2024-10-08 Thread Gustaf Neumann (sslmail)
On 07.10.2024, at 17:59, Andrew Piskorski wrote: > > On Mon, Oct 07, 2024 at 12:54:32PM +0200, Gustaf Neumann (sslmail) wrote: > >> However, there are many cases, where existing programs use "ns_mkstemp", >> which cannot be replaced easily. When looking

[naviserver-devel] ns_mktemp

2024-10-07 Thread Gustaf Neumann (sslmail)
Dear all. Since Tcl9 is out there, it becomes time for working towards the NaviServer 5 release. The most recent version of NaviServer from the main branch works nicely with the release of Tcl9 (for trying, you might consider the docker image "gustafn/naviserver/latest-tcl9-bookworm” from http

[naviserver-devel] NaviServer 4.99.31 available

2024-08-12 Thread Gustaf Neumann
uploads, portability improvements). Since we want to release NaviServer 5 after Tcl9, and Tcl9 is still not out, some of the backports become more urgent. All the best! -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.31/ [2] https://github.com/orgs/naviserver

Re: [naviserver-devel] Problem with a Tcl extension and NaviServer

2024-06-27 Thread Gustaf Neumann
Dear Mathew, The answer for your this problem is probably in the call of blink1_openById(devid); Without looking into this call, I would suspect first from my experience with NaviServer IoT projects a permission problem when accessing the hardware interface. For security reasons, NaviServer

[naviserver-devel] Improvement for file uploads

2024-06-17 Thread Gustaf Neumann
Dear all, I've committed the following change to the GitHub repository of NaviServer, that adds significant improvements for FORM uploads of large files. It makes it now possible to handle files uploads via multipart/form-data (usual format) larger than 4GB without crashing. The support is just

[naviserver-devel] supporting relative redirects in NaviServer

2024-05-30 Thread Gustaf Neumann (sslmail)
Dear all, RFC 2616 requires an absolute URI in the "Location" header field. So if someone calls "ns_returnredirect /", NaviServer transforms it on the fly into an absolute URL by prefixing it with the location (e.g. https://openacs.org/). NaviServer (and OpenACS) has some complex code to comput

Re: [naviserver-devel] refproxy module/ns_connchan: no driver for protocol 'https' found

2024-05-01 Thread Gustaf Neumann (sslmail)
> On 30.04.2024, at 20:53, Georg Lehner wrote: > > Hello, > > I am trying to set up the revproxy module on a current naviserver git > checkout. > > Upon connection to the frontend I get: > > Request Error > Error during opening connection to backend http://localhost:65193/ failed. > Error m

Re: [naviserver-devel] reverseproxymode with multiple X-Forwarded-For values

2024-04-30 Thread Gustaf Neumann (sslmail)
t; From your description it sounds like we could certainly work round our issue > using the ReverseProxyTrustedServers config. > Thank you very much for your time on this. > > On Fri, 26 Apr 2024 at 14:09, Gustaf Neumann (sslmail) <mailto:neum...@wu.ac.at>> wrote: >> H

Re: [naviserver-devel] reverseproxymode with multiple X-Forwarded-For values

2024-04-26 Thread Gustaf Neumann (sslmail)
Hi David, I have now implemented the following (but not yet committed, since i was side-tracked by some tcl9 issues and i am running out of time. From my understanding, this should address your problems now, and when “proxy 2” is removed. An easy extension of this would be to let the site-admin

Re: [naviserver-devel] reverseproxymode with multiple X-Forwarded-For values

2024-04-24 Thread Gustaf Neumann (sslmail)
> On 23.04.2024, at 18:07, David Osborne wrote: > > But the Client can initiate requests which have X-Forwarded-For Headers > already present, then we run into difficulties > > Client: IP 1.1.1.1 : sends X-Forwarded-For: 1.2.3.4 > | > Proxy 1: sends X-Forwarded-For: 1.2.3.4,1.1.1.1 > Proxy 2:

Re: [naviserver-devel] reverseproxymode with multiple X-Forwarded-For values

2024-04-23 Thread Gustaf Neumann (sslmail)
> On 22.04.2024, at 11:01, David Osborne wrote: > > In reverseproxymode, when there is a list of IPs in X-Forwarded-For header, > it's always the leftmost IP which is chosen by NaviServer for accesslogs (and > ns_conn peeraddr): > > X-Forwarded-For 1.1.1.1,2.2.2.2 > ns_conn peeraddr -source

Re: [naviserver-devel] FreeBSD 14 - TCL 9.0 - NaviServer GIT Latest - error: incompatible function pointer - log.c

2024-04-22 Thread Gustaf Neumann (sslmail)
Dear David, I installed freebsd14 and could reproduce the issue. The issue is that Tcl_PanicProc is defined in Tcl9 with the attribute declaration TCL_NORETURN1, but it seems, this attribute definition has to be provided as well for the prototype. It would be certainly better, if this attribut

Re: [naviserver-devel] Error on startup

2024-03-19 Thread Gustaf Neumann (sslmail)
The error indicates inconsistent usage of memory allocation/deallocation functions. Typical reasons are inconsistent usage of library functions (e.g. different tcl versions during compilation and runtime of nsd or some of the c modules) or inconsistent usage of memory allocator options (e.g. mal

Re: [naviserver-devel] (no subject)

2024-03-06 Thread Gustaf Neumann
ns to host's nsd and some to dockerized nsd. Thanj you On Tue, 5 Mar 2024, 18:08 Gustaf Neumann (sslmail), wrote: Hi Maxsym, if i understand correctly, you are sending from the docker host requests to a single dockerized nginx instance, that forwards these requests to

Re: [naviserver-devel] (no subject)

2024-03-05 Thread Gustaf Neumann (sslmail)
Hi Maxsym, if i understand correctly, you are sending from the docker host requests to a single dockerized nginx instance, that forwards these requests to a single dockerized nsd backend instance. The nginx instance distinguishes the incoming requests to the same port based on the host header f

[naviserver-devel] NaviServer 4.99.30 available

2024-01-29 Thread Gustaf Neumann
/update scripts to point to the new link. The installation scripts from [3] have been adjusted to GitHub as well. All the best! -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.30/ [2] https://github.com/orgs/naviserver-project/repositories [3] https

Re: [naviserver-devel] Compile error for nsdbpg

2023-11-22 Thread Gustaf Neumann
Dear Wolfgang, You have to compile the newest version of nsdbpg either against - the newest version of NaviServer from the branch "main", or against - the newest version of NaviServer from the branch "release/4.99" General rule: Take either the releases with matching version number from source

Re: [naviserver-devel] NaviServer 4.99.29 available

2023-11-22 Thread Gustaf Neumann
Hi Brian, There is no plan to change the policy of NaviServer on sourceforge. We will continue to use sourceforge for NaviServer releases in the form of tar files, along side with tar files for the matching modules. Github is for developer, code-inspection, PRs, etc. all the best -g On

Re: [naviserver-devel] NaviServer 4.99.29 available

2023-11-19 Thread Gustaf Neumann
Dear all, This is a follow-up to my own mail. The problem due to the changes of the billing rules on Bitbucket (see below) are somewhat sorted out, I have again access to the repository, but many of the former contributors are deleted from the "naviserver" group to get it functioning. There wa

Re: [naviserver-devel] A selection of messages appearing in our error logs

2023-11-09 Thread Gustaf Neumann
On 08.11.23 15:42, Brian Fenton wrote: Also regarding configuring a second driver thread - just to be clear are you referring to this mail you sent back in 2016 https://sourceforge.net/p/naviserver/mailman/message/35502664/ i.e. enable reuseport and set driverthreads = 2? It's unclear to me if

Re: [naviserver-devel] test ns_config-7.4.1, Stack around the variable 'filter' was corrupted

2023-11-08 Thread Gustaf Neumann
On 07.11.23 22:56, Andrew Piskorski wrote: On the current NaviServer head, that problem has gone away! The ns_config-7.4.1 test now runs fine for me on Windows. You see: time heals all wounds! -g ___ naviserver-devel mailing list naviserver-devel@lis

Re: [naviserver-devel] A selection of messages appearing in our error logs

2023-11-08 Thread Gustaf Neumann
Hi Brian, In general, we try to follow with the logging severities the guideline [1]. "Notice" is informational, "warning" is something unexpected/unwanted (hitting some limits, got some data that looks like an attack, ...), "error" is something which should be looked at by an engineer.  

Re: [naviserver-devel] NaviServer 4.99.29 available

2023-11-06 Thread Gustaf Neumann
thanks Brian *From:* Gustaf Neumann *Sent:* Monday 6 November 2023 1:59 pm *To:* naviserver-devel@lists.sourceforge.net *Subject:* Re: [naviserver-devel] NaviServer 4.99.29 available Hi Brian, as stated several times, the right action is to fix your script (as you did

Re: [naviserver-devel] NaviServer 4.99.29 available

2023-11-06 Thread Gustaf Neumann
-------- *From:* Gustaf Neumann *Sent:* Thursday 2 November 2023 2:30 pm *To:* Navidevel *Subject:* [naviserver-devel] NaviServer 4.99.29 available Dear all, I am glad to announce that the release of NaviServer 4.99.29 is available at

[naviserver-devel] NaviServer 4.99.29 available

2023-11-02 Thread Gustaf Neumann
this. One other option would be to upgrade to a paid plain - but i am not sure, who is gonna pay for this. All the best! -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.29/ [2] https://bitbucket.org/blog/billing-model-change ===

Re: [naviserver-devel] "connection already closed" vs "connection socket is detached" and the "rejectalreadyclosedconn" parameter

2023-09-30 Thread Gustaf Neumann
___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of Vienna University of Ec

Re: [naviserver-devel] "connection already closed" vs "connection socket is detached" and the "rejectalreadyclosedconn" parameter

2023-09-30 Thread Gustaf Neumann
Hi Brian, The parameter "rejectalreadyclosedconn" does what it is supposed to do (controls error messages, when someone tries to write to a connection, which was already closed). The parameter was introduced at a time, before the distinction between closed and detached connections was introdu

Re: [naviserver-devel] NX and Naviserver init

2023-09-15 Thread Gustaf Neumann
Dear Maksym, On 15.09.23 01:09, Maksym Zinchenko wrote: Hello, I've been struggling with a problem for a few days now. First I thought it's something with my understanding of NX, but I think its has to do something with Naviserver. actually, the problem is not with NaviServer, but it is roote

Re: [naviserver-devel] NaviServer 4.99.28 available

2023-09-10 Thread Gustaf Neumann
Dear all, Part of the announcement of NaviServer 4.99.28 was the update of the nsdbbdb module (Berkley DB driver via nsdb). I did a few tests about its performance, that might interest a few here. The test of this module configured with lmdb is quite impressive (see below). For comparison, t

[naviserver-devel] NaviServer 4.99.28 available

2023-09-06 Thread Gustaf Neumann
Dear all, I am glad to announce that the release of NaviServer 4.99.28 is available at SourceForge [1].  This release is a pure bug-fix and maintenance release, which fixes a bug annoying for some OpenACS users. See below for a summary of the changes. All the best! -gustaf neumann [1

Re: [naviserver-devel] “worker process pool” feature?

2023-09-05 Thread Gustaf Neumann
On 05.09.23 14:40, John at Decent wrote: Gustav, I think my confusion is as to how this works. As it's not documented, one needs to figure it out from the source. the man page https://naviserver.sourceforge.io/n/nsproxy/files/ns_proxy.html is not a perfect documentation, but this is what we

Re: [naviserver-devel] “worker process pool” feature?

2023-09-05 Thread Gustaf Neumann
On 05.09.23 11:39, Gustaf Neumann wrote: On 05.09.23 09:17, John at Decent wrote: However, won’t that cause the external process to get reloaded every time I call proxy::exec ? see https://github.com/openacs/openacs-core/blob/oacs-5-10/packages/acs-tcl/tcl/proxy-procs.tcl#L74-L83 in the

Re: [naviserver-devel] “worker process pool” feature?

2023-09-05 Thread Gustaf Neumann
On 05.09.23 09:17, John at Decent wrote: Thanks Gustaf. I knew about ns_proxy, but as it is documented as being a proxy to external Tcl processes, I didn’t think to use it as a general process pool. The part I was missing was > proxy::exec However, won’t that cause the external process to

Re: [naviserver-devel] “worker process pool” feature?

2023-09-04 Thread Gustaf Neumann
On 05.09.23 08:10, John at Decent wrote: I think the best way is to have a naviserver module that implements a “worker pool of processes”.  The module would launch X numbers of this external process (say, undroidwish), controlled via STDOUT/STDIN, and dispatch requests free members of the pool

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-18 Thread Gustaf Neumann
--------- *From:* Gustaf Neumann *Sent:* Friday 18 August 2023 12:30 pm *To:* naviserver-devel@lists.sourceforge.net *Subject:* Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu Hi Brian, With your input, I could locate t

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-18 Thread Gustaf Neumann
Hi Brian, With your input, I could locate the source of the problem and fix this in the repository. It was an ns_set but, that could only happen with the output headers, when the code normalized the capitalization of the header fields. There is now a test for this in the regression test suite

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-16 Thread Gustaf Neumann
On 16.08.23 15:37, Brian Fenton wrote: We don't issue any "ns_set cleanup" ourselves, but when I added your recommendation of tracing "ns_set", I saw plenty in the logs. The docs say that "This command is autoamtically executed by ns_cleanup, which runs after every request, freeing all sets cre

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-15 Thread Gustaf Neumann
Brian, many thanks, the backtrace gives some insights: The problem happens in a Ns_SetFree operation if set "d8" triggered by an "ns_set cleanup" during the cleanup of the request. Something is broken with this nsset. Can it be that your application package issues "ns_set cleanup" as well?

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-12 Thread Gustaf Neumann
best -gn thanks Brian ------------ *From:* Gustaf Neumann *Sent:* Thursday 10 August 2023 7:27 pm *To:* naviserver-devel@lists.sourceforge.net *Subject:* Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu Hi Brian, The new NaviServer versions are runni

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-10 Thread Gustaf Neumann
Hi Brian, The new NaviServer versions are running fine on Ubuntu 22.04. Have you recompiled the drivers you are using with the updated version? A good test for the NaviServer binary is to test it with one of the packaged configuration files, e.g. nsd-config.tcl. all the best -gn On 10

Re: [naviserver-devel] nswebpush & "invalid JWT provided"

2023-08-09 Thread Gustaf Neumann
hange. all the best! -g On 09.08.23 12:19, David Osborne wrote: Thanks Gustaf - replies inline... On Wed, 9 Aug 2023 at 10:38, Gustaf Neumann wrote: Hi David, We do not have nswebpush somewhere in production. Can you tell more precisely, what "suddenly" means? About l

[naviserver-devel] NaviServer 4.99.27 available

2023-08-09 Thread Gustaf Neumann
sourceforge https://naviserver.sourceforge.io/n/toc.html is now more mobile-friendly and contains a simple version switcher for the stable release branch (4.99) and the main branch, which will be released as 5.0. All the best! -gustaf neumann [1] https://sourceforge.net/projects/naviserver

Re: [naviserver-devel] nswebpush & "invalid JWT provided"

2023-08-09 Thread Gustaf Neumann
Hi David, We do not have nswebpush somewhere in production. Can you tell more precisely, what "suddenly" means? Does this mean, that you have not changed anything in your environment, but google started to refuse it? The implementation in nswebpush uses for JWT the algorithm ES256 (based on

[naviserver-devel] Forthcoming OpenACS + EuroTcl/Tk conference

2023-06-22 Thread Gustaf Neumann
s.org/conf2023/ -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of Vienna University of Economics and Business Program Director of MSc "Information Systems" ___ naviserver-devel maili

Re: [naviserver-devel] NaviServer/4.99.16 vs NaviServer/4.99.25

2023-06-18 Thread Gustaf Neumann
On 17.06.23 19:08, Sassy Natan wrote: Is there any way to keep it as it was? So encoding convertfrom utf-8 will work like in the past? The "encoding convertfrom" has not changed, but its output is now properly encoded. The following will probably work for you: add the following section to yo

Re: [naviserver-devel] NaviServer/4.99.16 vs NaviServer/4.99.25

2023-06-17 Thread Gustaf Neumann
Dear Sassy, Why do you say that the output right next to text utf-8 is broken? You simply do not need the extra [encoding convertfrom utf-8 ... ] in versions after 4.99.23 in text pages.The UTF-8 handling in earlier versions was broken. The changes in 4.99.23 were triggered by requests of fu

[naviserver-devel] NaviServer 4.99.26 available

2023-06-16 Thread Gustaf Neumann
"ns_config ..."). See below for a summary of the changes. All the best! -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.26/ === NaviServer 4.99.26, released 2023-06-16 === 18 fil

Re: [naviserver-devel] NaviServer 4.99.25 available

2023-06-14 Thread Gustaf Neumann
|'-'||pp||'-01','-mm-dd') as day,null2zero(hrs_wo_break)*3600 :    \x09\x09\x09\x09                                from pp_pa_table :    \x09\x09\x09\x09) ggg :    \x09\x09\x09\x09group by  sid,employee_id,pp,pp_year Thanks Sassy On Mon, May 1, 2023 at 6:55 PM Gu

[naviserver-devel] Joint OpenACS and EuroTcl Conference 2023

2023-05-13 Thread Gustaf Neumann
pages, min. 250 words);     June 19th, 2023: Notification of acceptance     June 30th, 2023: Registration ends     July 19th, 2023: Meet & greet     July 20th - July 21st, 2023:  Conference For details, see: https://openacs.org/conf2023/ Gustaf Neumann and Harald Oehlmann -- Univ.Prof

[naviserver-devel] NaviServer 4.99.25 available

2023-05-01 Thread Gustaf Neumann
nks to the contributors of this release: Andrew Piskorski Antonio Pisano Brian Fenton      Gustaf Neumann Hector Romojaro Joe Oldak Khy Huang Oleg Oleinick Zoran Vasiljevic All the best! -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/

Re: [naviserver-devel] Some questions about Docker images for Naviserver

2023-03-31 Thread Gustaf Neumann
naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/l

[naviserver-devel] Support for Argon2

2023-03-20 Thread Gustaf Neumann
Dear all, For all security hungry NaviServer users: NaviServer supports now Argon2, which is currently the best known password hashing function (well more than this, it is a key derivation algorithm). For details, see [1]. It may take still some time until OpenSSL 3.2 is available in the main Li

Re: [naviserver-devel] nscp segfaults server when missing module/nscp/users

2023-03-19 Thread Gustaf Neumann
Thanks for the report. The problem could be repeated and is fixed in the public repository [1]. The problem was introduced in 2022-07-11, but not included in any released version. all the best -g [1] https://bitbucket.org/naviserver/naviserver/commits/168eebbe67d0d631df5948e1647a36e6e0d9baf0

Re: [naviserver-devel] how to check if nsd has zlib?

2023-03-15 Thread Gustaf Neumann
On 15.03.23 19:50, Andrew Piskorski wrote: On Windows, what's the best (simple?) way to check if my nsd is actually linked correctly with zlib? If zlib is not linked correctly, you would get errors during linking. The easiest thing to test, whether compression via zlib works fine is to test

Re: [naviserver-devel] Windows test failures, http_chunked

2023-03-15 Thread Gustaf Neumann
On 15.03.23 19:39, Andrew Piskorski wrote: But despite that change, I still get those same 4 failures on Windows. The change your are citing has nothing to do with windows. If i see correctly, all these tests use "nstest::http-0.9", which is the old-style regression test interface using ns_s

Re: [naviserver-devel] aead::encrypt test failures

2023-03-11 Thread Gustaf Neumann
The problem with ns_crypto::aead::encrypt/decrypt test under OpenSSL 1.1.1 (OpenSSL 1.1.1-1ubuntu2.1~18.04.21) on Ubuntu 18.04.4 is now fixed in the repositotry. In short, the problem was that with this version of OpenSSL, setting empty additional authenticated data (AAD) behaved differently from

Re: [naviserver-devel] aead::encrypt test failures

2023-03-09 Thread Gustaf Neumann
On 09.03.23 17:30, Andrew Piskorski wrote: In the meantime, how widely used within NaviServer is aead::encrypt? Is it necessary for basic serving of https pages, or just an extra API programmers can optionally use? Do even the latest versions of OpenACS depend on it? (In other words, I'm wonde

Re: [naviserver-devel] aead::encrypt test failures

2023-03-09 Thread Gustaf Neumann
n 09.03.23 12:27, Gustaf Neumann wrote: On 08.03.23 21:52, Andrew Piskorski wrote: Building the NaviServer head (latest code from 2023-03-02), I'm getting two "make test" failures, both from aead::encrypt (below). Any advice for me on what the problem might be, My first suspicion

Re: [naviserver-devel] aead::encrypt test failures

2023-03-09 Thread Gustaf Neumann
knownBug 1 stress Makefile:236: recipe for target 'test' failed make: *** [test] Error 130 -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of Vienna University of Economics an

Re: [naviserver-devel] Ns_conn location questions

2023-01-30 Thread Gustaf Neumann
On 29.01.23 19:36, Maksym Zinchenko wrote: About the second question, I didn't notice this before :) Thank you for your information. When you fetch a new version of the nsshell module, it supports now "ns_conn location" (it's an emulaton, but probably for most situations good enough). all

Re: [naviserver-devel] Ns_conn location questions

2023-01-29 Thread Gustaf Neumann
> My first question is where this localhost comes from? I would think, this comes from your configuration file and/of from the request. If one starts e.g. with the sample configuration file nsd-config.tcl, one sees entries like: [29/Jan/2023:16:35:24][54720.100490580][-main:default-] No

Re: [naviserver-devel] ns_adp_registerproc and attributes

2023-01-22 Thread Gustaf Neumann
Dear Wolfgang, After Maksym Zinchenko, we found as well a problem with the modified ADP parser (inside an embedded minified JavaScript code) The situation is more tricky than expected, since we have - a language mix in ADP files (Tcl, HTML, JavaScript) and special ADP tags and semantics - So

Re: [naviserver-devel] invalid command name "detach" used within example documentation

2023-01-16 Thread Gustaf Neumann
el mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of Vienna University of Economics and Business Program Director of

Re: [naviserver-devel] nsshell

2023-01-06 Thread Gustaf Neumann
Hi Maksym, This was due to the change of yesterday triggered by Wolfgang's report. NaviServer's parser handles <% ... %> blocks also as tags, but in such cases, the quote handling should not be applied. For now, I've added a quick fix to fall back to the old behavior in such blocks, ... and added

Re: [naviserver-devel] ns_adp_registerproc and attributes

2023-01-04 Thread Gustaf Neumann
om> tel +43.732.997117.72 tel +43.699.1997117.2 Firmenbuchnummer: 192003h Firmenbuchgericht: Landesgericht Linz ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-deve

Re: [naviserver-devel] nsstats.tcl Process page fails on older Naviserver version

2022-11-28 Thread Gustaf Neumann
Hi Brian, many thanks for the patch, added on bitbucket! all the best -g https://bitbucket.org/naviserver/nsstats/commits/7c8e69db4e83458f10bb8212b4111a60023d6693 On 28.11.22 17:49, Brian Fenton wrote: Hello I just tried the latest version of nsstats.tcl from https://bitbucket.org/navise

Re: [naviserver-devel] Connecting to OpenSSL

2022-11-07 Thread Gustaf Neumann
stalled 3.x versions. Best regards. Thorpe Thorpe Mayes (512) 394-8766 On 6 Nov 2022, at 11:34, Gustaf Neumann wrote:  Dear Thorpe, it looks like you have now two versions of openssl installed on your system, since the output "1.0.2k-fips" comes straight from the library. So, if you s

Re: [naviserver-devel] Connecting to OpenSSL

2022-11-06 Thread Gustaf Neumann
Dear Thorpe, it looks like you have now two versions of openssl installed on your system, since the output "1.0.2k-fips" comes straight from the library. So, if you see this string, the library is still there. One can check the version used during linkage via     ldd /usr/local/ns/bin/nsd W

[naviserver-devel] improved version introspection

2022-10-15 Thread Gustaf Neumann
driver callback concerning the current connection. For an HTTPS connection, it returns the result of protocol and cipher negotiation, like e.g. {sslversion TLSv1.3 cipher TLS_AES_256_GCM_SHA384} -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of

[naviserver-devel] Repository work: automated testing pipeline

2022-08-21 Thread Gustaf Neumann
. All the best -gustaf neumann [1] https://github.com/nm-wu/naviserver-mirror [2] https://github.com/nm-wu/naviserver-mirror/actions___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo

[naviserver-devel] Repository work: Renaming default branch from "master" to "main"

2022-08-07 Thread Gustaf Neumann
Dear all, The default branch of NaviServer was changed from "master" to "main". I have done this for the "naviserver" main repository and for the 51 modules below. Fresh checkouts are now on the branch "main", old checkouts should switch to the main branch after a "git pull" with: git branch ma

Re: [naviserver-devel] ns_returnfile return original file name

2022-07-20 Thread Gustaf Neumann
___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of Vienna University

[naviserver-devel] ns_set reform

2022-07-20 Thread Gustaf Neumann
Dear all, over the last days, I've worked on improving scalability of ns_set operations in NaviServer, which are used on multiple crucial places such as:  - ndsb interface (returning tuples as ns_sets)  - configuration values  - headers The classical implementation for ns_sets uses separately

Re: [naviserver-devel] ns_returnfile return original file name

2022-07-16 Thread Gustaf Neumann
Dear Maksym, If no name is provided with the download, the browser can provide a name; the behavior might be different dependent on the browser. Therefore, it is recommended to provide the name via the return header field "Content-Disposition", ... or via the "download" attribute in the link.

[naviserver-devel] OpenACS and EuroTcl conference presentations

2022-07-06 Thread Gustaf Neumann
Dear all, The presentations are now on the conference website, including video and slides (on the program page). There are also photo impressions from the conference (on the starting page).    https://openacs.org/conf2022/info/ all the best -g _

[naviserver-devel] OpenACS and EuroTcl Conference Program and Live Streams

2022-06-29 Thread Gustaf Neumann
/eurotcl2022/calendar/cal-item-view?cal_item_id=613704587 Note, that the times are Vienna local time (CEST) all the best -g -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of Vienna University of Economics and Business Program Director of MSc "Inform

[naviserver-devel] NaviServer 4.99.24 available

2022-06-14 Thread Gustaf Neumann
Osborne Gustaf Neumann Zoran Vasiljevic All the best! -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.24/ === NaviServer 4.99.24, released 2022-06-14 === 77 files changed, 3242

Re: [naviserver-devel] Joint OpenACS and EuroTcl conference

2022-06-09 Thread Gustaf Neumann
The second sentence should read We need some time Sorry for the typo, age weakens eyes... all the best -gn On 09.06.22 19:21, Gustaf Neumann wrote: Dear NaviServer Community, The registration for the joint OpenACS and EuroTcl conference ends in one week. No need some time ahead

Re: [naviserver-devel] Joint OpenACS and EuroTcl conference

2022-06-09 Thread Gustaf Neumann
Dear NaviServer Community, The registration for the joint OpenACS and EuroTcl conference ends in one week. No need some time ahead of the event to reserve sufficient capacities for the social events. all the best -gn https://openacs.org/conf2022/info/ _

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-06-07 Thread Gustaf Neumann
explicit (Tcl code) - Improved comments, fixed typos - Marked "ns_set_precision" as deprecated, since there is no reason why not setting the Tcl variable ::tcl_precision directly. - Don't hard-wire port for https testing to 8443 The setup code looks now for a free port

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-06-03 Thread Gustaf Neumann
Dear David, the automated shortening for the invalid strings is now committed. https://bitbucket.org/naviserver/naviserver/commits/51f101928be6d27efe5ab78d7d9a9693026791c1 I'll try to make rc2 soon. all the best -gn On 30.05.22 21:01, Gustaf Neumann wrote: i agree, this might be a l

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-30 Thread Gustaf Neumann
gs, so we patched NaviServer to log just a Warning of invalid UTF-8 but not include the data itself. But there may be a better way of dealing with this. Regards, David On Sat, 28 May 2022 at 18:45, Gustaf Neumann wrote: Dear all, The latest commits - added the "multipart/

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-28 Thread Gustaf Neumann
more tests. I have still a bug report for ns_connchan (which i could not reproduce so far), if i find something to fix the next days, this will go as well into the next release, otherwise we are ready for rc2. all the best -gn On 19.05.22 21:19, Gustaf Neumann wrote: Hi David, we have not a g

[naviserver-devel] Joint OpenACS and EuroTcl conference

2022-05-23 Thread Gustaf Neumann
submissions of abstracts (max. 2 pages, min. 250 words); June 3rd, 2022: Notification of acceptance June 15th, 2022: Registration ends June 29th, 2022: Meet & greet June 30th - July 1st, 2022:  Conference For details, see: https://openacs.org/conf2022/ Gustaf Neumann and Paul Obermeier -- Univ.Prof

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-20 Thread Gustaf Neumann
Thanks as well, change is welcome! ... i've added the documentation for the configuration variables. -g On 20.05.22 16:28, David Osborne wrote: Thanks Gustaf - I've run some quick tests against the per-server and global fallback and it seems to work well in the cases we're looking at - thanks

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-19 Thread Gustaf Neumann
dle incorrect queries... still missing: "multipart/form-data" handling and documentation updates, error code all the best -gn On 18.05.22 22:00, Gustaf Neumann wrote: Dear David, i've committed the option "-fallbackencodings" for the commands  "ns_getform" and

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-18 Thread Gustaf Neumann
s with a way forward in cases where client apps are not getting the encoding correct. [1] https://bitbucket.org/naviserver/naviserver/annotate/master/nsd/form.c?at=master#form.c-170 ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-14 Thread Gustaf Neumann
ll the best -g On 13.05.22 10:32, David Osborne wrote: Thanks Gustaf, I didn't pick up that your latest commit makes it possible to catch and handle an encoding error now. Thanks - we'll try to address the issue that way. Regards, Dave On Thu, 12 May 2022 at 12:27, Gustaf Neumann wr

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-12 Thread Gustaf Neumann
tion 3.9 "U+FFFD Substitution of Maximal Subparts") [2] https://www.unicode.org/versions/Unicode14.0.0/ch05.pdf (Section 5.22 "U+FFFD Substitution in Conversion") [3] https://encoding.spec.whatwg.org/#decoder [4] https://docs.python.org/3/library/stdtypes.html#bytes.decode On Mon, 2 M

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-03 Thread Gustaf Neumann
i would like to have a look on before making the next release candidate available. all the best -gn On 02.05.22 14:29, Gustaf Neumann wrote: Dear David and all, I looked into this issue, and I do not like the current situation either. In the current snapshot, a GET request with invalid cod

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-02 Thread Gustaf Neumann
uot;used to replace an incoming character whose value is unknown or unrepresentable in Unicode") - but not sure which is the correct behaviour. Regards, Dave _______ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists

[naviserver-devel] Towards NaviServer 4.99.24

2022-04-15 Thread Gustaf Neumann
Dear all, on sourceforge is a release candidate for NaviServer 4.99.24 [1]. Please test if possible.  The release should be in the near future. Below is a preliminary summary of changes. All the best, and have a nice easter weekend! -g [1] https://sourceforge.net/projects/naviserver/files/navi

Re: [naviserver-devel] v4.99.23 Tests failing building on Debian Buster Pt1: encoding_ns_http-1.1

2022-04-10 Thread Gustaf Neumann
There are now two changes committed to bitbucket: a) Provide an error message when the configured locale is not installed on the host (misconfiguration) This change causes NaviServer to abort, when the configured locale is not installed on the host. Typically, this locale is e.g. used by ns_

Re: [naviserver-devel] v4.99.23 Tests failing building on Debian Buster Pt1: encoding_ns_http-1.1

2022-04-08 Thread Gustaf Neumann
d suppressed errors, rerun with: -s ==37899== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) Segmentation fault make: *** [Makefile:273: memcheck] Error 139 On Wed, 6 Apr 2022 at 16:58, Gustaf Neumann wrote: On 06.04.22 16:46, David Osborne wrote: On Wed, 6 Apr 202

Re: [naviserver-devel] v4.99.23 Tests failing building on Debian Buster Pt1: encoding_ns_http-1.1

2022-04-06 Thread Gustaf Neumann
On 06.04.22 16:46, David Osborne wrote: On Wed, 6 Apr 2022 at 14:53, Gustaf Neumann wrote: Hi David, i will setup a VM for testing in your configuration, but first i have to understand, what pt1/pt2 means. * * *Sorry that is just an abbreviation for "part1" and &q

Re: [naviserver-devel] v4.99.23 Tests failing building on Debian Buster Pt1: encoding_ns_http-1.1

2022-04-06 Thread Gustaf Neumann
Hi David, i will setup a VM for testing in your configuration, but first i have to understand, what pt1/pt2 means. Is it sufficient to set up a Debian Buster with all available updates? The emoji/UTF-8 problem points to a Tcl problem. What exact version of Tcl is used in this installation?

Re: [naviserver-devel] Issue with certain emojis (unicode/utf-8)

2022-03-18 Thread Gustaf Neumann
Just as a short notice: iOS 14.5 (released a few days ago) supports some more Unicode 14 characters, iOS 15 is supposed to support all of Unicode 14.0. The melting face of Unicode 14 on the test-page on openacs.org (see link below) works already. -gn On 04.12.21 15:57, Gustaf Neumann wrote

[naviserver-devel] emojis and their consequences

2022-03-03 Thread Gustaf Neumann
Dear all, There are more changes related to this problem area: a) Due to the full support of UTF-8 in the database interface in the last release, potential new problems showed up which were hidden so far by the mangled Tcl-UTF-8; similarly, problems showed up with vulnerability scanners tryin

[naviserver-devel] Fwd: NaviServer Wins an Award from SourceForge

2022-03-02 Thread Gustaf Neumann
wherever appropriate. If you are using NaviServer in your products, you might use this information and badge to advertise using an awarded server. All the best -gustaf neumann Forwarded Message Subject:NaviServer Wins an Award from SourceForge Date: Tue, 01 Mar 2022 23:23

Re: [naviserver-devel] ns_parseurl: small problem

2022-01-18 Thread Gustaf Neumann
http%3A%2F%2Fwww.test.com' Using this value: ns_parseurl "index?url=http%3A%2F%2Fwww.test.com" works. ns_urldecode decodes the value correctly. Regards, Wolfgang ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https

  1   2   3   4   5   6   7   >