Adam
115f94bfc2
Made Anope able to process normally when disconnected from the uplink and not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.
2011-05-21 04:57:27 -04:00
Adam
076ebafa1b
Moved some global functions to be member functions and misc cleanup
2011-05-16 04:07:56 -04:00
Adam
c8c23158a4
Moved the core pseudo clients out into their own modules
2011-05-16 04:06:17 -04:00
Adam
8dec0c1f17
Fixed bug #1258 , more Windows stuff, and more language strings
2011-03-30 23:59:57 -04:00
Adam
ddfb16de1a
Fixed compile
2011-03-14 20:16:38 -04:00
DukePyrolator
3fbf39b25d
Added some useful Anope::Version functions to prevent some files from unnecessarily rebuilding on every make
2011-03-13 03:42:30 -04:00
Adam
1ee3d3d810
Added os_config and support for including additional configuration files.
2011-03-11 00:47:28 -05:00
Adam
e9aa04a8f4
Store mlock in the databases and removed some unused functions from misc.cpp
2011-03-09 01:25:49 -05:00
Adam
6fe2d8af97
Removed nickrequests, instead have unconfirmed registrations. Also made ns_resetpass allow remote-id to get past things such as kill immed.
2011-03-05 17:23:22 -05:00
Adam
f234a2bfab
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
2011-02-26 17:54:03 -05:00
DukePyrolator
d436e4ca4a
added Anope::printf()
2011-02-13 20:06:01 +01:00
Adam
1372dc1953
Removed the Wallop config options and replaced them with the new log system
2011-02-12 16:17:17 -05:00
Adam
08583dc107
Moved the language strings which are only used once
...
out of the core and into the modules that use them.
2011-02-04 15:30:31 -05:00
lethality
9efebe5461
update copyrights for 2011
2011-01-05 18:34:38 +00:00
Adam
d36e53f702
Added a ConvertException to be thrown when convertTo fails
2010-12-29 20:19:37 -05:00
Adam
1a3ba00c24
Fixed noexpire channels expiring
2010-12-23 21:56:06 -05:00
Adam
3009540a00
Rewrote the ignore code. Adds creator and reason to /os ignore list.
2010-12-23 18:39:54 -05:00
Adam
aed53dbb47
Cleaned up some things, made the protocol modules use some basic inheritance to cut back on their code duplication. More work can be done in the future to remove even more of it.
2010-12-12 19:37:03 -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
c792c7f62d
Switched the system for storing users, channels, and sesions to a patricia
...
tree from STL's unordered_map, which was giving horrible performance.
2010-12-12 19:33:58 -05:00
Adam
8fbe36635c
Added m_xmlrpc and m_xmlrpc main, which allows remote programs to execute
...
remote RPC calls to Anope in realtime and receive responses
2010-12-12 19:30:14 -05:00
Adam
3445f4d680
Fixed parsing cidr masks
2010-11-19 14:16:42 -05:00
Adam
791c2b89a5
Changed the log:normal config directive to a list like the other log values, and fixed a potential crash from rehashing while sending mail
2010-10-21 23:20:48 -04:00
Adam
bc812eeb03
Fixed a crash if an invalid expiry time is given to a number of commands
2010-10-13 14:46:53 -04:00
Adam
d7aa5f6a3a
Fixed Windows build
2010-10-11 18:47:54 -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
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
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
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
2575008baa
Fixed part of the Windows build.
...
The SQL modules still don't build due to some weird VS bug... will fix it later.
2010-08-16 23:33:03 -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
Naram Qashat
a659f82814
Fix str_is_ip() and str_is_cidr(), bug found by Cronus.
2010-08-03 07:26:43 -04:00
Adam
44387a2587
Rewrote the GetToken functions to act like they did back in 1.8, fixes many problems with commands using them (hs_set, hs_setall, hs_request)
2010-08-03 03:25:50 -04:00
DukePyrolator
2f6c0e435c
some code cleanup in misc.cpp and fixed a small typo
2010-08-01 18:48:40 +02:00
DukePyrolator
bfd94136c6
fixed enc_sha256
2010-08-01 09:56:34 +02:00
Naram Qashat
602d2378f5
Cleanup in misc.cpp.
2010-07-30 21:47:28 -04:00
Adam
8e6fe99181
Fixed some Windows issues with hashing and sockets. This currently limits building to VS 2010, will look at 2008 later
2010-07-30 01:11:19 -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
7e20659522
No need to allocate the numberlist callback classes with new
2010-07-09 00:20:00 -04:00
Adam
8cf8faf529
Don't attempt to enforce sqlines on our own clients
2010-06-27 16:26:35 -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
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
c43666e344
Rewrote cs_access to be more C++ish, changed NumberList to be more C++ish and fixed some compiler warnings on 64bit systems
2010-06-18 21:04:08 -04:00
Adam
f0a44ba894
Made NumberList take an arg to determin if it should pass numbers in descending order, fixes listing specific ranges being returned in descending order
2010-06-18 21:04:08 -04:00