Commit Graph

41 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Kim Alvefur b37e985f48 util.jid: Fix special escaping of '\' per XEP-0106 5 years ago
Kim Alvefur 31d6d1a42b util.jid: Add a 'strict' flag for jidprep calls 6 years ago
Kim Alvefur dae66b0b3f util.jid: Add missing semicolon 7 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur 77cb2879ff mod_carbons: Make the conditions for ignoring MUC PMs more specific (fixes #744) 9 years ago
Matthew Wild 1c3c5302ba util.jid+tests: Add simple helpers... node(), host() and resource() for extracting specific parts of a JID 10 years ago
Kim Alvefur 4408ac9239 util.jid: Fix backout 10 years ago
Kim Alvefur d208ade2a7 Backout 7e820979fd9b (broke tests) 10 years ago
Kim Alvefur eaa823a597 util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
Kim Alvefur 07b2ab8478 util.jid: Import select() into local (fixes traceback, tests on Lua 5.2) 10 years ago
Kim Alvefur 2042436850 util.jid: Optimize bare 12 years ago
Kim Alvefur 2fc4e2dd51 util.jid: Use existing join function in jid.prep 12 years ago
Kim Alvefur 16dbe1e350 util.jid: Return early in join on invalid jids 12 years ago
Matthew Wild 54824c98f1 util.jid: Strip trailing '.' when normalizing hostnames 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Waqas Hussain 6a6318f924 util.jid: Added escape() and unescape(). 14 years ago
Matthew Wild c14f4168f2 util.jid: Fix parsing of JIDs with no nodepart and an @ in the resourcepart (thanks seth) 16 years ago
Kim Alvefur e21c59154e util.jid: compare() added, with some tests. 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 243dc405ce util.jid: Add join(node, host, resource) function to join the components and return nil if invalid 16 years ago
Matthew Wild d6a193d93e util.jid: Add join(node, host, resource) function to join the components and return nil if invalid 16 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Waqas Hussain b199ffcb60 util.jid: Eliminate global method use 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Waqas Hussain 7a3cc53232 util/jid: string prepping functions added: prepped_split and prep 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Waqas Hussain d2db971613 Removed useless check 17 years ago
Matthew Wild e550dff272 Better names for variables 17 years ago
Matthew Wild 9122ff0039 Remove old TODO 17 years ago
Matthew Wild 430180dafb Remove some declarations I added while debugging 17 years ago
Matthew Wild 48e7f5ea64 Improve jid.split() and jid.bare() to pass new test cases with invalid JIDs 17 years ago
Matthew Wild c36a8743fe Add jid.bare() helper function 17 years ago
Waqas Hussain 2a2956ef53 Minor edit, and added a TODO 17 years ago
Waqas Hussain a3e21e6d57 Fixed: util/jid.lua now returns module object 17 years ago
Matthew Wild 733c39e3da jid.split(): Return nil when passed nil 17 years ago
Matthew Wild 58d1a65408 Fixing jid.split() for all JIDs 18 years ago
matthew 5ea14b6295 Added all the files to please hg :/ 18 years ago
matthew d0a4f8f2fb First commit, where do you want to go tomorrow? 18 years ago