Commit Graph

422 Commits

Author SHA1 Message Date
Andreas Bielawski
2078028ae0 Twitter: Fixe Videos, da Twitter WebM nicht mehr ausliefert 2016-09-21 00:33:58 +02:00
Andreas Bielawski
e2246e998e Forecast.io heißt jetzt DarkSky.net, ändere API-Endpunkt (http://blog.darksky.net/introducing-darksky-net/ ) 2016-09-20 16:56:37 +02:00
Andreas Bielawski
4f10daba3e Tagesschau-EIL: Hotfix 2016-09-19 01:39:56 +02:00
Andreas Bielawski
426aa35962 Kommentar in AP entfernt, da ich jetzt weiß wie's geht... aber leider funktioniert es mit den langen IDs nicht T_T 2016-09-13 00:11:53 +02:00
Andreas Bielawski
94328a790f scandir() Fix 2016-09-12 00:58:09 +02:00
Andreas Bielawski
25561ca23a NEU: AP-Plugin (Associated Press) 2016-09-11 00:49:34 +02:00
Andreas Bielawski
2beb5a5958 Bessere Ausgabe für das Supergruppen-Migrationsplugin 2016-09-10 19:44:57 +02:00
Andreas Bielawski
f1153443a4 - Setze HTTP(S)-Timeout auf 10
- Upstream
2016-09-09 12:46:07 +02:00
topkecleon
4a657dc7a0 ^ 2016-09-09 05:15:00 -04:00
topkecleon
4067bef473 further improvements to a dead plugin 2016-09-09 05:13:20 -04:00
topkecleon
331510694f address #80 2016-09-09 05:08:39 -04:00
Andreas Bielawski
93b1a1eab2 Fixes für CallbackQuerys 2016-09-08 16:50:42 +02:00
Andreas Bielawski
2f95b6b562 - Fixe string:isempty()
- Tagesschau: HTTP-Fehlercode wird jetzt vor dem JSON-Encoding geprüft
2016-09-08 16:13:47 +02:00
Andreas Bielawski
271c9c5f84 Kleinere Verbesserungen 2016-09-08 15:15:19 +02:00
Andreas Bielawski
4e01c27673 InlineQuerys mit > 200 Zeichen werden jetzt ignoriert 2016-09-08 01:48:14 +02:00
Andreas Bielawski
8b7c55088a Code-Cleanup für Utilities, fix #12 2016-09-08 01:35:10 +02:00
Andreas Bielawski
c37ad5a156 - Setze HTTP-Timeout korrekt
- convert_timestamp nutzt nun os.date()
2016-09-08 00:28:20 +02:00
Andreas Bielawski
db120805ac /leave unterstützt jetzt Parameter, um andere Gruppen zu verlassen (ID oder @Name übergeben) 2016-09-07 23:51:44 +02:00
Andreas Bielawski
80f988949a GitHub: Nutze HTML und Autornamen, statt Committer 2016-09-07 23:40:50 +02:00
Andreas Bielawski
743cd717e3 Entfernte Unterstützung für Lua 5.3, da OAuth damit nicht funktioniert 2016-09-07 15:55:57 +02:00
Andreas Bielawski
855316c216 Upstream 2016-09-07 13:07:36 +02:00
topkecleon
1fd125aa2c Add Lua 5.2 compatibility. 2016-09-06 20:34:57 -04:00
Andreas Bielawski
66eefe63ec Merge Upstream (luautf8 benötigt!!!) 2016-09-05 13:59:57 +02:00
Andreas Bielawski
909ae73147 Fixe service_leave_group 2016-09-05 13:11:21 +02:00
topkecleon
fa3e6d449f final changes to xkcd 2016-09-04 17:11:43 -04:00
EyeZiS
e4f42bacc3 Actual fix for unicode not showing up correctly from xkcd 2016-09-04 21:04:45 +02:00
Andreas Bielawski
9115558ba4 Cleverbot: Zusätzliches Pattern 2016-09-04 15:41:51 +02:00
Andreas Bielawski
69787daf92 Banhammer-Warn-Text kann jetzt in der Config gesetzt werden 2016-09-04 15:38:32 +02:00
Andreas Bielawski
56142c9a11 Merge Upstream, aber aktualisiere nicht auf LUA 5.3 2016-09-04 13:19:52 +02:00
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
Andreas Bielawski
9379714f4e - Voice-To-Text ignoriert Sprachnachrichten mit einer Länge von > 90 Sekunden
- Upstream
2016-08-30 23:45:44 +02: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
Andreas Bielawski
0804d44bb8 Keine "Channel deaktiviert" Meldung, da sonst zu nervig 2016-08-28 18:18:16 +02:00
Andreas Bielawski
3441780708 HTML für Reddit_Post 2016-08-28 18:16:35 +02:00
Andreas Bielawski
1f2f793aac Verarbeite Pre-Processoren nicht mehr, wenn Bot in der Gruppe deaktiviert ist oder Plugin im Chat aus ist 2016-08-28 18:12:18 +02:00
Andreas Bielawski
b172aa5b16 - Cats: Bugfix
- Besserer Text für V-T-T
2016-08-28 00:08:08 +02:00
Andreas Bielawski
4014ec0550 - NEU: Voice-To-Text! "Übersetzt" Sprachnachrichten in Text (wit.ai Server API-Key muss eingetragen werden!)
- POST-Requests mit Dateien sind nun möglich
2016-08-27 23:31:53 +02:00
Andreas Bielawski
472eaa30ea Noch nicht bereit 2016-08-27 16:13:42 +02:00
Andreas Bielawski
c70ebc1b3e Merge remote-tracking branch 'upstream/master' into dev 2016-08-27 16:12:46 +02:00
4faa945e34 Nutze HTTPS für MyAnimeList (#11) 2016-08-27 16:06:21 +02:00
Andreas Bielawski
a5d44d7a15 - Fixe ID
- Post-Photo gibt msg bei > 20 MB zurück
- Keine Fehlermeldung mehr, wenn Seite keinen Header sendet (Media, Images)
2016-08-27 14:46:47 +02:00
topkecleon
384e4c62a3 Merge branch 'master' of http://otou.to/code 2016-08-26 23:27:13 -04:00
topkecleon
e92beeb58a trivial stuff 2016-08-26 23:25:55 -04:00
Brayden Banks
31d0c65e91 Record moderation reasoning to log when possible. 2016-08-26 19:31:12 -07:00
Andreas Bielawski
4d3a67fe5f Luarun-Fix 2 2016-08-26 17:42:40 +02:00
Andreas Bielawski
335994f0d7 Fixe Luarun 2016-08-26 00:44:01 +02:00
Andreas Bielawski
4ad27bc405 Zitate löschen per Reply 2016-08-26 00:28:09 +02:00
Andreas Bielawski
c82db19d88 Fixe Steam 2016-08-25 18:21:37 +02:00
Andreas Bielawski
a9edd380c4 Fixe Help + /start 2016-08-25 14:35:11 +02:00
Andreas Bielawski
917a6f0ac0 Stats-Fix 2016-08-25 13:45:16 +02:00
topkecleon
1e99a9a1f3 more drua stuff 2016-08-25 07:28:59 -04:00
Andreas Bielawski
0b093f21f3 - bImages: "i" für Inline
- Aktualisiere README
2016-08-25 12:40:06 +02:00
Andreas Bielawski
d5ece27770 Kein Text für send_voice und send_audio 2016-08-24 22:33:19 +02:00
Andreas Bielawski
6a5b079876 - Funktion zum "Löschen" einer Nachricht (editiert den Inhalt nur, wird aktualisiert, wenn Telegram so eine Funktion nachreicht)
- Upstream-Sync
2016-08-24 21:38:45 +02:00
topkecleon
f9a4bc8803 address #76
also bugfix
2016-08-24 13:29:26 -04:00
Andreas Bielawski
4a9431ae13 Heise: Fix 2016-08-24 17:44:16 +02:00
Andreas Bielawski
c80d766f62 Zusätzliches Pattern für GPS 2016-08-24 17:39:35 +02:00
Andreas Bielawski
49dd18ce3f Bugfix für handle_exception() und Crons 2016-08-24 15:54:16 +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
Andreas Bielawski
f6bb3bc750 Fixe XKCD 2016-08-22 21:33:01 +02:00
Andreas Bielawski
25f9d64b55 Bugfix für gSearch, wenn keine Suchanfrage 2016-08-22 21:14:02 +02:00
Andreas Bielawski
4db76eaa8e "creds" zu Standard-Plugins hinzugefügt 2016-08-19 14:08:54 +02:00
Andreas Bielawski
4b2a36c424 Fixe cache_data() für Hashes (Crash bei Bitly) 2016-08-19 14:05:16 +02:00
Andreas Bielawski
0d434db39c Echo: Ersetze / am Anfang bei Echo 2016-08-19 00:04:39 +02:00
Andreas Bielawski
5d8c86115b Cron: Fixe Fehler bei handle_exception() (was für eine Ironie!) 2016-08-18 13:13:37 +02:00
Andreas Bielawski
7f3b4e7671 Icon für "bewölkt in der Nacht" 2016-08-17 21:28:55 +02:00
Andreas Bielawski
3b638321d6 Fixe Notify. Uups! 2016-08-16 20:58:28 +02:00
Andreas Bielawski
e022ddc9f7 Fixe Notify 2016-08-16 20:52:56 +02:00
Andreas Bielawski
e3e068da00 Cats: Cache kürzer (da YQL wohl manchmal spinnt) 2016-08-16 19:03:51 +02:00
Andreas Bielawski
699ab33036 2.2.6.3 2016-08-16 17:40:24 +02:00
Andreas Bielawski
f0798c7ea0 Merge branch 'kick_from_service_msg' into dev 2016-08-16 17:30:12 +02:00
Andreas Bielawski
34a0629056 - /kick, /ban, /whitelist und /block funktionieren jetzt auch von Service-Nachrichten aus
- Geblockte User konnten trotzdem Kommandos ausführen. Dies wurde gefixt.
2016-08-16 17:27:51 +02:00
Andreas Bielawski
b11d86c456 Fix: Entferne User von der Stats-Liste, wenn gekickt (falsche Reihenfolge) 2016-08-16 17:05:20 +02:00
Andreas Bielawski
b28ae66707 Pfad für getfile.lua nicht mehr hardcodiert (config.lua aktualisieren!) 2016-08-16 15:02:31 +02:00
Andreas Bielawski
2c6ece93b5 Fallback, falls Redis nicht in Config gesetzt 2016-08-16 00:20:45 +02:00
Andreas Bielawski
b6a30dd9d3 Plugin zum Migrieren von Gruppen zu Supergruppen
Dieses Plugin migriert alle chatbezogenen Daten in Redis. Dazu zählen: der Nachrichtenzähler, RSS, Tagesschau-Eilmeldungen, abonnierte GitHub-Repos, Blocks, Bans, deaktivierte Plugins, Zitate, Variablen, etc.
Es wird jedes Mal aufgerufen, wenn es eine Service-Nachricht mit "migrate_to_chat_id" empfängt.
2016-08-15 22:03:14 +02:00
Andreas Bielawski
0f90cada30 Merge branch 'preview_inline' into dev 2016-08-15 18:42:49 +02:00
Andreas Bielawski
e0d3aeb7f9 Redis-Einstellungen werden nicht mehr hardcodiert
- Einstellungen können über die config.lua vorgenommen werden
- Passwörter + andere Datenbanken werden unterstützt
- Bot sollte damit ohne weitere Anpassung OoTB für alle laufen
2016-08-15 18:32:49 +02:00
Andreas Bielawski
6228b1312d InlineQuery für Preview 2016-08-15 17:56:55 +02:00
Andreas Bielawski
682a0f6d72 Merge branch 'master' of github.com:Brawl345/Brawlbot-v2 2016-08-15 14:25:47 +02:00
Andreas Bielawski
affaf9044c Kollision mit mimetype behoben 2016-08-15 14:25:20 +02:00
Andreas Bielawski
ce0f1608e4 Upstream 2016-08-15 14:01:43 +02:00
topkecleon
d3b0825fa0 oops 2016-08-15 01:08:55 -04:00
topkecleon
f9094a73ca address #75 2016-08-15 01:00:24 -04:00
Andreas Bielawski
32d99e0c47 2.2.6.2 2016-08-15 00:37:46 +02:00
Andreas Bielawski
c931694418 Fixe ein ziemlich seltsames Problem mit /plugins 2016-08-15 00:36:33 +02:00
Andreas Bielawski
b720647523 NATÜRLICH FEHLT EINE GANZE FUNKTION 2016-08-14 23:04:59 +02:00
Andreas Bielawski
0fbd5e16cf Media: Fix 2016-08-14 22:56:18 +02:00
Andreas Bielawski
c2bab342a9 Nummero 2 2016-08-14 16:34:25 +02:00
Andreas Bielawski
72262be90c Upstream 2016-08-14 16:30:06 +02:00
topkecleon
738b45cdbd why was that there and how did it get through 2016-08-14 09:23:13 -04: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
8c747a27d7 Cleverbot: send_typing() und zusätzliches Pattern: ^Brawlbot, (.+)$" 2016-08-14 00:47:18 +02: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
f71cec9f54 YouTube_DL: Minor Fixes 2016-08-13 20:38:27 +02:00
Andreas Bielawski
2065f9a12c cache_file() funktioniert jetzt auch mit Stickern (WebP) 2016-08-13 16:51:32 +02:00
Andreas Bielawski
af7cddbbf7 YouTube_DL: Cache File_ID 2016-08-13 16:25:19 +02:00