Daniel Gultsch
5d4aa04e5d
support for jid escapting when displaying localpart only
2016-12-01 20:49:18 +01:00
Daniel Gultsch
44ce5df359
write prepped string to db. use display version everywhere else
2016-10-20 17:31:46 +02:00
Daniel Gultsch
d3dfecae8a
don't use display version of jids
2016-09-12 22:48:51 +02:00
Andreas Straub
a7c7a42136
Improve InvalidJidException handling in Jid class
...
This code should never be triggered anway, so with this 'fix', we should
at least get more meaningful stack traces. Plus, it makes the linter
happy by preventing NullPointerExceptions.
2015-10-11 16:05:44 +02:00
Andreas Straub
b69ee7125d
Force Nameprepping of JID domain parts
...
The IDN.toAscii()/IDN.toUnicode() family only namepreps the original
domain passed to it if it contained non-ASCII characters. This means
that for all-ASCII domains, no canonicalization is performed, which
leads to issues like case-sensitivity. This workaround explicitly
namepreps domain parts before calling IDN.toAscii() on them, in order to
get a canonicalized representation (most notably, case invariance). A
basic DB migration is also included.
2015-05-14 15:52:55 +02:00
Mateusz "maxmati" Nowoty?ski
74e5317095
Do not Strigprep JIDs from database
2015-03-11 15:59:31 +01:00
iNPUTmice
c5230e081c
added config option to disable string prep in jids
2015-03-05 10:15:04 +01:00
iNPUTmice
e10c4e78f1
experimantal in memory jid caching
2015-03-04 19:56:24 +01:00
iNPUTmice
9e10c3841e
check for null in jid parser
2015-02-26 16:56:07 +01:00
Sam Whited
af7a64491f
Add support for XEP-0191 (Blocking command)
...
Fixes #791
Squash of commits:
534f25d7dae3ce6852243e28fdd0a69ac01e9463
808fdf5147f27a912a60bee39aa4bf1ddd4f43b4
1eaf8a8330710ad35ba7c368e04f909af623ae4c
31585242c2359efdcd0eeddb9745077f54dbc9eb
2e69bd0bd0286ed1e98a42f4c3421ba4d8cf524b
e904fb5015bf3a1904ab941a1957edf3b1e7abd2
eebbadf3b3816bbf8fcccb763e419fed252d266f
7c5b87724ce494e5a6e8026557ed50a8fd9f23e8
b0eaaf446937794fe19cbdb4f8309c3ff83d4e42
8c652f9e8bb3512958d9ad8c6f1326505f2d98c8
ad0ea1ad948ff6f8fde7b0b10f5163dc8852032f
f5d49897e0dba691ef53a0eddb9ed34d129ad442
a08fa64c505bd895b7c626cfad182380373be20b
de67079113e08394a276048c31f6b21baa300829
9069f342173ba30c2b20c67529c7ff497a6a257d
0169fa79d161ee898c4b6762e207087682a952d8
8585a5bd75a5d56927fed8317729bd15fffe4dcc
0053528a078369e0b65dcf71bda251072a1299c7
e901a9c3554bd7cca193e92919b463991eadfea7
c5c78257434813c69ab9b7558bcc8f7cbe858433
e905af348d46d77bc46b5f7211527684acc02fab
13a0f9a10c7892b0f90f5fabd2f2615701b0fd66
2cfba1e24b0139839e4453b92be7e20634d150cf
58e074fb5bb44b05a8104250fccd7c024c808c1a
0d6cf98fc8eab212d798ac79b336f9b70a14f06d
e23620f56b85bcab9f3b5d9ce1c01524cd9674dc
d72cd2fcc8d54176c3ff53411a69b9bb4642eff3
195143dff8836623a37094a6b8fa6aa01ef31580
5f5f3caf3a1e480a99d27ee5c34ba516419c52e4
1dee3d5861c9f9c710da4cbda3688d94c622ca93
23949b8aa32c78b27bab49bb3c4f3ff588925ce1
9bf97f8ae522796e0dacb7f6fe7a7f90f86a93a1
2014-12-22 08:19:00 -05:00
Sam Whited
29a7828c5f
Allow JIDs such as "example.net/@"
2014-12-02 10:17:50 -05:00
Sam Whited
4f9dd82457
"example.net/@/" should be a valid JID.
...
Retab JID file
2014-12-02 10:09:31 -05:00
Sam Whited
3fc834c067
Fix RFC 6122 implementation
...
JID resourceparts should be able to contain "@" and "/" characters
2014-12-02 09:16:09 -05:00
Sam Whited
0e550789d3
Add SCRAM-SHA1 support
...
Factor out GS2 tokanization into own class
Add authentication exception class
Fixes #71
2014-11-14 18:00:12 -05:00
Sam Whited
2222483b42
Make sure we're storing the display JID as Unicode
2014-11-12 16:19:16 -05:00
iNPUTmice
c8a6b05163
made Jid class parse otr session ids
2014-11-10 11:37:31 +01:00
Sam Whited
53c7905631
Check for illegal arguments to the toASCII func
2014-11-09 09:05:02 -05:00
Sam Whited
1a3327f2b1
Create avatar's for JID's w/o localparts
2014-11-09 07:00:40 -05:00
Sam Whited
1f5908b1d1
Fix JID parsing error
2014-11-09 07:00:40 -05:00
Sam Whited
bf9207456e
Update another chunk of stuff to use JID objects
2014-11-09 07:00:40 -05:00
Sam Whited
f15900426d
Update more files to use JID objects
2014-11-09 07:00:40 -05:00
Sam Whited
9053f4aca0
Move a chunk of classes over to using JID objects
2014-11-09 07:00:40 -05:00
Sam Whited
a990861316
Use factories to generate JIDs
2014-11-09 06:59:49 -05:00
Sam Whited
a11878b139
Improve JID error handling
2014-11-09 06:59:49 -05:00
Sam Whited
8e23b6c272
Add first attempt at JID class
2014-11-09 06:59:49 -05:00