Samuel Štancl
44b2846bcd
Don't hardcode data
2019-10-29 19:53:15 +01:00
Samuel Štancl
869ac32983
[2.2.0] [WIP] Add functionality ( #206 )
...
* TenantDatabaseDoesNotExistException
* Apply fixes from StyleCI
* User post-creation callbacks
* Rename method
* postCreationActions
* pass $tenant as parameter
* pass $tenant to async actions
* WIP findBy()
* findBy\* ForwardsCalls
* Apply fixes from StyleCI
* findBy DB storage driver
* Redis SD TODO message
* Apply fixes from StyleCI
* Fix chained jobs
* WIP event system
* import str
* instanceof closure check
* findBy instead of find
* Tenant -> Tenants
* dots
* Use DB hooks instead of a SC key
* Don't allow callables for queue chain
* CanDeleteKeys interface
* Apply fixes from StyleCI
* CanFindByAnyKey interface
* Apply fixes from StyleCI
* Ditch models for custom repositories
* Resolve circular dependency
* Apply fixes from StyleCI
* Fix tests
* Apply fixes from StyleCI
* FutureTest
* Prefix tenant events with 'tenant.'
* Event listener arguments test
2019-10-27 21:10:41 +01:00
Samuel Štancl
f489aba819
Respect custom columns during tenant creation ( #191 )
2019-10-20 00:27:52 +02:00
Samuel Štancl
3e78410d8a
[2.1.0] Fix queue race conditions ( #178 )
...
* Add TenantDoesNotExist exception, fix queued migrator serialization
* wip
* Apply fixes from StyleCI
* Use only one config for queueing
* Apply fixes from StyleCI
* rename test
* rename test
2019-10-17 13:55:10 +02:00
Samuel Štancl
e88801a4d1
Fix TenantStorageTest
2019-09-30 19:02:00 +02:00
stancl
bde1035609
Apply fixes from StyleCI
2019-09-30 16:42:01 +00:00
Samuel Štancl
ae6cf5c1ab
DB manager now doesn't depend on DB storage driver
2019-09-30 18:41:51 +02:00
Samuel Štancl
c965ca5c93
[2.x] Restructure drivers config ( #151 )
...
* Restructure drivers config
* Apply fixes from StyleCI
2019-09-30 18:38:32 +02:00
Samuel Štancl
56a2bdf5af
[2.x] Tenant config ( #145 )
...
* TenantConfig first draft
* Apply fixes from StyleCI
* Add unsetTenantConfig
* Fix DB storage driver bug, add regression test (tenant_data_can_be_set_during_creation)
* Add tests & config keys
* Apply fixes from StyleCI
2019-09-30 16:52:46 +02:00
stancl
cdf174c6c6
Apply fixes from StyleCI
2019-09-29 09:59:28 +00:00
Samuel Štancl
33f5f0e316
Remove timestamps
2019-09-29 11:59:17 +02:00
Samuel Štancl
6b103cd2cb
Model timestamps
2019-09-27 22:53:38 +02:00
Anton Komarev
ee06ff296e
[2.x] Make Domain's model domain key as a primary ( #141 )
...
* Make Domain's model domain key as a primary
* Remove comments
2019-09-26 18:04:39 +02:00
stancl
fdcea15b6a
Apply fixes from StyleCI
2019-09-21 17:58:40 +00:00
Samuel Štancl
4bd2d43e9b
Fix data_cache test
2019-09-21 19:58:29 +02:00
stancl
1f71c86c47
Apply fixes from StyleCI
2019-09-21 11:54:13 +00:00
Samuel Štancl
c475e7a43d
Fix transactions
2019-09-21 13:54:02 +02:00
Samuel Štancl
46609c5b0d
DB transactions
2019-09-21 13:27:26 +02:00
Samuel Štancl
cd53ff120d
Fix tests
2019-09-21 12:04:25 +02:00
Samuel Štancl
eb6cba8f1a
Create MySQL/PostgreSQL DBs while using sqlite as the central DB driver
2019-09-21 11:11:36 +02:00
stancl
6faac920c9
Apply fixes from StyleCI
2019-09-20 17:44:18 +00:00
Samuel Štancl
61cc0d9364
Update tenant tests
2019-09-20 19:24:02 +02:00
Samuel Štancl
8beaaaeda7
ensureTenantCanBeCreated test
2019-09-20 17:05:19 +02:00
Samuel Štancl
2f6f0e4d50
Fix tests
2019-09-20 16:46:08 +02:00
Samuel Štancl
2cf2ef0995
Configurable table names
2019-09-20 16:37:40 +02:00
stancl
c2f6acf201
Apply fixes from StyleCI
2019-09-19 17:54:15 +00:00
Samuel Štancl
032069af6d
Redis transactions
2019-09-19 19:54:06 +02:00
Samuel Štancl
fb58f21f1c
Get Redis tests to pass
2019-09-19 18:38:40 +02:00
Samuel Štancl
6b0ec1b554
Passing tests with DB storage driver
2019-09-18 20:08:30 +02:00
Samuel Štancl
12c05c0af6
Fix some tests
2019-09-18 19:48:15 +02:00
Samuel Štancl
1f88a1ff94
updateTenant DB storage driver
2019-09-18 18:11:41 +02:00
Samuel Štancl
9bb56c1b30
Fix feature bootstrapping
2019-09-18 18:02:14 +02:00
Samuel Štancl
8565cc7acc
Get multiple envs (redis/db) to run correctly
2019-09-17 19:39:57 +02:00
Samuel Štancl
1532ccf019
Fix some tests
2019-09-16 16:57:55 +02:00
Samuel Štancl
27ded685f8
Merge branch 'master' of github.com:stancl/tenancy
2019-09-15 17:44:30 +02:00
Samuel Štancl
c65b6839ff
Tenant-specific connections, some work to get tests running
2019-09-15 17:44:26 +02:00
stancl
d320fa221d
Apply fixes from StyleCI
2019-09-15 10:17:00 +00:00
Samuel Štancl
5fb11dfc9f
DB driver ensureTenantCanBeCreated
2019-09-15 11:50:19 +02:00
stancl
553e4c381b
Apply fixes from StyleCI
2019-09-15 09:02:28 +00:00
Samuel Štancl
19ca1307d7
Mising ;
2019-09-15 11:02:15 +02:00
Samuel Štancl
0fd1d82c68
TenantModel putMany
2019-09-15 11:01:24 +02:00
Samuel Štancl
15a7db9e71
Clean up TenantCannotBeCreatedException
2019-09-15 09:40:53 +02:00
Samuel Štancl
fd3cf0a2b3
Merge branch 'master' of github.com:stancl/tenancy
2019-09-11 21:38:09 +02:00
Samuel Štancl
2bb03040ee
wip
2019-09-11 21:38:03 +02:00
stancl
2c25e79385
Apply fixes from StyleCI
2019-09-11 19:11:57 +00:00
Samuel Štancl
ad902ae22b
Merge branch 'master' of github.com:stancl/tenancy
2019-09-11 21:11:47 +02:00
Samuel Štancl
7a0154bf8e
Get tests to run
2019-09-11 21:11:40 +02:00
stancl
b4c38b8d2b
Apply fixes from StyleCI
2019-09-11 18:57:42 +00:00
Samuel Štancl
23a4fd24b0
StorageDrivers\Database domain
2019-09-11 20:57:30 +02:00
stancl
ab9400e81c
Apply fixes from StyleCI
2019-09-11 18:10:02 +00:00