Adam
3009540a00
Rewrote the ignore code. Adds creator and reason to /os ignore list.
2010-12-23 18:39:54 -05:00
DukePyrolator
099ead02a5
store the ssl fingerprint in the userstruct
2010-12-12 19:37:03 -05:00
Adam
f1d04a2f8e
Allow command aliases to be redirected to different pseudo clients
2010-12-12 19:37:03 -05:00
Adam
0ba566491e
Allowing adding hostmasks to channel access lists
2010-12-12 19:37:02 -05:00
Adam
71c433cc50
The rest of the earlier command changes
2010-12-12 19:37:00 -05:00
Adam
cb6ef574e3
Send replies from fantasy commands back to the channel, this will be expanded on later
2010-12-12 19:36:19 -05:00
Adam
697dc89382
Added a default expiry time for suspended and forbidden nicks and channels
2010-12-12 19:36:01 -05:00
Adam
246f44b988
Added cs_mode, rewrote the old list mode code, and added CIDR support
2010-12-12 19:35:27 -05:00
Adam
3c9d4e9daf
Added command aliases
2010-12-12 19:33:58 -05:00
Adam
27652144ec
Fixed the mlock events to be useful and fixed /cs access view's last used time
2010-11-17 19:59:23 -05:00
Adam
cbd0f52eff
Made Base not virtual, prevents us from having to dynamic cast in the mode stacker on release builds
2010-11-04 00:36:53 -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
d7aa5f6a3a
Fixed Windows build
2010-10-11 18:47:54 -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
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
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
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
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
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
f276927365
Redo some of the sighandling code, and made anoperc rehash actually work.
2010-08-29 19:28:04 -04:00
Adam
c2ddecc2b1
Added a new logging system
2010-08-27 20:56:28 -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
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
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
cc64903179
Rewrote the hashing systems to properly handle the new Anope::strings which we have everywhere.
2010-07-29 18:38:56 -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
Naram Qashat
aa2c1009ee
Removed std::string and ci::string versions of LoadModuleList, we only need the Anope::string version now.
2010-07-26 00:20:00 -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
b218d52a31
Removed MARK_DEPRECATED from the OnDatabaseExpire events
2010-07-24 03:32:27 -04:00
Adam
1cf4ebb231
Added an epoll socket engine
2010-07-08 22:19:13 -04:00
Adam
f71d5b4d3a
Removed OnEncryptInPlace, although it currently causes no problems it is just redundant.
2010-07-05 16:14:17 -04:00
Naram Qashat
85b07a94d7
Fix version system so it doesn't cause the entire build tree to get rebuilt just because version.h gets regenerated, thanks to Adam for initial patch.
2010-06-28 01:28:51 -04:00
Naram Qashat
6dc3af5db4
The next of a few "CBX OCDing over code style" commits, focusing on src/core/hs_* and src/core/ms_*, plus some tiny fallout caused by changing the FOREACH_* macros.
2010-06-26 01:38:19 -04:00
DukePyrolator
959a1a69a5
moved FindMessage() into the Anope class
2010-06-22 22:06:23 +02:00
Adam
17040c088a
Store modules in a list and xlines in a vector, not deques. We need to be able to keep iterators valid.
2010-06-20 21:33:01 -04:00
Naram Qashat
381c9c8870
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
2010-06-20 18:42:58 -04:00
Adam
6cd8849466
Moved the *Serv help functions to Command, will come in use later with subcommands
2010-06-18 21:04:09 -04:00
Adam
b8f9116b19
Rewrote all of the command handling to get rid of all the nasty strtoks() everywhere, and added a bot map by uid
2010-06-18 21:04:08 -04:00
Adam
2fba686904
Burned slist, rewrote operservs XLine code
2010-06-18 21:04:05 -04:00
Adam
17ab410400
Removed process_numlist and having to mark everything as "in use" and constantly checking it. Replaced with a better system.
2010-06-18 21:03:41 -04:00
Adam
f049124905
Rewrote the hashing system to use std::tr1::unordered_map
2010-06-18 21:01:53 -04:00
Adam
e6263dba84
Allow attaching metadata to nickrequests and storing it in the databases and fixed windows build
2010-06-18 21:01:17 -04:00
Adam
af805e5b45
Allow enabling ssl on a per-uplink basis
2010-06-18 20:58:55 -04:00
Adam
9439cac6b1
Added m_ssl.cpp which allows Anope to use SSL when connecting to its uplink
2010-06-18 20:58:55 -04:00
Adam
a93be9ff1c
Added two events called in ns_info and cs_info that allows modules to easially add info output. Made os_info use this
2010-06-18 20:58:55 -04:00
Adam
c1d161dec4
Rewrote all of the server handling code
2010-06-18 20:58:52 -04:00