Commit Graph

112 Commits

Author SHA1 Message Date
reality
429eafd8e4 banOutput option in command [#460] 2013-05-27 17:45:30 +00:00
reality
3148b3e434 document new command config features [#467][#351] 2013-05-26 14:16:56 +00:00
reality
9847a05301 Add accessOutput command to tell users when they are not authorised to run a command [#467] 2013-05-26 14:14:01 +00:00
reality
2fc5fc6992 remove command hooks [#471] 2013-05-25 22:09:07 +00:00
reality
5bf6088453 fix command emit on reload 2013-05-25 21:34:11 +00:00
reality
712db49274 Merge github.com:reality/depressionbot into database 2013-05-25 21:05:45 +00:00
reality
1e2a823ef2 Initial logging module [#336] 2013-05-25 19:13:35 +00:00
reality
9d03364a23 merge [#439] 2013-05-17 07:40:46 +00:00
reality
be23d97293 [ 2013-05-17 07:35:21 +00:00
reality
eac0083bea Build help link automatically [#439] 2013-05-17 07:34:25 +00:00
reality
41ec896dfc Merge git://github.com/reality/depressionbot into database 2013-05-10 18:13:41 +00:00
reality
80b586ba60 Fix access control [Close #436] 2013-05-06 21:49:45 +00:00
reality
4891b70ec3 merge [#307] 2013-04-30 16:47:47 +00:00
reality
2afb1c6ba3 Add int handling for setconfig, add debugLevel [#307] 2013-04-30 16:44:39 +00:00
reality
9625f1d316 merge with master, command uses nickserv auth in db [#421] 2013-04-24 20:45:20 +00:00
reality
8475aa46e8 command can use nickserv [#421] 2013-04-23 19:07:23 +00:00
reality
f98f7e435a that should be all of the dependencies [#413] 2013-04-22 16:20:17 +00:00
reality
65b410416c Module loader properly iterates all automatically loaded dependencies [#399] 2013-04-21 14:51:59 +00:00
reality
8712216948 dat merge 2013-04-20 10:51:39 +00:00
reality
75b160f161 merge 2013-04-19 23:37:26 +00:00
Niels Simenon
ff52d7e6f1 Added Dutch translations. 2013-04-20 00:05:46 +02:00
reality
f5fb2322b1 Merge github.com:reality/depressionbot into database 2013-04-14 15:16:55 +00:00
reality
b51f240061 Fix broken syntax in command changes [#359] 2013-04-14 14:29:14 +00:00
reality
5e0f126693 Do [#359] 2013-04-14 13:58:45 +00:00
reality
11dcaac44c last commit meant admin commands couldnt be run. will rethink later. 2013-04-12 17:59:51 +00:00
reality
38c18366a3 Stop command execution syntax running if line is not a command. Note [#337] was fixed a few commits ago too. 2013-04-12 17:42:11 +00:00
reality
6bae0f47bf ~ignorechannel and ~unignorechannel now databankerised. Fixed bug with not initialising chan ignores onLoad. Ignore now fully databankerised. [#331] 2013-04-11 21:21:12 +00:00
reality
223b20b598 * ~ban and ~unban now fully databankerised and tested [#331]
* Refactored ~ignore and ~unignore
* Refactored API
* Command uses new ban/ignore APIs, removed its own isBanned
* Ignore is now aware of servers [#188]
2013-04-11 20:12:29 +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
0c263a2005 Merge pull request #324 from JohnMaguire2013/help
adding forgotten usage file for ~help and ~usage
2013-03-22 04:17:37 -07:00
John Maguire
eea6643028 adding forgotten usage file for ~help and ~usage 2013-03-21 15:08:48 -04:00
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
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
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
Jessica T
a8e8120a5c realityìri oel pamrel soli fì'ur mipa upxare leNa'vi 2013-01-29 14:47:37 +00:00
reality
eb62212626 Add check for channel ignorance in command execution logic [#190] 2013-01-27 16:48:14 +00:00
Luke Slater
6b6907fe7b re-add ~quote syntax 2013-01-24 00:39:42 +01:00
reality
d7bbd57358 what a fool 2013-01-23 13:40:33 +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
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
3bde9e4930 Transformed dent module, changed module loader to give right scope. [#131] 2013-01-14 17:45:53 +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
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
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
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
5429740eef add ignores to dbkeys in command so no fail if theres no ignore loaded 2013-01-05 18:53:27 +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
56a7107b88 Complete strings.json usage in command [#88] 2012-12-30 16:45:14 +00:00
reality
8bd9f93632 add readme files for command and quotes [#75] 2012-12-29 23:05:16 +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
b641dcd34a usage info in command 2012-12-11 20:31:11 +00:00
Luke Slater
3a58f6b8b1 moved strings for command 2012-12-11 16:26:29 +00:00
Luke Slater
b2ea634d8c Move all the modules to their own directories 2012-12-11 16:04:52 +00:00