Commit Graph

855 Commits

Author SHA1 Message Date
reality
edcbe501e8 users onLoad and nick/join listener now databankised [#272] 2013-03-24 12:54:19 +00:00
reality
aa6a5fce42 databankise users listener, add getChannel to users api [#272] 2013-03-24 12:26:33 +00:00
reality
d30aa145aa Changed users API to databank [#272]
Behavioural changes:

* API functions no longer return values, callbacks must be submitted. These will be documented soon.
* resolveUser now returns the user record instead of just a resolved username. This means many less search operations.
* resolveUser now returns false instead of the original nick passed to it in the case of being unable to find a user.
* getServerUsers has been removed, as it is now unnecessary.
2013-03-24 11:34:52 +00:00
reality
cbc42e6fc3 Merge git://github.com/reality/depressionbot into database. Also Users API now databankerised
Conflicts:
	modules/quotes/commands.js
2013-03-24 11:09:40 +00:00
reality
71c0bdb760 all commands but ~qstats and ~rq in quotes use databank [#272] 2013-03-23 13:24:13 +00:00
Douglas Gardner
57dcc0daf1 remove try catch in favour of boring if(error){} 2013-03-22 15:39:29 +00:00
reality
7bcb136e26 some initial work on users api over to databank [#272] 2013-03-22 11:44:27 +00:00
reality
3ac1c8189f bump jsbot 2013-03-22 11:18:06 +00:00
reality
0c263a2005 Merge pull request #324 from JohnMaguire2013/help
adding forgotten usage file for ~help and ~usage
2013-03-22 04:17:37 -07:00
reality
4a7880d803 Merge pull request #325 from JohnMaguire2013/nick
use new JSBot.parse() NICK action variables.
2013-03-22 04:17:28 -07:00
reality
84c311ee41 Stop [#326] happening again in the admin module by applying admin to all commands by default 2013-03-22 10:58:40 +00:00
Luke Slater
ccc8d6c6e9 merge clash 2013-03-22 10:49:22 +00:00
Luke Slater
8d7962acc8 change module names each loop in module loader to use underscore each 2013-03-22 10:48:36 +00:00
reality
a5f2c35b4d Merge pull request #323 from zuzak/dns
DNS functionality
2013-03-22 03:45:28 -07:00
reality
b8f089284f Merge pull request #322 from JohnMaguire2013/ignore
little bit of cleanup on dbKeys of admin/ignore modules
2013-03-22 03:44:25 -07:00
John Maguire
eff41ee844 use new JSBot.parse() NICK action variables. 2013-03-21 15:58:33 -04:00
John Maguire
eea6643028 adding forgotten usage file for ~help and ~usage 2013-03-21 15:08:48 -04:00
Sam Nicholls
9034dbae6b Patch pushconfig critical 2013-03-21 18:48:06 +00:00
Douglas Gardner
0bb331f87d add basic dns function thingies 2013-03-21 18:29:18 +00:00
John Maguire
3193e45a95 removing empty dbKeys from admin module config 2013-03-21 14:23:58 -04:00
John Maguire
18227fa30b adding "bans" to ignore module dbKeys 2013-03-21 14:23:14 -04:00
reality
774b6673c5 what is stats? baby dont change me, dont change me, no more 2013-03-21 17:35:21 +00:00
reality
415047f765 remove ban/unban from admin [#321] 2013-03-21 14:47:11 +00:00
reality
c26d0acfc0 Merge branch 'ignoreban' of https://github.com/JohnMaguire2013/depressionbot 2013-03-21 14:45:34 +00:00
reality
0f2c77187c Merge pull request #320 from JohnMaguire2013/admin
fix error on "showconfig" with no paremeters (now shows root config)
2013-03-21 07:35:32 -07:00
reality
7fdf145e26 Merge pull request #319 from JohnMaguire2013/quotes
fixing some minor bugs in quotes module
2013-03-21 07:31:45 -07:00
reality
ea948a4ae4 Merge pull request #318 from JohnMaguire2013/users
fixes the issue where users are not tracked correctly on some IRCd's
2013-03-21 07:29:48 -07:00
reality
e811c47a63 Merge pull request #316 from JohnMaguire2013/reloading
fixing some bugs related to loading
2013-03-21 07:28:17 -07:00
John Maguire
42361e0c0c adding support for wildcard ~ignore and ~unignore 2013-03-21 06:40:54 -04:00
John Maguire
af3a8bf1f2 adding support for ban/unban from ignore module, with wildcards 2013-03-21 06:39:57 -04:00
John Maguire
e90572aebf adding initial support for wildcard ignores/bans 2013-03-21 06:34:33 -04:00
John Maguire
ded2f09e87 fix error on "showconfig" with no paremeters (now shows root config) 2013-03-21 04:42:03 -04:00
John Maguire
42de44b4de supress error on joining channel, due to dbot attempting to get info on own join 2013-03-21 04:38:16 -04:00
John Maguire
fac4cb73b1 fixing ~rq error on empty quote db 2013-03-21 04:00:07 -04:00
John Maguire
4e6393dd9a don't allow whitespace-only categories for ~qadd 2013-03-21 03:42:13 -04:00
John Maguire
25b6099fbd fix error on ~rmlast when category doesn't exist 2013-03-21 03:41:53 -04:00
John Maguire
4a8e5d0cc0 fix error on ~link when web is misconfigured/not loaded 2013-03-21 03:41:27 -04:00
John Maguire
d87000f78d give users module proper usage info, subsequently fix empty params erroring 2013-03-21 02:58:40 -04:00
John Maguire
d9a03d03b6 fixing stylistic stuff on ~alias. should close reality/depressionbot#295 2013-03-21 02:07:49 -04:00
John Maguire
ffeb42dde3 removes the leading character on a NICK message, only if it's a : to deal with non-conforming IRCd's 2013-03-21 01:53:11 -04:00
John Maguire
6a968d5945 add ability to unload a module whose file has been deleted 2013-03-20 19:34:43 -04:00
John Maguire
53bc594552 adding a list of modules with help info to ~help command 2013-03-20 18:18:06 -04:00
John Maguire
163209afb9 adding some extra checks to ~help command to prevent errors 2013-03-20 17:47:01 -04:00
John Maguire
a2aef2cf00 url encoding quote category link 2013-03-18 22:50:59 -04:00
reality
46a0c7965b Merge branch 'master' of github.com:reality/depressionbot 2013-03-19 02:41:33 +00:00
reality
ad196eb865 bump github 2013-03-19 02:41:20 +00:00
John Maguire
1ab10dcb04 adding trim to link titles to remove annoying whitespace 2013-03-18 21:50:10 -04:00
reality
a77a569333 bum stats again 2013-03-18 00:17:04 +00:00
Douglas Gardner
24a955b2ab remove broken finger functionality 2013-03-17 19:55:47 +00:00
reality
4e1beb7580 Started working on transforming quotes. Need more input from evan and that before continuing I think. [#272] 2013-03-16 13:45:58 +00:00