From b486f6fa0041d44f96b2eff83c4877e197355977 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 30 Sep 2022 08:46:41 -0500 Subject: Create CONTRIBUTING.md --- CONTRIBUTING.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..e3de8bdc --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,50 @@ +# Contributing + +When contributing to this repository, please first discuss the change you wish to make via issue, +email, or any other method with the owners of this repository before making a change. + +We don't maintain a Contributor License Agreement (CLA) but we do require that anyone that wishes to contribute agrees to the following: + +* You have the right to assign the copyright of your contribution. +* By making your contribution, you are giving up copyright of your contribution. + +This application is released under the [AGPL 3.0](https://github.com/slskd/slskd/blob/master/LICENSE) license, and no single individual or entity owns +or will ever own the copyright. + +## Contribution Workflow + +1. Assign yourself to the issue that you'll be working on. If you'd like to contribute something for which there is no + existing issue, consider creating one before you start so we can discuss. +1. Clone the repository and `git checkout master` to ensure you are on the master branch. +1. Create a new branch for your change with `git checkout -b ` be descriptive, but terse. +1. Make your changes. When finished, push your branch with `git push origin --set-upstream `. +1. Create a pull request to merge `` into `master`. +1. A maintainer will review your pull request and may make comments, ask questions, or request changes. When all + feedback has been addressed the pull request will be approved, and after all checks have passed it will be merged by + a maintainer, or you may merge it yourself if you have the necessary access. +1. Delete your branch, unless you plan to submit additional pull request from it. + +Note that we require that all branches are up to date with target branch prior to merging. If you see a message about this +on your pull request, use `git fetch` to retrieve the latest changes, `git merge origin/master` to merge the changes from master +into your local branch, then `git push` to update your branch. + +## Environment Setup + +You'll need [.NET 6.0](https://dotnet.microsoft.com/en-us/download) to build and run the back end (slskd), and you'll +need [Nodejs](https://nodejs.org/en/) to build and debug the front end (web). + +You're free to use whichever development tools you prefer. If you don't yet have a preference, we recommend the following: + +[Visual Studio Code](https://code.visualstudio.com/) for front or back end development. + +[Visual Studio](https://visualstudio.microsoft.com/downloads/) for back end development. + +## Debugging + +### Back End + +Run `./bin/watch` from the root of the repository. + +### Front End + +Run `./bin/watch --web` from the root of the directory. Make sure the back end is running first. -- cgit v1.2.3 From d5212208bf906db9288683fefb92460056297084 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 30 Sep 2022 09:35:09 -0500 Subject: Update README.md --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 4e411ccf..3a48887e 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,38 @@ A modern client-server application for the [Soulseek](https://www.slsknet.org/news/) file-sharing network. +## Features + +### Secure access + +slskd runs as a daemon or Docker container in your network (or in the cloud!) and is accessible from a web browser. It's designed to be exposed to the internet, and everything is secured with a token that [you can control](https://github.com/slskd/slskd/blob/master/docs/config.md#authentication). It also supports [reverse proxies](https://github.com/slskd/slskd/blob/master/docs/reverse_proxy.md), making it work well with other self-hosted tools. + +![image](https://user-images.githubusercontent.com/17145758/193290217-0e6d87f5-a547-4451-8d90-d554a902716c.png) + +### Search + +Search for things just like you're used to with the official Soulseek client. slskd makes it easy to enter multiple searches quickly. + +![image](https://user-images.githubusercontent.com/17145758/193286989-30bd524d-81b6-4721-bd72-e4438c2b7b69.png) + +### Results + +Sort and filter search results using the same filters you use today. Dismiss results you're not interested in, and download the ones you want in a couple of clicks. + +![image](https://user-images.githubusercontent.com/17145758/193288396-dc3cc83d-6d93-414a-93f6-cea0696ac245.png) + +### Downloads + +Monitor the speed and status of downloads, grouped by user and folder. Click the progress bar to fetch your place in queue, and use the selection tools to cancel, retry, or clear completed downloads. Use the controls at the top to quickly manage downloads by status. + +![image](https://user-images.githubusercontent.com/17145758/193289840-3aee153f-3656-4f15-b086-8b1ca25d38bb.png) + +### Pretty much everything else + +slskd can do almost everything the official Soulseek client can; browse user shares, join chat rooms, privately chat with other users. + +New features are added all the time! + ## Quick Start ### With Docker -- cgit v1.2.3 From 49d746718e48c1471a013d16d149d004da4f8652 Mon Sep 17 00:00:00 2001 From: skar07 Date: Sat, 1 Oct 2022 04:23:55 +0530 Subject: fix: padding-top for transfers-header-segment --- src/web/src/components/Transfers/Transfers.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/src/components/Transfers/Transfers.css b/src/web/src/components/Transfers/Transfers.css index 88f9e736..0b787f5f 100644 --- a/src/web/src/components/Transfers/Transfers.css +++ b/src/web/src/components/Transfers/Transfers.css @@ -1,13 +1,14 @@ .transfers-header-segment { margin-top: 15px !important; height: 78px !important; - padding-top: 20px !important; + padding-top: 14px !important; display: flex; } .transfers-segment-icon { padding-top: 5px; padding-right: 1em; + margin-top: 6px; } .transfers-header-action-button { -- cgit v1.2.3 From b6257c4ee81a95743e5b3d71c3186e1fc9dbdd9c Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 1 Oct 2022 11:25:47 -0500 Subject: filter directories as well as files --- src/slskd/Shares/SharedFileCache.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slskd/Shares/SharedFileCache.cs b/src/slskd/Shares/SharedFileCache.cs index a10202e2..67311ecd 100644 --- a/src/slskd/Shares/SharedFileCache.cs +++ b/src/slskd/Shares/SharedFileCache.cs @@ -216,12 +216,14 @@ namespace slskd.Shares { try { - return System.IO.Directory.GetDirectories(share.LocalPath, "*", new EnumerationOptions() + var directories = System.IO.Directory.GetDirectories(share.LocalPath, "*", new EnumerationOptions() { AttributesToSkip = FileAttributes.Hidden | FileAttributes.System, IgnoreInaccessible = true, RecurseSubdirectories = true, }); + + return directories.Where(directory => !filters.Any(filter => filter.IsMatch(directory))); } catch (Exception ex) { -- cgit v1.2.3