Commit Graph

71 Commits

Author SHA1 Message Date
Andreas Bielawski
72262be90c Upstream 2016-08-14 16:30:06 +02: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
Andreas Bielawski
5449bd3263 - Core: Nur noch ein Pattern pro Plugin wird gematcht + Pattern wird jetzt wieder angezeigt
- twitter_send: twwhitelist mit Reply (wie bei Banhammer) + Bugfixes
2016-08-14 00:37:09 +02:00
Andreas Bielawski
0cedb2f9c1 - Version auf 2.2.6 erhöht
- Fixe Standard-Plugins
2016-08-12 01:34:22 +02:00
Andreas Bielawski
30feea5238 - Banhammer und Bann-System stark überararbeitet:
- /block und /block delete hinzugefügt, um User nur vom Bot zu blocken, nicht aus dem Chat zu entfernen
  - /leave hinzugefügt: Bot verlässt die Gruppe
  - Geblockte, gebannte oder nicht gewhitelistete User können keine Callbacks mehr benutzen
  - Geblockte User können keine InlineQuerys mehr benutzen
  - Admin kann direkt auf Nachrichten mit /whitelist, /whitelist delete, /block, /block delete, /ban, /ban delete und /kick antworten, um diee Aktion auszuführen
- Anpassung des InlineQuery-Systems, um falsches Caching für alle zu verhindern
- Wikipedia: Setze Caching-Zeit auf eine Stunde für InlineQuerys
2016-08-11 14:08:21 +02:00
Andreas Bielawski
55a56e1a6f Sende keine Fehlermeldungen mehr an den Chat, sondern ignoriere die Nachricht einfach. Es wird empfohlen, einen Log-Chat einzurichten und die Fehlermeldungen dort hinleiten zu lassen (siehe config.lua.example) 2016-08-09 00:49:54 +02:00
Andreas Bielawski
33ea8a0876 Weitere Optimierungen 2016-08-08 17:23:36 +02:00
Andreas Bielawski
8c97cf4637 - Code-Optimierung
- Tabellen als Rückgabewerte von Plugins werden nicht mehr unterstützt
2016-08-07 20:45:51 +02:00
Andreas Bielawski
6eb401d586 du kannst mich mal! 2016-08-07 02:30:52 +02:00
Andreas Bielawski
8b5413808b - Time: Inline-Query + Umstrukturierung
- Einige Plugins: matches vergessen
2016-08-07 02:17:37 +02:00
Andreas Bielawski
545894d970 Wikipedia: Nutze HTML, nicht Markdown (fixt einige Artikel, die nicht gelistet werden) 2016-08-07 00:53:21 +02:00
Andreas Bielawski
0c74209bf1 Tagge 2.2.5 2016-08-07 00:45:20 +02:00
Andreas Bielawski
a3840c086f Wichtiger Bugfix für Inline-Querys, der verhinderte, dass Caching funktioniert 2016-08-07 00:42:22 +02:00
Andreas Bielawski
c21aa73459 - Ungültige InlineQuerys werden automatisch abgebrochen, der Ladekreis dreht sich so nicht mehr (das gilt auch für "nicht gefunden", etc.)
- IMDb-Plugin: Inline-Querys + Button
2016-08-05 15:06:15 +02:00
Andreas Bielawski
206c06937a - Service-Nachrichten funktionieren nun anders und nicht mehr über Pre-Processoren (wie bei v1 des Bots) -> höhere Perfomance!
- leave_group und entergroup in service_leave_group bzw. service_entergroup umbenannt
  - Git zeigt die Umbenennung von leave_group nicht an!?
- Games: Fix für Pattern
- Utilites: Zwei neue Funktionen: is_service_msg() und service_modify_msg(), das erste prüft, ob es sich um eine Service-Message handelt, das zweite modifiziert msg.text und msg.text_lower entsprechend
2016-08-01 21:51:37 +02:00
Andreas Bielawski
6757c57565 Fix HTTP für Media 2016-08-01 01:20:45 +02:00
Andreas Bielawski
22dc1916de Tagge 2.2.4 2016-08-01 00:39:17 +02: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
Andreas Bielawski
b235b95757 2.2.3.2:
Bugfix für AFK (kritisch)
2016-07-30 13:22:25 +02:00
Andreas Bielawski
64e16fde64 Ich krieg die Krise! 2016-07-29 00:07:00 +02:00
Andreas Bielawski
ecbe9f4c33 Was vergessen, sorryy 2016-07-29 00:05:27 +02:00
Andreas Bielawski
7936ec0ac6 - Entferne Botan-Analytics, da es schlecht funktioniert hat
- Erhöhe Version auf 2.2.3
2016-07-29 00:02:54 +02:00
Andreas Bielawski
fdc1f30174 Das hier sollte raus 2016-07-26 16:40:48 +02:00
Andreas Bielawski
e57a4fd520 Integriere Botan.io, der Key von Botan muss in die config.lua eingetragen werden.
Es wird nur der Name des Plugin geloggt, keine Befehle und auch keine Userdaten!
2016-07-26 16:39:18 +02:00
Andreas Bielawski
5a261a87f4 Brawlbot 2.2.2 2016-07-25 13:54:12 +02:00
Andreas Bielawski
dd893d220b Einige Upstream-Ändderungen 2016-07-25 13:47:39 +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
7c6337bf8a v2.2.1
Merge remote-tracking branch 'upstream/master'
2016-07-16 13:16:56 +02:00
topkecleon
8b6bf53cca blacklist.lua: Will now leave a blacklisted group. 2016-07-15 15:24:20 -04:00
Andreas Bielawski
595f27a918 - InlineQuery für 9gag
- bImages: Ausdruck
- Core: Leere InlineQuerys werden jetzt auch übergeben
2016-07-14 11:48:48 +02: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
f2fa1a6cc5 v2.2.0 2016-07-13 21:43:24 +02:00
Andreas Bielawski
678642d877 InlineQuerys für das Wikipedia-Plugin (@BOTNAME wiki(optionale Sprache) Suchbegriff) 2016-07-13 14:33:52 +02:00
Andreas Bielawski
76a7923519 ...jetzt wirklich! 2016-07-13 02:08:59 +02:00
Andreas Bielawski
c84befa6b2 Username des Bots wird jetzt nur noch einmal korrekt rausgeschnitten 2016-07-13 02:01:02 +02:00
Andreas Bielawski
0f2e1460cb - Echo: Fix für Anführungszeichen in InlineQuerys
- Core: Kennzeichne Inline-Querys
2016-07-13 01:21:50 +02:00
Andreas Bielawski
7ce4411a65 - Inline-Querys werden jetzt unterstützt!
-> Das erste Plugin mit Inline-Query-Support ist "Echo", das wie @bold funktioniert
-> Neue Variable zur Config hinzugefügt, mit der man bestimmen kann, ob nur whitelisted User oder alle Inline-Querys benutzen können
- AFK zeigt AFK-Text jetzt fett an
2016-07-13 01:00:32 +02:00
Andreas Bielawski
d09ddc7520 - enabled_plugins Hotfix
- Test mit InlineQuerys, bitte ignorieren
2016-07-12 23:04:39 +02:00
Andreas Bielawski
271cad507a Spezifischer 2016-07-09 15:13:41 +02:00
Andreas Bielawski
a1453c6795 CallbackQuery: Verhindere Konflikt mit anderen Bots 2016-07-09 15:10:31 +02: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
b089efa34b - Verbessertes Error-Handling, wenn Datei nicht gesendet werden konnte
- Unescape bei CallbackAnswers (danke @Centzilius)
- gImages sollte jetzt stabiler laufen und weniger "Techniker ist informiert" zurücksenden
2016-07-04 01:29:51 +02:00
Andreas Bielawski
340ca1f556 removed echo and die statements, lolz. 2016-07-02 15:03:54 +02:00
Andreas Bielawski
88cc3f5e6b Callback_Querys sollten nun wie ewartet funktionieren 2016-07-02 14:58:04 +02:00
Andreas Bielawski
862335dc77 Implementation von Callback-Querys (auf ein neues!) 2016-07-02 12:35:14 +02:00
Andreas Bielawski
52e0ea8125 This reverts commit c36c6ef125.
Wir erstellen einen neuen Branch...
2016-07-02 12:30:07 +02:00