Samuel Štancl
c38dd1bb9a
wip
2019-08-10 11:01:41 +02:00
Samuel Štancl
8f41fbfc43
Merge branch 'db-storage-driver' of github.com:stancl/tenancy into db-storage-driver
2019-08-10 10:21:00 +02:00
Samuel Štancl
03f233b975
wip
2019-08-10 10:20:53 +02:00
stancl
73223f0b2a
Apply fixes from StyleCI
2019-08-10 07:48:08 +00:00
Samuel Štancl
299437a3c3
set the storage driver
2019-08-10 09:47:48 +02:00
Samuel Štancl
70234e1123
add storage driver assertion
2019-08-10 09:43:34 +02:00
Samuel Štancl
b07b848a56
remove unnecessary type conversion
2019-08-10 09:27:35 +02:00
Samuel Štancl
533502ddfa
Merge branch 'db-storage-driver' of github.com:stancl/tenancy into db-storage-driver
2019-08-10 09:27:20 +02:00
Samuel Štancl
23bdaba81e
fix getTenantById
2019-08-10 09:27:16 +02:00
stancl
e7e23d74cc
Apply fixes from StyleCI
2019-08-10 07:25:49 +00:00
Samuel Štancl
4d7c6b6683
add TenantModel interface, fix issues pointed out by @carlos-mora
2019-08-10 09:25:34 +02:00
Samuel Štancl
de025a6a4d
Set public key on model
2019-08-09 23:17:10 +02:00
stancl
feaac4cbd1
Apply fixes from StyleCI
2019-08-09 21:03:27 +00:00
Samuel Štancl
fc76da38cb
finish writing storage driver
2019-08-09 23:03:18 +02:00
Samuel Štancl
fd0712e037
wip
2019-08-09 22:50:46 +02:00
Samuel Štancl
01007c3be7
wip
2019-08-09 22:05:43 +02:00
stancl
adb92d5a9a
Apply fixes from StyleCI
2019-08-09 17:39:45 +00:00
Samuel Štancl
bee7f34973
wip
2019-08-09 19:39:37 +02:00
Samuel Štancl
15f09e59df
[1.7.0] Add tenants:run ( #81 )
...
* wip
* Apply fixes from StyleCI
* first implementation
* Apply fixes from StyleCI
* Add support for arguments and options
* Apply fixes from StyleCI
* Write docs, add support for = in arg/opt value
* Apply fixes from StyleCI
* add $ [ci skip]
2019-08-09 19:06:00 +02:00
stancl
02e672e79c
Apply fixes from StyleCI
2019-08-08 21:23:21 +00:00
Samuel Štancl
c6169c2be2
wip
2019-08-08 23:23:07 +02:00
stancl
8fd32a67a9
Apply fixes from StyleCI
2019-08-04 18:04:35 +00:00
Samuel Štancl
0dc8c80a02
Fix Redis scan for predis, make phpunit use multiple configs (e.g. different Redis drivers)
2019-08-04 20:04:25 +02:00
Samuel Štancl
eceacd9422
Apply fixes from StyleCI ( #80 )
2019-08-02 20:01:10 +02:00
Samuel Štancl
92ebc1f01b
Add support for global cache ( #78 )
2019-07-30 21:05:30 +02:00
Samuel Štancl
a3f37b7f77
Fix #71
2019-07-25 23:26:36 +02:00
Samuel Štancl
66a4fe9630
Fix #73
...
The domain was wrapped in "".
2019-07-25 11:19:52 +02:00
Samuel Štancl
353f7afb82
Add tenancy()->end() ( #68 )
2019-07-13 11:38:07 +02:00
Samuel Štancl
b2e2460c34
Add PostgreSQL DB driver ( #52 )
2019-07-12 23:09:29 +02:00
Samuel Štancl
f2819adcd2
Merge branch '1.x' of github.com:stancl/tenancy into 1.x
2019-07-12 23:05:29 +02:00
Samuel Štancl
a3ff6fbd93
fix #63 (wrong return type docblock)
2019-07-12 23:05:11 +02:00
Samuel Štancl
dc30354699
Dockerize phpunit ( #66 )
2019-07-12 21:44:26 +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
Samuel Štancl
e7b5a77a6b
Data separation tests ( #58 )
...
* Add purge()
* Add DataSeparationTest
2019-07-01 12:28:22 +02:00
Samuel Štancl
97ec172fd4
Specify namespace on global functions ( fix #35 ) ( #36 )
...
* Specify namespace on global functions (fix #35 )
* merge
* Revert some \ additions
* small fixes
2019-04-24 17:33:41 +02:00
Samuel Štancl
35abb6191d
Fix Redis scan for 5.8 ( #46 )
...
* Fix Redis scan for 5.8
* Add comments [ci skip]
2019-04-24 16:53:43 +02:00
Samuel Štancl
beb9a0a903
Move todos to issues ( #45 )
...
* Remove todo
* Remove todo
2019-04-24 09:22:12 +02:00
Samuel Štancl
5d5417cf11
Fix Jobs' docblocks ( fix #39 )
2019-04-23 18:03:40 +02:00
Samuel Štancl
c0a83e70f1
Fix classes in the Jobs namespace ( #38 )
2019-04-23 17:57:05 +02:00
Samuel Štancl
b20f62ecfa
putMany() should return array, not put()
2019-04-23 17:11:46 +02:00
Samuel Štancl
9e4849439f
Update RedisStorageDriver with the interface change
2019-04-23 17:11:05 +02:00
Samuel Štancl
61c87ef08e
Merge branch '1.x' of github.com:stancl/tenancy into 1.x
2019-04-23 17:09:52 +02:00
Samuel Štancl
9bc9b92d8d
[breaking fix] Add array return types to StorageDriver interface
2019-04-23 17:09:32 +02:00
Samuel Štancl
ddc0e6fb1e
Remove support for onFail without arguments to improve performance
2019-03-04 22:19:38 +01:00
Samuel Štancl
987c54f04e
Fix #29 add Tenancy facade
2019-02-15 21:00:11 +01:00
Samuel Štancl
a2d68b1261
Fix #31 CacheManager didn't merge tags properly; write tests for CacheManager
2019-02-13 17:13:01 +01:00
Samuel Štancl
d4d4119754
Fix small bug in CacheManager
2019-02-13 16:46:35 +01:00
Samuel Štancl
d2ec7f171d
Fix #25 better error handling
2019-02-13 16:26:00 +01:00
Samuel Štancl
fa5334f83e
Add a use statement
2019-02-13 13:23:09 +01:00
Samuel Štancl
62e3781542
Fix #30 remove namespace statement from helpers.php
2019-02-13 13:12:12 +01:00