1. 17 May, 2022 3 commits
  2. 01 May, 2022 7 commits
  3. 02 Mar, 2022 11 commits
  4. 18 Feb, 2022 1 commit
  5. 17 Feb, 2022 1 commit
  6. 16 Feb, 2022 1 commit
    • Calum Lind's avatar
      [Core] Fix Twisted fromCoroutine AttrError · 055a84bb
      Calum Lind authored
      Users with older versions of Twisted <= 21.2 were encoutering the
      following error:
          File "/home/calum/projects/deluge/deluge/decorators.py", line 191, in activate
            d = defer.Deferred.fromCoroutine(self.coro)
          builtins.AttributeError: type object 'Deferred' has no attribute 'fromCoroutine'
      Fixed by falling back to ensureDeferred since fromCoroutine was
      introduced in Twisted 21.2 as a saner name for handling of coroutines.
      Ref: https://twistedmatrix.com/trac/ticket/9825
  7. 15 Feb, 2022 3 commits
  8. 14 Feb, 2022 2 commits
  9. 13 Feb, 2022 6 commits
  10. 12 Feb, 2022 5 commits
    • Calum Lind's avatar
      [GTK] Fix adding daemon accounts · af26fdfb
      Calum Lind authored
      Errors were raised when trying to add a new daemon account due to dialog
      being destroyed before looking up widget values.
      Fixed by saving widget values before destroying.
      Refactored code to be simplified with a named tuple for the account
      details instead of separate attributes and modernized the preferences
      dialog creation and account saving by replacing callback functions.
    • bendikro's avatar
      [Console] Fix incorrect test for when a host is online · 66b5a2fc
      bendikro authored
      The tests in connectionmanager for when a host is online are broken
      and always considers a host as online.
      When an error occurs in e.g. in _on_connect_fail, report_message()
      in PopupsHandler expects the message to be string, not a Twisted Failure.
      Fix by checking if message is string and log a warning before converting
      to string.
      Closes: https://github.com/deluge-torrent/deluge/pull/277
    • DjLegolas's avatar
      [plugins] Add dev links script for Windows · 29f07892
      DjLegolas authored
      Currently, when creating a new plugin, a script for creating
      the dev links was created for *NIX systems only.
      Now, it will detect the system type and create the correct
      Windows: create_dev_links.bat
      *NIX: create_dev_links.sh
      Closes: https://github.com/deluge-torrent/deluge/pull/257
    • DjLegolas's avatar
      [Config] Fix callLater func missing args · f8f997a6
      DjLegolas authored
      In a6840296, a refactor to the `config` class was introduced.
      The change included an internal wrapper for `reactor.callLater`, for lazy
      import, but didn't wrap it correctly and therefor, no args/kwargs were
      passed to the wrapped method.
      Furthermore, the exception was silently ignored.
      This caused changes to be ignored and not applied, including
      `preferencesmanager._on_config_value_change` callback.
      Closes: https://github.com/deluge-torrent/deluge/pull/372
    • Chase Sterling's avatar
      [Tests] Make file priority test more consistent. · 374997a8
      Chase Sterling authored
      Our file priority test was using time.sleep to wait until libtorrent
      had processed the command. This was sometimes not long enough and the
      test would fail. On libtorrent 2.0.3+ there is an alert when the
      process has finished, switch to waiting for that in this test to make
      the test more consistent. On older libtorrent, make the delay a bit
      longer, to try to make the test more consistent there as well.
      Closes: https://github.com/deluge-torrent/deluge/pull/373