Commit graph

  • 020421a01c
    Mention websocket type negotiation (Sec-WebSocket-Protocol) in release notes. [skip ci] Bram Matthys 2021-06-04 10:39:18 +0200
  • f6c2b93c72
    Show how many sockets/clients the server can handle in 'STATS S'. Suggested by westor in https://bugs.unrealircd.org/view.php?id=5838 Bram Matthys 2021-06-04 10:09:28 +0200
  • 67deb7ec8c
    UnrealIRCd script: restart is now identical to stop+start (:D) Bram Matthys 2021-06-04 09:16:44 +0200
  • 25db0c73e4
    Compiler too dumb to detect this properly... Bram Matthys 2021-06-04 09:11:15 +0200
  • 6771c98d76
    Move check for secret block to beginning of unrealdb_open() so we don't end up with a 0 byte file due to an easy-to-avoid error later on. Bram Matthys 2021-06-04 09:09:06 +0200
  • 148ea98307
    Load chathistory module by default Bram Matthys 2021-06-04 08:46:09 +0200
  • a7f2406557
    Add security-group "webirc" by default. This matches users who connect through approved webirc gateways, the ones in https://www.unrealircd.org/docs/WebIRC_block Bram Matthys 2021-06-02 19:31:35 +0200
  • e126d924a5
    Somehow DEBUGMODE was turned on by last commit, now off again by default. Bram Matthys 2021-06-02 19:31:05 +0200
  • 40bc3ef8cc
    Bump version to 5.2.0-git. This is still work in progress. Bram Matthys 2021-06-02 15:27:14 +0200
  • d9b80d889f
    Update curlinstall script for ./configure from cURL 7.77.0 and above. Bram Matthys 2021-06-02 14:35:37 +0200
  • d360ae7845
    Add some markup in release notes [skip ci] Bram Matthys 2021-05-30 19:37:51 +0200
  • 517298007d
    If no log { } block is present, we used to only log errors to ircd.log. From now on we simply enable ALL logging to ircd.log, so also connects, kills, and so on. Bram Matthys 2021-05-30 19:32:48 +0200
  • 3eb0bc24ea
    Add log::flags "flood" to log flood messages Bram Matthys 2021-05-30 19:30:36 +0200
  • f8a732747b
    Get rid of mempool LOG_DBG which is never used Bram Matthys 2021-05-30 19:27:35 +0200
  • 6358a2e5ff
    Remove this check due to clang complaining. Whatever. Bram Matthys 2021-05-30 19:11:50 +0200
  • 5acef88ceb
    All violatons of target-flood, nick-flood, join-flood, away-flood, invite-flood, knock-flood, max-concurrent-conversations are now reported to opers with the snomask 'f' (flood). Bram Matthys 2021-05-30 19:09:46 +0200
  • cb604d6df0
    Update release notes [skip ci] Bram Matthys 2021-05-30 18:49:18 +0200
  • 6f92233919
    The set:anti-flood block has been redone so you can have different limits for "unknown-users" and "known-users". As a reminder, by default, "known-users" are users who are identified to services OR are on an IP that has been connected for over 2 hours in the past X days. See https://www.unrealircd.org/docs/FAQ#new-anti-flood-block for more information on the layout of the new block. Bram Matthys 2021-05-30 18:40:03 +0200
  • 3076ed5a98
    Make pretty_time_val() output like "2m30s" instead of "2 minutes 30 seconds". I think people will understand both and it is currently rather long. And a bit confusing too with all the spaces, easy to overlook something eg in /STATS S where it is being used. Bram Matthys 2021-05-30 14:50:27 +0200
  • 79ded54df1
    Make join-flood use the new framework too, well... partially anyway. Bram Matthys 2021-05-28 18:08:07 +0200
  • 36b9faa7cd
    Code cleanup: move flood control to generic system Bram Matthys 2021-05-28 17:59:39 +0200
  • 3e1f092afc
    Rename FLD_* to CHFDL_* in chanmodes/floodprot.c, so it does not clash with future stuff. Bram Matthys 2021-05-28 15:48:12 +0200
  • 191990b881
    Code cleanup: at some places "ClientUser" was used instead of "User". Bram Matthys 2021-05-28 15:25:59 +0200
  • d9c0397e25
    Code cleanup: this zeroing isn't useful as we already memset. Bram Matthys 2021-05-28 15:25:10 +0200
  • da519ae04a
    Get rid of duplicate checks for anti-flood. Sorry this is too much effort and i think admins should be smart enough to figure this out themselves. Bram Matthys 2021-05-28 14:50:29 +0200
  • e1e718f982
    Update release notes [skip ci] Bram Matthys 2021-05-28 10:38:32 +0200
  • 78ca5ecc3e
    Add "draft/bot" message tag to messages from +B clients. As mentioned in https://ircv3.net/specs/extensions/bot-mode Bram Matthys 2021-05-28 10:36:38 +0200
  • 0bd813733f
    Fix file header [skip ci] Bram Matthys 2021-05-28 10:07:26 +0200
  • 845a582d76
    Add support for +draft/reply and load the module by default. See https://ircv3.net/specs/client-tags/reply for the draft. Bram Matthys 2021-05-28 09:14:40 +0200
  • 4db7866676
    Update release notes [skip ci] Bram Matthys 2021-05-26 11:27:27 +0200
  • d3ee89ffa5
    Fix help.conf Bram Matthys 2021-05-26 07:51:43 +0200
  • a85a38e69d
    Add the ability to SPAMFILTER message-tags. The new target type is called 'T' and we match against "name=value" of each message tag (or just "name" if it is without value). Bram Matthys 2021-05-25 20:25:31 +0200
  • 264ed614fc
    Implement Sec-WebSocket-Accept from https://github.com/ircv3/ircv3-specifications/pull/342 Bram Matthys 2021-05-24 18:33:55 +0200
  • 872aa93635
    Move some string helpers to src/misc.c skip_whitespace() and read_until() Bram Matthys 2021-05-24 18:32:57 +0200
  • cd9ac916de
    Allow setting set::history::channel::playback-on-join::lines to zero in case you want to disable this feature. Bram Matthys 2021-05-24 09:48:57 +0200
  • 3ded34b405
    Windows: run db tests [skip ci] Bram Matthys 2021-05-24 09:22:17 +0200
  • 2375c35f2b
    Fix crashreporter to show big warning if you have 3rd party modules loaded. The code to raise this warning was already present but it was not being shown in many cases (when it actually should). Bram Matthys 2021-05-24 08:38:07 +0200
  • 842e06d7d3
    Possibly fix small memory leak. Bram Matthys 2021-05-23 13:59:57 +0200
  • 92b9fa07a1
    Make history backend non-PERM so it can be upgraded on the fly. Tested: * Rehashing and sending messages before after (multiple times) * Terminating * Unloading by commenting out Bram Matthys 2021-05-23 13:55:40 +0200
  • 88d7829e5b
    Allow lower set::restrict-commands::xyz::connect-delay values. Suggested by Le_Coyote in https://bugs.unrealircd.org/view.php?id=5873 Bram Matthys 2021-05-23 09:46:33 +0200
  • 137cc7f20b
    Update some URLs Suggested by westor in https://github.com/unrealircd/unrealircd/pull/136 Bram Matthys 2021-05-23 09:41:57 +0200
  • 9c0710a9a4
    Adjust +H setting if a channel goes -r and had a high setting that was only allowed for registered channels (+r). Bram Matthys 2021-05-23 09:21:17 +0200
  • 7ccbb6ebf1
    Update release notes [skip ci] Bram Matthys 2021-05-22 19:29:23 +0200
  • b6626b2b60
    Update module coders section in release notes [skip ci] Bram Matthys 2021-05-22 19:06:49 +0200
  • 3ad6878865
    Set new maximums for channel mode +H. If the channel is +r then the maximum is now 5000 lines / 31 days. For unregistered it is 200 lines / 31 days. Previous setting was 200 lines / 7 days for both. Bram Matthys 2021-05-22 17:40:38 +0200
  • 7a22ec8b6b
    Announce CHATHISTORY=xx in 005 Bram Matthys 2021-05-22 15:32:29 +0200
  • d6b64de162
    Silence compiler warning by reordering stuff. Bram Matthys 2021-05-22 15:14:29 +0200
  • 8431cd43b2
    Fix read-after-free Bram Matthys 2021-05-22 14:59:54 +0200
  • c0b86c757c
    Change chanmode +H parameter to show hours and days when needed and possible if it rounds off nicely, eg +H 100:7d. Note that the existing syntax is still accepted, eg +H 20:1440 and +H 20:1440m are both converted to 20:1d. Bram Matthys 2021-05-22 14:41:57 +0200
  • c6873292b9
    Implement CHATHISTORY TARGETS... Except that it still needs to order the result by timestamp, which it does not do at the moment. Bram Matthys 2021-05-22 13:36:16 +0200
  • 937cc94940
    Add CAP draft/chathistory and don't send history-on-join if this CAP is enabled by a client. Bram Matthys 2021-05-22 12:16:52 +0200
  • abeb222eed
    Implement CHATHISTORY BETWEEN Bram Matthys 2021-05-22 11:43:19 +0200
  • 188dc7792d
    Fix crash on remote CHATHISTORY cmd (by servers/services). Bram Matthys 2021-05-21 07:20:26 +0200
  • 3543bff286
    Update list of donators Bram Matthys 2021-05-19 19:24:18 +0200
  • cda145b62a
    Add initial version of CHATHISTORY command from https://ircv3.net/specs/extensions/chathistory Bram Matthys 2021-05-19 14:30:42 +0200
  • ad84a5227a
    Remove version check for curl and libssl. Nowadays they have ABI guarantees so it should all be OK. (And nowadays they probably are true too :D) Bram Matthys 2021-05-18 20:35:33 +0200
  • 7f0cae0473
    Remove warning in release notes on file corruption, now that things are more tested. [skip ci] Bram Matthys 2021-05-17 16:46:31 +0200
  • 9a7f2b0ea2
    Update for DB tests, now finished in test framework. Bram Matthys 2021-05-17 16:35:03 +0200
  • c916d1d9ef
    Allow secret::password-file to only exist on-boot, so after booting the file is allowed to no longer exist. This so you can do things like only connecting an USB stick during UnrealIRCd boot and then pull it out once booted. Bram Matthys 2021-05-17 15:18:28 +0200
  • 013184533d
    Add DB writing/reading tests to BuildBot so it is tested on every commit. Bram Matthys 2021-05-17 12:45:35 +0200
  • be81152da7
    Move hash generation outside cfg() and do it early just to be safe. Bram Matthys 2021-05-17 12:38:43 +0200
  • 8c71cd1a65
    * Make channeldb write the db on terminate * Fix channel history issues with writing on terminate * Change tkldb and reputation to only write the db on terminate and not on every REHASH anymore Bram Matthys 2021-05-17 11:47:28 +0200
  • c79cc6f430
    Add ModuleSetOptions(modinfo->handle, MOD_OPT_UNLOAD_PRIORITY, priority); so modules can indicate if they wish to be unloaded before or after others. This is used by the channel and history modules so they can save their databases before the chanmodes modules are unloaded. Bram Matthys 2021-05-17 11:43:46 +0200
  • 74083d7440
    In AddListItemPrio() explicitly set item->priority to prio. Bram Matthys 2021-05-17 11:39:45 +0200
  • 4fa468bd4f
    on DelListItem set prev/next to NULL on the item itself (not the list) Bram Matthys 2021-05-17 11:31:55 +0200
  • d7bf35e0d9
    Set loop.ircd_terminating when IRCd is terminating (signal 15, /DIE, etc) Bram Matthys 2021-05-17 11:08:54 +0200
  • 61e0ed3d03
    Give UnrealIRCd 10 seconds to terminate insteads of just 1, now that we may have more database writing to do on terminate. Bram Matthys 2021-05-17 09:02:04 +0200
  • 263593634e
    Flush any dirty history log files to disk on terminate (eg: ./unrealircd stop) Bram Matthys 2021-05-17 08:47:39 +0200
  • cb3c0b48ca
    Don't call hbm_delete_db() if not running in persistent mode. Bram Matthys 2021-05-17 08:10:51 +0200
  • ae873ab25a
    Compile fixes for Windows Bram Matthys 2021-05-16 19:13:03 +0200
  • f79fec62f1
    Add CAP unrealircd.org/history-backend which declares the policy/ configuration on how history is stored (in memory and/or on disk). This is similar to other disclosing policies like unrealircd.org/link-security and unrealircd.org/plaintext-policy. The reason for this cap (and similarly the other caps) is that the user can make an informed decision on whether it finds the policy/safety/privacy of an acceptable level or not. Bram Matthys 2021-05-16 17:49:39 +0200
  • e58b22c45d
    Write some early release notes. [skip ci] Bram Matthys 2021-05-16 17:26:35 +0200
  • 011cc9e1d5
    Persistent channel history: prevent mixing of .db files from elsewhere. Bram Matthys 2021-05-16 17:25:36 +0200
  • 5e4d9cdc61
    Delete persitent history immediately when channel goes -P. And also handle -P+P. Bram Matthys 2021-05-16 17:18:52 +0200
  • 5c8752dfc6
    Get rid of various warnings/errors due to recent work. Bram Matthys 2021-05-16 16:57:01 +0200
  • 14a99d755e
    UnrealDB history: Use SHA256 with pre- and post- hashsecret for the file names, instead of MD5. Bram Matthys 2021-05-15 20:53:12 +0200
  • 13f9afeaf4
    Add sha256hash() function for convenience. Bram Matthys 2021-05-15 20:48:04 +0200
  • 05dd788dab
    Add support for secret::password-prompt (entering on console) This is one of the 3 currently supported methods. Documentation will follow later. Bram Matthys 2021-05-15 18:52:01 +0200
  • 1752afee44
    Move running_interactively() from crashreport.c to misc.c Bram Matthys 2021-05-15 18:28:21 +0200
  • 55b0422dd0
    Bail out sooner, otherwise confusing. Bram Matthys 2021-05-15 18:28:03 +0200
  • 3bf0c9e653
    Add support for persistent channel history, if the channel is +P and +H. This is not enabled by default and requires additional configuration, documentation will follow later. Bram Matthys 2021-05-15 15:43:07 +0200
  • 95cfafcd51
    Include dirent.h by default. Bram Matthys 2021-05-15 15:42:34 +0200
  • 73ae7ccbef
    Mod API: Add CONFIG_SET_HISTORY_CHANNEL so chanmodes/history can delegate configuration to history_backend_mem. Bram Matthys 2021-05-15 15:39:58 +0200
  • ff84f17f72
    Move strtolower_safe() from antirandom to support.c Bram Matthys 2021-05-15 15:38:57 +0200
  • 7fa0e07487
    UnrealDB: Oops, previous commit broke unrealdb_write_str() w/NULL strings. Bram Matthys 2021-05-05 19:20:33 +0200
  • 8783280a68
    Make UnrealDB big-endian-proof. Rather rare, but you never know on what hardware people end up running UnrealIRCd. Bram Matthys 2021-05-05 18:59:09 +0200
  • df3bb510a1
    Windows: Ignore compiler warning C6029 in unrealdb.c as it is a false positive. Bram Matthys 2021-05-05 13:44:33 +0200
  • 623745d274
    Fix Windows BuildBot [skip ci] Bram Matthys 2021-05-05 11:23:42 +0200
  • bd11d06a39
    Windows compile fixes for unrealdb and libsodium. Bram Matthys 2021-05-05 10:49:15 +0200
  • 214a98addb
    Add libsodium to Windows build [skip ci] Bram Matthys 2021-05-05 09:48:17 +0200
  • deffc908e3
    Document UnrealDB API and get rid of unrealdb_write_data/unrealdb_read_data. API users must use specific size/type functions instead, otherwise it is simply too dangerous / too easy to overlook issues. Bram Matthys 2021-05-04 10:47:03 +0200
  • cc348701a2
    UnrealDB: check for write errors in all conditions (not just some) And set the error message/code properly. Didn't set it before because of 'c' being freed, but we have unrealdb_get_error_code() and unrealdb_get_error_string() now that can (and should) still be used in such cases. Bram Matthys 2021-05-04 09:07:37 +0200
  • a349fa2ae4
    UnrealDB: Fix for short read / final end of file (for unencrypted files) Bram Matthys 2021-05-04 09:01:04 +0200
  • 4f8ac3c6cf
    UnrealDB: Fix reading final end of file (crypto-side) Bram Matthys 2021-05-04 08:55:08 +0200
  • 282162b4aa
    Various small UnrealDB fixes Bram Matthys 2021-05-04 08:36:45 +0200
  • 576f8b1aae
    Fix bug with unrealdb caching Bram Matthys 2021-05-03 18:25:59 +0200
  • 2a29c2f3b3
    Update tkldb to use UnrealDB functions Bram Matthys 2021-05-03 18:06:05 +0200
  • 2340f14973
    Fix unrealdb reading due to last-minute change earlier today Bram Matthys 2021-05-03 18:04:56 +0200
  • 1606f28555
    Add unrealdb_write_char() / unrealdb_read_char() Bram Matthys 2021-05-03 17:48:23 +0200
  • 6860046b20
    Make the "UnrealIRCd 4 is no longer supported" section a bit shorter in the release notes. [skip ci] Bram Matthys 2021-05-03 15:33:41 +0200