Commit Graph

60 Commits

Author SHA1 Message Date
Yat Ho
dea9400a2a chore: backport recent WebUI fixes (#6563)
* fix: update WebUI build instructions to use `dataurl` loader for images (#6430)

(cherry picked from commit 9932f567fb)

* fix: always use location of selected torrents in WebUI set location dialogue (#6334)

(cherry picked from commit 71de532e0c)
2024-02-03 22:14:51 -06:00
Yat Ho
22687c5480 fix: WebUI render html entity in torrent ratio (#6491) (#6500)
(cherry picked from commit 3b017dbd86)
2024-01-07 11:22:33 -06:00
Rukario
1458a7266a fix: overflow-menu and context-menu positioning for small viewports (#5827) 2023-08-20 21:39:41 -05:00
Charles Kerr
b106da10ed fix: null tier name in inspector list (#5462) 2023-04-26 23:27:39 -05:00
Charles Kerr
ce316309e7 fix: missing date-added field in web torrent inspector (#5386) 2023-04-13 12:01:34 -05:00
Charles Kerr
8dbf40613a fix: show announce url origin in inspector tier list (#5382) 2023-04-12 20:44:26 -05:00
Charles Kerr
c3038d8ed7 fix: check for input focus before looking at keyboard shortcuts (#5381)
Fixes #5326.

Notes: Turned off keyboard shortcuts when input fields have focus.
2023-04-12 20:09:01 -05:00
Charles Kerr
649be3b772 fix: use a Verify keyboard shortcut that does not conflict with Paste (#5318) 2023-04-12 18:05:57 -05:00
Derek Reiff
ca44c9143a fix: Check for E2BIG or NaN strings and replace with placeholders (#5249) 2023-03-18 23:03:51 -05:00
tearfur
e527cd4e9b fix: remove extra checkbox from webui peers preferences (#5223) 2023-03-15 10:46:28 -05:00
Derek Reiff
451dd952f8 fix: restore client-level progress indicators (#5083) 2023-02-27 17:16:45 -06:00
Helmut K. C. Tessarek
0d355806ac fix: change alt to control for shortcuts (#5054) 2023-02-25 23:37:50 -06:00
Charles Kerr
8e3a09ff94 fix: alt speed schedule not saved in web ui (#5033) 2023-02-24 16:09:50 -06:00
Charles Kerr
9d310b3a4d fix: padding in overflow menu (#5001) 2023-02-22 18:31:24 -06:00
Òscar Casajuana
7350339ebc fix: searching labels that contain spaces or hyphens (#4932) 2023-02-18 16:44:26 -06:00
Charles Kerr
e60b1516c6 fix: incorrect debounce arguments (#4839)
Fixes #4830.
2023-02-11 15:37:43 -06:00
Julien
4b8cfa2e57 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Charles Kerr
a6713dbcd3 chore: revert 5b14df51c (#4663)
no longer needed; a bot generates the webpacked files
2023-01-25 15:00:23 -06:00
Charles Kerr
5fe95ad5b0 fix: out-of-tree build (#4641)
- in cmake, add transmission-web build target

- in cmake, test for `npm` if we're building transmission-web

- add npm to CI install deps; build transmission-web as needed
2023-01-23 15:59:41 -06:00
Charles Kerr
5b14df51cb build: downgrade web deps (#4644)
revert to older transmission-web build dependencies
to make it easier to build on stock older systems, e.g.
Ubuntu 20.04 which ships with Node 10.
2023-01-23 14:50:21 -06:00
Charles Kerr
53815e5eb3 build: build transmission-web with npm instead of yarn (#4637) 2023-01-22 14:47:59 -06:00
Derek Reiff
506439f099 fix: when comparing priority for rpc call, cast to string first (#4610) 2023-01-21 14:23:41 -06:00
Charles Kerr
e4625cec0b fix: return nullptr for getPrimaryMimeType() (#4569) 2023-01-09 16:30:12 -06:00
Hakjoon Sim
e44a08278b fix: inspector icon should be disabled as default (#4093) 2022-11-07 17:31:30 -06:00
Hakjoon Sim
41422c357e fix: open torrent dialog layout adjusted (#4063) 2022-11-01 09:14:15 -05:00
Derek Reiff
6187cfd67b Refresh web interface across desktop and mobile (#3985)
* Add macOS section to Web-Interface docs

- Add minimal steps to enable web interface on macOS
- Clean up README.md with some markdown linting.

* Updating and modernizing web interface, colors, icons

In general:

- increase spacing and decrease font sizes in most inspectors (so far)
- replace icons  with emoji. may not be the way to go in the end

* update toolbar icon sizes to adjust for differences

* Switch from icons to buttons, other minor color changes

1. Add 'warn' class to dangerous actions
2. Add 'table-row' helper to overflow menu
3. Use text instead of icons for this new tab style

* Update icons using feathericons.com

* Rename files, replace some SVG and optimize PNG

* Remove more unused variables

* Update index.html to reflect new icons

* More minor svg changes; delete old images

* Updated build output

* Remove icons, add new feather svg icons

Build is now sub-200 KB
2022-10-21 12:22:59 -05:00
A Cœur
4ea9c87fea fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
luzpaz
f8203148f0 fix: fix various user facing and non-user facing typos (#3743)
* fix: fix various user facing and non-user facing typos

Found via `odespell -q 3 -S ./third-party,*.po,*.ts -L filetest,inout`
2022-08-31 11:28:54 -05:00
Viacheslav Chimishuk
869741de7c Web client: fix broken state and labels filter. (#3311)
* Web client: fix broken state and labels filter.

* Web client: fix tracker filter.
2022-06-16 17:09:47 -05:00
Isabella Skořepová
1cae467acd add magnet link support to transmission web (#2874) 2022-05-23 23:55:33 -05:00
Charles Kerr
ebd1a0b7bf deps: update web client build deps (#3095)
* deps: change web build-dep from node-sass to sass

https://sass-lang.com/blog/libsass-is-deprecated and dart sass is the
recommended replacement.

* deps: yarn upgrade-interactive

* deps: update babel dep to 7.17

* deps: update eslint

* deps: update prettier

* deps: update svgo

* deps: update webpack to 5.72.1

* deps: update webpack-bundle-analyzer to 4.5.0

* deps: update webpack-cli to 4.9.2

* deps: update webpack-dev-server from 3.11.3 to 4.9.0

* deps: replace svgo, svgo-loader, url-loader with webpack asset/inline

* chore: rename "style" dir as "assets"

* deps: update stylelint from 13.13.1 to 14.8.2

* deps: bump terser-webpack-plugin from 5.1.4 to 5.3.1

* deps: bump css-loader from 5.2.7 to 6.7.1

* deps: bump css-minimizer-webpack-plugin from 3.0.2 to 3.4.1

* deps: bump mini-css-extract-plugin from 1.6.2 to 2.6.0
2022-05-15 20:49:25 -05:00
Charles Kerr
5df252d1e1 fix: calculate ratio as uploaded / sizeWhenDone (#2770) 2022-03-17 13:41:48 -05:00
Frank Aurich
cc7d1c5f01 Fix display of size values in web interface (#2703)
* Fix display of size values in web interface:

The web interface rounded large number values down using Math.floor(),
causing the web interface to display faulty torrent/download sizes.
A torrent of size 1,92 GB (915 pieces @ 2,1 MB) was shown as "1GB".
After about half the download was done, the UI showed "1GB of 1GB (55%)", which is rather irritating.

The fix removes the `Math.floor()` and adds fractions to the larger size values.
2022-02-24 13:27:32 -06:00
Charles Kerr
80ab910cbd feat: update built-in speed limit settings (#2697)
Fixes #2092.
2022-02-23 20:27:28 -06:00
Charles Kerr
8d5c900ee0 refactor: Qt, GTK, web client UI consistency 2022-02-21 08:34:59 -06:00
Stefan Talpalaru
7b377511a9 feat: default public trackers 2022-02-21 08:34:57 -06:00
Charles Kerr
f436d742a2 fixup! fix: sonarcloud code smells (#2623) (#2666)
fix oops in web client torrent filtering
2022-02-20 21:38:09 -06:00
Charles Kerr
d772824553 fix: sonarcloud code smells (#2623)
* fix: make variable a pointer-to-const

* fix: use init-statement to reduce variable scope

* fix: implicit conversion from long to int

* fix: refactor to not nest more than 3 if|for|do|while|switch statements

* fix: make tr_session::setSocketTos() const

* fix: use array.prototype.some instead of a for loop

* refactor: use nullptr instead of NULL

* fix: oops
2022-02-13 23:44:38 -06:00
Charles Kerr
9f050587d7 allow decimal values in seedRatioLimit input (#2618)
Co-authored-by: Jeff Fredrickson <jeff.fredrickson@gmail.com>
2022-02-13 09:58:59 -06:00
Charles Kerr
e14c7f38e5 feat: use libpsl (#2575)
Use libpsl to calculate public and private parts of URL hosts.
2022-02-12 11:30:27 -06:00
Charles Kerr
a87be3762f fix: rename 'corrupt' label for understandability (#2605)
Fixes #154. The current 'corrupt' label can confuse users to think that
there is corrupt data on the disk. The phrasing has been changed:

- Downloaded: 1.91 GB
- Corrupt DL: 22.02 MB

+ Downloaded: 1.91 GB (+22.02 MB discarded after failed checksum)
2022-02-11 01:15:10 -06:00
Charles Kerr
376e8b3782 feat: add 'ok' shortcut in web client open dialog (#2601) 2022-02-10 12:06:44 -06:00
Viacheslav Chimishuk
0973cfd96d Add labels support into web client. (#2596) 2022-02-10 09:25:11 -06:00
Charles Kerr
b5247662d9 Revert "Add labels support into web client. (#1406)"
This reverts commit ab02edfde2.
2022-02-09 22:17:09 -06:00
Viacheslav Chimishuk
ab02edfde2 Add labels support into web client. (#1406)
* Add labels support into web client.
2022-02-09 22:12:34 -06:00
Charles Kerr
afc41abbd3 fixup! [Web] Magnet link, Main window toolbar accessibility, ARM build fix, Dependencies update (#2586)
chore: code-style
2022-02-09 10:30:18 -06:00
FluxState
b11cf4ca00 [Web] Magnet link, Main window toolbar accessibility, ARM build fix, Dependencies update (#2586)
Add magnet link to web client's torrent inspector
2022-02-09 10:28:48 -06:00
Charles Kerr
ebb2ab6aee chore: update license spdx abbreviations (#2582)
Use SPDX license list 3.0 terminology: replace deprecated identifiers
GPL-2.0" and "GPL-3.0" with "GPL-3.0-only" and "GPL-3.0-only".
2022-02-07 10:25:02 -06:00
Viacheslav Chimishuk
f9d068d7a0 Fix broken Cancel and Rename buttons on RenameDialog. (#2577)
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-02-06 19:51:27 -06:00
Charles Kerr
4c36ba35bc fixup! web: preferences: incomplete-dir (#2183)
chore: code-style.sh
2022-01-26 22:31:57 -06:00