Skip to content

Python & web interface rewrites#57

Draft
PhilippMundhenk wants to merge 51 commits intomasterfrom
development
Draft

Python & web interface rewrites#57
PhilippMundhenk wants to merge 51 commits intomasterfrom
development

Conversation

@PhilippMundhenk
Copy link
Owner

@PhilippMundhenk PhilippMundhenk commented Oct 11, 2024

This pull requests contains a complete rewrite of the scanning scripts in python, and a brand new web interface (frontend and backend).

Todo:

  • Merge web interface
  • Have web GUI call python instead of shell
  • sync scanner state between python and web

Test plan:

  • Scan with buttons (single page)
  • Scan with buttons (front & rear page)
  • Scan with web interface (single page)
  • Scan with web interface (front & rear page)
  • FTPS Upload
  • inotify
  • Telegram notification
  • OCR integration

vgarcia007 and others added 30 commits September 17, 2024 22:05
…or the file manipulation feature.

 - inject mod rewrite to webserver condig
 - moved function, config and classes to private directory
 - new try for timezone issue. writing it to config because lighttpd dosent hand over env vars to php
 - Dockerfile needed change for new dirs
…needing a database or similar. It's kind of a small hack, but I think it should work.
…ng and renaming files and provides feedback to the user.
…a php. lets wait and integrate the new python files and check if we can change it back
# Conflicts:
#	script/scanRear.sh
#	script/scantofile-0.2.4-1.sh
#	script/trigger_telegram.sh
@PhilippMundhenk PhilippMundhenk marked this pull request as ready for review November 9, 2024 12:12
@PhilippMundhenk PhilippMundhenk marked this pull request as draft November 9, 2024 12:12
…d.conf-cat

Avoid duplicating url.rewrite-if-not-file config in lighttpd.conf
…sing a temporary file.

This ensures more reliable status detection and improves handling of multi-page scans.
Detect "Waiting for Rear Pages" Status via Temporary File
@vgarcia007
Copy link
Collaborator

Finally, I had the time to fix the waiting status. I used this version to scan documents all evening with no errors, and the correct status was shown in the web interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants