Commit graph

60 commits

Author SHA1 Message Date
582dae4b95
Add DeleteAttachment class to handle attachment deletion requests
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-03 13:54:23 -04:00
9d19fc2ef4
Update attachment routes to use plural form and add DELETE method handling 2025-06-03 13:47:22 -04:00
0b463fa70c
Add authentication check for operator permissions in DownloadAttachment 2025-06-03 13:41:04 -04:00
1109a6547b
Allow LIST_OPERATORS case to handle both GET and POST requests
Some checks are pending
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-03 01:12:16 -04:00
705bfa9094
Restrict LIST_OPERATORS case to only handle GET requests 2025-06-03 01:12:03 -04:00
9a6f9471f2
Add getOperators method to retrieve a paginated list of operators with error handling
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-03 01:11:38 -04:00
459cd1e27e
Refactor operator UUID handling in multiple methods to improve validation and error messaging
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-03 01:09:00 -04:00
237af23690
Add LIST_OPERATORS case to handle operator listing requests
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-03 01:04:44 -04:00
0d6447f8df
Refactor method namespaces to improve organization and clarity 2025-06-03 01:03:02 -04:00
3cdcbbdd70
Refactor GetOperator method to validate operator UUID from request path and improve error handling 2025-06-03 00:47:39 -04:00
128469efa1
Add GET_OPERATOR case to handle operator retrieval requests with validation 2025-06-03 00:47:32 -04:00
fa53c687ab
Add ManageClientPermission method to handle client permission management with validation 2025-06-03 00:42:45 -04:00
9358366f3c
Add ManageBlacklistPermission method to handle blacklist permission management with validation 2025-06-03 00:40:44 -04:00
7ab602eef0
Add ManageOperatorsPermission method to handle operator permission management with validation
Some checks are pending
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / release (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-03 00:38:21 -04:00
c816ed59fe
Add RefreshOperatorApiKey method to handle API key refresh requests with permission checks 2025-06-03 00:33:19 -04:00
a278d5cc25
Add GetOperator method to retrieve operator details with permission checks
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-02 21:33:46 -04:00
bfabbe3e17
Add ENABLE_OPERATOR method mapping for operator management
Some checks are pending
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / release (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-02 21:31:39 -04:00
aaa2b5ab70
Add EnableOperator method to manage operator status and log actions
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-02 21:30:53 -04:00
bf36bb6847
Add new audit log types for operator and entity actions
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-02 21:27:00 -04:00
51dfc1e9a5
Refactor request handling in FederationServer to streamline method matching and improve error responses
Some checks are pending
CI / check-phpdoc (push) Waiting to run
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-02 21:09:18 -04:00
319aa80159
Add confidentiality handling to evidence management
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-06-02 18:29:58 -04:00
c3748c5f51
Add logging functionality and request handling classes 2025-06-02 18:29:47 -04:00
6f2c93d954
Add logging functionality and request handling classes 2025-06-02 18:29:41 -04:00
e9ce416bb7
Add confidential flag to evidence table for access control 2025-06-02 18:29:27 -04:00
ebcda77d9c
Add DownloadAttachment class to handle file downloads and permissions validation 2025-06-02 18:29:23 -04:00
e23d3280ee
Add DeleteOperator class to handle operator deletion and logging 2025-06-02 18:29:18 -04:00
235787d223
Add CreateOperator class to handle operator creation and logging 2025-06-02 18:29:12 -04:00
58ae95d58a
Add default configuration for server base URL and logging of unauthorized requests 2025-06-02 18:29:06 -04:00
ab6583d679
Add new audit log types for operator actions and attachment uploads 2025-06-02 18:29:02 -04:00
f2ff7f1dc7
Enhance audit logging with detailed operator and entity information validation and logging 2025-06-02 18:28:37 -04:00
f341af7ea5
Implement file upload handling with size and MIME type validation, and add configuration for max upload size and storage path
Some checks failed
CI / release (push) Has been cancelled
CI / debug (push) Has been cancelled
CI / check-phpunit (push) Has been cancelled
CI / check-phpdoc (push) Has been cancelled
CI / generate-phpdoc (push) Has been cancelled
CI / test (push) Has been cancelled
CI / release-documentation (push) Has been cancelled
CI / release-artifacts (push) Has been cancelled
2025-05-30 17:44:24 -04:00
14ed24049e
Refactor date handling to use DateTime directly and improve PDO usage consistency
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / test (push) Blocked by required conditions
CI / generate-phpdoc (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-05-30 12:04:45 -04:00
e42505873c
Add SQL resource files for audit log, blacklist, entities, evidence, and file attachments
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-05-30 12:03:00 -04:00
c20cd2e10b
Add file_attachments table for storing file attachments related to evidence records 2025-05-30 12:02:57 -04:00
c68f1d206e
Add evidence table for storing evidence records and related information 2025-05-30 12:02:51 -04:00
51b501e329
Add entities table for storing known entities and their attributes 2025-05-30 12:02:47 -04:00
daf2035363
Add blacklist table for managing blacklisted entities and reasons 2025-05-30 12:02:41 -04:00
dcc710b812
Add audit_log table for tracking audit events and actions 2025-05-30 12:02:36 -04:00
f72cc638ef
Add ServerConfiguration for managing server settings and API key
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-05-30 11:59:11 -04:00
877a028407
Add BlacklistManager for managing blacklist entries and operations 2025-05-30 11:45:33 -04:00
439316de55
Refactor EntitiesManager to use local exceptions and improve error handling 2025-05-30 11:37:47 -04:00
2b59713253
Add EntitiesManager for managing entity records and operations 2025-05-29 21:39:07 -04:00
55e4288992
Add EvidenceManager for managing evidence records and operations 2025-05-29 21:26:40 -04:00
1d43524679
Refactor FileAttachmentManager to use PDO directly for fetching records 2025-05-29 21:21:47 -04:00
7f596b3d2b
Add FileAttachmentManager for managing file attachment records and operations 2025-05-29 21:14:16 -04:00
75eb635337
Add AuditLogManager for managing audit log entries and operations
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-05-29 20:48:11 -04:00
857b1d8ddf
Added AuditLogType and AuditLogRecord
Some checks are pending
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / release (push) Waiting to run
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-05-29 20:10:56 -04:00
3d4a99b6a7
Add EntityRecord class for managing entity data and serialization 2025-05-29 20:00:33 -04:00
1fa33b2067
Add BlacklistRecord class for managing blacklist data and serialization
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-05-29 19:58:32 -04:00
9ee9e59db0
Add EvidenceRecord class for managing evidence data and serialization
Some checks are pending
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-05-29 19:53:36 -04:00