Commit Graph

16 Commits

Author SHA1 Message Date
John Maguire
23c20f0937 adding link to default modules 2013-03-18 21:53:08 -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
reality
d2896797aa change std version 2013-02-09 19:48:52 +00:00
Joe MacMahon
8c828213d0 Added CTCP VERSION responding. New config option for version. 2013-02-09 16:44:05 +00:00
Sam Nicholls
73ec2bb182 Upgraded stats and users to core 2013-01-12 13:17:31 +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
Luke Slater
c22b7a24da Update config.json.sample 2013-01-05 16:43:22 +01: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
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
a431d4c636 Config defaults and file loading changes
* Attempts to load config from default file upon failing to load config.json
* Stops if db fails to load
* Automatically loads config keys into dbot object
2012-12-12 18:25:07 +00:00
Sam Nicholls
78837f9da1 Added url string 2012-12-06 19:33:25 +00:00
Sam Nicholls
757344d580 Attempt to fix Issue #54 2012-12-05 19:05:19 +00:00
Sam Clements
0584a84755 Valid JSON. 2012-07-17 14:08:11 +01:00
Luke Slater
ccc36d67a7 Transformed config file to accept multiple servers and changed dbot constructors to reflect this 2012-04-20 14:14:28 +01:00
Luke Slater
2b81605e2b Added sample config file 2012-03-27 16:42:48 +01:00