Adam
1a3d9a016d
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-07-01 22:17:52 -04:00
Adam
37b3535543
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
2013-05-27 19:36:37 -04:00
Adam
22658d63bd
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
2013-05-26 17:13:11 -04:00
Adam
9b07e163c0
Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper way to test for a valid IP
2013-05-08 09:50:43 -04:00
Adam
5b3f81ea78
That doesn't work either, just don't use references.
...
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05 21:05:43 -04:00
Adam
1d0bb9b26b
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
2013-05-05 01:55:04 -04:00
Adam
fb7fef7a84
Optimizations of much of the more commonly used code
2013-04-07 23:46:44 -05:00
Adam
75999e05b9
Fix Anope::Duration showing years failing
2013-03-02 23:42:00 -05:00
Adam
91ad9d22ca
Fix Windows build
2013-03-01 00:57:24 -05:00
Adam
47af43c281
Made Anope::Duration also show years
2013-01-30 11:24:57 -05:00
Adam
ed7c4dc2e1
Made Anope::DoTime default to seconds to fix os_akill etc defaulting expiries to days
2013-01-25 04:05:38 -05:00
Adam
5007b72b28
Update copyright to 2013. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:20:55 -05:00
Adam
1285c7f0ca
Allow os_dns to manage multiple zones
2012-12-23 15:30:08 -05:00
Adam
67bd2c6b2d
Add version flags for debug, git, and Windows
2012-12-19 09:21:25 -05:00
Adam
dcd34d3728
Move DNS handling to a module
2012-12-15 01:33:31 -05:00
Adam
a4468dd56e
Allow modules to use the encryption modules to encrypt arbitrary things.
...
Made enc_old depend on enc_md5.
Allow not loading any encryption modules if you want to only use an
external mechanism.
Removed ns_sendpass since it's just a bad idea.
2012-11-30 02:53:03 -05:00
Adam
d33a0f75a5
Pretty large coding style cleanup, in source doc
...
cleanup, and allow protocol mods to depend on each
other
2012-11-22 00:50:33 -05:00
Adam
7c96227cd3
Use memcpy for Anope::Unhex not strcpy
2012-10-05 01:20:32 -04:00
Adam
1af64a9bbb
Fix Windows
2012-09-02 08:30:54 -04:00
Adam
e3d5140dcc
Added a web panel module + a default template
2012-09-01 18:54:51 -04:00
Adam
2dec8e767a
Allow userless command sources
2012-06-18 05:04:30 -04:00
Adam
9370b063d0
Fixed crash on access del + valgrind errors
2012-05-10 17:53:53 -04:00
Adam
573e49a7ea
Reworked live SQL support yet again
2012-04-23 05:08:26 -04:00
Adam
3850b073dd
Added regex support for many commands, such as akill, sqline, snline,
...
all of the */list commands, etc.
Also extended the ability of akill to match a full nick!user@host and
real name of users.
2012-02-22 18:12:02 -05:00
Adam
e1f5fc6a0c
Remove revision numbers as they're only ever set by Config reading git since we've switched off of SVN. Instead just use the hash for the current head when building. Also recheck the hash on every make not just Config.
2012-02-15 00:06:25 -05:00
Adam
a9772cde21
Clean up and reorganize our header files
2012-02-14 15:13:27 -05:00
Adam
086790d633
Removed our RNG and just use the systems, it's not very widely used. Also made DNS query ids not random as they don't need to be.
2012-02-13 00:10:45 -05:00
Adam
4204ece7a8
Updated Copyright to 2012
2012-01-02 21:28:24 -05:00
Adam
45fc3ce1c4
Fixed formatting of many lists and INFO outputs
2011-12-19 15:37:15 -05:00
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