fix(perfexcrm module): align version to 3.0.1, unify entrypoint, and harden routes/views

- Bump DESK_MOLONI version to 3.0.1 across module
- Normalize hooks to after_client_* and instantiate PerfexHooks safely
- Fix OAuthController view path and API client class name
- Add missing admin views for webhook config/logs; adjust view loading
- Harden client portal routes and admin routes mapping
- Make Dashboard/Logs/Queue tolerant to optional model methods
- Align log details query with existing schema; avoid broken joins

This makes the module operational in Perfex (admin + client), reduces 404s,
and avoids fatal errors due to inconsistent tables/methods.
This commit is contained in:
Emanuel Almeida
2025-09-11 17:38:45 +01:00
parent 5e5102db73
commit c19f6fd9ee
193 changed files with 59298 additions and 638 deletions

24
CLAUDE.md Normal file
View File

@@ -0,0 +1,24 @@
# desk-moloni Development Guidelines
Auto-generated from all feature plans. Last updated: 2025-09-10
## Active Technologies
- + (001-desk-moloni-integration)
## Project Structure
```
src/
tests/
```
## Commands
# Add commands for
## Code Style
: Follow standard conventions
## Recent Changes
- 001-desk-moloni-integration: Added +
<!-- MANUAL ADDITIONS START -->
<!-- MANUAL ADDITIONS END -->