Re: [prosody-dev] Question about datamapper

2024-02-20 Thread 'Kim Alvefur' via prosody-dev
On Mon, Feb 19, 2024 at 05:43:47PM -0800, Stephen Paul Weber wrote: Here is the JSON input: { "alias": "GlitchTip", "text": "GlitchTip Alert", "attachments": [ { "title": "Some Cool Error", "title_link": "https://example.com/some-cool-link;, "text": "/inbound/calls" } ] } And I want to map it

Re: [prosody-dev] Re: mod_pubsub_serverinfo

2023-12-28 Thread 'Kim Alvefur' via prosody-dev
Hi, Thanks, applied as https://hg.prosody.im/prosody-modules/rev/73887dcb2129 On Thu, Dec 28, 2023 at 02:26:05AM -0800, Guus der Kinderen wrote: \o/ Much gnashing of teeth (and a removal of Mercurial installed through snap) later, computers finally started to comply. Here's the patch that's

Re: [prosody-dev] invalida characters

2023-11-13 Thread 'Kim Alvefur' via prosody-dev
Hi, On Fri, Nov 03, 2023 at 09:42:55AM -0700, Damian Minkov wrote: We have been cleaning up our logs lately and we came upon these two errors about invalid characters. Any recommendations, how do we handle those and prevent them? (reduced) util/stanza.lua:51: invalid tag name: contains

Re: [prosody-dev] [PATCH] UUIDv7 for MAM

2023-09-28 Thread 'Kim Alvefur' via prosody-dev
On Mon, Sep 25, 2023 at 09:10:06AM -0700, Stephen Paul Weber wrote: This patch set adds the ability to generate UUIDv7 to the util.uuid module, I have a patch for this with wider Lua version compatibility, timestamped 2021 that hasn't been merged because nothing uses UUIDv7. and uses it in

[prosody-dev] [ANN] Prosody 0.12.4 released

2023-09-06 Thread 'Kim Alvefur' via prosody-dev
Hi folks, We are pleased to announce the release of Prosody 0.12.4. This is an overdue maintenance release containing a number of bug fixes and also some improvements from the last few months. Especially the prosodyctl check tool which gained some new diagnostic checks as well as handling of

Re: [prosody-dev] s2s connections

2023-05-24 Thread 'Kim Alvefur' via prosody-dev
Hi Damian and everyone else, On Tue, May 23, 2023 at 03:37:53PM -0700, Damian Minkov wrote: Hey all, How does s2s works, isn't it supposed to have one connection per host pair? # prosodyctl shell "s2s:show()" | wc -l 461 # prosodyctl shell "s2s:show()" Session ID | Host

[prosody-dev] [ANN] Prosody 0.11.14 released

2022-12-13 Thread 'Kim Alvefur' via prosody-dev
Hi folks, We are pleased to announce the release of Prosody 0.11.14. This release fixes an issue in the library Prosody uses to build XML stanzas, wherein it was too strict and disallowed the character “DEL”, which is actually allowed by XML. This has no effect on normal stanza routing and

Re: [prosody-dev] Bug in mod_s2soutinjection

2022-12-02 Thread 'Kim Alvefur' via prosody-dev
Hi Damian, On Thu, Dec 01, 2022 at 03:01:18PM -0800, Damian Minkov wrote: mod_s2soutinjection/mod_s2soutinjection.lua#l20 there is an undefined variable port. I believe https://hg.prosody.im/prosody-modules/rev/801ca82b6538 should fix the warning. -- Thanks, Kim "Zash" Alvefur -- You

Re: [prosody-dev] ADNS Records Not In Cache

2022-11-04 Thread 'Kim Alvefur' via prosody-dev
Hi, On Wed, Nov 02, 2022 at 07:13:27AM -0700, Esra Hatice Yılmaz wrote: Is there any specific configuration for DNS on prosody? There is some configuration possibilities for the new libunbound based DNS backend, but not for the older net.dns / adns. I have been calling a webservice from

Re: [prosody-dev] mod_privilege fake session

2022-08-16 Thread 'Kim Alvefur' via prosody-dev
On Tue, Aug 16, 2022 at 03:42:52PM +0200, Nicoco Kinlidec wrote: This patch makes mod_privilege use a fake session to send stanzas on behalf of a user. This was discussed in prosody's MUC today. Let me know if I should change something to get it accepted. Merged. I'm not familiar with this

Re: [prosody-dev] [PATCH] mod_muc_badge: If room has no title use localpart of room's jid (fixes #1767)

2022-08-04 Thread 'Kim Alvefur' via prosody-dev
On Wed, Aug 03, 2022 at 12:10:57AM +0200, Bernhard Geier wrote: Rooms may have a title/name, but they do not have to. A JID is enough. When trying to get the badge for a room without a title, mod_muc_badge throws a HTTP error 500 (with Lua 5.1) or shows a "nil" label in the SVG badge (with

Re: [prosody-dev] [patch] [update] MUC: Check for an existing occupant when a pre-* hook changes the nickname. Fixes #1739.

2022-06-05 Thread Kim Alvefur
Hi, On Thu, Apr 07, 2022 at 09:18:20AM -0400, John Regan wrote: When a user joins a MUC, and a pre-join hook changes their nickname - it may have been changed into an existing occupant. When this occurs, the room creates a new occupant, and an existing occupant winds up being disassociated from

[prosody-dev] [ANN] Prosody 0.11.11 released

2021-12-20 Thread 'Kim Alvefur' via prosody-dev
Merry near winter soltice folks, We are pleased to announce the release of Prosody 0.11.11. This release contains some fixes to PEP to control memory usage, along with a small batch of fixes for issues discovered since the last release. This will likely be the last release of the 0.11 branch.

Re: [prosody-dev] PATCH makefile: fix prosody.version target

2021-08-28 Thread Kim Alvefur
Hello Lucas, On Sun, Aug 15, 2021 at 01:46:18PM +, Lucas wrote: Find a patch to fix prosody.version always getting "unknown" if built from the release tarball using `makefile`. This is the case at least on OpenBSD, and I guess the same happens on other BSDs too if they don't use GNU make.

Re: [prosody-dev] Fwd: [patch] A tiny patch clarifying port usage in doc/ports.md

2021-08-14 Thread Kim Alvefur
Hi, On Sat, Aug 14, 2021 at 08:44:05PM +0800, Vladimir Nikishkin wrote: Dear Prosody developers, The following patch is proposed, please consider it for inclusion: Thanks, merged with some tweaks. As per the page about Contributing https://prosody.im/doc/contributing and if you look at

[prosody-dev] [ANN] Prosody 0.11.10 released

2021-08-03 Thread Kim Alvefur
Hi folks, We are pleased to announce the release of Prosody 0.11.10. This release primarily fixes CVE-2021-37601, a remote information disclosure vulnerability. See the previously released advisory for details: . We recommend that all deployments

Re: [prosody-dev] prosody-modules commit access

2021-05-14 Thread Kim Alvefur
On Thu, May 13, 2021 at 04:48:09PM -0400, moparisthebest wrote: Hi, Can I get prosody-modules commit access? Sure. Replied off-list with details. -- Zash -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and

Re: [prosody-dev] Patch: Documentation of apache2 config

2021-03-30 Thread Kim Alvefur
On Sat, Mar 27, 2021 at 03:01:02PM +0100, Maik Holme wrote: Hi, this is my first try to contribute something. A patch for consistency in the docs and another to add the sample config for reverse proxys to the doc/http. Thanks, I've imported them locally for the next time I look at the docs.

Re: [prosody-dev] engine:select fetching old data

2021-02-27 Thread Kim Alvefur
Hi, On Sat, Feb 27, 2021 at 05:59:26AM -0800, genilt...@gmail.com wrote: I have an administration panel that changes the prosody's DB (Mysql). When I add more users (affiliations) to the muc, the prosody does not update. And when I select inside one module, it does not bring the updated data

[prosody-dev] [ANN] Prosody 0.11.8 released

2021-02-15 Thread Kim Alvefur
Hi folks, We are pleased to announce the release of Prosody 0.11.8. This time it includes bug fixes and performance improvements! Thanks to the Jitsi folks for helping us improve websocket performance in this and the previous release. This release also fixes a security issue, where channel

Re: [prosody-dev] [PATCH] Support for regular expressions in trusted_proxies (mod_http)

2020-06-10 Thread Kim Alvefur
Hi On Mon Jun 1, 2020 at 4:44 PM CEST, Boris Grozev wrote: > Hello everyone, > > We have a use-case where we don't know the IP addresses of our HTTP > proxies in advance, so we want to configure an entire network in > trusted_proxies. I opted to implement it with additional syntax in the >

Re: [prosody-dev] [PATCH] doc:dns: Actually underline the must‐change parameters

2020-05-05 Thread Kim Alvefur
On Tue May 5, 2020 at 5:12 PM PST, Grzegorz Szymaszek wrote: > Hi, > > The patch fixes the doc:dns article to use bold+underline instead of > bold+italic. This is to match the description below: > > > The bold text indicates parts of the record that you can change. The > > underlined bold text

Re: [prosody-dev] [Heads up] trunk nightly package change

2020-04-19 Thread Kim Alvefur
Hey, To follow up: Our build machine did not like the changes and needed some convincing, but it seems to finally be building packages. -- Zash -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and stop receiving

[prosody-dev] [Heads up] trunk nightly package change

2020-04-18 Thread Kim Alvefur
Hey, I just pushed some changes to the `prosody-trunk` nightly package to make it use whatever version of Lua is installed and selected by the "alternatives" system in Debian. This will be in tomorrows build, assuming our build machine can handle the change. If it fails, there won't be an update

[prosody-dev] [ANN] Prosody 0.11.5 released

2020-03-24 Thread Kim Alvefur
Hi folks, We are pleased to announce the release of Prosody 0.11.5. This release mostly adds command line flags to force foreground or background operation, which replaces and deprecates the ‘daemonize’ option in the config file. A summary of changes since the previous release: Fixes and

[prosody-dev] [ANN] Prosody 0.11.4 released

2020-01-18 Thread Kim Alvefur
We are pleased to announce the release of Prosody 0.11.4. This release contains a number of bug fixes and a couple of performance improvements. A summary of changes since the previous release: Fixes and improvements - core.rostermanager: Improve performance by caching rosters of offline

Re: [prosody-dev] [PATCH] mod_auth_imap: send CRLF to IMAP server

2019-12-21 Thread Kim Alvefur
On Thu, Dec 19, 2019 at 07:28:55PM +, Andrew Hotlab wrote: > This fix a misbehavior: as for RFC3501, all commands sent to an IMAP > server must terminate using CRLF. As mentioned in the channel, this was merged as Thanks again! --

Re: [prosody-dev] patch for mod_extdisco.lua

2019-05-23 Thread Kim Alvefur
Hi, On Wed, May 22, 2019 at 11:27:37PM -0700, Alexey Bobyr wrote: > According to https://xmpp.org/extensions/attic/xep-0215-0.6.html service > tag must is a child element of 'services' tag in reply. > Attached patch adds main tag services. Thanks. Patch looks good. I noticed that the other

Re: [prosody-dev] Prosody events

2019-05-02 Thread Kim Alvefur
Hi, On Tue, Apr 23, 2019 at 09:33:10PM -0700, Milind Gupta wrote: >I am new to prosody. I want to modify the welcome module to send a > message to the user after 2 days of registration. Which even can I use? `presence/initial` is probably a good candidate, it happens when the user

Re: [prosody-dev] [ANN] Prosody trunk nightly builds to use ICU

2019-04-29 Thread Kim Alvefur
On Mon, Apr 29, 2019 at 06:46:47PM -0500, Lonnie Abelbeck wrote: > Hopefully libidn will still be optionally supported. For now. It's a compile-time setting passed to the `./configure` script, which means it's usually decided by the packager or whoever builds from source. I'm not sure what the

[prosody-dev] [ANN] Prosody trunk nightly builds to use ICU

2019-04-29 Thread Kim Alvefur
Hello, To allow testing the new [mod_mimicking] just pushed to trunk, nightly builds have been configured to use ICU instead of libidn for Unicode normalization operations. [mod_mimicking]: https://prosody.im/doc/modules/mod_mimicking ICU or libidn are responsible for turning XMPP addresses

Re: [prosody-dev] Need help writing a module

2017-07-08 Thread Kim Alvefur
Hi, On Thu, Jul 06, 2017 at 04:45:16PM -0400, James Cloos wrote: > I need some help getting a module working for prosody. > > It needs to listen on a localhost tcp socket and accept http POSTs > with json bodies akin to: > >{"from":"8...@x.example.net", "to":"9...@x.example.net",

Re: [prosody-dev] [PATCH][0.10] muc: Allow clients to change multiple affiliations or roles at once (#345)

2017-04-17 Thread Kim Alvefur
On Mon, Apr 17, 2017 at 02:32:22PM +0100, Matthew Wild wrote: > - Treat the request as an atomic change: succeed for all, or fail > all (i.e. if one of the JIDs is malformed, don't allow any of the > other changes in the request to take place). This would require work > to either pre-verify the

Re: [prosody-dev] mod_mam: support XEP-0313 v0.5 keeping compatibility with previous XEP-0313 v0.3

2017-02-20 Thread Kim Alvefur
On Thu, Dec 29, 2016 at 10:25:00AM +0100, Victor Seva wrote: > This is the work I've done at mod_mam[0] in order to support the latest > version of XEP-0313 > > The module now supports both versions "urn:xmpp:mam:0" and > "urn:xmpp:mam:1" The communtiy version of mod_mam now supports every

Re: [prosody-dev] [ANN] Prosody 0.9.12 released

2017-01-10 Thread Kim Alvefur
On Tue, Jan 10, 2017 at 03:02:10PM -0600, Lonnie Abelbeck wrote: > Hmmm, still not seeing it here: https://prosody.im/downloads/source/ Cached somewhere probably. Try a hard reload. Direct links are: https://prosody.im/downloads/source/prosody-0.9.12.tar.gz

Re: [prosody-dev] [ANN] Prosody 0.9.12 released

2017-01-10 Thread Kim Alvefur
On Tue, Jan 10, 2017 at 02:48:10PM -0600, Lonnie Abelbeck wrote: > The source download is missing for 0.9.12. Fixed, thanks for noticing. -- Regards, Kim "Zash" Alvefur -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this

Re: [prosody-dev] bug: mod_saslauth sends incorrect auth success response

2016-08-28 Thread Kim Alvefur
On 2016-08-25 19:19, Andrey Prokopenko wrote: > Hi fellow chatters. > Just discovered a rather nasty bug in mod_saslauth module, effectively > preventing Smack (or any other XMPP lib) to connect to the prosody. > In particular, function *build_reply* within SASL authentication module >

Re: [prosody-dev] [PATCH] mod_cloud_notify: default false for sending body and sender

2016-06-03 Thread Kim Alvefur
On 2016-06-02 23:12, Chris Ballinger wrote: > # HG changeset patch Applied, thanks. -- Kim "Zash" Alvefur -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [prosody-dev] Some issues with mod_cloud_notify

2016-05-26 Thread Kim Alvefur
On 2016-05-25 23:16, Chris Ballinger wrote: > Not sure about the proper way to submit a pull request, but we have some > proposed modifications to the existing module that I'd like some > feedback on first. > > 1. push_enabled is not persisted across server restarts (only reloads). > This means

Re: [prosody-dev] Milli second time

2016-03-25 Thread Kim Alvefur
Hi, On 2016-03-25 14:27, Harsha Bellur wrote: > I am not sure if this topic has been broached before but is there a way I > can get time in miilisecond granularity? TL;DR: require("socket").gettime() Lua generally only provides what C provides, and C does not provide sub-second precision time.

Re: [prosody-dev] s2s_require_encryption and gmail.com

2016-01-23 Thread Kim Alvefur
Hi, Replies inline. fre jan 22 23:14:13 2016 GMT+0100 skrev François L.: > Hi, > > I've same problem, > Log say : > Jan 22 23:07:30 s2sout13310a8 infooutgoing s2s stream myserver.tld > ->gmail.com closed: Encrypted server-to-server communication is required > but was not offered > Jan

Re: [prosody-dev] Is it possible to use anonymous access of Prosody to implement live help?

2015-12-17 Thread Kim Alvefur
On 2015-12-17 19:34, Thijs Alkemade wrote: > one approach to live help systems is to > create a new MUC (with a randomly generated name [1]) when a user requests the > help and then send invitations to the people who can offer help Perhaps have a look at

Re: [prosody-dev] Prosody : Private Chatroom Issues

2015-08-26 Thread Kim Alvefur
On 2015-08-26 15:18, Kim Alvefur wrote: On 2015-08-25 08:40, Gauri Padbidri wrote: The problem is when I query Prosody to give me a list of Chat rooms for the given user, it will return me the PUBLIC Chat rooms but NOT the PRIVATE Chat rooms I created...Is it because I have set muc

Re: [prosody-dev] Prosody : Private Chatroom Issues

2015-08-26 Thread Kim Alvefur
On 2015-08-25 08:40, Gauri Padbidri wrote: The problem is when I query Prosody to give me a list of Chat rooms for the given user, it will return me the PUBLIC Chat rooms but NOT the PRIVATE Chat rooms I created...Is it because I have set muc#roomconfig_publicroom to FALSE, which makes them

Re: [prosody-dev] is it lua 5.1 really required for Prosody .9.8?

2015-08-20 Thread Kim Alvefur
Hi Ben, FWIW, the changes needed to run Prosody on Lua 5.2 have been fiddled over from timber to the 0.10 and trunk branches. -- Regards, Kim Zash Alvefur -- You received this message because you are subscribed to the Google Groups prosody-dev group. To unsubscribe from this group and stop

Re: [prosody-dev] Prosody logging to external syslog server

2015-07-09 Thread Kim Alvefur
Hi, On 2015-07-09 16:16, Andy Shutler wrote: I was wondering, if it is possible to send the logging to an external syslog server and if it is, how the configuration of this is done? That configuration would be done in your syslog daemon. You can't do it from prosody, it's just using the

Re: [prosody-dev] Attach to websocket

2015-05-25 Thread Kim Alvefur
On 2015-04-23 14:09, Teodor Pripoae wrote: Authentication is done server side, returning JID, SID and RID to client which then attaches to BOSH session using strophe.js. Is there any way to attach to xmpp-websocket instead of BOSH using BOSH sessions (JID, SID, RID) ? SID and RID are

Re: [prosody-dev] Submitting new third party modules

2015-05-11 Thread Kim Alvefur
On 2015-05-11 03:54, Hugo Osvaldo Barrera wrote: Also on this topic, any plans on where prosody will be hosted in future? Prosody will be hosted at http://hg.prosody.im/ -- Regards, Kim Zash Alvefur -- You received this message because you are subscribed to the Google Groups prosody-dev

Re: [prosody-dev] Submitting new third party modules

2015-04-29 Thread Kim Alvefur
On 2015-04-29 13:30, Matthew Wild wrote: The prosody-modules on hg.prosody.im is a read-only mirror, and we've had that for a long time (before the announcement from Google). Since 2013 (if timestamps are to be believed)! -- Kim Zash Alvefur -- You received this message because you are

Re: [prosody-dev] Prosody 0.10 nightly build 118 - no changes?

2015-03-27 Thread Kim Alvefur
Hi! On 2015-03-27 18:56, deoren wrote: I noticed that there is a new build for Prosody 0.10, but the Changes since previous build section is empty. The changes consisted only of merge commits. The scripts that create those pages do not include merge commits in the listing. We originally

Re: [prosody-dev] Small bug in brew installer on OS X

2014-10-15 Thread Kim Alvefur
On 2014-10-15 16:39, David Millman wrote: Ah, yes, updating brew brought in lua51 and lua is now version 5.2.3_1. Thank you for the suggestion. Out of curiosity, does prosody not work with the newer versions of lua? Not yet, we've just started working on it. The situation is similar to

Re: [prosody-dev] [ANN] Prosody 0.9.5 released!

2014-10-11 Thread Kim Alvefur
On lör 11 okt 2014 18:46:10, Lonnie Abelbeck li...@lonnie.abelbeck.com wrote: +    ( cd plugins ; find . -type f -exec install -D -m644 '{}' If we can assume that find is available everywhere then something like this shoud work. -- Kim Zash Alvefur -- You received this message because you

Re: [prosody-dev] limiting concurrent logins from same jid?

2014-05-04 Thread Kim Alvefur
Hi Peter, On 2014-05-03 20:51, Peter Villeneuve wrote: How can I limit concurrent logins from the same account on Prosody? ie. if user A is logged in once, then any subsequent attempts to login will fail. There's this simple plugin: