1. 04 May, 2020 2 commits
  2. 29 Apr, 2020 2 commits
    • Cecylia Bocovich's avatar
      Delete service instance during shutdown · 21645db1
      Cecylia Bocovich authored
      Before we were calling a non-existent shutdown function. These instances
      already have __del__ functions so we can just call those instead.
    • Cecylia Bocovich's avatar
      Refactor to dry out sendmail · 390120a0
      Cecylia Bocovich authored
      Instead of processing link and help requests separately, we can process
      them together and use the command to determine the different subject and
      body messages.
      Removed unused code and simplified database command.
  3. 27 Apr, 2020 1 commit
  4. 13 Apr, 2020 6 commits
  5. 18 Mar, 2020 4 commits
  6. 12 Mar, 2020 3 commits
    • Cecylia Bocovich's avatar
      Make locale parsing less eager · 829fa9fb
      Cecylia Bocovich authored
      This will make the locale parsing more restrictive so that, for example,
      sending "i like fries" will not result in the locale "fr".
    • Cecylia Bocovich's avatar
      Add more test cases for different email styles · c8e385ba
      Cecylia Bocovich authored
      teor mentioned in ticket #23225 that some clients will top-post replies
      without quoting the the text. This commit adds a test case for that.
      Since the command detector is greedy, gettor parses the reply first.
      Also added a test for bottom-posting.
    • Cecylia Bocovich's avatar
      Ensure replies to the help message will work · 0cd6443c
      Cecylia Bocovich authored
      This commit makes some changes and adds some tests to ensure that
      valid replies to the gettor help message will contain links.
      Non-valid replies should still return the GetTor help message.
  7. 11 Mar, 2020 1 commit
  8. 06 Mar, 2020 1 commit
    • Cecylia Bocovich's avatar
      Always reply to gettor emails · 61afa2c5
      Cecylia Bocovich authored
      This fixes a bug where improperly formatted emails were not receiving
      gettor replies. We should always reply to emails and default to sending
      a help message if the request was invalid.
      This also prioritizes sending links if both a valid links request and
      the word help were sent. Several tests were added.
  9. 19 Feb, 2020 4 commits
  10. 13 Feb, 2020 1 commit
  11. 08 Feb, 2020 3 commits
  12. 31 Jan, 2020 2 commits
  13. 27 Jan, 2020 3 commits
    • Cecylia Bocovich's avatar
      Make locale parser more robust · 277ba71b
      Cecylia Bocovich authored
      This change expands the locale parse to have the following properties:
      - if only the language code is given, choses the regionalization that
      occurs first in the locale list (e.g., "en" --> "en-US"
      - if regionalization for the language is *not* present, choses the
      generalized language or a different regionalization (e.g. "pt-PT" -->
      - parses both the subject and body looking for the most specific
      - defaults to en-US if no available language is found
    • Cecylia Bocovich's avatar
      Refactor email keyword parser · 4fa4d636
      Cecylia Bocovich authored
      This commit refactors build_request to prevent duplicate code. It
      also moves the platforms definition to the parser constructor.
    • Cecylia Bocovich's avatar
      Modified email parser to get locales from db · 187e27da
      Cecylia Bocovich authored
      Before we were conflating the locales for the tor browser binaries with
      the available locale for gettor email body localizations. This patch
      checks our links database for available locales.
  14. 23 Jan, 2020 7 commits