Commit Graph

833 Commits

Author SHA1 Message Date
Yat Ho 8234fe39d2
perf: do not call `session-set` in `session-get` callback (#5994) 2023-09-12 16:03:08 -05:00
github-actions[bot] 1d1ad6568d
chore: update generated transmission-web files (#5975) 2023-09-04 22:10:34 -05:00
Rukario f0009a8373
feat: updated colors and label/button styles (#5897) 2023-09-04 22:05:16 -05:00
Rukario 29550f73b0
feat: improve responsiveness of UI 2023-09-01 17:52:17 -05:00
Rukario 45d9e37b2b
feat: Improved filterbar for narrowed viewports (#5828) 2023-09-01 16:28:16 -05:00
github-actions[bot] 5190db57d9
chore: update generated transmission-web files (#5931)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-08-21 15:50:08 -05:00
Rukario ce1297b775
feat: add keyboard shortcut for editing labels
Notes: Added keyboard shortcut for editing labels.
2023-08-21 15:09:07 -05:00
github-actions[bot] 930c33a8cd
chore: update generated transmission-web files (#5925)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-08-20 22:14:49 -05:00
Rukario c5f5911fb9
fix: overflow-menu and context-menu positioning for small viewports (#5827) 2023-08-20 21:34:05 -05:00
github-actions[bot] 5f9deb3d33
chore: update generated transmission-web files (#5902) 2023-08-14 16:47:02 -05:00
Gary Elshaw 916534a687
ui: make web ui's progressbar colors closer to macOS client 2023-08-14 16:02:24 -05:00
github-actions[bot] b8bf6cb89f
chore: update generated transmission-web files (#5898) 2023-08-13 22:03:55 -05:00
Rukario 629f7cb86f
fix: greying out of inspector in webui (#5893) 2023-08-13 20:53:58 -05:00
github-actions[bot] 8b801a276f
chore: update generated transmission-web files (#5831)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-07-28 14:13:15 -05:00
Derek Reiff e5b43991bc
Add readme with light setup instructions; minor UI tweaks (#5814)
* Add readme with light setup instructions; tweak ui

These are very minor changes that cover a few issues:

- WebUI Peer list too narrow #4209

On very small screens (for-phone-only), we modify width on some fields for less overlap. But we also truncate using `text-overflow: ellipsis` and `overflow-x: hidden`.

- properly style up/down speed icons

Moved SVG contents into index.html so we can make these style changes based on the `prefers-color-scheme` media query.

I also set a min-width, text-align: right on the download/upload label so they aren't shifting when going from 1 kB/s to 800 Mb/s.

- Add README for `web` directory

It made sense to add some super simple getting-started instructions for the directory.

- Limit input width in Add dialog of Web #5639

Add a width to the open-torrent file input, but also increase the modal dialog container size.

* Add bookmarklet for anonymizing screenshots

I see a lot of blurring going on in screenshots for issues and PRs, so this is a quick little bookmarklet trick to add lorem ipsum text to torrent-names.
2023-07-28 12:50:45 -05:00
github-actions[bot] 4ea49912e7
chore: update generated transmission-web files (#5790) 2023-07-14 19:38:07 -05:00
Charles Kerr 1acfca9c3a
build: bump web client dev-dependencies (#5789) 2023-07-14 19:26:48 -05:00
github-actions[bot] 75dad7031c
chore: update generated transmission-web files (#5775) 2023-07-12 23:02:03 -05:00
Gary Elshaw b0e2f52784
fix: web ui start/pause button icon size (#5771) 2023-07-12 22:43:47 -05:00
github-actions[bot] 1664088ba5
chore: update generated transmission-web files (#5588) 2023-06-18 15:55:43 -05:00
Charles Kerr 0ef58c2a20
chore: improve lossless compression of png files (#5586) 2023-06-05 17:03:11 -05:00
github-actions[bot] 35fc9e7bbe
chore: update generated transmission-web files (#5478) 2023-04-29 14:32:19 -05:00
klevain 908e8a551e
feat: add high-contrast theme to web ui (#5470) 2023-04-29 11:26:37 -05:00
Safouane Aarab ccbb362fe5
refactor: edit style and increase spacing (#5466) 2023-04-29 10:36:21 -05:00
github-actions[bot] c2002c9481
chore: update generated transmission-web files (#5463) 2023-04-27 00:07:55 -05:00
Charles Kerr 349a906f3b
fix: null tier name in inspector list (#5462) 2023-04-26 23:27:17 -05:00
github-actions[bot] 1cb41d51ae
chore: update generated transmission-web files (#5408) 2023-04-19 21:16:44 -05:00
Ananthu d4e500245b
feat: removed modifiers for keyboard shortcuts (#5331) 2023-04-17 14:18:23 -05:00
github-actions[bot] 6b230e753b
chore: update generated transmission-web files (#5397) 2023-04-15 17:55:29 -05:00
Derek Reiff 60d4bedf33
feat: add drag-and-drop in web interface (#5082) 2023-04-15 15:45:57 -05:00
github-actions[bot] b45b5fbc8c
chore: update generated transmission-web files (#5387)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-04-13 12:06:26 -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
github-actions[bot] 1b8a1ea64a
chore: update generated transmission-web files (#5254) 2023-03-21 17:36:07 -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
github-actions[bot] 1ecbb78ac1
chore: update generated transmission-web files (#5229) 2023-03-15 11:45:23 -05:00
tearfur e527cd4e9b
fix: remove extra checkbox from webui peers preferences (#5223) 2023-03-15 10:46:28 -05:00
dependabot[bot] 02fea61145
deps: bump webpack from 5.75.0 to 5.76.0 in /web (#5228) 2023-03-15 10:05:57 -05:00
github-actions[bot] 5f9491a02f
chore: update generated transmission-web files (#5159) 2023-03-05 15:43:07 -06:00
Derek Reiff 811b2aa4c5
fix: regression (leech percentage) from earlier progress-indicator work (#5114)
* fix: restore client-level progress indicators

This was a regression that I missed from last year.
The web client now uses the same progress indicators from the client,
and also slightly changes the color based on light/dark mode.

https://github.com/transmission/transmission/issues/4303

* fix: restore leech percentage state

I found a few more statuses that I missed that didn’t match native client UI:
- queued
- paused queued
- paused leech
- paused magnet
- dark mode variants
- verify percentage and color

Plus, reduce brightness of some colors in light mode.
2023-03-05 15:38:05 -06:00
wsy2220 586e01c2aa
fix: selected torrent row color in dark mode (#5151) 2023-03-05 12:21:22 -06:00
github-actions[bot] e9eb70b50f
chore: update generated transmission-web files (#5089) 2023-02-27 17:28:42 -06:00
Derek Reiff 451dd952f8
fix: restore client-level progress indicators (#5083) 2023-02-27 17:16:45 -06:00
github-actions[bot] 63f47691e8
chore: update generated transmission-web files (#5061) 2023-02-26 01:10:18 -06:00
Helmut K. C. Tessarek 0d355806ac
fix: change alt to control for shortcuts (#5054) 2023-02-25 23:37:50 -06:00
github-actions[bot] a42e81efd9
chore: update generated transmission-web files (#5036)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-02-24 18:37:01 -06:00
Charles Kerr 8e3a09ff94
fix: alt speed schedule not saved in web ui (#5033) 2023-02-24 16:09:50 -06:00
github-actions[bot] bc34f77624
chore: update generated transmission-web files (#5002) 2023-02-22 20:11:29 -06:00
Charles Kerr 9d310b3a4d
fix: padding in overflow menu (#5001) 2023-02-22 18:31:24 -06:00
github-actions[bot] ab88926f87
chore: update generated transmission-web files (#4993) 2023-02-22 07:54:42 -06:00
Gary Elshaw 4a83657a4a
fix: make context menu highlighted row readable in dark mode (#4984) 2023-02-22 06:48:07 -06:00
Thomas Weißschuh 8f8bcf720a
ci: add option to disable installation of web assets (#4906)
Fixes #4864
2023-02-22 06:25:50 -06:00
github-actions[bot] 671f835228
chore: update generated transmission-web files (#4941) 2023-02-18 16:48:41 -06:00
Òscar Casajuana 7350339ebc
fix: searching labels that contain spaces or hyphens (#4932) 2023-02-18 16:44:26 -06:00
Thomas Weißschuh 05dded12a0
build: install rebuilt web if available (#4865) 2023-02-13 10:52:53 -06:00
github-actions[bot] e2a31f37f7
chore: update generated transmission-web files (#4841) 2023-02-11 15:56:11 -06:00
Charles Kerr e60b1516c6
fix: incorrect debounce arguments (#4839)
Fixes #4830.
2023-02-11 15:37:43 -06:00
github-actions[bot] fa17414181
chore: update generated transmission-web files (#4836) 2023-02-11 15:27:58 -06:00
Julien 4b8cfa2e57
chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
github-actions[bot] 3c11b36bc3
chore: update generated transmission-web files (#4707)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-02-02 09:19:13 -06:00
wsy2220 bcc1d868a1
fix: webui filter selection on mobile (#4684) 2023-02-02 01:34:10 -06:00
github-actions[bot] f2363fecdc
chore: update generated transmission-web files (#4664) 2023-01-25 16:00:51 -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 b055b98d0f
build: minor ci cleanup (#4652)
* chore: show js webpack stats when building

* chore: use npm ci for code_style to avoid overwriting package-lock.json

* chore: add brew-update to macos ci

* remove webpack-dev-server from deps
2023-01-24 01:02:48 -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
dependabot[bot] bc4acc6814
build(deps): bump json5 from 2.2.1 to 2.2.3 in /web (#4560)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 14:39:48 -06:00
Charles Kerr c95891ec60
chore: manually rebuild web client (#4531)
This needs to be done manually as a prerelease task until
https://github.com/transmission/transmission/issues/4060 is fixed.
2023-01-03 23:06:45 -06:00
Mike Gelfand bc380511db
Modernize CMake code (ongoing refactoring) (#4507)
* Reformat CMake code

* Bump minimum CMake version to 3.12

* Add target sources separately via `target_source()`

* Make `tr_win32_app_info()` add target sources on its own

* Don't use `include_directories()`

* Don't use `add_definitions()`

* Limit use of `add_compile_options()`

* Move VDKQueue target declaration to a subdirectory

* Add `tr_disable_source_files_compile()` helper

* Add `tr_target_glib_resources()` helper

* Add `tr_gettext_msgfmt()` helper

* Enable AUTOUIC for Qt client

* Enable AUTORCC for Qt client

* Remove AUTO{MOC,RCC,UIC} source group overrides

* Add `tr_target_idl_files()` helper

* Move source group setup to `tr_qt_add_translation()`

* Add `tr_target_xib_files()` helper

* Prefer `target_sources()` to intermediate variables

* Use explicit visibility versions of `target_*()` commands

* Prefer genexes to conditions in `target_*()` commands

* Add `tr_allow_compile_if()` helper

* Leave only top-level `project()`, remove the rest

* Minor fixups

* Fixup Mac QL plugin install

* Fixup IDE target folders and source groups
2023-01-01 19:49:48 +00:00
dependabot[bot] 62cad53df8
build(deps): bump loader-utils from 2.0.3 to 2.0.4 in /web (#4212)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 22:32:38 -06:00
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