Giter VIP home page Giter VIP logo

pocketbook-nextcloud-client's Introduction

Hi there 👋

I like to do stuff with the Pocketbook ebook reader. I created for example an App to access Nextcloud, Miniflux or to write texts on it. Furthermore I like to play with different stuff. (Examples)

pocketbook-nextcloud-client's People

Contributors

iucca avatar juanjakobo avatar oliviercailloux avatar rpjoshl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pocketbook-nextcloud-client's Issues

Copy config file

Thanks for this most useful software! Here is a feature request.

The user should be able to copy a configuration file to the PocketBook device (using eg the classical USB file transfer tool) to configure login.

This would be most useful when having a complex password (user-created password with many special characters, or very long, such as those created automatically when having to use two-factor authentication and per-application auto-generated password). So as to not have to enter the password manually using the GUI.

Cannot log in. Is TOTP supported ?

Hello, I installed the app on someone else’s PB, worked like a charm.

But on mine, where I activated 2FA (TOPT and U2F apps are installed and activated on my server), it says my login or my password is wrong (which they are not).

Is 2FA, or TOTP supported ?

Add documentation howto build the app

I wanted to contribute, but I'm failing in finding out how to build the app. What SDK is used and which dependencies are needed. It would be great to have this information to allow developers to contribute and help you.

Curl Error Code: 77

First off: Thank you for creating this app! This is really useful for synchronizing ebooks! 👏

I was running into the same issues as described in #18 (@JenswBE thx for your analysis and solution!) and was able to fix my Traefik config accordingly. So I'm only using the ISRG root certificate:

depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = example.com
verify return:1
   i:C = US, O = Internet Security Research Group, CN = ISRG Root X1

When trying to login now, I get the error message Curl Error Code: 77, (see photo below). The curl man page says:

77  Problem with reading the SSL CA cert (path? access rights?). 

So this seems to be related to reading the CA certificates. So I re-downloaded the cacert.pem and also tried the latest cacert.pem (Feb 1st) and also with the previous one (Oct 26th). Both result in the same error message.

Opening the URL of my Nextcloud server on my local Linux with curl works, so the cacert.pem seems to be working fine. So that file seems to be OK:

curl -v --cacert cacert.pem --capath . https://example.com
...
* successfully set certificate verify locations:
*   CAfile: cacert.pem
  CApath: .
...
*  SSL certificate verify ok.

Version info:

  • I have a Pocketbook 632 with software version U632.6.5.1383, so it's a newer software version that in #18 .
  • I'm running Version 0.73 of the Pocketbook-Nextcloud-Client.

screenshot

An error occurs when changing to a folder (Curl Response Code 405)

I can access my Nextcloud and see the folder list of the root directory, but when accessing subfolders or trying to sync folders I get the following error:

"An unknown error occured. Switching to offline modus. To work online turn on online modus in the menu. (Curl Response Code 405)"

By the way many many thanks for the idea to develop this app, this would enable a very important feature!

(PB Nextcloud Client 0.71; Nextcloud 21.0.3; Inkpad 3 Pro; Firmware U740-2.6.3.691)

Can't login (Curl response code 301)

Hi, i'm using an InkPad Lite with Softwareversion U970.6.5.2897, Nextcloud Version 24.05 and Release 1.02 of this app.

Unfortunately I get "Error (Curl Error Code: 35))" when trying to login, using either https://mydomain oder https://mydomain/remote.php
This happens with either "ignore cert" and without.

Leaving out https:// results in an unknown Curl error code 301

Is there something else i can try, or that you could need to debug?

Thank you very much in advance, for even being so wonderful creating such an app in the first place

Cannot Remove deleted Files

Hi,
I accidentally deleted some file in the filebrowser manually (per KoReader).
The client says, it is still synced.
When I try to sync or remove the sync I get an error.

Maybe you've got any ideas on troubleshooting?

Great work by the way!
Thank you!

best regards
Vinzent

Feature request - sort by date

Hello,

Let me first tell you - i love your app, thats a perfect addition to the book!

But i wonder, would it possible to sort the content by date instead of name, like its possible in the nextcloud webui, 'midified'? This would make it much easier to quickly find newly added files.

Thanks for your work!

Show application config screen in PB config

As mentioned by @WST1811

is it possible to get an icon in Settings > Accounts an Sync?
I currently have no idea how to do that, but I will have a look at it. :)

I found in applications\ a dropboxctl.app with this content:

#!/bin/sh exec /ebrmain/bin/dropboxctl.app
I don't know how to change directory to ebrmanin/bin/, maybe it helps you. It would be nice to have a Icon there, but no must.

ignore cert validation button is missing

Hi I have also some issues with the certs. Adding the pem cert from Mozilla didn't helped. But strangely i dont have the option like shown in your readme with the checkbox to disable it. Have installed the 1.03 and 1.02. Pocketbook 626

Feature request: two-way synchronization

I noticed that the sync only works as a download, new or changed files are downloaded from the server to the client, but not the other way around.

Is there a two-way synchronization planned? Can I upload changes to nextcloud as well? That would be extremely useful for annotations, notes and highlighting. I read a lot of scientific papers, for that it would be very important.
But it's also handy for belltristic reading, because I can sort finished books e.g. into a folder "already read" or books I don't like into a folder "boring books".
That would be super handy.

Thanks again for the great support!

The PB Cloud and Dropbox both don't work very well and are questionable from a privacy perspective, so it's even more wonderful to have an independent alternative with your tool.

How to exclude multiple folders using regex?

Hi and thanks for the great software.

I am trying to use "Exclude and hide items" to hide some folders that are unrelated to the reader. I have several folders named like "backup", "cache" etc. My initial guess was to put just
backup
in the Folder-Regex: field to do the job - unfortunately it does not work, "backup" folder is still visible. Do I need to use any magic to achieve the result?

Thanks in advance

"The selected structure is not available offline" error

Hello. PocketBook 740, app version 0.73.

After filling in the fields on login page and pressing "Login" button it shows hourglass for a second and then the "The selected structure is not available offline" error.

Device is connected to Wifi and I can load pages in builtin browser no problem.

One weird thing I've noticed is that when using your app wifi icon in header was "empty". After launching a browser and loading a page wifi icon became "filled". But after I've switched back to app and tried login again - same error appeared. However after I've used "close app" in the app menu and launched it again - login was succesful and I saw my files.

Seems like there is some kind of energy preserving feature that turns wifi off if it's not used and it detects that browser needs wifi and enables it but doesn't work for your app.

Thanks for the app, by the way!

curl error code 3

Hi,

I'm trying to set up the nextcloud client on a PocketBook Touch Lux 5, but I have the issue that the username contains whitespace.
This causes curl to respond with error code 3, which stands for malformed url input.
I tried escaping the whitespace with %20, but no luck, nextcloud then responds with unknown username/password.

Did I miss something that I can try other than creating a new user without whitespace in the username?

I tracked down the usage of the user input to where it is fed into curl. Could the usage of curl possibly change in a way that allowes such usernames?

Thanks for your help!

Change Path for sync to external sd card

When you press sync it automatically starts to download content to the internal file system.
Is it possible to change the path where the synched content will be safed e.g the sd card?

Wrong version displayed under info

I just installed the latest version of your app on my Pocketbook. While trying to check, if it worked I noticed, that the displayed version number is not up to date, it seems to be fixed to 0.62 in the source code. Just a minor issue, but somewhat annoying, when you try to find out, which version you are actually using.

Syncronisaton of certain folders and not only items

request by @ScatteredDrifter:
You can enable certain folders to be synchronized. All files within the particular folder are downloaded, updated, deleted afterwards. It's just erasing the extra steps of download every single file in a folder I want to download. I don't know if its hard to add this function, but if you have the muse and opportunity at sometime I would be grateful.
Doesn't need to be rushed tho, I'm satisfied with the current version!

Get no connection

Hello,

first, thanks for the Program. ;)
Today i found and try it asap. But no luck, i set the Servername:
https://192.168.178.8 (nothing more, i read your instructions ;) )
or
https://host.domain.tld (nothing more, i read your instructions ;) )
User
and Password klick Login: Loading... and loading... and loading.
WiFi is full available.

Is there a Log or anything else i can check?

Thanks and Regards
Winfried

Use etags to compare item status

Currently the tool compares file updates based on file size and not etags.
Benefits of etag usage

  • Folder and file sync is faster --> could be further increased by usage of threads
  • First step to sync in both directions

Unable to Establish TLS 1.3 Connection - Curl Error 35

Hi,
I'm currently experiencing connection issues with the application, resulting in the error message "Curl error 35." It appears that the application lacks TLS 1.3 support, which may be causing these problems. As a temporary solution, I manually reverted the server to TLS 1.2 to solve the issue.

I'd like to request the addition of TLS 1.3 support to our application to address these connection issues. Before proceeding, could you please confirm whether this feature can be added within the application itself, or if it requires support at the firmware level?

Support polish language

Feature:
For example my native language is polish. When I name book with polish characters it's showing wrong.

cacert.pem not recognized

Issue

App keeps telling me follow instructions to use a custom Cert Store. Even with the latest CA certificates from Mozilla.

I could provide a temporary account on my server if needed.

Context

  • Model: PocketBook HD3 (PB632)
  • Firmware: U632.6.4.466
  • App version: 0.73
  • Firefox certs downloaded on: 1st of December 2021
  • Nextcloud version: v22.2.3

Both app and certs are in folder applications:
image

Error on reader:
IMG_20211201_203348

Server certs are based on ISRG Root X1:
image

Pocketbook-Nextcloud-Client not working with a self-signed SSL certificate (curl error code 60)

Hi,

we run our nextcloud on a local-only-server (Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-125-generic x86_64)) with_out_ domainname. Nextcloud was installed via snap and runs like a charm. We use a self-signed SSL certificate generated by:
root@intserver:~#nextcloud.enable-https self-signed

Desktop-clients (Kubuntu) and browser-logins just need to grant the exception and the cloud works as expected.
The connection via pocketbook-browser works (without complains about the certificate ... which is a security issue btw)

Nextcloud.app was moved to "applications" folder of our InkPad-X PB1040 (Software: U1040.6.5.2920 (26.7.2022)) and starts up normally.

Pocketbook-Nextcloud-Client throws a "curl error code 60" when we try to login via https://192..../
(from man curl: 60 Peer certificate cannot be authenticated with known CA certificates.)

Pocketbook-Nextcloud-Client throws a "curl response code 301" when we try to login via http://192..../

what to do?

tx

Pocketbook Touch Lux 5 formating

Hello,

I'd like to start and thank you a lot for developing and releasing this app. I always had issues with dropbox on the pocketbook and wished for a nextcloud application as this was my only concern. I've tested it on my Pocketbook touch lux 5 and so far it seems to work pretty well without any profound issue.
Browsing trough the nextcloud application I have a weird formatting issue with clipping text - to be seen in the screenshot.
I dont know if it's issued by the different display resolution or something else.

I dont have much of a problem with it, however I wanted to let you know that it works fine on the touch lux 5 with the recent firmware.

Thank you a lot!

Works on PB632 with some issues

I tried out your Nextcloud connector and it kind of works on my PB632 (Touch HD3). I could see the first page of entries from my Nextcloud folder, but I wasn't able to download anything or scroll to the next page. I received a "An unknown error occurred" multiple times. Keep up the good work and let me know, if I can help. I'm a professional C++ developer myself, but I have not done anythink on Pocketbooks yet.

Works on Pocketbook Era / PB700

First of all thank you for developing this software! I've just installed it on my Pocketbook Era (PB700) with Firmware Version U700.6.7.1555, and encountered no issues so far.

The only thing is is that the margins on the left and right are very tight. There is no whitespace at all between the text and the bezel of the device.

Thanks for all your hard work on this project!

no Connection - Curl 302 Error

When i try to connect to my Nextcloud Instance, i get an unknown Curl 302 Error.

My Nextcloud Version: 27.1.3
It worked with an older Version: 25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.