{"id":47775722,"url":"https://github.com/spoje-net/multiflexi-mserver","last_synced_at":"2026-05-26T21:01:13.289Z","repository":{"id":333348933,"uuid":"1136814123","full_name":"Spoje-NET/multiflexi-mserver","owner":"Spoje-NET","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-25T13:39:38.000Z","size":49,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-25T15:12:13.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Spoje-NET.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-18T12:09:04.000Z","updated_at":"2026-05-25T13:39:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Spoje-NET/multiflexi-mserver","commit_stats":null,"previous_names":["spoje-net/multiflexi-mserver"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Spoje-NET/multiflexi-mserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spoje-NET%2Fmultiflexi-mserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spoje-NET%2Fmultiflexi-mserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spoje-NET%2Fmultiflexi-mserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spoje-NET%2Fmultiflexi-mserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spoje-NET","download_url":"https://codeload.github.com/Spoje-NET/multiflexi-mserver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spoje-NET%2Fmultiflexi-mserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33538660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-03T11:34:11.848Z","updated_at":"2026-05-26T21:01:13.283Z","avatar_url":"https://github.com/Spoje-NET.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# MultiFlexi mServer Credential Prototype\n\n![multiflexi-mserver](multiflexi-mserver.svg?raw=true)\n\n![MIT License](https://img.shields.io/badge/License-MIT-yellow.svg)\n\nThis repository contains the credential prototype for connecting MultiFlexi to Stormware Pohoda mServer API.\n\n## Packages\n\n| Package | Contents |\n|---|---|\n| `multiflexi-mserver` | Credential prototype JSON, SVG logo, `CredentialProtoType\\MServer` PHP class |\n| `multiflexi-mserver-ui` | `Ui\\CredentialType\\MServer` PHP class — web form with live connection test |\n\n## Fields\n\n| Keyword | Type | Required | Description |\n|---|---|---|---|\n| `POHODA_ICO` | string | yes | Organization Number (IČO) |\n| `POHODA_URL` | string | yes | mServer API base URL, e.g. `http://pohoda:40000` |\n| `POHODA_USERNAME` | string | yes | mServer API username |\n| `POHODA_PASSWORD` | password | yes | mServer API password |\n| `POHODA_SECONDARY_USERNAME` | string | no | Secondary account username for December→January data entry |\n| `POHODA_SECONDARY_PASSWORD` | password | no | Secondary account password for December→January data entry |\n\n## Smart Credential Prototype (UI)\n\nWhen `multiflexi-mserver-ui` is installed, the credential form performs a live connection test against `{POHODA_URL}/status` using HTTP Basic Auth. On success it displays:\n\n- **Company** — company name registered in Pohoda\n- **Status** — server state (`idle` / `busy`)\n- **Processing** — number of requests currently being processed\n- **Server** — mServer self-reported URL\n\nAuthentication failures and network errors are shown as inline alerts.\n\n## Year-End Data Entry\n\nIf data for December is being entered in January, provide the secondary account credentials. That account must have write permissions for the previous fiscal year in Pohoda.\n\n## Installation\n\n```sh\napt install multiflexi-mserver          # core fields + JSON prototype\napt install multiflexi-mserver-ui       # web form with connection check\n```\n\nThe postinst script registers the prototype automatically:\n\n```sh\nmultiflexi-cli credential-prototype:import-json \\\n  --file /usr/lib/multiflexi-mserver/multiflexi/mserver.credprototype.json\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n\n## Author\n\nVítězslav Dvořák \u003cinfo@vitexsoftware.cz\u003e\n\nFor more information, visit [https://multiflexi.eu/](https://multiflexi.eu/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoje-net%2Fmultiflexi-mserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspoje-net%2Fmultiflexi-mserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoje-net%2Fmultiflexi-mserver/lists"}