Charles Kerr
8c598c463c
feat: better dialog when adding duplicate magnet ( #2709 )
...
Instead of giving the entire magnet link, which can be too long to be
readable, give the magnet's display name (if available) or the info hash
as a fallback.
Fixes #1217 .
2022-02-25 01:19:28 -06:00
Charles Kerr
4450973d94
feat: stop announcing on not-registered tracker error ( #2708 )
...
Fixes #2051 .
2022-02-25 00:26:19 -06:00
Charles Kerr
e94ddc82fc
refactor: use std::string in tr_net_strerror() ( #2706 )
2022-02-24 18:53:01 -06:00
SweetPPro
943b57979f
support for resuming magnet links ( #2702 )
...
* support for resuming magnet links
magnet links are now saved as a text file the `Torrents` folder as `.magnet` files.
2022-02-24 15:52:29 -06:00
Frank Aurich
cc7d1c5f01
Fix display of size values in web interface ( #2703 )
...
* Fix display of size values in web interface:
The web interface rounded large number values down using Math.floor(),
causing the web interface to display faulty torrent/download sizes.
A torrent of size 1,92 GB (915 pieces @ 2,1 MB) was shown as "1GB".
After about half the download was done, the UI showed "1GB of 1GB (55%)", which is rather irritating.
The fix removes the `Math.floor()` and adds fractions to the larger size values.
2022-02-24 13:27:32 -06:00
Charles Kerr
abfd47a4a8
refactor: remove unused tr_block_info.n_blocks_in_piece ( #2704 )
2022-02-24 12:14:46 -06:00
Charles Kerr
9c3acc7e8a
fixup: handle unhandled scrape/announce responses ( #2701 )
...
followup to the #2531 benc refactor
2022-02-24 07:59:58 -06:00
Charles Kerr
798022ac77
docs: rpc password, systemd privs ( #2699 )
...
* docs: RPC passwords must not begin with '{'
* docs: document NoNewPrivileges=false for scripting
Fixes #1951 .
2022-02-23 22:25:02 -06:00
Charles Kerr
c1c1f7ac00
fix: allow 0-byte files when creating torrents ( #2698 )
...
Fixes #1453 .
2022-02-23 21:16:51 -06:00
Charles Kerr
80ab910cbd
feat: update built-in speed limit settings ( #2697 )
...
Fixes #2092 .
2022-02-23 20:27:28 -06:00
Charles Kerr
cfb92c47f0
feat: warn when creating torrents with nonportable filenames ( #2695 )
...
* feat: check new torrents for nonportable filenames
* fix: parse torrents even if they have nonportable filenames in the info dict's 'file' string
2022-02-23 17:38:07 -06:00
LaserEyess
706735ca88
Support binding the RPC to a Unix socket on *nix platforms ( #2574 )
...
* Support binding the RPC to a Unix socket on *nix
This commit adds unix socket support for a RPC. Some refactoring was
required in order to split out the RPC server's address struct from the
normal network address struct used for peers. It would cause
unacceptable overhead to add the unix socket length to the union.
Co-authored-by: Malte Voos <malte@malvo.org>
* add RPC socket mode to control unix socket perms
Unix socket permissions are important to control for security reasons,
and libevent defaults to 0755, which may not be what users want.
Co-authored-by: LaserEyess <LaserEyess@users.noreply.github.com>
Co-authored-by: Malte Voos <malte@malvo.org>
2022-02-23 15:09:54 -06:00
Charles Kerr
13ad2b58dc
refactor: always use a blocksize of 16 KB ( #2694 )
...
Fixes #99 .
2022-02-23 14:25:06 -06:00
Charles Kerr
f7d74095ed
docs: convert some wiki markup to markdown ( #2692 )
2022-02-23 11:00:55 -06:00
Charles Kerr
a0c25b21af
fixup! refactor: tr_web ( #2633 ) ( #2693 )
...
race condition in TR_ASSERT
2022-02-23 11:00:40 -06:00
Charles Kerr
7238724318
refactor: webseed ( #2689 )
...
* refactor: reduce nested conditional webseed logic
* refactor: use tr_block_info::Location in webseed
* request larger chunks at a time from webseeds
* fix: CURLOPT_MAXREDIRS to safeguard against loops
Discussion at https://trac.transmissionbt.com/ticket/6110 .
Reported by @x190 and @cfpp2p a few years back.
2022-02-23 07:38:18 -06:00
kakuhen
bee5c1016a
Clarify torrent-add result on duplicate torrents ( #2690 )
...
Rewrote a sentence to ensure it's clear that a duplicate torrent error still returns a "success" result over RPC.
2022-02-22 21:59:48 -06:00
Charles Kerr
46c7a7c47c
fix: unsupported peer socket type 0 assertion failure ( #2687 )
...
* refactor: downgrade unsupported socket type from assertion to log warning
Fixes #833 .
2022-02-22 16:10:49 -06:00
Charles Kerr
aec1b29e88
docs: restore the Port Forwarding Guide ( #2685 )
...
Fixes : #2672 .
2022-02-22 14:53:06 -06:00
Charles Kerr
f8477d5af1
docs: misc fixes ( #2683 )
...
* docs: update Scripts documentation
Fixes #1159
* docs: fix broken Blocklist links
Fixes #913 .
* docs: remove trailing spaces in markdown
* docs: remove link to nonexistent FAQ
Fixes #1937 .
* docs: unbreak the building-trqt-on-win link
Fixes #1226 .
TODO: import that file to these docs
* docs: add call for PRs
2022-02-22 12:45:30 -06:00
Charles Kerr
e6e1e1d220
fix: ensure all bytes read / written to file ( #2682 )
2022-02-22 11:21:24 -06:00
Dmitry Serov
54d1a02e92
Use properties instead of ivars ( #2453 )
2022-02-22 10:04:20 -06:00
Charles Kerr
95e30768c4
refactor: rename mediator classes ( #2681 )
2022-02-22 09:09:24 -06:00
Charles Kerr
c0b09d0f47
Merge pull request #2679 from ile6695/main
...
Add regression test for tr_strlcpy
2022-02-22 08:00:21 -06:00
Ilkka Kallioniemi
cff1d0a7d0
Add regression test for tr_strlcpy
2022-02-22 10:34:10 +02:00
Charles Kerr
9090e3fd6b
Merge pull request #2678 from transmission/docs/update-the-docs-directory
...
docs: misc fixes in the docs/ directory
2022-02-21 23:20:21 -06:00
Charles Kerr
ee86d6fd2e
doc: fix wrong name for download-queue-size setting
...
Fixes #712 .
2022-02-21 22:54:29 -06:00
Charles Kerr
d0507134c8
doc: note config dir locs in user/service context on Win
...
Fixes #865 .
2022-02-21 22:53:28 -06:00
Charles Kerr
8993a400fa
doc: remove unused TR_DEBUG env var
...
Fixes #1090 .
2022-02-21 22:51:44 -06:00
Charles Kerr
75f871030a
fix broken links in main docs page
...
Fixes #151
2022-02-21 22:49:04 -06:00
Charles Kerr
3f7134d47b
Merge pull request #2677 from transmission/fix/bd68d3a-final-info-hash-in-makemeta
...
fix: unreleased regression in makemeta pieces hashes
2022-02-21 19:57:14 -06:00
Charles Kerr
5842e8bc74
Merge branch 'main' into fix/bd68d3a-final-info-hash-in-makemeta
2022-02-21 18:02:02 -06:00
Charles Kerr
cbe5a204a8
fixup! refactor: use tr_sha1_digest_t everywhere ( #2330 )
...
fix: unreleased regression in makemeta hashes
2022-02-21 18:01:36 -06:00
Charles Kerr
41b13db874
Merge pull request #2676 from transmission/fix/2667-bitfield-assertion-on-zero-byte-file
...
fix: bitfield assertion failure on zero-byte file
2022-02-21 17:56:31 -06:00
Charles Kerr
ffaff91b79
Merge branch 'main' into fix/2667-bitfield-assertion-on-zero-byte-file
2022-02-21 16:35:55 -06:00
Mike Gelfand
1f573d264b
Update CMake files with removed/added languages (take 2)
2022-02-21 21:43:18 +00:00
Mike Gelfand
50862aea31
Update CMake files with removed/added languages
2022-02-21 21:38:32 +00:00
Charles Kerr
c6b604add2
Merge branch 'main' into fix/2667-bitfield-assertion-on-zero-byte-file
2022-02-21 15:36:24 -06:00
Mike Gelfand
0265e5ffaa
Add new translations from Transifex (95% and higher)
...
Qt client: Portuguese
2022-02-21 21:32:25 +00:00
Mike Gelfand
b2a01df64d
Sync existing translations with Transifex
2022-02-21 21:30:30 +00:00
Mike Gelfand
bcc0cfa127
Sync existing translations with code
2022-02-21 21:24:50 +00:00
Mike Gelfand
4417110217
Remove *.po files that don't have a single phrase translated
2022-02-21 21:23:40 +00:00
Charles Kerr
81441706c1
fixup! fix: bitfield assertion failure on zero-byte file
...
chore: code style
2022-02-21 14:39:00 -06:00
Charles Kerr
4bf613804c
fix: bitfield assertion failure on zero-byte file
...
Fixes #2667 .
2022-02-21 14:20:35 -06:00
Charles Kerr
105ac7f104
Merge pull request #2673 from transmission/docs/absorb-the-wiki
...
docs: move the wiki into `transmission/transmission`
2022-02-21 14:17:42 -06:00
Charles Kerr
45b82016ea
Merge pull request #2675 from transmission/fix/valgrind-warnings
...
fix: recent memory leak regressions
2022-02-21 13:50:45 -06:00
Charles Kerr
aa657bb0ca
Merge branch 'main' into docs/absorb-the-wiki
2022-02-21 11:43:28 -06:00
Charles Kerr
d27a6afc29
fixup! refactor: trevent use std:: tools intead of pipes ( #2520 )
...
fix event leaked in trevent thread
2022-02-21 11:41:04 -06:00
Charles Kerr
4a20fff2ec
fixup! feat: support webseeds in transmission-create ( #2611 )
...
fix: small makemeta leak introduced from webseed support
2022-02-21 11:36:55 -06:00
Charles Kerr
89e343aab3
Merge pull request #2668 from transmission/feat/default-public-trackers
...
feat: default public trackers
2022-02-21 11:09:56 -06:00