* Bump dependencies for Laravel 10
* Update GitHub Actions for Laravel 10
* ci: do not test L10 using PHP 7.3
* drop < L9 support
* use `dispatch_sync` instead of `dispatch_now`
* migrate phpunit configuration
* Update ci.yml
* drop laravel < 9 support
* misc L10 fixes, new docker image
* specify odbc version
* wip
* properly list php versions as strings
* minor changes
* Add `getValue($queryGrammar)` to raw query
* Clean up `isVersion8` code
* rewrite hasFailed assertion
* phpunit schema update
* Upgrade `doctrine/dbal`
---------
Co-authored-by: Samuel Štancl <samuel@archte.ch>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
Co-authored-by: lukinovec <lukinovec@gmail.com>
* Add Vite helper for tenancy
* Move Vite bundler to an Optional Feature
* Rename to foundation vite
* Add ViteBundlerTest
* Add missing end of file
* Update tests
* remove unnecessary end() call
Co-authored-by: Samuel Štancl <samuel@archte.ch>
* Fix ArgumentCount exception on the TenantAssetsController when no `$path` is provided
* CS
* CS
* Handle null case explicitly
* code style
Co-authored-by: Bram Wubs <bram@sibi.nl>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
* Update PostgreSQLSchemaManager to set correct config key value
* Update to use version_compare
* Update TenantDatabaseManagerTest
* Improve TenantDatabaseManagerTest
* Update TenantDatabaseManager
* try specifying the signature in __construct
* constructor doesn't work since Reflection is used, try specifying getDefaultName() instead
* Fixed: make migration commands compatible
* Fix failing tests
* Fix username generation
* Re-create tmp dir as well if needed
* wip
* Test on Laravel 9
* Don't extend final Kernel class
* Make FilesystemTenancyBootstrapper compatible with Flysystem v3
Co-authored-by: George <jiri.zizka@funfirst.cz>
* Update tenant maintenance mode te be in line with Laravel
* Exclude PHP 7.4 <> L9 combination from testing
* add root_override-related assertions
* getPrefix -> getPathPrefix
* handle / inconsistency in s3 prefix
* Refactor Storage facade changes
Co-authored-by: George <jiri.zizka@funfirst.cz>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
* Upgrade vlucas/phpdotenv to ^5.0
`Dotenv::create($paths)` was the syntax for releases before v4
* Remove vlucas/phpdotenv dependency and make it work with newer versions.
* Fix issue 521: Array input for `--tenants`
Tenancy for Laravel docs refer to using multiple `--tenants=<...> ` options when running a command for multiple tenants explicitly: https://tenancyforlaravel.com/docs/v3/console-commands
However, the command input is not defined correctly to receive arrays.
https://laravel.com/docs/7.x/artisan#input-arrays
This PR adds a failing test, fixes the issue and corrects a typo in the contributing readme.
* Styleci
Co-authored-by: Dylan Harbour <dylanh@ringier.co.za>