3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 21:09:31 +01:00
Commit Graph

214 Commits

Author SHA1 Message Date
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
reality
628ba5b569 return data for user changes instead of calling stats 2013-01-15 17:52:13 +00:00
reality
1bd1b5aa56 remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
Sam Nicholls
44764cd2b3 Modified users web to call new stats API [Close #137] 2013-01-15 15:10:28 +00:00
reality
0a3d1b6f9e Fixed web loading and hot refresh of pages [#131] 2013-01-15 13:58:13 +00:00
reality
8b7953e906 tranform users, fix for bind in module loader [#131] 2013-01-14 21:03:47 +00:00
reality
f8ed6b04fc fix syntax error 2013-01-13 17:04:54 +00:00
reality
a14fddc49d isPrimaryUser and getAliases in users module 2013-01-13 17:01:50 +00:00
reality
f6d69fe137 without instead o splice 2013-01-13 15:27:45 +00:00
reality
e2cb5ea77d Underscorise users module (was not pleasant) [#81] 2013-01-13 15:26:44 +00:00
reality
6b903407ed Used access parameter on all elevated access commadns I can think of [#124] 2013-01-12 09:49:41 +00:00
Sam Nicholls
292b917527 Add stats to userlist [#117] 2013-01-11 22:39:32 +00:00
Sam Nicholls
c649439947 Improve online users UI [REQ Bootstrap] 2013-01-10 22:23:51 +00:00
reality
b8c3ce5dde active works! 2013-01-09 19:28:52 +00:00
reality
f4b409bdd8 corect users value 2013-01-09 06:23:19 +00:00
reality
03f58bf906 correct missing channel users 2013-01-09 06:12:04 +00:00
reality
08f35f90f8 user pages now load again 2013-01-09 06:05:01 +00:00
reality
c28047efc1 Activity indicator [#111] 2013-01-09 05:53:45 +00:00
reality
5f563f6c26 show online status of known users in web + nick tracking fixes 2013-01-08 06:14:58 +00:00
reality
6c7e56be1a load pages from closer in u/web.js 2013-01-07 12:27:24 +00:00
reality
1785b89df0 Store channel users as per [#106] 2013-01-05 19:08:17 +00:00
Daniel Evans
f91fc99d35 Merge branch 'master' of git://github.com/reality/depressionbot into weboverhaul
Conflicts:
	modules/quotes/quotes.js
	modules/users/users.js
	run.js
2013-01-04 20:15:12 +00:00
reality
c5b489fd9d wat 2013-01-04 18:12:33 +00:00
reality
958c438a45 lowercase flag in resolveUser 2013-01-04 17:58:35 +00:00
Luke Slater
c1c8ffca69 Update modules/users/users.js
call api fixStats
2013-01-04 18:04:09 +01:00
reality
078379b5f1 API functionality as per [#98]
* Also resolveUser api function in user module [#98]
2013-01-03 19:56:30 +00:00
reality
7954f4e080 i am a retard 2013-01-02 22:08:31 +00:00
reality
f1d30c9df2 fix replace user entry 2013-01-02 21:58:52 +00:00
reality
b4e4338148 ~mergeusers command [#94] 2013-01-02 21:06:43 +00:00
reality
51298b8362 Enhancements to ~alias as per [#95] 2013-01-02 19:00:44 +00:00
reality
65ef72f19a Protect against continued nick changes 2012-12-30 23:24:05 +00:00
reality
30a5878b97 fixStats call 2012-12-29 21:08:45 +00:00
reality
824e6fb3ff strings.json for users module 2012-12-29 20:07:14 +00:00
reality
944b97e430 Add ~setaliasparent command [#83] 2012-12-29 18:45:19 +00:00
Luke Slater
e7addd9ff4 Stop alias if already exists in user 2012-12-29 16:01:03 +01:00
Daniel Evans
e544c909ec Modularised web routes and views 2012-12-24 05:51:19 +00:00
reality
f59c09f9ea Rudimentary alias tracking with ~alias command [#73] 2012-12-24 00:42:28 +00:00
reality
6db6c804e5 nicks are server-wide, not channel-specific 2012-12-23 17:11:56 +00:00
reality
2bc0bbc439 trigger updateNickLists to update knownUsers on module load 2012-12-23 16:46:33 +00:00
reality
0f6aadc07b Add rudimentary users module to track known users in a channel 2012-12-23 16:19:01 +00:00