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
lukinovec
9d6356aea4
Close tenant connections after jobs ( #1128 )
...
* Test that the context is central after jobs get processed
* Revert to central context when jobs get processed, delete `$previousTenant` logic
* Test that the tenant connections get closed after jobs get processed
* Bring back the previous tenant logic
* Adapt tests to the previous tenant logic
* Delete assertion
2023-08-18 07:38:07 +02:00
Samuel Štancl
ad29909a16
Make $tenantId nullable in initializeTenancyForQueue (revert phpstan change)
2022-11-29 10:25:22 +01:00
Samuel Štancl
f98a901aeb
get down to 21 phpstan errors
2022-09-29 23:39:35 +02:00
Samuel Štancl
a94227a19c
get down to 59 phpstan errors
2022-09-29 22:20:55 +02:00
Samuel Štancl
fa09e3a083
remove version checks
2022-09-29 16:02:08 +02:00
Abrar Ahmad
97ab483173
Completing PR #881 ( #902 )
...
* install PHP CS Fixer
* Fix styling
* remove StyleCI config
* use config from archtechx/template
* Fix styling
* added `php-cs-fixer`
* Update .php-cs-fixer.php
* added GitHub token
* Update ci.yml
* Update ci.yml
* Update ci.yml
* php-cs-fixer workflow same as template
Co-authored-by: Erik Gaal <me@erikgaal.nl>
Co-authored-by: erikgaal <erikgaal@users.noreply.github.com>
2022-07-20 15:28:45 +02:00
Roy de Vos Burchart
f065ea60b0
Update QueueTenancyBootstrapper.php ( #836 )
2022-04-01 22:53:09 +02:00
Samuel Štancl
49ebb75f00
Fixes #827
2022-03-17 12:46:49 +01:00
Samuel Štancl
368d3cc99f
add forceRefresh option to QueueTenancyBootstrapper
2022-02-19 16:21:27 +01:00
Samuel Štancl
27f916c323
end tenancy in queue if the next job is not tenant aware
2022-02-19 16:12:38 +01:00
Samuel Štancl
e442bdb644
Only use JobRetryRequested in Laravel 8
2021-12-31 18:29:05 +01:00
Samuel Štancl
a83568ded2
Only use JobRetryRequested in Laravel 8
2021-12-31 18:28:37 +01:00
Samuel Štancl
73a4a3018c
Improve queue tenancy
2021-12-31 18:10:03 +01:00
stancl
fcbfe8fb26
Apply fixes from StyleCI
2020-06-28 12:31:26 +00:00
Samuel Štancl
34d3189d61
Queue bootstrapper use tenancy() state
2020-06-28 14:30:34 +02:00
Samuel Štancl
ebec926410
Telescope v3 tags
2020-06-14 14:18:49 +02:00
Samuel Štancl
2a1e2a727e
Try fixing Queue issue
2020-06-13 13:24:49 +02:00
Samuel Štancl
e8e5cee0b2
Don't set queue tags
2020-06-03 12:59:07 +02:00
Samuel Štancl
d23dbf18ce
Code style
2020-05-21 19:29:23 +02:00
Samuel Štancl
05d6383b99
Session scoping & tenant() cleanup
2020-05-15 11:07:42 +02:00
Samuel Štancl
1a8d150f2c
Change bootstrappers namespace
2020-05-13 18:19:59 +02:00