]> granicus.if.org Git - transmission/log
transmission
5 years agoSanitize suspicious path components instead of rejecting them sanitize-path-comps
Mike Gelfand [Sun, 23 Jun 2019 13:23:22 +0000 (16:23 +0300)]
Sanitize suspicious path components instead of rejecting them

Apply the same rules on all the supported platforms to avoid issues
with network shares and alien file systems.

For future compatibility, explicitly mark adjusted paths as renamed.

5 years agoAdd missing declaration for `tr_strcasestr`
Mike Gelfand [Sun, 23 Jun 2019 09:07:33 +0000 (12:07 +0300)]
Add missing declaration for `tr_strcasestr`

5 years agoLoad CA certs from system store on Windows / OpenSSL
Mike Gelfand [Sat, 22 Jun 2019 13:02:17 +0000 (16:02 +0300)]
Load CA certs from system store on Windows / OpenSSL

Fixes: #446
5 years agoUpdate curl and openssl to those in 10.10 SDK (macOS)
Mike Gelfand [Sat, 22 Jun 2019 13:43:11 +0000 (16:43 +0300)]
Update curl and openssl to those in 10.10 SDK (macOS)

5 years agoOnly add revision to filename for nightly builds (MSI package)
Mike Gelfand [Wed, 19 Jun 2019 06:02:45 +0000 (09:02 +0300)]
Only add revision to filename for nightly builds (MSI package)

5 years agoInclude Windows Vista Qt style, remove dbus revision suffix and expat (MSI package)
Mike Gelfand [Wed, 19 Jun 2019 05:19:51 +0000 (08:19 +0300)]
Include Windows Vista Qt style, remove dbus revision suffix and expat (MSI package)

5 years agoSupport OpenSSL 1.1 x64 file names (MSI package)
Mike Gelfand [Tue, 18 Jun 2019 19:50:03 +0000 (22:50 +0300)]
Support OpenSSL 1.1 x64 file names (MSI package)

5 years agoSupport OpenSSL 1.1 file names (MSI package)
Mike Gelfand [Tue, 18 Jun 2019 05:10:01 +0000 (08:10 +0300)]
Support OpenSSL 1.1 file names (MSI package)

5 years agoSupport MSVS 2017 VC CRT MSM file locations (MSI package)
Mike Gelfand [Tue, 18 Jun 2019 04:32:09 +0000 (07:32 +0300)]
Support MSVS 2017 VC CRT MSM file locations (MSI package)

5 years agoFixup invalid daemon foreground mode check (2cc996cb77)
Mike Gelfand [Mon, 22 Apr 2019 04:20:46 +0000 (07:20 +0300)]
Fixup invalid daemon foreground mode check (2cc996cb77)

5 years agoParse session-id header case-insensitively (#765)
LaserEyess [Sun, 17 Mar 2019 14:37:52 +0000 (10:37 -0400)]
Parse session-id header case-insensitively (#765)

RFC 2616 defines headers as case-insensitive, so if rpc is behind a
reverse proxy that lowers the case of headers, transmission will not
parse them correctly.

A new wrapper function, `tr_strcasestr` is added to
libtransmission/utils.c to allow for comparisons of headers case
insensitively, and checks in cmake and autogen are included.

5 years agoMark a couple of MSI properties as secure
Mike Gelfand [Sun, 17 Mar 2019 13:42:08 +0000 (16:42 +0300)]
Mark a couple of MSI properties as secure

They are being discarded by server side with "ignoring disallowed
property" messages otherwise which leads to failed checks using those
properties.

Fixes: #451
5 years agoRemove useless parentheses
Mike Gelfand [Sun, 17 Mar 2019 06:18:27 +0000 (09:18 +0300)]
Remove useless parentheses

5 years agoDefine each identifier in a dedicated statement
Mike Gelfand [Sun, 17 Mar 2019 06:15:35 +0000 (09:15 +0300)]
Define each identifier in a dedicated statement

* MISRA C++:2008, 8-0-1 - An init-declarator-list or a member-declarator-list
  shall consist of a single init-declarator or member-declarator respectively
* CERT, DCL52-J. - Do not declare more than one variable per declaration
* CERT, DCL04-C. - Do not declare more than one variable per declaration

5 years agoRemove side effects from right hand operands of && or ||
Mike Gelfand [Sun, 17 Mar 2019 06:09:08 +0000 (09:09 +0300)]
Remove side effects from right hand operands of && or ||

* MISRA C:2004, 12.4 - The right-hand operand of a logical && or || operator
  shall not contain side effects.
* MISRA C++:2008, 5-14-1 - The right hand operand of a logical && or ||
  operator shall not contain side effects.
* MISRA C:2012, 13.5 - The right hand operand of a logical && or || operator
  shall not contain persistent side effects
* CERT, EXP02-C. - Be aware of the short-circuit behavior of the logical AND
  and OR operators

5 years agoExtract assignments from expression
Mike Gelfand [Sun, 17 Mar 2019 05:00:15 +0000 (08:00 +0300)]
Extract assignments from expression

Assignments explicitly enclosed in parentheses are ignored.

* MISRA C:2004, 13.1 - Assignment operators shall not be used in expressions
  that yield a Boolean value
* MISRA C++:2008, 6-2-1 - Assignment operators shall not be used in
  sub-expressions
* MISRA C:2012, 13.4 - The result of an assignment operator should not be used
* MITRE, CWE-481 - Assigning instead of Comparing
* CERT, EXP45-C. - Do not perform assignments in selection statements
* CERT, EXP51-J. - Do not perform assignments in conditional expressions

5 years agoUppercase the literal suffixes
Mike Gelfand [Sun, 17 Mar 2019 04:07:48 +0000 (07:07 +0300)]
Uppercase the literal suffixes

* MISRA C++:2008, 2-13-4 - Literal suffixes shall be upper case
* MISRA C:2012, 7.3 - The lowercase character "l" shall not be used in a
  literal suffix
* CERT DCL16-C. - Use "L," not "l," to indicate a long value
* CERT, DCL50-J. - Use visually distinct identifiers

5 years agoMerge pull request #859 from fishead/fix-typo
Mitch Livingston [Sat, 16 Mar 2019 16:51:32 +0000 (12:51 -0400)]
Merge pull request #859 from fishead/fix-typo

fix typo

5 years agotypo
Chuan Zhang [Sat, 16 Mar 2019 14:36:18 +0000 (22:36 +0800)]
typo

5 years agoRefactor daemon startup a bit
Mike Gelfand [Fri, 15 Mar 2019 18:53:53 +0000 (21:53 +0300)]
Refactor daemon startup a bit

Fix exit code to be zero when dumping settings along the way.

Closes: #487
5 years agoActually add new languages to the build
Mike Gelfand [Wed, 13 Mar 2019 20:35:16 +0000 (23:35 +0300)]
Actually add new languages to the build

5 years agoAttempt to explain something to Coverity
Mike Gelfand [Wed, 13 Mar 2019 02:32:35 +0000 (05:32 +0300)]
Attempt to explain something to Coverity

I'm seeing 7 potentially false reported issues re. use of uninitialized buffer
data here. It seems that `read` function should be properly supported by
Coverity, but maybe it can't figure out the postconditions of it properly...
Walking in the dark here.

5 years agoLet compiler calculate static quark lenghts for us
Mike Gelfand [Tue, 12 Mar 2019 21:01:17 +0000 (00:01 +0300)]
Let compiler calculate static quark lenghts for us

5 years agoFix build break from previous commit on old Clangs
Mike Gelfand [Sun, 10 Mar 2019 16:52:27 +0000 (19:52 +0300)]
Fix build break from previous commit on old Clangs

Remove static assert altogether: it should have worked everywhere anyway,
otherwise there is no point.

Add a few casts here and there to ensure proper type for directory handle.

5 years agoFix build on E2K with LCC (patch by Michael Shigorin, ALT Linux)
Mike Gelfand [Sun, 10 Mar 2019 16:35:10 +0000 (19:35 +0300)]
Fix build on E2K with LCC (patch by Michael Shigorin, ALT Linux)

5 years agoAdd new translations from Transifex (95% and higher)
Mike Gelfand [Wed, 6 Mar 2019 00:14:15 +0000 (03:14 +0300)]
Add new translations from Transifex (95% and higher)

GTK client: Portuguese (Portugal).

Qt client: Afrikaans, Catalan, Danish, Greek, Norwegian Bokmål, Slovenian.

Mac client: none (there're suitable languages, but they're lacking XIB files
and we haven't switched to base localization yet).

5 years agoSync existing translations with Transifex
Mike Gelfand [Wed, 6 Mar 2019 00:12:51 +0000 (03:12 +0300)]
Sync existing translations with Transifex

5 years agoMerge pull request #584 from userwithuid/rmintltool
Mike Gelfand [Sun, 3 Mar 2019 14:19:07 +0000 (17:19 +0300)]
Merge pull request #584 from userwithuid/rmintltool

cmake: replace intltool with gettext

5 years agoMerge pull request #850 from transmission/code-style-script
Mike Gelfand [Sat, 2 Mar 2019 22:13:20 +0000 (01:13 +0300)]
Merge pull request #850 from transmission/code-style-script

Add code style script and Dockerfile

5 years agoAdd code style script and Dockerfile
Mike Gelfand [Wed, 27 Feb 2019 23:01:21 +0000 (02:01 +0300)]
Add code style script and Dockerfile

5 years agoMerge branch 'master' into rmintltool
Mike Gelfand [Sun, 24 Feb 2019 18:52:09 +0000 (21:52 +0300)]
Merge branch 'master' into rmintltool

5 years agowiden the torrent-id column for cleaner formatting (#840)
Charles Kerr [Mon, 18 Feb 2019 22:39:02 +0000 (22:39 +0000)]
widen the torrent-id column for cleaner formatting (#840)

Under the current code, if there are over 9,999 torrents the
format will shift over one space when bumping from 9999 to 10000.

5 years agofix: Coverity warnings (#842)
Charles Kerr [Mon, 18 Feb 2019 22:38:24 +0000 (22:38 +0000)]
fix: Coverity warnings (#842)

* Silence coverity CHECKED_RETURN on added.f load

The existing code behaved alright since added.f is optional.
However, by testing for success we can both silence the warning
and prevent a useless initialization of NULL/0 to added_f and
added_f_length.

* Silence coverity CHECKED_RETURN on added6.f load

ipv6 variant of previous commit.

* Silence coverity CHECKED_RETURN writing benc strs

saveStringFunc() gets the target string by calling tr_variantGetStr().
It previously didn't check to see if this function succeeded because
saveStringFunc() isn't reached without the type already being known.
However, checking the return value costs nothing and makes Coverity happy.

* Silence coverity CHECKED_RETURN on ut metadata

Like earlier few Coverity commits in this PR, we're handling optional
values by declaring stack locals set to the default (e.g. -1) and then
trying to read the variant.

Unlike the earlier commits, there is a two-part step to thise read:
checking for the metadata, then checking for the individual fields.
The earlier fixes' aproach -- e.g. initializing to -1 only if the reads
failed -- would involve new nested conditionals. I find the new complexity
to outweigh the benefit of removing the dead store, so in this case I'm
casting the return value to `(void)` to tell Coverity to shush.

* Silence coverity CHECKED_RETURN on scrape

Check the return value of tr_variantGetInt() when showing
seeder and leecher counts in transmission-show.

* Silence CHECKED_RETURN on rpc recently-active

When building a list of removed torrent IDs from variants, confirm that
we can read the IDs from the variants before adding them to the list.
I don't _think_ this would have failed before, but Coverity's right that
it's reasonable to add a safeguard here.

* fix: better fix to serializing benc strings

The approach in 33e2ece7e5bc261566ae9e8db57be0b3247508d1 was
a little problematic: GetString() shouldn't fail here; but if
it somehow did, we still want to encode a zero-length benc string here.

* chore: make uncrustify happy

5 years agoFixup some formatting leftovers (JS)
Mike Gelfand [Sun, 17 Feb 2019 14:51:13 +0000 (17:51 +0300)]
Fixup some formatting leftovers (JS)

5 years agoAdd labels feature (#822)
qu1ck [Sun, 17 Feb 2019 09:33:57 +0000 (01:33 -0800)]
Add labels feature (#822)

* applied changes from https://github.com/Elbandi/transmission/tree/elbandi/labels to official transmission repo

* Fix compilation errors

* Address review comments

Changed `tr_ptrArray* labels` to `tr_ptrArray labels`;
Removed tr_ptrArrayNew() tr_ptrArrayDup() tr_ptrArrayFree()
Use tr_strsep() to split string by delimiters
Update transmission-remote.1
Update rpc-spec.txt

* Fix warning, address comments

* Rebase, fix formatting and address comments

Use uncrustify to format changed files
Fix "const <type>" -> "<type> const"
Fix small comments

* Lock torrent for setLabels, check for duplicates

* Check for empty labels in daemon

* Stop on first error

5 years agofeat: make multiscrape limits adaptive (#837)
Charles Kerr [Sat, 16 Feb 2019 20:19:38 +0000 (15:19 -0500)]
feat: make multiscrape limits adaptive (#837)

* feat: make multiscrape limits adaptive

Previously hardcoded by TR_MULTISCRAPE_MAX. This change makes
that the initial value, then incrementally lowers the value
when multiscrapes get "req too long" style errors.

* fix: don't log personal announce url

* chore: treat HTTP 400 as scrape-too-long

* chore: copyediting

* chore: copyediting

* move 'const' to the right of the type

* make conditional tests explicitly boolean

* make 'key' const

* don't lookup a value we already have

* make an array for known too-big scrape error messages

* improved multiscrape throttle logging

* fix: multiscraping of low numbers of torrents

Handle the case of getting a 'multiscrape too big' error message
back even if the user fewer than TR_MULTISCRAPE_MAX torrents.

* uncrustify

* fix oops

* refactor: remove TR_MULTISCRAPE_MIN

Is there any reason to have a minimum batch size?

* make test explicit boolean

Co-Authored-By: ckerr <ckerr@github.com>
* improve declaration of too_long_errors

Co-Authored-By: ckerr <ckerr@github.com>
* make test explicitly boolean

Co-Authored-By: ckerr <ckerr@github.com>
* make test explicitly boolean

Co-Authored-By: ckerr <ckerr@github.com>
* improve looping decl of too_long_errors

5 years agoFixup some formatting leftovers
Mike Gelfand [Sat, 16 Feb 2019 07:50:37 +0000 (10:50 +0300)]
Fixup some formatting leftovers

5 years agoMerge pull request #838 from transmission/uncrustify-update
Mike Gelfand [Fri, 15 Feb 2019 06:29:11 +0000 (09:29 +0300)]
Merge pull request #838 from transmission/uncrustify-update

Update to Uncrustify 0.68.1

5 years agoUpdate to Uncrustify 0.68.1
Mike Gelfand [Sun, 10 Feb 2019 11:05:16 +0000 (14:05 +0300)]
Update to Uncrustify 0.68.1

Tweak a few rules in the process. Now all code in cli, daemon, gtk,
libtransmission, qt, and utils is properly formatted with no manual
intervention.

5 years agoMerge pull request #825 from transmission/update-resume-file-before-invoking-torrent...
Charles Kerr [Sun, 10 Feb 2019 22:27:00 +0000 (12:27 -1000)]
Merge pull request #825 from transmission/update-resume-file-before-invoking-torrent-scripts

fix: update the resume file before running scripts

5 years agoMerge pull request #826 from Coeur/QuickLookPluginPath
Mitch Livingston [Thu, 7 Feb 2019 02:07:39 +0000 (21:07 -0500)]
Merge pull request #826 from Coeur/QuickLookPluginPath

Fix QuickLookPlugin reference path to be relative to group

5 years agoMerge branch 'master' into update-resume-file-before-invoking-torrent-scripts
Charles Kerr [Wed, 6 Feb 2019 07:00:47 +0000 (02:00 -0500)]
Merge branch 'master' into update-resume-file-before-invoking-torrent-scripts

5 years agoFix QuickLookPlugin reference path to be relative to group
Antoine Cœur [Sun, 3 Feb 2019 02:49:06 +0000 (10:49 +0800)]
Fix QuickLookPlugin reference path to be relative to group

5 years agoaddress dirty/save sequencing issue in prev commit
Charles Kerr [Sat, 2 Feb 2019 20:49:53 +0000 (14:49 -0600)]
address dirty/save sequencing issue in prev commit

5 years agoMerge pull request #741 from Artoria2e5/parseline-cidr
Charles Kerr [Sat, 2 Feb 2019 05:38:48 +0000 (23:38 -0600)]
Merge pull request #741 from Artoria2e5/parseline-cidr

Support CIDR-notated blocklists

5 years agoMerge pull request #816 from PeterDaveHello/improve-shellscript
Charles Kerr [Sat, 2 Feb 2019 04:36:54 +0000 (22:36 -0600)]
Merge pull request #816 from PeterDaveHello/improve-shellscript

fix shell script syntax errors and spacing inconsistencies

5 years agoMerge pull request #795 from jelly/systemd_hardening
Charles Kerr [Sat, 2 Feb 2019 04:25:46 +0000 (22:25 -0600)]
Merge pull request #795 from jelly/systemd_hardening

daemon: harden transmission-daemon.service

5 years agoMerge pull request #767 from takiz/transm_show
Charles Kerr [Sat, 2 Feb 2019 04:09:37 +0000 (22:09 -0600)]
Merge pull request #767 from takiz/transm_show

Add option "--unsorted" for transmission-show

5 years agoMerge pull request #807 from fetzu/master
Charles Kerr [Sat, 2 Feb 2019 04:04:43 +0000 (22:04 -0600)]
Merge pull request #807 from fetzu/master

Updated copyright strings to 2019

5 years agoMerge pull request #811 from louib/cli_manpage_typo
Charles Kerr [Sat, 2 Feb 2019 04:03:28 +0000 (22:03 -0600)]
Merge pull request #811 from louib/cli_manpage_typo

Fix typo in CLI manpage.

5 years agofix: update the resume file before running scripts
Charles Kerr [Sat, 2 Feb 2019 03:59:17 +0000 (21:59 -0600)]
fix: update the resume file before running scripts

This is useful if the client script is going to access
the .resume file. Ensuring an up-to-date .resume file
means that user scripts will be able to access it.

5 years agoRefactor shell scripts with syntax and styling fixes
Peter Dave Hello [Tue, 15 Jan 2019 19:22:29 +0000 (03:22 +0800)]
Refactor shell scripts with syntax and styling fixes

5 years agoFix typo in CLI manpage.
louib [Sun, 13 Jan 2019 20:18:51 +0000 (15:18 -0500)]
Fix typo in CLI manpage.

5 years agoUpdated copyright strings to 2019
fetzu [Fri, 11 Jan 2019 18:36:19 +0000 (19:36 +0100)]
Updated copyright strings to 2019

Updated Transmission Project copyright dates to 2005-2019 in headers and code.

5 years agodaemon: harden transmission-daemon.service
Jelle van der Waa [Fri, 28 Dec 2018 21:23:33 +0000 (22:23 +0100)]
daemon: harden transmission-daemon.service

Systemd 227 introduced the option to make a service disallow elevating
privileges.

5 years agoUpdate some selector-based alerts to block-based
Mitchell Livingston [Wed, 26 Dec 2018 15:15:33 +0000 (10:15 -0500)]
Update some selector-based alerts to block-based

5 years agoMore dark mode fixes
Mitchell Livingston [Wed, 26 Dec 2018 14:37:03 +0000 (09:37 -0500)]
More dark mode fixes

6 years agoadd Sparkle update to NEWS
Mitchell Livingston [Tue, 25 Dec 2018 00:00:29 +0000 (19:00 -0500)]
add Sparkle update to NEWS

6 years agomissed one
Mitchell Livingston [Mon, 24 Dec 2018 23:57:23 +0000 (18:57 -0500)]
missed one

6 years agoUpdate Sparkle to 1.21.2
Mitchell Livingston [Mon, 24 Dec 2018 23:57:10 +0000 (18:57 -0500)]
Update Sparkle to 1.21.2

6 years agoStart of updating NEWS for 3.00
Mitchell Livingston [Mon, 24 Dec 2018 23:46:15 +0000 (18:46 -0500)]
Start of updating NEWS for 3.00

6 years agoEnable hardened runtime
Mitchell Livingston [Sat, 22 Dec 2018 01:15:46 +0000 (20:15 -0500)]
Enable hardened runtime

6 years agoDon't have a background on group rules
Mitchell Livingston [Fri, 21 Dec 2018 23:04:03 +0000 (18:04 -0500)]
Don't have a background on group rules

6 years agoOn 10.14, use the accent color for the selected info tab
Mitchell Livingston [Fri, 21 Dec 2018 22:58:15 +0000 (17:58 -0500)]
On 10.14, use the accent color for the selected info tab

6 years agoUpdate the info tab on appearance change
Mitchell Livingston [Fri, 21 Dec 2018 22:37:17 +0000 (17:37 -0500)]
Update the info tab on appearance change

6 years agoProper dark mode for group rules sheet
Mitchell Livingston [Fri, 21 Dec 2018 22:14:44 +0000 (17:14 -0500)]
Proper dark mode for group rules sheet

6 years agoDark mode support
Mitchell Livingston [Fri, 21 Dec 2018 21:39:47 +0000 (16:39 -0500)]
Dark mode support

This is the first pass. A bit more work is needed.

6 years agoUpdate project.pbxproj
Mitchell Livingston [Fri, 21 Dec 2018 21:20:13 +0000 (16:20 -0500)]
Update project.pbxproj

Bump minimum version to 10.10

6 years agoAdd option "--unsorted" for transmission-show
takiz [Mon, 19 Nov 2018 10:35:32 +0000 (15:35 +0500)]
Add option "--unsorted" for transmission-show

6 years agoMove transmission-remote to utils (Xcode)
Mike Gelfand [Mon, 12 Nov 2018 22:38:43 +0000 (01:38 +0300)]
Move transmission-remote to utils (Xcode)

6 years agoMove transmission-remote to utils
Mike Gelfand [Tue, 6 Nov 2018 20:06:10 +0000 (20:06 +0000)]
Move transmission-remote to utils

6 years agoMerge pull request #673 from rahimnathwani/master
Mike Gelfand [Sat, 20 Oct 2018 17:06:51 +0000 (18:06 +0100)]
Merge pull request #673 from rahimnathwani/master

Update README with missing 'cd build' command

6 years agoMerge pull request #744 from ilyamodder/master
Mitch Livingston [Fri, 19 Oct 2018 11:31:22 +0000 (07:31 -0400)]
Merge pull request #744 from ilyamodder/master

Fix typo in macOS Russian localisation

6 years ago(squash later) test rule count
Mingye Wang [Wed, 17 Oct 2018 14:26:05 +0000 (10:26 -0400)]
(squash later) test rule count

6 years ago(squash later) blocklist cidr endianness
Mingye Wang [Wed, 17 Oct 2018 13:41:19 +0000 (09:41 -0400)]
(squash later) blocklist cidr endianness

6 years agoFix typo
Ilya Chirkov [Tue, 16 Oct 2018 18:11:58 +0000 (21:11 +0300)]
Fix typo

6 years ago(squash later) fix pflen handling in cidr
Mingye Wang [Sun, 14 Oct 2018 16:44:01 +0000 (12:44 -0400)]
(squash later) fix pflen handling in cidr

6 years agoSupport CIDR-notated blocklists
Mingye Wang [Sat, 13 Oct 2018 21:20:40 +0000 (17:20 -0400)]
Support CIDR-notated blocklists

This commit adds a new blocklist line format, namely individual IPv4
CIDR ranges separated by newlines. Text put after each entry is ignored
by sscanf, so feel free to put any kind of comments there.

Fix #230.

6 years agoMerge pull request #609 from t-richards/bugfix/show-invalid-date
Mike Gelfand [Sat, 6 Oct 2018 21:43:12 +0000 (22:43 +0100)]
Merge pull request #609 from t-richards/bugfix/show-invalid-date

transmission-show: Prevent crash with invalid creation date

6 years agoRefactor "created on" value output a bit further
Mike Gelfand [Sat, 6 Oct 2018 21:26:16 +0000 (00:26 +0300)]
Refactor "created on" value output a bit further

This eliminates partial string literal duplication but is otherwise
equivalent to the prior code.

6 years agoUpdate Sparkle to 1.20.0
Mike Gelfand [Thu, 4 Oct 2018 20:17:29 +0000 (23:17 +0300)]
Update Sparkle to 1.20.0

Unfortunately, due to the nature of the issue a manual update to a new
version will be required.

Fixes: #600
6 years agoDisable tabbing mode for all Mac client windows
Mike Gelfand [Sun, 30 Sep 2018 11:41:40 +0000 (14:41 +0300)]
Disable tabbing mode for all Mac client windows

6 years agoFixup previous commit for transmission-remote
Mike Gelfand [Sun, 30 Sep 2018 10:52:04 +0000 (13:52 +0300)]
Fixup previous commit for transmission-remote

6 years agoFix build with Xcode 10
Mike Gelfand [Sun, 30 Sep 2018 10:37:30 +0000 (13:37 +0300)]
Fix build with Xcode 10

For some reason, Mac client is the only project that references
libtransmission files as if they were a part of its own project, and
inconsistently so. Make the include/import style uniform an in line with
other projects.

Adjust Mac client include directory settings a bit along the way.

6 years agoFix file-test on Win32 due to file/dir symlinks difference
Mike Gelfand [Mon, 3 Sep 2018 22:05:16 +0000 (01:05 +0300)]
Fix file-test on Win32 due to file/dir symlinks difference

6 years agoMerge pull request #583 from TimeDoctor/master
Mitch Livingston [Sun, 2 Sep 2018 15:08:45 +0000 (11:08 -0400)]
Merge pull request #583 from TimeDoctor/master

Updated copyright string to 2018

6 years agoUpdate README with missing 'cd build' command
Rahim Nathwani [Sat, 28 Jul 2018 22:38:25 +0000 (15:38 -0700)]
Update README with missing 'cd build' command

6 years agoCheck return value of localtime
Tom Richards [Sat, 5 May 2018 14:25:12 +0000 (10:25 -0400)]
Check return value of localtime

Dereferencing this value before checking it may result in a null
pointer dereference (segfault)

6 years agoFix CMake-based build on Mac after 2.9x merge
Mike Gelfand [Tue, 1 May 2018 20:22:05 +0000 (23:22 +0300)]
Fix CMake-based build on Mac after 2.9x merge

6 years agoMerge branch '2.9x'
Mike Gelfand [Tue, 1 May 2018 19:44:51 +0000 (22:44 +0300)]
Merge branch '2.9x'

6 years agoBump version, update news 2.94
Mike Gelfand [Sun, 8 Apr 2018 16:00:31 +0000 (19:00 +0300)]
Bump version, update news

6 years agoMerge pull request #593 from userwithuid/fixcurltls
Mike Gelfand [Wed, 25 Apr 2018 08:57:34 +0000 (09:57 +0100)]
Merge pull request #593 from userwithuid/fixcurltls

fix logic for setting the curl ca bundle file

6 years agofix logic for setting the curl ca bundle file
userwithuid [Wed, 25 Apr 2018 08:21:50 +0000 (08:21 +0000)]
fix logic for setting the curl ca bundle file

we do not want to delete the system default by setting this to NULL...

6 years agocmake: replace intltool with gettext
userwithuid [Wed, 18 Apr 2018 09:25:13 +0000 (09:25 +0000)]
cmake: replace intltool with gettext

requires gettext 0.19.7 or higher

6 years agoUpdated copyright string to 2018
Zachary J. Slater [Tue, 17 Apr 2018 10:50:33 +0000 (00:50 -1000)]
Updated copyright string to 2018

Small update to copyright string

6 years agoHTML-escape torrent name displayed in trackers inspector tab
Mike Gelfand [Fri, 23 Feb 2018 19:37:20 +0000 (22:37 +0300)]
HTML-escape torrent name displayed in trackers inspector tab

This will prevent injection of arbitrary HTML when multiple torrents are
selected. Follow-up to the previous commit.

6 years agoTracker error XSS in inspector (web client)
Mike Gelfand [Thu, 22 Feb 2018 22:27:31 +0000 (01:27 +0300)]
Tracker error XSS in inspector (web client)

Tracker error messages are inadequately output encoded when rendered by the
tracker information page inside the WebUI, allowing a malicious tracker to
inject an XSS payload into the page. Esploiting this issue allows an
attacker to supply arbitrary client-side code that will ultimately be
rendered and executed within the end user's web browser.

Found by Rory McNamara (Gotham Digital Science). CVE pending.

6 years agoAdjust CFBundleVersion format to fix Sparkle update check
Mike Gelfand [Tue, 17 Apr 2018 09:16:18 +0000 (12:16 +0300)]
Adjust CFBundleVersion format to fix Sparkle update check

Set the first version component to be the same as the last Subversion-based
release build version and add two more components (major and minor version
numbers). To allow for nightly build updates this should probably include
another component (e.g. build timestamp), but we're not there yet.

6 years agoFix setting the ETA timestamps
geertjan [Mon, 19 Feb 2018 20:06:34 +0000 (21:06 +0100)]
Fix setting the ETA timestamps

Field etaDLSpeedCalculatedAt was set too early, causing the condition
following it to always be false. The same for etaULSpeedCalculatedAt.

6 years agoMerge pull request #522 from gjalsem/master
Mike Gelfand [Fri, 6 Apr 2018 19:49:27 +0000 (22:49 +0300)]
Merge pull request #522 from gjalsem/master

Fix setting the ETA timestamps