Commit graph

  • 233d212143
    fix botSettings.Users() Aine 2022-08-30 18:35:10 +0300
  • 84b1900dbb
    adjust initBotUsers() Aine 2022-08-30 18:29:16 +0300
  • 0c74ae02fb
    fix one value Aine 2022-08-30 16:13:10 +0300
  • cec2761911
    users adjustments Aine 2022-08-30 15:43:06 +0300
  • ea1ef9da7f
    !pm users changes Aine 2022-08-30 15:00:34 +0300
  • 00b84fba0e
    cache even unexisting bot settings Aine 2022-08-30 14:47:16 +0300
  • 9f66d1fee6
    rename options, rename settings types Aine 2022-08-30 14:45:07 +0300
  • 627e090afd
    rename account data keys, rearrange code Aine 2022-08-30 14:42:07 +0300
  • 5ed3a53223
    diff bot and room settings Aine 2022-08-30 14:37:19 +0300
  • f97ebb604a
    manage users in runtime, closes #16 Aine 2022-08-29 21:41:14 +0300
  • 0ba951fbe6
    set default POSTMOOGLE_USERS pattern Aine 2022-08-29 20:56:28 +0300
  • 74e7fa5f3b
    update README, closes #11 Aine 2022-08-29 20:40:52 +0300
  • 89d5ec8a91
    adjust !pm mailboxes, relates to #15 Aine 2022-08-29 20:31:25 +0300
  • e0bd71717c
    remove NOOWNER, closes #14 Aine 2022-08-29 20:21:37 +0300
  • ba73b5a97c
    add !pm delete, closes #13 Aine 2022-08-29 20:18:25 +0300
  • 505a1b42d7
    removed federation, closes #12 Aine 2022-08-29 19:58:54 +0300
  • e52de55e1a
    update readme Aine 2022-08-29 17:47:04 +0300
  • d59ab94b13 Merge branch 'admin-support' into 'main' Aine 2022-08-29 14:45:27 +0000
  • 064346eef9
    Merge branch 'main' into admin-support Aine 2022-08-29 15:48:10 +0300
  • 5a5a649cba
    add cache Aine 2022-08-29 15:28:37 +0300
  • 1a87929567
    rename files; show commands by access level Aine 2022-08-29 15:19:07 +0300
  • bc30f59e96 Move owner commands to their own file Slavi Pantaleev 2022-08-29 14:25:14 +0300
  • d20d4aa5bf Move mailboxes admin command to a separate file Slavi Pantaleev 2022-08-29 14:20:20 +0300
  • e59f5d5502 Make Match() with empty list not return a positive result Slavi Pantaleev 2022-08-29 14:10:52 +0300
  • 6623251695
    refactored Aine 2022-08-29 12:30:43 +0300
  • ba2596afa2 Merge branch 'fix-double-domain' into 'main' Aine 2022-08-29 08:08:30 +0000
  • 97a4d6c7bc Do not append @domain twice when updating mailbox Slavi Pantaleev 2022-08-29 10:46:59 +0300
  • 79775c0c13 Add basic mailboxes command Slavi Pantaleev 2022-08-29 10:28:19 +0300
  • a057654962 Put command access checks on the command level Slavi Pantaleev 2022-08-29 10:25:17 +0300
  • a62dc0df4f Add POSTMOOGLE_ADMINS Slavi Pantaleev 2022-08-29 09:10:31 +0300
  • 77a7e9efc6 Merge branch 'show-option-value-in-help' into 'main' Aine 2022-08-28 15:37:29 +0000
  • 2397075717 Merge branch 'user-whitelisting' into 'main' Aine 2022-08-28 15:36:53 +0000
  • bd14987561
    move settings.Allowed() to bot.Allowed() Aine 2022-08-28 18:36:01 +0300
  • 1d6b43a83a Reindent bot/bot.go Slavi Pantaleev 2022-08-28 17:56:19 +0300
  • dc5ed41723 Merge branch 'main' into 'user-whitelisting' Slavi Pantaleev 2022-08-28 14:50:57 +0000
  • 3174b21aec
    [skip ci] update readme Aine 2022-08-28 17:35:53 +0300
  • a150ada5c4
    [skip ci] update readme Aine 2022-08-28 17:35:15 +0300
  • 67fbc98c01
    [skip ci] update readme Aine 2022-08-28 17:34:02 +0300
  • 0e33107a4a
    add usage section in readme Aine 2022-08-28 17:18:22 +0300
  • 9b1eb161e7
    remove debug Aine 2022-08-28 09:37:32 +0300
  • 13776ad7a6
    properly update mailbox, fixes #9 Aine 2022-08-28 09:37:18 +0300
  • 6eae1a65c4
    add utils.UnwrapError() to provide meaningful error messages Aine 2022-08-27 22:38:23 +0300
  • d1c48b9b31
    add per-room mutex, possibly fixes #8 Aine 2022-08-27 22:10:22 +0300
  • 53bc5e6d59
    proposed changes Aine 2022-08-27 21:59:58 +0300
  • c8331e9958 Get rid of various duplicated optionMailbox formatting Slavi Pantaleev 2022-08-27 19:35:45 +0300
  • 972b4c11c5 Do not call getSettings() for each option in help Slavi Pantaleev 2022-08-27 19:21:18 +0300
  • 0d88de9f77 Show option values in help Slavi Pantaleev 2022-08-27 17:46:47 +0300
  • 3bc10bfe4f Honor allowed users list Slavi Pantaleev 2022-08-27 17:29:00 +0300
  • 275ccbd9e5 Implement feedback Slavi Pantaleev 2022-08-27 08:11:21 +0300
  • 1100ee6b5f Improve error when configuration reading fails Slavi Pantaleev 2022-08-26 15:28:47 +0000
  • 58a1fa6b3f Do not check cognitive complexity in unit tests Slavi Pantaleev 2022-08-26 10:34:13 +0300
  • 698cb6b8b9 Fix imports lint error Slavi Pantaleev 2022-08-26 10:28:16 +0300
  • bb754f9aa8 Simplify MatchUserWithAllowedRegexes Slavi Pantaleev 2022-08-26 10:19:33 +0300
  • f8a168b8e7 Add a few more unit test cases Slavi Pantaleev 2022-08-26 10:10:05 +0300
  • 8ad2e29930 Add support for configuring user whitelisting Slavi Pantaleev 2022-08-26 09:38:36 +0300
  • 9484758f33
    optimize introductions and help, kupo Aine 2022-08-26 23:19:59 +0300
  • f2d81495dc
    refactor Send(), fixes #6 Aine 2022-08-26 23:06:20 +0300
  • 4000b39480
    add custom status message Aine 2022-08-26 16:40:43 +0300
  • 2da1aacc7a
    automatically remove mailboxes in empty rooms, fixes #3 Aine 2022-08-26 16:22:44 +0300
  • 2dcba843cc
    add 'nofiles' option, refactored bot.Send(); fixes #2 Aine 2022-08-26 16:11:08 +0300
  • 42c9e15619
    add 'nothreads' option, fixes #4 Aine 2022-08-26 16:00:37 +0300
  • 41a52c1eca
    add 'nohtml' option, fixes #5 Aine 2022-08-26 15:56:25 +0300
  • a7877cac00 Merge branch 'ignore-cover-out-file' into 'main' Aine 2022-08-26 12:33:15 +0000
  • e6fd5a38d7 Merge branch 'code-formatted-option-value' into 'main' Aine 2022-08-26 12:32:56 +0000
  • a8e8b23174 Make sure mailbox value is formatted correctly in getOption/setOption Slavi Pantaleev 2022-08-26 09:58:57 +0300
  • 5c443ec7aa Format options as code in getOption as well Slavi Pantaleev 2022-08-26 09:58:25 +0300
  • 6bceea6bee Add cover.out to .gitignore Slavi Pantaleev 2022-08-26 09:45:00 +0300
  • 10f44e621d Format option value as code Slavi Pantaleev 2022-08-26 07:46:50 +0300
  • 0a5bc5d989
    refactor rooms/roomsmu to sync.Map Aine 2022-08-25 22:38:45 +0300
  • b0c274491f
    refactor to context, remove sentry spans Aine 2022-08-25 22:31:12 +0300
  • 8419386a95 Merge branch 'introduction-on-join' into 'main' Aine 2022-08-25 18:44:44 +0000
  • 8507af670a exists -> ok Slavi Pantaleev 2022-08-25 21:44:06 +0300
  • a093de51c4 Remove some useless sentry spans Slavi Pantaleev 2022-08-25 21:41:20 +0300
  • 06856adb86 Simplify code Slavi Pantaleev 2022-08-25 21:38:42 +0300
  • 8d88d4a929 Merge branch 'strip-style' into 'main' Aine 2022-08-25 18:30:06 +0000
  • 331c2a8d5e
    strip <style> in html emails Aine 2022-08-25 21:27:00 +0300
  • 236a128129 Fix double membership=join event handling Slavi Pantaleev 2022-08-25 20:10:43 +0300
  • 8e1aa5b11c [WIP] Send introduction text and help after the bot joins a room Slavi Pantaleev 2022-08-25 11:58:18 +0300
  • 3495c60f24 Merge branch 'safer-notice' into 'main' Aine 2022-08-25 08:16:48 +0000
  • 1babbb7169 Make Notice() not do string formatting anymore Slavi Pantaleev 2022-08-25 10:49:52 +0300
  • 7e1b7f5c08 Merge branch 'better-help' into 'main' Aine 2022-08-25 06:40:50 +0000
  • e7610a34a3 Decrease number of WriteString() calls in sendHelp() Slavi Pantaleev 2022-08-25 09:03:22 +0300
  • cda8ee0a25 Improve sendHelp() to show full commands Slavi Pantaleev 2022-08-25 08:25:39 +0300
  • 7e5ae78ba2 Merge branch 'relations' into 'main' Aine 2022-08-24 18:42:11 +0000
  • f9cf94c914
    threads Aine 2022-08-24 21:28:30 +0300
  • 5b76afc0eb Merge branch 'ensure-settings-always-initialized' into 'main' Aine 2022-08-24 09:26:08 +0000
  • ed5ff6456a Ensure settings map is always initialized Slavi Pantaleev 2022-08-24 12:21:11 +0300
  • ef22ca03d9 Merge branch 'ordered-commands' into 'main' Aine 2022-08-24 09:10:10 +0000
  • d021e6715e
    Revert "visual fixes" Aine 2022-08-24 12:09:23 +0300
  • 8d4cb1d883 Merge branch 'ordered-commands' into 'main' Aine 2022-08-24 09:05:54 +0000
  • 34735b2614
    visual fixes Aine 2022-08-24 12:02:41 +0300
  • afe24beb4d Use a command list (not a map) to have a consistent manually-defined commands order Slavi Pantaleev 2022-08-24 11:39:24 +0300
  • 382fe43dd0 Merge branch 'no-magic-strings' into 'main' Aine 2022-08-24 08:00:03 +0000
  • 26edcdadbc Use string constants for options, not magic strings Slavi Pantaleev 2022-08-24 10:46:42 +0300
  • 79ed440fdc Merge branch 'sanitize-on-get-option' into 'main' Aine 2022-08-24 07:36:51 +0000
  • e86a9ed952 Rename variable Slavi Pantaleev 2022-08-24 10:33:19 +0300
  • 6103164881 Fix linting error Slavi Pantaleev 2022-08-24 10:31:42 +0300
  • 16ce4314b9 Sanitize settings on Get() and add convenience getters Slavi Pantaleev 2022-08-24 10:16:28 +0300
  • d361e31a60
    adjust stop's help message Aine 2022-08-24 09:57:22 +0300
  • 82b84e3c35 Merge branch 'stop' into 'main' Aine 2022-08-24 06:41:15 +0000