Commit graph

4251 commits

Author SHA1 Message Date
jesopo
e08bac9312 add src/Config.py.__delitem__ 2019-12-07 11:05:13 +00:00
jesopo
a98dc6e0a6 add src/Config.py.__setitem__ 2019-12-07 10:51:04 +00:00
jesopo
fc069d6da2 fix src/Config.py type hinting 2019-12-07 10:50:50 +00:00
jesopo
7274d1bf28 add ability to save config file 2019-12-07 10:42:43 +00:00
jesopo
374cc307b1 remove -m/-M and BaseModule.command_line - it doesn't work any more 2019-12-07 10:23:17 +00:00
jesopo
8ebde7b1c7 add dataclasses==0.6 to requirements.txt
closes #215
2019-12-06 17:13:29 +00:00
jesopo
99341fcc3b make "Setup" a whole category of README.md 2019-12-06 17:09:55 +00:00
jesopo
9664e275f4 remove database_backup.py, add note in README.md about what should be backed up 2019-12-06 17:07:25 +00:00
jesopo
2d3316185b "qoute" -> "quote" typo 2019-12-06 16:34:42 +00:00
jesopo
b212714561 Revert "add utils.parse.shortencode() and utils.parse.shortdecode - effectively base62"
This reverts commit e71f3bbc36.
2019-12-06 14:29:26 +00:00
jesopo
e71f3bbc36 add utils.parse.shortencode() and utils.parse.shortdecode - effectively base62 2019-12-06 12:10:41 +00:00
jesopo
4252a2c2ce _specific_hostmask() should take an already-parsed hostmask 2019-12-06 10:40:24 +00:00
jesopo
8a265da8bf by default, show locked/unlocked events for issues/PRs 2019-12-06 07:11:31 +00:00
jesopo
693e6a8b93 'server' -> 'event["server"]' 2019-12-05 17:28:53 +00:00
jesopo
90cbc5a36f show karma total when adding/removing karma points 2019-12-05 17:20:37 +00:00
jesopo
3ff3ec099e attempt to attach grabbed quotes to account instead of nickname 2019-12-04 10:43:53 +00:00
jesopo
269489b583 we shouldn't be setting seen-info on every channel per each channel message 2019-12-04 10:34:34 +00:00
jesopo
b889a9f841 add utils.http.Session object, to preserve cookies across requests 2019-12-03 13:00:43 +00:00
jesopo
a80c3396df show useful error message when failing to parse birthday setting 2019-12-02 18:01:31 +00:00
jesopo
e36c007a24 SettingParseException was moved to utils.settings 2019-12-02 18:01:03 +00:00
jesopo
7d57ac2fa9 v1.16.1 release 2019-12-01 11:16:56 +00:00
jesopo
dde10c11d8 better wording for karma, now that it's per-user 2019-12-01 10:46:07 +00:00
jesopo
e96173d60c _get_target needs params 2019-12-01 10:32:40 +00:00
jesopo
2ecdc05d64 v1.16.0 release 2019-12-01 09:49:06 +00:00
jesopo
4dba22d70b add "--depends-on commands" hashflag to permissions module 2019-12-01 09:48:03 +00:00
jesopo
59289b3742 normalise target names between ++/-- and !karma 2019-12-01 08:49:59 +00:00
jesopo
ed7150a8b7 break sed search when we find a match 2019-12-01 08:06:56 +00:00
jesopo
96058a1761 tolerate additional words after a fully-formed sed 2019-12-01 08:06:44 +00:00
jesopo
728ea019aa v1.16.0-rc1 release 2019-12-01 07:45:25 +00:00
jesopo
dc2643b734 update CHANGELOG.md 2019-12-01 07:45:10 +00:00
jesopo
499e83a1cb refactor karma to be per-user. added data migration script for this 2019-12-01 07:07:28 +00:00
jesopo
3ce947bb77 add database.users.get_nickname, to get nickname from ID 2019-12-01 07:05:17 +00:00
jesopo
b385323386 fix database.user_settings.find logic 2019-12-01 07:05:01 +00:00
jesopo
cdfbf6f002 utils.irc.parse_hostmask -> utils.irc.hostmask_parse 2019-11-30 20:30:54 +00:00
jesopo
91c3688018 only add BufferLine to buffer *after* received.message.* callback 2019-11-30 20:25:52 +00:00
jesopo
d688636909 rework permissions module to precompile hostmasks 2019-11-30 19:32:38 +00:00
jesopo
dd65cb5b05 hook in to private messages for checking hostmask perms 2019-11-30 19:13:03 +00:00
jesopo
aad3da9f8d don't update !seen details for ourself 2019-11-30 16:43:41 +00:00
jesopo
411f66324d use ANSI_RESET in utils.irc.parse_format, not all the different resets 2019-11-28 15:42:12 +00:00
jesopo
be4fcc4f3c remove old api keys from docs/bot.config.example 2019-11-28 15:00:23 +00:00
jesopo
746f08b5a8 "day" vs "days" in brithday.py 2019-11-28 14:23:33 +00:00
jesopo
c79bd6d0ba utils.http.Response.decode() should default to detected encoding 2019-11-28 07:35:16 +00:00
jesopo
8008532b30 note should be jsonified 2019-11-28 07:31:06 +00:00
jesopo
389370708d don't overwrite page - we need it for page.code 2019-11-27 22:10:45 +00:00
jesopo
cc976f33de identified_account -> identified 2019-11-27 21:53:33 +00:00
jesopo
b6a02d2476 support IRCLine.parse_human() in perform.py 2019-11-27 17:47:15 +00:00
jesopo
747ba5c646 add IRCLine.parse_human() to allow for "!raw /msg jesopo hello" 2019-11-27 17:38:17 +00:00
jesopo
f62fc8c2a1 show username when a toot is CWed 2019-11-27 15:16:46 +00:00
jesopo
038d6841f1 make !channels PM-only 2019-11-27 13:15:29 +00:00
jesopo
e1f527a374 prefix "hidden" channels in !channels with "*" 2019-11-27 13:13:52 +00:00