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
Samuel Štancl
7fc89271f3
Fix #28 associative arrays being converted into objects
2019-02-11 19:34:52 +01:00
Samuel Štancl
83d272007d
Add array support to the storage. ( #27 )
...
* Add array support to the storage.
(Existing tests have been modified, but only in a way that makes them more correct than they were, making this a backwards compatible feature.)
2019-02-10 21:45:36 +01:00
Samuel Štancl
ef1e93bf96
Remove migrations_directory from config
2019-02-09 12:15:18 +01:00
Samuel Štancl
e1def355f9
Add command tests
2019-02-09 11:53:48 +01:00
Samuel Štancl
33fcb8a936
Cleanup commands
2019-02-09 00:40:52 +01:00
Samuel Štancl
8d382024a3
Add more TenantManager tests
2019-02-09 00:17:51 +01:00
Samuel Štancl
9ec4fd931a
First TenantAssetTest
2019-02-08 23:25:50 +01:00
Samuel Štancl
22fc843ce3
Fix a lot of bugs, fix #23
2019-02-08 22:44:46 +01:00
Samuel Štancl
39d9c9d51e
Merge branch 'master' of https://github.com/stancl/tenancy
2019-02-08 20:27:56 +01:00
Samuel Štancl
335bdc1c06
Remove unused file [ci skip]
2019-02-08 20:27:41 +01:00
Samuel Štancl
15766a0037
Fix #21 ( #22 )
2019-02-08 20:16:40 +01:00
Samuel Štancl
3f650d887d
Add more tests, fix bugs
2019-02-08 17:54:53 +01:00
Samuel Štancl
d14aa0b642
Add psysh as a dev dependency
2019-02-08 16:10:59 +01:00
Samuel Štancl
f05a4bca41
Add tests, fix bugs
2019-02-08 15:28:32 +01:00
Samuel Štancl
124e747aa0
tenancy.cache.prefix_base -> tag_base
2019-02-07 22:07:02 +01:00
Samuel Štancl
fceddb8c4d
Add more tests
2019-02-07 21:44:47 +01:00
Samuel Štancl
c53a05cff4
Make database creation queueable ( #17 )
...
* SOLIDify database creation
* Return the result of fclose in SQLiteDBCreator
* Make database creation queueable
* Add DatabaseCreationTest
* Make comment more descriptive [ci skip]
* Add composer script to copy .env.example to .env
* Minor tweaks
* Fix env section
* Fix DB_PASSWORD for Travis
2019-02-07 18:12:24 +01:00
Samuel Štancl
136862369d
Move HttpKernel to /tests/
2019-02-07 15:39:39 +01:00
Samuel Štancl
6bb18a2b95
Fix Travis, add docs for generating HTTPS certificates ( #19 )
2019-02-07 15:26:42 +01:00
Samuel Štancl
1547c134f1
Make TenantRouteServiceProvider check if the route file exists before requiring it
2019-02-02 00:03:29 +01:00
Samuel Štancl
999507fe42
Begin work on tests
2019-02-01 22:47:10 +01:00
Samuel Štancl
e919c6e25b
Minor refactor
2019-01-28 18:34:26 +01:00
Samuel Štancl
a9e3f4052c
Remove redundant method in the RouteSP
2019-01-26 13:08:39 +01:00
Samuel Štancl
394f792ec9
Map tenant routes using the SP - fix #10
2019-01-26 12:59:19 +01:00
Samuel Štancl
aabe48b54a
Make DBs use utfmb4_unicode_ci
2019-01-23 22:44:26 +01:00
Samuel Štancl
3cb5efc654
Add comment
2019-01-23 21:15:41 +01:00
Samuel Štancl
4ef285061a
Return null if key is not found in TenantManager->tenant
2019-01-23 21:00:11 +01:00
Samuel Štancl
89c073a859
Bugfix
2019-01-23 20:56:54 +01:00
Samuel Štancl
99a47c3da4
Add important comment
2019-01-22 21:41:07 +01:00
Samuel Štancl
2d12a6f05f
Bugfix
...
put() stored the value for the current tenant even if the specified $uuid was of a different tenant
2019-01-22 21:33:41 +01:00
Samuel Štancl
14f415914f
Add more storage features
2019-01-21 18:19:01 +01:00
Samuel Štancl
1fe599966b
Fix #1 (code quality)
2019-01-20 21:02:32 +01:00
Samuel Štancl
19de80582d
Don't auto migrate new tenants' databases
2019-01-20 20:02:13 +01:00