1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 15:54:03 +00:00
Commit graph

72 commits

Author SHA1 Message Date
Samuel Štancl
7fe9b36e4b Tenant -> Tenants 2019-10-25 19:49:23 +02:00
Samuel Štancl
2cf138a728 findBy instead of find 2019-10-25 19:38:36 +02:00
Samuel Štancl
81deb1c553 import str 2019-10-25 19:04:00 +02:00
Samuel Štancl
84a6c4770c WIP event system 2019-10-25 19:01:51 +02:00
stancl
c0d73db385 Apply fixes from StyleCI 2019-10-24 16:59:38 +00:00
Samuel Štancl
a80275c1ac findBy\* ForwardsCalls 2019-10-24 18:59:21 +02:00
Samuel Štancl
696863b1d4 WIP findBy() 2019-10-24 18:57:30 +02:00
Samuel Štancl
3575e0dcdf postCreationActions 2019-10-21 20:51:31 +02:00
Samuel Štancl
394d976863 Rename method 2019-10-21 20:48:10 +02:00
Samuel Štancl
f7a8dbcbb9 User post-creation callbacks 2019-10-21 20:46:48 +02:00
Chris Brown
d5b01219fd [2.x] Allow automatic seeding after automatic migrations (#160) 2019-10-17 19:25:30 +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
a1270189da
[2.1.0] Tenant Run (#163)
* $tenant->run()

* Add assertion
2019-10-11 21:02:54 +02:00
Samuel Štancl
abd0b8f04e
[2.x] Queued post-creation automigration (#154)
* Queued post-creation automigration

* Add shouldQueueMigration()

* Automigration test, config key, QueueTenancyBootstrapper support for QueueFake

* Apply fixes from StyleCI

* Fix if statement
2019-10-04 21:34:17 +02:00
Samuel Štancl
202a01f944 hook() method 2019-09-30 17:13:47 +02:00
Anton Komarev
3d1ceadf34 [2.x] Remove request helper from TenantManager (#144)
* Remove request from tenant manager

* Rollback
2019-09-27 06:53:08 +02:00
Samuel Štancl
509d00f9f3 Add docblocks 2019-09-20 20:14:58 +02:00
Samuel Štancl
6b0ec1b554 Passing tests with DB storage driver 2019-09-18 20:08:30 +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
524530c8d5 TenantDatabaseManagerTest fully passes now 2019-09-17 18:57:19 +02:00
Samuel Štancl
7e645a3312 Fix event tests 2019-09-16 18:38:23 +02:00
Samuel Štancl
a9c37d1535 wip 2019-09-16 18:09:09 +02:00
stancl
d480ea63da Apply fixes from StyleCI 2019-09-16 14:58:05 +00: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
Samuel Štancl
c65b6839ff Tenant-specific connections, some work to get tests running 2019-09-15 17:44:26 +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
stancl
7264ec05cb Apply fixes from StyleCI 2019-09-11 17:28:01 +00:00
Samuel Štancl
ca30e861dc Delete old Tenant & DB amnagers 2019-09-11 19:27:33 +02:00
Samuel Štancl
1bfe4a7ea5
Apply fixes from StyleCI (#126) 2019-09-11 17:37:02 +02:00
Samuel Štancl
d68148e4b4 wip 2019-09-08 14:26:56 +02:00
Samuel Štancl
72baa45126 Make TenantModel final 2019-09-04 16:57:19 +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
Samuel Štancl
f590e2ce2a
[1.8.0] Custom id scheme (#108)
* Add UniqueIdentifierGenerators

* Apply fixes from StyleCI
2019-08-21 20:29:53 +02:00
Samuel Štancl
4c676b41e9 Custom exceptions, fix #91 2019-08-20 12:14:56 +02:00
Samuel Štancl
d04f4bb2a1 decode -> encode 2019-08-19 11:21:44 +02:00
stancl
1818e590e0 Apply fixes from StyleCI 2019-08-19 08:56:13 +00:00
Samuel Štancl
314b2d3003 Fix bug with JSON encoding 2019-08-19 10:55:48 +02:00
Samuel Štancl
6095696355 Fix invoke test 2019-08-16 18:54:25 +02:00
Samuel Štancl
dc96931a76 merge 2019-08-16 18:32:06 +02:00
Samuel Štancl
89c7289b66 Switch order of conditions 2019-08-16 18:26:18 +02:00
stancl
84890cdd1e Apply fixes from StyleCI 2019-08-16 16:21:59 +00:00
Samuel Štancl
bbafc9d8e2 is_array check 2019-08-16 18:20:34 +02:00
Samuel Štancl
3c9ead6aac default value 2019-08-16 18:10:34 +02:00
Samuel Štancl
fd79e0aec3 Fix illegal offset 2019-08-16 18:04:54 +02:00
Samuel Štancl
1216addd1f Improve get() 2019-08-16 17:55:40 +02:00
Samuel Štancl
9df78eb9c2
[1.7.0] Add DB storage driver (#82) 2019-08-16 14:36:49 +02:00
Samuel Štancl
4aa35322da Add event prevents, Tenant facade 2019-08-14 22:16:51 +02:00