Commit Graph

83 Commits

Author SHA1 Message Date
topkecleon
e02323e0b2 readme stuff 2016-09-09 05:01:38 -04:00
topkecleon
1fd125aa2c Add Lua 5.2 compatibility. 2016-09-06 20:34:57 -04:00
topkecleon
8ad9b2aa78 final script changes 2016-09-04 14:49:43 -04: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
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
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
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
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
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
topkecleon
f17455a505 Updated readme, slightly modified help behavior. 2016-06-15 08:35:39 -04: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
topkecleon
38efb5d827 administration.lua: 1.8.1
me.lua: Fix for potential future bug.
README.md: Better links.
config.lua: Added comments, links, removed unnecessary things.
greetings.lua: Default configuration now built in so as to not
  crowd the config file.
.gitignore: wew lad
2016-04-05 06:43:11 -04:00
topkecleon
2efb8cec75 updated readme 2016-04-05 03:55:53 -04:00
Drew
1a237536a9 Merge pull request #47 from TiagoDanin/patch-6
README Update references
2016-04-05 03:52:58 -04:00
topkecleon
8fe72b3a64 administration.lua: 1.8. See file for changes. 2016-04-05 03:42:16 -04:00
Tiago Danin
15812bf1a9 README Update references 2016-04-04 12:42:21 -03:00
Tiago Danin
4731c17bda Add url for google cse 2016-04-03 14:33:22 +02:00
topkecleon
76f80316c4 updated readme 2016-04-02 20:46:57 -04:00
topkecleon
1eb434f198 Updated readme for grammar and easier reading without formatting. 2016-04-02 19:15:38 -04:00
topkecleon
381a363346 oops 2016-03-31 07:54:55 -04:00
topkecleon
b643154df8 administration.lua: Added antiflood flag.
bible.lua: Some better error handling.
hearthstone.lua: Corrected help message.
utilities.lua: Added string:index() to succeed get_word().
2016-03-31 07:53:12 -04:00
topkecleon
3063df56c9 Well, that didn't work. 2016-03-28 16:46:32 -04:00
topkecleon
f18162ce4d updated readme 2016-03-28 16:45:59 -04:00
topkecleon
5762e12a48 administration.lua:
Switched to drua-tg.lua.
  Groups are now listed according to most recent activity.
whoami.lua:
  Displays channel/supergroup IDs properly.
2016-03-27 08:30:41 -04:00
topkecleon
9377107508 Bugfixes and updated readme. 2016-03-26 06:12:01 -04:00
topkecleon
83bdeccdb1 updatedest readme 2016-03-22 09:45:35 -04:00
topkecleon
45366471aa updateder readme 2016-03-22 09:43:44 -04:00
topkecleon
3bf9fb0a22 updated readme 2016-03-22 09:38:29 -04:00
topkecleon
f529bc9ad8 help.lua and about.lua: /start now triggers about.lua
blacklist.lua: Added username support.
2016-03-04 17:08:21 -05:00
topkecleon
ffccdd8667 okay i might be done
for now
2016-02-25 10:08:27 -05:00
topkecleon
3e9d6a50b2 ^ 2016-02-25 09:18:29 -05:00
topkecleon
306f563d60 Just playing with my README. 2016-02-25 09:17:19 -05:00