* feat: upgrade to CakePHP 5.1 (#2120)
* refactor: apply rector for cakephp5
* test: fix data provider as static
* fix: phpcs stuff
* fix: phpcs stuff
* chore: update bootstrap app
* feat: upgrade packages in composer
* fix: migrations signature
* fix: replace deprecated _cake_core conf
* fix: wrong or missing signature
* feat: cakephp 5.1
* fix: sginature
* chore: gitignore
* fix: migrations
* fix: test bootstrap
* fix: cs autofix
* fix: type hint
* chore(deps): use bedita/dev-tools 3
* refactor: type hinting and deprecations
* refactor: remove shells
* ci: remove PHP 7.4 and 8.0
* chore: fix annotations for models
* chore: gitignore
* refactor: use QueryFactory
* test: refactor for select query
* ci: update PHP version in scrutinizer conf
* ci: specify complete PHP version for scrutinizer
* refactor: remove ErrorHandler since it was removed from cake5
* chore: phpcs stuff
* fix: remove wrong param check since it was checked by type error
* fix: date time type
* test: fix exception test
* fix: date and datetime type
* chore: remove useless date conf from bootstrap
* refactor: improve type hinting
* test: remove static::getMockBuilder
* fix: type hinting and cs
* fix: type hintings
* fix: add manyToPHP method to JsonObjectType
* fix: ORM tests
* refactor: move schema setup in initialize
* test: fix Table initialize test
* deps: support only PHP >= 8.3
* chore: update phpunit dep
* chore: align composer deps
* fix: typehint and other
* test: return type
* test(fix): type of $fixtures
* chore: update conflict in composer json
* fix: typehint
* fix: model tables
* fix: entities
* fix: use newEmptyEntity
* test: phpunit config formatting
* fix: behaviors
* test: fix little things
* fix: listAssociations signature
* refactor: simplify FilesystemAdapter
* fix: filesystem tests
* test(fix): Job tests
* refactor: replace deprecated Email class with Mailer
* test: fix migrations tests
* refactor: remove unused Database methods
* test: fix bootstrap cleanup
* test(chore): remove useless check on db vendor
* fix: core actions
* chore: deprecations
* chore: remove carraige return between license block and namespace
* refactor: remove call to not existant method
* fix: commands
* chore: php cs
* fix: some API class
* fix. pagination meta
* fix: argument type
* fix: remove RequestHandlerComponent
* feat: introduce ErrorController to force content negotiation to use JsonApiView
* fix: some API tests
* refactor: content type negotiation
* fix: miscellaneous API
* test: fix response code
* test: remove coverage on missing method
* test: improve coverage
* chore: phpcs
* refactor: replace Query with SelectQuery
* refactor: remove deprecated old conf for simple search
* fix: set content type in error context
* fix: pass array to addCount
* test: remove useless test
* ci: remove MySQL 5.7
* chore: remove unused Query class
* chore: test db dsn
* test: fix validation messages
* chore: remove unused use statement
* chore: upgrade dev-tools
* fix(test): use LegacyPasswordHasher
* chore: types hinting
* fix: use getQueryBuilder
* fix: broken things after 5-salix merge
* fix: typehint
* chore(deps): update dependencies
* chore(deps): upgrade authentication and authorization plugins
* chore: remove 5.2 deprecations
* chore: remove deprecations
* fix: deprecations and validations
* fix: mark content as original
* test: fix command tests
* fix: do not return from beforeFilter
* Refactor finder introducing "Filter Finders" (#2133)
* feat: introduce interface and trait to invoke filter finders
* refactor(tests): use of named params in finder
* refactor: remove Table from interface signature
* chore: implementedFilters conf
* test: add tests for FinderFilterTrait
* refactor: remove filters map since we have no control when behaviors are added or removed dynamically
* feat: filters for inheritance
* feat: introduce date ranges sort enum
* refactor: use named parameters in ObjectsTable finder
* chore: code coverage ignore
* refactor: finder for custom props uses named parameters
* refactor: categories finder
* refactor: properties finder
* refactor: config table finders
* refactor: findResource finder
* refactor: tags table finders
* refactor: geo finder
* refactor: historyEditor finder
* refactor: search query finder
* refactor: findStatusLevel
* refactor: ApplicationsTable finders
* refactor: AsyncJobsTable finders
* refactor: endpoint permissions finder
* refactor: ExternalAuthTable finders
* refactor: FoldersTable 'roots' finder become public
* refactor: ObjectTypesTable finders
* refactor: RelationsTable finders
* refactor: change visibility of findMine finder
* refactor: TranslationsTable finders
* refactor: TreesTable finders
* refactor: UsersTable finders
* refactor: finders call
* refactor: remove deprectaions on get()
* chore: removed unused use statements
* fix: tests and finders
* fix: handle wrong named argument
* test: ensure to remove logged user after tests
* test: fix deprecations and data
* test: remove phpunit static provider deprecations
* test: delete unversioned file cloned
* test: move reset user in setUp
* test: fix bad token test
* test: set anonymous table alias for postgres
* test: add test case for DateRangesSortFieldEnum
* test: fix testFindHistoryEditor
* test: fix min version for cakephp/migrations for lowest deps
* chore(deps): update deps
* Remove rdohms/phpunit-arraysubset-asserts (#2146)
* refactor: remove rdohms/phpunit-arraysubset-asserts
* chore: add doc about TestArraySubsetTrait
* chore: we are in 2025
* chore: fix phpcs stuff
* chore: phpcs
* test: fix errors with PHPunit 11
* chore: remove unused "use" statement
* Move to PHPUnit 11 or 12 (#2149)
* refactor: remove phpunit deprecations
* refactor: remove deprecation of WebExceptionRenderer::$exceptionHttpCodes
* test: remove PHPunit deprecations from API
* test: remove phpunit deprecation in Core
* test: remove PHPunit deprecations
* deps: update codesniffer
* chore: apply codesniffer fix
* chore: tuning phpcs
* refactor: remove deprecated loadIdentifier()
* test: fix use of final constructor to setup fixture
* test: remove deprecate PHPunit annotations in integration tests
* test: fix testAuthFixtures
* test: remove deprecated #[CoversNothing] from methods
* test: fix php cs
* test: fix wrong attributes
* chore: update deps
* style: fix phpcs config after upgrading
* chore: upgrade deps
* test: update minimum version of phpunit 11
* fix: upgrade cake and migration
* fix: clear cache afte execute resource migrations
* refactor: migration deprecations removed
* fix: do not drop foreign key in sqlite
* fix: avoid to set column type if not exists
Needed in migrations process.
* refactor: remove deprecations in seeds
* chore: remove unused use statement
* test: fix deprecations
* chore: update dockerfile to use PHP 8.4 [skip ci]
* chore: update default project name [skip ci]
* chore: phpcs stuff
* fix: image thumbs test
* test: use PHPunit attributes instead of annotations
* chore: code styling and disclaimer
* test: remove setup() in command test when useless
* fix: command after merge from 5-salix
* chore: coding style
* fix: fix stuff after merge 5-salix
* chore: remove deprecation from last migration
* test: fix exception message
* chore: dump schema
* fix: set password with env var in AdminSeed
* chore: test db name
* feat: upgrade lib deps (#2160)
* feat: upgrade lib deps
* chore: catch RuntimeException exception instead of throwable
* fix: update main branch and distribution branches in release workflow
* Enable operators on custom properties filters (#2162)
* feat: introduce operator filters for custom props
* test: custom prop operator filters test cases
* fix: copilot suggestions
* chore: comment improvemente [ci skip]
* fix: condition setup for MySQL
* chore: update database vendor versions in CI configuration
* fix: 'null' operator usage
* test: improve coverage
* test: more integration test cases on filters
* chore: suggestions from code review (thx @batopa)
Co-authored-by: Alberto Pagliarini <batopa@gmail.com>
* refactor: update return types for expression methods
---------
Co-authored-by: Alberto Pagliarini <batopa@gmail.com>
* Introduce Enum Types (#2161)
* feat: introduce ObjectStatus enum
* test: support ObjectStatus enum
* chore: phpcs
* chore: remove useless label from enum
* feat: add RelationTypeSide enum
* refactor: use CakePHP convention for enum
* fix: remove ObjectEntityStatus from behavior used by more tables
* feat: add TranslationStatus enum
* feat: CaptionStatus enum
* feat: HistoryUserAction enum
* test: test EnumValuesTrait
* fix: phpcs
* fix: use enum validation instead of inList
* test: fix enum use
* refactor: adjust some stuff after review
* ci: try to debug posgres failure
* ci: postgres failure
* chore: remove exception test
* test: remove deprecated #[CoversNothing] on method
* ci: uncomment testExecuteByTypes()
* ci: another test for postgres failure
* test: restore search config after tests
* test: skip postgres
* ci: skip BuildSearchINdexCommandTest for Postgres
* ci: restore all ci
---------
Co-authored-by: Stefano Rosanelli <stefano.rosanelli@gmail.com>
---------
Co-authored-by: Stefano Rosanelli <stefano.rosanelli@gmail.com>