Adam
7f4362138a
Made nickserv:nogroupchange work
2010-10-06 21:47:01 -04:00
Adam
4da258ff78
Added lang/unused.sh, used to find unused language strings. Also removed a lot of unused language strings.
2010-10-06 20:36:08 -04:00
Adam
9ab50eedf2
Fixed restarting Anope when it is started from outside of the services binary dir
2010-10-05 19:46:33 -04:00
Adam
10833f9d3f
Made anoperc stop/restart send the cycleonglobal, and fixed logfiles to be opened with append not truncate
2010-10-04 21:46:15 -04:00
Adam
ab5ebc2245
Automatically destruct messages when modules are unloaded
2010-10-04 16:38:25 -04:00
Adam
cf98cd3e06
Changed the protocol handling system to use a vector of strings instead of C style arrays. Burned the old process/split_buf/memory.c code
2010-10-04 13:59:30 -04:00
Adam
632f8df76b
Fixed checking the global block in the config to work ok, fixed having non-core service bots logging messages, fixed setting the topic to the topic setter on inspircd12/20, and fixed logging status mode changes on ts6 ircds
2010-10-03 15:59:19 -04:00
Adam
90f0a7c92a
Added os_modreload. Also allow unloading database and encryption modules since there isn't a reason we cant allow reloading them. Soon os_modreload will allow reloading the protocol modules.
2010-10-02 21:09:11 -04:00
Adam
b0070bbd3b
Made ChanServ optional
2010-10-02 15:23:55 -04:00
Adam
e3afb119b9
Fixed pipe and win32 socketengine builds
2010-10-01 21:45:46 -04:00
Adam
d44f7971b1
Rewrote some of the socket code to allow m_ssl to be a service.
...
This allows modules (xmlrpc) to create and accept SSL connections.
Also fixed unloading m_mysql at certain times and made the threading
engine always work correctly on Windows.
2010-10-01 21:01:49 -04:00
Adam
5d9df2bdc1
Revert "Do not use new/delete to allocate modules, allows modules to always destruct properly and automatically"
...
This does not work as expected, it causes objects allocated by modules to be freed by the operating system when
the module is unloaded, giving no chance to the module to deallocate it itself.
This reverts commit 05e6815d91 .
2010-10-01 20:24:25 -04:00
Adam
6ca09be663
Cleaned up some unused code, moved handling of user modes around so we dont get log messages about user modes when users connect, and fixed tracking some umodes on Unreal
2010-09-27 17:02:36 -04:00
Naram Qashat
7db5e19f74
Partial fix for finding gettext with CMake, still doesn't fix the lack of finding non-standard paths though.
2010-09-26 15:35:24 -04:00
Adam
d646d455e2
Changed the language system to use gettext
2010-09-26 02:33:01 -04:00
Adam
05e6815d91
Do not use new/delete to allocate modules, allows modules to always destruct properly and automatically
2010-09-22 14:56:43 -04:00
Adam
ebd2997b79
DNSSocket doesn't need to save the server addr anymore
2010-09-18 17:27:58 -04:00
Adam
227909e2cf
Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
2010-09-17 19:20:07 -04:00
Adam
f71fb6e813
Connect using nonblocking sockets
2010-09-17 17:22:14 -04:00
Adam
86c1dab286
Fixed many bugs and crashes
2010-09-16 21:16:20 -04:00
Adam
cd1e9f3181
Fixed Anope::CurTime to really work, and made ChanServ timers allow using the channels botserv bot instead of only ChanServ
2010-09-16 18:12:12 -04:00
Adam
8131851058
Rewrote all of the topic code, fixes a few topic related problems on some older IRCds
2010-09-15 16:40:55 -04:00
Adam
6239b5a053
Give DNS requests an error when their creator is being unloaded instead of just deleting them, and fixed a compile warning
2010-09-14 19:31:22 -04:00
Adam
e7ac33fd62
Cleanup DNS requests when modules are unloaded, fixes unloading m_dnsbl during the middle of queries
2010-09-14 18:24:14 -04:00
Adam
47872e53ed
Removed the --log command line option because its no longer necessary, and updated example.conf
2010-09-12 00:02:22 -04:00
Adam
f00e76d30a
Added Anope::CurTime to keep us from calling time() everywhere
2010-09-10 20:31:31 -04:00
Adam
9eb7562bee
Fixed bug #1187 - Fixed releasing enforcer clients on TS6 IRCds
2010-09-10 15:46:19 -04:00
Adam
46813ccb8c
Added an asynchronous DNS system and m_dnsbl, which checks clients against DNS blacklists.
...
Rewrote internal handling of IPs, we now properly support users using IPv6.
Fixed a few problems with the UnrealIRCd protocol module.
2010-09-09 23:43:11 -04:00
Adam
7a522d1c34
Only look up session exceptions if the user exceeds the session limit, really send akills for exceeding session limits, and fixed os akill del to really work
2010-09-01 21:01:52 -04:00
Adam
f276927365
Redo some of the sighandling code, and made anoperc rehash actually work.
2010-08-29 19:28:04 -04:00
Adam
4319319f97
Burst back our juped servers if we disconnect
2010-08-28 23:17:33 -04:00
Adam
e820e1af0d
Properly store our clients internal channel status's and burst them if needed.
...
Also made Flag::HasFlag use test() instead of operator[] to catch errors, and fixed an out of bounds access to a
Flags
bitset causing crashes on some systems.
2010-08-28 20:56:45 -04:00
Naram Qashat
4cc6604326
Changed Channel's BanData C-style linked list to std::list, got rid of shadowed variables in channels.cpp.
2010-08-28 11:00:02 -04:00
Adam
5fbe0c845c
Clean up some of the old now unused IRCDVar struct vars, and made the logchan bots join if the IRCd requires them to
2010-08-28 02:25:33 -04:00
Adam
10d901084f
Do not log RAWIO messages to services log channels, added a config option on whether or not to join bots to the log channels, and fixed two log messages in ns_identify
2010-08-28 00:14:06 -04:00
Adam
334e5a4ef9
Removed options:keeplogs because its no longer used
2010-08-27 23:05:22 -04:00
Adam
c2ddecc2b1
Added a new logging system
2010-08-27 20:56:28 -04:00
Adam
73fb94c553
Added an Anope::string::is_pos_number_only function to use everywhere we convertTo unsigned values, and
...
fixed the mail delay error message to give the correct time.
2010-08-27 13:44:30 -04:00
Adam
ada65a3baf
Added a classbase for the major classes, makes dynamic_reference invalidation really work.
...
This also cleans up a bit of the code in the modestacker.
2010-08-22 00:34:02 -04:00
Adam
8a4c6ae618
Updated .gitignore and removed the rest of the old autotools system
2010-08-21 19:39:54 -04:00
Adam
fb551f0d5d
Made Anope keep track of channels its clients are in if it splits from its uplink, then burst them back to its uplink once connection is reestablished.
...
Also made Anope use TS enforcement to change persistant channels creation time to the time they were registered.
2010-08-21 01:40:36 -04:00
Adam
931b0777fb
Changed the svid system back to using user timestamps for IRCds limited to just usermode +d. This allows us to keep people logged in once again when Anope is restarted.
2010-08-19 16:27:38 -04:00
Adam
b180d5f975
Always unload socketengines/database/protocl etc modules last, and fixed a potential crash in m_mysql when unloading when not in GDB
2010-08-17 22:19:36 -04:00
Adam
e65d8b2f3d
Rewrote the config reader to better handle invalid configs.
...
This prevents Anope from exploding when /os reload has errors.
2010-08-17 19:27:37 -04:00
Adam
a950ed8cab
Rewrote the MySQL API to use threads. This acts similar to before, but is faster. Removed db_mysql_execute for now.
2010-08-15 01:45:38 -04:00
Adam
d4c7f67b58
Readded in BotInfo::chancount, it never should have been removed in the first place
2010-08-13 18:45:50 -04:00
Naram Qashat
bbff5ae4d3
Add a db-upgrade to convert base64-encoded encrypted passwords to hexadecimal strings of the raw data, add in Anope::Hex for C-style strings and added Anope::Unhex, modified the encryption modules to use Hex and Unhex.
2010-08-08 21:53:32 -04:00
Naram Qashat
8703afe116
Add a delimiter argument to BuildStringList and BuildStringVector, and use it with str_is_ip and str_is_cidr to better fix the earlier crash bug found by Cronus.
2010-08-04 18:01:45 -04:00
DukePyrolator
503215f39c
changed the way how CTCP PINGs are processed, all services clients can now reply to CTCP PING and CTCP VERSION requests
2010-08-02 19:42:00 +02:00
lethality
94371e69a9
Added Italics support to the BotSev kickers
2010-08-02 03:35:12 +01:00