Commit graph

  • 1c87882d3e
    Add missing config.RELOAD logging when using ./unrealircd rehash (via control socket) Bram Matthys 2023-01-11 14:00:08 +01:00
  • c5d8bc5d9b
    Fix ~account:* matching both logged in and logged out users (so quite useless). This bug exists since 5.2.1 already, so i guess the functionality is not used much ;). Makes sense, since for simple ~account:* you have +R already, so it is only useful in stacked bans such as +e ~nickchange:~account:* Bram Matthys 2023-01-09 08:58:10 +01:00
  • 5897ce3aad
    Version bump various modules. [skip ci] Bram Matthys 2023-01-08 15:50:25 +01:00
  • 35c49108df
    JSON-RPC: Add optional "set_by" field when adding/removing TKL's, so in name_ban, server_ban, server_ban_exception and spamfilter. Bram Matthys 2023-01-08 15:43:00 +01:00
  • ed8a3f0336
    JSON-RPC add server_ban_exception.* API calls Docs: https://www.unrealircd.org/docs/JSON-RPC:Server_ban_exception Bram Matthys 2023-01-08 15:35:08 +01:00
  • d0ad776e93
    Minor code cleanup (move error out of params into local vars, as it didn't belong there..) [skip ci] Bram Matthys 2023-01-08 15:03:18 +01:00
  • 0244c31742
    Split of some code from cmd_eline() into server_ban_exception_parse_mask(), similar to how *LINE commands use server_ban_parse_mask(). Now used by ELINE and for JSON-RPC later... Bram Matthys 2023-01-08 14:56:56 +01:00
  • c95e3f249e
    JSON-RPC: add name_ban.list, name_ban.get, name_ban.add, name_ban.del Bram Matthys 2023-01-08 09:56:41 +01:00
  • 5db86cb442
    Fix crash in server_ban.* when using non-serverban types such as qlines and exceptions (for which no interface exists yet, btw :D). Bram Matthys 2023-01-08 09:19:44 +01:00
  • 9d04710e3a
    In DEBUGMODE allow for verbose rpc logging with request/responses. (And also fix a logging statement that had the wrong category) Bram Matthys 2023-01-08 09:02:01 +01:00
  • 20d1487922
    JSON-RPC: add channel.kick, update struct initalization, and use REQUIRE_PARAM_* and OPTIONAL_PARAM_* everywhere in the channel.* API handlers. Bram Matthys 2023-01-07 19:01:45 +01:00
  • 191553e403
    Update early release notes a bit. [skip ci] Bram Matthys 2023-01-07 18:38:04 +01:00
  • 998687bf13
    Bump version to 6.0.6-git Bram Matthys 2023-01-07 18:15:11 +01:00
  • 243958f85a
    Add REQUIRE_PARAM_STRING(), REQUIRE_PARAM_BOOLEAN(), OPTIONAL_PARAM_STRING, OPTIONAL_PARAM_BOOLEAN() and use it everywhere in the user.* API calls. Much cleaner now :) Bram Matthys 2023-01-07 17:54:52 +01:00
  • fb96e4581b
    JSON-RPC: add user.part and slightly change user.join the option is now called 'force':true for consistency. Bram Matthys 2023-01-07 17:38:38 +01:00
  • 046c8654c6
    JSON-RPC: add user.join, which uses SVSJOIN (normal join) or SAJOIN (bypass all channel restrictions). See https://www.unrealircd.org/docs/JSON-RPC:User#user.join Bram Matthys 2023-01-07 17:24:00 +01:00
  • 884cc7f04d
    JSON-RPC: add user.quit. The difference between that and user.kill is explained at https://www.unrealircd.org/docs/JSON-RPC:User Bram Matthys 2023-01-07 16:57:48 +01:00
  • 6a2a8e798b
    JSON-RPC: add user.kill Bram Matthys 2023-01-07 16:48:41 +01:00
  • 9d65b8a4ed
    Use better defaults in user.set_oper Already documented at https://www.unrealircd.org/docs/JSON-RPC:User#user.set_oper Bram Matthys 2023-01-07 16:41:52 +01:00
  • aef8611f91
    Change SVSO to use the prefix "remote:<name>" instead of "services:<name>" because it can be used by JSON-RPC now and this fits for both :D. Bram Matthys 2023-01-07 16:19:17 +01:00
  • e7615210a7
    JSON-RPC: add user.set_oper [skip ci] Bram Matthys 2023-01-07 16:18:30 +01:00
  • 541eba0670
    JSON-RPC: add user.set_mode & user.set_snomask Bram Matthys 2023-01-07 15:55:22 +01:00
  • 619282397e
    Add json_object_get_boolean(): int json_object_get_boolean(json_t *j, const char *name, int default_value) [skip ci] Bram Matthys 2023-01-07 15:54:49 +01:00
  • 9898d332ab
    JSON-RPC: add user.set_vhost Bram Matthys 2023-01-07 15:30:08 +01:00
  • 318d183f23
    JSON-RPC: add user.set_username and user.set_realname Bram Matthys 2023-01-07 15:23:34 +01:00
  • 18d7e98d35
    Return true from ValidatePermissionsForPath() for &me. Bram Matthys 2023-01-07 15:20:48 +01:00
  • 4378979ad5
    Add valid_username() so we can use it at multiple places. This gets rid of duplicate code in SETIDENT, CHGIDENT, and soon in the RPC call. It does not get rid of make_valid_username() in src/modules/nick.c which does something slightly different. Bram Matthys 2023-01-07 15:11:52 +01:00
  • a9d0c6fd1a
    JSON-RPC: make channel.set_mode and channel.set_topic return just result:true. I don't think it should return the whole channel struct here as if it was a channel.get. Only thing is that, especially or only with set_mode, it may actually be 100% success... eg if your mode line is wrong :D. Bram Matthys 2023-01-07 14:56:36 +01:00
  • 5589a78255
    JSON-RPC: add user.set_nick This also makes the "forced nick change" message a bit more generic, leaving out the "by services" or "due to Services", since it is now possible to do it via JSON-RPC. Bram Matthys 2023-01-07 14:52:44 +01:00
  • 7d9dcb5e0a
    Allow SVS* commands to be sent by non-ulined servers by default, this is needed by various future JSON-RPC calls. See https://www.unrealircd.org/docs/Set_block#set::limit-svscmds Bram Matthys 2023-01-07 14:17:27 +01:00
  • 62d62c4e88
    channel.set_mode: mode->modes, parameter->parameters Bram Matthys 2023-01-07 10:24:26 +01:00
  • b2a6f3cfee
    JSON-RPC: add channel.set_mode Bram Matthys 2023-01-07 10:21:19 +01:00
  • 14107d88be
    Add set_channel_topic() and use it from cmd_topic (TOPIC) Bram Matthys 2023-01-07 10:16:18 +01:00
  • 66d7fb804d
    JSON-RPC: add channel.set_mode Bram Matthys 2023-01-07 09:41:01 +01:00
  • 141c4bc64d
    Use consts in set_channel_mode() [skip ci] Bram Matthys 2023-01-07 09:39:44 +01:00
  • 5a32333360
    JSON-RPC: show +vhoaq in "channels" in user.* and in "members" in channel.* as requested in https://bugs.unrealircd.org/view.php?id=6206 And also for channel.get, in "members", include the UID in "id". Bram Matthys 2023-01-05 17:44:46 +01:00
  • bef2f428f4
    JSON-RPC: Really show *all* channels a user in. This because for JSON-RPC you expect all accurate data, while in contrast with JSON logging the channels are just there for convenience and only show the first X channels, since otherwise the data gets too long and gets truncated (JSON logging uses channel detail level 0). Bram Matthys 2023-01-05 16:52:56 +01:00
  • 143b7262cc
    JSON-RPC: add channel.get which also includes members and +beI lists. Documented at https://www.unrealircd.org/docs/JSON-RPC:Channel under "When using the channel.get API call, more details are available" Bram Matthys 2023-01-05 16:39:59 +01:00
  • ccbd320338
    JSON-RPC over Websocket: don't close websocket connections after ~30s, keep them open, but do a websocket ping/pong to check if the connection is alive. This is usually handled by browsers themselves, but if you are using websockets from a non-browser then you may have to PONG back on a PING, see https://www.rfc-editor.org/rfc/rfc6455#section-5.5.2 (note that PING-PONG is a requirement there) Bram Matthys 2023-01-04 13:50:57 +01:00
  • b33628b765
    JSON-RPC over Websockets: Fix bug with >64Kb responses. Eg if there are 10.000 users online and you do user.list. The old websocket framing assumed no response was >64Kb. Bram Matthys 2023-01-04 13:07:10 +01:00
  • d6a3db4ad2
    Add listener::mode so for file sockets you can specify the mode permissions. Valid choices are 0700, 0770 and 0777, see the documentation at https://www.unrealircd.org/docs/Listen_block Bram Matthys 2023-01-04 10:01:25 +01:00
  • 8ca6341f38
    When someone includes "rpc.modules.default.conf" create a *NIX socket listening in data/rpc.socket, because why not... only the ircd user has access to it by default (well, and root). Bram Matthys 2023-01-03 19:27:56 +01:00
  • dca5680665
    Add snomask 'R' for RPC usage (JSON-RPC). Bram Matthys 2023-01-03 17:44:29 +01:00
  • b5c86981fa
    JSON-RPC server_ban.add: fix "duration_string" being interpreted totally wrong. Something like "1h" was intepreted as unixtime 3600 (=expired long ago). For absolute times there is already "expire_at" (JSON timestamp). Bram Matthys 2023-01-03 09:59:25 +01:00
  • a8def63c09
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2023-01-02 17:43:10 +01:00
  • 64e5de4c8c
    ExtBanAdd: Actually enforce conv_param as a required event. This was documented as optional in include/modules.h but on https://www.unrealircd.org/docs/Dev:Extended_Bans_API it was always mentioned as required. In practice, I know of no module that does not have this, in UnrealIRCd or third party (doing zero filtering is quite a bad idea). Bram Matthys 2023-01-01 09:40:38 +01:00
  • aa80ecaeb7
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-30 22:49:42 +01:00
  • 6d81d04036
    Re-add --enable-opt to sodium, and remove it from jansson. This fixes the fix in 8d228f5dbe. Bram Matthys 2022-12-30 11:54:49 +01:00
  • 64ea321186
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-29 20:03:37 +01:00
  • 3f197dee36
    Fix several mistakes in example conf (all my bad, i think): * A fatal parse error due to a } too much in Turkish example conf * In all example*.conf except::connect-delay -> except::connect-time Bram Matthys 2022-12-29 19:41:08 +01:00
  • 75368e462a
    ** UnrealIRCd 6.0.5 ** Bram Matthys 2022-12-29 09:10:02 +01:00
  • 8952666c4f
    Update release notes [skip ci] Bram Matthys 2022-12-29 09:03:27 +01:00
  • 6b7fa40443
    Update release notes [skip ci] Bram Matthys 2022-12-29 08:52:32 +01:00
  • eda57821ec
    Fix compile error due to previous commit (#246) Valerie Pond 2022-12-26 18:04:37 +00:00
  • 895bbd3a35
    When authprompt kicks in and the session timeouts, show the original ban reason from the *LINE (or other ban type). Eg /GLINE %*@192.168.* 0 :Please authenticate using SASL would now, if the user has authprompt enabled and the connection times out, exit the client after ~30 secs with "Please authenticate using SASL", instead of "Registration timeout" (pre 6.0.5-rc2) or the generic "Account required to login" (6.0.5-rc2). This to help clients and users who do not type or display anything. Bram Matthys 2022-12-26 10:11:47 +01:00
  • 7897782747
    *** UnrealIRCd 6.0.5-rc2 *** Bram Matthys 2022-12-23 08:52:41 +01:00
  • 4e171eca0d
    Update release notes [skip ci] Bram Matthys 2022-12-23 08:33:56 +01:00
  • 58e83bbe58
    Another fix for set::authentication-prompt::enabled 'no' being ignored (#245) Valerie Pond 2022-12-21 16:21:30 +00:00
  • eca0035e8d
    Actually fix previous-previous-commit cdd0e4116d Bram Matthys 2022-12-21 10:09:23 +01:00
  • eab827688d
    Fix RPC spamfilter.* (and tkl.*?) not going through fully net-wide due to bogus sender. [skip ci] Bram Matthys 2022-12-21 10:06:23 +01:00
  • cdd0e4116d
    RPC spamfilter.add: convert reason to underscores internally when adding Bram Matthys 2022-12-21 09:57:53 +01:00
  • 9b1c24c2fa
    When timing out on authprompt, error with "Account required to connect". More ideally it would show the full *LINE reason but that is something for a later release. Inspired by https://bugs.unrealircd.org/view.php?id=6202 Bram Matthys 2022-12-21 09:30:08 +01:00
  • 7dedbf1a69
    Fix set::authentication-prompt::enabled 'no' being ignored (#243) Valerie Pond 2022-12-21 08:01:47 +00:00
  • d4dbf62781
    Fix link warning about moddata creationtime (#233) Valerie Pond 2022-12-21 07:54:55 +00:00
  • 2ff03be8a0
    Log who actually initiated a /CONNECT (both local and remote). Reported by Noisytoot in https://github.com/unrealircd/unrealircd/pull/244 Bram Matthys 2022-12-21 08:50:17 +01:00
  • db30b3c7fc
    Rebuild ./configure due to previous commit Bram Matthys 2022-12-18 08:50:14 +01:00
  • d9d423ad7a
    configure.ac: fix -Wimplicit-function-declaration (#242) Sam James 2022-12-18 07:21:46 +00:00
  • 50725c6035
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-17 12:47:09 +01:00
  • c31b4836c8
    Reorder release notes a bit [skip ci] Bram Matthys 2022-12-14 19:52:35 +01:00
  • 06f1357698
    Get rid of forgotten references to ./unrealircd upgrade-conf (#241) ZarTek @ CREOLE 2022-12-14 19:47:43 +01:00
  • b53f23416d Unrealircd to UnrealIRCd ZarTek @ CREOLE 2022-12-14 16:17:29 +01:00
  • 67ec21f4e9 unreal to unrealircd ZarTek @ CREOLE 2022-12-14 15:20:44 +01:00
  • 4e408d59de ./unreal to ./unrealircd ZarTek @ CREOLE 2022-12-14 15:18:11 +01:00
  • 9f8dc9be40 Update help.conf PeGaSuS 2022-12-12 09:39:24 +01:00
  • e2364a31df
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-12 18:58:45 +01:00
  • 4992804f4e
    Enhance ./unrealircd start and ./unrealircd restart: * The ./unrealircd start command will now refuse to start if UnrealIRCd is already running. * The ./unrealircd restart command will validate the configuration file (it will call ./unrealircd configtest). If there is a configuration error then the restart will not go through and the current UnrealIRCd process is kept running. Bram Matthys 2022-12-12 14:58:20 +01:00
  • 037f9d6dcf
    Add internal timeout to unrealircdctl, just in case UnrealIRCd hangs. This because we will soon use that script for 'start' too... [skip ci] Bram Matthys 2022-12-12 14:54:07 +01:00
  • b7f2ce9fd8
    Show better error on ./unrealircd start when .so files are missing. And refer to https://www.unrealircd.org/docs/FAQ#shared-library-error Bram Matthys 2022-12-12 09:13:50 +01:00
  • c06d89afa3
    Merge branch 'unrealircd:unreal60_dev' into piss60 angryce 2022-12-11 15:30:42 +01:00
  • 165639a007
    Fix ExtBanAdd() for bans that are registered in both MOD_TEST and MOD_INIT leading to duplicates. The effect was that in the 005 EXTBAN= string some letters showed up twice like EXTBAN=~,aacfjmnpqrrtCCGGOSST. Reported by jesse in https://bugs.unrealircd.org/view.php?id=6199 Bram Matthys 2022-12-10 10:39:51 +01:00
  • d82473d930
    Update README.md angryce 2022-12-07 14:03:01 +01:00
  • 4825d5a9a6 Merge branch 'unrealircd-unreal60_dev' into piss60 angryce 2022-12-07 14:01:12 +01:00
  • 7722ec1aa2 Merge branch 'unreal60_dev' of https://github.com/unrealircd/unrealircd into unrealircd-unreal60_dev angryce 2022-12-07 14:00:53 +01:00
  • 6ae5c9d77f
    Fix leak of 1 file descriptor per /REHASH (the control socket). In "/STATS P" one additional UNIX control socket appeared after each "/REHASH". Reported by jesse. Bram Matthys 2022-12-07 12:33:12 +01:00
  • c56d0b7f18
    Update release notes: fix browser reference, has to be <1.2 and not =1.2. Bram Matthys 2022-12-07 12:26:12 +01:00
  • 85537efdbd
    BuildBot on Windows: Updates for new libraries [skip ci] Bram Matthys 2022-12-07 11:03:17 +01:00
  • e29b815c13
    Update shipped argon2: change Makefile to use 'lib' directory instead of subdir Otherwise things get installed in ~/unrealircd/lib/x86_64-linux-gnu/ which confuses the rest of the system and has no added value whatsoever in our case. Bram Matthys 2022-12-07 09:45:59 +01:00
  • ac5c517774
    *** UnrealIRCd 6.0.5-rc1 *** Bram Matthys 2022-12-07 09:10:22 +01:00
  • 8d228f5dbe
    Remove unused --enable-opt argument to jansson ./configure Bram Matthys 2022-12-07 09:06:42 +01:00
  • 8f311bb975
    Update shipped argon2 to 20190702 (latest release) from https://github.com/P-H-C/phc-winner-argon2/releases Bram Matthys 2022-12-07 08:59:40 +01:00
  • efaba7f91e
    Rename argon2-20181209.tar.gz to argon2.tar.gz so name keeps consistent like all the other shipped libs. Bram Matthys 2022-12-07 08:57:59 +01:00
  • bb0a50d839
    ** UnrealIRCd 6.0.5-rc1 ** Bram Matthys 2022-12-07 08:44:09 +01:00
  • 36a8949d59
    Fix "/STATS o" returning (null) items when advanced matching criteria are being used. This also applies to similar use in some other /STATS like tld blocks. Bram Matthys 2022-12-07 08:30:52 +01:00
  • 7bab7144ed
    Send empty batch on CHATHISTORY request for a user (non-channel), which makes it similar behavior to channels that are not +H. Bram Matthys 2022-12-07 08:15:41 +01:00
  • 7bacf25845 Add ACCOUNTEXTBAN ISUPPORT token Valentin Lorentz 2022-11-23 19:54:06 +01:00
  • 36d9e8e720
    RPC spamfilter.*: fix validations not working due to changes yesterday Bram Matthys 2022-12-06 17:20:29 +01:00
  • fe8661da3d
    RPC: implement spamfilter.del and spamfilter.get Bram Matthys 2022-12-05 15:39:59 +01:00
  • 61e68d65da
    Update a comment [skip ci] Bram Matthys 2022-12-05 14:51:22 +01:00
  • d9ac4cac07
    Add RPC 'rpc.info': returns list of RPC methods, RPC module name and version. This can be useful for checking if a server supports something and what format it expects or returns things, etc. Bram Matthys 2022-12-05 14:48:14 +01:00
  • 5b0899ac4f
    And more release notes updates... [skip ci] Bram Matthys 2022-12-05 09:48:30 +01:00