Peter
44e4b95a20
Welcome to 2025 ( #1929 )
2025-02-07 23:23:45 +00:00
Falk Rund
17a004aa0b
Welcome to 2024
...
[skip ci]
2023-12-31 21:09:25 +01:00
Alexey Sokolov
a1a254bef1
Update password hashes from SHA-256 to Argon2id
...
These days salted SHA-256 is considered quite weak for passwords.
Transparently upgrade existing hashes upon login.
Bump cmake requirement to able to use IMPORTED_TARGET, this will allow
further cleanup in next commits.
2023-09-27 01:11:07 +01:00
Falk Rund
f9fd05c307
Welcome to 2023
2023-01-01 06:49:00 +01:00
Alexey Sokolov
c55237be0b
Make CUser::Put* send to all clients
...
Instead of only networkless clients, which is a very rare case, because
most clients are connected to some network. This resulted in
CModule::PutModule to sometimes have no effect.
I fixed CUser::PutStatus and PutStatusNotice back in 2011 in
0b6d609014 , but missed these 3 functions.
Deprecate CUser::PutAllUser() which is now essentially alias to
CUser::PutUser().
2022-10-28 23:18:43 +01:00
Uli Schlachter
3e45b2f35f
Fix an ODR violation
...
Building with CFLAGS="-flto -Werror=odr -Werror=lto-type-mismatch
-Werror=strict-aliasing" CXXFLAGS="-flto -Werror=odr
-Werror=lto-type-mismatch -Werror=strict-aliasing" LDFLAGS=-flto fails
due to a violation of the one definition rule. There are two different
definitions of TOption that are both linked into the znc binary.
Fix this by putting them into anonymous namespaces.
Fixes: https://github.com/znc/znc/issues/1834
Signed-off-by: Uli Schlachter <psychon@znc.in >
2022-08-05 16:12:40 +02:00
Falk Rund
6402d241ac
Welcome to 2022
...
The same procedure as last year, Miss Sophie?
Same procedure as every year, James.
2022-01-01 14:05:32 +01:00
Bradley Shaw
fe475e1ef0
Add more deny options
...
DenySetIdent - Denies setting ident
DenySetNetwork - Denies adding/removing networks/servers
DenySetRealName - Denies setting realname
DenySetQuitMsg - Denies setting quitmsg
DenySetCTCPReplies - Denies adding/removing CTCP replies
2021-07-03 17:16:42 +01:00
MAGIC
99687b0f24
Welcome to 2021
2021-01-01 19:37:07 +01:00
MAGIC
9081aa971d
Welcome to 2020
2020-01-02 00:36:05 +01:00
Alexey Sokolov
8d309bbb3d
Merge branch '1.7.x'
2019-03-30 16:17:59 +00:00
Alexey Sokolov
64613bc8b6
Don't crash if user specified invalid encoding.
...
This is CVE-2019-9917
2019-03-22 00:22:00 +00:00
Alexey Sokolov
0ab205ccfa
Merge pull request #1628 from dgw/welcome-to-2019
...
Welcome to 2019
2019-01-08 22:50:58 +00:00
dgw
8d5427cf9b
Welcome to 2019
...
What are we going to do today, Brain?
The same thing we do every year, Pinky: Update all the copyright
headers!
[Skip CI]
2019-01-01 17:05:05 -06:00
Pierre Gordon
6af027c5dd
Normalize methods with 'UserName' to 'Username'
2019-01-01 16:19:27 -05:00
Pierre Gordon
812b27c268
Normalize variable "sUserName" to "sUsername"
...
Fixes #1546
2019-01-01 12:31:33 -05:00
Alexey Sokolov
6f5e39b166
Fix language selector. It didn't work.
2018-05-07 16:14:16 +01:00
Alexey Sokolov
9de990715b
More translateable strings ( fix #1354 )
2018-04-03 22:31:20 +01:00
Falk Seidel
d647eaabc0
Welcome to 2018
...
The same procedure as last year, Miss Sophie?
The same procedure as every year, James.
[skip ci]
2018-01-19 19:38:58 +00:00
Fox Wilson
42939c998f
Add "AuthOnlyViaModule" global/user setting
...
Setting AuthOnlyViaModule on a user causes CheckPass to never return true,
causing all authentication attempts using the configured password to fail, both
on IRC connections and for webadmin. This is useful in situations where an
external module (cyrusauth, certauth, imapauth) handles authentication. Setting
the global AuthOnlyViaModule option causes similar behavior across every
user. If AuthOnlyViaModule is set to true globally, it cannot be overridden
per-user.
Close #1474
Close #331
2017-12-22 14:23:17 +00:00
Vladimir Panteleev
03c4c0b165
Use and propagate microsecond-precision timestamps to FormatTime
...
This enables sub-second precision timestamp formatting for logs and
clients without server-time.
2017-10-26 00:00:51 +00:00
Alexey Sokolov
a719ea36aa
Make disconkick a module again.
...
While not kicking upon disconnect can cause desync with client and other
issues, there were multiple complains about the new behavior, and the
user should have the choice.
Revert 2f65dbbc64
Ref #968
2017-08-26 22:18:53 +01:00
Alexey Sokolov
10bfece38c
Switch znc.in URLs to https
2017-05-30 22:32:01 +01:00
Phansa
3189ce7f8a
Welcome to 2017
...
Welcome to 2017
temp
temp2
2017-03-12 20:34:26 -04:00
Alexey Sokolov
b666931883
Add an option to change ping timeout time.
...
Fix #979
2016-12-26 15:49:26 +00:00
Alexey Sokolov
6fbab7b44c
Add CIDR support to TrustedProxy setting
...
Fix #1219
2016-12-25 13:00:02 +00:00
Alexey Sokolov
07cabc3c00
Treat real name similarly to quit message, except that the number isn't shown.
...
See #818 and #1244
2016-02-23 22:36:45 +00:00
Alexey Sokolov
dfba82fc9a
Merge branch '1.6.x'
2016-02-23 22:23:39 +00:00
Alexey Sokolov
71cdb81fe8
Don't save ZNC version to config as part of quit message.
...
Introduce one more string for ExpandString.
Fix #1244
2016-02-18 22:18:08 +00:00
Alexey Sokolov
8eeeaf71a0
Add framework for translating ZNC to different languages
2016-01-31 20:09:19 +00:00
Alexey Sokolov
e9006634cb
Merge branch '1.6.x'
2016-01-09 18:23:06 +00:00
Alexey Sokolov
5d014193b4
Don't require reconnect after changing encoding.
2016-01-09 18:18:44 +00:00
Falk Seidel
8f73840e74
Welcome to 2016
...
🎆 Happy 2016 🎆
2016-01-01 20:11:21 +01:00
Donal Cahill
0a3ef43a2e
Fix string comparison.
2015-12-13 23:23:12 +00:00
Donal Cahill
15c200c908
Disallow CIDR /00000
2015-12-13 23:16:58 +00:00
Donal Cahill
2ec724a256
Fix char comparison.
2015-12-13 20:13:19 +00:00
Donal Cahill
db7e1ef162
Fix up CIDR code.
2015-12-13 15:36:35 +00:00
Donal Cahill
56c97af14b
Improve code quality.
2015-12-13 12:23:08 +00:00
Donal Cahill
a5540557ac
Fix another memory leak.
2015-12-13 08:10:40 +00:00
Donal Cahill
8748abb525
Try to fix memory leak.
2015-12-13 07:58:04 +00:00
Donal Cahill
d6b839ef85
Remove AI_ADDRCONFIG from CIDR IP conversion.
...
IPv6 tests will fail if AI_ADDRCONFIG is set. It's not really needed.
2015-12-13 07:39:10 +00:00
Donal Cahill
b4bb4fa0cd
Add support for CIDR notation in allowed hosts list.
...
Fixes #207
2015-12-13 06:31:51 +00:00
Alexey Sokolov
16a8c77737
Replace virtual with override where possible.
...
Using clang-tidy
2015-12-08 20:51:50 +00:00
Alexey Sokolov
d185d6f22d
clang-format: switch tabs to spaces
...
I like tabs, but I have to admit that spaces make source code more
consistent, because every editor/viewer tends to render tabs differently :(
2015-12-07 00:53:30 +00:00
Alexey Sokolov
33b0627d75
Add clang-format configuration.
...
For now, it uses tabs like before, to make the diff easier to read/check.
One of following commits will switch it to spaces.
2015-12-07 00:53:01 +00:00
Jos Ahrens
2c8baa8193
ExpandString %network%, alphabeticize ExpandString list
2015-10-08 21:39:02 +02:00
J-P Nurmi
6ad7cdb4a2
Resolve #818 : "Got ZNC?" is a little weird real name
2015-09-20 23:22:01 +02:00
J-P Nurmi
2b18d6ee38
Merge pull request #1020 from jpnurmi/traffic
...
Calculate per-network traffic (#963 )
2015-09-02 01:01:13 +02:00
J-P Nurmi
64e39aca88
Merge pull request #1049 from kerio92/appel_du_vide
...
Add an %empty% substitution in ExpandString that expands to the empty string.
2015-09-01 22:14:29 +02:00
J-P Nurmi
d9479189ea
Merge branch '1.6.x'
2015-09-01 21:41:05 +02:00