Implement Dolibarr seqino V1: functional setup panel, queue processing, cron workers, and secure Seqino PDP client#1
Draft
Copilot wants to merge 8 commits into
Conversation
…I client Agent-Logs-Url: https://github.com/ITized/doli-seqino/sessions/3148cf41-d371-432e-b4b5-2650850a85a6 Co-authored-by: ionutfinta <56076718+ionutfinta@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Initiate research for seqino ERP/CRM module development
Bootstrap Dolibarr May 16, 2026
seqino V1 foundation: module descriptor, secure Seqino API client, and packaging-ready structure
ionutfinta
requested changes
May 16, 2026
Member
ionutfinta
left a comment
There was a problem hiding this comment.
Good bootstrap, but nothing will work, it is just a skeleton.
Please implement the V1.
Agent-Logs-Url: https://github.com/ITized/doli-seqino/sessions/1074354b-4ba2-432e-9fa9-bdf209bb2f11 Co-authored-by: ionutfinta <56076718+ionutfinta@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ITized/doli-seqino/sessions/1074354b-4ba2-432e-9fa9-bdf209bb2f11 Co-authored-by: ionutfinta <56076718+ionutfinta@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ITized/doli-seqino/sessions/1074354b-4ba2-432e-9fa9-bdf209bb2f11 Co-authored-by: ionutfinta <56076718+ionutfinta@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ITized/doli-seqino/sessions/1074354b-4ba2-432e-9fa9-bdf209bb2f11 Co-authored-by: ionutfinta <56076718+ionutfinta@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ITized/doli-seqino/sessions/1074354b-4ba2-432e-9fa9-bdf209bb2f11 Co-authored-by: ionutfinta <56076718+ionutfinta@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ITized/doli-seqino/sessions/1074354b-4ba2-432e-9fa9-bdf209bb2f11 Co-authored-by: ionutfinta <56076718+ionutfinta@users.noreply.github.com>
Author
Implemented a functional V1 (not skeleton) with working setup save flow (CSRF + HTTPS validation), queue persistence/processing, and cron workers for outbound/inbound/e-reporting in commit |
Copilot
AI
changed the title
Bootstrap Dolibarr
Implement Dolibarr May 16, 2026
seqino V1 foundation: module descriptor, secure Seqino API client, and packaging-ready structureseqino V1: functional setup panel, queue processing, cron workers, and secure Seqino PDP client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR now delivers a functional V1 of the Dolibarr
seqinomodule (ID185212) for v18/v19/v20+, extending beyond bootstrap scaffolding to working configuration, queue processing, and cron execution flows for Seqino PDP integration.Module scaffold and packaging-ready structure
seqino/withadmin/,class/,class/api/,core/modules/, andlangs/(en_US,fr_FR).Primary descriptor:
modSeqino.class.phpSEQINO_ENVIRONMENTSEQINO_API_BASE_URL_SANDBOXSEQINO_API_BASE_URL_PRODUCTIONSEQINO_API_TOKENSEQINO_API_TIMEOUTSEQINO_CRON_BATCH_SIZESEQINO_TOKEN_USED_COUNTSEQINO_TOKEN_AVAILABLE_COUNTllx_seqino_queuewith queue fields and indexes.Functional admin configuration panel (
seqino/admin/setup.php)Queue and sync runtime implementation
SeqinoQueue: enqueue/fetch/mark-done/mark-error persistence gateway.SeqinoPdpClient: concrete V1 API operations for outbound, inbound draft, and e-reporting payloads.SeqinoSyncService: queue dispatcher with per-type routing and token usage increment (1 payload = 1 token).SeqinoCronJobs: cron entry points that execute queue processing with configurable batch size.Secure REST abstraction for Seqino PDP
AbstractSeqinoApiClientandSeqinoApiExceptionretained and used as V1 transport base:Tests
tests/AbstractSeqinoApiClientTest.php: request/response and error-path coverage for the base API client.tests/SeqinoSyncServiceTest.php: queue processing success/error behavior coverage for sync service flows.<screenshot>https://github.com/user-attachments/assets/c9b65cd2-fdcc-40bc-9c23-40c7dac2027a
Original prompt