Commit Graph

224 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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