Commit graph

  • b4b610ec18 Revert "support gitea respository["private"] as well as project["visibility_level"]" jesopo 2020-02-01 00:09:28 +0000
  • e239d7a09c throw helpful errors when RSS pages cannot be decoded jesopo 2020-01-31 11:47:00 +0000
  • 7105ba01de also detect encoding for http.request_many() jesopo 2020-01-31 11:40:17 +0000
  • 7f659837ab support gitea respository["private"] as well as project["visibility_level"] jesopo 2020-01-31 08:00:21 +0000
  • 5d3e1ea492 add 'date' command spec type jesopo 2020-01-30 21:21:12 +0000
  • d0d5cc4d08 split utils.datetime out in to .parse and .format jesopo 2020-01-30 21:12:31 +0000
  • 53c6cc8538 replace "/" in channel logfile names with "," jesopo 2020-01-30 17:12:57 +0000
  • 90c8805cb5 allow !msearch to work in PM jesopo 2020-01-30 16:31:38 +0000
  • 2a950b6c5b give messages.py a shorter _name jesopo 2020-01-30 16:28:16 +0000
  • 927fd7e3e7 "found messages: (n/j) ..." -> "found: (n/j) ..." jesopo 2020-01-30 15:37:10 +0000
  • 402872b3f8 show "i/found_i" on each !msearch line jesopo 2020-01-30 15:13:15 +0000
  • 24e84af4d2 add !msearch, to search for patterns in recent messages jesopo 2020-01-30 14:59:48 +0000
  • 1674ef325b add utils.datetime.seconds_since(); compare utcnow to datetime jesopo 2020-01-30 14:58:32 +0000
  • 82d20869e1 actually use count (for best_count), dont +=1 spec arg for non-consume jesopo 2020-01-30 14:57:40 +0000
  • 73aeb6bde4 add IRCBuffer.find_all() jesopo 2020-01-30 14:57:24 +0000
  • b296a2df05 add IRCBuffer.BufferLine.format() - /me vs message formatting jesopo 2020-01-30 14:56:57 +0000
  • 5fb3057814 bump IRCBuffer MAX_LINES to 1024 jesopo 2020-01-30 14:55:30 +0000
  • d2d774a644 update rainbow.py to use command spec jesopo 2020-01-30 11:54:40 +0000
  • d0c5fc097c show target user in !ping response jesopo 2020-01-30 11:54:24 +0000
  • c9d07b6032 make sure we always have a channel when require_mode/access is present jesopo 2020-01-30 11:50:57 +0000
  • 49f14caf42 support different Config names jesopo 2020-01-30 11:50:40 +0000
  • e6d0cba63b update aliases.py to use command specs jesopo 2020-01-29 17:56:42 +0000
  • 338e1864d7 non-present optional args should still be in the spec as None jesopo 2020-01-29 17:55:13 +0000
  • 58e68bb75a update wikipedia.py to use command specs jesopo 2020-01-29 17:23:38 +0000
  • 616eb84264 add "lstring" command spec; "last string" - explicit args or last message jesopo 2020-01-29 17:15:54 +0000
  • c1543ed899 SpecArgumentTypeString should return None when no args jesopo 2020-01-29 17:04:17 +0000
  • 005334e2be channel_log timestamps should be yyyy-mm-dd jesopo 2020-01-29 15:52:06 +0000
  • 5c249ac6d6 'type'->'object'; 'type' is already in use jesopo 2020-01-29 11:12:56 +0000
  • 67aa90fc94 move "dont unload core modules" to where it won't affect reloads jesopo 2020-01-28 16:25:15 +0000
  • 63d2c16954 change "non-consuming spec arg" character from "=" to "-" jesopo 2020-01-28 15:42:56 +0000
  • a4e827cbb5 switch tweets to use utils.datetime.to_pretty_time() jesopo 2020-01-28 15:31:49 +0000
  • 0744f8b63a refuse to unload core modules jesopo 2020-01-28 15:27:13 +0000
  • a35ed3c6ea use dateutil.relativedelta for to_pretty_time, to cover years/months jesopo 2020-01-28 12:33:27 +0000
  • 499a03a0ad add module name collision check to before import and hooks jesopo 2020-01-28 10:20:52 +0000
  • 7241027ff7 fix privateonly/channelonly - True or None, not True or False jesopo 2020-01-28 01:32:27 +0000
  • d95f5362bf date permissions module to use command spec args jesopo 2020-01-28 01:23:40 +0000
  • f3c31ec3c1 fix support for non-consuming command spec args jesopo 2020-01-28 01:23:19 +0000
  • c831984e20 'object'->'type' jesopo 2020-01-28 01:18:48 +0000
  • 84bb45d0ba remove unused ROOT_DIRECTORY and LOGS_DIRECTORY jesopo 2020-01-28 00:25:18 +0000
  • b5c068a0ce disable logging by default but allow enabling bot/server-wide jesopo 2020-01-27 23:51:30 +0000
  • 3b55e00dd0 move channel_log/__init__.py to channel_log.py jesopo 2020-01-27 23:26:54 +0000
  • cc84d3c00d move logs to new data_directory(), log all channels by default jesopo 2020-01-27 23:23:20 +0000
  • 7397e36837 add data_directory() func to BaseModule, to get path to data file jesopo 2020-01-27 23:22:45 +0000
  • b4deae3e2d store .data_directory on bot object jesopo 2020-01-27 23:22:23 +0000
  • 2bf277bbfc MergeRequest Notes do not have an "issue" item jesopo 2020-01-27 15:14:09 +0000
  • 4cffeae132 forgot to change usage to usages_kwarg jesopo 2020-01-27 15:03:40 +0000
  • 65b992e238 allow spec arguments to be "non-consuming" (doesn't show up in usage) jesopo 2020-01-27 12:13:28 +0000
  • d7cc7781bd add 'int' command arg spec type jesopo 2020-01-27 11:57:29 +0000
  • d438b6dbc9 add "additional word" (aword) command arument spec type jesopo 2020-01-27 11:56:28 +0000
  • dc4adc4d71 add non-consuming spec arg types for privateonly and channelonly jesopo 2020-01-27 00:28:30 +0000
  • cc178c841d event doesn't exist in _quiet_method() jesopo 2020-01-26 16:10:30 +0000
  • d41aa7a6c2 we should be checking if there are no flags specified jesopo 2020-01-26 16:08:35 +0000
  • 174f0070ff find "word" type, not cuser (because i can be 'user') jesopo 2020-01-26 16:06:02 +0000
  • 2f5e2a8345 .append() doesn't work on dict, use same code for missing optional jesopo 2020-01-26 16:05:32 +0000
  • e26d8c5536 fix _ban looking for user instead of cuser, fix kickban _kick arg jesopo 2020-01-26 15:46:42 +0000
  • 223fe9fc7c fix channel_access spec arg indexes jesopo 2020-01-26 15:41:04 +0000
  • a6c2d80075 fix channel_op spec arg indexes jesopo 2020-01-26 15:40:49 +0000
  • ba1800b207 refactor command_spec.py jesopo 2020-01-26 15:40:36 +0000
  • 211bcc70a8 add spec arg names to echo.py jesopo 2020-01-26 11:25:27 +0000
  • 23d3ba5e29 add tstring spec type, string with trimmed consecutive spaces jesopo 2020-01-26 11:21:23 +0000
  • 6169399b7e update karma.py to use command spec jesopo 2020-01-26 02:59:16 +0000
  • 4e5426be75 remove debug prints jesopo 2020-01-26 02:58:45 +0000
  • c33f8bbaf8 ?time->?duration, remove now unneeded usage kwarg jesopo 2020-01-26 02:52:38 +0000
  • 73ad5c5c1b add nuser spec arg type; to get a user, new or not jesopo 2020-01-26 02:51:18 +0000
  • 6c510d2332 add rchannel spec arg to !access jesopo 2020-01-26 02:49:20 +0000
  • 184628ddfc we need a fresh mutable args copy for each spec jesopo 2020-01-26 02:49:05 +0000
  • 27ba8e8da8 update channel_access.py to use command spec language jesopo 2020-01-26 02:41:39 +0000
  • 2ae47364c0 support multiple specs per command jesopo 2020-01-26 02:41:24 +0000
  • 41e1115999 fix typehinting issues jesopo 2020-01-26 02:09:48 +0000
  • e0686ef7b4 support command spec literals jesopo 2020-01-26 02:01:18 +0000
  • c3bb46ad23 only show "not enough arguments" n>len(args) jesopo 2020-01-26 02:00:43 +0000
  • b83e066dad show topic timestamp in a more human readable format jesopo 2020-01-26 00:49:31 +0000
  • 1d1e2d95a9 split utils/parse.py in to multiple files jesopo 2020-01-26 00:06:47 +0000
  • b24d62c0e6 update !ignore to use command specs jesopo 2020-01-25 23:59:00 +0000
  • 22e43013f8 remove channel_op.py usage, specs cover it jesopo 2020-01-25 23:58:42 +0000
  • ced3bb23da "time" spec arg renamed to "duration" jesopo 2020-01-25 23:58:09 +0000
  • 1a8a4ac9d4 support spec arg "context" (e.g. private only), marked exported as private jesopo 2020-01-25 23:57:27 +0000
  • 6a3702577f when available, use command spec for !help usage jesopo 2020-01-25 23:15:02 +0000
  • 0c28d63822 add utils.parse.argument_spec_human() for usage strings jesopo 2020-01-25 22:56:56 +0000
  • bd33ea5d8a implement default spec argument types jesopo 2020-01-25 22:56:06 +0000
  • 478223f88c support type names of spec arguments jesopo 2020-01-25 21:17:35 +0000
  • 341b314104 change command specs to be compiled at runtime by a decorator jesopo 2020-01-25 13:58:13 +0000
  • 85c13cbbd7 update echo.py to use command spec language jesopo 2020-01-25 11:33:38 +0000
  • 264e544ce5 support !... as "one or more", show "not enough args" error jesopo 2020-01-25 11:33:09 +0000
  • 1d9621022c remove debug print jesopo 2020-01-25 11:32:49 +0000
  • 5722a567a1 fix format_token_replace for $$ jesopo 2020-01-25 11:32:01 +0000
  • c9a4656163 update mode list functions to not use args jesopo 2020-01-25 11:22:10 +0000
  • 50f7985c6d !cunmute needs an event arg jesopo 2020-01-25 11:21:55 +0000
  • 09fa9363b3 support e.g. "!r~channel" spec to change the context of "!cuser" jesopo 2020-01-24 17:00:55 +0000
  • 241382fe66 add some comments about all the command_spec spec types jesopo 2020-01-24 16:50:25 +0000
  • e16831cc83 better "!user" spec error jesopo 2020-01-24 16:42:23 +0000
  • 9ddcad73ae use new command specs in channel_op.py jesopo 2020-01-24 16:27:41 +0000
  • f51b06aae1 check "channel" coming from command_spec.py parsing (check_mode, channel_access) jesopo 2020-01-24 16:26:53 +0000
  • f0d8853549 implement "important" command spec pieces, esp. for channel perms jesopo 2020-01-24 16:25:50 +0000
  • def6a019d6 don't args[0] for rchannel when [], better rchannel error jesopo 2020-01-24 15:35:05 +0000
  • 47cb5eaab8 utils.parse.timed_args() min_args should be optional jesopo 2020-01-24 15:29:39 +0000
  • 4e2f463d39 add ruser/rchannel (r for relevant) to command_spec.py jesopo 2020-01-24 15:29:13 +0000
  • 52c3cab627 still append None when an optional spec is missed jesopo 2020-01-24 14:26:46 +0000
  • fa98b72fd5 first draft of command_spec.py jesopo 2020-01-24 14:24:54 +0000
  • a9a9cd816b channel.send_mode() BEFORE calling self.join event jesopo 2020-01-24 10:37:41 +0000