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
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