Commit Graph

17 Commits

Author SHA1 Message Date
Andreas Bielawski
8b7c55088a Code-Cleanup für Utilities, fix #12 2016-09-08 01:35:10 +02:00
Andreas Bielawski
fb9d3652f3 Upstream:
- self muss nicht mehr überall übergeben werden
- alle Plugins wurden angepasst

Eigene Updates:
- abort_inline_query() hinzugefügt
- Mehr Plugins zum Standard-Set hinzugefügt
- Eventuell noch etwas, was ich vergessen hab
2016-08-24 15:38:29 +02: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
148d4b0dc5 tab -> 4 spaces 2016-08-13 22:46:18 -04:00
Andreas Bielawski
2118a844d9 - Restrukturierung: "require" wird nun nicht mehr in jedem Plugin benötigt
- Echo: Korrekte Ausgabe in Supergruppen
2016-07-31 21:29:44 +02: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
Andreas Bielawski
0b93465623 Merge remote-tracking branch 'upstream/master' 2016-07-14 11:04:39 +02: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
Andreas Bielawski
fb00312dd9 Merge Upstream 2016-07-05 13:14:22 +02: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
Andreas Bielawski
89ff787b09 Bereite Release vor 2016-06-20 22:36:12 +02:00
Andreas Bielawski
da14baa05b - Portiere Channels
- Portiere Plugins
- Stelle Plugin-Ladeprozess auf Redis um
- Plugin-Name wird in die Plugins-Tabelle eingefügt
2016-06-18 12:51:13 +02: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
31a8e220ac final bugfix (hopefully!) 2016-06-07 03:13:54 -04:00
topkecleon
4cf00227f6 yay, more bugfixes 2016-06-07 03:02:05 -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