1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-12 07:03:44 +00:00
Commit graph

16234 commits

Author SHA1 Message Date
Mike Gelfand
cbba2e0390
Sync translations (#7362)
* Fix lupdate unused directives warning

* Sync translations with code

* Sync translations with Transifex
2025-01-01 14:55:51 +00:00
github-actions[bot]
aa9aff1131
chore: update copyright years (#7359) 2025-01-01 12:04:53 +00:00
Yat Ho
3af627e725
fix(web): enable/disable textbox when session changed (#7346)
* fix(web): enable/disable textbox when session changed

* code review: only enable/disable textbox in response to session change
2024-12-30 12:38:12 -06:00
Rukario
4f88a660a2
fix: use grid CSS to resolve the inflating rows by long torrent names in compact view (#7336) 2024-12-30 11:59:41 -06:00
Rukario
0795e932bd
refactor: pointer device listener code refinement (#7311) 2024-12-30 10:40:42 -06:00
Mitch Livingston
5b53b1ec87
Resolve context menu not always appearing in compact mode (#7350)
The progress bar was on top of the name label (and containing stack view). This reorders the progress bar to the back.
2024-12-30 11:10:35 -05:00
Charles Kerr
236cd6bae7
fix: cert-oop54-cpp warnings about self-assignment in strbuf (#7345) 2024-12-30 09:32:34 -06:00
Yat Ho
131caa1239
refactor: convert tr_net_init_mgr to singleton (#6914) 2024-12-30 09:32:11 -06:00
Rukario
3842cec549
refactor: alternative x/y coords to account for zoomed in browser (#6945)
* Update transmission.js

* refactor: accommodate suggestions + alternative x/y coords

Thanks @tearfur!

Co-Authored-By: Yat Ho <46261767+tearfur@users.noreply.github.com>

---------

Co-authored-by: Yat Ho <46261767+tearfur@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-12-29 01:42:56 -06:00
Yat Ho
a4cc98b92c
fix: speed limits did not work below 16KiB/s (#7339)
* refactor: calculate raw speed by OS buffer instead of application buffer

* refactor: limit transfer speed by raw speed

* refactor: early return write if no bytes

* refactor: remove code for guessing TCP/IP overhead

* refactor: remove code for uTP overhead
2024-12-29 01:42:07 -06:00
Yat Ho
536fe4a6e1
fix(webui): dispatch close events when closing popups (#7340)
* fix: dispatch `close` event in statistics dialogue

* fix: properly dispatch `close` event in pref dialogue
2024-12-29 01:39:56 -06:00
Charles Kerr
7820f54ba1
refactor: remove TR_DISABLE_COPY_MOVE macro (#7344) 2024-12-29 00:15:39 -06:00
Mitch Livingston
ba55b7cd7c
In the small view, show the action buttons when hovering anywhere over the cell (#7342)
* In the small view, show the action buttons when hovering anywhere over the cell

This matches the previous behavior.

* Explicitly hide/show the priority icon in the stack view

* Restore right padding on the compact view's stack view

* style fixes
2024-12-27 23:21:35 -05:00
Josh Grosse
b969b0bae1
fix: use process umask for new files. (#7195) 2024-12-27 18:20:33 -06:00
Rukario
8cb527d428
Update transmission.js (#7310)
Co-authored-by: Yat Ho <lagoho7@gmail.com>
2024-12-26 12:51:47 -06:00
Rukario
698b4348a0
fix: close context menu with a click outside listener 2024-12-25 13:09:24 -06:00
Rukario
c3b48882b8
feat: remove per-torrent start/pause button from web client (#7292) 2024-12-25 13:08:20 -06:00
cloppingemu
dc6c761c29
Fixing bug in when closing new torrent options dialog (#7247) 2024-12-24 21:36:12 +00:00
Yat Ho
2ba8cccfa7
fix: check full path when parsing http tracker responses (#7326)
* refactor: move path checking methods to base

* refactor: differentiate "empty string key" and "no key"

* fix: check full path when parsing http announce response

* fix: check full path when parsing http scrape response

* refactor: avoid copying when checking scrape info hash

* fixup! fix: check full path when parsing http scrape response
2024-12-24 14:30:50 -06:00
Yat Ho
fb36f5d55d
fix: shadowed variable warning in tr_torrentVerify() (#7305) 2024-12-24 09:26:24 -06:00
Mitch Livingston
e1fe0c1a73
Update some spacing constrains in the torrent cells (#7327) 2024-12-23 20:24:20 -05:00
Bark
1a38830ada
fix: Take into account only the private that is inside info. (#7313) 2024-12-23 14:08:05 -06:00
Rukario
713a96ffa1
feat: contract main area for inspector for large viewports (#7051) 2024-12-23 12:18:47 -06:00
Mitch Livingston
8a308cf9d9
#7290: Resolve group rows rendering incorrectly (#7321)
The outline view was apply its own styling. Instead, don't mark our groups as groups.
2024-12-22 13:10:24 -05:00
H5117
59c1c1e83b
qt: refactor Application (#7092) 2024-12-18 21:47:37 +00:00
Rukario
f2aeb11b07
feat: multiple popups in a hierarchy-like system (#7297) 2024-12-15 17:12:58 -06:00
Yat Ho
5a05b37838
feat: support the JSON null type in tr_variant (#7255) 2024-12-15 16:50:19 -06:00
reardonia
5c714a5599
refactor: add handshake fire_timer() instead of overloading fire_done() (#6966) 2024-12-14 15:14:44 -06:00
Yat Ho
b3912fa1a5
feat: download first and last piece first in sequential mode (#6893)
* feat: download first and last piece first in sequential mode

* test: fix tests
2024-12-13 19:32:03 -06:00
Yat Ho
b4bbc8744e
refactor: use evhttp public accessors in rpc server (#7112)
* refactor: use libevent public accessors in `handle_request()`

* chore: housekeeping in `handle_request()`

* refactor: use libevent public accessors in `make_response()`

* refactor: use libevent public accessors in `serve_file()`

* refactor: use libevent public accessors in `handle_web_client()`

* refactor: use libevent public accessors in `handle_rpc_from_json()`

* refactor: use libevent public accessors in `handle_rpc()`

* refactor: use libevent public accessors in `isHostnameAllowed()`

* refactor: use libevent public accessors in `test_session_id()`
2024-12-13 14:15:30 -06:00
Michal Šrůtek
1e9a2986ee
Fix macstadium opensource URL (#7289) 2024-12-13 10:10:55 +00:00
Charles Kerr
c3a8106077
docs: add 4.1.0-beta.1 notes (#7288)
* docs: add 4.1.0-beta.1 notes

* chore: bump version to 4.1.0-beta.1

* fixup! docs: add 4.1.0-beta.1 notes
2024-12-12 18:16:24 -06:00
Cœur
7ec57cfe88
Adjust slider limits in GTK (#7251) 2024-12-12 23:05:10 +00:00
cloppingemu
bb6c6dd4ed
Feature/default focus (#7102)
* Setting default focus in Open URL and Add Tracker dialog box

* Additional cleanup to remove duplication of responsibility in setting focus

* Removing now un-necessary code in TorrentUrlChooserDialog.ui

* Using activates-default property to enable default action in torrent url chooser and tracker adder

* removing un-necessary focus

* Adding missing property to the accept buttons.

* Removing unintended whitespace change in
TorrentUrlChooserDialog

* Use `True` instead of `1` for booleans (GTK3)
2024-12-12 23:03:28 +00:00
Yat Ho
31a63f0045
feat: log when RPC server reject requests (#7114) 2024-12-12 16:12:02 -06:00
Charles Kerr
d1dfed4588
chore: update generated web files 2024-12-12 16:11:24 -06:00
Yat Ho
dd58e42105
fix: send ltep handshake if received ltep handshake (#7204)
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-12-12 15:19:03 -06:00
Rukario
57e4849cde
refactor: softcode/consolidate strings in torrent-row.js, normal appendChild order for compact mode (#7285) 2024-12-12 15:17:30 -06:00
Yat Ho
b2ce9eea83
fix: obtain session lock before getting tor ptr (#7286) 2024-12-12 15:17:07 -06:00
Yat Ho
8bca3f2e06
refactor: parse cookie pref values as their default values types (#7001)
* refactor: allow floating point values in web refresh rate

Co-authored-by: Rukario <kakashiru@yahoo.com>

* refactor: parse cookie pref according to default value type

* fixup! refactor: parse cookie pref according to default value type

---------

Co-authored-by: Rukario <kakashiru@yahoo.com>
2024-12-10 08:58:28 -06:00
Yat Ho
90859fe115
test: use new tr_variant API (#7268)
* test: new `tr_variant` API in `json-test.cc`

* test: new `tr_variant` API in `variant-test.cc`

* chore: housekeeping

* test: new `tr_variant` API in `dht-test.cc`

* fix: use `reinterpret_cast` in `tr_variant::make_raw()`

* fix: add missing `typename` in `tr_variant::make_raw()`

* test: new `tr_variant` API in `settings-test.cc`

* test: new `tr_variant` API in `move-test.cc`

* test: new `tr_variant` API in `rpc-test.cc`

* test: new `tr_variant` API in `makemeta-test.cc`

* test: new `tr_variant` API in `session-test.cc`
2024-12-09 19:22:54 -06:00
Yat Ho
510286f419
ci: remove macos pkgconf workaround (#7273)
Xref: 1074c30e60
2024-12-09 16:32:14 -06:00
Yat Ho
60e5d98dc1
fix: handle nullptr in json serde (#7258)
* fix: handle nullptr in json serde

* test: fuzz json serde
2024-12-09 11:59:10 -06:00
Yat Ho
affb03a8d2
refactor: remove tr_torrent::do_magnet_idle_work() (#7271)
* Revert "fix: possible heap-use-after-free with magnet links (#6815)"

This reverts commit 09b67c84b1.

* fix: check if torrent still exists before verifying

* refactor: queue `on_have_all_metainfo()` in session thread instead
2024-12-09 10:58:39 -06:00
Cœur
43f5ca8e0c
CI: updrading deprecated macOS 12 to macOS 13 (#7275) 2024-12-08 22:57:18 -06:00
Rukario
100e88826c
fix: utilize gigabyte per second to conserve space and upload arrow clipping fix (#7279)
* Update transmission-app.scss

* Update formatter.js

* Update formatter.js
2024-12-08 21:44:18 -06:00
Josh Grosse
1bcc951001
chore: add 4.0.5 and 4.0.6 release notes to main branch (#7282)
* docs: 4.0.5 release notes (#6346)

* docs: add 4.0.6 release notes

* update: 4.0.4 -> 4.0.6 for release build example

---------

Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-12-08 21:43:52 -06:00
Yat Ho
002c891216
refactor: use string_view literals instead of C string literals (#7266) 2024-11-26 19:52:05 -06:00
Yat Ho
27955a9c8a
fix: CI errors related to REBUILD_WEB (#7252)
* ci: bump debian image from 11 to 12

debian 11 has npm 7.5.2, which is lower than our minimum required version 8.0.307.

* build: find `npm.cmd` on Windows

* chore: trigger CI

* Revert "chore: trigger CI"

This reverts commit adc8f4ec981c94c4eab3c1499ea0c555f554a1d2.

* Revert "ci: bump debian image from 11 to 12"

This reverts commit 4730d350b3789ec8ab750ff57e713a59c3389831.

* ci: use `actions/setup-node` in debian 11

* ci: don't test `REBUILD_WEB` if only `libtransmission` changed

* ci: don't test `REBUILD_WEB` if only `third-party` changed
2024-11-24 19:51:13 -06:00
Cœur
1074c30e60
fix: macOS CI (#7254)
* fix macOS CI

* adding `--formulae`
2024-11-21 13:34:34 -06:00