Commit Graph

  • dc5ed41723 Merge branch 'main' into 'user-whitelisting' Slavi Pantaleev 2022-08-28 14:50:57 +00:00
  • 3174b21aec [skip ci] update readme Aine 2022-08-28 17:35:53 +03:00
  • a150ada5c4 [skip ci] update readme Aine 2022-08-28 17:35:15 +03:00
  • 67fbc98c01 [skip ci] update readme Aine 2022-08-28 17:34:02 +03:00
  • 0e33107a4a add usage section in readme Aine 2022-08-28 17:18:22 +03:00
  • 9b1eb161e7 remove debug Aine 2022-08-28 09:37:32 +03:00
  • 13776ad7a6 properly update mailbox, fixes #9 Aine 2022-08-28 09:37:18 +03:00
  • 6eae1a65c4 add utils.UnwrapError() to provide meaningful error messages Aine 2022-08-27 22:38:23 +03:00
  • d1c48b9b31 add per-room mutex, possibly fixes #8 Aine 2022-08-27 22:10:22 +03:00
  • 53bc5e6d59 proposed changes Aine 2022-08-27 21:59:58 +03:00
  • c8331e9958 Get rid of various duplicated optionMailbox formatting Slavi Pantaleev 2022-08-27 19:35:45 +03:00
  • 972b4c11c5 Do not call getSettings() for each option in help Slavi Pantaleev 2022-08-27 19:21:18 +03:00
  • 0d88de9f77 Show option values in help Slavi Pantaleev 2022-08-27 17:46:47 +03:00
  • 3bc10bfe4f Honor allowed users list Slavi Pantaleev 2022-08-27 17:29:00 +03:00
  • 275ccbd9e5 Implement feedback Slavi Pantaleev 2022-08-27 08:11:21 +03:00
  • 1100ee6b5f Improve error when configuration reading fails Slavi Pantaleev 2022-08-26 15:28:47 +00:00
  • 58a1fa6b3f Do not check cognitive complexity in unit tests Slavi Pantaleev 2022-08-26 10:34:13 +03:00
  • 698cb6b8b9 Fix imports lint error Slavi Pantaleev 2022-08-26 10:28:16 +03:00
  • bb754f9aa8 Simplify MatchUserWithAllowedRegexes Slavi Pantaleev 2022-08-26 10:19:33 +03:00
  • f8a168b8e7 Add a few more unit test cases Slavi Pantaleev 2022-08-26 10:10:05 +03:00
  • 8ad2e29930 Add support for configuring user whitelisting Slavi Pantaleev 2022-08-26 09:38:36 +03:00
  • 9484758f33 optimize introductions and help, kupo Aine 2022-08-26 23:19:59 +03:00
  • f2d81495dc refactor Send(), fixes #6 Aine 2022-08-26 23:06:20 +03:00
  • 4000b39480 add custom status message Aine 2022-08-26 16:40:43 +03:00
  • 2da1aacc7a automatically remove mailboxes in empty rooms, fixes #3 Aine 2022-08-26 16:22:44 +03:00
  • 2dcba843cc add 'nofiles' option, refactored bot.Send(); fixes #2 Aine 2022-08-26 16:11:08 +03:00
  • 42c9e15619 add 'nothreads' option, fixes #4 Aine 2022-08-26 16:00:37 +03:00
  • 41a52c1eca add 'nohtml' option, fixes #5 Aine 2022-08-26 15:56:25 +03:00
  • a7877cac00 Merge branch 'ignore-cover-out-file' into 'main' Aine 2022-08-26 12:33:15 +00:00
  • e6fd5a38d7 Merge branch 'code-formatted-option-value' into 'main' Aine 2022-08-26 12:32:56 +00:00
  • a8e8b23174 Make sure mailbox value is formatted correctly in getOption/setOption Slavi Pantaleev 2022-08-26 09:58:57 +03:00
  • 5c443ec7aa Format options as code in getOption as well Slavi Pantaleev 2022-08-26 09:58:25 +03:00
  • 6bceea6bee Add cover.out to .gitignore Slavi Pantaleev 2022-08-26 09:45:00 +03:00
  • 10f44e621d Format option value as code Slavi Pantaleev 2022-08-26 07:46:50 +03:00
  • 0a5bc5d989 refactor rooms/roomsmu to sync.Map Aine 2022-08-25 22:38:45 +03:00
  • b0c274491f refactor to context, remove sentry spans Aine 2022-08-25 22:31:12 +03:00
  • 8419386a95 Merge branch 'introduction-on-join' into 'main' Aine 2022-08-25 18:44:44 +00:00
  • 8507af670a exists -> ok Slavi Pantaleev 2022-08-25 21:44:06 +03:00
  • a093de51c4 Remove some useless sentry spans Slavi Pantaleev 2022-08-25 21:41:20 +03:00
  • 06856adb86 Simplify code Slavi Pantaleev 2022-08-25 21:38:42 +03:00
  • 8d88d4a929 Merge branch 'strip-style' into 'main' Aine 2022-08-25 18:30:06 +00:00
  • 331c2a8d5e strip <style> in html emails Aine 2022-08-25 21:27:00 +03:00
  • 236a128129 Fix double membership=join event handling Slavi Pantaleev 2022-08-25 20:10:43 +03:00
  • 8e1aa5b11c [WIP] Send introduction text and help after the bot joins a room Slavi Pantaleev 2022-08-25 11:58:18 +03:00
  • 3495c60f24 Merge branch 'safer-notice' into 'main' Aine 2022-08-25 08:16:48 +00:00
  • 1babbb7169 Make Notice() not do string formatting anymore Slavi Pantaleev 2022-08-25 10:49:52 +03:00
  • 7e1b7f5c08 Merge branch 'better-help' into 'main' Aine 2022-08-25 06:40:50 +00:00
  • e7610a34a3 Decrease number of WriteString() calls in sendHelp() Slavi Pantaleev 2022-08-25 09:03:22 +03:00
  • cda8ee0a25 Improve sendHelp() to show full commands Slavi Pantaleev 2022-08-25 08:25:39 +03:00
  • 7e5ae78ba2 Merge branch 'relations' into 'main' Aine 2022-08-24 18:42:11 +00:00
  • f9cf94c914 threads Aine 2022-08-24 21:28:30 +03:00
  • 5b76afc0eb Merge branch 'ensure-settings-always-initialized' into 'main' Aine 2022-08-24 09:26:08 +00:00
  • ed5ff6456a Ensure settings map is always initialized Slavi Pantaleev 2022-08-24 12:21:11 +03:00
  • ef22ca03d9 Merge branch 'ordered-commands' into 'main' Aine 2022-08-24 09:10:10 +00:00
  • d021e6715e Revert "visual fixes" Aine 2022-08-24 12:09:23 +03:00
  • 8d4cb1d883 Merge branch 'ordered-commands' into 'main' Aine 2022-08-24 09:05:54 +00:00
  • 34735b2614 visual fixes Aine 2022-08-24 12:02:41 +03:00
  • afe24beb4d Use a command list (not a map) to have a consistent manually-defined commands order Slavi Pantaleev 2022-08-24 11:39:24 +03:00
  • 382fe43dd0 Merge branch 'no-magic-strings' into 'main' Aine 2022-08-24 08:00:03 +00:00
  • 26edcdadbc Use string constants for options, not magic strings Slavi Pantaleev 2022-08-24 10:46:42 +03:00
  • 79ed440fdc Merge branch 'sanitize-on-get-option' into 'main' Aine 2022-08-24 07:36:51 +00:00
  • e86a9ed952 Rename variable Slavi Pantaleev 2022-08-24 10:33:19 +03:00
  • 6103164881 Fix linting error Slavi Pantaleev 2022-08-24 10:31:42 +03:00
  • 16ce4314b9 Sanitize settings on Get() and add convenience getters Slavi Pantaleev 2022-08-24 10:16:28 +03:00
  • d361e31a60 adjust stop's help message Aine 2022-08-24 09:57:22 +03:00
  • 82b84e3c35 Merge branch 'stop' into 'main' Aine 2022-08-24 06:41:15 +00:00
  • 76457f8e3c add '!pm stop' Aine 2022-08-24 09:38:13 +03:00
  • c8fb811ae9 Merge branch 'add-no-subject-option' into 'main' Aine 2022-08-24 06:34:29 +00:00
  • e4acbb31f0 Add nosubject option Slavi Pantaleev 2022-08-24 07:37:34 +03:00
  • bd92e54614 Merge branch 'hide-sender-address-support' into 'main' Aine 2022-08-23 19:16:34 +00:00
  • 85fc06cfce lint; rearrange code Aine 2022-08-23 22:12:11 +03:00
  • e5e9be528b refactor options to be more generic Aine 2022-08-23 21:58:05 +03:00
  • 9eec8738f9 move syncRooms Aine 2022-08-23 19:25:45 +03:00
  • 81abe8c785 unoptimal refactoring Aine 2022-08-23 19:23:15 +03:00
  • 609e19c133 Merge branch 'main' into hide-sender-address-support Aine 2022-08-23 18:58:40 +03:00
  • a7e789fe56 Swap key/value parameters for setBooleanConfigurationKey() Slavi Pantaleev 2022-08-23 18:44:13 +03:00
  • 9f3aa3dd68 Add ability to hide sender's email address (hide-sender-address setting) Slavi Pantaleev 2022-08-23 18:18:06 +03:00
  • 0178c3cff3 do not convert plaintext as html Aine 2022-08-23 18:11:38 +03:00
  • 24686ef501 lint fixes Aine 2022-08-23 17:56:38 +03:00
  • b8cb8196c2 Merge branch 'notice-instead-of-error' into 'main' Aine 2022-08-23 14:54:34 +00:00
  • 518ec97160 lint fix Aine 2022-08-23 17:54:01 +03:00
  • b79a728967 Use notice instead of error for expected "errors" Slavi Pantaleev 2022-08-23 17:51:34 +03:00
  • 99e62a54a5 Merge branch 'settings-or-error' into 'main' Aine 2022-08-23 14:50:08 +00:00
  • 55a76c5c6b Use just Error, not Warn + Error Slavi Pantaleev 2022-08-23 17:45:15 +03:00
  • 726bc95c26 Suppress M_NOT_FOUND error when fetching settings Slavi Pantaleev 2022-08-23 16:30:19 +03:00
  • b24bd498a0 Merge branch 'always-return-settings' into 'main' Aine 2022-08-23 13:04:55 +00:00
  • fcac0a202d Make sure getSettings() always returns settings or error Slavi Pantaleev 2022-08-23 13:04:54 +00:00
  • c71c876e69 update deps Aine 2022-08-23 15:45:40 +03:00
  • d6c9e2c048 enable multi-arch build Aine 2022-08-23 14:33:37 +03:00
  • 848d6a7187 refactor mappings getter Aine 2022-08-22 23:24:51 +03:00
  • 0decd4fad6 add noowner and federation Aine 2022-08-22 22:08:32 +03:00
  • 564cd82c6b fix prefix; test attachments; add maxsize Aine 2022-08-22 20:21:22 +03:00
  • d5cf9a84f5 update readme and license Aine 2022-08-22 19:11:00 +03:00
  • 8f3faaa2d0 prepare dockerfile Aine 2022-08-22 18:47:53 +03:00
  • 69f20e5670 try to receive attachments Aine 2022-08-22 18:43:12 +03:00
  • abb6c027bf fix autojoins Aine 2022-08-22 16:22:55 +03:00
  • aee56030ba rearrange roadmap Aine 2022-08-22 12:49:11 +03:00
  • e6d5e81efe bugfixes; email parsing; send emails into matrix rooms; e2e tests Aine 2022-08-22 12:28:29 +03:00
  • c746c91dbb account data only; integrate smtp server; logging Aine 2022-08-21 23:00:20 +03:00
  • c4b7a16e21 wip Aine 2022-08-21 18:41:35 +03:00