Commit Graph

309 Commits

Author SHA1 Message Date
topkecleon
384e4c62a3 Merge branch 'master' of http://otou.to/code 2016-08-26 23:27:13 -04:00
Drew
a05ad2b4ac Merge pull request #77 from bb010g/record-mod-reason
Record moderation reasoning to log when possible.
2016-08-26 23:26:59 -04:00
topkecleon
e92beeb58a trivial stuff 2016-08-26 23:25:55 -04:00
Brayden Banks
31d0c65e91 Record moderation reasoning to log when possible. 2016-08-26 19:31:12 -07:00
topkecleon
1e99a9a1f3 more drua stuff 2016-08-25 07:28:59 -04:00
topkecleon
f9a4bc8803 address #76
also bugfix
2016-08-24 13:29:26 -04:00
topkecleon
acc7046d64 administration 1.13.1
Added optional target for kick/ban logs. Added flag 7 to use default log
 per group. This way, a realm can have a public kick/ban log but governors
 are able to opt out. Added flag 8, antilink. Kicks for Telegram join links
 which do not refer to groups within the realm. Added flag 9, modrights, to
 give moderators access to changing the group photo, title, link, and motd
 (config option is deprecated. RIP). /unban will reset the target's autokick
 counter. Added configuration for default flag settings.

Revision to bindings.lua.
BASE_URL has been moved to bindings. There is no real reason for it to remain
in instance. Token is passed to bindings.init at load. All plugins have been
updated accordingly.
2016-08-23 00:16:32 -04:00
topkecleon
d3b0825fa0 oops 2016-08-15 01:08:55 -04:00
topkecleon
f9094a73ca address #75 2016-08-15 01:00:24 -04:00
topkecleon
738b45cdbd why was that there and how did it get through 2016-08-14 09:23:13 -04:00
topkecleon
0c1ac4a119 more readme stuff 2016-08-13 23:51:58 -04:00
topkecleon
460c06ae6c readme fix 2016-08-13 23:36:59 -04:00
topkecleon
148d4b0dc5 tab -> 4 spaces 2016-08-13 22:46:18 -04:00
topkecleon
6fbd718af0 whoop 2016-08-13 22:43:23 -04:00
topkecleon
43a6b53c90 otouto 3.13
good lord
2016-08-13 22:26:44 -04:00
topkecleon
e19d2e1e84 patterns.lua
Trim whitespace off the ends of strings (partial fix for
https://github.com/topkecleon/otouto/issues/74).
  Make output style consistent with translate.lua.
2016-07-26 17:50:31 -04:00
topkecleon
b7c81c464f otouto v3.12
Minor changes across the board. More planned. I also may have accidentally screwed with access
permissions (so looks like every file is marked modified).
Moved drua-tg.lua into the otouto/ directory.
Added pokego-calculator.lua plugin (similar to pidgeycalc.com).
2016-07-25 05:03:35 -04:00
topkecleon
701f6bbd41 Merge branch 'master' of http://otou.to/code 2016-07-15 15:37:04 -04:00
topkecleon
22e41ee2fe blacklist.lua bugfix 2016-07-15 15:36:33 -04:00
Drew
43e8fe952f Merge pull request #73 from bb010g/patch-1
PokéGo fix.
2016-07-15 15:24:59 -04:00
topkecleon
8b6bf53cca blacklist.lua: Will now leave a blacklisted group. 2016-07-15 15:24:20 -04:00
Brayden
6f74268546 Fix your database serialization, Drew 2016-07-15 12:12:58 -07:00
Drew
218f8f6589 Merge pull request #72 from bb010g/gotta-catch-em-all
Add Pokémon Go plugin.
2016-07-13 21:58:49 -04:00
topkecleon
67f7d7e12f blacklist.lua rewritten to remove toggle and support multiple arguments.
The /reload command no longer has stupid, undocumented behavior (though there is now an opt-in for such
stupid, undocumented behavior for those of you who like stupid, undocumented behavior).
Slight modification to reactions.lua to prevent accidents.
New plugin: rmspic.lua. why
2016-07-13 21:57:23 -04:00
Brayden Banks
82fe1a8dc6 Add Pokémon Go plugin. 2016-07-13 18:20:26 -07:00
topkecleon
9ebdbd9d3c otouto 3.11
"things occurred"

Added some utilities (id_from_username, id_from_message), removed some utilities (latcyr, others?).
Removed cycle-wasting "shortcuts" -- no more automatic id_str or name; text_lower remains.
Moved userdata (nicknames, lastfm, etc) to a different tree in the database (automatic migration will occur). /me now returns userdata.
Speaking of migration, database now stores the latest version run to make future automigration easy.
Database now saves hourly rather than minutely.
Changed readme and some plugins to reflect above changes.
Removed broken rockspec (Brayden, feel free to re-add once it's working).
Added option to automatically block people (via drua) when blacklisted.
Fixed about.lua trigger problems.

administration 1.11 -  Removed /kickme and /broadcast. Users should leave manually, and announcements should be made via channel rather than spam. /setqotd now handles forwarded messages correctly. /kick, /ban, /hammer,
/mod, /admin now support multiple arguments. Added get_targets function. No migration is necessary.
2016-07-05 03:29:11 -04:00
topkecleon
69f0702365 administration.lua bugfix 2016-06-19 19:54:19 -04:00
topkecleon
eadf593ed7 administration.lua 1.10.5
/groups now supports queries. Added /setqotd trigger/behavior to /setmotd.
2016-06-19 04:36:33 -04:00
Drew
fc1208af03 Merge pull request #68 from TiagoDanin/Fix-Shout
Fix and improvement in shout
2016-06-17 01:42:48 -04:00
topkecleon
444ff18cac administration.lua 1.10.4
/flags now accepts multiple arguments.
control.lua - bugfix
The readme changed but I don't remember how.
2016-06-17 01:13:05 -04:00
TiagoDanin
9c8c112bb3 Revert limit of 17 char 2016-06-15 14:21:12 -05:00
topkecleon
f17455a505 Updated readme, slightly modified help behavior. 2016-06-15 08:35:39 -04:00
topkecleon
101eb70eae otouto 3.10
Plugins can now silence error messages or set their own.
  administration.lua now silences error messages.
  administration kick notifications now include user IDs.
2016-06-14 17:57:36 -04:00
TiagoDanin
f5abe50372 Fix and improvement in shout 2016-06-13 12:59:44 -05:00
topkecleon
31a8e220ac final bugfix (hopefully!) 2016-06-07 03:13:54 -04:00
topkecleon
b130bf8b5b more bugfixes! 2016-06-07 03:04:27 -04:00
topkecleon
4cf00227f6 yay, more bugfixes 2016-06-07 03:02:05 -04:00
topkecleon
c6f6fe96b8 more bugfixes, yay 2016-06-07 02:22:01 -04:00
topkecleon
6fc5320198 make brayden's stuff work 2016-06-07 00:31:34 -04:00
topkecleon
a97457aa01 fix stuff 2016-06-07 00:09:26 -04:00
Drew
38fd3561de Merge pull request #62 from bb010g/proper-module
Make otouto a proper module
2016-06-06 23:56:38 -04:00
Brayden Banks
c51fbedb7b Begin library-friendly structuring 2016-06-06 20:54:25 -07:00
topkecleon
732b55369a increment version number 2016-06-06 23:45:39 -04:00
topkecleon
e60865d4a4 fix capitalization problems 2016-06-06 23:45:11 -04:00
Drew
1de9e7f968 Merge pull request #63 from bb010g/explicit-config
Explicit config
2016-06-06 23:28:23 -04:00
Brayden Banks
bb8b8b9c64 Moved utilities.CMD_PAT to config.cmd_pat. 2016-06-06 20:22:58 -07:00
Brayden Banks
ed6b536a46 Fully use utilities.CMD_PAT (née INVOCATION_PATTERN). 2016-06-06 20:21:42 -07:00
Brayden Banks
6a13d523fb Extracted config from instance. 2016-06-06 20:21:42 -07:00
topkecleon
a1810dba86 help.lua: Provides start link when unable to send a user the help message privately.
administration.lua: 1.10.3: /gadd now supports arguments.
2016-06-06 23:13:26 -04:00
topkecleon
4848c9875b add reply-to input support to shout.lua 2016-06-01 21:01:45 -04:00