1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-18 17:55:45 +00:00
Commit graph

848 commits

Author SHA1 Message Date
Rukario
100e88826c
fix: utilize gigabyte per second to conserve space and upload arrow clipping fix ()
* Update transmission-app.scss

* Update formatter.js

* Update formatter.js
2024-12-08 21:44:18 -06:00
Rukario
a1befba4d8
Update torrent-row.js () 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: ) ()
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 () 2024-10-31 22:15:05 -05:00
Yat Ho
f0e7c3ed74
chore: convert transmission-web to ES module () 2024-10-30 10:48:38 -05:00
Rukario
dce515f37c
feat: display percent in progress bar for web client ()
* 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 () 2024-10-28 15:45:29 -05:00
Bheesham Persaud
614244bfae
fix(web): pressing the enter key now submits dialogs ()
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 
2024-10-21 19:13:42 -05:00
Yat Ho
b5b7d7abde
chore: misc WebUI fixes and cleanup ()
* 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 () 2024-08-22 18:04:45 -05:00
github-actions[bot]
d467fa1f7f
chore: update generated transmission-web files ()
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 () 2024-05-27 20:12:43 -05:00
github-actions[bot]
c2e12cbf52
chore: update generated transmission-web files ()
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 ()
* 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 () 2024-03-15 00:15:01 -05:00
Hendrik Luup
6a212e7e8e
fix(web): do not close all popups on successful rpc requests ()
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 ()
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 () 2024-03-04 08:46:25 -06:00
Hendrik Luup
250f43ae68
fix(web): close connection failed alert on successful request () 2024-03-03 21:00:44 -06:00
Hendrik Luup
dc1dc5b6b0
refactor(web): Remove unused functions from utils.js ()
* 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 ()
* 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 ()" ()
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 () () 2024-01-06 11:46:10 -06:00
Yat Ho
3b017dbd86
fix: WebUI render html entity in torrent ratio () 2024-01-06 11:02:10 -06:00
Yat Ho
61ed621f55
chore: webui scss cleanup ()
* 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 () 2023-12-31 15:55:46 -06:00
Yat Ho
9932f567fb
fix: update WebUI build instructions to use dataurl loader for images () 2023-12-24 07:53:57 -06:00
github-actions[bot]
bfa5da9705
chore: update generated transmission-web files ()
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 () 2023-12-23 10:32:38 -06:00
github-actions[bot]
0c51eb36d7
chore: update generated transmission-web files () 2023-12-04 10:35:42 -06:00
Yat Ho
71de532e0c
fix: always use location of selected torrents in WebUI set location dialogue () 2023-12-04 10:27:57 -06:00
github-actions[bot]
9e7a860b57
chore: update generated transmission-web files ()
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 () 2023-12-01 10:40:36 -06:00
Charles Kerr
b9d1b33939
build: use esbuild to bundle the web app () 2023-11-27 19:23:40 -06:00
Yat Ho
7af71d9695
refactor: pause torrent after verifying if files disappeared () 2023-11-25 16:20:17 -06:00
Charles Kerr
036725df42
refactor: prefer css vars over sass ()
* 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 () 2023-11-08 11:17:25 -06:00
Yat Ho
707e51aa9d
feat: display full client name in tooltip () 2023-11-08 10:34:55 -06:00
github-actions[bot]
d681fa9293
chore: update generated transmission-web files () 2023-11-03 11:29:36 -05:00
Julien
424a9b5e17
chore: cleanup timespans in remaining headers ()
* 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 () 2023-11-01 16:13:51 -05:00
Julien
8ac323d5d6
chore: removed copyright timespans in headers () 2023-11-01 16:11:11 -05:00
github-actions[bot]
aa307d5696
chore: update generated transmission-web files () 2023-10-30 17:07:49 -04:00
Rukario
ccce37ba6c
refactor: unified shadow properties for web client () 2023-10-30 12:22:32 -04:00
github-actions[bot]
31de1b68bd
chore: update generated transmission-web files ()
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 () 2023-10-25 15:30:49 -04:00
Rukario
72a86bdf45
fix: fixed graying out buttons in dark mode () 2023-10-25 14:16:11 -04:00
github-actions[bot]
f62f7427ed
chore: update generated transmission-web files ()
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-10-24 21:31:53 -04:00