Commit Graph

893 Commits

Author SHA1 Message Date
github-actions[bot]
030b22f91c chore: update generated transmission-web files (#7860) 2025-11-30 11:50:48 -06:00
Yat Ho
1cb24a701b feat: new JSON-RPC 2.0 RPC API (#7269)
* feat: add enum for JSON-RPC error codes

* feat: new `tr_rpc_request_exec()` overload that accepts string

* feat: add JSON-RPC parse error handling

* feat: add logic for branching to JSON-RPC or legacy API

* feat: error codes for existing errors strings

* refactor: async handlers now take the done cb as parameter

* feat: support non-batch JSON-RPC requests

* feat: support batch JSON-RPC requests

* refactor: move JSON-RPC error codes to header

* test: new tests for JSON-RPC

* refactor(webui): use jsonrpc api

* docs: update docs for jsonrpc

* fix: clang-tidy warning

* perf: avoid copying callback in batch mode

* code review: don't commit to dropping old RPC

* chore: fix shadowed variable warnings
2025-11-30 10:04:40 -06:00
Mitch Livingston
147da72453 Revised Tahoe icon, including updated favicons, webclip icon, and document icon (#7836) 2025-11-19 20:54:18 -05:00
github-actions[bot]
2322a39c90 chore: update generated transmission-web files (#7812)
Co-authored-by: ckerr <70381+ckerr@users.noreply.github.com>
2025-11-14 09:56:43 -06:00
Rukario
2fa0b9ef6b feat: update & move turtle to own button on status bar of web app (#6940) 2025-11-13 20:24:29 -06:00
github-actions[bot]
bdbce644cf chore: update generated transmission-web files (#7806)
Co-authored-by: ckerr <70381+ckerr@users.noreply.github.com>
2025-11-12 18:33:53 -06:00
Rukario
26aba40529 feat: rename or copy name of individual file in web app (#7389) 2025-11-12 18:17:40 -06:00
github-actions[bot]
b449248fc8 chore: update generated transmission-web files (#7781)
Co-authored-by: ckerr <70381+ckerr@users.noreply.github.com>
2025-11-08 18:29:45 -06:00
Rukario
65d8dc69f1 feat: label mainwin buttons (#6985)
* feat: label mainwin buttons

* fix: trash icon semi-transparent lines overlap
2025-11-08 18:25:30 -06:00
github-actions[bot]
46cbe2b08f chore: update generated transmission-web files (#7777)
Co-authored-by: ckerr <70381+ckerr@users.noreply.github.com>
2025-11-08 07:52:46 -06:00
Rukario
b0b8902198 feat: inline delete prompt in remove dialog (#7000)
Co-authored-by: Yat Ho <lagoho7@gmail.com>
2025-11-08 07:21:14 -06:00
github-actions[bot]
418434a5f3 chore: update generated transmission-web files (#7726)
Co-authored-by: ckerr <70381+ckerr@users.noreply.github.com>
2025-11-05 14:51:54 -06:00
Charles Kerr
152e468e3a fix: filter-by-tracker failed after the tracker list changed (#7761) 2025-11-05 14:25:45 -06:00
Rukario
c35af04606 feat: revamped search bar for web client (#6948) 2025-11-05 14:21:50 -06:00
Rukario
90268076b8 refactor: clean up Flexbox style rules in CSS (#7358) 2025-11-03 12:26:37 -06:00
Rukario
7be9808ccd Privacy and error filter for web client (#6977)
Squashed all commits + co-authoring previous works

Co-authored-by: Derek Reiff <d@derekr.net>
Co-authored-by: Will Da Silva <will@willdasilva.xyz>
Co-authored-by: Yat Ho <46261767+tearfur@users.noreply.github.com>
2025-11-03 12:24:07 -06:00
Rukario
afdbfdbcda feat: viewport neutral layout and style for small viewports in web app (#7328)
* Update transmission-app.scss

* Update transmission-app.scss
2025-11-02 11:58:15 -06:00
Rukario
50e0ffb910 feat: tweak font size for web app (#7329) 2025-11-02 11:52:54 -06:00
Rukario
78c50747cc refactor: offload icons from HTMLdoc to JavaScript for icon deployment (#7277)
* Update index.html

* Update utils.js

* Update torrent-row.js

* Update transmission-app.scss

* Update transmission.js

* Freezing object with `Object.freeze`

Co-Authored-By: Yat Ho <lagoho7@gmail.com>

* Update torrent-row.js

* Update utils.js

* Prefers destructuring assignment over bracket notation accessor

Co-authored-by: Yat Ho <lagoho7@gmail.com>

---------

Co-authored-by: Yat Ho <lagoho7@gmail.com>
2025-11-02 11:52:22 -06:00
Rukario
1d0db31ae7 feat: submenu to group away context menu items (#7263)
* Update context-menu.js

* Update transmission-app.scss

* Update transmission-app.scss

* Update transmission-app.scss

* Update context-menu.js

* Update transmission-app.scss

* Update context-menu.js

* Update transmission-app.scss

* Update context-menu.js

* Update transmission-app.scss

* Update context-menu.js

* Update action-manager.js

* Update context-menu.js

* Update context-menu.js

* Update action-manager.js

* Update context-menu.js

* Update context-menu.js

* Update context-menu.js

* Update context-menu.js
2025-10-30 18:19:48 -05:00
Yat Ho
d31e77a494 chore: update transmission-web package (#7003)
* chore: update minor versions

* chore: bump to `style-loader@4`

major version change

* refactor: combine `#mainwin-toolbar:nth-last-child(2)` rule

* refactor: cleanup scss definitions

Notes: `.single-file` is no longer used in code

* chore: bump `esbuild-sass-plugin@3` `esbuild@0.25`

* chore: uninstall unused `stylelint-config-standard`

In fact, it was never used since added to `package.json`.

* chore: bump `stylelint@16` `stylelint-config-sass-guidelines@12`

* chore: bump `eslint@9` `eslint-plugin-sonarjs@1` `eslint-plugin-unicorn@61`

* chore: enable prettier for whole `transmission-web` package

* chore: bump `@primer/stylelint-config@13`

* chore: update minor versions

* build: remove lint config files from CMake dependency

* chore: bump minor versions

* chore: bump `eslint-plugin-sonarjs@3`

* ci: use `actions/setup-node@v4` to install Node.js

So that there's no risk of the OS package manager's Node.js version being too low.

Except in Alpine, which does not work with `actions/setup-node@v4`. Ref: https://github.com/actions/setup-node/issues/387

* chore: replace `lodash.isEqual` with `fast-deep-equal`

* chore: bump minor versions

* chore: re-generate package-lock.json

* chore: fix lint errors
2025-10-25 12:09:36 -05:00
Rukario
c885646d65 fix: also share grid-area: icon; across full-compact modes (#7356) 2025-10-15 19:19:15 -05:00
Rukario
b5a447eecd refactor: centralize checkbox creation in overflow-menu.js (#7369)
`overflow-menu.js` also sees a favor of using `htmlFor = id` over `setAttribute('for', id)` for binding label to element id.

Update transmission-app.scss
2025-10-15 18:45:35 -05:00
Rukario
d083ca1130 fix: display icon correctly for multi-file torrents in compact view (#7352)
* fix: display icon correctly for multi-file torrents in compact view

* refactor: clean up unused codes
2025-10-15 14:19:25 -05:00
wrrrzr
963085a00c Add accept torrent files in web (#7683)
* Add accept torrent files

* Update open-dialog.js

* Update open-dialog.js

---------

Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-10-15 12:09:22 -05:00
Rukario
3fdbeea2b6 feat: update color for priority buttons in web app (#7651) 2025-10-14 12:21:32 -05:00
github-actions[bot]
828e82420c chore: update generated transmission-web files (#7075)
Co-authored-by: ckerr <70381+ckerr@users.noreply.github.com>
2025-10-14 12:20:12 -05:00
Yat Ho
d9a7c3ab94 chore: mark web files as generated (#7588) 2025-05-08 21:44:06 +01:00
Yat Ho
7b83c7d625 refactor: rename unreleased quarks to snake_case (#7483)
* refactor: rename `sequentialDownload` to `sequential_download`

* refactor: rename `beginPiece` to `begin_piece`

* refactor: rename `endPiece` to `end_piece`

* refactor: rename `ipProtocol` to `ip_protocol`

* refactor: rename `preferred-transport` to `preferred_transport`
2025-03-10 17:30:19 -05:00
Charles Kerr
40d73978f7 chore: update generated web files 2025-03-10 16:03:30 -05:00
Rukario
9ea7153ee4 feat: error rename alert message (#7394) 2025-03-04 19:29:52 -06:00
Rukario
43577e3df2 refactor: drop className .full in favor of :not(.compact) (#7354) 2025-03-04 08:21:23 -06: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
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
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
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
Rukario
713a96ffa1 feat: contract main area for inspector for large viewports (#7051) 2024-12-23 12:18:47 -06:00
Rukario
f2aeb11b07 feat: multiple popups in a hierarchy-like system (#7297) 2024-12-15 17:12:58 -06:00
Charles Kerr
d1dfed4588 chore: update generated web files 2024-12-12 16:11:24 -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
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
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
Rukario
a1befba4d8 Update torrent-row.js (#7245) 2024-11-18 09:30:21 -06:00
Rukario
e45fbade2e feat: more gray for grayed out objects 2024-11-17 17:33:16 -06:00
Robin Seth Ekman
198ee5bd97 build: update web/CMakeLists.txt to reflect renamed files (Fixes: #7240) (#7241)
the files web/prettier.config.js and web/stylelint.config.js were renamed in b9f4509, but web/CMakeLists.txt was not updated correspondingly.
hence, using `REBUILD_WEB` would cause FTFS.
2024-11-11 00:29:25 -06:00
Yat Ho
361b5c6152 fix: support nodejs below v20.11 for generate_buildonly.js (#7214) 2024-10-31 22:15:05 -05:00