| Age | Commit message (Collapse) | Author | Lines |
|
Update web dependencies
|
|
|
|
|
|
|
|
|
|
Revert "add x86 and freebsd runtime targets"
|
|
This reverts commit bbebac7c03e110fa507342fce88a4b323556e222.
|
|
Add x86 and freebsd runtime targets
|
|
|
|
|
|
Document reverse proxy config for Apache and IIS
|
|
|
|
|
|
|
|
Base 64 encode the `X-Relay-Filename` header
|
|
|
|
|
|
Use `instance_name` from Relay Agent config instead of map key
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
slskd/dependabot/npm_and_yarn/src/web/webpack-5.76.1
Bump webpack from 5.73.0 to 5.76.1 in /src/web
|
|
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.76.1)
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
slskd/dependabot/npm_and_yarn/src/web/dns-packet-5.4.0
Bump dns-packet from 5.3.1 to 5.4.0 in /src/web
|
|
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v5.3.1...5.4.0)
---
updated-dependencies:
- dependency-name: dns-packet
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Trying to speed up the performance of the Browse tab.
|
|
It looks like there's a couple of issues with the current implementation which shows in Performance tab in Chrome:
1) getChildDirectories and in particular the split function. When you look at the code we're doing 3 filters on a reduced array each time, but always starting with the full list of directories. So for every child directory we iterate once over the entire array of all directories to remove 1 item, then for n-1 items we split them, then we find the ones who start with the parent path name. This is very inefficient.
To fix this I added one first iteration that will split the names on them all once and use that depth as a key into a Map and store an Array of the items at that depth. We could possibly go one step further and iterate the array store the d.name split on the last index of the seperator as a key to speed this up? But the new version is already orders of magnitude faster
2) The compression on saveState into localStorage is slow and blocking the UI thread. Given that the saveState doesn't affect the actual state in the component or whats rendered I've moved it out of the current tick of rendering and shifted it in most browsers to be done when the screen is idle (i.e. user is not doing anything). Or in the case of Safari falling back to the next tick.
This dropped render time for on one user with 6000+ directories from 1 minute to around 15s, of which a large chunk is the server calls.
Fixes #317
|
|
Move .NET bundle extraction location to /.net, set proper permissions
|
|
|
|
Move dotnet bundle location within the Docker container to /slskd
|
|
|
|
Fix versioning in docker
|
|
|
|
Adding dark mode support.
|
|
|
|
Improve setup docs
|
|
|
|
|
|
This reverts commit 02364ac34c7ebabbb348a0806a36f6bc2153a609, reversing
changes made to 3162a3f7964e924372a7744f4ce02951894dfe38.
|
|
feature/dark-mode
|
|
- Added a new menu item to the header to toggle the theme. The default is still the OS but it can be turned on or off. For now this is not controlled from the user Options. I'll look to see if we can do that, and make sure we honor precedence.
- The above required me to shift the prefered media detection into App.js from CodeEditor.js and now I pass theme down through the components to reach it.
- Fixed styling of DirectoryTree - had to move styles hardcoded into component into css
- Fixed gaps in styling of logs so that different rows are color coded correctly.
|