56dd4117ab
Fix origin id w/ empty header & using full-hostname subdomain records
...
This makes it possible to have Domain records in both `foo` and
`foo.{centralDomain}` format when using the combined domain/subdomain
identification middleware, or the origin header id mw which extends it.
This commit also refactors some related logic.
2024-11-09 20:48:45 +01:00
c199a6e0c8
Merge branch 'master' of github.com:tenancy-for-laravel/v4
2024-10-11 23:01:25 +02:00
10b214c452
add phpstan ignore
2024-10-11 23:01:12 +02:00
lukinovec
5f8a3d2ffe
Improve the tests where the removed universal_channel() was still used ( #64 )
2024-10-11 22:50:38 +02:00
a07ba8c76c
docker: add composer back
2024-10-11 21:54:10 +02:00
PHP CS Fixer
d4b9972600
Fix code style (php-cs-fixer)
2024-10-11 19:32:21 +00:00
9ee1d63dce
sqlite: use WAL journal mode by default
2024-10-11 21:31:54 +02:00
43d821ca49
docker: base Dockerfile on php images, misc improvements
2024-10-11 21:29:54 +02:00
a52efe5cf0
wip broadcasting test fixes
2024-10-03 21:34:05 +02:00
a37dc9b449
reimplement broadcasting channel helpers to support model binding
2024-10-03 21:12:09 +02:00
836a258a78
sqlite: use .sqlite suffix if db.suffix is empty
2024-09-30 16:49:46 +02:00
c6ba62bdd0
ParallelCommand: add -P option for bypassing MAX_PROCESSES
2024-09-30 16:36:37 +02:00
303b52d25a
minor improvements to parallelization logic
2024-09-29 12:42:29 +02:00
075789eb91
fix typo in ParallelCommand
2024-09-29 12:25:46 +02:00
f017b6509b
fix sysctl string
2024-09-27 23:21:08 +02:00
b01c16f4fc
phpstan fixes
2024-09-27 23:16:39 +02:00
39bcbda5d0
parallel commands: core # autodetect, bugfixes, improved output
2024-09-27 23:02:03 +02:00
b4a055315b
improve command output
2024-09-27 22:50:22 +02:00
232f3ceb4e
update prompts dependency
2024-09-27 21:13:20 +02:00
5929ff9da2
rename mail bootstrapper test file
2024-09-27 21:03:39 +02:00
0c105c6d37
backport ed02943 from v3
2024-09-17 18:29:07 +02:00
0fc105487b
Tenant DB manager database() -> connection()
2024-09-12 18:34:45 +02:00
f3e01c1581
fix docblock formatting
2024-09-10 12:02:14 +02:00
8b41ea3184
install command: support noninteractive use
2024-08-30 19:25:54 +02:00
lukinovec
2c0f61585d
Make RootUrlBootstrapper only have an effect in CLI ( #58 )
...
* Interrupt RootUrlBootstrapper's bootstrap() execution if the app isn't running in console, add docblock
* Improve overrideUrlInTenantContext() documentation [ci skip]
* Improve RootUrlBootstrapper [ci skip]
2024-08-28 00:42:36 +02:00
lukinovec
6b74589d76
Update specific attributes of pending tenants while they're being pulled ( #59 )
...
* Add option to update attributes of pending tenants while pulling them
* Fix failing toEqualCanonicalizing tests
* Fix code style (php-cs-fixer)
* fix code errors
* lock phpcsfixer to 3.62.0 due to a bug in 3.63.1
---------
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2024-08-28 00:41:16 +02:00
87e02f207f
more phpstan fixes
2024-08-06 18:26:46 +02:00
PHP CS Fixer
a4318d81bd
Fix code style (php-cs-fixer)
2024-08-06 02:35:55 +00:00
4372e1bef2
fix phpstan errors
2024-08-06 04:35:25 +02:00
PHP CS Fixer
18a16e6a74
Fix code style (php-cs-fixer)
2024-08-06 01:31:16 +00:00
b0b44e902f
Merge branch 'master' of github.com:tenancy-for-laravel/v4
2024-08-06 03:30:47 +02:00
b9ff980293
remove const type
2024-08-06 03:30:32 +02:00
Samuel Štancl
ccf36876b9
update mssql healthcheck
2024-08-06 03:26:26 +02:00
Samuel Štancl
1b0e7d0507
Parallel migrations ( #57 )
...
* parallelize migration-related commands
* Fix code style (php-cs-fixer)
---------
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2024-08-06 02:48:25 +02:00
lukinovec
15d12e22c7
Fix cookie identification ( #56 )
...
* route cloning: Trim '/' from original route prefixes
* Decrypt cookie if encrypted in request data ID MW
* Fix code style (php-cs-fixer)
* Fix PHPStan error [ci skip]
* Revert "route cloning: Trim '/' from original route prefixes"
This reverts commit 3dc97eba1b3b91b3446bc16fd107385fe835621e.
* Fix code style (php-cs-fixer)
* add a setting for requiring cookie encryption
* Fix code style (php-cs-fixer)
---------
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2024-08-06 02:19:11 +02:00
lukinovec
0f7cd2e868
Trim trailing / from route prefixes during route cloning ( #55 )
...
* route cloning: Trim '/' from original route prefixes
* Add test for the trimming of route prefixes
* Revert "Add test for the trimming of route prefixes"
This reverts commit 568ae17d2bf8d5542a0e46840f7604c6a0df236d.
* Add test for the trimming of route prefixes
* Delete extra comments [ci skip]
* Fix regression test [ci skip]
* trigger CI
* Add routes with trailing slashes to the cloned route prefixing test
* Test nested '/' route cloning
* Update cloned route creation as suggested
* fix terminology
* add comment to test
---------
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2024-08-06 02:15:18 +02:00
lukinovec
a9ab646e59
Set fortifyHome in stub when using request ID [ci skip] ( #51 )
2024-07-30 13:58:11 +02:00
aa6bfb4079
make Create/DeleteTenantStorage listeners handle existing/missing directories gracefully
2024-07-12 01:53:15 +02:00
ac8a30d782
add line end to sample route response
2024-07-09 00:15:37 +02:00
590360bf0d
broadcasting config bootstrapper: add reverb preset
2024-07-04 20:52:06 +02:00
6b6c883234
phpstan fixes
2024-07-04 20:48:55 +02:00
252e337ef8
broadcast channel prefix bootstrapper: add reverb() method
2024-07-04 20:38:23 +02:00
8a4644630a
Merge branch 'master' of github.com:tenancy-for-laravel/v4
2024-07-04 20:25:33 +02:00
lukinovec
9119db810f
Delete outdated note about LW with domain ID in TSP stub ( #53 )
2024-06-20 11:09:42 +02:00
7572911d87
remove dead code
2024-05-28 02:55:13 +02:00
97ccbbe1f9
bump php version
2024-05-28 02:16:00 +02:00
f0bb28345f
categorize todos
2024-05-17 14:23:54 +02:00
Samuel Štancl
b97c203967
Revert changes that caused issues with Laravel Octane [ci skip]
2024-04-24 22:36:51 +02:00
lukinovec
b789f5c561
Change URI prefix order during route cloning ( #49 )
...
* Change URI prefix order [ci skip]
* Move route cloning to `$this->app->booted()` [ci skip]
* Delete note about LW v2
* Improve comments/docblock [skip ci]
* Fix comment in test, improve assertion [skip ci]
2024-04-24 22:33:18 +02:00
Samuel Štancl
7317d2638a
Postgres RLS + permission controlled database managers ( #33 )
...
This PR adds Postgres RLS (trait manager + table manager approach) and permission controlled managers for PostgreSQL.
---------
Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2024-04-24 22:32:49 +02:00