Robby
c8699c6726
Update copyright to 2020.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2020-01-04 15:51:20 +01:00
Robby
6fbb7cffe9
Update copyright to 2019.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2019-01-01 17:43:35 +01:00
Robby
e03ae0cd85
Update copyright to 2018.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2018-04-25 19:22:13 +02:00
Robby
76ce8ece1a
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
2017-01-17 05:03:25 +01:00
Robby
8656b65e39
Update copyright to 2017.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
2017-01-16 03:13:25 +01:00
Robby
f118960a25
Update copyright to 2016. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
Fixed some whitespace and blank lines along the way.
2016-01-28 20:24:49 +01:00
Adam
7213413f8b
Remove os exception move
2014-12-11 19:33:06 -05:00
Adam
afffeb0a1d
Update Kill() calls to pass source pointer instead of name
2014-12-05 17:27:08 -05:00
Adam
0cd3bfa24f
Fix module event prioritization which was broken with the newer
...
auto-attach event stuff.
Also remove logically dead code from os_defcon, and make os_defcon akill
similar masks to os_session when enforcing session akills.
Fixes #1618 which relies on os_session to be prioritized before
os_defcon.
2014-10-14 18:58:55 -04:00
Adam
31bc1d6b82
Don't add duplicate akills in os_session
2014-10-06 14:06:36 -04:00
Adam
866f3f32ab
Speed up akill xline checks
...
Cache xline nick, user, host, etc instead of rebuilding it everytime its
requested. Store users ip in sockaddr form and not string form to
prevent having to rebuild sockaddrs when checking xlines.
Also do not try to convert empty config values in Config::Get as this
can be rather common if a non string configuration value is not set, and
the cost of the ConvertException is great.
2014-05-20 21:16:00 -04:00
Adam
750569201a
Add missing space to session exception expiration message
2014-03-09 22:56:25 -04:00
Adam
7074944810
Fix not applying ipv[46]_cidr to connecting clients in os_session, #1573
2014-02-17 13:39:49 -05:00
Adam
595dad4ec1
Update copyright to 2014. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2014-01-01 20:48:38 -05:00
Adam
b5966cf99e
Fix crash from loading exceptions with db_old and then unloading db_old
2013-12-01 21:16:50 -05:00
Adam
0f9e931fa6
Revert "Fix session user logoff hook"
...
This reverts commit 3b8f1cd59f .
2013-11-24 22:00:01 -05:00
Adam
3b8f1cd59f
Fix session user logoff hook
2013-11-21 11:20:10 -05:00
Robby-
bd3bed2118
Fix some typos and touch up the configs a little.
2013-10-28 09:13:53 +01:00
Robby-
97d7c21193
Fix logging for log type 'other'.
...
os_ignore: Log expired ignores to the normal log level.
cs_drop: Allow Services Operators to actually drop channels in Read-Only mode.
os_akill, os_sxline, cs_akick: Log deletions by number.
2013-10-05 00:33:03 -04:00
Robby-
47b692f9ae
os_session: Add some empty lines to the session help command to improve readability.
2013-09-29 15:42:22 -04:00
Robby-
06c5914820
Fix akillids to work again. os_session: Add missing num to del syntax and add missing expiry column.
2013-09-27 19:11:02 -04:00
Robby-
bf67b9ee5c
Make column titles in listings translatable.
...
Make some more strings translatable, and remove some that don't need translation at all.
Make expirytimes and units translatable.
Make predefined messages in listings also translatable.
Make the remaining command descriptions translatable.
Make some ns/cs info strings equal to dedupe in translation file. Add missing no-autoop setting to cs info output. Make some strings translatable.
2013-09-27 19:11:02 -04:00
Adam
80c02740d0
Translate listformatter properly
2013-09-27 19:11:02 -04:00
Robby-
4f820a7d41
Fix typos, remove dead language defines.
...
os_set: Add missing debug text in help output.
2013-09-27 19:11:02 -04:00
Adam
abc7e4b423
Fix os_news to not load items until the news service is constructed
...
Fix session exceptions not expirigin
2013-09-27 16:33:03 -04:00
Adam
b880240d72
Make os_session akill ip ranges and not individual user's ips
2013-09-19 13:35:52 -04:00
Adam
00a19529c3
Add logging to several operserv commands
2013-08-25 04:48:43 -04:00
Adam
37b3535543
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
2013-05-27 19:36:37 -04:00
Adam
22658d63bd
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
2013-05-26 17:13:11 -04:00
Adam
9b07e163c0
Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper way to test for a valid IP
2013-05-08 09:50:43 -04:00
Adam
e23baf4297
Allow /os exception to contain CIDR masks
2013-05-07 00:06:02 -04:00
Adam
6578829fa6
Use I_OnUserQuit for os_session because I_OnPreUserLogoff gets called too late, after the users server can be gone. Fix a couple other small things
2013-05-06 22:18:38 -04:00
Adam
5b3f81ea78
That doesn't work either, just don't use references.
...
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05 21:05:43 -04:00
Adam
57c2b65f08
Move module header files to include/modules to fix naming conflicts with system headers
2013-05-05 03:30:08 -04:00
Adam
1d0bb9b26b
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
2013-05-05 01:55:04 -04:00
Adam
207c46c871
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
2013-04-10 22:26:40 -05:00
Adam
fb7fef7a84
Optimizations of much of the more commonly used code
2013-04-07 23:46:44 -05:00
Adam
8561941e22
Don't enforce session limit on clients with no IP on Unreal, fix typo in /cs down syntax, fix os_session messages to reference ip
2013-02-25 00:26:49 -05:00
Adam
fc1d7ea89b
Switch Destroy methods to delete
2013-02-14 20:58:01 -05:00
Robby-
15b37c1e38
Some more typo and help text fixes, proper formatting of control codes, missing privileges, and settings corrections.
2013-02-02 07:30:53 +01:00
Adam
ae2c82adbc
Don't expire session exceptions if in noexpire mode
2013-01-30 10:39:52 -05:00
Adam
50a42d2cbf
Fix os_session to work with sql properly
2013-01-26 22:17:25 -05:00
Adam
5007b72b28
Update copyright to 2013. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:20:55 -05:00
Adam
23e303aaa2
Move enforcer checks on nick and logout to nickserv.cpp
2013-01-03 13:20:10 -05:00
Adam
098157dca8
Don't delete users immediately when quit or killed, instead wait until message processing is done
2013-01-03 12:34:01 -05:00
Adam
d33a0f75a5
Pretty large coding style cleanup, in source doc
...
cleanup, and allow protocol mods to depend on each
other
2012-11-22 00:50:33 -05:00
Adam
d22e86376b
Catch the exception from /os session view invalidip
2012-11-05 15:59:11 -05:00
Adam
d6e1b92059
Add a module log type
2012-10-27 08:12:04 -04:00
Adam
4eb7db80a6
Fix os_session to really use ips for quits, don't enforce session for spoofed users/other users who have no ip, clean up warnings
2012-09-07 21:22:19 -04:00
Adam
9d6626f70c
Made session tracking ip based, not host based, and allow using CIDR to group multiple ips from one subnet to one session
2012-09-07 12:04:25 -04:00