TRANSFER_SUMMARY_DIFF_CHANGE is almost always full update:
```
[
{"op":"replace","path":"/downTotal","value":851320719382},
{"op":"replace","path":"/downRate","value":6139},
{"op":"replace","path":"/upTotal","value":1826972572184},
{"op":"replace","path":"/upRate","value":5480521}
]
```
which is generally less efficient than full object (TRANSFER_SUMMARY_FULL_UPDATE):
```
{
"upRate":5430724,
"upTotal":1827320521117,
"downRate":6062,
"downTotal":851321106383
}
```
Unhandled Promise rejections are strictly prohibited and will
lead to NodeJS process termination in the future Node release.
This change also fixes some logics.
Flood instances should not be accessible to other sites.
This change prevents malicious sites from using resources of
a Flood instance and hijacking the browser to submit malicious
requests to Flood.
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>
* Show disk usage in sidebar (#308)
* Clean up
* Fix linting, DiskUsageService as singleton
* node 8
* missing scope
* prettier
* Tooltip prefer top position
* tweaky
* Configure diskUsageSerivce.watchMountPoints option
- filters mountpoints to include in the sidebar
- omitting this field gives all mounted filesystems
* use connectStores
* activity stream unsubscribe from events on res 'close' event
* remove nbsp; use css
* prettier format
* Return empty array on win32 and darwin platforms
* Use 1K blocks, add (untested) macos support
* prettier
* config.template typo
* rename var fs -> mountpoint
* Filter wrong output, use df -l in macos
- macos df return map -hosts and map auto_home in the first column
which breaks splitting in awk. They are anyway not real
* Changed my mind about filter. just -l
* Apply jfurrow's patch
* Remove unnecessary defaultProp
* Use FormattedMessage
* Fix formatting
* 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
* 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