Commit Graph

839 Commits

Author SHA1 Message Date
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
Jake Leahy c853ec3358
feat: Only show .torrent files in the web UI (#6320) 2023-12-01 10:40:36 -06:00
Charles Kerr b9d1b33939
build: use esbuild to bundle the web app (#6280) 2023-11-27 19:23:40 -06:00
Yat Ho 7af71d9695
refactor: pause torrent after verifying if files disappeared (#6277) 2023-11-25 16:20:17 -06:00
Charles Kerr 036725df42
refactor: prefer css vars over sass (#6287)
* chore: prefer calc() over sass math module

* chore: remove unused mixins

* refactor: use css variables for symbolic color names

* refactor: use range syntax for media queries

* refactor: use css variables for symbolic dimensions, units

* refactor: use css variables for symbolic url names

* refactor: use css variables for mime icon urls

* fixup! refactor: use css variables for symbolic dimensions, units

* refactor: replace mime-icon mixin with css variables

* ci: run apt-update before apt-install
2023-11-24 11:01:00 -06:00
github-actions[bot] b413beab70
chore: update generated transmission-web files (#6225) 2023-11-08 11:17:25 -06:00
Yat Ho 707e51aa9d
feat: display full client name in tooltip (#6224) 2023-11-08 10:34:55 -06:00
github-actions[bot] d681fa9293
chore: update generated transmission-web files (#6200) 2023-11-03 11:29:36 -05:00
Julien 424a9b5e17
chore: cleanup timespans in remaining headers (#6199)
* chore: cleanup timespans in remaining headers

* fix: reverted change in generated file

See https://github.com/transmission/transmission/actions/runs/6744426558/job/18334261137?pr=6199
2023-11-03 08:31:39 -05:00
github-actions[bot] 7d1a32c471
chore: update generated transmission-web files (#6193) 2023-11-01 16:13:51 -05:00
Julien 8ac323d5d6
chore: removed copyright timespans in headers (#4850) 2023-11-01 16:11:11 -05:00
github-actions[bot] aa307d5696
chore: update generated transmission-web files (#6185) 2023-10-30 17:07:49 -04:00
Rukario ccce37ba6c
refactor: unified shadow properties for web client (#5840) 2023-10-30 12:22:32 -04:00
github-actions[bot] 31de1b68bd
chore: update generated transmission-web files (#6165)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-10-25 15:32:31 -04:00
Rukario c4f3ac252f
feat: display date & time in torrent detail for web client (#5918) 2023-10-25 15:30:49 -04:00
Rukario 72a86bdf45
fix: fixed graying out buttons in dark mode (#5921) 2023-10-25 14:16:11 -04:00
github-actions[bot] f62f7427ed
chore: update generated transmission-web files (#6156)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-10-24 21:31:53 -04:00
Yat Ho 6d958bd5fc
feat: do separate IPv4 and IPv6 port checks in WebUI (#5953)
* feat: add `ipProtocol` argument to `port-test` rpc method

* chore: update rpc-spec.md

* feat: split port check UI to IPv4 and IPv6 in webUI

* fix: default `open` to false if cannot get response

* chore: minor docs wording tweak

* chore: make clang-tidy happy

* chore: RPC doc tweaks

* fix: bad merge

* chore: review feedback

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* chore: match quark enum with parameter case

* refactor: use descriptive strings for `ipProtocol`

* chore: update docs

* fixup! refactor: use descriptive strings for `ipProtocol`

* fixup! chore: update docs

---------

Co-authored-by: Charles Kerr <charles@charleskerr.com>
2023-10-24 09:27:28 -04:00
Charles Kerr 4b5cbd2a97
chore: bump vulnerable web build deps (#6139) 2023-10-20 15:26:33 -05:00
github-actions[bot] 1500417704
chore: update generated transmission-web files (#6092)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-10-09 08:50:22 -05:00
Rukario f2fa47b7a9
Update torrent-row.js (#5857) 2023-10-08 22:23:44 -05:00
github-actions[bot] 732465d533
chore: update generated transmission-web files (#6086) 2023-10-08 22:04:17 -05:00
Yat Ho c16ed41a7d
feat: better description for forced verify option (#6088) 2023-10-08 20:28:50 -05:00
Yat Ho 0c52b710ad
feat: add option to force verify torrent in WebUI (#5981) 2023-10-06 22:52:59 -05:00
Yat Ho cf1c4f99e9
feat: display full peer address in tooltip (#6081) 2023-10-06 21:33:05 -05:00
Yat Ho 94797dfb6e
feat: WebUI torrent tracker list style improvements (#6008) 2023-10-02 19:47:52 -05:00