Sami Mazouz
6b336c5ea8
chore: update dependencies ( #4012 )
...
* chore: phpunit 10
* chore: config
* Apply fixes from StyleCI
* chore: phpunit 11 (php 8.2 minimum requirement)
* feat: laravel 11
* Apply fixes from StyleCI
* feat: carbon v3
* fixes
2024-08-06 16:50:09 +01:00
Sami Mazouz
379298acb0
feat: add support for PgSQL ( #3985 )
...
* feat: add support for `PgSQL`
* chore: generate dump
* feat: query exception errors db driver hint
* feat: allow defining supported databases
* chore: review comments
* feat: setting for pgsql preferred search config
2024-06-22 08:03:56 +01:00
Sami Mazouz
eb6e599df1
feat: add support for SQLite
( #3984 )
...
* feat: add support for sqlite
* chore: add warning on install
* fix: ignore constraints before transaction begins
* chore: update workflow
* Apply fixes from StyleCI
* chore: generate sqlite dump and manually add foreign keys
* chore: fix actions
* chore: fix actions
* chore: fix actions
* chore: fix actions
* chore: fix actions
* chore: fix actions
* test: fix
* Apply fixes from StyleCI
* fix: sqlite with db prefix
* Apply fixes from StyleCI
* fix: statistics sqlite
2024-06-21 07:25:11 +01:00
Davide Iadeluca
1e7eddb61e
ci: allow custom actions runner to be defined ( #3988 )
2024-05-16 17:30:13 +01:00
IanM
8f29b7af82
feat: support composer auth ( #3961 )
2024-01-22 18:57:54 +01:00
Sami Mazouz
d400dcbc2f
feat: dispatch event to flarum/installation-packages
on release ( #3625 )
2024-01-19 09:54:26 +01:00
IanM
723cb73d48
Enable testing on PHP 8.3 ( #3932 )
2023-11-23 18:48:24 +01:00
IanM
ee34217b15
test: add MySQL 8.1 to the suite ( #3870 )
...
* Test using MySQL 8.1 also
* fix: db not added to matrix
* chore: add MySQL 8.1 to prefix tests
2023-09-14 21:04:25 +01:00
Sami Mazouz
493ffa0538
chore(phpstan): upgrade to be compatible with latest dependency updates ( #3835 )
2023-06-15 17:49:39 +01:00
Sami Mazouz
64b25b26c3
chore: improve test suite ( #3814 )
...
Allows running tests without constantly running `composer install` on each extension.
2023-06-15 13:26:39 +01:00
Sami Mazouz
6f11e044a7
chore: update codebase to php8.1 ( #3827 )
...
* chore: set minimum php version to 8.1
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: update codebase to php8.1
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: update workflow php version
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: more caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: phpstan caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: introduce `Flarum\Locale\TranslatorInterface`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: remove mixin
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: one last error
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-05-30 11:36:12 +01:00
IanM
1ee5cf6ba9
feat(core): PHP 8.2 Support ( #3709 )
...
* chore: test with php 8.2
* chore: bump httphandlerunnder
* chore: bump httphandlerunner
* chore: address php8.2 deprecation
* chore: php 8.2
* chore: bump less.php version
* avoid dynamic properties
* avoid another dynamic property
* Apply fixes from StyleCI
* tags php82
* php82
* fix: check for property existence
* Rerun checks after s9e/text-formatter update
* chore: disable deprecation warnings for php 8.2
* chore: PHP8.2 does not accept dynamic properties
* chore: temporarily disable package manager tests workflow
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-14 19:09:56 +01:00
Sami Mazouz
b0b47a0888
test: allow specifying php extensions in workflow
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2022-09-30 20:53:50 +01:00
Sami Mazouz
fc4d5e3d43
chore: Setup PHPStan Level 5 ( #3553 )
2022-09-14 15:23:56 +01:00
Sami Mazouz
6de8113720
test: prevent running both push
and pull_request
actions at the same time ( #3597 )
...
Not a 100% perfect solution, however as us maintainers always push branches directly to the original repository and make PRs from those, this is plenty enough. Instead of having 300+ actions in each PR which takes time, we'll just have the normal 171 `push` actions.
This makes sure to still run `pull_request` actions from contributors as they'd be forking the repo.
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-08-13 09:33:37 +01:00
Sami Mazouz
f74f7f58cd
test: refactor prefix matrix and add MySQL 8.0
& PHP 7.3
to workflows ( #3595 )
...
* chore: simplify added prefix tests to matrix without using exclusions
* test: recover 7.3 testing
* test: add mysql 8.0 to matrix
* test: exclude some PHP versions from running with MySQL 8.0 to reduce actions
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-08-12 19:22:38 +01:00
Sami Mazouz
6466427061
chore: move reusable workflows to monorepo ( #3490 )
2022-06-19 11:14:21 +01:00