Adam
b5ff856f47
Windows
2011-11-08 17:29:16 -05:00
Adam
a42cafbf69
Store flags for memos, fixed the expiring very soon message, fixed /os session view when a session exception is added at a lower limit than th default
2011-11-04 17:55:14 -04:00
Naram Qashat
377a7a968b
Fixed bug #1349 (m_sqlite compiles without error under FreeBSD), as well as use C99's stdint.h (or cstdint if available) to get (u)intX_t types instead of our stupid typedefs. pstdint.h included in case there is no cstdint or stdint.h available.
2011-10-24 16:32:29 -04:00
Adam
1f2399de36
Added a new database format and sqlite support. Also moved db-convert to a module.
2011-09-25 04:19:15 -04:00
Adam
d4db2b84f2
Made the IsValidHost checks configurable
2011-09-10 01:58:38 -04:00
Adam
f858164dee
Rewrote how commands are handled within Anope.
...
This allows naming commands and having spaces within command names.
2011-07-14 02:31:12 -04:00
Adam
c549aa4e76
Bug #1279 - Fixed strftime
2011-07-04 22:39:13 -04:00
Naram Qashat
2601871391
Fix long-standing issue with the get token functions if the delimiter wasn't found in the string but you wanted the first "token".
2011-06-20 23:09:03 -04:00
Adam
a1b36ec0a5
Search all domains for language strings, fixes the mess that we used to use to translate strings in 3rd party modules
2011-06-17 19:57:43 -04:00
Adam
df971befb2
Fixed a few small things
2011-06-14 18:23:53 -04:00
DukePyrolator
1cd65878db
changed some _() to gtl() and updated do_strftime() and duration()
2011-06-13 18:20:22 +02:00
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