1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 11:04:03 +00:00
Commit graph

21 commits

Author SHA1 Message Date
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
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
Anton Komarev
0081726bda Add exceptions missing parent constructor call (#137) 2019-09-26 14:35:02 +02:00
Samuel Štancl
bd1c829520 TenantCouldNotBeIdentified ProvidesSolution 2019-09-23 11:54:38 +02:00
Samuel Štancl
1532ccf019 Fix some tests 2019-09-16 16:57:55 +02:00
Samuel Štancl
a7bb709bd4 Fix first test 2019-09-15 21:53:03 +02:00
stancl
d320fa221d Apply fixes from StyleCI 2019-09-15 10:17:00 +00:00
Samuel Štancl
e25a01a997 TenantStorageException 2019-09-15 12:16:45 +02:00
Samuel Štancl
5fb11dfc9f DB driver ensureTenantCanBeCreated 2019-09-15 11:50:19 +02:00
Samuel Štancl
508ef9919a wip 2019-09-11 19:29:50 +02:00
stancl
8206cd07cc Apply fixes from StyleCI 2019-09-08 14:52:18 +00:00
Samuel Štancl
de54b5708c canCreate database 2019-09-08 16:52:10 +02:00
Samuel Štancl
08319695b9 Improve DatabaseManager create & delete fns code 2019-09-08 15:51:48 +02:00
stancl
d9f4ba133a Apply fixes from StyleCI 2019-09-07 17:46:57 +00:00
Samuel Štancl
6b716e5345 Use a nicer way to bind the current tenant 2019-09-07 19:46:45 +02:00
Samuel Štancl
f04ca349bd Tenant contract, Tenancy bootstrappers, drop predis 2019-09-06 18:51:34 +02:00
Samuel Štancl
2fd3662eb7
[1.8.0] Use strict types (#115)
* Use strict types

* Apply fixes from StyleCI

* Fix str_repeat

* Fix false json decode
2019-08-23 18:18:26 +02:00
stancl
787063ed73 Apply fixes from StyleCI 2019-08-20 10:15:06 +00:00
Samuel Štancl
4c676b41e9 Custom exceptions, fix #91 2019-08-20 12:14:56 +02:00
Samuel Štancl
d7358c588c
[1.7.0] Add the option to set values & db name during tenant creation (#86)
* Add the option to set values & db name during tenant creation

* Apply fixes from StyleCI

* Add tests

* Apply fixes from StyleCI

* Rewrite conditional for clarity
2019-08-13 19:16:00 +02:00
Samuel Štancl
1b6759084f
Add Predis support (#59)
* wip

* Add Predis support

* Enable phpredis extension only for some builds

* Add note about phpredis

* Fix if command

* Revert travis changes & add a version check to predis tests
2019-07-03 14:48:55 +02:00