Skip to content

VitexSoftware/MultiFlexi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiFlexi

MFB

ReadTheDocs wakatime CodeFactor GitHub license GitHub release

MultiFlexi is a comprehensive PHP-based task scheduling and automation framework designed for accounting and business system integrations. It enables scheduled execution of applications and tools across multiple companies and platforms, with primary focus on systems like AbraFlexi and Pohoda.

Key Features

  • Multi-Platform Integration: Native support for AbraFlexi, Pohoda, and other business systems
  • Flexible Job Scheduling: Automated task execution with customizable intervals and dependencies
  • Advanced Credential Management: Secure handling of authentication credentials with extensible credential types
  • Multiple Execution Environments: Support for native execution, containerized deployments, and cloud environments
  • Comprehensive Logging: Detailed execution logs with system integration and monitoring capabilities
  • Multi-Interface Support:
    • Responsive Bootstrap 4 web interface with real-time monitoring
    • Rich command-line interface with extensive management commands
    • RESTful API with OAuth2 authentication and multiple output formats
  • Enterprise-Ready: User authentication, API tokens, data isolation, and Zabbix monitoring integration

Architecture

MultiFlexi features a layered architecture with:

  • Database Layer: ORM with migrations managing applications, companies, run templates, and jobs
  • Application Management: External app definitions, metadata validation, and lifecycle management
  • Job Execution System: Multi-environment execution with environment variable injection
  • Credential Framework: Extensible credential types for various system integrations
  • Configuration Management: Environment-based configuration with type-safe field definitions
  • Security Layer: Authentication, authorization, and secure credential handling

Environment Variables

MultiFlexi automatically configures environment variables for executed applications:

AbraFlexi Integration:

  • ABRAFLEXI_URL
  • ABRAFLEXI_LOGIN
  • ABRAFLEXI_PASSWORD
  • ABRAFLEXI_COMPANY

Pohoda Integration:

  • POHODA_ICO
  • POHODA_URL
  • POHODA_USERNAME
  • POHODA_PASSWORD

Custom Variables: Individual module configurations per company with extensible variable definitions.

See the https://multiflexi.readthedocs.io/ for complete documentation

Demo

K dispozici je ukázková instance

demo screenshot

instalace

K dispozici jsou balíčky pro Debian. Více informací o instalaci naleznete v instalační dokumentaci

Ovládání z příkazového řádku

ve složce bin se nacházejí tyto spouštěče různých funkcí:

  • multiflexi-app2json - exportuje definici aplikace do souboru
  • multiflexi-executor - periodický spouštěč aplikací
  • multiflexi-job2script - vygeneruje skript s nastavením prostředí a příkazem pro běhu úlohy dle jejího čísla
  • multiflexi-json-app-remover - na základě json definice odstraní aplikaci z MultiFlexi
  • multiflexi-json2app - načte definice aplikace ze souboru
  • multiflexi-probe - pomocný nástroj pro testování funkce aplikace

multiflexi-cli

použítí: multiflexi-cli <příkaz> [argument] [id]

přikazy: version, list, remove

příklad:

$ multiflexi-cli remove app 15
02/20/2024 23:48:51 🌼 ❲MultiFlexi cli⦒(15)AbraFlexi send@MultiFlexi\Application❳ Unassigned from 3 companys
02/20/2024 23:48:53 🌼 ❲MultiFlexi cli⦒(15)AbraFlexi send@MultiFlexi\Application❳ 2 RunTemplate removal
02/20/2024 23:48:56 🌼 ❲MultiFlexi cli⦒(15)AbraFlexi send@MultiFlexi\Application❳ 2 Config fields removed
02/20/2024 23:48:57 🌼 ❲MultiFlexi cli⦒(15)AbraFlexi send@MultiFlexi\Application❳ 881 Jobs removed
Done.

Pluginy

Jako plugin je možné použít jakýkoliv spustitelný skript nebo binárku. Uvádíme zde některé, připravené k použití:

Jméno Popis Domovská stránka
MultiFlexi Sonda Testovací nástroj spouštěče úloh https://github.com/VitexSoftware/MultiFlexi
Email Importer Načítá doklady z mailboxu do FlexiBee https://github.com/VitexSoftware/AbraFlexi-email-importer
discomp2abraflexi Import Pricelist from Discomp to AbraFlexi https://github.com/Spoje-NET/discomp2abraflexi
AbraFlexi Revolut statements import Import Revolut bank statemetnts into AbraFlexi https://github.com/VitexSoftware/AbraFlexi-Revolut
AbraFlexi Checker Kontrola dostupnosti AbraFlexi https://github.com/VitexSoftware/php-abraflexi-config
Vůbec přehled přehled vašeho účetnictví od začátku do nynějška https://github.com/VitexSoftware/AbraFlexi-Digest/
Dení přehled každodení přehled vašeho účetnictví https://github.com/VitexSoftware/AbraFlexi-Digest/
Měsíční přehled měsíční přehled vašeho účetnictví https://github.com/VitexSoftware/AbraFlexi-Digest/
Týdení přehled přehled vašeho účetnictví každý týden https://github.com/VitexSoftware/AbraFlexi-Digest/
Roční přehed Každoroční AbraFlexi přehled https://github.com/VitexSoftware/AbraFlexi-Digest/
Hromadná pošta z AbraFlexi Na základě dotazu zvolí příjmce z adresáře a odesílá mail na základě šablony https://github.com/VitexSoftware/abraflexi-mailer/
AbraFlexi odesílač Odešle všechny doklady vydaných faktur které ještě nebyly odeslány https://github.com/VitexSoftware/abraflexi-mailer/
Odesílač pošty Odešli neodeslané dokumenty s přílohami https://github.com/VitexSoftware/abraflexi-mailer/
Ukaž neodeslané Zobraz neodeslané dokumenty https://github.com/VitexSoftware/abraflexi-mailer/
Smlouvy na Faktury Spustí generování faktur ze smluv v AbraFlexi https://github.com/VitexSoftware/abraflexi-contract-invoices
AbraFlexi Benchmark AbraFlexi Server Benchmark https://github.com/VitexSoftware/AbraFlexi-Tools
AbraFlexi Copy Copy Company data between two AbraFlexi servers https://github.com/VitexSoftware/AbraFlexi-Tools
AbraFlexi transaction report obtain AbraFlexi bank transaction report https://github.com/VitexSoftware/abraflexi-matcher/
AbraFlexi Bank statements puller Stahni bankovní výpisy do AbraFlexi https://github.com/VitexSoftware/abraflexi-matcher/
AbraFlexi Issued invoices Matcher Ne pouze párovač faktur https://github.com/VitexSoftware/abraflexi-matcher/
Párovač přijatých Faktur Páruj přijaté faktury s odchozími platbami https://github.com/VitexSoftware/abraflexi-matcher/
Subreg to AbraFlexi Import Subreg Pricelist into AbraFlexi https://github.com/Spoje-NET/subreg2abraflexi/
Fio Statement Downloader Download FioBank statements to disk https://github.com/Spoje-NET/fiobank-statement-downloader
Fio transaction report FioBank transaction report https://github.com/Spoje-NET/fiobank-statement-downloader
RB statement downloader Download Raiffeisenbank statements in given format Download your Statements to directory
RB transaction report Raiffeisenbank transaction report Download your Statements to directory
abraflexi-raiffeisenbank Stahovač bankovních výpisů z Raiffeisen banky https://github.com/VitexSoftware/abraflexi-raiffeisenbank
Redmine do AbraFlexi Človekohodiny v Redmine do faktury v AbraFlexi https://github.com/VitexSoftware/Redmine2AbraFlexi/
Čistič štítků upomínače Vymaže štítky dlužníků https://github.com/VitexSoftware/abraflexi-reminder
Přehled pohledávek Získá neuhrazené faktury https://github.com/VitexSoftware/abraflexi-reminder
Notify Customers Zasílat inventarizaci https://github.com/VitexSoftware/abraflexi-reminder
Upomínač Upomínač neuhrazených faktur https://github.com/VitexSoftware/abraflexi-reminder
Realpad do Mailkitu Synchronizuje kontakty z Realpadu do Mailkitu https://github.com/Spoje-NET/realpad2mailkit/

Kompletní seznam naleznete na stránce projektu.

See the full list of ready-to-run applications within the MultiFlexi platform on the application list page.

MultiFlexi App

About

Run various tools on top of AbraFlexi and Stormware Pohoda

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •