Commit Graph

104 Commits

Author SHA1 Message Date
Andreas Bielawski
7bd1a405c4 Moar 2016-09-07 16:02:14 +02:00
Andreas Bielawski
86a7bb41ed Mehr Installationsanweisungen 2016-09-07 16:00:13 +02:00
Andreas Bielawski
66eefe63ec Merge Upstream (luautf8 benötigt!!!) 2016-09-05 13:59:57 +02:00
topkecleon
8ad9b2aa78 final script changes 2016-09-04 14:49:43 -04:00
Andreas Bielawski
56142c9a11 Merge Upstream, aber aktualisiere nicht auf LUA 5.3 2016-09-04 13:19:52 +02:00
topkecleon
bfc55b6254 improved scripts, updated readme 2016-09-04 03:42:51 -04: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
topkecleon
e92beeb58a trivial stuff 2016-08-26 23:25:55 -04:00
Andreas Bielawski
31cadc9e4b . 2016-08-25 12:41:02 +02:00
Andreas Bielawski
0b093f21f3 - bImages: "i" für Inline
- Aktualisiere README
2016-08-25 12:40:06 +02:00
Andreas Bielawski
a8ee091fab Readme angepasst 2016-08-24 17:24:08 +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
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
0c1ac4a119 more readme stuff 2016-08-13 23:51:58 -04:00
topkecleon
460c06ae6c readme fix 2016-08-13 23:36:59 -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
8c97cf4637 - Code-Optimierung
- Tabellen als Rückgabewerte von Plugins werden nicht mehr unterstützt
2016-08-07 20:45:51 +02:00
Andreas Bielawski
29bf5c84fe Nutze wieder dkjson, sorry! 2016-08-03 19:21:07 +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
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
86a500e23c Markdown... 2016-07-15 15:14:31 +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
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
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
0f10b819b9 Update README 2016-06-22 20:44:51 +02:00
Andreas Bielawski
515f994ae1 Auf Upstream aktualisiert 2016-06-17 13:58:26 +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
Andreas Bielawski
4a21409bd6 Auf Upstream aktualisiert 2016-06-15 15:42:42 +02:00
topkecleon
f17455a505 Updated readme, slightly modified help behavior. 2016-06-15 08:35:39 -04:00
Andreas Bielawski
5600cb7b0b - Travis funkt
- Rockspec entfernt
2016-06-15 02:02:12 +02:00
Andreas Bielawski
80e9f2ffd2 Oops 2016-06-12 13:52:57 +02:00
Andreas Bielawski
d8d283cb32 Portiere Time-Plugin 2016-06-12 13:47:45 +02:00
Andreas Bielawski
a4d7c40ad9 Committe aktuellen Status.
NEU:
- Twitter-Plugin (ohne Markdown bisher)
- Get- Set-Plugins
- 9GAG
- Adfly
- Redis-Integration
- Google Search
- Google Images (modifiziert, mit Blacklist, bisher ohne Caching)
- Einige Plugins lokalisiert

Das ist momentan noch alles WIP, das meiste ist einfach bloß copy&paste vom proprietären
Brawlbot v1.
2016-06-11 14:46:41 +02:00
Brayden Banks
bb8b8b9c64 Moved utilities.CMD_PAT to config.cmd_pat. 2016-06-06 20:22:58 -07:00
topkecleon
a1810dba86 help.lua: Provides start link when unable to send a user the help message privately.
administration.lua: 1.10.3: /gadd now supports arguments.
2016-06-06 23:13:26 -04:00
topkecleon
e08e5f64ee good stuff
README.md: Greatly updated. Will do more in future.
administration.lua: Administrators will now be promoted to group admins upon joining an administrated
group.
drua-tg: Squashed all luacheck warnings.
chatter.lua: Mostly rewritten; things actually make sense now.
xkcd.lua: Slight styling change.
patterns.lua: Squashed a warning.
2016-05-30 19:10:58 -04:00
topkecleon
f66dd0958b readme: added bing API link 2016-05-29 13:17:20 -04:00
topkecleon
725261fcf7 Version 3.8
Relicense to AGPLv3, with consent of contributors.
bindings.lua completely rewritten. Shift to multipart-post.
Updated readme.
New plugins: bing.lua, channel.lua.
Removed plugins: floodcontrol.lua, librefm.lua.
luarun.lua: Will now serialize returned tables. Aliased "/return" to "/lua return".
2016-05-29 13:08:39 -04:00
topkecleon
684cca287f administration.lua: 1.10: Added /ahelp $command support. No
migration required. All actions have been reworked to be more
 elegant. Style has been slightly changed (no more weak-looking,
 italic group names). Added some (but not many) comments.

drua-tg.lua: Slightly changed send function with error catching
 for failed TCP connections.

reddit.lua: Rewritten, no more brokenness. Yay.
2016-05-25 09:01:54 -04:00
topkecleon
523eb8eecd updated readme
better user caching
improved me.lua
2016-05-15 08:22:31 -04:00
topkecleon
c8e8be144f xkcd.lua: Working again, but no more queries (for now).
fortune.lua: The bad spacing annoyed me to no end. Monospaced now.
patterns.lua: Error message upon malformed patterns.
readme.md: outdated, notice
2016-05-07 19:30:48 -04:00
Brayden Banks
56abfab0b4 Through the Testing-Glass, & What Drew Found There 2016-04-15 22:55:06 -07:00
Brayden Banks
24deaec759 *Should* have a working local refactor now. 2016-04-10 21:04:47 -07:00
Brayden Banks
acb679f8fa I should probably commit now. Less global magic! 2016-04-08 14:12:02 -07:00
topkecleon
550d0743b7 Trimmed plugins which require API keys from the default config. 2016-04-05 07:10:53 -04:00