Log

util/jid.lua @ 13228:616c578c644f

description author age
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
util.jid: Simplify boolean logic in conditionals Matthew Wild Tue, 11 Oct 2022 13:35:09 +0100
util.jid: Remove redundant check from split() (micro-optimization?) Matthew Wild Tue, 11 Oct 2022 13:33:19 +0100
doap: Update XEP versions for which no code changes appear needed Kim Alvefur Mon, 08 Aug 2022 20:33:44 +0200
util.jid: Explicitly check for nil rather than falsy Kim Alvefur Sat, 15 Jan 2022 16:25:25 +0100
util.jid: Fix special escaping of '\' per XEP-0106 Kim Alvefur Fri, 28 Aug 2020 18:44:02 +0200
util.jid: Add a 'strict' flag for jidprep calls Kim Alvefur Mon, 09 Sep 2019 22:15:04 +0200
util.jid: Add missing semicolon Kim Alvefur Fri, 21 Sep 2018 14:23:21 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
mod_carbons: Make the conditions for ignoring MUC PMs more specific (fixes #744) Kim Alvefur Fri, 23 Sep 2016 14:03:37 +0200
util.jid: Import select() into local (fixes traceback, tests on Lua 5.2) Kim Alvefur Mon, 28 Mar 2016 13:27:42 +0200
util.jid+tests: Add simple helpers... node(), host() and resource() for extracting specific parts of a JID Matthew Wild Thu, 17 Mar 2016 23:15:08 +0000
util.jid: Fix backout Kim Alvefur Fri, 02 Oct 2015 12:16:47 +0200
Backout 7e820979fd9b (broke tests) Kim Alvefur Fri, 02 Oct 2015 12:12:24 +0200
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur Sat, 21 Feb 2015 10:36:37 +0100
util.jid: Optimize bare Kim Alvefur Thu, 07 Aug 2014 17:43:28 +0200
util.jid: Use existing join function in jid.prep Kim Alvefur Thu, 07 Aug 2014 17:35:11 +0200
util.jid: Return early in join on invalid jids Kim Alvefur Thu, 07 Aug 2014 17:20:51 +0200
Merge 0.9->0.10 Matthew Wild Mon, 16 Dec 2013 02:04:16 +0000
util.jid: Strip trailing '.' when normalizing hostnames Matthew Wild Mon, 16 Dec 2013 02:03:35 +0000
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
util.jid: Added escape() and unescape(). Waqas Hussain Tue, 01 Nov 2011 23:41:32 +0500
util.jid: Fix parsing of JIDs with no nodepart and an @ in the resourcepart (thanks seth) Matthew Wild Tue, 31 Aug 2010 00:38:44 +0100
util.jid: compare() added, with some tests. Kim Alvefur Fri, 16 Jul 2010 00:36:02 +0200
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
util.jid: Add join(node, host, resource) function to join the components and return nil if invalid Matthew Wild Fri, 27 Nov 2009 17:33:55 +0000
Remove version number from copyright headers Matthew Wild Fri, 10 Jul 2009 03:11:45 +0100
util.jid: Eliminate global method use Waqas Hussain Sat, 16 May 2009 03:56:51 +0500
0.3->0.4 Matthew Wild Fri, 20 Mar 2009 20:16:25 +0000
Update copyright notices for 2009 Matthew Wild Fri, 30 Jan 2009 17:59:26 +0000
0.2->0.3 Matthew Wild Fri, 30 Jan 2009 17:40:25 +0000
GPL->MIT! Matthew Wild Fri, 30 Jan 2009 17:22:56 +0000
util/jid: string prepping functions added: prepped_split and prep Waqas Hussain Thu, 15 Jan 2009 04:34:55 +0500
0.1 -> 0.2 Matthew Wild Wed, 10 Dec 2008 15:44:03 +0000
Insert copyright/license headers Matthew Wild Wed, 03 Dec 2008 14:39:07 +0000
Removed useless check Waqas Hussain Sat, 22 Nov 2008 22:37:44 +0500
Better names for variables Matthew Wild Fri, 21 Nov 2008 05:07:41 +0000
Remove old TODO Matthew Wild Fri, 21 Nov 2008 05:06:35 +0000
Remove some declarations I added while debugging Matthew Wild Fri, 21 Nov 2008 05:06:01 +0000
Improve jid.split() and jid.bare() to pass new test cases with invalid JIDs Matthew Wild Fri, 21 Nov 2008 05:02:53 +0000
Add jid.bare() helper function Matthew Wild Thu, 20 Nov 2008 23:28:16 +0000
Minor edit, and added a TODO Waqas Hussain Wed, 22 Oct 2008 21:18:50 +0500
Fixed: util/jid.lua now returns module object Waqas Hussain Tue, 14 Oct 2008 09:54:49 +0500
jid.split(): Return nil when passed nil Matthew Wild Tue, 30 Sep 2008 19:49:36 +0100
Fixing jid.split() for all JIDs Matthew Wild Sat, 27 Sep 2008 19:17:40 +0100
First commit, where do you want to go tomorrow? matthew Fri, 22 Aug 2008 21:09:04 +0000