Skip to content

📦 Montscan v1.2.0

Choose a tag to compare

@SystemVll SystemVll released this 04 Apr 17:00
b156526

What's New

Flexible Ingress + Samba Upload Support 🚀

Montscan now supports a more complete document pipeline with configurable ingress servers and an expanded upload backend. In addition to WebDAV, you can now send processed documents to Samba shares, and run FTP and/or Samba server ingress with environment-based configuration.

Changes

  • Samba Upload Provider: Added Samba as a document destination alongside existing WebDAV support
  • Provider Architecture Cleanup: Refactored upload logic into the providers package for cleaner backend handling
  • Ingress Server Controls: Added environment/config toggles for FTP and Samba server ingress
  • Docker Compose Support: Added FTP and Samba server configuration options directly in docker-compose.yml
  • Filename Date Standardization: Updated filename date format guidance to ISO8601

Configuration

Configure ingress and providers using environment variables:

# Ingress servers
export FTP_ENABLED=true
export SAMBA_SERVER_ENABLED=true

# Samba upload provider
export SAMBA_HOST=192.168.1.10
export SAMBA_PORT=445
export SAMBA_SHARE=documents
export SAMBA_USERNAME=your_user
export SAMBA_PASSWORD=your_password
export SAMBA_PATH=/incoming

Or in Docker Compose:

environment:
  - FTP_ENABLED=true
  - SAMBA_SERVER_ENABLED=true
  - SAMBA_HOST=192.168.1.10
  - SAMBA_PORT=445
  - SAMBA_SHARE=documents
  - SAMBA_USERNAME=your_user
  - SAMBA_PASSWORD=your_password
  - SAMBA_PATH=/incoming

Technical Details

  • Added Samba provider implementation in providers/samba.go
  • Extended upload flow to support provider-based routing (providers package refactor)
  • Added/updated ingress configuration loading for FTP and Samba server options in config/config.go
  • Updated server startup/config paths for FTP and Samba server components (server/ftp.go, server/samba.go)
  • Added Docker Compose environment wiring for FTP/Samba server configuration

Upgrade Notes

Existing installations remain compatible.
If you do not enable new ingress toggles, behavior stays aligned with previous setup expectations.

For Samba uploads, define Samba provider variables (SAMBA_HOST, SAMBA_SHARE, credentials, etc.).
If you only use WebDAV, your current configuration can remain unchanged.


Full Changelog: View commits since v1.1.0