Commit Graph
203 Commits
Author SHA1 Message Date
louiz’ 189015afb4 Conditionally compile the SASL code only with botan and database 2020-07-29 00:37:24 +02:00
louiz’ 2e1ddeb654 Implement SASL plain authentication 2020-06-15 00:18:51 +02:00
louiz’ 3339ce2cc0 Trivial little naming changes 2019-09-23 22:17:27 +02:00
louiz’ 478619b10a Trivial little syntax changes 2018-08-26 15:42:38 +02:00
louiz’ a3e865ad63 Fix a signed/unsigned mismatch 2018-08-24 22:49:31 +02:00
louiz’ 7d0df9b6dd Disable the throttle limit if negative
Also, invalid values result in -1 being set
2018-08-23 22:18:49 +02:00
louiz’ 7a4cea426d Reflect messages to XMPP only when they are actually sent 2018-07-24 23:16:14 +02:00
louiz’ 0d886d5f32 Default the throttle limit to 10 if not built with database support 2018-06-26 20:42:21 +02:00
louiz’ 52166e07ac Trivial syntax improvements 2018-06-25 22:57:13 +02:00
louiz’ 09b10cc801 Throttle all commands sent to IRC servers
fix #3354
2018-06-25 22:54:32 +02:00
louiz’ ba97c442a8 Remove an outdated TODO comment 2018-06-22 21:35:46 +02:00
louiz’ 0b8738d87a Archive the Mode messages, except if they are received for an unjoined chan
fix #3362
2018-06-22 21:35:46 +02:00
louiz’ 2f0e26db4c Channels’ disco#info includes the number of participants
fix #3311
2018-06-17 15:16:49 +02:00
louiz’ 7d3c1ed927 Do not use (or present to the user) the Address field in fixed mode
fix #3359
2018-05-23 01:09:36 +02:00
louiz’ a8e922fc89 Handle the NAMES message for an already-joined or non-existing channel
If a user manually does a NAMES query, the result were interpreted as a user
list, which is wrong. And with the special * argument, this would even cause
a crash.

Fix #3357
2018-05-15 19:34:58 +02:00
louiz’ 4f6bf078d2 Improve the forward_server_message to concatenate everything 2018-05-15 19:34:54 +02:00
louiz’ faa33c1a71 Pass an IrcClient* to send_muc_leave instead of doing an other search 2018-03-22 20:44:30 +01:00
louiz’ 577984faf2 Allow the execution of multiple commands after the IRC connection
fix #3275
2018-03-18 02:31:18 +01:00
louiz’ 06438fe8ec Remove an unused function 2018-03-12 01:34:10 +01:00
louiz’ bb476f4a0d Allow to override the addresses used to connect to an IRC network
fix #3273
2018-03-12 01:00:17 +01:00
louiz’ bb596582bd Add a <item/> node in the presence of a leaving participant
fix #3339
2018-03-12 00:13:59 +01:00
louiz’ 158d743bf5 Remove the virtual channel feature altogether 2018-03-12 00:13:59 +01:00
Ailin Nemui 435a63a070 Change max line length to more conservative constants 2018-01-10 13:36:53 +01:00
louiz’ fcaffb9e77 Add support for the "history" node on MUC join
Supports the "seconds", "maxstanzas", "since" and "maxchars" (but only =0)
attributes.

fix #3270
2017-08-27 22:37:46 +02:00
louiz’ 1997fb5c6a Small refactor in on_quit() 2017-08-24 23:56:00 +02:00
louiz’ c23c99dac1 Don’t forget to remove the user from the channel, when kicked
fix #3291
2017-08-24 23:55:32 +02:00
louiz’ 24f2511d7b In fixed mode, fix the iid type of the component JID 2017-07-20 21:28:18 +02:00
louiz’ f9a6f97396 Implement the roster presences from IRC servers 2017-07-16 00:16:43 +02:00
louiz’ 9fa1852c7e Send status code='332' on biboumi or IRC server’s shutdown 2017-07-08 18:10:47 +02:00
louiz’ 3a95076db4 Send a 110 status code on a QUIT received for ourself 2017-07-08 17:07:29 +02:00
louiz’ faed8952cb Remove a bunch of useless string_literal usage 2017-07-08 14:04:35 +02:00
louiz’ 50cadf3dac Implement our own database ORM, and update the whole code to use it
Entirely replace LiteSQL

fix #3271
2017-06-14 00:19:15 +02:00
louiz’ 0ee533256d Handle messages 367 and 368 to display the banlist in the MUC
fix #3234
2017-05-18 21:59:57 +02:00
louiz’ 3079c38d2d Refactor the channel::self to point at the existing user
This way, the user is always up to date, instead of being a duplicate out of
sync.

fix #3258
2017-05-18 16:12:10 +02:00
louiz’ bb150d587f Redirect welcome NOTICE to their channel, instead of sending a global one
fix #3236
2017-05-17 00:31:21 +02:00
louiz’ 0a8a77e64c Fix a segmentation fault when connecting to a server without a port
fix #3260
2017-05-02 15:00:21 +02:00
louiz’ 3af9d0ac67 Make sure we don’t exceed 512 bytes when grouping JOINs 2017-04-21 22:55:24 +02:00
louiz’ f588ce071e Group simultaneous JOINs into a single command, to avoid flooding
We still split the JOINs with a key and the ones without
2017-04-21 22:47:25 +02:00
louiz’ be9c577de8 Apply all the clang-tidy performance-* fixes 2017-04-07 19:01:49 +02:00
louiz’ ccb4ee098f Apply all the clang-tidy misc-* fixes 2017-04-07 18:53:12 +02:00
louiz’ 5402a256d1 Apply all the clang-tidy modernize-* fixes 2017-04-07 18:45:24 +02:00
louiz’ 1a09c965eb Remove two sneaky log_debug 2017-03-29 23:32:43 +02:00
louiz’ b7789fe586 Add a Persistent option on channels
fix #3230
2017-03-27 11:49:07 +02:00
louiz’ 0ab40dc1ab Refactoring louloulibs and cmake
Use OBJECT libraries
Remove the louloulibs directory
Write FOUND variables in the cache
2017-03-14 21:45:23 +01:00
louiz’ a0a2de3b4d Revert "Don’t send the unavailable presence to all resources, in the virtual channel"
This reverts commit 38ff50f5d2.
2017-03-08 22:28:00 +01:00
louiz’ 38ff50f5d2 Don’t send the unavailable presence to all resources, in the virtual channel 2017-03-08 22:09:57 +01:00
louiz’ f0bc6c83a8 Pass the shared_ptr by reference, to avoid useless copies 2017-03-08 19:04:15 +01:00
louiz’ 3ae4937fb4 Add missing <algorithm> include for last commit 2017-01-10 00:21:15 +01:00
louiz’ 6ececd9f39 Only try to join chans only once, even if we received multiple presences
ref #3228
2017-01-10 00:18:59 +01:00
louiz’ 4792c70635 Send a presence error from the room, when receiving command ERR_BADCHANNELKEY
fix #2886
2016-12-13 14:48:41 +01:00