Adam
cef3eb78df
Remove send_cmd and replace it with a stringstream
2011-11-25 00:44:31 -05: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
ad2ef75cbe
Fixed a race condition with installing signal handlers and forking
2011-10-22 11:20:50 -04:00
Adam
9f850334a1
Give more verbose messages on startup
2011-10-09 02:52:13 -04:00
Adam
700a585b1b
Allow modules to add their own channel levels
2011-09-10 02:05:00 -04:00
Adam
d4db2b84f2
Made the IsValidHost checks configurable
2011-09-10 01:58:38 -04:00
Adam
2eb708e5ad
Cleaned up some of the socket code, cleaned up the pipe engines, added support for binary sockets, and cleaned up the asynch connect/accept code
2011-09-10 01:55:09 -04:00
Adam
f7adc0b35b
Rewrote the access systems and added a flags access system
2011-08-01 22:37:27 -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
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
DukePyrolator
1cd65878db
changed some _() to gtl() and updated do_strftime() and duration()
2011-06-13 18:20:22 +02:00
Adam
8bf8832b70
Rewrote the signal handling to use sigaction
2011-05-23 04:41:51 -04: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
583954d3a1
Use module type to determine what type each module is instead of its location in the configuration file.
2011-05-16 04:09:32 -04:00
Adam
e7887c1f01
Unmodularized the socket engine because its causing problems and really is unnecessary
2011-05-16 04:08:47 -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
905207093b
Made LDAP support recover, release, resetpass, etc.
2011-04-03 18:07:58 -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
ee38756982
Fixed a lot of small problems
2011-02-25 21:40:43 -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
Adam
8975b52cc3
Added ns_ajoin
2011-01-17 15:46:53 -05:00
Adam
c669820481
Added an amsg kicker
2011-01-15 16:11:31 -05:00
lethality
0eb9152749
fix some more copyright and typos (not mine) spotted by chaz :P
2011-01-07 23:01:19 +00:00
lethality
9efebe5461
update copyrights for 2011
2011-01-05 18:34:38 +00:00
Adam
3009540a00
Rewrote the ignore code. Adds creator and reason to /os ignore list.
2010-12-23 18:39:54 -05:00
Adam
2783c82685
Removed match_usermask
2010-12-22 18:28:22 -05:00
Adam
49d3c97b67
Bug #1079 - Don't use users real host and IPs when matching against
...
bans and excepts, except when a user is unbanning themselves, in an
attempt to prevent people from gaining other users IPs.
This removes support for Unreal and Bahamuts SVSMode -b because
it will unban users by real host and IP.
2010-12-13 16:36:36 -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
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
1a286397e3
Added a plexus3 protocol module
2010-12-12 19:36:16 -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
a85112172d
Removed and deprecated /cs set mlock, removed /cs clear, removed /os clearmodes, removed /cs akick (un)stick, added /cs clearusers
2010-12-12 19:33:59 -05:00
Adam
28aba58e25
Just store lang strings in a char array, no need for the extra overhead of STL strings
2010-12-12 19:30:28 -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
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
eb8f3a799c
Fixed some Windows problems
2010-10-22 04:20:34 -04:00
Adam
717c123441
Fixed some warnings
2010-10-11 15:37:39 -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
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
b0070bbd3b
Made ChanServ optional
2010-10-02 15:23:55 -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
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
Adam
d646d455e2
Changed the language system to use gettext
2010-09-26 02:33:01 -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