Code Monkey home page Code Monkey logo

paperless_app's People

Contributors

alikarpuzoglu avatar bauerj avatar benegrueter avatar dorianim avatar hydrian avatar knom avatar le-jou avatar matyask avatar poussinou avatar principis avatar qcasey avatar vstollen 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  avatar  avatar  avatar  avatar  avatar

Watchers

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

paperless_app's Issues

Pull-Down/Refresh only works when in search mode

Describe the bug
Open app and Pull-Down/refresh does not work. Press search button and then it does.

To Reproduce
Steps to reproduce the behavior:

  1. Open app
  2. Try to pull-down
  3. See it doesn't app
  4. Press search button
  5. Notice how pull-down/refresh works

Expected behavior
Refresh should happen after upload and should always work.

Additional information
Paperless App Version: e.g. 0.0.11
Do you use Paperless NG as a backend: Yes

Unable to login

I am unable to login.

Getting this error:

Error while connecting to
server

DioError [DioErrorType. DEFAULT]:
SocketException: OS Error:
Connection refused, errno =111,
address =192.168.43.195, port =35176

Unable to view documents

Describe the bug
Unable to view existing documents
All requested permissions given. No storage permission requested?

To Reproduce
Steps to reproduce the behavior:

  1. Open app
  2. Click on any document
  3. Stuck on 'Downloading document 0%'

Expected behavior
Document should load

Screenshots
image
image

Additional information
Paperless App Version: e.g. 0.0.11
Do you use Paperless NG as a backend: Yes

Search doesn't work with Cyrillic characters

Describe the bug
By using the search bar on top, I can't find any document when searching with Cyrillic characters. This issue doesn't present when using the web application from the browser. Also it doesn't present if I search with Latin characters e.g. English words.

To Reproduce
Steps to reproduce the behavior:

  1. Open Paperless app on Android
  2. Make sure you have some documents written with language with Cyrillic words.
  3. Search for any of the words that you expect to find these documents.
  4. You should see no documents found e.g. empty search results

Expected behavior
To list all the documents which match the word(s) in the search bar.

Screenshots
No screenshot as it's very clear. Let me know if screenshots or some debug information would be needed. With some basics how to extract it.

Additional information
Paperless App Version: 0.0.10 from F-Droid
Do you use Paperless NG as a backend: Yes

DioError 403 with correct URL, username, password

Hello,

I'm trying to setup the app and connect to my paperless instance.

I'm using a password manager to copy&paste the URL, username and password of my instance - so they should be correct.
The URL is something like: https://paper.host.tld/paperless/ and the login in the browser is successful as well.

However, in the app I'm getting this Error:

"Error while connecting to server"
DioErro [DioErrorTyoe.RESPONSE]: Http status error [403]

Offline Version

For situations where you don't have internet access and need to access a document (e.g. you need to show a document at the Chinese border) offline access would be useful.

This includes the following tasks:

  • Store list of documents locally
  • Implement search locally
  • Implement filtering locally
  • Download all documents that are not downloaded yet
    • Make this behaviour configurable (default: off)
    • Also request all pages to make sure no documents are missing

Not able to run the Paperless app in emulator and can't build an apk

Here is the error am getting when trying to build the paperless app after downloading the source code:

Error Code is bellow
Screenshot 2021-09-06 at 18 47 03
Screenshot 2021-09-06 at 18 47 10

../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:572:9: Error: The setter 'tristate' isn't defined for the class '_RenderCheckbox'.

  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'tristate'.
    ..tristate = tristate
    ^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:574:9: Error: The setter 'activeColor' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'activeColor'.
    ..activeColor = activeColor
    ^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:576:9: Error: The setter 'inactiveColor' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveColor'.
    ..inactiveColor = inactiveColor
    ^^^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:577:9: Error: The setter 'focusColor' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'focusColor'.
    ..focusColor = focusColor
    ^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:578:9: Error: The setter 'hoverColor' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'hoverColor'.
    ..hoverColor = hoverColor
    ^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:579:9: Error: The setter 'reactionColor' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionColor'.
    ..reactionColor = reactionColor
    ^^^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:580:9: Error: The setter 'inactiveReactionColor' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveReactionColor'.
    ..inactiveReactionColor = inactiveReactionColor
    ^^^^^^^^^^^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:581:9: Error: The setter 'splashRadius' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'splashRadius'.
    ..splashRadius = splashRadius
    ^^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:582:9: Error: The setter 'onChanged' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'onChanged'.
    ..onChanged = onChanged
    ^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:583:9: Error: The setter 'additionalConstraints' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'additionalConstraints'.
    ..additionalConstraints = additionalConstraints
    ^^^^^^^^^^^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:584:9: Error: The setter 'vsync' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'vsync'.
    ..vsync = vsync
    ^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:585:9: Error: The setter 'hasFocus' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'hasFocus'.
    ..hasFocus = hasFocus
    ^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:586:9: Error: The setter 'hovering' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'hovering'.
    ..hovering = hovering
    ^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:616:11: Error: No named parameter with the name 'value'.
    value: value,
    ^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:643:11: Error: Superclass has no setter named 'value'.
    super.value = newValue;
    ^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:639:21: Error: The getter 'value' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    if (newValue == value) {
    ^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:642:17: Error: The getter 'value' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    _oldValue = value;
    ^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:648:11: Error: Superclass has no method named 'describeSemanticsConfiguration'.
    super.describeSemanticsConfiguration(config);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:649:24: Error: The getter 'value' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    config.isChecked = value == true;
    ^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:669:11: Error: The getter 'activeColor' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
    ? activeColor
    ^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:670:22: Error: The getter 'inactiveColor' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'inactiveColor'.
    : Color.lerp(inactiveColor, activeColor, t * 4.0)!;
    ^^^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:670:37: Error: The getter 'activeColor' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
    : Color.lerp(inactiveColor, activeColor, t * 4.0)!;
    ^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:727:5: Error: The method 'paintRadialReaction' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'paintRadialReaction'.
    paintRadialReaction(canvas, offset, size.center(Offset.zero));
    ^^^^^^^^^^^^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:727:41: Error: The getter 'size' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'size'.
    paintRadialReaction(canvas, offset, size.center(Offset.zero));
    ^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:731:19: Error: The getter 'size' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'size'.
    offset + (size / 2.0 - const Size.square(_kEdgeSize) / 2.0 as Offset);
    ^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:732:36: Error: The getter 'position' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
    final AnimationStatus status = position.status;
    ^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:735:15: Error: The getter 'position' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
    ? position.value
    ^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:736:21: Error: The getter 'position' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
    : 1.0 - position.value;
    ^^^^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:739:31: Error: The getter 'value' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    if (_oldValue == false || value == false) {
    ^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:740:24: Error: The getter 'value' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    final double t = value == false ? 1.0 - tNormalized : tNormalized;
    ^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:752:34: Error: The getter 'value' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    if (_oldValue == null || value == null)
    ^^^^^
    ../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart:771:13: Error: The getter 'value' isn't defined for the class '_RenderCheckbox'.
  • '_RenderCheckbox' is from 'package:wechat_assets_picker/src/widget/custom_checkbox.dart' ('../../desktop/tools/flutter/.pub-cache/hosted/pub.dartlang.org/wechat_assets_picker-5.1.0/lib/src/widget/custom_checkbox.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    if (value == true)
    ^^^^^

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/williamspeter/Desktop/tools/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1035

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildRelease'.

Process 'command '/Users/williamspeter/Desktop/tools/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Paperless-NG compatibility

I'm using paperless-ng, do you have any plans to make this app compatible? :)

When connecting, I get a popup that says:

Error while connecting to server
type '_InternalLinkedHashMap<String,dynamic>' is not a subtype of type 'Document' in type cast

Using 0.0.6.1006 from FDroid.

FR, Scan from Phone Gallery

It would be usefull if we can pick an already existing image from the gallery and upload it.

I will start working in this feature, and submit a PR if I have a working version!

Error while connecting to server: Http status error [200]

Paperless-ng is running on a host on the local lan, behind a reverse proxy (caddy v2). The address is in the format https://abc.example.org/scan/ . The router (openwrt, running dnsmasq) has been set up to return the host's LAN IP, rather than an external IP, for abc.example.org .

I can connect through the browser on several devices.

I can also successfully login to the API using HTTP basic auth (curl --user USERNAME https://abc.example.org/scan/api/documents/) from a local PC.

I can also successfully login via the (separate) Android "Paperless Share" app. This works fine.

If I point the "Paperless" app (also on Android) to https://abc.example.org/scan/ , when connected to the same local WiFi, I get prompted for username and password, but then get told:

Error while connecting to server
DioError [DioErrorType.RESPONSE]:
Http status error [200]

I get this whatever username and password I put in - correct ones, false ones, etc.

Paperless App Version: 0.0.11

Alternative download

Are there plans to make the APK available outside of Play Store (for people not having access to that) – e.g. by attaching it to your releases/, or even bringing it to F-Droid?

One side-question: what for is the REQUEST_INSTALL_PACKAGES permission needed here?

Connection error popup remains after retry

Hi,

Not a biggie since there's an easy workaround, more of a beauty thing but I thought I'd mention it.

When you start the Paperless app and it cannot connect to the server, a pop-up appears that allows you to edit the settings or retry.

(I accidentally had the server shutdown when opening your app)

After starting the server and hitting retry in the app, the connection is successfully established but the pop-up remains.

The workaround is simple: close the app en reopen.

Thanks for the app! 😄

Scanner is upside down and flipped

Describe the bug
Android.
When scanning, the video is upside down and flipped, making it very weird and hard to scan any document.

To Reproduce
Steps to reproduce the behavior:

  1. click on "+"

Screenshots
signal-2021-07-29-131415

Additional information
Android Version: 8.1.0
Paperless App Version: 0.0.11 from Play Store
Do you use Paperless NG as a backend: Yes

Add option to disable inverting preview in dark mode

Currently, the app inverts all preview imags in dark mode in order to show white-on-black documents. However, this leads to misrepresented colors which might confuse some users. It should be possible to disable this feature.

Cannot login using 0.0.10

Describe the bug
Trying to log into a paperless-ng install results in Dio Error status 200. (see image)

To Reproduce
Steps to reproduce the behavior:

  1. Configure http://url:8000/ in app
  2. Add user and password

Expected behavior
Be logged into paperless.

Screenshots
Screenshot_20210110-005140.jpg

Additional information
Paperless App Version: 0.0.10
Do you use Paperless NG as a backend: Yes

Login tested using curl and browser, both work fine.

translation not working

I using the app in a german Android 11 Lineageos but the app is in english.

Is the translation from crowdin not implementet or is this a bug.

Im using the fdroid version 0.1.1

Error handling

When the server returns an error or invalid JSON, the app should inform the user instead of pretending to continue loading the documents.

Can't connect with http url

I have a paperless-ng instance on a local network and I do not have ssl setup for it. It is not available on the internet and if I need to connect to it from outside I can connect to the network through a vpn.

I am getting a Insecure HTTP is not allowed by platform error.

Feature Request: Upload documents

Hey,
thank you for providing this app frontend for Paperless. You successfully aquired a new tester and I am looking forward to upcoming releases!
As the title suggests, it would be quite useful if we were able to upload (PDF) documents to our paperless instance through this app. As documents can be uploaded via HTTP POST (see Paperless HTTP POST Document Upload) this could help to upload documents from everywhere - without using the dedicated consumption directory directly.

  • Upload (PDF) documents via upload button within this app.
  • Optional: Associate this app as a file handler for (PDF) documents to be able to upload files directly (eg. from within an email app).

What do you think?

Advanced connection options for server connection

Is your feature request related to a problem? Please describe.
I have a paperless-ng server set up - and I wanted to make it a little more secure. I have it fronted by nginx and require a client certificate in order to get to the login page. This extra layer breaks the app as there is no way to specify this information.

Describe the solution you'd like
I'd like some kind of advanced connection button that would allow for specifying a client certificate or other options.

Describe alternatives you've considered
I can always turn off the client cert option in Nginx - but I'd like to use it at some point for extra peace of mind. I could fork the project and do things myself, but I am not familiar with android apps or the underlying programming language of this app.

Feature Request: Show details of document

Currently I can only open the file when I click on it. Editing would be extremely helpful especially for tags, to go through them when being in the bus or in bed or so

Allow scanning of multi-page documents

Is your feature request related to a problem? Please describe.
Some of the documents I receive are multi-page documents.

Describe the solution you'd like
Select add button, select single or multi page, scan each page, dump it to a pdf, upload that to paperless(-ng)

Describe alternatives you've considered
Scanner.. but I have neither the space nor the time to use one. It is basically not suited for my workflow.

TLSv1.0 as maximum by dio package ?

Describe the bug
As I connect to my paperless-ng Server I get the error that Dio can't connect to the server.
Webserver works without problems.
To Reproduce
Steps to reproduce the behavior:

  1. Go to server selection page on first use
  2. Enter a server that only supports TLSv1.3
  3. Try to connect to the Server
  4. See error

Expected behavior
The app connects to the server

Screenshots
image

Additional information
Paperless App Version: e.g. 0.0.10
Do you use Paperless NG as a backend: (Yes/No)

Scanning+Cropping documents cuts off the bottom part

Hi, I really enjoy using your app. I found the following bug:
When scanning a document and then cropping the image to the document, the bottom part of the document is cut off.
Below you find screenshots that show the process with a ruler instead of a document.
Taking the image and selecting the region to crop:
Screenshot_20211212-204405_Paperless

Which results in this crop, where the bottom 1.5cm are missing:

Screenshot_20211212-204430_Paperless
Also when the image is rotated the part is missing:
Screenshot_20211212-204451_Paperless

This then finally results in the following document in paperless:
2021-12-12 rotate_1796.pdf

I'm using the current version in F-Droid (0.0.11) on LineageOS 17.1 (Android 10) on a OnePlus2.

Best Regards
Purox

Login charset

Describe the bug
Application can't connect to server with cyrillic user login name ('Константин').

To Reproduce
Steps to reproduce the behavior:

  1. Open application (after clean install)
  2. Input valid server address, press 'Connect'
  3. Input valid login and password, press 'Login'
  4. See error: Error while connecting to server. Invalid argument (string): Contains invalid characters.: "Константин:password"

Expected behavior
Application accepts credentials.

Additional information
Paperless App Version: e.g. 0.0.11
Do you use Paperless NG as a backend: Yes
Error message shows my login and password without masking. This is bad, at least password should be masked.
Paperless NG server accepts this login, but paperless_app can't use it.

FR: pincode or fingerprint lock

As I store some sensitive documents in my paperless instance, I would like to protect the app with a fingerprint or pass code protection

Built in scanner does not set image DPI

Another subset of #18 I suppose. Recently paperless-ng has started using OCRmyPDF (tested w/0.9.6), which fails when trying to process an image missing DPI.

Since each image from the app's scanner would be a different size, I'm not sure there's a way to set PAPERLESS_OCR_IMAGE_DPI=<num> to make this work properly (without ruining OCR of other scanned docs). Or perhaps there is, maybe @jonaswinkler could chime in here.

Otherwise, do you know if there is there way to put DPI info with edge_detection?

Logs when uploading an image (used my PR #22 for the moment):

webserver_1  | 192.168.1.231 - casey [11/Dec/2020:19:27:21 -0800] "POST /push HTTP/1.1" 302 0 "-" "Dart/2.10 (dart:io)"
webserver_1  | 19:27:21 [Q] INFO Enqueued 1
webserver_1  | 192.168.1.231 - casey [11/Dec/2020:19:27:21 -0800] "POST /api/documents/post_document/ HTTP/1.1" 200 4 "-" "Dart/2.10 (dart:io)"
webserver_1  | 19:27:21 [Q] INFO Process-1:2 processing [crop_1852.jpeg]
webserver_1  | INFO 2020-12-11 19:27:21,522 loggers Consuming crop_1852.jpeg
webserver_1  | WARNING 2020-12-11 19:27:21,534 loggers Error while getting DPI from image /tmp/paperless/paperless-upload-ed19kd8_: 'dpi'
webserver_1  | ERROR 2020-12-11 19:27:21,538 loggers Error while consuming document crop_1852.jpeg: Cannot produce archive PDF for image /tmp/paperless/paperless-upload-ed19kd8_, no DPI information is present in this image and OCR_IMAGE_DPI is not set.
webserver_1  | 19:27:21 [Q] ERROR Failed [crop_1852.jpeg] - Cannot produce archive PDF for image /tmp/paperless/paperless-upload-ed19kd8_, no DPI information is present in this image and OCR_IMAGE_DPI is not set. : Traceback (most recent call last):
webserver_1  |   File "/usr/src/paperless/src/documents/consumer.py", line 131, in try_consume_file
webserver_1  |     document_parser.parse(self.path, mime_type)
webserver_1  |   File "/usr/src/paperless/src/paperless_tesseract/parsers.py", line 147, in parse
webserver_1  |     f"Cannot produce archive PDF for image {document_path}, "
webserver_1  | documents.parsers.ParseError: Cannot produce archive PDF for image /tmp/paperless/paperless-upload-ed19kd8_, no DPI information is present in this image and OCR_IMAGE_DPI is not set.
webserver_1  | 
webserver_1  | During handling of the above exception, another exception occurred:
webserver_1  | 
webserver_1  | Traceback (most recent call last):
webserver_1  |   File "/usr/local/lib/python3.7/site-packages/django_q/cluster.py", line 436, in worker
webserver_1  |     res = f(*task["args"], **task["kwargs"])
webserver_1  |   File "/usr/src/paperless/src/documents/tasks.py", line 72, in consume_file
webserver_1  |     override_tag_ids=override_tag_ids)
webserver_1  |   File "/usr/src/paperless/src/documents/consumer.py", line 148, in try_consume_file
webserver_1  |     raise ConsumerError(e)
webserver_1  | documents.consumer.ConsumerError: Cannot produce archive PDF for image /tmp/paperless/paperless-upload-ed19kd8_, no DPI information is present in this image and OCR_IMAGE_DPI is not set.

save sorting

Every time the app gets closed Form androids memory manager the sorting is reset to default.

Since i always need "date added" this is annoying.

please save the sorting or make it possible to select a custom default in the settings.

Document date is wrong, probable timezone issue

Describe the bug
The date of the document is not matching the date displayed in the app.

To Reproduce
Steps to reproduce the behavior:

  1. Paperless Server runs in timezone Europe/Berlin
  2. Scan a document dated 1.3.2021
  3. View the document in the paperless app
  4. Date Feburary 28, 2021 is displayed

Expected behavior
The date is viewed as March 1, 2021

Screenshots

Paperless-ng server:

ksnip_tmp_pXkOPl

App:

image

Additional information
Paperless App Version: 0.0.10, f-droid
Do you use Paperless NG as a backend: Paperless-ng 1.4.1

Possible cause

It might be because the display timezone is different in the app and the server. Can the app query the server timezone? In the end of the time it's only dates, not date time, so I am not sure if any timezone logic has to take place.

Squished/narrow image when capturing new document.

This was the result of the Google app store review where you asked me to submit the issue.

Here's an example photo, along with a screenshot for how squished it looks in the app.
Note that once I select the bounding box around the document and actually OK it, the dimensions are corrected.

ACTUAL:
image

APP:
image

Offer Android form filling for username and password

Hello,

I'm using a password manager on Android which is using the Android Autofill framework to fill passwords and usernames.

However, during the login dialogue of this app the password manager autofill option is not available. Maybe the form fields are missing a flag?

This is how it should look like: KeePassDX Form filling

Can't connect using self-signed certificate

Error is:

DioError [DioErrorType.DEFAULT]: HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:354))

Typos mine.

The CA is added to the system certificate store, and firefox beta and chrome can both browse to the site without warning.

"Triangle bug" when cropping images

Often it creates absurd shapes like this triangle. Having only 3 points I can't properly crop... anything. It makes it very hard to actually use this app at all.

image

Created date off by a day

Describe the bug
After changing the created date within the app, it first displays the correct date, until I go back to the general documents view, where it is off by -1 day. Going back to the single document view now also shows the same off by -1 day date.

Screenshots
Single document view after changing creation date to 1st of February before switching back to the documents overview.
Single document view after changing creation date to 1st of February

Documents overview with false date in app
Documents overview with false date in app

Documents overview with correct date in browser
Documents overview with correct date in browser

Additional information
Paperless App Version: e.g. 0.1.1
Do you use Paperless NG as a backend: Yes

Automate Relase Process

Currently, the release process is a manual task. Ideally, release and testing would be automated so that the effort could be directed to improving the app. This will be especially important when we have an iOS version, since that doubles the workload.

I think the following steps need to be done:

  • Set up a Paperless test server with some documents for use while testing the app (Maybe something that resets after use so people don't mess around with it)
  • Make Github Actions compile APKs
    • Add a new action
    • Securely store signing key
    • Store the artifacts
  • Automatically generate changelog
  • Add APKs to a new Github Release
  • Upload APKs to Google Play
  • Integration Testing (basically a robot using the app in an emulator)
  • Automate taking screenshots of the app while testing (for Github/F-Droid)

iOS support

An iOS version is currently in development.

If you would like to test, you can find it on testflight: https://testflight.apple.com/join/ToncPdxU

Please open a new issue if you find a bug in the iOS version.

If you would like to help developing, please let us know here. The current progress can be found here: https://github.com/AliKarpuzoglu/paperless_app/tree/clean_update


This issue will be used to coordinate the effort to distribute Paperless App to the Apple app store.

A developer has been able to successfully run the app on their iOS device, with only minor changes. More details will follow soon.

While all features work, there are some further changes necessary to make it feel like a proper app on iOS, especially regarding the user interface. Currently there are still some layout problems and missing navigation elements.

Once the app works good enough to release it to the public, we will have to:

  • Set up automatic building as part of our CI pipeline (cc @tcurdt)
  • Find out how I can make sure I didn't break anything for iOS when changing something

Problems with Let's Encrypt certificate

Error while connecting to server

DioError [DioErrorType.DEFAULT]:
HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:354))

Error while connecting to server (old (legacy) server and app v. 0.1.0)

Describe the bug
After upgrading to version 0.1.0 (F-Droid), I am getting the following error upon trying to log in:

Error while connecting to server

type '_GrowableList<dynamic>' is not a subtype of type 'Iterable<String>' in type cast

If it is relevant, I have not yet migrated to Jonas' -NG (didn't work too well for me last time I tried), so I am still running the old paperless from Daniel.

Additional information
OS: LineageOS 17.1 (Android 10)
Paperless App Version: 0.1.0
Do you use Paperless NG as a backend: No

App to Server Query URL - Authelia Integration

Hey! This isn't really a feature request, but I didn't have any other way to accurately categorize it.

I run a number of self-hosted services, paperless-ng included, and I use the Android application alongside it. Obviously, security is an important concern of mine. A lot of my services have native 2-factor authentication, but some of them don't -- including paperless-ng. This led me to an open source project called Authelia (https://www.authelia.com/docs/) that lets you layer 2FA on top of an existing web service using a reverse proxy.

However, for applications that use mobile apps, the layered 2FA messes up the app's authorization. Thankfully, Authelia lets you configure exclusion rules so that, for example, if a query comes in to https://service.domain.com it gets prompted for 2FA, but if it comes to https://service.domain.com/api, then it doesn't.

All that to say, is there documentation somewhere that describes the URL structure that the paperless Android (and iOS) apps use when querying the paperless installation and/or performing authorization?

Thanks a ton in advance!

Ted

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.