Changes in v2:
- sessionPath does not belong to torrentListPropMap. Don't use it.
- Instead, request sessionPath when we want to do file ops on torrents.
rTorrent does not have function to remove trackers from torrents
so we only disable existing tracker and insert the new one.
This leads to duplicate listings of trackers in "Trackers" and
"Filter by trackers". We can fix this later by only using enabled
trackers for "Filter by" and "Torrent Details".
Currently this feature only deals with the main tracker (index: 0).
Combined with "Filter by trackers", it is ideal for a bulk change
of tracker URL of private torrents due to a key leak or rotation.
In the future, we can probably make the feature more sophisticated.
This change uses the best-effort approach to update dependencies.
Changelogs of each dependency have been manually reviewed and all
dependency that doesn't *actually* have BREAKING changes or have
minimal changes are bumped to their latest versions.
In most cases, the maintainers of those dependencies don't actually
understand semvar and inappropriately bumped major version for trivial,
non-breaking changes. In other cases, the minimum supported Node version
is upgraded, which is indeed breaking but that's not a concern for this
project as a recent Node version is always expected. Or, the dependency
does have certain breaking changes but those changes are not relevant to
functions used by this project.
Also bumped versions of dependencies if only minimal changes are required:
* autoprefixer: transform from "browsers" property to browserslist
* prettier: reformated sources after update
Signed-off-by: Jesse Chan <jc@linux.com>
* Switch to airbnb's eslint
* Applies automatic fixes
* Clean up dependencies
* New lint rules
* Apply auto fixes
* Prettier
* Update prettier position in eslint config
* Aligns prettier and eslint
* Use partial configs for client and server directories
* Finalizes eslint config (for now)
* Applies all elsint fixes
* Removes duplciated config
* Fixes build & local dev
* Fix CI build