path: root/src
AgeCommit message (Collapse)Author
2020-05-09Fix clang warnings on some utils function. It’s also fasterlouiz’
2020-05-09Fix a std::move() warning with clanglouiz’
2020-05-09Fix a compile error with gcc 10louiz’
Fix #3431
2020-02-25Remove all identd sockets on exit signallouiz’
fix #3420
2020-02-25Add an error message for udns error DNS_E_NODATA (cherry-picked from master)louiz’
In cases where the DNS server does not respond “domain not found” but “domain found, but no IP for that record type”, we just say “domain not found” too (instead of nothing, previously).
2020-02-25Ignore malformed identd querieslouiz’
fix #3422
2020-02-25Only consider sockets that are in valid states as identd candidateslouiz’
When an identd query happens, we check all the connected sockets for their local and remote ports, to compare them with the query. But we MUST only consider the connected ones because: - It doesn’t make sense to answer for a connection that has just been closed - A non-connected sockets is not in a valid state for this (specifically here: its ::port attribute is empty) fix #3421
2020-02-25Fix a typo in a function name (match_pairt)louiz’
It’s totally harmless
2018-06-01Make the global ad-hoc configure command available in fixed modelouiz’
2018-05-23Do not use (or present to the user) the Address field in fixed modelouiz’
fix #3359
2018-05-15Handle the NAMES message for an already-joined or non-existing channellouiz’
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-15Improve the forward_server_message to concatenate everythinglouiz’
2018-04-29mam: Send “fin complete” only when appropriatelouiz’
Also simplify how we did the whole “limit + 1” And fix one bad interpretation of the XEP for the case where the query has no after or before restriction. fix #3349
2018-04-29Missing fields in a data-form response are now interpreted as an empty valuelouiz’
2018-04-28Merge branch 'v7'louiz’
2018-04-28Fix a crash when botan policy does not allow any available ciphersuitev7louiz’
2018-04-24Only use the ID to order archiveslouiz’
fix #3343
2018-04-24Revert "Use a different Date data type"louiz’
This reverts commit 857c7d3972a03cbeebf730d99b924d3710dee6a0.
2018-04-24Revert "Use the Date to find a next page in RSM, not the id"louiz’
This reverts commit 5ef7ba08028065b03d51d1dc70bb35aeb41ae19d.
2018-04-16Use Config::is_in_list() to allow for multiple adminsEmmanuel Gil Peyrot
2018-04-16Add a Config::is_in_list() methodEmmanuel Gil Peyrot
2018-04-16Use jid.bare() instead of manual concatenationEmmanuel Gil Peyrot
2018-04-14Use the Date to find a next page in RSM, not the idlouiz’
This way, it works, whatever the order of insertion in the database was. fix #3343
2018-04-13one log_debug -> log_error, also some trivial indentlouiz’
2018-04-13Remove two unused (julianday) functionslouiz’
2018-04-13Refactor that fixes a compilation issue in Release modelouiz’
Some template specialization were not found, because they were not declared at the point they were used. We moved things around, things are less inter-dependant, and also now it works.
2018-04-11Fix a build warning when compiling without postgres or sqlitelouiz’
2018-04-11Use a different Date data typelouiz’
PLEASE backup your database before testing this commit, and report any migration issue. In postgresql, we use timestamp with timezone. In sqlite3 we use REAL (the date is expressed as julianday) This requires a migration of the muclogline_ table: In postgresql it’s pretty simple, we convert all the integer into timestamps With sqlite3, we actually rename the table, create the new one with the correct type, then copy everything to the new table, with a conversion function for the Date_ column, and then we delete the old table. fix #3343
2018-03-31Send the stanza-id for messages received by other userslouiz’
fix #3347
2018-03-26Channel disco-info: use shorter stringGeorg Lukas
2018-03-23Change the nick of the joining user AFTER sending all the join stufflouiz’
fix #3305
2018-03-23Properly handle force-join presences by sending everything in returnlouiz’
fix #3305
2018-03-23Check that db.prepare worked before using the returned statementlouiz’
2018-03-22Pass an IrcClient* to send_muc_leave instead of doing an other searchlouiz’
2018-03-19Add a missing pointer checklouiz’
2018-03-19Add a nick field in the IRC server configuration formlouiz’
fix #3317
2018-03-19Re-connect to postgresql when the connection is lostlouiz’
fix #3336
2018-03-18Don’t reflect an empty id if it was not includedlouiz’
Instead, generate a uuid for that message
2018-03-18Advertise the muc#stable_id feature on disco#info resultslouiz’
From XEP 0045: “Note: the requirement to reflect the 'id' attribute was added in version 1.31 of this XEP. Servers following the new specification SHOULD advertise that with a disco info feature of '' on both the service domain and on individual MUCs, so that clients can check for support.”
2018-03-18Reflect message IDs in channel MUCslouiz’
fix #3283
2018-03-18Use a transaction around the DELETE + INSERT of the after_connection_commandslouiz’
Otherwise we can imagine that two clients changing this value at the same time would mix things up. ref #3275
2018-03-18Allow the execution of multiple commands after the IRC connectionlouiz’
fix #3275
2018-03-17Revert "Use std::optional<bool> instead of OptionalBool"louiz’
This reverts commit ba879a882e031d7b8503f78fe41d1210000c96ca.
2018-03-17Revert "Use if constexpr to make things a lot more readable"louiz’
This reverts commit d62ca9f87906be6f046fe9d07afb8bfb69c166e3.
2018-03-16Use if constexpr to make things a lot more readablelouiz’
2018-03-16Use std::optional<bool> instead of OptionalBoollouiz’
2018-03-15follow coding styleAilin Nemui
2018-03-13optional identdAilin Nemui
2018-03-12Remove an unused functionlouiz’
2018-03-12And this one (hostname -> address)louiz’
ref #3273