Commit Graph

32 Commits (master)

Author SHA1 Message Date
Martin Dosch 8f2bb80ebe
Use deferred file close. 1 week ago
Martin Dosch d2f758b4f9
Use `fmt.Errorf()` instead of `errors.New()` to create new error messages. 1 week ago
Martin Dosch 953de9c86d
Fix check for valid URIs. 4 weeks ago
Martin Dosch 2329b04dfe
Change short id length. 1 month ago
Martin Dosch c276543729
Also use google/uuid for ShortID. 1 month ago
Martin Dosch 79897fd295
Use fast.bin for fast cache file
So it's clear that this is no clear text file and it is not supposed to
be edited by the user.
2 months ago
Martin Dosch 61f5ab705d
Add support for FAST authentication. 2 months ago
Martin Dosch 5ecfe200c1
Revert "Do not use sasl2 uuid attribute."
This reverts commit 557d105238.
2 months ago
Martin Dosch 9f9c533941
Add support for SASL2 and BIND2
Squashed commit of the following:

commit 0805b1f06a
Author: Martin Dosch <martin@mdosch.de>
Date:   Tue Apr 9 10:57:29 2024 +0200

    Move to upstream go-xmpp.

commit 557d105238
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 12:45:10 2024 +0200

    Do not use sasl2 uuid attribute.

commit 986aea7957
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 11:29:33 2024 +0200

    Don't print error on io.EOF

commit ef927ce5cc
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 11:25:40 2024 +0200

    Detect stream error while receiving stanzas.

commit 73b00f0612
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 10:00:54 2024 +0200

    Use a client uuid per JID.

commit b2d090a623
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 09:29:50 2024 +0200

    Improve sasl2 user agent id stuff.

commit c7376832ce
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 09:11:03 2024 +0200

    Rework getting data path.

commit 080100486e
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 08:49:49 2024 +0200

    Update go-xmpp.

commit 9c56a79bae
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 00:26:04 2024 +0200

    SASL2: Create per client installation ID.

commit cce36b070a
Author: Martin Dosch <martin@mdosch.de>
Date:   Sat Apr 6 22:20:35 2024 +0200

    Update go-xmpp.

commit 1c4acfd07c
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 12:04:09 2024 +0200

    Update go-xmpp.

commit 0703a7c2d6
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 11:38:28 2024 +0200

    Update go-xmpp.

commit 4f033fc5b9
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 09:39:30 2024 +0200

    Update vendored lib.

commit a44554218d
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 09:32:54 2024 +0200

    Use google/uuid for message IDs.

    It is used for go-xmpp in the sasl2 branch anyway.

commit 3e57ec3603
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 09:12:50 2024 +0200

    Update vendored modules.

commit ead44ef99d
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 09:12:25 2024 +0200

    Add . between go-sendxmpp and short id.

commit b3271a3530
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 08:38:03 2024 +0200

    Update Changelog.

commit 639b9b6657
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 08:22:56 2024 +0200

    Add short ID back to resource string.

    That's still necessary to avoid two instances with the same resource
    when using SASL instead of SASL2.

commit 680593359b
Author: Martin Dosch <martin@mdosch.de>
Date:   Thu Apr 4 23:56:15 2024 +0200

    Experimental sasl2 support.
2 months ago
Martin Dosch b004015e18
Don't unwrap errors when checking errors. 10 months ago
Martin Dosch 2f76178a22
Replace invalid characters with UTF8 replacement char. 10 months ago
Martin Dosch a912408d16
Wrap and unwrap errors. 12 months ago
Martin Dosch ea4b1a7de4
Start wrapping errors. 12 months ago
Martin Dosch 61027844d2
[golangci-lint]: Don't use magic numbers. 12 months ago
Martin Dosch 7de155af64
[golangci-lint]: Use stronger random number generator for rPad. 12 months ago
Martin Dosch b79e7dd502
Check error for file.Close(). 12 months ago
Martin Dosch 8e693c5934
Improve rpad generation.
Use runes instead of bytes to always reach a multiple of 100
symbols for message body + rpad.
1 year ago
Martin Dosch 437cd7eec6
Remove copyright years. 1 year ago
Martin Dosch 4fbd7efb91
Make sending of OOB URLs more robust. 1 year ago
Martin Dosch d481aa688c
Add support for sending files OOB. 1 year ago
Martin Dosch dd9566eaee
Move string validation into own helper function. 2 years ago
Martin Dosch 1214e7920f Revert "Ox: Improve rpad"
This reverts commit 83c92bd4cc.
2 years ago
Martin Dosch 83c92bd4cc Ox: Improve rpad
Pad to a multiple of 200 bytes as recommended.
2 years ago
Martin Dosch 433e974a4a Clean up. 2 years ago
Martin Dosch 917dabe6af Ox: Improve rpad generation. 2 years ago
Martin Dosch 6556ab1188 Ox: Change rpad from random length to length dependent on message length
The length of message + the length of the rpad will always be a
total length of a multiple of 100.
2 years ago
Martin Dosch 13dc48bbb4 Remove println. 2 years ago
Martin Dosch 658ef9b653 Ox: Use crypto/rand instead of math/rand for rpad. 2 years ago
Martin Dosch 644b1f809d Use shorter random string for resource. 2 years ago
Martin Dosch 20953ab1ac Move file reading into own helper func. 2 years ago
Martin Dosch e9e0d8c735 Add experimental Ox (OpenPGP for XMPP) support. 2 years ago
Martin Dosch 3c9f8fac45 Move id function to helpers file. 2 years ago