Commit Graph

189 Commits

Author SHA1 Message Date
reality
1aa1800ea2 finish off auto resolve 2013-06-27 19:19:13 +00:00
reality
a65c96138e fix a bunch of shit 2013-06-22 20:23:47 +00:00
reality
39db5423df finish users rewrite 2013-06-22 17:19:04 +00:00
reality
df1404b3ae dont pass channel info to createUser 2013-06-22 16:32:18 +00:00
reality
66f5b1df43 rewrite JOIN users listener 2013-06-22 16:25:31 +00:00
reality
b3b91f189f Draft of new users listener [#511][#480] 2013-06-22 15:22:23 +00:00
reality
520be40504 rChannel [#507] 2013-06-21 18:40:00 +00:00
reality
efe54b5e35 event.rUser contains resolved user object from users module [#507] 2013-06-21 18:11:22 +00:00
reality
ec0c4ad781 merge of terror #2 2013-06-01 17:57:07 +00:00
Roi
505d69ef73 German translations 2013-06-01 16:16:24 +00:00
reality
a01438a879 worst merge 2013 eu 2013-06-01 15:55:09 +00:00
Owen Dyckhoff
62700862e4 Completed users module Welsh translations in strings.json 2013-05-29 13:03:11 +02:00
reality
d9850d19d5 fix some more mergeuser issues [#470] 2013-05-26 13:29:21 +00:00
reality
f69f999118 fix various mergeusers hooks [#472] 2013-05-26 13:11:09 +00:00
reality
5dddae4f00 mergeChannelUsers internal API function in users + mergeusers seems to be working [#470] 2013-05-26 12:37:37 +00:00
reality
61bd1312a6 Fix fucking async hell and add getAllChannels 2013-05-21 20:17:22 +00:00
reality
e8757347ba eventsdocumentation in users [#351] 2013-05-21 18:39:11 +00:00
reality
eac0083bea Build help link automatically [#439] 2013-05-17 07:34:25 +00:00
reality
da5e79ebeb Efficiency improvements in users, return of isKnownUser API function [#331] 2013-05-02 18:25:10 +00:00
reality
9cf6769da5 Merge git://github.com/reality/depressionbot into database 2013-04-30 19:36:44 +00:00
reality
3097683e1c Automatically look for modules with root indexes and show those on the index [Close #427] 2013-04-30 19:33:26 +00:00
reality
7c31d5bbe8 Remove a bunch of useless users API functions, finish documentation [#352] 2013-04-30 14:04:21 +00:00
reality
88c51209af mergy mergy 2013-04-30 13:53:16 +00:00
reality
f98f7e435a that should be all of the dependencies [#413] 2013-04-22 16:20:17 +00:00
reality
5aaa9f8856 additional channels are added to user records from 366 event [#331] 2013-04-21 14:17:29 +00:00
reality
0d76ce4166 switch users to use redis driver [#331] 2013-04-21 14:11:35 +00:00
Sam Nicholls
bd2d0a8953 getUser get->read 2013-04-20 20:40:30 +02:00
reality
ecd5b4b23c getallusers external 2013-04-20 16:34:02 +00:00
reality
135b6ecbba fix users not getting pushed to chan [#390] 2013-04-20 16:28:12 +00:00
reality
4319ee18e1 ~addalias command for adding non-used nicks to user alias records [#373] 2013-04-20 11:21:04 +00:00
reality
8712216948 dat merge 2013-04-20 10:51:39 +00:00
Niels Simenon
ff52d7e6f1 Added Dutch translations. 2013-04-20 00:05:46 +02:00
reality
5420bd846b modify data structures and fix a bunch of broken async stuff in users [#331] 2013-04-14 20:00:53 +00:00
reality
b56ac4164a isIgnoring now belongs in ignore.api, changes in command to reflect this. ~ignore now operational for commands. [#331] 2013-04-10 01:28:53 +00:00
reality
9952e4583c Get user by UUID API function [#331] 2013-04-09 23:16:00 +00:00
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
reality
62419a363b correct return object for mergeusers 2013-01-17 22:40:49 +00:00
reality
d0a0579b57 Merge branch 'master' of github.com:reality/depressionbot 2013-01-17 17:44:39 +00:00
reality
f6371a7bbc Fix [#142] by escaping regex, also improve efficiency by only compiling 1 regex 2013-01-17 17:44:29 +00:00
Sam Nicholls
47dec97e1b Case insensitive doom continues 2013-01-16 21:55:14 +00:00
reality
389e8660b1 remove unused debug output 2013-01-16 20:25:39 +00:00
reality
e2e1c0b6a9 that bug that somethjing 2013-01-16 20:21:28 +00:00
reality
21f4bc4ad6 i hate computers 2013-01-15 23:32:45 +00:00
reality
e403d1d7f1 no idea how that was doing that but now it is fixed 2013-01-15 23:09:35 +00:00
reality
a433b592c9 wat 2013-01-15 21:58:47 +00:00
reality
157fe71fc1 docs link for users 2013-01-15 21:44:35 +00:00
reality
4e248ef248 add readme for users 2013-01-15 21:43:09 +00:00
Sam Nicholls
078f3b943b Better users web 2013-01-15 20:44:15 +00:00
reality
76382a6daa and they told me no bru regex is cool u wil hav fun 2013-01-15 19:44:34 +00:00
reality
12db5c64e9 lc fix for resolve user 2013-01-15 19:27:21 +00:00
reality
be9ee61e13 isOnline and resolveUser checks lower case properly 2013-01-15 19:09:54 +00:00