Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cd0c1a71e | ||
|
|
4076431c7b | ||
|
|
56154f6626 | ||
|
|
102ee9427b | ||
|
|
5671c8b4d6 | ||
|
|
1508e62e49 |
+5
-1
@@ -70,4 +70,8 @@ phpunit.xml
|
|||||||
*.crt
|
*.crt
|
||||||
*.p12
|
*.p12
|
||||||
private/
|
private/
|
||||||
secrets/
|
secrets/
|
||||||
|
# Caches de testes e logs de sessões de agentes
|
||||||
|
.phpunit.cache/
|
||||||
|
.claude-logs/
|
||||||
|
graphify-out/
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# create-new-feature.sh
|
||||||
|
# Author: Descomplicar® Crescimento Digital
|
||||||
|
# Link: https://descomplicar.pt
|
||||||
|
# Copyright: 2025 Descomplicar®
|
||||||
|
|
||||||
|
|
||||||
# create-new-feature.sh - Spec-Driven Development Feature Creator
|
# create-new-feature.sh - Spec-Driven Development Feature Creator
|
||||||
# Usage: ./create-new-feature.sh --json "feature description"
|
# Usage: ./create-new-feature.sh --json "feature description"
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# setup-plan.sh
|
||||||
|
# Author: Descomplicar® Crescimento Digital
|
||||||
|
# Link: https://descomplicar.pt
|
||||||
|
# Copyright: 2025 Descomplicar®
|
||||||
|
|
||||||
|
|
||||||
# setup-plan.sh - Setup Implementation Plan with Context7 + Web Research integration
|
# setup-plan.sh - Setup Implementation Plan with Context7 + Web Research integration
|
||||||
# Usage: ./setup-plan.sh --json
|
# Usage: ./setup-plan.sh --json
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
---
|
||||||
|
type: Document
|
||||||
|
title: Agents
|
||||||
|
description: Governance de agentes IA para este sub-projecto
|
||||||
|
tags: [dev, subproject, governance]
|
||||||
|
---
|
||||||
|
# AGENTS.md — Governance de Agentes IA
|
||||||
|
|
||||||
|
## Identidade do Projecto
|
||||||
|
- **Repositório**: care-book-block-ultimate
|
||||||
|
- **Localização**: `/media/ealmeida/Dados/Dev/Care/care-book-block-ultimate/`
|
||||||
|
- **CRM**: Task #[mapeamento pendente] | Projecto: [mapeamento pendente]
|
||||||
|
- **Modelo Base**: Hub → `05-Projectos/Modelo-Organizacao-Proc-Dev/`
|
||||||
|
|
||||||
|
## Directrizes de Operação
|
||||||
|
|
||||||
|
### 1. PT-PT e Precisão
|
||||||
|
Toda a interacção, comentários, commits e documentação devem ser em português europeu, com acentos e cedilhas.
|
||||||
|
|
||||||
|
### 2. MCP-first
|
||||||
|
- **Desk CRM**: Consultar/actualizar via MCP desk-crm-v3
|
||||||
|
- **Gitea**: Commits e gestão de versões via MCP gitea
|
||||||
|
- **SSH**: Apenas se necessário para validação remota
|
||||||
|
- **Memória IJFW**: Guardar contexto persistente via ijfw-memory
|
||||||
|
|
||||||
|
### 3. Ciclo de Trabalho Obrigatório
|
||||||
|
1. **Validar contexto** — ler AGENTS.md + MEMORY.md + desk.project
|
||||||
|
2. **Executar** — seguir o standard `Hub/05-Projectos/Modelo-Organizacao-Proc-Dev/ESTRUTURA.md`
|
||||||
|
3. **Validar** — registar mudanças em MEMORY.md
|
||||||
|
4. **Registar** — actualizar CRM se houver task_id
|
||||||
|
|
||||||
|
### 4. Validação Obrigatória
|
||||||
|
Nunca dar uma tarefa como concluída sem validar o estado actual.
|
||||||
|
|
||||||
|
## O Que Este Projecto Contém
|
||||||
|
- `docs/PLANS/` — planeamento de features
|
||||||
|
- `docs/SPECS/` — especificações técnicas
|
||||||
|
- `AGENTS.md` — (este ficheiro) governance
|
||||||
|
- `MEMORY.md` — histórico de sessões
|
||||||
|
- `desk.project` — ancoragem CRM (mapeamento pendente)
|
||||||
|
- `CHANGELOG.md` — histórico de versões
|
||||||
|
- `STATUS.md` — estado actual do projecto
|
||||||
|
|
||||||
|
## Referência ao Modelo
|
||||||
|
Consulte `/media/ealmeida/Dados/Hub/05-Projectos/Modelo-Organizacao-Proc-Dev/ESTRUTURA.md` para a hierarquia padrão obrigatória em todos os projectos Descomplicar.
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
type: Document
|
||||||
|
title: Memory
|
||||||
|
description: Histórico de sessões
|
||||||
|
tags: [dev, subproject, historico, sessoes]
|
||||||
|
layer: wiki
|
||||||
|
---
|
||||||
|
# MEMORY.md — care-book-block-ultimate
|
||||||
|
|
||||||
|
## HOJE (sessão inaugural)
|
||||||
|
- Estrutura criada conforme Modelo-Organizacao-Proc-Dev
|
||||||
|
- Pastas docs/PLANS/ e docs/SPECS/ criadas
|
||||||
|
- Documentação AGENTS.md, MEMORY.md, desk.project, STATUS.md iniciada
|
||||||
|
|
||||||
|
---
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
type: Status
|
||||||
|
tags: [dev, subproject, estado, v0.1.0, conformidade]
|
||||||
|
layer: wiki
|
||||||
|
---
|
||||||
|
# STATUS.md — care-book-block-ultimate
|
||||||
|
|
||||||
|
**Versão:** 0.1.0 | **Data:** 2026-06-30
|
||||||
|
|
||||||
|
## Estado actual
|
||||||
|
- **Em curso:** Estruturação inicial completa
|
||||||
|
- **Bloqueios:** Nenhum
|
||||||
|
- **Próximos passos:**
|
||||||
|
- Mapeamento com tarefa Desk CRM (actualizar desk.project)
|
||||||
|
- Adicionar conteúdo a docs/PLANS/ e docs/SPECS/
|
||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* admin.js
|
||||||
|
*
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar®
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Care Book Ultimate - Admin Interface JavaScript
|
* Care Book Ultimate - Admin Interface JavaScript
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"task_id": null,
|
||||||
|
"project_name": "care-book-block-ultimate",
|
||||||
|
"rel_type": "project_documentation",
|
||||||
|
"comment": "Mapeamento com CRM pendente",
|
||||||
|
"updated_at": "2026-06-30"
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# care-book-block-ultimate
|
||||||
|
|
||||||
|
## Documentação
|
||||||
|
|
||||||
|
- [README](README.md)
|
||||||
|
- [AGENTS](AGENTS.md)
|
||||||
|
- [STATUS](STATUS.md)
|
||||||
|
- [MEMORY](MEMORY.md)
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{"timestamp":"2025-09-12T21:30:57.153Z","stats":{"totalTools":0,"successRate":0,"avgDuration":0,"slowQueries":0,"totalQueries":1,"avgQueryTime":326},"metrics":[],"slowQueries":[]}
|
|
||||||
{"timestamp":"2025-09-13T18:12:12.611Z","stats":{"totalTools":0,"successRate":0,"avgDuration":0,"slowQueries":0,"totalQueries":1,"avgQueryTime":535},"metrics":[],"slowQueries":[]}
|
|
||||||
{"timestamp":"2025-09-14T02:56:09.309Z","stats":{"totalTools":0,"successRate":0,"avgDuration":0,"slowQueries":0,"totalQueries":1,"avgQueryTime":310},"metrics":[],"slowQueries":[]}
|
|
||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* phpstan-bootstrap.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.phpstan-bootstrap.php
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHPStan Bootstrap File - WordPress Functions
|
* PHPStan Bootstrap File - WordPress Functions
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* run-tests.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.run-tests.php
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Simple Test Runner for Care Book Block Ultimate
|
* Simple Test Runner for Care Book Block Ultimate
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
|
# check-task-prerequisites.sh
|
||||||
|
# Author: Descomplicar® Crescimento Digital
|
||||||
|
# Link: https://descomplicar.pt
|
||||||
|
# Copyright: 2025 Descomplicar®
|
||||||
|
|
||||||
# Check that implementation plan exists and find optional design documents
|
# Check that implementation plan exists and find optional design documents
|
||||||
# Usage: ./check-task-prerequisites.sh [--json]
|
# Usage: ./check-task-prerequisites.sh [--json]
|
||||||
|
|
||||||
|
|||||||
+6
-1
@@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
|
# common.sh
|
||||||
|
# Author: Descomplicar® Crescimento Digital
|
||||||
|
# Link: https://descomplicar.pt
|
||||||
|
# Copyright: 2025 Descomplicar®
|
||||||
|
|
||||||
# Common functions and variables for all scripts
|
# Common functions and variables for all scripts
|
||||||
|
|
||||||
# Get repository root
|
# Get repository root
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
|
# create-new-feature.sh
|
||||||
|
# Author: Descomplicar® Crescimento Digital
|
||||||
|
# Link: https://descomplicar.pt
|
||||||
|
# Copyright: 2025 Descomplicar®
|
||||||
|
|
||||||
# Create a new feature with branch, directory structure, and template
|
# Create a new feature with branch, directory structure, and template
|
||||||
# Usage: ./create-new-feature.sh "feature description"
|
# Usage: ./create-new-feature.sh "feature description"
|
||||||
# ./create-new-feature.sh --json "feature description"
|
# ./create-new-feature.sh --json "feature description"
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
|
# get-feature-paths.sh
|
||||||
|
# Author: Descomplicar® Crescimento Digital
|
||||||
|
# Link: https://descomplicar.pt
|
||||||
|
# Copyright: 2025 Descomplicar®
|
||||||
|
|
||||||
# Get paths for current feature branch without creating anything
|
# Get paths for current feature branch without creating anything
|
||||||
# Used by commands that need to find existing feature files
|
# Used by commands that need to find existing feature files
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
|
# setup-plan.sh
|
||||||
|
# Author: Descomplicar® Crescimento Digital
|
||||||
|
# Link: https://descomplicar.pt
|
||||||
|
# Copyright: 2025 Descomplicar®
|
||||||
|
|
||||||
# Setup implementation plan structure for current branch
|
# Setup implementation plan structure for current branch
|
||||||
# Returns paths needed for implementation plan generation
|
# Returns paths needed for implementation plan generation
|
||||||
# Usage: ./setup-plan.sh [--json]
|
# Usage: ./setup-plan.sh [--json]
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
|
# update-agent-context.sh
|
||||||
|
# Author: Descomplicar® Crescimento Digital
|
||||||
|
# Link: https://descomplicar.pt
|
||||||
|
# Copyright: 2025 Descomplicar®
|
||||||
|
|
||||||
# Incrementally update agent context files based on new feature plan
|
# Incrementally update agent context files based on new feature plan
|
||||||
# Supports: CLAUDE.md, GEMINI.md, and .github/copilot-instructions.md
|
# Supports: CLAUDE.md, GEMINI.md, and .github/copilot-instructions.md
|
||||||
# O(1) operation - only reads current context file and new plan.md
|
# O(1) operation - only reads current context file and new plan.md
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* AjaxHandler.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Admin
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* AJAX Handler - Admin Interface AJAX Endpoints
|
* AJAX Handler - Admin Interface AJAX Endpoints
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* CacheInvalidator.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Cache
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Intelligent Cache Invalidation System
|
* Intelligent Cache Invalidation System
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* CacheManager.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Cache
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Cache Manager - Advanced WordPress Transients System
|
* Cache Manager - Advanced WordPress Transients System
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* PerformanceConfig.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Config
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Performance Configuration Manager
|
* Performance Configuration Manager
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* ConnectionManager.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Database
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Database Connection Manager
|
* Database Connection Manager
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* HealthCheck.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Database
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Database Health Check and Monitoring System
|
* Database Health Check and Monitoring System
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* Migration.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Database
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Database Migration System
|
* Database Migration System
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* QueryBuilder.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Database
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Advanced Query Builder
|
* Advanced Query Builder
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* Schema.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Database
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Database Schema Management System
|
* Database Schema Management System
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* HookManager.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Integrations
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* KiviCare Hook Manager - Integration System
|
* KiviCare Hook Manager - Integration System
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* Restriction.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Models
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Restriction Model
|
* Restriction Model
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* RestrictionType.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Models
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Restriction Type Enum
|
* Restriction Type Enum
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* PerformanceTracker.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Monitoring
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Performance Monitoring and Tracking System
|
* Performance Monitoring and Tracking System
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* MemoryManager.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Performance
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Memory Management System
|
* Memory Management System
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* QueryOptimizer.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Performance
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Database Query Optimizer
|
* Database Query Optimizer
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* ResponseOptimizer.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Performance
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* AJAX Response Optimizer
|
* AJAX Response Optimizer
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* RestrictionRepository.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Repositories
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Restriction Repository Implementation
|
* Restriction Repository Implementation
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* RestrictionRepositoryInterface.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Repositories
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Restriction Repository Interface
|
* Restriction Repository Interface
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* CapabilityChecker.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Security
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Capability Checker - Role-based Access Control Layer
|
* Capability Checker - Role-based Access Control Layer
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* InputSanitizer.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Security
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Input Sanitizer - Advanced Input Validation and Sanitization Layer
|
* Input Sanitizer - Advanced Input Validation and Sanitization Layer
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* NonceManager.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Security
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Nonce Manager - WordPress Nonce Validation Layer
|
* Nonce Manager - WordPress Nonce Validation Layer
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* RateLimiter.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Security
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Rate Limiter - Advanced Request Rate Limiting Layer
|
* Rate Limiter - Advanced Request Rate Limiting Layer
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* SecurityIntegration.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Security
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Security Integration - WordPress Plugin Security Integration
|
* Security Integration - WordPress Plugin Security Integration
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* SecurityLogger.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Security
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Security Logger - Comprehensive Security Event Logging & Monitoring
|
* Security Logger - Comprehensive Security Event Logging & Monitoring
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* SecurityValidationResult.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Security
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Security Validation Result - Comprehensive Validation Result Container
|
* Security Validation Result - Comprehensive Validation Result Container
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* SecurityValidator.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Security
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Master Security Validator - 7-Layer Enterprise Security System
|
* Master Security Validator - 7-Layer Enterprise Security System
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* ValidationLayerResult.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Security
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Validation Layer Result - Individual Security Layer Result Container
|
* Validation Layer Result - Individual Security Layer Result Container
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* CssInjectionService.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.src.Services
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Optimized CSS Injection Service
|
* Optimized CSS Injection Service
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* bulk-operations.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.templates.admin
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Bulk Operations Template - Care Book Ultimate
|
* Bulk Operations Template - Care Book Ultimate
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* dashboard.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.templates.admin
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Admin Dashboard Template
|
* Admin Dashboard Template
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* main-interface.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.templates.admin
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Main Admin Interface Template - Care Book Ultimate
|
* Main Admin Interface Template - Care Book Ultimate
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* restrictions.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.templates.admin
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Restrictions Management Template
|
* Restrictions Management Template
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* settings-page.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.templates.admin
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Settings Page Template - Care Book Ultimate
|
* Settings Page Template - Care Book Ultimate
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* KiviCareIntegrationTest.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Integration
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Tests for KiviCare Integration
|
* Tests for KiviCare Integration
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* WordPressHooksTest.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Integration
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Tests for WordPress Hooks Integration
|
* Tests for WordPress Hooks Integration
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* DatabaseMock.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Mocks
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Database Mock for Testing
|
* Database Mock for Testing
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* KiviCareMock.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Mocks
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* KiviCare Mock for Testing
|
* KiviCare Mock for Testing
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* WordPressMock.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Mocks
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* WordPress Mock for Testing
|
* WordPress Mock for Testing
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* DatabasePerformanceTest.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Performance
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Tests for Database Performance
|
* Tests for Database Performance
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* CacheManagerTest.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Unit
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Tests for Cache Manager
|
* Tests for Cache Manager
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* RestrictionTest.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Unit
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Tests for Restriction Model
|
* Tests for Restriction Model
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* RestrictionTypeTest.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Unit
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Tests for RestrictionType Enum
|
* Tests for RestrictionType Enum
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* SecurityValidatorTest.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Unit
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Security Validator Tests - Comprehensive Security Testing
|
* Security Validator Tests - Comprehensive Security Testing
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* TestHelper.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.Utils
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Test Helper Utilities
|
* Test Helper Utilities
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* bootstrap.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.bootstrap.php
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PHPUnit Bootstrap File
|
* PHPUnit Bootstrap File
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* PerformanceBenchmarkTest.php
|
||||||
|
*
|
||||||
|
* @package care-book-block-ultimate.tests.performance
|
||||||
|
* @author Descomplicar® Crescimento Digital
|
||||||
|
* @link https://descomplicar.pt
|
||||||
|
* @copyright 2025 Descomplicar® - Todos os direitos reservados
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Performance Benchmark Test Suite
|
* Performance Benchmark Test Suite
|
||||||
|
|||||||
Reference in New Issue
Block a user