Skip to content

Commit

Permalink
update readme, fix host not resolving correctly without a trailing fo…
Browse files Browse the repository at this point in the history
…rward slash, fix update progress bar.
  • Loading branch information
mgn-norm committed Nov 26, 2022
1 parent 971fb49 commit ba31f68
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 15 deletions.
47 changes: 39 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,46 @@
![image](resources/1024.png)

# Tachidesk-qtui
a c++/qt client app for use with Tachidesk server
A free and open source manga reader to read manga from a [Tachidesk-Server][tachidesk-server] instance.

Tachidesk-qtui needs to connect to an already hosted server.

You can run it on Android and any desktop platform. Android and iOS has provided binaries, the AUR has a package for arch linux, but if you want it on another platform you'll have to build it.


### Arch based Linux
Download the latest release from [the aur](https://aur.archlinux.org/packages/tachidesk-qtui/).

If you use yay, you can run `yay -S tachidesk-qtui` inside a terminal window.

### Android
Download the latest apk from [the releases section][release]

## what works:
- selecting manga and viewing and selecting chapters
- installing/uninstalling/updaing extensions
- viewing latest library from sources
- adding/removing manga
- basic settings
### iOS
Download the latest ipa from [the releases section][release]
You will need a jailbroken iOS to install it.

## what doesn't work:
- no backup/restore
## General troubleshooting
### Nothing is loaded
Make sure you have set the server address in the server settings

## Support and help
Join Tachidesk's [discord server](https://discord.gg/DDZdqZWaHA) to hang out with the community and receive support and help.

## Building/Contributing
Check [CONTRIBUTING.md](./CONTRIBUTING.md) for build instructions

## Translation
# TODO

## Credit
The `Tachidesk-Server` project is developed by [@AriaMoradi](https://github.com/AriaMoradi) and contributors, a link for [Tachidesk-Server is provided here][tachidesk-server] and is licensed under `Mozilla Public License v2.0`.

Parts of [Tachiyomi-1.x](https://github.com/tachiyomiorg/tachiyomi-1.x) is adopted into this codebase, also licensed under `Mozilla Public License v2.0`.

You can obtain a copy of `Mozilla Public License v2.0` from https://mozilla.org/MPL/2.0/

[release]: https://github.com/Suwayomi/Tachidesk-QtUI/releases
[tachidesk-server]: https://github.com/Suwayomi/Tachidesk-Server
[tachidesk-server-preview]: https://github.com/Suwayomi/Tachidesk-Server-preview/releases
12 changes: 6 additions & 6 deletions src/models/UpdatesModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ void UpdatesModel::onTextMessageReceived(const QString &message) {
_running = doc["running"].toBool();

auto statusMap = doc["statusMap"].toObject();
_complete = statusMap["COMPLETE"].toInt();
_complete += statusMap["FAILED"].toInt();
_complete = statusMap["COMPLETE"].toArray().count();
_complete += statusMap["FAILED"].toArray().count();

_total = statusMap["FAILED"].toInt();
_total += statusMap["COMPLETE"].toInt();
_total += statusMap["RUNNING"].toInt();
_total += statusMap["PENDING"].toInt();
_total = statusMap["FAILED"].toArray().count();
_total += statusMap["COMPLETE"].toArray().count();
_total += statusMap["RUNNING"].toArray().count();
_total += statusMap["PENDING"].toArray().count();

emit totalChanged();
emit completeChanged();
Expand Down
3 changes: 2 additions & 1 deletion src/networkmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ NetworkManager::NetworkManager(
_password = _settings->password();

connect(_settings.get(), &Settings::hostnameChanged, [&]() {
_host = _settings->hostname();
const auto& h = _settings->hostname();
_host = h.endsWith('/') ? h : h + '/';
});

connect(_settings.get(), &Settings::usernameChanged, [&]() {
Expand Down

0 comments on commit ba31f68

Please sign in to comment.