Skip to content

Commit

Permalink
✨ Hide libraries from target user(s) (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronleopold authored Feb 19, 2024
1 parent 1a5e0d4 commit b3f7d16
Show file tree
Hide file tree
Showing 183 changed files with 6,659 additions and 1,915 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// TODO: Update this config... https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/
// TODO: Please I already forgot :sob:
module.exports = {
env: {
browser: true,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
jobs:
nightly-docker-build:
name: Build docker image
runs-on: [self-hosted]
runs-on: [ubuntu-22.04]
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# OS
.DS_Store

# Logs
logs/
!packages/browser/**/logs/
*.log

# Cache
.eslintcache
.idea
.npm
Expand All @@ -15,7 +12,6 @@ logs/
!.vscode/extensions.json
!.vscode/*.todo

# Directories
build/
coverage/
cjs/
Expand All @@ -33,14 +29,12 @@ target/
.netlify
.vercel

# Custom
*.min.js
*.map
*.tsbuildinfo
.env
docker-compose.yaml

# rust
core/integration-tests/.*
core/integration-tests/*libraries*
static
Expand Down
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Files
generated.ts
*-lock.*

# Directories
node_modules
target
dist
build
.next
.expo

packages/browser/src/i18n/locales/*.json

Expand Down
30 changes: 1 addition & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ Stump is a free and open source comics, manga and digital book server with OPDS
- [Docs](#docs)
- [Packages](#packages)
- [Similar Projects 👯](#similar-projects-)
- [License 📝](#license-)
</details>

> **🚧 Disclaimer 🚧**: Stump is under active development and is an ongoing **WIP**. Anyone is welcome to try it out, but **DO NOT** expect a fully featured or bug-free experience. I will likely flatten the migrations immediately prior to the `0.1.0` release, which will break existing Stump databases. If you'd like to contribute and help expedite Stump's first release, please review the [developer guide](#developer-guide-).
> **🚧 Disclaimer 🚧**: Stump is under active development and is an ongoing **WIP**. Anyone is welcome to try it out, but **DO NOT** expect a fully featured or bug-free experience. If you'd like to contribute and help expedite Stump's first release, please review the [developer guide](#developer-guide-).
## Roadmap 🗺

Expand Down Expand Up @@ -199,3 +200,7 @@ There are a number of other projects that are similar to Stump, it certainly isn
- [Komga](https://github.com/gotson/komga)
- [Librum](https://github.com/Librum-Reader/Librum)
- [oqurum](https://github.com/oqurum) (✨*Rust*✨)

## License 📝

Stump is licensed under the [MIT License](https://www.tldrlegal.com/license/mit-license). This applies to the entire repository except for subfolders/packages which contain their own license file(s). In such cases, the license file(s) in the subfolder/package take precedence.
1 change: 0 additions & 1 deletion apps/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ hyper = "0.14.27"
jsonwebtoken = "9.2.0"
linemux = { git = "https://github.com/jmagnuson/linemux.git", rev = "acaafc602afac5d7a9cd3e087dafc937cac1e364" }
local-ip-address = "0.5.6"
notify = "5.1.0"
prisma-client-rust = { workspace = true }
rand = "0.8.5"
reqwest = { workspace = true }
Expand Down
4 changes: 4 additions & 0 deletions apps/server/src/routers/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,13 @@ mod tests {

file.write_all(format!("{}\n\n", ts_export::<CreateLibrary>()?).as_bytes())?;
file.write_all(format!("{}\n\n", ts_export::<UpdateLibrary>()?).as_bytes())?;
file.write_all(
format!("{}\n\n", ts_export::<UpdateLibraryExcludedUsers>()?).as_bytes(),
)?;
file.write_all(
format!("{}\n\n", ts_export::<CleanLibraryResponse>()?).as_bytes(),
)?;
file.write_all(format!("{}\n\n", ts_export::<LibraryStatsParams>()?).as_bytes())?;

file.write_all(
format!("{}\n\n", ts_export::<PutMediaCompletionStatus>()?).as_bytes(),
Expand Down
Loading

0 comments on commit b3f7d16

Please sign in to comment.