Commit Graph

708 Commits

Author SHA1 Message Date
Hakjoon Sim e44a08278b
fix: inspector icon should be disabled as default (#4093) 2022-11-07 17:31:30 -06:00
Hakjoon Sim d0ab112622
fix: some style edited for chrome (#4095)
Thanks!
2022-11-05 00:05:23 -05:00
Hakjoon Sim f116407941
fix: chrome needs vendor prefix(-webkit-) for mask (#4056) 2022-11-03 23:01:17 -05:00
Hakjoon Sim 41422c357e
fix: open torrent dialog layout adjusted (#4063) 2022-11-01 09:14:15 -05:00
Hakjoon Sim 745c884774
chore: get rid of webpack error while creating source map (#4058) 2022-10-31 16:14:01 -05:00
Charles Kerr 72ab5a85be
build: update the web client build deps (#4059)
chore: rebuild transmission-app.js with new deps
2022-10-31 14:20:11 -05:00
Derek Reiff be4a44292e
build: update CMakeLists to reflect recent assets/ changes (#4013) 2022-10-24 10:14:42 -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
Dachtire 6f0d520daf
web: fix deps dir in CMakeLists.txt (#3736) 2022-08-31 09:31:29 -05:00
Charles Kerr 01df5e9f92
chore: update web client build-dependencies (#3526) 2022-07-26 11:23:53 -05:00
dependabot[bot] 3f5b439fcc
build(deps): bump terser from 5.13.1 to 5.14.2 in /web (#3496)
Bumps [terser](https://github.com/terser/terser) from 5.13.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 17:26:44 -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
Gary Elshaw 0ce8777d1f
MacOS Transmission icons for Web (#3130) 2022-05-25 10:46:13 -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
dependabot[bot] 81ef0de2f4
build(deps): bump async from 2.6.3 to 2.6.4 in /web (#3023)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 17:52:53 -05:00
dependabot[bot] 3ddf76b560
build(deps): bump minimist from 1.2.5 to 1.2.6 in /web (#2831)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-03-28 08:10:46 -05:00
Charles Kerr 5df252d1e1
fix: calculate ratio as uploaded / sizeWhenDone (#2770) 2022-03-17 13:41:48 -05:00
dependabot[bot] e3d1a251d8
build(deps): bump url-parse from 1.5.4 to 1.5.10 in /web (#2718)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.4 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.4...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 06:15:32 -08: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 708fc1531e
feat: web client style (#2609)
* fix(web): border-radius added to mainwin-toolbar icons

* fix(web): --color-fg-on-popup added for font visibility when dark mode

* chore(web): add .gitattributes

Since transmission-app.js is a generated file,
should be treated as a binary to avoid conflict.

* chore: rebuild transmission-app.js

Co-authored-by: trainto <trainto@gmail.com>
2022-02-11 18:32:20 -06:00
dependabot[bot] 63fafada16
build(deps-dev): bump node-sass from 6.0.1 to 7.0.0 in /web (#2604)
Bumps [node-sass](https://github.com/sass/node-sass) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: node-sass
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-02-11 03:19:00 -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 663fba71c2
fix: deprecated sass division warning (#2595)
Fix "deprecation Warning: Using / for division outside of calc() is
deprecated and will be removed in Dart Sass 2.0.0."
2022-02-09 23:38:55 -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
Mark Deepwell 71fd56000d
Fix webpack start dev server (#2579)
- Use webpack instead of webpack-dev-server (which is no longer
  maintained)
- The webpack -d option requires as string (which is missing) and
  is specified in the config file, therefore use devtool option
  from webpack.config.js
2022-02-07 06:54:33 -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
Tomáš Kelemen ef198858b1
web: preferences: incomplete-dir (#2183)
* web: preferences: incomplete-dir

This minor change adds an option to enable/disable/set the folder for
downloads in progress via the web interface preferences dialog.
2022-01-26 22:31:02 -06:00
dependabot[bot] bda754bbeb
build(deps): bump nanoid from 3.1.23 to 3.2.0 in /web (#2473)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-01-23 08:39:53 -06:00
Charles Kerr df1cca9b57
chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
dependabot[bot] 546fefbd9c
build(deps): bump follow-redirects from 1.13.0 to 1.14.7 in /web (#2395)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-01-18 01:14:03 -06:00
Charles Kerr 0583cca414
chore: update caniuse in web client (#2258)
This silences a yarn warning about caniuse being out-of-date
2021-12-01 14:22:11 -06:00
Tomáš Kelemen d3231ccf7d
web: preferences: add option to alter the download queue (#2071)
This minor change adds an option to modify the download queue size and
enable/disable the download queue via web interface.

Co-authored-by: Charles Kerr <charles@charleskerr.com>
2021-11-15 10:20:07 -06:00
Frank Aurich c42e05b42f
Fix: When removing one or more selected torrents without deleting their data, make sure to only send torrentIds, not full torrent objects, via RPC (#2040)
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
2021-10-25 17:24:20 -05:00