* add comment in seed config for clarification
* test tenant creation seeding also in production environments (with force)
* revert changes in DatabasePreparationTest
The original Vite Facade uses the assetPathResolver closure (if set) to generate assets with a custom URL. This is needed when for example assets are cached on a CDN, or if you need assets from a central URL while in Tenant context.
This updates the Tenancy version of the Vite-Facade to bring back the assetPathResolver logic.
* Laravel 11 support
* wip
* trigger ci
* fix ci file
* try setting charset and collation on the default mysql connection
* Set default cache driver to redis in tests
* drop and recreate id column separately in autoincrement_ids_are_supported
* set default redis client to predis in tests
* revert fail-fast
* try reverting TenantModelTest change
* migrate phpunit configuration
* add parent::tearDown() call
* Make universal routes work for controller middleware
* add a fallback
---------
Co-authored-by: chillbram <7299762+chillbram@users.noreply.github.com>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
* 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>