1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-13 23:48:49 +00:00
Commit graph

864 commits

Author SHA1 Message Date
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
Yat Ho
f0e7c3ed74
chore: convert transmission-web to ES module (#7209) 2024-10-30 10:48:38 -05:00
Rukario
dce515f37c
feat: display percent in progress bar for web client (#5937)
* Update transmission-app.scss

* Update torrent-row.js

* Update transmission-app.scss

* Update transmission-app.scss

* Update transmission-app.scss

* Update transmission-app.scss

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

* Update file-row.js

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

* Update formatter.js

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

* Update inspector.js

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

* Update torrent-row.js

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

* Update torrent.js

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

* Update transmission-app.scss

* Update transmission-app.scss

---------

Co-authored-by: Yat Ho <lagoho7@gmail.com>
2024-10-30 09:19:01 -05:00
Yat Ho
c36a62e171
ci: automatically regenerate package.json.buildonly (#7198) 2024-10-28 15:45:29 -05:00
Bheesham Persaud
614244bfae
fix(web): pressing the enter key now submits dialogs (#7036)
Dialogs by themselves aren't submitted when pressing the Enter key,
for that we need to add an event handler to the dialog itself.

One approach I tried was to add a form to the dialog. This worked, but
needed a CSS workaround to keep the buttons in the same order.

Tested with some other dialogs as well:

* edit labels; and
* set location.

References:

* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog#handling_the_return_value_from_the_dialog
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#formmethod
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#method

Fixes #6553
2024-10-21 19:13:42 -05:00
Yat Ho
b5b7d7abde
chore: misc WebUI fixes and cleanup (#7037)
* chore: housekeeping

* fix: use `setCurrentPopup` for drag and drop dialogue

* fix: minor typo

* chore: removed unused timer

* fix: correct value in `<input multiple='?'>`

* fixup! chore: housekeeping

* code review: use `URL.canParse()`

* Revert "code review: use `URL.canParse()`"

This reverts commit b1a436031ab154d8075762c91dd67d8c9eb954af.
2024-08-23 15:16:22 -05:00
Rukario
10333d23b2
fix: make name and hash readable (#7014) 2024-08-22 18:04:45 -05:00
github-actions[bot]
d467fa1f7f
chore: update generated transmission-web files (#6865)
Co-authored-by: ckerr <70381+ckerr@users.noreply.github.com>
2024-05-27 20:16:23 -05:00
niol
63e74f4df8
webui: enable click to hide inspector (#6863) 2024-05-27 20:12:43 -05:00
github-actions[bot]
c2e12cbf52
chore: update generated transmission-web files (#6857)
Co-authored-by: ckerr <70381+ckerr@users.noreply.github.com>
2024-05-25 14:37:21 -05:00
Yat Ho
381c17e0bb
webui: fixed width for speed info (#6739)
* webui: fixed width for speed info

* fix: match download icon-text gap with upload

* webui: move speed arrow to the right of the text
2024-05-25 13:32:01 -05:00
Gary Elshaw
45d3c678bc
feat: webui use monochrome icons for play/pause buttons (#5868) 2024-03-15 00:15:01 -05:00
Hendrik Luup
6a212e7e8e
fix(web): do not close all popups on successful rpc requests (#6675)
Fixes regression introduced in 250f43ae
2024-03-09 09:34:44 -06:00
Hendrik Luup
34b8c827a8
refactor(web): use crypto.randomUUID for UUID if available (#6649)
crypto.randomUUID() is the most up to date way to generate UUIDs.
It works in secure context (HTTPS) and for localhost.
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID

It has a wide browser support, but we are keeping the fallback
for older browsers and for cases where users are using a custom
hostname without HTTPS, that's not consider a secure context.
https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts
2024-03-04 18:16:31 -06:00
Hendrik Luup
98c4eb8487
refactor(web): extract mime icon creation to the helper (#6664) 2024-03-04 08:46:25 -06:00
Hendrik Luup
250f43ae68
fix(web): close connection failed alert on successful request (#6657) 2024-03-03 21:00:44 -06:00
Hendrik Luup
dc1dc5b6b0
refactor(web): Remove unused functions from utils.js (#6656)
* refactor(web): remove unused createTabsContainer function

```console
$ grep -nr createTabsContainer src/
src/utils.js:85:export function createTabsContainer(id, tabs, callback) {
```

* refactor(web): remove unused setChecked function

```console
$ grep -nr setChecked src/
src/utils.js:213:export function setChecked(element, b) {
```
2024-03-02 21:34:44 -06:00
Yat Ho
41566cfd0b
feat: WebUI add Error case in port test result (#6607)
* refactor: do not rely on port test response to determine ip protocol

* feat: show `Error` in port test if no result is returned
2024-02-15 23:20:23 -06:00
Yat Ho
e408aa0741
Revert "feat: Only show .torrent files in the web UI (#6320)" (#6538)
This reverts commit c853ec3358.
2024-01-20 16:56:21 -06:00
Gary Elshaw
ecb58e2966
feat: widen progressbar and increase font size in compact mode 2024-01-06 15:54:52 -06:00
Yat Ho
38aa28a831
fixup! chore: webui scss cleanup (#6471) (#6490) 2024-01-06 11:46:10 -06:00
Yat Ho
3b017dbd86
fix: WebUI render html entity in torrent ratio (#6491) 2024-01-06 11:02:10 -06:00
Yat Ho
61ed621f55
chore: webui scss cleanup (#6471)
* chore: rename some colours to more accurate names

* chore: sort colour definitions

* chore: housekeeping

* fix: remove invalid css properties
2024-01-01 17:22:18 -06:00
Yat Ho
964bd31a2b
fix: WebUI torrent title color when paused and highlighted in Light Mode (#6462) 2023-12-31 15:55:46 -06:00
Yat Ho
9932f567fb
fix: update WebUI build instructions to use dataurl loader for images (#6430) 2023-12-24 07:53:57 -06:00
github-actions[bot]
bfa5da9705
chore: update generated transmission-web files (#6427)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-12-23 11:05:03 -06:00
Yat Ho
a4e8cd5081
fix: esbuild load svg and png as dataurl type (#6409) 2023-12-23 10:32:38 -06:00
github-actions[bot]
0c51eb36d7
chore: update generated transmission-web files (#6336) 2023-12-04 10:35:42 -06:00
Yat Ho
71de532e0c
fix: always use location of selected torrents in WebUI set location dialogue (#6334) 2023-12-04 10:27:57 -06:00
github-actions[bot]
9e7a860b57
chore: update generated transmission-web files (#6322)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-12-01 16:48:46 -06:00