Bram Matthys
4a547a766e
Remove HOOKTYPE_LOCAL_NICKPASS (now useless), see previous commit.
2019-12-23 16:42:10 +01:00
Bram Matthys
c9cf74a735
Drop support for sending server pass (PASS xx) to nickserv. Use SASL!
...
It wasn't working anyway in 5.0.0 and this behavior was non-standard.
2019-12-23 16:40:06 +01:00
Bram Matthys
e3b806ec60
Fix command override priorities again. Lowest value is called first,
...
just like hooks now. Yeah we've messed up a few times by now.
Seems only Gottem uses them :D
So now it would call for example: prio -10, prio 0, 10, 20, cmd.
This matches the behavior of hook priorities (and swhois etc.)
2019-12-23 13:10:33 +01:00
Bram Matthys
595e448239
If do_cmd() is called with NULL mtags then we now generate message tags,
...
run the command, and free them again right before return.
2019-12-23 10:56:25 +01:00
GottemHams
3a55dd8422
TKL exceptions (E-Lines) were missing an expiration notification =]
2019-12-22 21:33:35 +01:00
GottemHams
a1ae90cd16
Fixed incorrect order in which command overrides were processed
2019-12-22 19:01:53 +01:00
Bram Matthys
bf379526e1
Test framework: don't run with ASan on Debian 8 due to false positives
...
[skip ci]
2019-12-22 14:58:02 +01:00
GottemHams
fac16fe1c0
match_* functions actually return 1 on match and not 0 :D
2019-12-22 14:48:04 +01:00
GottemHams
35d6e9a067
Fixed mismatch in config variable naming for require-module
2019-12-22 14:47:07 +01:00
Bram Matthys
f1b30be34e
Print a better error message for users answering the wrong directory in
...
the first ./Config question.
2019-12-21 10:32:24 +01:00
Bram Matthys
d8af0c170b
sys/resource.h must be included earlier, otherwise ulimit (the fd limit)
...
is left unchanged at 1024.
2019-12-14 05:23:10 +01:00
Bram Matthys
4c255ccbd5
Remove some old "release candidate" references in the docs.
2019-12-13 09:15:18 +01:00
Bram Matthys
eac9cdc319
UnrealIRCd 5.0.0 release
2019-12-13 08:38:42 +01:00
Bram Matthys
25bc2b7923
Fix crash on nick change.
2019-12-12 16:58:26 +01:00
Bram Matthys
a46a2e050d
./Config: import settings from rc2/rc1.
2019-12-12 16:57:51 +01:00
Bram Matthys
f118f95ffa
Some minor release notes updates (need to quote some stuff)
2019-12-11 19:54:30 +01:00
Bram Matthys
9fc508483f
webredir module should not depend on curl (fix symbol not found error)
2019-12-11 19:54:17 +01:00
Bram Matthys
9a96c32706
Release notes: update text since --enable-asan is no longer on by default
...
[skip ci]
2019-12-11 18:05:13 +01:00
Bram Matthys
f3e538170e
Minor update in release notes
2019-12-11 17:21:38 +01:00
Bram Matthys
3a4d2d907a
Fix tkldb/channeldb causing a 'File exists' error every 5 minutes.
2019-12-11 13:10:26 +01:00
Bram Matthys
a078a5d659
Print a warning that upgrade-conf is for 3.2.x to 4.x, and not for 4.x to 5.x
...
since there are no mandatory changes. For more information why this is
unnecessary, see commit 32ca956e77 .
2019-12-11 12:23:43 +01:00
Bram Matthys
bc358e7b35
Bump UnrealProtocol to 5000 so I don't forget to do it later ;)
2019-12-08 18:47:51 +01:00
Bram Matthys
b9729a4f29
Fix bug in syncing spamfilters: ban act char vs string. Didn't always matter,
...
but for example 'gzline' became 'gline' on the other link.
Also replace 'unsigned short action' -> 'BanAction action'
2019-12-08 13:45:59 +01:00
Bram Matthys
32ca956e77
There were only 2 breaking changes in 4.x -> 5.x confs. Now there are 0.
...
Turning these errors into warnings instead should be fine and makes
the upgrade process (and instructions) easier.
* set::oper-only-stats is now a warning
* except tkl is auto-transformed into except ban and is now a warning
Both warnings contain clear instructions on what to do to get rid of
the warning message.
2019-12-08 09:33:38 +01:00
Bram Matthys
cad664e749
Fix invalid parameter in jumpserver module
2019-12-07 18:05:50 +01:00
Bram Matthys
4bfdd84712
Document send.c a bit more.
2019-12-07 16:00:03 +01:00
Bram Matthys
55cad6fe05
Fix SASL authentication not working properly on servers 2+ hops away
...
from services. Reported by Koragg and The_Myth in
https://bugs.unrealircd.org/view.php?id=5485
The test framework has been updated to test these cases better.
2019-12-07 10:08:27 +01:00
Bram Matthys
c1b6bebbf4
Add doc/doxygen/ to .gitignore
...
[skip ci]
2019-12-06 11:00:35 +01:00
Bram Matthys
9e652b95c7
Tweak doxygen output a bit. Drop -rc2 suffix. Make more clear that this
...
is for developers / module coders only.
[skip ci]
2019-12-06 09:01:21 +01:00
Bram Matthys
7764358eb7
Remove some old URL reference / old deprecation notice for set::scan.
2019-12-06 08:44:51 +01:00
Bram Matthys
d7301f1b11
Convert some http:// to https:// that were not previously updated it seems
...
[skip ci]
2019-12-06 08:43:37 +01:00
Bram Matthys
0bbb935a32
Rename CHECKPROTO() to CHECKSERVERPROTO() to avoid mixing up server caps
...
and client caps in the future.
2019-12-06 08:32:36 +01:00
Bram Matthys
a0b0526556
CAP LIST wasn't outputting anything. Reported by Koragg in
...
https://bugs.unrealircd.org/view.php?id=5483
2019-12-06 08:29:53 +01:00
Bram Matthys
d9166bd62d
Disable address sanitizer (ASan) now that we are preparing for 5.0.0 stable.
...
This can still be enabled during ./Config by answering to the last question:
--with-asan
But it is no longer enabled by default since it causes a slowdown of X and
increases memory by a factor Y.
2019-12-05 20:16:44 +01:00
Bram Matthys
bf61973a6d
Print a warning when changin me::name that this change is not effective
...
until you restart the server.
Yeah it's really too much hassle atm to make that particular setting
/rehash'able, this will probably never change.
Fortunately changing that is rather rare. At least printing the
warning should help those users doing it.
2019-12-01 19:06:22 +01:00
Bram Matthys
12af48a433
Typo in release notes, reported by Koragg
2019-12-01 15:02:40 +01:00
Bram Matthys
28539d41e0
Fix incorrect prototype for HOOKTYPE_TOPIC, has mtags.
2019-11-29 12:23:13 +01:00
Bram Matthys
35dd6c66b1
Fix doxygen documentation for sendto_channel
2019-11-29 12:21:58 +01:00
Bram Matthys
e5f9061636
Update Config.header a bit and release UnrealIRCd 5.0.0-rc2.
2019-11-29 08:18:50 +01:00
Bram Matthys
0f7f872a97
Update release notes and set version to 5.0.0-rc2. The actual public
...
release will probably be on Friday, though.
2019-11-27 19:37:38 +01:00
Bram Matthys
7869c31ea5
Add the extras/doxygen directory.
...
Command to generate is: doxygen extras/doxygen/Doxyfile
Will publish this "soon"... of course it's not 100% complete but it's quite good.
2019-11-27 16:53:49 +01:00
Bram Matthys
1576f8df23
Warn on some limitations of the @if stuff:
...
* Cannot use include within an @if
..but you can just use an include and then within that file use
an if, to work around it.
* Cannot use loadmodule within an @if
For both this is because include & loadmodule are processed before
the rest. I think most people will be fine with those restrictions,
though.
2019-11-27 16:45:39 +01:00
Bram Matthys
540e7552f9
Fix crash when using conditional configuration (@if $var == ....)
...
reported in https://bugs.unrealircd.org/view.php?id=5281
It was not removing parts properly if an if didn't match,
leading to a use-after-free bug on-boot (or on rehash).
In the process I renamed config_entry_free to config_entry_free_all
since that is what it does. And I created a new config_entry_free(ce)
to free only 'ce' stuff... which is what we want from the
preprocessor.
2019-11-27 15:44:48 +01:00
Bram Matthys
1a1b9ddada
If you changed listen::ip and rehashed it would not apply those changes
...
if you were switching from a IP-specific listener to a * (all) listener.
Reported by vectr0n in https://bugs.unrealircd.org/view.php?id=5235
2019-11-27 13:25:30 +01:00
Bram Matthys
7fe3407508
Clean up whitespace
2019-11-27 13:10:06 +01:00
Bram Matthys
05f0968ccd
Test the various set::tls (and ::tls-options) files for existence
...
so we properly error and exit/fail when booting.
Reported in https://bugs.unrealircd.org/view.php?id=5350
2019-11-27 13:06:02 +01:00
Bram Matthys
1e3d726df7
Setting user mode +q now requires the self:unkickablemode permission.
...
This is included in the *-with-override operclasses.
2019-11-27 12:35:58 +01:00
Bram Matthys
f6515131aa
Handle timed bans in combination with forward, eg: +b ~t:10:~f:#chan:*!*@host
2019-11-27 12:11:26 +01:00
Bram Matthys
0b8d435232
+L can now be set by +o (or higher) instead of requiring +q (channel owner).
...
Also, update helpop on the new meaning of +L: if unable to join, then
the user is forwarded to the specified channel.
2019-11-27 12:00:57 +01:00
Bram Matthys
ae30978680
Fix numeric 470, is now:
...
:irc.test.net 470 nickname #originalchannel #redirect :[Link] Cannot join channel #originalchannel (you are banned) -- transferring you to #redirect
Previously this was completely incorrect:
:irc.test.net 470 nickname [Link] Cannot join channel ..etc...
(yeah even lacking a colon)
2019-11-27 11:38:48 +01:00