Commit Graph

212 Commits

Author SHA1 Message Date
Jesse Chan
a5171c7111 flood: bump version to 3.1.0
Signed-off-by: Jesse Chan <jc@linux.com>
2020-09-04 14:39:23 +08:00
Jesse Chan
a2063a234b dependencies: bump (major)
It seems that none of the breaking changes is relevant to us.
2020-09-02 20:34:07 +08:00
Jesse Chan
82e556db43 dependencies: "npm update" (minor) 2020-09-02 20:18:20 +08:00
Jesse Chan
10b75b4f74 Filesystem: migrate from ospath.home() to os.homedir() 2020-08-26 22:09:41 +08:00
Jesse Chan
03e9ab5b45 flood: move to unscoped "flood" package
It is available so let's use it.
2020-08-26 13:46:00 +08:00
Jesse Chan
d720701300 flood: bump version to 3.0.0 2020-08-25 21:53:27 +08:00
Jesse Chan
f2531e3014 flood: configure for publish 2020-08-23 19:51:10 +08:00
Jesse Chan
c09b11e933 config.cli: add a command line config interface 2020-08-23 19:51:07 +08:00
Jesse Chan
9009beeae1 i18n: precompile strings to AST 2020-08-14 20:33:32 +08:00
Jesse Chan
6e1ea0a09d dependencies: "npm update" (minor) 2020-08-14 17:53:35 +08:00
Jesse Chan
24dff9a057 client: import flood-ui-kit
flood-ui-kit is highly tied to flood and no other project uses
it for now. It doesn't worth the effort to maintain it in a
separate package.

This allows us to more easily tweak the UI and sync the changes.

Repo: jfurrow/flood-ui-kit
Revision: 42d472085d127e58602595921c6279106c41fc7d
Signed-off-by: Jesse Chan <jc@linux.com>
2020-08-13 21:29:52 +08:00
Jesse Chan
916f2e51e8 removeTorrents: migrate from rimraf to rmdir(recursive) 2020-08-13 21:07:14 +08:00
Jesse Chan
6f42124d1f SortableList: enable drag and drop for touch devices 2020-08-13 16:14:15 +08:00
Jesse Chan
050d86752e dependencies: "npm update" (patch) 2020-08-13 16:02:47 +08:00
Jesse Chan
1f6197c80d dependencies: bump eslint and co. (major) 2020-08-13 15:57:06 +08:00
Jesse Chan
78452981ec dependencies: bump react-dnd to 11.1.3 (major) 2020-08-13 14:33:53 +08:00
Jesse Chan
ffbf8e2e17 dependencies: bump react-dropzone to 11.0.2 (major) 2020-08-13 01:15:03 +08:00
Jesse Chan
0a146b5d91 dependencies: bump joi to 17.2.0 (major) 2020-08-12 20:56:07 +08:00
Jesse Chan
5c40fb4a4c dependencies: bump d3 to 5.16.0 (major) 2020-08-12 20:56:04 +08:00
Jesse Chan
a8dfd4422a dependencies: "npm update" (patch) 2020-08-12 20:01:54 +08:00
Jesse Chan
cdbcebadf6 dependencies: bump react-intl to 5.4.7 (major) 2020-08-12 19:58:50 +08:00
Jesse Chan
672b78783a i18n: automatically detect user's language 2020-08-11 19:42:21 +08:00
Jesse Chan
1a1aa9378f flood: bump version to 2.0.0
Signed-off-by: Jesse Chan <jc@linux.com>
2020-08-05 20:45:53 +08:00
bramoo
1ab3fa404e sidebar: Update scale of rate graph when width changes
Bug: Flood-UI/flood#851
Cherry-Pick: Flood-UI/flood#864
Signed-off-by: Jesse Chan <jc@linux.com>
2020-08-05 16:37:48 +08:00
Jesse Chan
39b4430904 Migrate from mkdirp to fs.mkdir(recursive)
Signed-off-by: Jesse Chan <jc@linux.com>
2020-08-04 16:17:01 +08:00
Jesse Chan
c7f69407dd TorrentPeers: Simplify peer geo flag handling
Signed-off-by: Jesse Chan <jc@linux.com>
2020-08-04 16:16:42 +08:00
Jesse Chan
4ea381049a Update dependencies (non-breaking)
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>
2020-08-04 03:16:44 +08:00
Jesse Chan
e4825da8f3 Cleanup and safely update dependencies
Clearly it is not the best practice to leave thousands
of security vulnerabilities in the wild, especially
when there are two "critical" ones with "Remote Arbitrary
Code Execution" capability.

This change updates dependencies safely and fixes
all vulnerabilities above "low" severity.

test.js and its dependencies are removed as there is
no test and it seems that there will never be one. It
can be added back later if tests *are* implemented.

All functions in "npm run" are tested. At the first glance,
there is no issue.

Signed-off-by: Jesse Chan <jc@linux.com>
2020-08-04 03:16:34 +08:00
John Furrow
9e06b5c3b2 Replaces deprecated methods 2019-11-23 21:14:03 -08:00
John Furrow
f8c3e34a97 Implements react-transition-group 2019-11-23 17:12:06 -08:00
John Furrow
cfda5cef67 Fixes lint warnings 2019-11-22 23:13:25 -08:00
John Furrow
92404918a0 Introduce Typescript & CSS Modules (#815)
* Adding typescript support

* Begins configuring webpack builds

* Fix lint warnings

* Updates react-router

* Fixes lint configuration

* Adds missing dependency

* Restores disabled performance hints

* Renames connectStores

* Types connectStores

* Uses correct envvars and fixes missing EOF newline

* Formats files

* Defaults props to empty object

* Ignores type definitions in eslint

* Another newline

* Adjusts script invocation

* Ignore jsdoc output

* Undoes the autoformatting of CSS module types

* Improves lint rules

* Finishes webpack config changes

* Updates deps

* Fixes lint errors and attempts to fix SVG icon generator

* Fixes SVG sprite generator

* Adds type for SVG imports

* Explicitly use babelrc in SVG loader

* Formats files

* Refactors prettier formatter, formats CSS module type defs

* Updates style types

* Uses nicer syntax in typed-css-modules-loader

* Removes unnecessary div

* optional property in package.json

* package-lock

* Fixes upstream lint errors

* Removes unused modules
2019-11-22 22:47:09 -08:00
Emory Petermann
79fb000b34 📺 patch updates (#834) 2019-09-25 21:41:34 -07:00
damolp
06089c46a0 Lower Memory Footprint (#818)
* Use GeoIP-Country for less memory usage

* memory fixes

- force strict mode
- use end instead of write
2019-07-27 12:13:36 -07:00
damolp
ccf4688468 Use Saxen for Deserializing XML-RPC (#797)
* Use Saxen for Deserializing XML-RPC

Gives a nice performance boost

* Fix missing i4. seems to be used on stop/start

* Formatting Fixes
2019-05-29 22:02:22 -07:00
John Furrow
eefeb4e3c1 Updates css-loader and removes dead option. Fixes #805 2019-05-29 19:55:25 -07:00
John Furrow
eb537396d0 Actually fix react-error-overlay 2019-05-03 19:14:12 -07:00
John Furrow
a35e7f2280 Fixes react-overlay 2019-05-02 23:43:06 -07:00
John Furrow
dbedc6c7a5 Improves eslint rules (#785)
* 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
2019-05-02 22:21:47 -07:00
John Furrow
61b63e9b54 Update repository URLs (#780) 2019-04-26 18:54:12 -07:00
Ben Sampson
5065ab2f89 add about tab to settings modal (#727)
* add about tab to settings modal

* fix build

* downgrade markdown package

clean up code matching other classes

* fix build

* use axios instead of fetch
2019-04-24 21:45:13 -07:00
Alexandre ZANNI
aa1f51f2e1 update node-sass (#768)
* update node-sass

fix #533

* Update package-lock.json
2019-03-17 14:41:03 -07:00
Avamander
1398bcaa6f Update package.json
Fixed formatting
2019-01-24 03:16:59 +02:00
Avamander
8a209436c5 Update package.json
Added license and repository location
2019-01-24 03:15:32 +02:00
James Harris
3368f84704 fix: replace geoip-country-only with geoip-lite (#754) 2019-01-03 20:21:32 -08:00
John Furrow
4db2dc4b42 run npm update/npm audit fix (#745) 2018-12-01 17:20:56 -08:00
Ben Gadbois
a6771ee063 Upgrade react-dev-utils for security (#736) 2018-10-28 01:18:16 -07:00
zawapete
f6490b7e76 User management: disable Authentication tab content for non admin users (#718)
* User management: first commit

* User management: remove wrong setState

* User management: remove debug log

* lint

* format

* cr fixes

* refactor from services to middleware

* remove userService.js
2018-09-29 01:34:40 -07:00
Ben Gadbois
2f849f63c0 Remove unused dependencies from package.json 2018-09-03 20:01:04 +02:00
John Furrow
4346c0d6b5 Applies eslint rules (#702) 2018-09-02 21:19:43 -07:00