Commit Graph
100 Commits
Author SHA1 Message Date
Elijah Perrault 61965c1cec HELP now uses the new priv argument for displaying help only if the user has the appropriate privilege. 2011-02-04 16:02:30 -07:00
Elijah Perrault 62250648b7 These were for debug purposes and are no longer needed. 2011-02-04 15:42:02 -07:00
Elijah Perrault 26164f6006 Update Core::IRC and CHANGELOG. 2011-02-04 15:39:32 -07:00
Elijah Perrault d108380265 Renamed fhelp to help in cmd_add. 2011-02-04 15:34:57 -07:00
Elijah Perrault c2a3ac6b9b Replaced shelp with privilege in cmd_add for privilege required to view in help. 2011-02-04 15:34:04 -07:00
Elijah Perrault 34c0e63971 If fantasy HELP is used, only display fantasy commands, if private HELP is used, only display private commands. 2011-02-04 14:34:51 -07:00
Elijah Perrault 3e83a47e12 * Fixed cmd_add syntax. Correct format: name, level, short help, full help, callback.
* Added core command HELP.
2011-02-04 14:21:57 -07:00
Elijah Perrault e071cd1b8b Added core command RESTART. 2011-02-04 13:52:41 -07:00
Elijah Perrault 7423e4433c Updated config. 2011-02-03 23:00:03 -07:00
Elijah Perrault 34fa7ae191 Parse KICK, added event on_kick and added config option server:autorejoin for rejoining on kick. 2011-02-03 22:58:48 -07:00
Elijah Perrault 28b697a3a5 Parse QUIT and added event on_quit. 2011-02-03 21:45:48 -07:00
Elijah Perrault d3bb112d03 Parse PART and added event on_part. 2011-02-03 20:56:09 -07:00
Elijah Perrault fd87d75692 Update chanusers on JOIN. 2011-02-03 20:33:41 -07:00
Elijah Perrault e061a2ca8c Properly parse NICK and update chanusers. 2011-02-03 20:27:49 -07:00
Elijah Perrault 502ba7cb1d Git added install on its own. So, added --enable-ssl to ./install for SSL support in the future. 2011-02-03 20:17:42 -07:00
Elijah Perrault a3b4bdd812 Added chanstatus-based permissions. This works via user:chanstatus.
It doesn't work well yet because we're not updating status.
2011-02-03 20:15:43 -07:00
Elijah Perrault ae9a1eeed6 Unless is bad. 2011-02-03 18:16:56 -07:00
Elijah Perrault 5142e4dd97 Catch __WARN__ and __DIE__, logging to file. 2011-02-03 17:12:24 -07:00
Elijah Perrault 4b7fddd218 Language section completed. 2011-02-03 16:42:46 -07:00
Elijah Perrault 36e3a1cf70 Added Matthew Burket to CREDITS. 2011-02-03 16:35:48 -07:00
Elijah Perrault bd77a0b5fc Added EightBall module. 2011-02-03 15:02:39 -07:00
Elijah Perrault 2a246c3e32 Added force option to start. 2011-02-03 13:37:44 -07:00
Elijah Perrault f7481bc0fa Rewrote the socket engine. This should fix random timeouts. 2011-02-02 20:49:19 -07:00
Elijah Perrault ccad64635e Set to 'auto'. 2011-02-02 16:56:20 -07:00
Elijah Perrault 6707803b45 This should be 5.010000 not 5.10.0. 2011-02-02 15:14:10 -07:00
Elijah Perrault a28a9921b6 Remove auto.pid on SHUTDOWN. 2011-02-02 14:44:24 -07:00
Elijah Perrault 80e8578cb9 Added user:net for network-specific user blocks. 2011-02-02 13:43:42 -07:00
Elijah Perrault 6f519d4e0d Merge branch 'indev' of github.com:Xelhua/Auto into indev 2011-02-02 12:56:14 -07:00
Elijah Perrault 245d7ec4f9 Fixed SemVer compliance. 2011-02-02 12:56:04 -07:00
Elijah Perrault b1ceac2ea6 Bug fix: Fixed broken no-parameter config blocks. 2011-02-02 12:45:48 -07:00
Elijah Perrault 5f0451dc1e Import notice. 2011-02-02 12:11:53 -07:00
Elijah Perrault a633b97b76 Import trans. 2011-02-02 12:11:09 -07:00
Elijah Perrault 69c8e6a438 Check for at least one parameter. 2011-02-02 12:09:25 -07:00
Elijah Perrault 9a05d10878 Include the network name. 2011-02-01 23:52:22 -07:00
Elijah Perrault 4cb122df85 Added core command SHUTDOWN. 2011-02-01 23:48:14 -07:00
Elijah Perrault 4e1f6e8651 Revert "This should fix a socket timeout issue."
This didn't help.
2011-02-01 22:06:10 -07:00
Elijah Perrault df2b9fa16e This should fix a socket timeout issue. 2011-02-01 22:01:33 -07:00
Elijah Perrault 3b95067bf6 Added core commands MODUNLOAD and MODRELOAD. And fixed some typos. 2011-02-01 21:40:22 -07:00
Elijah Perrault 3d37562a7f Fixed docs. 2011-02-01 21:27:08 -07:00
Elijah Perrault f8f7eca9c8 Check if the module already exists. 2011-02-01 21:23:41 -07:00
Elijah Perrault 76571af1d3 Added core command MODLOAD. 2011-02-01 21:20:03 -07:00
Elijah Perrault ff06548d72 It's a PM, this shouldn't be done. 2011-02-01 21:17:18 -07:00
Elijah Perrault cd7e30d73d Import notice. 2011-02-01 20:49:04 -07:00
Elijah Perrault 323b6928c5 Send a Not_enough_parameters here. 2011-02-01 20:42:36 -07:00
Elijah Perrault 41fb41eda0 Remove this check as it prevents from Bit.ly Pro Custom URLs. 2011-02-01 20:22:18 -07:00
Elijah Perrault 0adcdf4b8f Cleanup. 2011-02-01 20:02:42 -07:00
Elijah Perrault dbc7c581ce LWP::UserAgent is not core. 2011-02-01 19:28:24 -07:00
Elijah Perrault eb89933245 Fixed a nasty CPU leak when Auto's running in debug get disconnected. 2011-02-01 19:16:47 -07:00
Elijah Perrault e2494dad62 Merge branch 'indev' of github.com:Xelhua/Auto into indev 2011-02-01 19:09:26 -07:00
Elijah Perrault 4dd3dbd09b Added Core::IRC, a CTCP version reply and fixed the NAME,VER,SVER,REV,RSTAGE constants. 2011-02-01 19:08:59 -07:00
Elijah Perrault 4b4f805c8f LWP::UserAgent is included with perl by default. 2011-02-01 16:21:57 -07:00
Elijah Perrault 18fd96e5d9 Indent this. 2011-02-01 16:06:12 -07:00
Elijah Perrault 46909e7cf8 Updated. 2011-02-01 15:50:22 -07:00
Elijah Perrault 773543b98a Bitly: Fixed typos, errors, cleaned up code, added docs and comments, etc. 2011-02-01 15:45:40 -07:00
Elijah Perrault 009671b70f Updated example config. 2011-01-31 22:43:10 -07:00
Elijah Perrault 48bbfe3839 Updated for 3.0 Alpha 1 release. 2011-01-31 22:12:44 -07:00
Elijah Perrault 7a71b5a50a Added array number to mdelete() arguments. 2011-01-30 19:16:26 -07:00
Elijah Perrault 049ef3f4bf Typos. /me slaps alyx 2011-01-30 18:04:02 -07:00
Elijah Perrault 0b9688f63f Fixed typos. 2011-01-30 16:36:33 -07:00
Elijah Perrault c5e0a9800c * Bug fixes.
* Added mod_exists() to API::Std.
* Added SASL support with modules/SASLAuth.
2011-01-30 15:55:41 -07:00
Elijah Perrault 234bb6a0cd Added mdelete() to DB/Flatfile. 2011-01-30 14:39:19 -07:00
Elijah Perrault 7c9f2c1781 Changed to 3.0d. 2011-01-30 14:11:49 -07:00
Elijah Perrault 1260a3edad Added topic() to API::IRC. 2011-01-30 13:43:15 -07:00
Elijah Perrault a0e47e497d Fixed a typo. 2011-01-30 13:38:45 -07:00
Elijah Perrault 026c2e02db Oops. 2011-01-30 13:36:35 -07:00
Elijah Perrault a22ee16ffb * Added has_priv() to API::Std.
* Finished the host-based privilege/permission system.
* Fixed some typos.
2011-01-30 13:31:16 -07:00
Elijah Perrault fe30643e02 unless is ugly, in this case. 2011-01-30 13:17:03 -07:00
Elijah Perrault 22d1ca4534 Typo in comment. 2011-01-30 12:45:45 -07:00
Elijah Perrault 8cc6538f7b Moved on_preconnect's creation to before modules are loaded, in case they want to hook on. 2011-01-30 10:44:18 -07:00
Elijah Perrault fb6e64fa98 Added hook on_preconnect, this comes before USER (after PASS). 2011-01-30 10:40:16 -07:00
Elijah Perrault 4d966f89de Git is being silly again. 2011-01-30 10:28:12 -07:00
Elijah Perrault a04e181378 Added match_mask() to API::IRC and match_user() to API::Std, match_user checks
config user:mask to find a user block, if a match is found, the configured username
is returned.
2011-01-30 10:26:51 -07:00
Elijah Perrault ccce5d5ef6 Added rchook_add() and rchook_del() to API::Std. 2011-01-29 20:39:07 -07:00
Elijah Perrault bbc3dfd966 Parse NOTICE and added hook on_notice. 2011-01-29 17:18:28 -07:00
Elijah Perrault 344500bcd7 Added hooks on_uprivmsg and on_cprivmsg. 2011-01-29 17:14:47 -07:00
Elijah Perrault ca54a07f9a Oops. 2011-01-29 16:40:25 -07:00
Elijah Perrault bc65c8c480 Added die to config. 2011-01-29 16:37:18 -07:00
Elijah Perrault b8c0edadf1 Only load modules if there's actually modules to load. 2011-01-29 16:17:51 -07:00
Elijah Perrault 8aa8962764 Import hook_add and hook_del. 2011-01-29 15:02:44 -07:00
Elijah Perrault ce58dbe132 Made hook_add and hook_del exportable. 2011-01-29 15:02:22 -07:00
Elijah Perrault 3a2687a4be Made cmd_add and cmd_del exportable. 2011-01-29 14:59:23 -07:00
Elijah Perrault f9982e56a4 Updated. 2011-01-29 14:51:00 -07:00
Elijah Perrault b09d99cc4d Removed Async from $MODS 2011-01-29 14:41:23 -07:00
Elijah Perrault 8a7ec84838 Renamed example config to example.conf. 2011-01-29 14:40:23 -07:00
Elijah Perrault 5b53ee511f Updated example module auto-load. 2011-01-29 14:39:44 -07:00
Elijah Perrault ed0234b1f6 Example module. 2011-01-29 14:38:06 -07:00
Elijah Perrault 0090e48ee4 * Module names are now case sensitive.
* Added config option module for auto-loading a module.
2011-01-29 14:34:38 -07:00
Elijah Perrault 49b81d0535 Make startup a bit fancier. 2011-01-29 14:06:21 -07:00
Elijah Perrault 802dff20df Add 1; 2011-01-29 11:53:05 -07:00
Elijah Perrault 272df844d8 Use return. 2011-01-29 11:52:23 -07:00
Elijah Perrault 2d834f3f61 Use return. 2011-01-29 11:49:07 -07:00
Elijah Perrault 2a0c7360f0 Be proper: Use glob not <>. 2011-01-29 11:48:10 -07:00
Elijah Perrault c1e1a32589 Code cleanup. 2011-01-29 11:45:59 -07:00
Elijah Perrault 0191890d07 Fantasy prefix config option. 2011-01-29 01:09:17 -07:00
Elijah Perrault d60dee11d0 * Fixed a bug in API::Log that caused invalid months.
* Changed how command data is passed to fix a bug.
2011-01-29 01:05:03 -07:00
Elijah Perrault e1d79d17c2 Get rid of this. 2011-01-28 22:46:15 -07:00
Elijah Perrault e8d4123156 Deleted trunk/ 2011-01-28 22:39:21 -07:00
Elijah Perrault 41d74bd20e * Removed dependency Async.
* Rewrote the socket engine.
* Added cmd_add|del|run() to API::Std for commands.
* Parse PRIVMSG.
2011-01-28 22:36:59 -07:00
Elijah Perrault 17c00c5afd Resigned contributor; Russell Bradford. 2011-01-27 15:36:17 -07:00
Elijah Perrault 191235f63e This should be our, not my. 2011-01-25 23:28:38 -07:00