Commit Graph

71 Commits

Author SHA1 Message Date
reality
97907603f5 automatically save module load changes [#489] 2013-06-05 21:14:21 +00:00
reality
b7a3b6a139 save a seperate customconfig so not everything is saved to config.json. create saveconfig internal api function for admin [#489] 2013-06-05 21:00:52 +00:00
reality
eafc2dbee1 fix config pointers in admin and imgur [#489] 2013-06-05 20:13:40 +00:00
reality
a25620bf9e recursively call showconfig [#489] 2013-06-04 00:06:41 +00:00
reality
4a7fcd57b3 Module config now loaded from config.json , rleloaded upon reloading and various module changes to make it work right [#474] [#489] 2013-06-03 23:00:23 +00:00
reality
ec0c4ad781 merge of terror #2 2013-06-01 17:57:07 +00:00
Roi
505d69ef73 German translations 2013-06-01 16:16:24 +00:00
reality
a01438a879 worst merge 2013 eu 2013-06-01 15:55:09 +00:00
reality
080770768d syntax error in admin strings 2013-05-28 22:30:24 +00:00
Owen Dyckhoff
0234d7a52a Corrected Welsh spelling error and substituted more appropriate word in admin module strings.json 2013-05-28 21:55:27 +02:00
Owen Dyckhoff
b0852c2fac Completed admin module Welsh translations in strings.json 2013-05-28 20:09:32 +02:00
reality
b3d2b89734 Merge github.com:reality/depressionbot into database 2013-05-20 15:27:22 +00:00
Luke Slater
5fd7e2ca50 Merge pull request #451 from zuzak/borkborkbork
Add tracking for a certain hash
2013-05-20 08:27:10 -07:00
Douglas Gardner
7303cfccf3 Correct accidental Italian accent in admin module 2013-05-20 15:23:11 +00:00
reality
df2b484a66 merge 2013-05-17 13:32:41 +00:00
reality
33f8b21edd config rather than currentOption 2013-05-17 12:02:38 +00:00
reality
2b57300f65 Fix [#443] 2013-05-17 08:15:16 +00:00
reality
eac0083bea Build help link automatically [#439] 2013-05-17 07:34:25 +00:00
reality
ccc962d9f2 update admin docs [#351] 2013-05-10 18:38:57 +00:00
reality
0259584c25 savemodules command [#438] 2013-05-10 18:12:40 +00:00
reality
9db515d44a Fix [#433] 2013-05-06 15:53:42 +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
88c51209af mergy mergy 2013-04-30 13:53:16 +00:00
Douglas Gardner
b31ca20d92 Moved admin strings to json
* Moved strings from hardcoded ``admin/commands.js`` to
  ``admin/strings.json`` to aid translation
* Bump total string count to a rather large number
* Tidy some JS I noticed whilst in the vicinity
2013-04-30 09:37:32 +00:00
reality
f905c58877 Fix setconfig, showconfig and pushconfig from being confused by false values [#331] 2013-04-22 14:46:30 +00:00
reality
8e8953999d Various database branch fixes [#331]:
* Admin module doesn't try to use reload string when it's not there.
* Fix dent event hookin
* Fix quote retrieval (two ~q definitions and no false check before interpolate)
* Change databankerised modules to use redis for testing
2013-04-22 14:22:35 +00:00
reality
3cd4513fe4 fix module loader. admin sets config keys onload. I am incredibly annoyed. [#331] 2013-04-20 16:08:34 +00:00
reality
466cb12c94 getCurrentConfig, pushconfig, showconfig and setconfig databankerised [#331] 2013-04-20 13:50:47 +00:00
Niels Simenon
ff52d7e6f1 Added Dutch translations. 2013-04-20 00:05:46 +02:00
reality
84c311ee41 Stop [#326] happening again in the admin module by applying admin to all commands by default 2013-03-22 10:58:40 +00:00
reality
b8f089284f Merge pull request #322 from JohnMaguire2013/ignore
little bit of cleanup on dbKeys of admin/ignore modules
2013-03-22 03:44:25 -07:00
Sam Nicholls
9034dbae6b Patch pushconfig critical 2013-03-21 18:48:06 +00:00
John Maguire
3193e45a95 removing empty dbKeys from admin module config 2013-03-21 14:23:58 -04:00
reality
415047f765 remove ban/unban from admin [#321] 2013-03-21 14:47:11 +00:00
reality
0f2c77187c Merge pull request #320 from JohnMaguire2013/admin
fix error on "showconfig" with no paremeters (now shows root config)
2013-03-21 07:35:32 -07: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
6a968d5945 add ability to unload a module whose file has been deleted 2013-03-20 19:34:43 -04:00
Douglas Gardner
a53eb5e0d2 begin transition from English to ISO-639 with #234
This patch converts all English language strings used within
depressionbot's localisation interface (that is, strings.json) to their
ISO-639-1 equivalents.

The purpose of this patch is to make the strings.json file less
English-dependent.

All languages with an ISO-639-1 code have been converted; that is,
English, Spanish and Welsh, to ``en``, ``es`` and ``cy`` respectively.

This patch does not attempt to force a solution to the issue of Na'vi:
the language does not have a large enough corpus to warrant its own ISO
639-3 code, and as such there is no perfect solution. For the time
being, this patch keeps the Na'vi language as its English language
string ("Na'vi"). A possible solution to this discrepancy includes using
the ISO 639-3 code ``art``, used for artificial languages that do not
qualify for an official code, or by using local use codes specified
in ISO 639-3 (qaa to qtz).

This patch requires collaboration with upstream repositories that also
use strings.json, such as the Github and Stats modules.
2013-02-12 18:39:15 +00:00
Sam Nicholls
532b1daaa6 Restrict version command to admin 2013-02-11 16:36:01 +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
d3c3c2a5c1 pushconfig command [#189] 2013-01-27 20:26:14 +00:00
reality
74d8fd9f94 getConfig now figures out value, appropriate changes for [#189] 2013-01-27 17:53:50 +00:00
reality
045ff8b9f8 status command and some basic error storing in module load [#198] 2013-01-23 22:32:17 +00:00
reality
2f2356f2fd Add dependency info [#187] 2013-01-21 20:50:23 +00:00
reality
2f05cba960 set some config options not allowed to be changes [#145] 2013-01-21 00:10:01 +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