Adam
aab915f2e9
Fixed some mysql queries
2010-11-18 21:34:38 -05:00
Adam
0d2db1f9f9
Fixed DNS caching and made DNS cache empty results
...
(cherry picked from commit 438ae629e51b519d0d5f70531d0262be1b9fe2bc)
2010-11-09 15:04:28 -05:00
Adam
721ef7d345
Fixed the OnPostCommand event overload in db_mysql
2010-11-07 18:06:02 -05:00
Adam
9db85375ee
Made ns_set_misc work
2010-10-31 21:46:23 -04:00
Adam
011582ff3c
Fixed bug #1197 - Store vhosts in MySQL
2010-10-31 13:03:10 -04:00
Adam
fb9f41b3e5
Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.
...
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext.
Fixed m_mysql and m_ssl to work under Windows, made the Windows Config
program remember the last used options, and fixed Windows release builds.
2010-10-30 19:41:13 -04:00
Adam
a26f119bc8
Do not store memo number in memo structs, fixes some bugs with deleting memos
2010-10-27 22:29:34 -04:00
Adam
5e9db23883
Fixed saset noexpire to set noexpire on the nick it is used on not just the display name
2010-10-13 14:33:27 -04:00
Adam
c4075c032e
Changed cs/ns_set_misc operonly config directive to better reflect what it really does
2010-10-13 13:25:34 -04:00
Adam
dc0c07b408
Made the SQL tables use foriegn keys and references to each other, removed many now unnecessary queries from db_mysql
2010-10-12 21:43:39 -04:00
Adam
d7aa5f6a3a
Fixed Windows build
2010-10-11 18:47:54 -04:00
Adam
5ca2df1edb
Fixed bug #1196 - truncate anope_extra before flushing data into it again
2010-10-09 12:22:55 -04:00
Adam
64a3bda235
Fixed two types in db_mysql
2010-10-05 16:25:52 -04:00
Adam
592060ac75
Attempt to write back the old mlock to the databases if we try and fail to connect to the uplink. Because we may not know modes until after we are synced we could accidentally nuke all of the mlocks
2010-10-04 18:57:54 -04:00
Adam
0a8bb88085
Made OperServ and Global optional
2010-10-02 03:08:29 -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
d646d455e2
Changed the language system to use gettext
2010-09-26 02:33:01 -04:00
Adam
ce69f294a1
Added configuration for m_dnsbl for what return values get banned
2010-09-19 17:21:08 -04:00
Adam
f8ee95ef98
Added some more variable fields for dnsbl akill reasons
2010-09-19 16:20:56 -04:00
Adam
74566d869a
Fixed bug #1190 and prevent m_dnsbl from akilling a user multiple times if they are in multiple blacklists
2010-09-17 14:32:46 -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
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
630f3815ce
Added a config option to make operserv not add users found in the dsnbl to the akill list
2010-09-14 16:12:47 -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
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
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
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
fa7684b3a3
Fixed a few SQL queries
2010-08-17 20:54:06 -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
lethality
94371e69a9
Added Italics support to the BotSev kickers
2010-08-02 03:35:12 +01:00
Adam
c770c47e18
Don't dynamically allocate commands in modules anymore, instead made them members of modules. This means the commands are automatically destructed when the module is unloaded. Cleans up some old ugly code.
2010-07-31 21:37:45 -04:00
Adam
cc64903179
Rewrote the hashing systems to properly handle the new Anope::strings which we have everywhere.
2010-07-29 18:38:56 -04:00
Adam
a2573a2c30
Removed some assertions, replaced with throwing CoreExceptions
2010-07-27 22:12:20 -04:00
Adam
4b870cc5f9
Added debug_cast which uses dynamic_cast on debug builds, and static_cast on release builds
2010-07-27 21:31:13 -04:00
Adam
d4048134af
Some windows fixes from the Anope::string commit
2010-07-27 02:03:10 -04:00
Naram Qashat
57bb759305
Trying to make things a little more const-safe, a work in progress but this is a bit better.
2010-07-26 23:32:03 -04:00
Adam
707268f30b
Some windows fixes caused by the last commit
2010-07-25 23:03:06 -04:00
Naram Qashat
ae38212c1c
Epic commit to replace most of the strings in Anope with a single Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-07-25 21:58:20 -04:00
Adam
2328c3e7ec
Always use non-blocking sockets
2010-07-24 13:45:54 -04:00
Adam
a22f8d3b2d
Moved some files and diretories around, made cmake skip files it knows it can't compile because of missing dependices.
2010-07-15 22:55:02 -04:00