1. 21 Jul, 2020 4 commits
    • geb's avatar
      Ensure MAC spoofing messages are translated (refs: #17783) · cbb6b631
      geb authored and intrigeri's avatar intrigeri committed
      As tails-spoof-mac is running as root, its messages cannot be translated
      according to the user settings. This commit solves this problem by reading the
      localization settings from the environment (/etc/default/locale) in
      tails-spoof-mac initialization. To make this work, we also set up the desired
      localization environment before launching tails-unblock-network and
    • intrigeri's avatar
      Merge branch... · f7726cdf
      intrigeri authored
      Merge branch 'wip/bugfix/17784-make-MAC-spoofing-failure-msgs-more-useful-and-resilient' into 'stable'
      Include in MAC spoofing notification failures a network card name that users can relate to
      See merge request tails/tails!69
    • intrigeri's avatar
      On MAC spoofing failure, include the name of the disabled network card in the... · 56a11b3e
      intrigeri authored
      On MAC spoofing failure, include the name of the disabled network card in the title of the notification
      That was the intention since 988b4186
      but in that commit, we forgot to replace gettext with eval_gettext
      when introducing variables in the translatable string. Let's fix this
      and accordingly, drop the test suite workaround for this bug.
      refs: #17784
    • intrigeri's avatar
      Merge branch 'test/unsafebrowser-farsi-l10n' into 'stable' · 80d3adcb
      intrigeri authored
      Fix Unsafe Browser automated test in Farsi
      See merge request tails/tails!87
  2. 20 Jul, 2020 5 commits
    • intrigeri's avatar
      Trigger MAC spoofing "panic" mode when the debug=test_mac_spoof_panic boot option is set · c44e9df1
      intrigeri authored
      This will ease my review of !70 and future work on the panic mode
      code paths.
    • intrigeri's avatar
      Test suite: improve error output when the Unsafe Browser fails to start in some locale · 48398032
      intrigeri authored
      Before 91674552, FindFailed inherited
      from RuntimeError, but it now inherits from StandardError,
      so we did not catch this exception anymore, and thus:
       - The scenario aborted immediately, instead of testing other locales.
       - We lacked the nice "Unsafe Browser failed to launch in the following
         locale(s): " message ⇒ need to read debug.log to figure out which
         locale failed.
      This commit does *not* fix another problem though: if the Unsafe Browser did
      start but the expected startup page is not visible, then we would
      leave it open and testing the next language will fail.
    • intrigeri's avatar
      Test suite: always test the Unsafe Browser in Farsi · 3ac74a0f
      intrigeri authored
      It's a known-special case, due to advertising the homepage to be RTL, while
      actually having English text (until those strings are actually translated),
      which results in weird behavior. Better ensure our test suite always exercises
      this case, rather than see the occasional seemingly random test failure, that
      cannot be triaged without looking at the debug log.
    • intrigeri's avatar
      Merge branch 'stable' into... · cd190b82
      intrigeri authored
      Merge branch 'stable' into wip/bugfix/17784-make-MAC-spoofing-failure-msgs-more-useful-and-resilient
    • boyska's avatar
      FIX unsafebrowser test case, broken b/c RTL · 9b6d4680
      boyska authored and intrigeri's avatar intrigeri committed
      A bug in the rendering of dots in RTL languages provoked an unrelated
      test case to be broken. This fixes the problem removing the dot from the
      image, so that it displayed incorrectly is less than a problem.
  3. 18 Jul, 2020 2 commits
  4. 17 Jul, 2020 15 commits
  5. 16 Jul, 2020 4 commits
  6. 15 Jul, 2020 2 commits
  7. 14 Jul, 2020 8 commits