* 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
- 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
* 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
* 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
* 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
* 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.
* 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
* 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>
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)