Files
Mitgliederverwaltung/composer.json
T
shahondin1624 ee569250ad
Database Portability Tests / Unit Tests (PlatformHelper) (push) Failing after 40s
Database Portability Tests / Integration (mysql) (push) Has been skipped
Database Portability Tests / Integration (postgres) (push) Has been skipped
Database Portability Tests / Integration (sqlite) (push) Has been skipped
Database Portability Tests / Verify no MySQL-specific SQL (push) Successful in 5s
Fix N+1 query problem in MemberService (Closes #200)
- MemberMapper: 8 new *WithRelations() methods that fetch members with
  addresses, phones, and emails in a single query using LEFT JOINs
- MemberMapper: addJoinClauses() and fetchWithRelations() private helpers
  that handle JOIN duplication (one member × multiple sub-entities)
- MemberService: refactored findAll, findByFamily, findByStatus, search,
  findByBirthdayThisMonth, findWithUnpaidFees, findFiltered, fullTextSearch
  to delegate to joined mapper methods
- MemberService: added arrayToMember() and arrayToAddress() helpers so
  buildMatchContext() works with flat-array results from fullTextSearch
- MemberServiceTest: updated all existing tests to mock new method names
  and return flat-array format with nested sub-entities
- MemberServiceTest: added 10 new tests covering joined methods, backward
  compatibility, and correct shape of returned data
- Moved issue-200 plan from open/ to done/
2026-04-28 21:35:42 +02:00

30 lines
718 B
JSON

{
"name": "shahondin1624/mitgliederverwaltung",
"description": "Nextcloud app for managing scout group members",
"type": "project",
"license": "AGPL-3.0-or-later",
"require": {
"php": ">=8.1",
"tecnickcom/tcpdf": "^6.7"
},
"autoload": {
"psr-4": {
"OCA\\Mitgliederverwaltung\\": "lib/"
}
},
"autoload-dev": {
"psr-4": {
"OCA\\Mitgliederverwaltung\\Tests\\": "tests/"
},
"classmap": [
"vendor/nextcloud/ocp/OCP"
]
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"nextcloud/ocp": "^28",
"doctrine/dbal": "^3.0",
"sabre/vobject": "^4.5"
}
}