Commit Graph

17 Commits

Author SHA1 Message Date
topkecleon
1063ee8729 Move to Lua 5.3.
Also new shell script to install Luarocks (for Lua5.3) (on Ubuntu 16.04) and all
necessary rocks.
Updated tg-install.sh to not include all the needless dependencies.
2016-09-04 00:50:51 -04:00
topkecleon
caff204c71 administration.lua 1.13.2 - /desc can now be used with a query.
remind.lua - Now accepts repled-to message text as reminder.
2016-08-30 15:09:24 -04:00
Brayden Banks
31d0c65e91 Record moderation reasoning to log when possible. 2016-08-26 19:31:12 -07: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
f9094a73ca address #75 2016-08-15 01:00:24 -04:00
topkecleon
148d4b0dc5 tab -> 4 spaces 2016-08-13 22:46:18 -04:00
topkecleon
43a6b53c90 otouto 3.13
good lord
2016-08-13 22:26:44 -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
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
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
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
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
Brayden Banks
c51fbedb7b Begin library-friendly structuring 2016-06-06 20:54:25 -07:00