Commit Graph

422 Commits

Author SHA1 Message Date
Andreas Bielawski
07c16c8b77 Personal natürlich!! 2016-08-13 16:05:07 +02:00
Andreas Bielawski
b49088b9fe ID: Funktioniert jetzt auch inline 2016-08-13 16:01:01 +02:00
Andreas Bielawski
cbc72d8fe0 YouTube_DL: Fehler, wenn Video entfernt wurde/nicht existiert 2016-08-12 21:11:45 +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
525529aff9 YouTube_DL: Fix für m.youtube.com Links 2016-08-12 01:26:28 +02:00
Andreas Bielawski
e018760317 YouTube-DL: Neue Qualitätsauswahl mit CallbackQuerys 2016-08-12 00:44:39 +02:00
Andreas Bielawski
f62095634e - Respond: Ändere URLs für Bilder, da GDrive-Webhosting Ende August eingestellt wird 2016-08-11 17:03:23 +02:00
Andreas Bielawski
3893f86815 YouTube-DL jetzt mit globaler Qualitätsauswahl 2016-08-11 15:01:18 +02:00
Andreas Bielawski
d7dafcedeb Banhammer: User wird bei /kick jetzt doch von Supergruppen gebannt (nutze /ban delete [USER_ID] zum entbannen, bzw. antworte auf eine Nachricht des Nutzers mit /ban delete 2016-08-11 14:15:07 +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
c931404452 Fixe Twitter_User 2016-08-11 03:24:05 +02:00
Andreas Bielawski
6b469fdb37 - YouTube-DL: Downloadprozess für MP4 umgeschrieben + nur noch YouTube wird unterstützt
- YouTube: Bugfix, wenn Video-ID invalide
2016-08-11 02:34:37 +02:00
Andreas Bielawski
83f3faf4a3 Currency: Stelle auf Fixer.io um und ergänze Inline (danke @Centzilius) 2016-08-10 19:39:04 +02:00
Andreas Bielawski
e0f56b520b Fixe media. Wat? 2016-08-09 21:30:42 +02:00
Andreas Bielawski
f4a20a972f ...mit einer Nachkommastelle
+ Bugfix für ID
2016-08-09 17:35:40 +02:00
Andreas Bielawski
55fca7a73d Stats: Prozentualer Anteil der Nachrichten eines Users am Totalwert (danke Malte!) 2016-08-09 17:27:58 +02:00
Andreas Bielawski
fea1f79dcf - Forecast: Inline-Mode + Optimierungen
- Weather: Optimierungen
2016-08-09 16:52:18 +02:00
Andreas Bielawski
7418e71b2c Wetter: Fixe Caching-Bug 2016-08-09 14:17:21 +02:00
Andreas Bielawski
638c5e1ae9 Bugfix für AFK-Patterns 2016-08-09 13:53:12 +02:00
Andreas Bielawski
29d3dffdda Caching-Fix bei Weather 2016-08-09 13:33:58 +02:00
Andreas Bielawski
575ec300b8 - Weather unterstützt jetzt Inline-Query!
ACHTUNG: Falls noch Daten im Cache hängen (unter telegram:cache:weather in Redis, aber NUR die Koordinaten, nicht die Städtenamen!), diese bitte LÖSCHEN, da jetzt Hashes benutzt werden, um mehr Daten zu cachen (für den Inline-Mode), anstatt simple Keys
- Fixe Caching für Hashes (am besten ohne TTL verwenden, TODO: fixen)
2016-08-09 02:13:13 +02:00
Andreas Bielawski
cf3dea9f79 Pattern-Fix für Facebook 2016-08-09 01:00:39 +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
b9dbaa3244 Bugfix für Images & Media 2016-08-08 21:27:56 +02:00
Andreas Bielawski
33ea8a0876 Weitere Optimierungen 2016-08-08 17:23:36 +02:00
Andreas Bielawski
79a143229d - Help: Wichtiger Bugfix 2016-08-07 21:30:28 +02:00
Andreas Bielawski
0cfe29a912 InlineQuery: Verwende eindeutige ID (schneller als math.random()) 2016-08-07 21:20:48 +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
3740ccc497 - AFK: Antworte nur, wenn Keyboard aktiv ist
- Post_Photo: send_typing
2016-08-07 17:52:57 +02:00
Andreas Bielawski
83e5f4a85e - NEU: post_photo: Downloadet Foto, wenn es als Dokument gesendet wird und sendet es als Foto erneut
- getfile nimmt jetzt den API-Key aus der Config
- Venue: Bugfix
- Facebook: Bugfix
2016-08-07 17:33:33 +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
869c526fb0 Wikipedia: Poste vollen Artikel, anstatt nur den Link 2016-08-07 00:36:43 +02:00
Andreas Bielawski
89898b2e3e - Hilfe: Inline 2016-08-07 00:01:42 +02:00
Andreas Bielawski
40dd62c477 - GPS: Inline
- GMaps: Inline
- get_coords() gibt jetzt auch die Adresse zurück
2016-08-06 23:11:53 +02:00
Andreas Bielawski
8a1b16429d IMDB: Fix Inline für einige Filme 2016-08-06 22:36:02 +02:00
Andreas Bielawski
0c417241ac ... 2016-08-05 15:21:32 +02:00
Andreas Bielawski
7e8dbbeedd Paar Bugfixees für IMDB-Inline 2016-08-05 15:20:08 +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
240ac301b9 edit_message(): Bugfix 2016-08-04 13:41:33 +02:00
Andreas Bielawski
048f452630 Twitter: Fix, entferne unescape() und sende keine Bilder, wenn Video eingebunden ist 2016-08-04 13:18:05 +02:00
Andreas Bielawski
bd877e5642 Verwende in einigen Plugins HTML, statt Markdown 2016-08-04 13:02:47 +02:00
Andreas Bielawski
0969aeb9c3 Echo Inline: Verwende HTML, statt Markdown (teilw.), fixes #9 2016-08-04 11:58:57 +02:00
Andreas Bielawski
29bf5c84fe Nutze wieder dkjson, sorry! 2016-08-03 19:21:07 +02:00
Andreas Bielawski
74ab78322d get_cached_file() umgeschrieben, sendet jetzt einen "If-Modified-Since"-Header, was viel schneller geht, als die zwei Last-Modified-Header zu vergleichen 2016-08-03 18:35:58 +02:00
Andreas Bielawski
e0f53dd205 Surrogate nur für Sudoer 2016-08-03 16:58:02 +02:00
Andreas Bielawski
83a637bc29 - dkjson durch lua-cjson ausgetauscht. Bitte lua-cjson installieren!
- Surrogate unterstützt jetzt auch @-Namen (und dadurch auch Kanäle)
2016-08-03 16:32:24 +02:00
Andreas Bielawski
5f010ca1ee - Neu: Settings-Plugin. Hier wird man in Zukunft einiges einstellen können, momentan wurde nur eine Einstellung zum...
- AFK-Keyboard hinzugefügt. Wenn es eingeschaltet ist (über /settings), wird ein "Wieder da." Button eingeblendet, mit dem man sich leicht wieder "online" schalten kann
- Utilites: Bei makeHumanTine() wird nun der Singular verwendet, wenn nötig ("1 Sekunde" statt "1 Sekunden")
2016-08-02 16:19:20 +02:00
Andreas Bielawski
49824fcb26 Fi, Fix und nochmal Fix 2016-08-02 01:01:06 +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
39529785e0 ... 2016-08-01 20:11:22 +02:00
Andreas Bielawski
41040bf32a *frickel* 2016-08-01 20:10:15 +02:00
Andreas Bielawski
6db1752670 GH-Feed: Fix 2016-08-01 19:56:33 +02:00
Andreas Bielawski
293e5ba589 Media: send_voice für OGG 2016-08-01 16:38:52 +02:00
Andreas Bielawski
269cca161a Media: Fix 2016-08-01 16:18:02 +02:00
Andreas Bielawski
a2435e70e8 Twitter: Fix, wenn Prozent in einer URL vorkommt 2016-08-01 15:40:57 +02:00
Andreas Bielawski
089e5c7ca2 Notify: Deaktiviere WebPage-Preview 2016-08-01 13:02:53 +02:00
Andreas Bielawski
ece039be15 ID: Rechne Bot mit in die Liste ein, aber schreibe Hinweis am Ende, dass Bots nicht miteinberechnet werden (da Bots auch von Bots ignoriert werden) 2016-08-01 02:15:41 +02:00
Andreas Bielawski
b183aa49b3 ID: Gruppenersteller -> Gründer 2016-08-01 02:11:29 +02:00
Andreas Bielawski
8bc1b541c4 - Hello: send_message, statt send_reply
- Stats: Zähle alle Nachrichten zusammen und verwnede comma_value()
2016-08-01 02:02:13 +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
df6f46bea2 NEU: GitHub-Feed-Plugin zum Abonnieren von Git-Repos! 2016-08-01 00:34:02 +02:00
Andreas Bielawski
809cbf28fc Wikipedia: Fix 2016-07-31 21:35:05 +02:00
Andreas Bielawski
f13deb0b99 Entferne "Greetings" 2016-07-31 21:31:39 +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
01bdfab0aa Channel: Das Plugin nutzt jetzt matches, wobei sich der Code verringert und das ganze jetzt übersichtlicher aussieht. InlineKeyboards mit URL-Buttons werden jetzt unterstützt und können an Gruppen gesendet werden! Yay! 2016-07-31 20:20: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
200ae9ace7 gImages: Blende keinen "Nochmal versuchen" Button ein, wenn wirklich gar kein Bild geladen werden konnte 2016-07-29 22:28:00 +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
f2d76958b4 - AFK: Nutze globale Funktion makeHumanTime, um Sekunden umzurechnen
- Tagesschau: InlineQuery!
2016-07-28 16:23:09 +02:00
Andreas Bielawski
606007dd13 ... 2016-07-28 12:55:38 +02:00
Andreas Bielawski
1d7901855e - Translate: Checkt, ob Bing-Key existiert
- Wiki: Bugfix, wenn keine Parameter angegeben
2016-07-28 12:54:24 +02:00
Andreas Bielawski
f651c642ea Googl: InlineQuery 2016-07-27 21:14:09 +02:00
Andreas Bielawski
5db22d1b0e InlineQuery für Cat 2016-07-27 17:36:46 +02:00
Andreas Bielawski
c428343d24 InlineQuery für cat 2016-07-27 17:35:04 +02:00
Andreas Bielawski
b914022bc9 Überflüssige Funktion entfernt 2016-07-27 11:54:00 +02:00
Andreas Bielawski
f8fc5a4cca Upstream 2016-07-27 01:20:31 +02: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
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
Andreas Bielawski
664d00b814 HTTPS.timeout in Bindings (sollte so funktionieren) 2016-07-25 13:36:52 +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
a7e7629926 - Verbesserungen für Media: Abhängig vom Dateityp wird jetzt die richtige ChatAction gesendet (upload_video, upload_audio, etc.)
- Dateien mit einer Größe von > 50 MB werden ignoriert
2016-07-23 13:58:15 +02:00
Andreas Bielawski
e819ba4ded Patterns-Plugin von Otouto hinzugefügt 2016-07-23 13:24:43 +02:00
Andreas Bielawski
206f62f269 RSS: Code entwurstelt 2016-07-23 13:18:54 +02:00
Andreas Bielawski
d76e7ac219 Facebook: Ignoriere Live-Videos 2016-07-22 20:09:57 +02:00
Andreas Bielawski
a1efc24d20 - GDrive: Migriere zu API Version 3, Fix #7 2016-07-20 00:49:31 +02:00
Andreas Bielawski
c6ae1c8e18 Warum so komplizierter Code... (#8) 2016-07-19 20:26:07 +02:00
Andreas Bielawski
b44ccd17e9 /lf, /nbc, /lod, etc. als Inline-Query, Fix #8 2016-07-19 20:20:27 +02:00
Andreas Bielawski
05c69ef788 - GDrive: Verbesserungen und Bugfixes
- Set: Typo
2016-07-19 19:40:23 +02:00
Andreas Bielawski
bf06e1051b NOCHMAL FIX 2016-07-17 20:58:06 +02:00
Andreas Bielawski
faf06cca2a md_escape: Escape [] richtig (danke @Akamaru) 2016-07-17 20:35:44 +02:00
Andreas Bielawski
709b31ae8e RSS: Nutze wieder md_escape, da Klammern vollständig entfernt werden 2016-07-17 19:38:13 +02:00
Andreas Bielawski
2c089e472e - Bold als Pattern für echo Inline
- Fix Calc
2016-07-17 17:45:20 +02:00
Andreas Bielawski
9c1dd2f9f7 - Neue Funktion zum simplen Escapen von Markdown (ohne das "tanzende Männchen")
- RSS: Überflüssige \n werden rausgeschnitten
2016-07-16 22:30:51 +02:00
Andreas Bielawski
7c6337bf8a v2.2.1
Merge remote-tracking branch 'upstream/master'
2016-07-16 13:16:56 +02:00
Andreas Bielawski
c05029b305 Merge branch 'master' of github.com:Brawl345/Brawlbot-v2 2016-07-16 13:10:33 +02:00
Andreas Bielawski
a103f58697 Twitter: Fix Pattern 2016-07-16 13:10:07 +02: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
Andreas Bielawski
18b7a66638 Reddit: results-Fehler, statt Connection 2016-07-15 16:38:09 +02:00
Andreas Bielawski
a07f339ac8 - Update README
- Adfly: is_personal auf true (damit Cache nur für einen Nutzer gilt)
2016-07-15 15:13:00 +02:00
Andreas Bielawski
0f8e32742e Adfly per Inline-Query entkürzen 2016-07-15 14:42:40 +02:00
Andreas Bielawski
a3f9fb8927 Giphy-InlineQuery-Plugin! 2016-07-14 22:05:55 +02:00
Andreas Bielawski
44e4d37b4e InlineQuerys für QR 2016-07-14 20:34:47 +02:00
Andreas Bielawski
a30e35b853 - Bitly: Inline-Query
- Expand: Inline-Query
2016-07-14 15:16:24 +02: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
e6df5a8981 JUST NO 2016-07-14 11:06:02 +02:00
Andreas Bielawski
0b93465623 Merge remote-tracking branch 'upstream/master' 2016-07-14 11:04:39 +02: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
Andreas Bielawski
02fdb5a840 YouTube Inline: Ergänze Uploader 2016-07-13 22:16:37 +02:00
Andreas Bielawski
f2fa1a6cc5 v2.2.0 2016-07-13 21:43:24 +02:00
Andreas Bielawski
bc03d86c90 bImages: Fix 2016-07-13 21:32:14 +02:00
Andreas Bielawski
47be0e8f4f bImages: InlineQuery-Bildersuche mit Bing 2016-07-13 20:28:17 +02:00
Andreas Bielawski
464651cba1 InlineQuery für YouTube 2016-07-13 16:53:58 +02:00
Andreas Bielawski
3e4c1abfcc Sende Link anstatt Bot-Kommando 2016-07-13 14:44:30 +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
b5ef889765 MyAnimeList: Entferne URL-Pattern 2016-07-13 01:33:27 +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
994965eafc Unescape Facebook-Foto-Text 2016-07-12 14:26:01 +02:00
Andreas Bielawski
f52009e72b Changes... 2016-07-12 00:04:42 +02:00
Andreas Bielawski
cfe627ae25 Fix Tweet 2016-07-11 23:16:46 +02:00
Andreas Bielawski
6ae753dcaf Fix Tweet 2016-07-11 23:15:30 +02:00
Andreas Bielawski
9e3b6fd9e5 UD: Reply 2016-07-11 21:26:43 +02:00
Andreas Bielawski
18ebf6ee9d WAR KLAR, DASS WAS FEHLT 2016-07-09 15:15:36 +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
0383799ed9 Wikipedia: InlineKeyboard für Artikel 2016-07-09 14:19:42 +02:00
Andreas Bielawski
859988e93e - Fix für Notify
- Restliche, überflüssige Plugins entfernt
2016-07-08 20:00:11 +02:00
Andreas Bielawski
47f6777cdc - Entferne Blacklist (da in Banhammer integriert)
- Übersetze Channel-Plugin
2016-07-08 19:37:30 +02:00
Andreas Bielawski
730e0dbf75 - Ein paar überflüssige Plugins entfernt
- Bitly_create + Pocket: Login-Flow überarbeitet, Deep-Linking von der Website zurück in Telegram
2016-07-08 19:18:09 +02:00
Andreas Bielawski
0a94c93560 - Imgblacklist überarbeitet
- Tagesschau_EIL: Fix?
2016-07-08 13:36:51 +02:00
Andreas Bielawski
1dcb1a3bbe gImages: Richtige Button-Anordnung für GIFs 2016-07-07 23:23:24 +02:00
Andreas Bielawski
f5b310d044 - Error-Handler für nicht-ladbare Dateien
- gImages mit Timeout (funktioniert das so?)
2016-07-07 00:31:19 +02:00
Andreas Bielawski
619371b1e4 gSearch: Fix, wenn keine Ergebnisse gefunden 2016-07-06 22:01:39 +02:00
Andreas Bielawski
bdfd4a99ed YouTube: Fixe das "tanze Männchen" im Titel (\[\]) 2016-07-05 22:34:16 +02:00
Andreas Bielawski
4eb46422b5 - RSS für Kanäle! Fix #6
- ID kennzeichnet Chat-Admins und -Gründer
- table.contains() in utilites.lua verschoben
- Mehr Bindings: getChatInfo, getChatAdministrators
2016-07-05 22:26:46 +02:00
Andreas Bielawski
14215f52dd Fix, wenn keine Bilder gefunden 2016-07-05 20:32:35 +02:00
Andreas Bielawski
b22f30d2cf Ein send_typing zu viel 2016-07-05 19:25:06 +02:00
Andreas Bielawski
153da30435 - File-ID-Caching ausgegliedert
- Images cached jetzt auch File-IDs
2016-07-05 19:21:37 +02:00
Andreas Bielawski
77515f6cdb ...und enterne das Feature wieder, weil das in Gruppen kontraproduktiv ist >_< 2016-07-05 17:53:15 +02:00
Andreas Bielawski
234faf0db6 Quotes: InlineKeyboard, um Zitate durchzuschalten 2016-07-05 17:44:26 +02:00
Andreas Bielawski
ef88f98592 gImages: Versuche nächstes Bild, wenn vorheriges fehlschlägt (z.B. wegen 404) Fix #3 2016-07-05 16:13:57 +02:00
Andreas Bielawski
2966630f08 >_< 2016-07-05 15:25:50 +02:00
Andreas Bielawski
3291db820b - Caching für gImages
- 9GAG mit InlineKeyboard für Post-URL
2016-07-05 15:25:08 +02:00
Andreas Bielawski
7179d36cf7 Typo 2016-07-05 13:26:02 +02:00
Andreas Bielawski
661aaafe86 Merge-Überreste 2016-07-05 13:22:09 +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
a3a136333a Fixe imgblacklist 2016-07-04 20:11:10 +02:00
Andreas Bielawski
b53b318ab9 gImages: Fix, wenn kein Bild gefunden wird 2016-07-04 02:55:39 +02: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
465b6e0da7 InlineKeyboard für Tagesschau-Eilmeldungen 2016-07-03 18:25:27 +02:00
Andreas Bielawski
62cc87d878 InlineKeyboard für Facebook Videos 2016-07-03 17:52:51 +02:00
Andreas Bielawski
4ceee84c21 gImages: Inline-KeyBoard für Seite und Direktlink 2016-07-03 17:39:25 +02:00
Andreas Bielawski
60c252ff34 Pixabay: Links als InlineKeyboard-Buttons 2016-07-03 14:09:45 +02:00
Andreas Bielawski
81827df897 Quotes: InlineKeyboard + Error-Handling, wenn keine Zitate vorhanden 2016-07-03 13:59:49 +02:00
Andreas Bielawski
570e054253 Golem: Sende großes Bild, wenn es existiert 2016-07-03 13:32:26 +02:00
Andreas Bielawski
de89099447 Das Media-Plugin cached File-IDs per Last-Modified-Header 2016-07-03 13:02:54 +02:00
Andreas Bielawski
2053f0b3a5 Bot kann jetzt mit File-IDs umgehen (https://core.telegram.org/bots/api#resending-files-without-reuploading) 2016-07-03 01:20:04 +02:00
Andreas Bielawski
52cbd768f0 Wikipedia: md_escape für Text (Fix #5) 2016-07-03 00:38:31 +02:00
Andreas Bielawski
c48e7429a1 gImages + gSearch: Fixe einige Fehler 2016-07-02 22:11:37 +02:00
Andreas Bielawski
a20801c458 wtf? 2016-07-02 17:49:58 +02:00
Andreas Bielawski
e80a6a0e4a RSS hat es nicht mit committed!? ReplyKeyboard für /rss del hinzugefügt 2016-07-02 17:48:39 +02:00
Andreas Bielawski
a2510c72dd Merge callback_query in master 2016-07-02 17:34:38 +02:00
Andreas Bielawski
3433f9913a gSearch mit InlineButton für alle Ergebnisse (danke an @Akamaru für die Idee!) 2016-07-02 15:18:42 +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
Andreas Bielawski
c36c6ef125 Unterstützung für Callback_Querys, allerdings weiß ich nicht, ob mir die aktuelle Lösung gefällt. Mal ne Nacht drüber schlafen. 2016-07-02 01:31:50 +02:00
Andreas Bielawski
e2d27a3754 - edit_message hinzugefügt
- Twitter_send editiert jetzt die Anmeldenachhricht
2016-07-02 00:13:17 +02:00
Andreas Bielawski
ee10b75cfc - Mehr Randoms 2016-07-01 18:39:02 +02:00
Andreas Bielawski
93bf1e4bca Leave_group: Bot verlässt nicht mehr fälschlicherweise die Gruppe 2016-06-29 22:26:26 +02:00
Andreas Bielawski
771f7e9955 Twitter_User: Ignoriere, wenn kein HTTP 200 2016-06-29 20:06:19 +02:00
Andreas Bielawski
29b71b59ab - Play Store: Stilles Ignorieren, wenn keine Daten geholt werden konnten
- Vine: Zeitangabe "verbessert"
- Reddit: Unescape
2016-06-28 18:02:14 +02:00
Andreas Bielawski
90c4476390 Moar randoms (thx @Akamaru) 2016-06-28 17:05:59 +02:00
Andreas Bielawski
81bdaea828 - Mehr Randoms
- Zahl nicht mehr hardcodiert
2016-06-28 17:01:08 +02:00
Andreas Bielawski
7366b814fa Tagesschau-Eilmeldung: Fix 2016-06-27 22:42:57 +02:00
Andreas Bielawski
b6a7053540 Markdown-Escape im Gitub-Plugin 2016-06-27 21:26:40 +02:00
Andreas Bielawski
5cc909b76e Fixe Größen-Überschreitungs-Meldung in YouTube_DL (danke @Centzilius) 2016-06-27 21:24:09 +02:00
Andreas Bielawski
7bc6498921 Bot sollte Gruppe nun nicht mehr verlassen, wenn man selbst Administrator ist 2016-06-27 21:19:27 +02:00
Andreas Bielawski
c4fa575bc5 Tagesschau-Eilmeldungen werden jetzt per Datum verglichen, nicht mehr per Link 2016-06-27 20:42:01 +02:00