Commit Graph

1582 Commits

Author SHA1 Message Date
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
reality
54e3b84902 Poll module now functional using databank. What of it? [#272] 2013-03-16 00:02:35 +00:00
reality
a5b65856a6 Merge git://github.com/reality/depressionbot into database 2013-03-15 23:12:30 +00:00
reality
7bb5cc722a update stats or something idk 2013-03-15 23:12:21 +00:00
reality
4bb9f90398 bump stats 2013-03-12 19:59:44 +00:00
reality
c507e62a41 Merge pull request #292 from xray7224/master
More translations :)
2013-03-12 12:53:12 -07:00
Thomas Menari
4b5bf08fe9 Add identica+twitter status fetching 2013-03-11 19:30:00 +00:00
Thomas Menari
5a6f6ad39e entity decoding for link module 2013-03-09 17:02:33 +00:00
Douglas Gardner
8404cb4245 genericise 2013-03-06 17:48:48 +00:00
Douglas Gardner
c26c52a33f tweak grammar of README 2013-03-06 16:52:24 +00:00
Douglas Gardner
184d70d3a7 add shizzle 2013-03-06 16:34:59 +00:00
reality
7bda956dbb Merge pull request #301 from zuzak/finger
Finger: #297
2013-03-06 08:27:35 -08:00
Douglas Gardner
1082ea65d4 actually tidy 2013-03-06 14:18:43 +00:00
Douglas Gardner
8eb60552fb tidy 2013-03-06 14:17:24 +00:00
Douglas Gardner
a074779441 add basic 2013-03-06 13:55:35 +00:00
Douglas Gardner
9d277c7ac6 add hackish handling of non-existent users 2013-03-06 13:20:58 +00:00
Douglas Gardner
3cdf3fd417 add string functionality 2013-03-06 13:10:54 +00:00
Douglas Gardner
ab8e297769 add basic, hackish finger functionality 2013-03-06 13:02:02 +00:00
xray7224
f6d89defe7 ngari oel ngolop aylì'uti nìmun =] 2013-02-25 00:32:06 +00:00
reality
57977ac182 dont bother with titles if they are too long 2013-02-20 10:28:47 +00:00
reality
238e204d85 Fix [#286] 2013-02-16 18:06:58 +00:00
reality
07f8a129d5 provisional poll thing. only commiting so i can switch branch w/e [#272] 2013-02-16 17:37:23 +00:00
Luke Slater
5f8bde0db9 Merge pull request #285 from SamStudio8/master
~link to use event input not params [Fix #273]
2013-02-15 09:57:47 -08:00
Sam Nicholls
66611c92a3 ~link to use event input not params [Fix #273] 2013-02-15 17:28:54 +00:00
Luke Slater
957c8593b1 Merge pull request #274 from zuzak/langs
begin transition from English to ISO-639
2013-02-13 14:04:55 -08:00
Douglas Gardner
ea3338b2b9 fix dash 2013-02-12 21:10:52 +00:00
Douglas Gardner
9715d78964
convert hyphens to a more appropriate en-dash 2013-02-12 21:05:32 +00:00
Thomas Menari
ae12e319a6 show title for found song 2013-02-12 19:38:52 +00:00
Thomas Menari
a00a5dafed fix spotify search crash 2013-02-12 19:31:34 +00:00
Thomas Menari
9f007c906f spotify module 2013-02-12 19:14:27 +00: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
reality
22238f95d1 bump stats 2013-02-12 18:35:28 +00:00
reality
c79c595ee7 Remove object prototype extensions in master [#135] 2013-02-12 18:34:36 +00:00
reality
87387878a7 Merge branch 'master' of github.com:reality/depressionbot 2013-02-12 17:31:34 +00:00
reality
1b5c722c58 bump github 2013-02-12 17:31:13 +00:00
Sam Nicholls
532b1daaa6 Restrict version command to admin 2013-02-11 16:36:01 +00:00
Luke Slater
c6d3b5ccf4 Merge pull request #270 from dafrancis/master
Delete Jesus from existance
2013-02-11 08:15:35 -08:00
Dafydd Francis
7053b34bc4 Update modules/js/js.js 2013-02-11 16:12:44 +00:00
Luke Slater
c7a2b81e5e Merge pull request #76 from dafrancis/master
#YOLO
2013-02-11 05:21:43 -08:00
Luke Slater
4341cdc0fd Merge pull request #265 from zuzak/rain
~rain module
2013-02-10 12:57:47 -08:00
Joe MacMahon
8c828213d0 Added CTCP VERSION responding. New config option for version. 2013-02-09 16:44:05 +00:00
Douglas Gardner
f4a118db89 complete module 2013-02-07 16:47:05 +00:00
reality
c33d7b3720 derp 2013-02-05 19:26:29 +00:00
reality
8fcd19cca9 provisional api functionality for kicking and banning [#261] 2013-02-05 19:22:22 +00:00
Sam Nicholls
c813f6087c Fixed second new_user event misfire 2013-02-03 16:49:10 +00:00
Douglas Gardner
be80b185ed Merge remote branch 'upstream/master' into rain 2013-01-31 19:48:18 +00:00
Luke Slater
3bfc82c7bc remove unnecessary else 2013-01-31 18:53:58 +01:00
reality
a38f807f22 rebump jsbot and that 2013-01-31 17:47:52 +00:00
reality
d7c193cbe9 couple of formatting fixes + fix indentation [Close #258] 2013-01-31 17:46:15 +00:00
Daniel Dowling
4b7c2092b0 Added check for params[1] to ~xkcd 2013-01-31 17:20:51 +00:00
Daniel Dowling
451b7ea4d0 Cleaned up link slightly. 2013-01-31 15:53:45 +00:00
Daniel Dowling
bf2cff6eba Cleaned up code based on feedback. 2013-01-31 15:41:16 +00:00
Dafydd Francis
3f2bb2bde1 Just wanna post hashtags #yolo 2013-01-30 22:13:08 +00:00
Dafydd Francis
feb51aaceb Merge reality's stuff 2013-01-30 22:10:30 +00:00
Daniel Dowling
c3e569be41 Update modules/link/link.js
Tab fix three: Revenge of the tabs
2013-01-30 17:31:06 +00:00
Daniel Dowling
5f0bcd7710 Update modules/link/link.js
Tab fix attempt 2
2013-01-30 17:28:34 +00:00
Daniel Dowling
8d3d5d08a5 Update modules/link/link.js
indent fix test
2013-01-30 17:23:53 +00:00
Daniel Dowling
bcdca5d002 updated xkcd random to use dbot api instead of function call. 2013-01-30 17:18:07 +00:00
Daniel Dowling
67d7abbf84 fixed xkcd random and updated readme for link 2013-01-30 16:50:54 +00:00
Daniel Dowling
73e9b21824 added random xkcd function using "*" as the param
Will get a random comic from http://dynamic.xkcd.com/random/comic/
Needs testing
2013-01-30 14:19:52 +00:00
Douglas Gardner
178495bd69 WHY DOES THE RAIN GO DOWN NOT UP 2013-01-30 13:29:49 +00:00
Douglas Gardner
c9161c10ae it was raining cats and dogs; there were poodles all over the road 2013-01-30 12:43:17 +00:00
Douglas Gardner
0e9827a2fc further development was precipitated 2013-01-30 12:38:27 +00:00
Douglas Gardner
e1a8360b27 add api key to config 2013-01-30 12:27:08 +00:00
Douglas Gardner
251d69194b Update documentation; contract if statement 2013-01-30 12:21:46 +00:00
Douglas Gardner
0a63518b62 Add beginnings of a reworked ~isitraining 2013-01-30 12:12:10 +00:00
Luke Slater
eb7a958352 Don't pork up if UD is down 2013-01-30 09:56:56 +01:00
Douglas Gardner
4f24e6db4a update documentation 2013-01-30 01:39:50 +00:00
Douglas Gardner
e3074d8054 implement xkcd functionality
The strings.json file is extensible; other fields that can be
placed in the xkcd string include the {year}, {month} and {day}
of the comic; the {alt} text; and links to the {img}.
A {transcript} is also available.
2013-01-30 01:37:28 +00:00
reality
1a7825d8c6 bump github 2013-01-29 16:11:07 +00:00
reality
b9ad35b21f fix syntax 2013-01-29 15:05:34 +00:00
Jessica T
a8e8120a5c realityìri oel pamrel soli fì'ur mipa upxare leNa'vi 2013-01-29 14:47:37 +00:00
reality
c3c52692a6 Merge branch 'master' of github.com:reality/depressionbot 2013-01-29 00:53:54 +00:00
reality
c4a98c0df7 fix #249 2013-01-29 00:53:37 +00:00
Sam Nicholls
45d2bae004 Merge pull request #248 from SamStudio8/master
Fixed new_user emit misfire
2013-01-28 15:41:51 -08:00
Sam Nicholls
f7f9037e44 Fixed new_user emit misfire 2013-01-28 23:40:32 +00:00
reality
e587725322 Merge branch 'master' of github.com:reality/depressionbot 2013-01-28 01:53:23 +00:00
reality
fbd664668f bump stats 2013-01-28 01:44:10 +00:00
Luke Slater
b4fbc8d258 Merge pull request #238 from SamStudio8/master
Profile onLoad to use own createProfile API [#220]
2013-01-27 17:39:34 -08:00
Sam Nicholls
d123fa95c6 Profile onLoad to use own createProfile API [#220] 2013-01-28 01:38:36 +00:00
reality
b068f47475 bump stats 2013-01-28 01:02:33 +00:00
reality
cb149531a5 update github 2013-01-28 00:56:11 +00:00
reality
3112facd01 add zuzaks github module 2013-01-28 00:44:52 +00:00
reality
db4ea68bb9 bump statos 2013-01-28 00:42:34 +00:00
reality
dc82d0add0 bump stats 2013-01-27 23:42:09 +00:00
Luke Slater
760c57cb8c Merge pull request #237 from SamStudio8/master
Testing rolling week [#216]
2013-01-27 15:39:19 -08:00
Sam Nicholls
13e24bbdbb Testing rolling week [#216] 2013-01-27 23:37:35 +00:00
reality
a5cede8c92 remove timers.js [#170] 2013-01-27 20:52:11 +00:00
reality
aeea3fc269 Quotes rm stuff no longer uses timers.js [#170] 2013-01-27 20:33:27 +00:00
reality
d3c3c2a5c1 pushconfig command [#189] 2013-01-27 20:26:14 +00:00
reality
c353069213 syntax fix 2013-01-27 19:45:56 +00:00
reality
a670faab21 syntax fix 2013-01-27 19:44:38 +00:00
reality
74d8fd9f94 getConfig now figures out value, appropriate changes for [#189] 2013-01-27 17:53:50 +00:00
reality
4a64928fd6 ~ignorechannel and ~unignorechannel commands in [#190] 2013-01-27 17:18:38 +00:00
reality
eb62212626 Add check for channel ignorance in command execution logic [#190] 2013-01-27 16:48:14 +00:00
reality
27e24a8173 Fixes for [#232] 2013-01-27 15:19:56 +00:00
reality
bd75519047 callback fix for [#233] 2013-01-27 14:49:22 +00:00
reality
bd32a06276 Fix docs for [#233] 2013-01-27 14:39:23 +00:00
reality
4555e12eaa Fix quote interpol + no need to pass event [#230][#156] 2013-01-26 20:08:09 +00:00
reality
aa4a8b8527 users.api.getRandomChannelUser [#156] 2013-01-26 19:21:09 +00:00
reality
188d90f068 update statos 2013-01-26 18:53:41 +00:00
reality
023c689f65 Merge branch 'master' of github.com:reality/depressionbot 2013-01-26 18:51:27 +00:00
reality
e0cc4d0797 bump stats 2013-01-26 18:51:02 +00:00
Sam Nicholls
fdd8ed7a6f Prevent profile break on no-stats bug 2013-01-26 18:11:28 +00:00
Sam Nicholls
e798882420 Add ~profile command [Close #219] 2013-01-25 19:57:04 +00:00
Sam Nicholls
78e0e60083 Hook ~setaliasparent and ~mergeusers [Fix #218] 2013-01-25 15:13:12 +00:00
reality
bc124e50c5 merge tmenari 2013-01-25 00:46:25 +00:00
reality
9d5785d41e notes im just commiting for something else 2013-01-25 00:45:45 +00:00
reality
687f35d51c whoops 2013-01-25 00:41:35 +00:00
reality
4f01cc2958 sorry @samstudio8 ill clean it up 2013-01-25 00:40:42 +00:00
Thomas Menari
f03dfd9111 sort photos by primary 2013-01-25 00:30:09 +00:00
reality
6156de73b1 change test_setprop and test_setprop to not have test in them (or underscores) 2013-01-24 22:44:41 +00:00
Sam Nicholls
1979ab15b0 Initial channel activity 'graph' [#167][#184] 2013-01-24 22:17:56 +00:00
reality
6f73fde865 file existence checking for module property files and config.json [#163] 2013-01-24 21:35:00 +00:00
Luke Slater
2e620fea6f Merge pull request #206 from tmenari/master
basic "yearbook" feature
2013-01-24 12:52:32 -08:00
Thomas Menari
3c4974d5ef make more l33t 2013-01-24 19:39:28 +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
9d21b90b34 update stats 2013-01-24 18:55:59 +00:00
reality
37f5583d31 event in users for nick rename 2013-01-24 18:55:28 +00:00
reality
4376989df4 event majigger as per [#205] 2013-01-24 18:03:14 +00:00
reality
656024d87b revert poll syntax error >.< 2013-01-24 10:08:05 +00:00
reality
2e8d25aea4 i am retard 2013-01-24 10:06:56 +00:00
reality
68f78cad9c ~ud regex and only use first response line [#197] 2013-01-24 10:05:50 +00:00
reality
77490bbda5 Merge branch 'upstream' of https://github.com/zuzak/depressionbot 2013-01-24 10:03:18 +00:00
Thomas Menari
278bc8b93c add initial yearbook feature 2013-01-24 01:02:50 +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
Luke Slater
6b6907fe7b re-add ~quote syntax 2013-01-24 00:39:42 +01:00
Luke Slater
ba72fa9aad Merge pull request #200 from SamStudio8/master
Profile move and merge API [Untested]
2013-01-23 15:33:46 -08:00
Sam Nicholls
ed86f98427 Profile move and merge API [Untested] 2013-01-23 23:32:50 +00:00
reality
5767634f42 call stats rename on nick listener 2013-01-23 23:05:09 +00:00
Sam Nicholls
1d0a5cb8a5 Merge pull request #199 from SamStudio8/master
Regex for ~test_setprop
2013-01-23 14:55:47 -08:00
Sam Nicholls
2a59f20b60 Regex for ~test_setprop 2013-01-23 22:55:06 +00:00
reality
3584831f84 bump stats 2013-01-23 22:34:44 +00:00
Luke Slater
b7af2d02fe Merge pull request #196 from SamStudio8/master
Basic Profiles, show "ago" string in userlists
2013-01-23 14:34:15 -08:00
reality
045ff8b9f8 status command and some basic error storing in module load [#198] 2013-01-23 22:32:17 +00:00
Sam Nicholls
f3771240a3 Basic Profiles [#184] 2013-01-23 19:13:10 +00:00
Douglas Gardner
29899adfc0 remove one-word restriction on ~ud
There's undoubtedly a better way to do this, but it works.
~ud now allows more than one word to be sent to UD's servers.
2013-01-23 19:01:52 +00:00
reality
c77cb09f87 syntax error in quotes conf 2013-01-23 16:24:52 +00:00
reality
b12259643a sometimes i think i might be retarded 2013-01-23 16:12:08 +00:00
reality
ff6a296aea Merge branch 'master' of github.com:reality/depressionbot 2013-01-23 13:40:45 +00:00
reality
d7bbd57358 what a fool 2013-01-23 13:40:33 +00:00
Luke Slater
b0752f779b Get mogglington his pony maybe [#193] 2013-01-23 10:36:46 +01:00
reality
27e79641d5 revert web shit 2013-01-22 23:29:49 +00:00
reality
23d0a76c83 Merge branch 'master' of github.com:reality/depressionbot 2013-01-22 23:27:19 +00:00
reality
4f530e5bc6 fix db meltage. [#191] 2013-01-22 23:27:02 +00:00
Luke Slater
33e53df600 Merge pull request #195 from zuzak/master
Update documentation
2013-01-22 13:17:00 -08:00
Douglas Gardner
1e70646ae5 update documentation
Added README to the dice module.
Updated the README in the link module to reflect changes in fba8edef18
2013-01-22 21:07:04 +00:00
reality
82d0362ee3 bump stats 2013-01-22 21:04:34 +00:00
reality
7b01564149 Merge branch 'master' of github.com:reality/depressionbot 2013-01-22 20:47:26 +00:00
reality
d5328377e5 bump stats version 2013-01-22 20:47:15 +00:00
Luke Slater
cc62ce99f0 Merge pull request #194 from SamStudio8/master
Preliminary Profiles [#183][#184][MADE BY @samstudio8 #185]
2013-01-22 12:46:31 -08:00
Sam Nicholls
612171d288 Preliminary Profiles [#183][#184][MADE BY @samstudio8 #185] 2013-01-22 20:44:45 +00:00
reality
874f78b09c Merge branch 'master' of github.com:reality/depressionbot 2013-01-22 19:52:55 +00:00
reality
fba8edef18 ~ud was surprisingly easy [#192] 2013-01-22 19:52:26 +00:00
reality
f7acd2e01b revert to older, non-broken ignore. whoops! 2013-01-22 19:33:22 +00:00
Luke Slater
6e08b184f6 replaceWith empty if no q[3] 2013-01-22 12:22:55 +01:00
Luke Slater
5b965657bb second part of the regexen can be empty 2013-01-22 12:21:14 +01: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
2f2356f2fd Add dependency info [#187] 2013-01-21 20:50:23 +00:00
reality
9ac8d3fd29 readme for regex [#154] 2013-01-21 20:38:16 +00:00
reality
ed1b4bf717 Allow flags on the regexen [#154] 2013-01-21 20:32:34 +00:00
reality
24bb198c5d Bit more efficient. dont bother saying the replacement if replacement not made [#154] 2013-01-21 20:14:51 +00:00
reality
400d215734 Correct other people [#154] 2013-01-21 19:57:45 +00:00
reality
d8c133a7b3 Basic regex replace support [#154] 2013-01-21 19:42:51 +00:00
reality
4d01187346 Show voting options in ~pdesc [#155] 2013-01-21 19:30:06 +00:00
reality
dd9962d465 Fix [#173] by encoding # in uri and unescaping 2013-01-21 19:22:52 +00:00
reality
1958db6df1 Denting quotes optional [#181] 2013-01-21 19:07:25 +00:00
reality
1673c8846b basic dependencies as per [#85] 2013-01-21 17:39:21 +00:00
reality
2f05cba960 set some config options not allowed to be changes [#145] 2013-01-21 00:10:01 +00:00
reality
4f0cfaab93 change param order for timer 2013-01-20 21:57:14 +00:00
reality
ff4d1f2021 documentation for timers module [#160] 2013-01-20 21:49:31 +00:00
reality
4d7e9343a4 syntax error in previous commit 2013-01-20 21:28:44 +00:00
reality
d9bd2eb492 This should be a fully functional timers module [#160] 2013-01-20 21:27:49 +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
f04621a5e9 poll uses knownUsers [#158] 2013-01-20 19:12:34 +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
reality
9cb07dbfba Some provisional base functionality for [#160] 2013-01-20 17:55:46 +00:00
reality
c4301c2ec3 correct userconfigpath 2013-01-20 17:02:00 +00:00
reality
a80f00038d showconfig and setconfig for root config options [#145] 2013-01-20 16:35:17 +00:00
reality
fedb9335a2 showconfig command [#145] 2013-01-20 16:17:22 +00:00
reality
2607ce1e93 create getcurrentconfigpath for use by other commands 2013-01-20 15:49:31 +00:00
reality
f64c50a0c8 setconfig command [#145] 2013-01-20 15:17:44 +00:00
reality
94363a6d8f polls case insensitive [#155] 2013-01-19 13:34:42 +00:00
reality
1fa4a4a27e update stats to v0.2 2013-01-18 15:46:25 +00:00
Luke Slater
6d442fd45c Match full user string. Fix for [#151]. 2013-01-18 15:34:04 +01:00
reality
dcf7d0448d wonderrful stat changos 2013-01-17 22:53:40 +00:00
reality
62419a363b correct return object for mergeusers 2013-01-17 22:40:49 +00:00
reality
447baa0a79 update stats 2013-01-17 22:27:10 +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
Luke Slater
f6cf58d68b Merge pull request #148 from SamStudio8/master
Case insensitive doom continues
2013-01-16 14:00:37 -08:00
Sam Nicholls
47dec97e1b Case insensitive doom continues 2013-01-16 21:55:14 +00:00
reality
54c67cb6ff newstats 2013-01-16 21:24:32 +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
d99820ee3d update stats again 2013-01-16 16:37:57 +00:00
reality
5f59c7c352 update stats 2013-01-16 16:31:13 +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
reality
37a1027612 Dent docs 2013-01-15 21:20:25 +00:00
reality
69d9880519 update flow info for command 2013-01-15 21:14:52 +00:00
reality
4adfe63493 add api docs for command 2013-01-15 21:09:07 +00:00
reality
8ed4a3f088 update stats 2013-01-15 20:49:05 +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
de075a3a2d Merge branch 'master' of github.com:reality/depressionbot 2013-01-15 17:52:22 +00:00
reality
628ba5b569 return data for user changes instead of calling stats 2013-01-15 17:52:13 +00:00
Luke Slater
c783113cca This should fix that undefined whatsit 2013-01-15 18:38:08 +01:00
reality
921da917a4 Command hooks [#86]
* Command API function to addHook(command, callback)
* Commands open to callbacks must return information or indicate failed completion by return false
* Hooks to be added in module onLoad
* Command loop checks for available hooks and return state, then applies with module scope.
* onLoad running moved to end of all module loading to facilitate this without order problems
* Added example for ~qadd dent
2013-01-15 17:23:14 +00:00
reality
1bd1b5aa56 remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
reality
2e875e7434 update poll [#131] 2013-01-15 16:21:43 +00:00
reality
529194e4df transform dice [#131] 2013-01-15 16:09:57 +00:00
reality
478d344fe2 Fix up spelling [#131] 2013-01-15 16:05:04 +00:00
reality
6896536a3b redo youare [#131] 2013-01-15 15:43:02 +00:00
reality
126810f180 update stats! A+ work @samstudio8 [#131] 2013-01-15 15:34:47 +00:00
reality
fbb60306d5 fix binding bug 2013-01-15 15:32:44 +00:00
Luke Slater
d89fd21301 Merge pull request #138 from SamStudio8/new_modules
Modified users web to call new stats API [Close #137]
2013-01-15 07:13:33 -08:00
Sam Nicholls
44764cd2b3 Modified users web to call new stats API [Close #137] 2013-01-15 15:10:28 +00:00
reality
a591071b1a qhoops! 2013-01-15 14:51:07 +00:00
reality
a9bae98ae8 transform quotes [#131] 2013-01-15 14:47:46 +00:00
reality
0a3d1b6f9e Fixed web loading and hot refresh of pages [#131] 2013-01-15 13:58:13 +00:00
reality
b733564cb2 fixt link [#131] 2013-01-14 23:11:50 +00:00
reality
f532aee4ab fix up ignore [#131] 2013-01-14 23:02:55 +00:00
reality
7a6cab841e fixed up kick [#131] 2013-01-14 23:00:16 +00:00
reality
96792d5008 Fixed doom function binding bug and transformed js module [#131] 2013-01-14 22:03:58 +00:00
reality
8b7953e906 tranform users, fix for bind in module loader [#131] 2013-01-14 21:03:47 +00:00
reality
3bde9e4930 Transformed dent module, changed module loader to give right scope. [#131] 2013-01-14 17:45:53 +00:00
reality
4b69aee3e9 Transformed admin [#131] 2013-01-14 16:56:34 +00:00
reality
0ff2a43c07 command can stand being run without quotes! 2013-01-14 16:47:48 +00:00
reality
5419a664dc Much better! [#131] 2013-01-14 16:24:38 +00:00
reality
dc269b53b4 Here is an experimental look at how modules will have to be as per [#131] 2013-01-14 16:02:40 +00:00
reality
ba2ab323e3 Do the [#133] 2013-01-14 13:10:16 +00:00
reality
dff5825bfe web fix. dope 2013-01-13 17:18:30 +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
b512cc7ee9 web underscorised [#81] 2013-01-13 15:51:54 +00:00
reality
cd5649a1e8 underscorise spelling [#81] 2013-01-13 15:45:07 +00:00
reality
35e34874af link underscorised (easy) [#81] 2013-01-13 15:30:53 +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
6b8b617e71 Underscorise poll. Unfortunately some stuff went missing in the switch-over. Whoops. Oh I also fixed it. [#81] 2013-01-12 23:31:53 +00:00
reality
f36e6c781b underscorisation of kick [#81] 2013-01-12 22:53:13 +00:00
reality
ca8a8ca9c2 underscorisation for dent and ignore [#81] 2013-01-12 22:19:48 +00:00
reality
3cc013635d Underscorisation of report module [#81] 2013-01-12 21:54:02 +00:00
reality
08bd67f4f0 incomplete underscorisation in quotes [#81] 2013-01-12 21:40:16 +00:00
reality
abaa1e7fa2 underscorise admin.js [#81] 2013-01-12 17:36:59 +00:00
reality
2004a70b45 Merge github.com:reality/depressionbot into underscore 2013-01-12 17:15:39 +00:00
reality
39cab9c60d Disallow loading modules more than once, with a nice tribute to @samstudio8 if you try to load web [#116] 2013-01-12 17:10:48 +00:00
reality
0769d0bd69 Removed dependency on commandMap (I think ignore might still look at it for now). Underscorised command. [#81] 2013-01-12 16:14:17 +00:00
Sam Nicholls
2245167cf3 Added patching info for Express 2013-01-12 13:01:43 +00:00
reality
0f39a227f2 -nicks- now picks random nick from channel [#105] 2013-01-12 11:39:17 +00:00
reality
76733f4679 Remove some debug output 2013-01-12 11:30:39 +00:00
reality
400169f9ee Disable command config [#126] Disabled ~js (good example for [#125]) 2013-01-12 10:12:56 +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
reality
f8d4896eb6 Moderator + admin access level for commands [#124]
* May now add property 'access' to commands specifying 'moderator' or 'admin' level access
* Add 'moderators' key to config
* Convert commands in admin module to use command marshalling listener rather than its own
2013-01-12 09:38:13 +00:00
reality
5e8a5105ab update stats whatever fuck you it took me three tries to trype cd . 2013-01-11 22:42:48 +00:00
Sam Nicholls
292b917527 Add stats to userlist [#117] 2013-01-11 22:39:32 +00:00
Sam Nicholls
34ebcd0aa2 Bootstrap requirement in web doc 2013-01-11 12:29:22 +00:00
Sam Nicholls
c649439947 Improve online users UI [REQ Bootstrap] 2013-01-10 22:23:51 +00:00
reality
82fb3eacf8 user pass in right place 2013-01-10 18:00:15 +00:00
reality
bb977e94e2 dent module [#113] 2013-01-10 17:44:01 +00:00
reality
9b048d2d54 update stats 2013-01-09 19:29:26 +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
4c3887aa02 Merge branch 'master' of github.com:reality/depressionbot 2013-01-07 12:27:35 +00:00
reality
6c7e56be1a load pages from closer in u/web.js 2013-01-07 12:27:24 +00:00
Sam Nicholls
94a28e29f1 Update stats 2013-01-06 13:32:48 +00:00
Sam Nicholls
ddc538b6a0 Report version after greload callbacks complete 2013-01-05 22:20:09 +00:00
Sam Nicholls
7caa659017 version command [Close #96] 2013-01-05 22:04:59 +00:00
reality
1785b89df0 Store channel users as per [#106] 2013-01-05 19:08:17 +00:00
reality
5429740eef add ignores to dbkeys in command so no fail if theres no ignore loaded 2013-01-05 18:53:27 +00:00
Luke Slater
bbe6a540be Update modules/link/link.js
no title found shut up omg
2013-01-05 17:00:45 +01:00
reality
91ba685401 fix express close for 3.0. you could document your shit guys 2013-01-05 01:36:36 +00:00
reality
aa39fd7d4c update stats 2013-01-05 00:51:20 +00:00
reality
49e5648519 update stats 2013-01-05 00:22:06 +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
b50f4d25b8 greload updates submodules [#100] 2013-01-04 16:13:45 +00:00
Sam Nicholls
fab7917921 Update stats 2013-01-04 14:27:39 +00:00
reality
49528bb434 Made a getQuote API function [#98] 2013-01-03 21:27:06 +00: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
99909e2dc5 update stats 2013-01-03 03:05:35 +00:00
reality
a34946e548 update stats 2013-01-03 01:22:49 +00:00
reality
8ea910ee10 update stats 2013-01-03 01:08:08 +00:00
Sam Nicholls
62d3af17e1 Stats 2013-01-02 23:48:04 +00:00
reality
9a26c6bd74 whatever 2013-01-02 23:36:29 +00:00
reality
23ee0f3a8e One does not even 2013-01-02 23:34:40 +00:00
reality
f59af39c94 update stats SAM 2013-01-02 22:54:37 +00:00
reality
4f49c13c9c update stats 2013-01-02 22:34:29 +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
97d9869f4d update stats 2013-01-02 21:50:45 +00:00
reality
b4e4338148 ~mergeusers command [#94] 2013-01-02 21:06:43 +00:00
reality
f537b05493 update stats 2013-01-02 19:12:58 +00:00
reality
51298b8362 Enhancements to ~alias as per [#95] 2013-01-02 19:00:44 +00:00
reality
e044ec5d14 Finish off module docs [#75 2012-12-31 15:37:49 +00:00
reality
65ef72f19a Protect against continued nick changes 2012-12-30 23:24:05 +00:00
reality
1ab1ff5319 Help links added to config [#89] 2012-12-30 20:30:49 +00:00
reality
c06f754b8f Added ~help command [#89] 2012-12-30 20:15:48 +00:00
reality
2416a82f45 module documentation for spelling [#75] 2012-12-30 19:50:22 +00:00
reality
2e1de98df9 Module documentation for Report [#75] 2012-12-30 19:47:53 +00:00
reality
11cfa5d40c realityonce now just emits event. removed a lot of useless shit from there too 2012-12-30 19:24:10 +00:00
reality
ae902e3c21 Consolidate puns and quotes modules [#90] 2012-12-30 18:53:20 +00:00
reality
887e854012 Documentation for polls [#75] 2012-12-30 18:38:36 +00:00
reality
6f5105e36c Module documentation for Link [#75] 2012-12-30 18:12:23 +00:00
reality
26e731697d Documentation for kick module. [#75] 2012-12-30 18:06:38 +00:00
reality
9721d1c22f Documentation for the JS module [#75] 2012-12-30 18:00:50 +00:00
reality
078c4cf3e3 ignorableModules now built with filter, module.toString returns name 2012-12-30 17:52:42 +00:00
reality
85fc4d6e6f Documentation for the Ignore module [#75] 2012-12-30 17:44:51 +00:00
reality
5e8495c3bb Remove repeated title fetching code in Link module 2012-12-30 17:36:52 +00:00
reality
c9d78b99c9 Forgot to add the strings.json for link! 2012-12-30 17:31:06 +00:00
reality
1746a9c7b8 Module documentation for Admin module [#75]
* Also removed lock functionality from quotes and admin modules.
2012-12-30 17:26:04 +00:00
reality
5bf5b257f8 strings.json usage complete in link [#88] 2012-12-30 16:51:30 +00:00
reality
56a7107b88 Complete strings.json usage in command [#88] 2012-12-30 16:45:14 +00:00
reality
49c7e045af Complete strings.json usage in admin module [#88] 2012-12-30 16:41:10 +00:00
reality
042f6b2236 Report module uses strings.json [#88] 2012-12-30 16:33:25 +00:00
reality
168d1335aa update stats 2012-12-30 01:27:55 +00:00
reality
9f3596aa6a dbot.modules is now an object 2012-12-30 00:45:25 +00:00
reality
8bd9f93632 add readme files for command and quotes [#75] 2012-12-29 23:05:16 +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
4ce43d3218 update stats 2012-12-29 18:47:09 +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
reality
1cc83dc6bc update stats 2012-12-29 14:34:24 +00:00
reality
fedc019f1d Merge git://github.com/danharibo/depressionbot 2012-12-28 22:16:02 +00:00
reality
0af9ad1015 update stats 2012-12-28 15:42:27 +00:00
reality
9b0cefe932 auto title option for link 2012-12-27 23:18:41 +00:00
Daniel Evans
e544c909ec Modularised web routes and views 2012-12-24 05:51:19 +00:00
Daniel Evans
88d2abab58 Removed sass compiler usage from web.js, updated jade templates to use blocks 2012-12-24 04:06:04 +00:00
reality
3bfa3d58c3 update stats 2012-12-24 01:49:15 +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
reality
82132d7764 update stats version 2012-12-23 14:45:28 +00:00
reality
b1073e615b Added Sams stats module 2012-12-23 14:25:34 +00:00
reality
c91c7e3e34 Merge branch 'master' of github.com:reality/depressionbot 2012-12-23 13:23:25 +00:00
reality
81217ece50 Add a debug mode that shows the error and the top of the stack trace in the case of an error if activated. 2012-12-23 02:25:58 +00:00
Dafydd Francis
e1f4d0c200 Update modules/js/js.js
jesus
2012-12-21 14:10:21 +00:00
Luke Slater
1ff6c5c3c2 Update modules/quotes/quotes.js
Fix not found output
2012-12-20 13:27:56 +01:00
reality
950ba882b8 Changed quote spam protection model [#72] 2012-12-19 21:03:03 +00:00
Sam Nicholls
0dc5c6d91f Ensure ignores dbKey exists
Created dbKeys config for ignores module to prevent meltdown.
2012-12-17 12:09:39 -08:00
Luke Slater
d0c47d18eb Moved all data loaded from config to be used only from dbot.config. Changed admin key in to admins to avoid clash with admin module config. Admins should probably be a key under dbot.admin module anyway. 2012-12-17 17:18:31 +00:00
Luke Slater
96312303f0 web config data now taken from dbot web config 2012-12-12 18:36:12 +00:00
Luke Slater
c64e66da17 Module specific config. Allows specify dbKeys to ensure default objects there for use. 2012-12-12 18:07:08 +00:00
Luke Slater
65414f6975 OH THE SHAME. THE SHAME OF IT ALL. 2012-12-11 21:01:37 +00:00
Luke Slater
19c3497f11 reload default strings in updateModules 2012-12-11 20:47:50 +00:00
Luke Slater
b641dcd34a usage info in command 2012-12-11 20:31:11 +00:00
Luke Slater
f72e29398f fixed module unloading 2012-12-11 20:27:18 +00:00
Luke Slater
1f2c7fa835 added try/catch for no usage/string info, moved module load error back to default stringspace 2012-12-11 20:23:31 +00:00
Luke Slater
fbf4242d66 fix js/usage which I already fixed for some reason 2012-12-11 20:08:19 +00:00
Luke Slater
cae8a1fc7d loaded strings and usage from the modules themselves in reloadModules. some other smaller changes. fixed the syntax of the usage json. careful though this dbot init may delete your database. 2012-12-11 20:06:29 +00:00
Luke Slater
cd56a8a197 Added usage.json files for all modules 2012-12-11 16:53:34 +00:00
Luke Slater
96b34c8c31 Moved poll quotes 2012-12-11 16:45:08 +00:00
Luke Slater
dfdcb0d359 moved quotes strings. removed qprune because it is not needed anymore 2012-12-11 16:42:06 +00:00
Luke Slater
34e377f385 moved poll strings 2012-12-11 16:37:05 +00:00
Luke Slater
de84491975 moved kick strings 2012-12-11 16:32:59 +00:00
Luke Slater
4941e50d06 whoops karma isnt supposed to be in this tree 2012-12-11 16:31:20 +00:00
Luke Slater
6d52d5a2b4 moved ignore strings 2012-12-11 16:29:20 +00:00
Luke Slater
5a75c63672 removed drama because why bother 2012-12-11 16:26:59 +00:00
Luke Slater
3a58f6b8b1 moved strings for command 2012-12-11 16:26:29 +00:00
Luke Slater
b622d7a239 give all modules their own folders. overhauled admin strings 2012-12-11 16:18:27 +00:00
Luke Slater
b2ea634d8c Move all the modules to their own directories 2012-12-11 16:04:52 +00:00
Luke Slater
7b515a4cc5 remove autoshorten because the shortener does not exist anymore 2012-12-11 16:02:06 +00:00
Sam Nicholls
7ab477b448 Nobody loves autoshorten. Removed poll from default module list. 2012-12-06 19:37:39 +00:00
Sam Nicholls
78837f9da1 Added url string 2012-12-06 19:33:25 +00:00
Sam Nicholls
96225c59ec Got you some extra plus 2012-12-05 19:17:57 +00:00
Sam Nicholls
c07b0c60f3 dbot.webUrl for autoshorten too 2012-12-05 19:13:04 +00:00
Sam Nicholls
757344d580 Attempt to fix Issue #54 2012-12-05 19:05:19 +00:00
Luke Slater
5e71be8601 missing key in category not found 2012-12-04 18:29:04 +00:00
Luke Slater
f8b1e3316f fix syntax with previous change 2012-12-04 18:27:12 +00:00
Luke Slater
e687cbb429 Added filter to snippets and finally re-added ~rm back to quotes 2012-12-04 18:23:43 +00:00
Luke Slater
a71c047aca typo in usage in report 2012-12-02 16:59:09 +00:00
Luke Slater
6f48c30044 fix ~usage 2012-12-02 16:26:56 +00:00
Luke Slater
b17ad5042b added usage command 2012-12-02 16:21:37 +00:00
Luke Slater
1ad20e9606 print usage string on wrong syntax for regex 2012-12-02 16:18:59 +00:00
Luke Slater
54b8b00bda Merge branch 'master' of github.com:reality/depressionbot 2012-12-02 15:28:47 +00:00
Luke Slater
c690611cdc Fix dbot for the new jsbot changes passing channel as an object rather than a string. plus some efficiency changes and extra checks and stuff in admin 2012-12-02 15:28:32 +00:00
Sam Nicholls
f90304a369 Updated server location (again)
Missed one. Worst contributor ever.
2012-11-29 16:47:44 +00:00
Sam Nicholls
3f86d2f84b Updated server location.
Ideally this would be an attribute of the bot.
2012-11-29 14:45:51 +00:00
Luke Slater
09947921d1 Added a report module for naughty users 2012-11-27 23:24:32 +00:00
Luke Slater
99b09c63b4 use the right user for kicks 2012-11-25 18:54:12 +00:00
Luke Slater
fc83487a5d Addition to the web interface to view currently connected users and interpolate some data. Little messy atm. 2012-11-25 17:56:30 +00:00
Luke Slater
047c2e45e5 Switch the file format back to UNIX 2012-11-25 15:55:35 +00:00
Dominic Brady
7faa5c1207 fix dice crash 2012-11-24 13:18:18 +00:00
Luke Slater
96b2dd0ddd fix js crash 2012-11-20 16:49:37 +00:00
Luke Slater
53103c6842 dice uses new command return 2012-11-05 22:39:07 +00:00
Luke Slater
40d239802d dupe protection in realityonce 2012-08-08 16:11:22 +01:00
Luke Slater
c3dbef3174 whoops 2012-08-08 16:01:44 +01:00
Luke Slater
97b3a7e4eb realityonce reinstated 2012-08-08 15:59:44 +01:00
Luke Slater
c0c235f045 dont bother with a quote if the key begins with _. So I can perform ~_~ unmolested in channel. 2012-07-09 19:45:45 +01:00
Luke Slater
a144f64094 Extra s in qsizes... wtf... 2012-06-25 00:02:06 +01:00
Luke Slater
bb129c32ba Missed a return in qstats 2012-06-25 00:00:52 +01:00
Luke Slater
a992e65b6e make an object sort function in snippets 2012-06-24 23:58:22 +01:00
Luke Slater
27bce53e2e oh whoops apparently I cant read 2012-06-24 23:30:11 +01:00
Luke Slater
2b48d1a555 Change initialisation of kickArr to Object.keys rather than manually filling it... 2012-06-24 23:28:07 +01:00
Luke Slater
253b9a75c4 Merge branch 'master' of github.com:reality/depressionbot 2012-06-24 23:21:59 +01:00
Luke Slater
17bbccbe98 move poll whatsit 2012-06-22 19:27:59 +01:00
Joe MacMahon
418906faff Fixed conflicting .each() function by renaming to .withAll(). 2012-06-20 00:52:49 +01:00
Joe MacMahon
e6ac8558ac Added running-orders, not just winners 2012-06-19 23:39:26 +01:00
Joe MacMahon
d192a17d19 Added AV vote counting. 2012-06-19 14:44:50 +01:00
Joe MacMahon
c1c951f5c7 Downed tools for today 2012-06-18 21:16:22 +01:00
Joe MacMahon
52d8136e9d Added voting on AV polls. No counting yet. 2012-06-18 20:11:54 +01:00
Luke Slater
7fca2afcce Brackets were in the wrong place on the output statements. :| 2012-06-17 12:56:37 +01:00
Luke Slater
b89f9e7065 Fix the regex for ~addoption and ~rmoption 2012-06-17 12:53:52 +01:00
Luke Slater
8837cd7b98 ~addoption and ~rmoption 2012-06-17 12:51:25 +01:00
Daniel Evans
befc20e713 Index page 2012-06-15 18:57:47 +01:00
Luke Slater
52984d9b41 pdesc and output change 2012-06-15 17:51:45 +01:00
Luke Slater
8ce80a1d94 output changes 2012-06-15 17:46:14 +01:00
Luke Slater
5904708d6b fucking typo 2012-06-15 17:39:26 +01:00
Luke Slater
c018e338dc fucking typo 2012-06-15 17:32:02 +01:00
Luke Slater
881834978d fucking typo 2012-06-15 17:30:54 +01:00
Luke Slater
cfb00d3588 fucking typo 2012-06-15 17:29:38 +01:00
Luke Slater
2e27d7dece votees stores vote, can change vote 2012-06-15 17:20:05 +01:00
Daniel Evans
0eb051eef9 Fixed formatting. 2012-06-15 17:18:36 +02:00
Daniel Evans
f70c92c16d Web display for poll module 2012-06-15 16:15:02 +01:00
Luke Slater
7124798398 Make it show the new key for the previous change 2012-06-15 10:53:45 +01:00
Luke Slater
b9b5d9913d Automatically replace spaces in quotes with underscores, then use that quote if the originally given quote can't be found 2012-06-15 10:52:11 +01:00
Luke Slater
333e3c592d wrote strings for polls 2012-06-15 00:07:15 +01:00
Luke Slater
d012ff4394 wrote some of viewpoll. Hello dan. 2012-06-14 23:57:07 +01:00
Luke Slater
ffd383365e Fixed regex for vote 2012-06-14 23:42:06 +01:00
Luke Slater
30cd5d499d fixed the regex on ~newpoll 2012-06-14 23:36:52 +01:00
Luke Slater
66554605e7 poll changed 2012-06-14 23:32:16 +01:00
Luke Slater
cf8da90c6b whoops 2012-06-13 21:16:29 +01:00
Luke Slater
0a2b94fa65 newpoll test 2012-06-13 21:11:00 +01:00
Luke Slater
9813ced30f Merge branch 'master' of github.com:reality/depressionbot 2012-06-05 00:17:58 +01:00
Luke Slater
54dc7f2236 Changed commands to property rather than object to be returned by onLoad functionality 2012-06-05 00:17:51 +01:00
Luke Slater
034525e601 readd rmlast limit 2012-06-04 03:03:51 +01:00
Luke Slater
3f38356717 no rmlast limit 2012-06-04 01:19:35 +01:00
Luke Slater
e5a9142384 read title even when over multiple lines 2012-06-03 21:17:25 +01:00
Luke Slater
181c3a2628 Change the name metadata from js to link... 2012-05-26 23:32:26 +01:00
Luke Slater
3aab234110 Links module which can retrieve titles 2012-05-26 22:28:34 +01:00
Luke Slater
4a1d5aa083 webPort default 2012-05-25 21:00:38 +01:00
Luke Slater
13892f3a1f Whoops, forgot to commit the actual ignore module. 2012-05-25 16:49:45 +01:00
Luke Slater
5677cad1fa Use jsbot ignore instead of having it build into the modules 2012-05-25 16:45:47 +01:00
Luke Slater
4c72bd327c fixed spelling module and youare 2012-05-25 16:11:07 +01:00
Luke Slater
d6b56db06e Fix puns by faking an event and calling it straight in jsbot 2012-05-25 16:03:36 +01:00
Luke Slater
979399de46 Converted drama kicks and puns to new format. Quite tired now. 2012-05-23 20:05:23 +01:00
Luke Slater
74369c5de6 converted autoshorten and dice to new format 2012-05-23 19:45:14 +01:00
Luke Slater
9a9f9a662b removed badwords module 2012-05-23 19:39:10 +01:00
Luke Slater
464e0f11e3 Converted admin.js. Added a few more translations. Removed modehate functionality. Changed some stuff in run.js to facilitate changes. 2012-05-23 19:38:10 +01:00
Luke Slater
aa72af3867 Don't error if regex syntax is invalid for ~ default. 2012-05-23 18:50:21 +01:00
Luke Slater
c3832c209f Converted quotes module to new format. Everything seems to be working 2012-05-23 18:01:28 +01:00
Luke Slater
2088ee9da3 Should be event rather than data. 2012-05-23 15:56:13 +01:00
Luke Slater
6c7fc838d4 Apply regex in command.js module and add results in input property on event object. 2012-05-23 15:45:09 +01:00
Luke Slater
1f02e29a85 Made DBot load listeners in The New Way. Massively simplified Command module, converted to new format. Converted JS module to new format. All working. Moved ~ignore functionality away for now as it needs to be combined with jsbot. 2012-05-19 19:14:07 +01:00
Luke Slater
059768592a Changed most of the English output strings to formatted strings. 2012-05-19 17:36:21 +01:00
Luke Slater
fa2d0b8465 Converted all of the other modules to the new translate syntax. 2012-05-19 16:48:01 +01:00
Luke Slater
42c4871a16 Switched key of strings object so that there's only one object and it's easier to read and therefore translate. Created 't' function to translate strings, changed quotes module to this format. Need to change the others. Will now fall back to English if translation in given language is not available. 2012-05-19 16:33:31 +01:00
Luke Slater
64fd389418 badwords changes 2012-04-20 13:48:12 +01:00
Luke Slater
2954df3a52 ru puns through cleannicks 2012-04-19 20:55:15 +01:00
Luke Slater
573f1fb6ea create sessiondata entry if it doesn't exist 2012-04-19 12:22:04 +01:00
Luke Slater
27d5c1aa61 Right, sessionData isn't in the DB. 2012-04-19 12:20:57 +01:00
Luke Slater
eb683369f2 onLoad has no data argument 2012-04-19 12:19:09 +01:00
Luke Slater
b2ede3f5d5 print the error to console if it fails to load a module 2012-04-19 12:14:08 +01:00
Luke Slater
b6607f7cd6 quoteArrs, not quotes... jesus reality 2012-04-19 12:09:14 +01:00
Luke Slater
fc5043e310 experimental badwords stuff 2012-04-19 12:02:27 +01:00
Luke Slater
9be6d5beaa experimental badwords stuff 2012-04-19 12:01:06 +01:00
Luke Slater
eb9b9018bf add check in puns again derp 2012-04-16 15:23:19 +01:00
Luke Slater
39d3021870 autoshorten threshold 80 2012-04-16 00:23:13 +01:00
Luke Slater
1b0a32078c remove redundant hasownproperty check from puns since ~q already does that 2012-04-15 23:51:30 +01:00
Luke Slater
27f5ab6f30 quotes not name. jesus. 2012-04-15 23:27:14 +01:00
Luke Slater
79cf8243a0 quotes ignore check for ~quotecat 2012-04-15 23:26:14 +01:00
Luke Slater
8f5759252f name, not names 2012-04-15 22:15:10 +01:00
Luke Slater
a600cb5da5 Added ignore checkers to all ignorable modules with listeners, bit messy but eh. 2012-04-15 22:04:58 +01:00
Luke Slater
0062dde196 Command map changed round the other way. Modules have name and ignorable properties. Ignore and unignore commands, which currently effect actual commands but not listeners yet. 2012-04-15 21:43:02 +01:00
Luke Slater
7680e515a8 Remove existing ignoration functionality. 2012-04-15 20:04:34 +01:00
Luke Slater
ea893be393 change shorten length to 65 2012-04-14 12:01:52 +01:00
Luke Slater
c76428b1f2 TODO note and autoshorten in automatic loading modules 2012-04-14 06:41:53 +01:00
Luke Slater
19a3d9cf87 Only auto shorten long links 2012-04-14 06:37:17 +01:00
Luke Slater
d0ed2eddd1 lets try this then 2012-04-14 06:26:48 +01:00
Luke Slater
7f9089bc5e debug output 2012-04-14 06:23:01 +01:00
Luke Slater
e1833017b0 i am tired 2012-04-14 06:21:38 +01:00
Luke Slater
1924d28952 apparently http is bad 2012-04-14 06:12:36 +01:00
Luke Slater
4bb3836665 needed to require http. whoops. 2012-04-14 06:08:54 +01:00
Luke Slater
eafeb23a77 json format fix 2012-04-14 06:08:03 +01:00
Luke Slater
4290126222 autoshorten 2012-04-14 06:06:40 +01:00
Luke Slater
03e152cc2c Revert "Logging modules added (requires jsbot support for multi-listeners)."
This reverts commit 9d5cf694a8.
2012-03-27 15:06:23 +01:00
Luke Slater
c35ffe3228 Revert "Add routing for web display of logs."
This reverts commit e8eb665900.
2012-03-27 15:06:13 +01:00
Luke Slater
c7124aa49e Revert "Vaguely functional now. Will work on more later."
This reverts commit 055ec14719.
2012-03-27 15:05:56 +01:00
Luke Slater
1503ad4ed5 Revert "lower case interpolation whatsits"
This reverts commit acb427a24e.
2012-03-27 15:04:32 +01:00
Psychedelic Squid
055ec14719 Vaguely functional now. Will work on more later. 2012-03-27 21:59:24 +08:00
Psychedelic Squid
3f218ebb52 Make spelling distance check not care about case. 2012-03-27 21:46:27 +08:00
Psychedelic Squid
e8eb665900 Add routing for web display of logs. 2012-03-27 21:46:27 +08:00
Psychedelic Squid
9d5cf694a8 Logging modules added (requires jsbot support for multi-listeners). 2012-03-27 21:46:26 +08:00
Luke Slater
acb427a24e lower case interpolation whatsits 2012-03-27 14:31:56 +01:00
Psychedelic Squid
0cae8b3baa Use String.prototype.format() <https://gist.github.com/1153608> to make the translation strings more amenable to variations in word order. 2012-03-26 01:32:41 +00:00
Luke Slater
b1c8ec4afa add strings to reload functionality 2012-03-25 02:24:12 +01:00
Luke Slater
3e793d43d5 Loads strings properly. Some changes to the category. Mostly working now, just needs finished Spanish translations and some further testing because I've probably mistyped some category names. 2012-03-25 00:08:32 +00:00
Luke Slater
95eaa7f948 some additions to the strings file and the entire program should now be using the string entries 2012-03-24 23:48:28 +00:00
Luke Slater
47b6c0ff5b whoops missing bracket 2012-03-19 18:48:12 +00:00
Luke Slater
8c81842643 Merge branch 'master' of github.com:reality/depressionbot 2012-03-19 18:46:48 +00:00
Luke Slater
982135411e Fix the long-broken "quote already in db" detection 2012-03-19 18:46:33 +00:00
Luke Slater
eedbe1f287 params argument was being passed as the quoteTree, breaking quotes FOREVER 2012-03-17 13:53:58 +00:00
Luke Slater
a6024c9b7d Oh shit, forgot that quote categories may be several words long. Removed parametisation until further thought takes place. 2012-03-17 13:51:01 +00:00
Luke Slater
309755ba5d err debug 2012-03-17 13:49:08 +00:00
Luke Slater
e0e1d6100d first reference 2012-03-17 13:47:06 +00:00
Luke Slater
64f4979a85 first reference 2012-03-17 13:45:36 +00:00
Luke Slater
e6b50b248d need to call interpolated quote with params 2012-03-17 13:42:15 +00:00
Luke Slater
77cc1ddafd quote parameters 2012-03-17 13:38:03 +00:00
Luke Slater
63039f4e2c possibly ignore whitespace in qadd..? 2012-03-17 13:22:25 +00:00
Luke Slater
cb0bacfabd possibly ignore whitespace in qadd..? 2012-03-17 13:20:21 +00:00
Luke Slater
de873c0302 possibly ignore whitespace in qadd..? 2012-03-17 13:17:58 +00:00
Luke Slater
12e62df846 Removed debugging console.logs 2012-03-15 12:57:54 +00:00
Luke Slater
05fc0418d3 cleaned interpolatedquote so it fits with the coding style 2012-03-15 12:52:47 +00:00
Luke Slater
7a5a25134e Why in blue shit was that in there? 2012-03-14 15:49:49 +00:00
Luke Slater
8f891835e4 fix split on undefined message in puns 2012-03-14 15:47:00 +00:00
Psychedelic Squid
155a2f2f84 interpolatedQuote fully transplanted into quotes.js, should reduce pesky run.js reloading to near-zero 2012-03-14 14:35:37 +00:00
Psychedelic Squid
a08e904ea6 Puns also changed to dispatch a '~q' 2012-03-14 14:20:59 +00:00
Psychedelic Squid
a4313ee665 '~CATEGORY' now dispatches a '~q CATEGORY' command. 2012-03-14 13:59:26 +00:00
Psychedelic Squid
26c3743f76 Oops, stop falling out of the command logic when commands are ignored. 2012-03-12 13:49:55 +00:00
Psychedelic Squid
064d898f4a ~ignore command for, well, ignoring commands temporarily. Add a timer.js wrapper for setTimeout, too. 2012-03-12 13:46:53 +00:00
Psychedelic Squid
92767dbfb1 Fail on invalid-syntax DBs, instead of replacing them. Also, shunt creation of 'realityonce' array to the realityonce listener, so it's not created before being needed. 2012-03-10 18:39:36 +00:00
Psychedelic Squid
730b65761e Merge git://github.com/reality/depressionbot 2012-03-10 18:22:22 +00:00
Psychedelic Squid
f136636093 webPort config option, default 443 2012-03-10 18:21:50 +00:00
Luke Slater
bd85694018 we can't make him too friendly now can we 2012-03-10 18:13:00 +00:00
Luke Slater
0475db6092 Merge branch 'master' of https://github.com/psquid/depressionbot 2012-03-10 18:11:51 +00:00
Psychedelic Squid
df33de486c Pruning. 2012-03-10 18:10:04 +00:00
Luke Slater
62900670cb nobody 2012-03-10 18:02:03 +00:00
Psychedelic Squid
9fa5644a6b Merge git://github.com/reality/depressionbot 2012-03-10 18:01:21 +00:00
Luke Slater
90866a095d stderr? 2012-03-10 18:00:16 +00:00
Luke Slater
ae28db6e70 print output of greload 2012-03-10 17:58:57 +00:00
Luke Slater
b3a6aa2322 test change for greload :| 2012-03-10 17:57:34 +00:00
Luke Slater
d4320bbde7 greload command to git pull then reload 2012-03-10 17:56:38 +00:00
Psychedelic Squid
c8a1818c65 Merge git://github.com/reality/depressionbot 2012-03-10 17:51:33 +00:00
Luke Slater
59adda4221 name in title instead of dbot 2012-03-10 17:49:57 +00:00
Psychedelic Squid
a0158ceac4 Remove category when emptied by ~rm. 2012-03-10 17:48:49 +00:00
Luke Slater
0aab68c01f Merge pull request #23 from psquid/master
Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'
2012-03-10 07:34:51 -08:00
Psychedelic Squid
7d55cefdce Merge git://github.com/reality/depressionbot 2012-03-10 15:33:49 +00:00
Luke Slater
6c337bf1a0 actually screw it i'll do the requirements thing later 2012-03-10 15:32:44 +00:00
Psychedelic Squid
4ea99c7566 Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'. 2012-03-10 15:30:15 +00:00
Luke Slater
34a642228d command execution syntax is now in modules/command.js 2012-03-10 15:28:42 +00:00
Luke Slater
28f78373d8 dont print result of ajs if its undefined 2012-03-10 14:56:06 +00:00
Luke Slater
d5296b0ea0 Multiple admins supported 2012-03-10 14:38:47 +00:00
Psychedelic Squid
678a2ed9be admin 'act' command, and fix to action syntax. 2012-03-09 21:44:05 +00:00
Psychedelic Squid
6160d24e4f Correct handling of modifiers, per golem 2012-03-07 23:18:19 +00:00
Psychedelic Squid
1d2659f361 Interpolated quotes, because why not? 2012-03-07 22:13:31 +00:00
Psychedelic Squid
36c0a0a193 Merge git://github.com/reality/depressionbot 2012-03-07 18:14:55 +00:00
Luke Slater
4893b2dd74 resetadmin command 2012-03-07 16:54:03 +00:00
Luke Slater
7ac46f6ed5 Merge pull request #19 from psquid/a83b1c2
Asterisks at either end, and multi-word search [spelling module fixes].
2012-03-07 07:12:02 -08:00
Psychedelic Squid
fbab79c567 Merge git://github.com/reality/depressionbot 2012-03-07 03:51:29 +00:00
Psychedelic Squid
e925021714 And there's the modifiers. Beautiful. 2012-03-07 03:33:18 +00:00
Psychedelic Squid
fea815a24f Basic dice-rolling functionality. Next, modifiers. 2012-03-07 03:22:52 +00:00
Psychedelic Squid
a83b1c2bd5 Argh! winner, not correction. Old code would match _anything_, not good. 2012-03-06 23:04:37 +00:00
Psychedelic Squid
68943d6c8f Make max winner distance proportional to correction length, so long strings can match. 2012-03-06 22:58:04 +00:00
Psychedelic Squid
85bc47c152 Sanity check; don't want to match against identical words to the correction. 2012-03-06 22:19:11 +00:00
Psychedelic Squid
4e2d4017d0 Check all groupings of words for corrections; makes multi-word corrections behave properly. 2012-03-06 22:02:52 +00:00
Luke Slater
514af801d2 drama stats recorded per user 2012-03-06 19:55:35 +00:00
Psychedelic Squid
ad6b354daf After actually learning how valMatch works, this motherfucker is ready to roll. 2012-03-06 16:34:18 +00:00
Luke Slater
23bd691927 test 2012-03-05 18:17:15 +00:00
Psychedelic Squid
2f9af449ec New regex in place, but the matching pattern changes a little, so I think it probably would break if nothing else is changed. Need to spin up a node server so I can test live. 2012-03-02 02:50:31 +00:00
Luke Slater
a9a88723e3 stupid typo 2012-02-28 14:26:12 +00:00
Luke Slater
dba4403f70 qstats showing largest quote categories 2012-02-28 14:25:13 +00:00
Luke Slater
201f3648d1 delete category when rmlast makes empty quote category 2012-02-27 15:15:30 +00:00
Luke Slater
72fb19768a delete category when rmlast makes empty quote category 2012-02-27 15:14:08 +00:00
Luke Slater
1a6146b348 delete category when rmlast makes empty quote category 2012-02-27 15:11:43 +00:00
Luke Slater
81d34ce304 classify 2012-02-15 21:05:26 +00:00
Luke Slater
a9af977f9d classify 2012-02-15 21:04:01 +00:00
Luke Slater
4aed2a700c classify 2012-02-15 21:01:31 +00:00
Luke Slater
e608491360 classify 2012-02-15 21:00:31 +00:00
Luke Slater
d98c1657dc add sam to dram acces 2012-02-14 19:00:12 +00:00
Luke Slater
8d681ad29b add golem to train 2012-02-14 18:57:52 +00:00
Luke Slater
5037779070 golem can train 2012-02-14 18:49:34 +00:00
Luke Slater
8b87e7e512 added self depracate 2012-02-14 18:18:53 +00:00
Luke Slater
770b66488d fix splicing category out 2012-02-14 18:17:31 +00:00
Luke Slater
c844125355 rtrain to add raw date 2012-02-14 18:15:59 +00:00
Luke Slater
25a48177a8 reporting didnt exist 2012-02-14 18:02:48 +00:00
Luke Slater
5cc3b224c2 experimental bayesian classifier for detecting being an asshole and drama 2012-02-14 18:00:03 +00:00
Luke Slater
e07eca7168 Remove a few instances of Aberwiki-specific stuff. 2012-02-14 17:07:03 +00:00
Luke Slater
77db61b02d it's an array not an object... 2012-02-14 00:41:34 +00:00
Luke Slater
9856fdc5b2 wrong path in unload 2012-02-14 00:35:54 +00:00
Luke Slater
9b4aba39b1 wrong params thing in unload 2012-02-14 00:35:02 +00:00
Luke Slater
7aeb2f0fbb fix unload 2012-02-14 00:32:31 +00:00
Luke Slater
d5ef51e506 Not sure what the hell is up with this package 2012-02-13 20:21:57 +00:00
Luke Slater
c20e5b61f2 Not sure what the hell is up with this package 2012-02-13 20:20:49 +00:00
Luke Slater
af7d8c58d1 use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:18:01 +00:00
Luke Slater
bc4dfb0003 use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:17:24 +00:00
Luke Slater
33ec196a7d use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:15:13 +00:00
Luke Slater
eab3b30805 use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:13:26 +00:00
Luke Slater
9b1fd7aa4e use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:11:51 +00:00
Luke Slater
d72d5f5bdc admin js command so admin can access dbot when running 2012-02-13 20:01:22 +00:00
Luke Slater
b34d714364 Merge branch 'master' of https://github.com/reality/depressionbot 2012-02-13 19:56:18 +00:00
Luke Slater
cc88d53de4 js runs in vm sandbox, documentation additions 2012-02-13 19:56:04 +00:00
Luke Slater
8783990d7f admin can bypass locks 2012-02-13 03:50:39 +00:00
Luke Slater
2cd7a3992c Merge branch 'master' of github.com:reality/depressionbot 2012-02-13 03:49:48 +00:00
Luke Slater
23cd0218ac admin can bypass locks 2012-02-13 03:48:56 +00:00
Luke Slater
29aeb88184 Remove karma related commands because they're stupid, moved kick-related commands into the kick module. 2012-02-11 16:25:20 +00:00
Luke Slater
471918d328 Fix kickArr reference in ~kickstats 2012-02-11 16:19:40 +00:00
Luke Slater
c798e42152 Refactored ~kickstats so there's no code repitition. 2012-02-11 16:17:52 +00:00
Luke Slater
e79854638a Commenting additions and moved module list specification into the config file. 2012-02-11 16:02:16 +00:00
Luke Slater
5ef21027ea Forgot to add req and res entry 2012-02-11 15:55:14 +00:00
Luke Slater
2db1174689 Merge branch 'master' of https://github.com/reality/depressionbot 2012-02-11 15:53:57 +00:00
Luke Slater
0c4b86dc28 Random quote page on the web interface. 2012-02-11 15:53:18 +00:00
Luke Slater
141fc40a04 opme takes channel argument 2012-02-11 15:45:10 +00:00
Luke Slater
2fd09aa3f9 apostrophes bitches 2012-01-20 16:26:47 +00:00
n3hima / Joe MacMahon
5d7bc0ad14 Added an ~rm command which can remove quotes which are not the most-recently-added quote 2012-01-14 10:27:23 +00:00
Luke Slater
ed02557500 Merge pull request #14 from n3hima/master
Fixed case sensitivity issue with the ~link command
2012-01-11 10:05:06 -08:00
Luke Slater
c2d2e0342e do that properly 2012-01-09 14:53:48 +00:00
Luke Slater
007540bead do that properly 2012-01-09 14:51:34 +00:00
Luke Slater
bb934fb1db fix spelling bug with replacing parts of words instead of the word if the letter sequence occurs first 2012-01-09 14:46:09 +00:00
Joe MacMahon
d5526cfe4b Fixed case-sensitivity with ~link 2012-01-08 21:58:40 +00:00
Luke Slater
9b00578a60 winnerDistance back up to 7 2012-01-02 13:20:20 +00:00
Luke Slater
b3c655a46b merging afals spelling fixed 2012-01-02 13:13:31 +00:00
Dafydd Francis
444817f145 cleaned up the spelling module 2012-01-01 20:35:43 +00:00
Dafydd Francis
32e21067f5 Changed 9999999 to Infinity 2012-01-01 18:47:50 +00:00
Luke Slater
f5fbb487a4 Merge branch 'master' of github.com:reality/depressionbot 2011-12-25 10:41:13 +00:00
Luke Slater
3ba0fbd030 youare less likely 2011-12-25 10:41:02 +00:00
Luke Slater
ea14374736 7 2011-12-14 20:57:15 +00:00
Luke Slater
817915958b distance 5 2011-12-14 19:15:32 +00:00
Luke Slater
d5d68fcc51 only admin can run js 2011-12-13 16:03:21 +00:00
Luke Slater
430d88e5d8 Merge branch 'master' of https://github.com/reality/depressionbot 2011-12-13 15:58:35 +00:00
Luke Slater
dcf1ee8cae afal merge req 11 change 2011-12-13 15:58:33 +00:00
Luke Slater
68c1394226 Merge https://github.com/dafrancis/depressionbot 2011-12-13 15:57:35 +00:00
Dafydd Francis
2b5fc780dc Added NECESSARY change 2011-12-13 15:48:55 +00:00
Luke Slater
d46294c576 accept - in categories everywhere 2011-12-12 14:08:56 +00:00
Luke Slater
4872340784 Allow - in category names 2011-12-12 14:06:05 +00:00
Luke Slater
d6eb37b226 quick fix for 42 because its not pulling channel right from jsbot 2011-12-04 17:05:23 +00:00
Luke Slater
d0b3b5252c modehate 2011-12-04 17:03:33 +00:00
Luke Slater
16354db060 test 2011-12-04 16:59:30 +00:00
Luke Slater
5379dc3d7f total quote count 2011-11-29 13:28:22 +00:00
Luke Slater
676be3f93f total quote count 2011-11-29 13:20:47 +00:00
Luke Slater
0b50552623 total quote count 2011-11-29 13:18:59 +00:00
Luke Slater
344ae848a4 fixed the idiot half-changed spelling bit 2011-11-27 13:32:41 +00:00
Luke Slater
877d666a19 fixed the idiot half-changed spelling bit 2011-11-27 13:27:34 +00:00
Luke Slater
b03a36f5f6 merge fix 2011-11-25 12:33:20 +00:00
Luke Slater
81eb8ebeac lolsnowtest 2011-11-25 12:27:00 +00:00
Luke Slater
8726c87c23 remove reality hard link 2011-11-24 13:17:16 +00:00
Luke Slater
23e4e5d7c0 ignore spelling if *word* 2011-11-17 22:12:32 +00:00
Luke Slater
b0d82acf77 ignore spelling if *word* 2011-11-17 22:06:56 +00:00
Alexander D Brown
4d53a481bd Updated the case sensativity a bit.
My ultimate aim of having the database entries cased and then the code that gets them work out insensibly seems a little unrealistic as it's easier to lowercase the input rather than the keys in the DB. Maybe at a later date when I've looked at the database code.

Shouldn't affect any other modules as it's standalone (and no port issues this time).
2011-11-10 18:29:06 +00:00
Luke Slater
d60038a852 Move listen port back to 443 2011-11-10 00:06:05 +00:00
Alexander D Brown
52cdddf3f7 Added in URL support for the web interface.
The Jade templating code in `views/quotes.jade` will now check against the Regular Expression which has been added to `snippets.js` and is delivered to the template by `modules/web.js`.

The reguar expression used should be able to handle any URL and ensure no non-URL elements are made into URLs. It may be worth adding checking for 4XX error codes at a later date.

This shouldn't affect any of the other modules; features have only been added, not modified.
2011-11-09 23:51:01 +00:00
Luke Slater
851f510973 Should have fixed public folder path 2011-11-08 18:59:29 +00:00
Samuel Clements
e0dd59ac7d Css should work easy now. 2011-11-08 18:52:59 +00:00
Samuel Clements
68a450edb4 Use plain css, should work better. 2011-11-08 18:45:40 +00:00
Samuel Clements
d3a4200ad9 Merge pull request #6 from ziaix/web
Should fixed /css error
2011-11-08 10:24:33 -08:00
Luke Slater
b02ad7f7a7 Fix npcs thingy whatever 2011-11-08 16:22:40 +00:00
Samuel Clements
d7bdbc7a52 Should fixed /css error 2011-11-08 15:48:52 +00:00
Samuel Clements
87d2409574 Started improving the web interface. 2011-11-08 15:36:18 +00:00
Samuel Clements
bb0af1951e Added ~link command. Links to the quote list page for that category. 2011-11-08 13:42:22 +00:00
Luke Slater
23653665c2 valmatch correction 2011-11-04 16:37:21 +00:00
Luke Slater
119d0b306e correct other peoples spelling 2011-11-04 16:34:36 +00:00
Luke Slater
f995564dbe more kicks 2011-11-03 01:48:47 +00:00
Luke Slater
e60465cfc1 spelling correct chaining 2011-11-01 17:48:13 +00:00
Luke Slater
8f48ce5289 modehate kick 2011-11-01 16:26:16 +00:00
Luke Slater
a4a8471ab5 ** 2011-10-31 17:13:41 +00:00
Luke Slater
130363c991 ** 2011-10-31 17:11:40 +00:00
Luke Slater
fd9366e4f9 ** 2011-10-31 17:10:25 +00:00
Luke Slater
e0dee27658 ** 2011-10-31 17:07:14 +00:00
Luke Slater
8a959a62b8 meant 2011-10-26 20:56:52 +01:00
Luke Slater
aa7fc99144 winner = correction fix 2011-10-26 20:52:53 +01:00
Luke Slater
e8c0d5565f var not int jesus christ java 2011-10-26 17:27:05 +01:00
Luke Slater
254f89f710 var not int jesus christ java 2011-10-26 17:26:37 +01:00
Luke Slater
d57b2e2092 var not int jesus christ java 2011-10-26 17:25:41 +01:00
Luke Slater
68d8c75b50 var not int jesus christ java 2011-10-26 17:24:19 +01:00
Luke Slater
c7b2b5b139 var not int jesus christ java 2011-10-26 17:22:19 +01:00
Luke Slater
adbcb4f1fa var not int jesus christ java 2011-10-26 17:21:21 +01:00
Luke Slater
e874ffbfc2 spelling 2011-10-26 17:19:52 +01:00
Luke Slater
72587af968 derp 2011-10-24 13:54:42 +01:00
Luke Slater
87760f7bd4 right chnnale 2011-10-24 13:51:02 +01:00
Luke Slater
ad3a3c48b1 karma fix 2011-10-20 11:56:43 +01:00
Luke Slater
824e5381e0 debugging. so what? 2011-10-20 11:55:09 +01:00
Luke Slater
90363ed707 karma fix 2011-10-19 22:31:34 +01:00
Luke Slater
ca14b38087 correction on correct admin pm routing 2011-10-18 16:57:37 +01:00
Luke Slater
00928e9528 correct routing on admin commands in pm 2011-10-18 16:53:48 +01:00
Luke Slater
ada0d56b19 save on admin commands 2011-10-18 16:52:33 +01:00
Luke Slater
14db0b6eb6 unmodehate 2011-10-18 16:49:04 +01:00
Luke Slater
5a2121b132 lower case rmlast key 2011-10-18 16:22:25 +01:00
Luke Slater
18906bf940 mass deop protection 2011-10-17 13:35:30 +01:00
Luke Slater
8a041bd17f opme works 2011-10-17 13:26:36 +01:00
Luke Slater
fe6dad5df6 25 2011-10-17 10:56:49 +01:00
Luke Slater
1f07302f7a debug 2011-10-16 20:05:52 +01:00
Luke Slater
b6320f476a debug 2011-10-16 20:05:15 +01:00
Luke Slater
3130e08c4e debug 2011-10-16 20:04:11 +01:00
Luke Slater
b6bbab1ba7 debug 2011-10-16 20:02:27 +01:00
Luke Slater
0b62ba4806 debug 2011-10-16 20:01:43 +01:00
Luke Slater
29891ca7cf debug 2011-10-16 20:01:04 +01:00
Luke Slater
a3ed88ae9c raw dat what? 2011-10-16 20:00:04 +01:00
Luke Slater
558f6b3345 debug 2011-10-16 19:59:17 +01:00
Luke Slater
1cb85852a9 debug 2011-10-16 19:57:25 +01:00
Luke Slater
0e274638ad debug 2011-10-16 19:56:20 +01:00
Luke Slater
5ff3be97a4 debug 2011-10-16 19:55:00 +01:00
Luke Slater
1ad5eeaf3b modehate only on deop 2011-10-15 19:55:45 +01:00
Luke Slater
5a97dea05b modehate only on deop 2011-10-15 19:54:29 +01:00
Luke Slater
0e18cd50c4 modehate only on deop 2011-10-15 19:51:58 +01:00
Luke Slater
7c7953b3a4 debug 2011-10-15 19:48:54 +01:00
Luke Slater
b8a55400bd qsearch 2011-10-14 13:26:51 +01:00
Luke Slater
a5960b8daf quote locks 2011-10-14 13:24:18 +01:00
Luke Slater
1f4c3fec8f qsearch 2011-10-13 17:39:11 +01:00
Luke Slater
cf2273aafa qsearch 2011-10-13 17:36:35 +01:00
Luke Slater
defb08b8ef terrible cheat 2011-10-12 21:36:42 +01:00
Luke Slater
8b23d272c6 test 2011-10-12 21:35:33 +01:00
Luke Slater
4c3b8f1082 test 2011-10-12 21:33:17 +01:00
Luke Slater
00dbe563bd modehate message 2011-10-12 21:30:48 +01:00
Luke Slater
b2c4793ad8 modehate message 2011-10-12 21:29:05 +01:00
Luke Slater
32e2c9434c back to mode 2011-10-12 21:25:42 +01:00
Luke Slater
136e67a4ce test 2011-10-12 21:23:35 +01:00
Luke Slater
198154678c quotes on on 2011-10-12 21:16:23 +01:00
Luke Slater
62ef1d36e1 test 2011-10-12 18:21:38 +01:00
Luke Slater
4793bfe7c6 test 2011-10-12 18:19:55 +01:00
Luke Slater
27a3cebc53 test 2011-10-12 18:18:33 +01:00
Luke Slater
fca6c4f573 wtf 2011-10-12 18:14:38 +01:00
Luke Slater
79bbc034c4 modehate 2011-10-12 18:09:55 +01:00
Luke Slater
50e7b46047 kickstats 2011-10-12 17:49:00 +01:00
Luke Slater
cbd96fb765 kickcount 2011-10-12 17:45:00 +01:00
Luke Slater
f48da5bcb4 kickcount 2011-10-12 17:43:53 +01:00
Luke Slater
04dc901974 kickers 2011-10-12 17:40:21 +01:00
Luke Slater
6528eace6e qadd reality ban 2011-10-12 16:55:46 +01:00
Luke Slater
0c552f4e28 js 2011-10-12 16:53:19 +01:00
Luke Slater
bbee3f4147 js 2011-10-12 16:52:28 +01:00
Luke Slater
b40845e93d qadd reality ban 2011-10-12 16:51:34 +01:00
Luke Slater
a450d357d1 qadd reality ban 2011-10-12 16:50:47 +01:00
Luke Slater
b76f3ff70c js 2011-10-12 16:48:54 +01:00
Luke Slater
421037d215 js 2011-10-12 16:47:56 +01:00
Luke Slater
0be481f505 js 2011-10-12 16:46:18 +01:00
Luke Slater
e0fdebe6df js 2011-10-12 16:45:43 +01:00
Luke Slater
7e78402c01 js 2011-10-12 16:45:07 +01:00
Luke Slater
f5ec74c549 js 2011-10-12 16:43:09 +01:00
Luke Slater
ab03d5bfca js 2011-10-12 16:42:19 +01:00
Luke Slater
6cd6b3e41a whoops 2011-10-12 15:39:35 +01:00
Luke Slater
78508dd1a5 qadd reality ban 2011-10-12 15:36:51 +01:00
Luke Slater
065611bcff Timed save 2011-10-12 14:52:58 +01:00
Luke Slater
d2332058fc push the right way around 2011-10-10 13:30:44 +01:00
Luke Slater
821d8407c1 unban 2011-10-09 16:15:44 +01:00
Luke Slater
b278c1dd14 feedback 2011-10-09 16:07:42 +01:00
Luke Slater
3f13de4780 ban 2011-10-09 16:06:28 +01:00
Luke Slater
d9f3099b70 thing 2011-10-07 13:04:39 +01:00
Luke Slater
d2554d8e6d Remove test I was just being an idiot 2011-10-06 13:22:16 +01:00
Luke Slater
301affa7c2 test 2011-10-06 13:20:12 +01:00
Luke Slater
e4e159b117 reality add to addStack 2011-10-06 13:16:35 +01:00
Luke Slater
617ce3ca12 Merge quotes and reality 2011-10-06 13:14:56 +01:00
Luke Slater
fd4c2e8148 443? 2011-10-06 00:32:28 +01:00
Luke Slater
b5b6e5fe92 port 110 2011-10-06 00:30:51 +01:00
Luke Slater
feb9517a9f move realiPuns to quoteArrs 2011-09-28 14:03:26 +01:00
Luke Slater
234afebf49 incinerate 2011-09-24 18:49:43 +01:00
Luke Slater
1b50f94d8e nobody loves 2011-09-18 18:20:50 +01:00
Luke Slater
d1ce8d99e0 link to quotes 2011-09-15 19:56:50 +01:00
Luke Slater
1076da026d quote list 2011-09-15 12:51:54 +01:00
Luke Slater
6d13e4ee07 quote list 2011-09-15 12:50:40 +01:00
Luke Slater
9d0077b184 lower case key 2011-09-15 12:34:01 +01:00
Luke Slater
0ab31586e9 quote list and error page 2011-09-15 12:30:52 +01:00
Luke Slater
13d58f67e3 app.close() ends the event loop 2011-09-14 17:46:59 +01:00
Luke Slater
1621e22ddd Move onDestroy to the right place 2011-09-14 17:30:39 +01:00
Luke Slater
0f0e935c36 Remove from general population for a bit. test ondestroy 2011-09-14 17:28:00 +01:00
Luke Slater
36874ac3e6 module on destroy and process exit 2011-09-14 17:24:32 +01:00
Luke Slater
a63d350b50 yes it's a test shut up 2011-09-13 22:03:02 +01:00
Luke Slater
75899123c9 remake the app inside the module 2011-09-13 21:55:20 +01:00
Luke Slater
43ed7fb570 web interface test 2011-09-13 21:23:46 +01:00
Luke Slater
3408be26ac opme 2011-09-12 18:11:32 +01:00
Luke Slater
c453c80536 ~kickstats 2011-09-12 16:38:10 +01:00
Luke Slater
33fc7712a8 admin unlimited remove 2011-09-04 15:55:12 +01:00