Falk Rund
ad6a397ca4
Welcome to 2026
...
[skip ci]
2026-01-01 13:44:32 +01:00
KindOne
cd8587ddba
log: Use suggested changes.
...
Co-authored-by: Alexey Sokolov <alexey+github@asokolov.org >
2025-06-19 17:30:58 -04:00
KindOne
79491ad2af
log: Create helper.
2025-06-19 04:33:17 -04:00
KindOne
754ebdf822
log: Fix OnQuitMessage.
2025-06-16 03:31:45 -04:00
KindOne
6903c458b1
log: Use new On...Message for events.
2025-06-15 03:22:27 -04:00
Alexey Sokolov
ebfe1143e4
log: don't log user quit to disabled channels
...
Fix #1925
2025-03-16 22:00:11 +00:00
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
Peter Ajamian
1240ddc693
Add TODO entry to move account logic to a separate method.
2023-08-13 22:29:48 +12:00
Peter Ajamian
0a0ce543fa
sAccount for consistency
...
All CString variables should start with the letter s.
2023-08-12 21:55:09 +12:00
Peter Ajamian
47b815ae5b
Add account to joins for the log module.
...
This commit adds the account name for identified users to "Joins" lines in logs
generated by the log module. It can get the account name from either the
account tag (if the account-tag capability is requested) or the extended-join
info (if the extended-join capability is requested). The current version of ZNC
requests both, but this feature will still work if the IRC server only supports
one or the other.
2023-08-09 19:13:54 +12:00
Falk Rund
f9fd05c307
Welcome to 2023
2023-01-01 06:49:00 +01: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
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
girst
fe8d447a60
listify two-column tables
...
excluded are the Q and partyline modules, as they are deprecated. There
are some tables that have more than two columns, but could likely be
easily modified, but this will be attempted at a later time.
2019-05-29 18:49:18 +02: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
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
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
e86efb08bd
Fix build
2017-09-08 00:06:34 +01:00
Alexey Sokolov
d51159a330
Log: add ShowSettings command, rework Set command, #601
...
Make more strings translateable, #1354
2017-09-07 23:35:18 +01:00
Eli Young
d32ac7c184
Log user quit messages
...
Since OnIRCDisconnected() doesn't include the quit message, and OnQuit()
isn't called when the user quits, we need to hook OnSendToIRCMessage().
2017-04-21 17:45:16 -07:00
Phansa
3189ce7f8a
Welcome to 2017
...
Welcome to 2017
temp
temp2
2017-03-12 20:34:26 -04:00
Falk Seidel
8f73840e74
Welcome to 2016
...
🎆 Happy 2016 🎆
2016-01-01 20:11:21 +01: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
Walliski
54ab10a311
Removed AsLower from $USER and $NETWORK since these are case sensitive
2015-10-27 01:35:57 +02:00
Toon Schoenmakers
03e3920ced
Add options for log module to hide joins, quits and nick changes.
...
Fix #601
Close #613
2015-08-23 21:20:36 +01:00
Alexey Sokolov
1a574f95ae
Merge pull request #978 from alprs/log-timestamp
...
log: Add -timestamp option (cont.)
2015-08-23 20:38:42 +01:00
Andreas Lutro
c2201a59d6
work on log module argument parsing
2015-08-23 20:17:44 +02:00
J-P Nurmi
87bd738eb6
log: C++11 range-based for loops
2015-08-13 00:46:56 +02:00
Gustavo Zacarias
9a51195e91
Add <time.h> includes where appropiate
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
2015-08-06 11:20:54 -03:00
NuclearW
5ca8cb51ba
log: Add -timestamp option
...
Allows users to define a new timestamp as formatted by strftime through CUtils::FormatTime
Additionally -sanitize is no longer necessarily the first argument, but -timestamp and the actual timestamp must be last as it can contain spaces.
2015-06-21 14:03:51 +02:00
J-P Nurmi
6002bd5c2b
Remove unnecessary virtual keyword occurrences
...
This makes it convenient to 'grep virtual' and 'grep override' :)
2015-02-25 18:33:09 +01:00
J-P Nurmi
539c519cce
Mods: use case-insensitive wildcmp() for channel/host matching
...
Fixes #822
2015-02-23 22:35:46 +01:00
Falk Seidel
2e29d49a53
Welcome to 2015
2014-12-31 11:28:38 +01:00
J-P Nurmi
f9318d02cf
modules: use override keyword
...
Resolves #736
2014-11-05 08:00:02 +01:00
J-P Nurmi
bbd393d84f
log: add support for logging rules
...
By default, everything is logged. The first matching rule wins.
Negation (!) and wildcards (*) are supported.
For example, disable logging for all channels, except #znc:
/msg *log setrules #znc !#*
Queries do not match either of the above rules, so they get logged.
2014-10-26 22:58:45 +01:00
J-P Nurmi
1bacec1dd3
Modules: use public API
...
Avoid accessing protected member variables directly, so
there's a chance of cleaning up the module API later.
2014-10-06 21:51:36 +02:00
Cameron Stephen
e570466683
Update Grammar on Modules section of ZNC.
2014-10-05 20:31:13 +02:00
Kyle Fuller
cf633ee435
[log] $WINDOW should be last because it could contain %
...
Thanks to @NuclearW for spotting
2014-09-30 18:28:20 +01:00
Mikaela Suomalainen
3f76b8fb1a
log: use more clear defaults
...
Before log module creates everything in same directory and it gets messy
in some time.
Now log module creates directory in format $USER/$NETWORK/$WINDOW and
there log files for every day in ISO 8601 format, YYYY-MM-DD.log.
2014-09-13 15:53:32 +03:00
Rasmus Eskola
9670d0bdc0
make the log filename lower case always
...
this fixes an annoying bug where two separate log files will be written
if an irc client sends to channel #Foobar and another irc client sends
to channel #foobar.
2014-07-22 00:50:54 +03:00
Alexey Sokolov
9cf61ac6d4
Argh, fuck it. Rename fixed (pointer) versions of OnMode to OnMode2
2014-04-12 08:51:04 +01:00
Alexey Sokolov
618d9c58a4
Fix chansaver's channel keys by adding other OnMode() hooks
2014-02-27 00:49:45 +00:00
Falk Seidel
f19b4caa43
Welcome to 2014 - year 10 with ZNC
2013-12-31 10:10:55 +01:00
dgw
3e1a2d9ea7
Implement permission inheritance in log module
...
Quick-and-dirty matching of permissions when new log directories are
created. Currently gets tripped up by the umask with some perms.
2013-08-21 00:50:15 +04:00
Alexey Sokolov
cec2fa66be
Don't create folders with \ in log module
...
Also don't try to write files with ? in filename
Fix #377
2013-08-18 15:20:07 +04:00