aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
AgeCommit message (Collapse)AuthorLines
2024-01-10Bump follow-redirects from 1.15.2 to 1.15.4 in /src/webdependabot[bot]-3/+3
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11add robots.txtJP Dillingham-0/+2
2023-10-19Bump @babel/traverse from 7.22.5 to 7.23.2 in /src/webdependabot[bot]-50/+122
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.5 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-27fix: missing semicolon, spacingPorter Averett-2/+2
2023-09-25fix: transfer size column is too narrowPorter Averett-19/+21
2023-08-06preserve selection when fetching directory contentsJP Dillingham-8/+15
2023-07-25respect remote file management option in UIJP Dillingham-26/+29
2023-07-25fix up dependenciesJP Dillingham-81/+110
2023-07-24column widthsJP Dillingham-7/+19
2023-07-24display empty rowJP Dillingham-3/+14
2023-07-24use header for working dirJP Dillingham-3/+3
2023-07-23implement deletesJP Dillingham-27/+84
2023-07-23fix font for directory displayJP Dillingham-2/+6
2023-07-23remove tab trackingJP Dillingham-10/+3
2023-07-23add delete functionsJP Dillingham-0/+14
2023-07-23reduce message paddingJP Dillingham-0/+4
2023-07-22add file tableJP Dillingham-9/+53
2023-07-22track active tabJP Dillingham-3/+11
2023-07-22add Files.cssJP Dillingham-0/+3
2023-07-22add formatDateJP Dillingham-0/+4
2023-07-22Merge remote-tracking branch 'origin/master' into view-filesJP Dillingham-98/+80
2023-07-19Bump word-wrap from 1.2.3 to 1.2.4 in /src/webdependabot[bot]-3/+3
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-16make searches table unstackablexyhhx-2/+2
2023-07-16set sticky headerxyhhx-2/+10
2023-07-16fix search input css on mobilexyhhx-0/+5
2023-07-08Bump tough-cookie and @microsoft/signalr in /src/webdependabot[bot]-88/+57
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) to 4.1.3 and updates ancestor dependency [@microsoft/signalr](https://github.com/dotnet/aspnetcore). These dependencies need to be updated together. Updates `tough-cookie` from 2.5.0 to 4.1.3 - [Release notes](https://github.com/salesforce/tough-cookie/releases) - [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md) - [Commits](https://github.com/salesforce/tough-cookie/compare/v2.5.0...v4.1.3) Updates `@microsoft/signalr` from 5.0.17 to 7.0.7 - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.17...v7.0.7) --- updated-dependencies: - dependency-name: tough-cookie dependency-type: indirect - dependency-name: "@microsoft/signalr" dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06coalesce serverJP Dillingham-1/+1
2023-07-06default server to an empty objectJP Dillingham-1/+1
2023-06-30rough in file displayJP Dillingham-13/+58
2023-06-29add tabsJP Dillingham-2/+15
2023-06-29add trailing commasJP Dillingham-2/+2
2023-06-27fix alignment of 'no shares configured' messageJP Dillingham-1/+1
2023-06-27stub files tabJP Dillingham-1/+27
2023-06-11pin craco to resolve conflicting depsJP Dillingham-1/+2
2023-06-11update depsJP Dillingham-15530/+3507
2023-06-11override css-what per https://github.com/advisories/GHSA-q8pj-2vqx-8ggcJP Dillingham-0/+1
2023-06-11override css select per https://github.com/advisories/GHSA-rp65-9cf3-cjxrJP Dillingham-0/+1
2023-03-15Bump webpack from 5.73.0 to 5.76.1 in /src/webdependabot[bot]-18/+18
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>
2023-03-03Bump dns-packet from 5.3.1 to 5.4.0 in /src/webdependabot[bot]-6/+6
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>
2023-02-19Trying to speed up the performance of the Browse tab.Matt Goldspink-16/+34
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
2023-02-03Merge branch 'feature/dark-mode' of github.com:mattgoldspink/slskd into ↵Matt Goldspink-44/+42
feature/dark-mode
2023-02-03Fixing things based on feedback on previous PR.Matt Goldspink-35/+122
- 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.
2023-02-03Merge branch 'slskd:master' into feature/dark-modeMatt Goldspink-44/+42
2023-01-30Merge branch 'master' into portJP Dillingham-43/+40
2023-01-29wrap each set of routes in a SwitchJP Dillingham-39/+38
2023-01-29revert back to catch-allJP Dillingham-5/+1
2023-01-28disable lint ruleJP Dillingham-0/+1
2023-01-28tweak route matching regexJP Dillingham-1/+1
2023-01-23Merge branch 'master' into feature/fix-reload-to-stay-on-current-searchJP Dillingham-3/+1
2023-01-23Fixing #555 to allow browser reload to stay on the same page.Matt Goldspink-2/+5
There were 2 issues here: 1. The Redirect in App.js seems to be being hit on reload always and would always force a redirect. I tried googling but couldn't find a good answer why and how to workaround it, so I've just excluded our known paths from that redirect. 2. Even after this in Searches.js there's a race condition with the component being connected and starting to process the searchId, but the searches haven't been set yet, so it assumes it's invalid and resets to /searches. So I've swapped the order in onUpdate and that seems to fix it with no side effects.