Commit Graph

104 Commits

Author SHA1 Message Date
reality
14e03313ec Provisional/example ~ignore functionality using databank [#331] 2013-04-09 00:10:08 +00:00
reality
e7be2f6b87 users module now tracks current nick, appropriate output in ~alias 2013-03-25 13:55:47 +00:00
reality
9443970c89 FIXED THAT MOTHERFUCKING BASTID BUG I AM THE RESURRECTION YEAAAAAAAAA [#272] 2013-03-24 18:05:57 +00:00
reality
17c2c4b317 Fix ~setaliasparent [#272] 2013-03-24 16:59:26 +00:00
reality
3814df98f6 users module almost fully operational with databank (few kinks in moderation commands still) [#272] 2013-03-24 16:04:01 +00:00
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
7bcb136e26 some initial work on users api over to databank [#272] 2013-03-22 11:44:27 +00:00
John Maguire
eff41ee844 use new JSBot.parse() NICK action variables. 2013-03-21 15:58:33 -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
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
Douglas Gardner
a53eb5e0d2 begin transition from English to ISO-639 with #234
This patch converts all English language strings used within
depressionbot's localisation interface (that is, strings.json) to their
ISO-639-1 equivalents.

The purpose of this patch is to make the strings.json file less
English-dependent.

All languages with an ISO-639-1 code have been converted; that is,
English, Spanish and Welsh, to ``en``, ``es`` and ``cy`` respectively.

This patch does not attempt to force a solution to the issue of Na'vi:
the language does not have a large enough corpus to warrant its own ISO
639-3 code, and as such there is no perfect solution. For the time
being, this patch keeps the Na'vi language as its English language
string ("Na'vi"). A possible solution to this discrepancy includes using
the ISO 639-3 code ``art``, used for artificial languages that do not
qualify for an official code, or by using local use codes specified
in ISO 639-3 (qaa to qtz).

This patch requires collaboration with upstream repositories that also
use strings.json, such as the Github and Stats modules.
2013-02-12 18:39:15 +00:00
Sam Nicholls
c813f6087c Fixed second new_user event misfire 2013-02-03 16:49:10 +00:00
Jessica T
a8e8120a5c realityìri oel pamrel soli fì'ur mipa upxare leNa'vi 2013-01-29 14:47:37 +00:00
Sam Nicholls
f7f9037e44 Fixed new_user emit misfire 2013-01-28 23:40:32 +00:00
Sam Nicholls
13e24bbdbb Testing rolling week [#216] 2013-01-27 23:37:35 +00:00
reality
aa4a8b8527 users.api.getRandomChannelUser [#156] 2013-01-26 19:21:09 +00:00
Sam Nicholls
fdd8ed7a6f Prevent profile break on no-stats bug 2013-01-26 18:11:28 +00:00
Sam Nicholls
1979ab15b0 Initial channel activity 'graph' [#167][#184] 2013-01-24 22:17:56 +00:00
reality
447bcbabf8 users emit for new users 2013-01-24 19:29:13 +00:00
reality
e1c332daef dox 2013-01-24 19:11:22 +00:00
reality
37f5583d31 event in users for nick rename 2013-01-24 18:55:28 +00:00
Sam Nicholls
9d87fb7b7d Merge pull request #204 from SamStudio8/master
Check for channel not nicks [#201]
2013-01-23 16:34:42 -08:00
Sam Nicholls
e2073f557c Check for channel not nick [#201] 2013-01-24 00:30:22 +00:00
Sam Nicholls
7df5d41f18 Merge pull request #203 from SamStudio8/master
Oops [#201]
2013-01-23 16:26:19 -08:00
Sam Nicholls
35c9975d44 Oops [#201] 2013-01-24 00:25:54 +00:00
Sam Nicholls
f4dcbd5506 Merge pull request #202 from SamStudio8/master
Stop nicks property error [#201]
2013-01-23 16:24:48 -08:00
Sam Nicholls
8be61b746d Stop nicks property error [#201] 2013-01-24 00:23:26 +00:00
reality
5767634f42 call stats rename on nick listener 2013-01-23 23:05:09 +00:00
Sam Nicholls
612171d288 Preliminary Profiles [#183][#184][MADE BY @samstudio8 #185] 2013-01-22 20:44:45 +00:00
reality
7d744ef849 f 2013-01-22 01:06:29 +00:00
reality
d059732cb8 ok fuck you 2013-01-22 01:00:56 +00:00
reality
b8546358fb another whoops 2013-01-22 00:59:11 +00:00
reality
909dd61982 whoops 2013-01-22 00:56:05 +00:00
reality
b940b6f913 that should do it 2013-01-22 00:53:30 +00:00
reality
3b3aa280e0 getAllUsers 2013-01-22 00:24:12 +00:00
reality
b107f64efc getserverusers 2013-01-22 00:00:11 +00:00
reality
dd9962d465 Fix [#173] by encoding # in uri and unescaping 2013-01-21 19:22:52 +00:00
reality
07656eddcd hook for update poll nicks [#158][#166] also change mergeusers return api 2013-01-20 20:22:27 +00:00
reality
8a66f5b9c6 report uses known users api functionality [#158] 2013-01-20 19:04:12 +00:00
reality
e048780cfc Fix for [#165]. Recommend deleting knownUsers db on running instances 2013-01-20 18:44:21 +00:00
reality
eb104f157b dont show including if no aliases 2013-01-20 18:26:07 +00:00
reality
bf40369352 typo 2013-01-20 18:22:17 +00:00
reality
05e6d084b5 add some including 2013-01-20 18:19:44 +00:00
reality
f908db7b3b that should fix [#164] 2013-01-20 18:12:23 +00:00
Luke Slater
6d442fd45c Match full user string. Fix for [#151]. 2013-01-18 15:34:04 +01:00