Commit graph

  • 39fc55dca3 require-module now SQUITs on explicitly required/denied modules (by config), also change version check to require a minimum version (require module::version config directive) GottemHams 2019-11-07 22:03:02 +01:00
  • 8fb125f588
    Add some connect and read timeouts to the module manager when checking repositories and downloading C files (this was a TODO item). Bram Matthys 2019-11-04 10:44:16 +01:00
  • 31edd45223
    Update release notes: require anope 2.0.7 (if using anope, that is) Bram Matthys 2019-11-03 16:50:42 +01:00
  • 1a6343bff3
    Fix missing cloak module on Windows (:D), just in time for 5.0.0-beta1. Bram Matthys 2019-11-02 09:13:20 +01:00
  • 449f69485f
    Fix some memory leaks in ./unrealircd module. Not terribly important at the moment, but still... Bram Matthys 2019-11-02 08:14:25 +01:00
  • 078c6696af
    Update release notes a bit [skip ci] Bram Matthys 2019-11-01 21:28:02 +01:00
  • 6bb83dc5bc
    Bump version to 5.0.0-beta1 Bram Matthys 2019-11-01 20:05:05 +01:00
  • 42d4d4a680
    Compile fixes for Windows Bram Matthys 2019-11-01 19:46:07 +01:00
  • 7bf51f36a6
    Fix column alignment in './unrealircd module list' Bram Matthys 2019-11-01 17:25:36 +01:00
  • 6402dfd2fe
    send_multinotice() -> sendnotice_multiline() Bram Matthys 2019-11-01 13:12:40 +01:00
  • dfa83aa6e5
    Add module manager. See https://www.unrealircd.org/docs/Module_manager Also update release notes and some unrelated changes. BIG commits. Lots of work. Requires more testing. Bram Matthys 2019-10-28 13:15:17 +01:00
  • 801d359ad1
    Allow importing build settings from UnrealIRCd 4.x, but don't copy 3rd party modules as they wouldn't compile anyway. Bram Matthys 2019-10-28 13:12:51 +01:00
  • c105e6958c
    Update curl-ca-bundle to version of Wed Oct 16 03:12:09 2019 GMT from https://curl.haxx.se/docs/caextract.html Bram Matthys 2019-10-27 10:23:12 +01:00
  • bcfa6389c2
    Update shipped PCRE2 library from 10.32 to 10.33 (16 Apr 2019) Bram Matthys 2019-10-27 10:18:14 +01:00
  • 86ce42103a
    Make the 'silence' module optional. Suggested by westor in https://bugs.unrealircd.org/view.php?id=5415 Technically we now provide 3 default efunc handlers that always return 0. Bram Matthys 2019-10-27 09:40:07 +01:00
  • 8bb5bda47a
    Pass correct modinfo argument to MOD_UNLOAD(). This fixes a crash on SavePersistentPointer(). Bram Matthys 2019-10-27 09:33:21 +01:00
  • e1e815bb2f
    Fix crash if 2+ REHASHes right after each other when also unloading a channel mode module with parameters or a module with moddata. Bram Matthys 2019-10-27 09:18:29 +01:00
  • 72d71e30ce
    Fix unloading of chanmode modules crashing the server. Reported by westor in https://bugs.unrealircd.org/view.php?id=5412 Bram Matthys 2019-10-27 09:07:43 +01:00
  • 03cdf5043f
    Fix +f not detecting repeats in case of 1st message, REHASH, 2nd message. This due to a missing SavePersistentPointer() on the siphash key. [skip ci] Bram Matthys 2019-10-27 08:51:01 +01:00
  • be68a72b42
    Hostile server: reject nicks that start with a digit in do_remote_nick_name() Bram Matthys 2019-10-27 08:44:28 +01:00
  • 5d7bd995fa
    Show correct idle time when a fresh user connects. Reported by The_Myth in https://bugs.unrealircd.org/view.php?id=5454 Bram Matthys 2019-10-26 19:18:24 +02:00
  • 298e9f2ea6
    Advertise 'configtest' in './unrealircd' usage/help. [skip ci] Bram Matthys 2019-10-26 19:02:25 +02:00
  • fb8055c6ef
    Add './unrealircd configtest' which tests the configuration but does not actually start the server. Any warnings and errors are printed only to the console. Suggested in https://bugs.unrealircd.org/view.php?id=5219 Bram Matthys 2019-10-26 18:55:26 +02:00
  • 52c8ef3815
    get_sno_str -> get_snomask_string, get_mode_str -> get_usermode_string, get_snostr -> get_snomask_string_raw, get_modestr -> get_usermode_string_raw Bram Matthys 2019-10-26 11:42:05 +02:00
  • 9b15c758cd
    make_virthost() -> make_cloakedhost() and change parameters: Bram Matthys 2019-10-26 11:38:53 +02:00
  • 21ef90e503
    Document channel mode api and two other files. Bram Matthys 2019-10-26 11:22:10 +02:00
  • da5aefaad7
    Get rid of class.h Bram Matthys 2019-10-26 10:02:00 +02:00
  • ab7a4af46a
    find_command(char *cmd, int flags) / find_command_simple(char *cmd) Bram Matthys 2019-10-26 09:58:42 +02:00
  • 9aff820d1a
    Find_* -> find_*, eg Find_alias -> find_alias. Bram Matthys 2019-10-26 09:57:15 +02:00
  • 64342a0d16
    Document api-command.c and command API page. Change find_Command. (more in next commit) Bram Matthys 2019-10-26 09:56:02 +02:00
  • 24c60fd85e
    Fix some doxygen tags (eg @notes to @note) Bram Matthys 2019-10-26 09:33:09 +02:00
  • 9c79ca6655
    Document all functions in src/channel.c Bram Matthys 2019-10-26 09:11:09 +02:00
  • 9050011300
    Document all functions in src/serv.c. Also remove the DALINFO command. Bram Matthys 2019-10-25 19:49:34 +02:00
  • 86d15804a8
    Document all functions in src/tls.c Bram Matthys 2019-10-25 19:31:30 +02:00
  • e9ab8fd45e
    Document all functions in src/support.c And replace atime(str) with config_checkval(str, CFG_TIME) Bram Matthys 2019-10-25 19:30:50 +02:00
  • c45181d07f
    Document (doxygen) src/misc.c entirely Bram Matthys 2019-10-25 14:29:14 +02:00
  • 845f9ca8ed
    Uniform spelling: seetle on sync/synced/desync/desynced, rather than synch/synched/desynch/desynched. Bram Matthys 2019-10-25 14:07:58 +02:00
  • c0f2e6be6a
    Remove src/extra.c and move the last function, ircd_log, to src/misc.c Bram Matthys 2019-10-25 13:59:59 +02:00
  • 47affa7f31
    Move some DCCALLOW functions Bram Matthys 2019-10-25 13:57:33 +02:00
  • 51b0a7a373
    Update HOOKTYPE_STATS: will now be called for unknown flags and for all known flags as well. So you can now add stats via modules. Only the stats help is currently missing if you do so. => Moved dccdeny stats to dccdeny Bram Matthys 2019-10-25 13:51:22 +02:00
  • 09854abade
    Move the dcc deny stuff into the dccdeny module, that is: functions from extra.c, entire undccdeny and svsfline, large functions that were in message.c and conf.c Bram Matthys 2019-10-25 13:10:46 +02:00
  • 88f45020d8
    Remove outdated STATS Z and STATS R information. Bram Matthys 2019-10-25 11:31:06 +02:00
  • ec1b2c60f2
    Remove src/cloak.c, integrate the function in src/user.c (also move the related one from src/misc.c to the same place) Bram Matthys 2019-10-25 11:26:08 +02:00
  • 75fa6a25b8
    Remove src/uid.c, integrate those two functions in src/user.c Bram Matthys 2019-10-25 11:23:07 +02:00
  • 84918ac68f
    Remove src/md5.c, integrate those two functions in src/misc.c Bram Matthys 2019-10-25 11:19:18 +02:00
  • 2fca0f9cc3
    Remove src/kline.c, integrate these 15 lines in src/serv.c Bram Matthys 2019-10-25 11:16:02 +02:00
  • 6ffcf62272
    Rename src/err.c to src/numeric.c Bram Matthys 2019-10-25 11:10:12 +02:00
  • cb4d2f9cf0
    Get rid of set::new-linking-protocol and __PANGPANG__ stuff for compatibility with old 3.2.x servers. Bram Matthys 2019-10-25 10:58:04 +02:00
  • 00aee86b66
    Clean up and document all functions in src/socket.c. Also, remove calls to and the finish_auth() function, which did nothing. Bram Matthys 2019-10-25 10:51:18 +02:00
  • 599f83cbd4
    Move some #define's out of the way, some re-indenting, .. Bram Matthys 2019-10-25 09:47:52 +02:00
  • 13b5ccda4f
    Merge bsd.c into socket.c (delete src/bsd.c). Bram Matthys 2019-10-25 09:38:27 +02:00
  • db85de54ca
    Remove packet.c, now that it is empty. Bram Matthys 2019-10-25 09:33:42 +02:00
  • e6c7fcda7d
    Move "real command" stuff to src/api-command.c and move dopacket() to src/parse.c. Also re-order functions in parse.c so they appear in logical order (1->2->3->4) rather than various helper functions first and some random order. Bram Matthys 2019-10-25 09:32:30 +02:00
  • 910477c94a
    Don't apply fake lag to servers Bram Matthys 2019-10-25 09:13:05 +02:00
  • fb0842216f
    Remove old bullet point in release notes that is now mentioned a few lines up. [skip ci] Bram Matthys 2019-10-19 18:32:54 +02:00
  • 8e3ba03752
    Convert remaining GLOBOPS to sendto_umode_global(). Yeah, don't worry, the GLOBOPS command will stay too, this is just an internal cleanup. Bram Matthys 2019-10-19 11:49:33 +02:00
  • e0533c5f80
    Use client id in SAJOIN and SAPART. This will break logging and oper notices on U4, but we'll deal with that later in some U4 release. Bram Matthys 2019-10-19 11:44:19 +02:00
  • 5960c76102
    Fix SETNAME not working, reported by s and The_Myth in https://bugs.unrealircd.org/view.php?id=5453 It had the match_spamfilter() logic reversed. I audited all other calls to the function as well and they are fine. Bram Matthys 2019-10-19 08:35:59 +02:00
  • 04171f7f20
    Clean up m_message a bit Bram Matthys 2019-10-18 14:40:15 +02:00
  • a72482bbb2
    Fix PRIVMSG/NOTICE showing send UID/SID to end-user due to change from a few days ago. Reported by westor. Bram Matthys 2019-10-18 14:10:01 +02:00
  • 5cd7134cc2
    Reject invalid SID from PROTOCTL. Bram Matthys 2019-10-18 14:00:46 +02:00
  • 9171d58ad0
    Some unimportant changes [skip ci] Bram Matthys 2019-10-18 13:54:40 +02:00
  • b9d432820b
    Update ./Config and the more/less screen, now that release notes are online (or in markdown format, anyway) we can skip some stuff. Bram Matthys 2019-10-18 08:40:00 +02:00
  • 6dffe38bd3
    Update release notes a bit [skip ci] Bram Matthys 2019-10-18 08:35:49 +02:00
  • e2158e3608
    Fix possible lack of string termination (NUL) in buildvarstring() Bram Matthys 2019-10-17 21:01:04 +02:00
  • 3a3c5b9c55
    Remove an abort() Bram Matthys 2019-10-17 07:44:23 +02:00
  • ff067cd826
    More kill path stuff gone now. Bram Matthys 2019-10-17 07:32:45 +02:00
  • 49c2f7c2c3
    Get rid of this whole kill path nonsense. Bram Matthys 2019-10-16 11:11:46 +02:00
  • bed8a0ca2b
    Remove set::oper-only-stats from config. Don't mention set::allow-user-stats there since that is a niche feature that 99% is unlikely to use. Bram Matthys 2019-10-14 18:50:24 +02:00
  • d0b9b02d05
    We no longer use a blacklist for stats (set::oper-only-stats) but have a whitelist now instead (set::allow-user-stats). Suggested by tabrisnet, The_Myth and Jobe in https://bugs.unrealircd.org/view.php?id=3375 and https://bugs.unrealircd.org/view.php?id=5109 Bram Matthys 2019-10-14 18:46:14 +02:00
  • 63298af6b2
    Get rid of BREPORT_xx mess. Bram Matthys 2019-10-14 17:36:04 +02:00
  • 87406d752b
    Fix crash on set::official-channels and deprecate it's use. Use +P channels instead now that all settings are preserved accross restarts. Bram Matthys 2019-10-14 16:10:27 +02:00
  • 446f9a89c3
    Assume password is sent when allow::password is cert/certfp and client has a SSL/TLS fingerprint. Reported by Stealth in: https://bugs.unrealircd.org/view.php?id=3372 Bram Matthys 2019-10-14 15:08:37 +02:00
  • 43593d12cb
    netinfo.c & server.c: use sendto_umode_global() rather than 2 functions. Bram Matthys 2019-10-14 12:23:09 +02:00
  • e1b0b0bc8e
    Make tracing bugs easier if you used AddListItem twice - or at least detect some cases of it (it will not detect the case where it is a single-item list). Bram Matthys 2019-10-14 08:53:05 +02:00
  • f9ec129bbd
    Make hunt_server() use SID/UID for sender and destination. Hopefully this doesn't break anything... Bram Matthys 2019-10-14 08:33:41 +02:00
  • 1a1ce5716e
    Move hunt_server from user.c to serv.c (makes sense). Bram Matthys 2019-10-14 08:33:12 +02:00
  • cc36b34f93
    Remove unnecessary (void) casts everywhere. Only use (void) for system/library calls that you want to ignore explicitly, eg (void)close, if the return value is irrelevant. Bram Matthys 2019-10-14 08:23:08 +02:00
  • c60bd2e441
    Try to use more me.id where possible (rather than me.name) Bram Matthys 2019-10-14 08:09:57 +02:00
  • d724bdc492
    Finish up changes from yesterday. Bram Matthys 2019-10-14 07:49:23 +02:00
  • f40c9f3c88
    Change various client->name to client->id in S2S traffic. More to follow tomorrow, including me.name to me.id changes (though these are far less important) and send.c + non-sendto_server hunts... Bram Matthys 2019-10-13 20:41:13 +02:00
  • 44f9423e13
    Remove ID() macro as client->id always contains a proper UID now. Bram Matthys 2019-10-13 20:11:58 +02:00
  • 1dde1721ad
    Reorder functions in nick.c in a more logical way. No actual code changes. [skip ci] Bram Matthys 2019-10-13 19:46:32 +02:00
  • b9a0f938c0
    Cleanup cmd_user since it's now client-only and move the server-bits into cmd_uid. Bram Matthys 2019-10-13 19:43:41 +02:00
  • a970e5ed9b
    Fix far connect notice to IRCOps being in incorrect format. Bram Matthys 2019-10-13 18:48:56 +02:00
  • 2c337dc58b
    Split off cmd_nick in cmd_nick_local and cmd_nick_remote and clean it up. Also, partially cleanup cmd_uid, but still work to be done there (the last part). Bram Matthys 2019-10-13 18:39:10 +02:00
  • 746ea5b558
    Clean up cmd_server / cmd_sid now that 100% of the network is SID. Bram Matthys 2019-10-13 16:22:56 +02:00
  • 154aab6ec4
    No need for clear functions since PROTOCTL does not allow it. Bram Matthys 2019-10-13 09:42:29 +02:00
  • bcfd2ab529
    Rip out support for servers lacking TKLEXT/TKLEXT2 (always send TKLEXT2 format) Bram Matthys 2019-10-13 09:39:00 +02:00
  • 560b73b6f7
    Similar to previous commits, but for UMODE2. Actually no change, though, since lack of UMODE2 was not supported in U4 anyway (maybe even 3.2.x). Bram Matthys 2019-10-13 09:35:31 +02:00
  • a9890448d8
    Rip out support for servers lacking SJ3 Bram Matthys 2019-10-13 09:33:39 +02:00
  • 545c2560e6
    Rip out support for servers lacking SIDs/UIDs. More cleanups will follow later for this one. Bram Matthys 2019-10-13 09:24:26 +02:00
  • 930ede1c86
    Rip out support for servers lacking SJOIN/SJOIN2 Bram Matthys 2019-10-13 09:09:59 +02:00
  • 0670bfffb9
    Rip out support for servers lacking NICKIP Bram Matthys 2019-10-13 08:59:26 +02:00
  • fb4d994f40
    Rip out support for servers lacking NOQUIT. Bram Matthys 2019-10-13 08:56:05 +02:00
  • 8d5f896790
    Rip out support for servers lacking NICKv2 Bram Matthys 2019-10-13 08:54:16 +02:00
  • c9b88343e2
    Fix not seeing own nick change if not in any channels. Reported by westor. Bram Matthys 2019-10-12 17:26:29 +02:00
  • bbf2cd3a3e
    Fix incorrect relaying of numeric replies from remote servers (eg WHOIS nick nick). Bram Matthys 2019-10-12 17:18:12 +02:00
  • 8383b714ce
    Fix crash on SASL. Reported by westor. Bram Matthys 2019-10-12 15:41:58 +02:00
  • 742e27802e
    Fix 100% CPU issue with message-tags after REHASH. (this fix is in alpha4) Bram Matthys 2019-10-12 09:11:04 +02:00