lukinovec
|
4175ac07bd
|
Rework model discovery
|
2023-06-06 15:46:50 +02:00 |
|
PHP CS Fixer
|
3bfef9e2c4
|
Fix code style (php-cs-fixer)
|
2023-06-05 14:36:19 +00:00 |
|
lukinovec
|
7d44322b7e
|
Rename test file, update tests
|
2023-06-05 16:35:50 +02:00 |
|
lukinovec
|
cc28d1813a
|
Move reusable methods to Tenancy, get rid of tenancy.models.rls
|
2023-06-05 16:35:16 +02:00 |
|
lukinovec
|
bad5c693ab
|
Add config('tenancy.database.rls')
|
2023-06-05 16:33:26 +02:00 |
|
lukinovec
|
cb775a9fba
|
Improve RLS policy creation command
|
2023-06-05 13:43:21 +02:00 |
|
PHP CS Fixer
|
9f166a59a4
|
Fix code style (php-cs-fixer)
|
2023-06-05 10:04:15 +00:00 |
|
lukinovec
|
983e4c1f84
|
Get RLS models from a temporary tenant
|
2023-06-05 12:03:48 +02:00 |
|
lukinovec
|
7c7680baf6
|
Make PostgresRLSBootstrapper a singleton
|
2023-06-05 12:02:41 +02:00 |
|
lukinovec
|
45df85d2a3
|
Reverr all docker-compose changes
|
2023-06-05 10:09:18 +02:00 |
|
lukinovec
|
5754f8bdc4
|
Get central connection name from the config
|
2023-06-05 10:08:48 +02:00 |
|
lukinovec
|
12b36f407d
|
Rename bootstrapper, improve docblock
|
2023-06-01 10:26:39 +02:00 |
|
lukinovec
|
3738d2885c
|
Revert beforeEach cleanup (tests fail in CI)
|
2023-05-31 14:02:54 +02:00 |
|
lukinovec
|
b964aa90d3
|
Improve code style, beforeEach cleanup
|
2023-05-31 13:58:25 +02:00 |
|
lukinovec
|
5b07afcc33
|
Improve comment
|
2023-05-31 13:44:22 +02:00 |
|
lukinovec
|
ac6bf3651a
|
Delete redundant str($x)->toString()
|
2023-05-31 13:33:37 +02:00 |
|
lukinovec
|
61519ecec3
|
Wrap makeModelUseRls() in transaction
|
2023-05-31 07:53:21 +02:00 |
|
lukinovec
|
3ef1c38414
|
Delete single-call DB transactions
|
2023-05-31 07:38:43 +02:00 |
|
lukinovec
|
8ccc27e8c3
|
Rename bootstrapper
|
2023-05-29 11:15:38 +02:00 |
|
lukinovec
|
28efc0ca97
|
Update model docblocks
|
2023-05-29 09:55:59 +02:00 |
|
lukinovec
|
0cea45f101
|
Use specific Postgres version, use superuser credentials directly
|
2023-05-29 09:54:40 +02:00 |
|
lukinovec
|
1f9a344f33
|
Make the (Scoped)Comment model distinction clearer
|
2023-05-24 15:12:35 +02:00 |
|
lukinovec
|
47fe86c21e
|
Use DB transactions
|
2023-05-24 14:57:06 +02:00 |
|
lukinovec
|
ea9690f915
|
Handle phpstan errors
|
2023-05-24 14:47:17 +02:00 |
|
lukinovec
|
ae568e1227
|
Reduce nesting, rename methods
|
2023-05-24 14:29:30 +02:00 |
|
PHP CS Fixer
|
526002c7b2
|
Fix code style (php-cs-fixer)
|
2023-05-24 10:59:36 +00:00 |
|
lukinovec
|
0a6c1b69ea
|
Update RLS policy command (use DB transactions, improve nesting)
|
2023-05-24 12:59:12 +02:00 |
|
lukinovec
|
0991f62aa5
|
Add info to bootstrapper's docblock
|
2023-05-24 12:32:36 +02:00 |
|
lukinovec
|
8eb9e5f19b
|
Put DB operations inside transactions
|
2023-05-24 12:02:46 +02:00 |
|
lukinovec
|
6e2b56237f
|
Add docblock to PostgresTenancyBootstrapper
|
2023-05-24 11:04:57 +02:00 |
|
lukinovec
|
2461f76e59
|
Use $tenant->database()->getUsername(), default to $tenant->getTenantKey()
|
2023-05-24 10:50:03 +02:00 |
|
lukinovec
|
57df6e2b30
|
Delete setting database.connections.pgsql config in TestsCase
|
2023-05-24 10:38:12 +02:00 |
|
lukinovec
|
d60062131a
|
Complete todo cleanup
|
2023-05-23 10:30:47 +02:00 |
|
lukinovec
|
5aed290de6
|
Delete complete todos
|
2023-05-23 10:28:59 +02:00 |
|
lukinovec
|
ed688b6f87
|
Try minimizing docker-compose.yml changes
|
2023-05-23 10:16:39 +02:00 |
|
lukinovec
|
ef87056862
|
Revert all ci.yml changes
|
2023-05-23 10:11:07 +02:00 |
|
lukinovec
|
aec8d50b7d
|
Set default credentials
|
2023-05-23 09:57:24 +02:00 |
|
lukinovec
|
c4b1d1c6c4
|
Update configuring Postgres credentials in TestCase
|
2023-05-22 17:00:40 +02:00 |
|
lukinovec
|
aa21514c49
|
Try using different credentials than postgres:postgres
|
2023-05-22 16:06:58 +02:00 |
|
lukinovec
|
cb7f85c401
|
Use quotes in the healthcheck
|
2023-05-22 15:16:16 +02:00 |
|
lukinovec
|
a46b26800f
|
Add docblocks to single-db models, add return types to relationship methods
|
2023-05-22 15:01:49 +02:00 |
|
lukinovec
|
c13fe5183f
|
Revert change
|
2023-05-22 14:46:13 +02:00 |
|
lukinovec
|
46201c68c6
|
Revert Postgres credential changes in ci.yml
|
2023-05-22 14:07:03 +02:00 |
|
lukinovec
|
dfdfe533d6
|
Revert change
|
2023-05-22 13:55:48 +02:00 |
|
lukinovec
|
315b2dd113
|
Use PGPASSWORD instead of hardcoding POSTGRES_PASSWORD in ci.yml
|
2023-05-22 13:43:20 +02:00 |
|
lukinovec
|
601d897a63
|
Completely revert Postgres healthcheck changes
|
2023-05-22 13:32:26 +02:00 |
|
lukinovec
|
0b8fc9aa11
|
Try deleting arguments from Postgres container healthcheck
|
2023-05-22 13:18:56 +02:00 |
|
lukinovec
|
700d8e0ee6
|
Revert changes
|
2023-05-22 12:45:39 +02:00 |
|
lukinovec
|
c9f585a7e0
|
Try setting the Postgres password in docker-compose instead of ci.yml
|
2023-05-22 12:40:09 +02:00 |
|
lukinovec
|
a29a5bb89a
|
Add the default root password back to ci.yml
|
2023-05-22 12:36:25 +02:00 |
|