stancl
359766ccfa
Apply fixes from StyleCI
2019-09-15 15:44:41 +00:00
Samuel Štancl
c65b6839ff
Tenant-specific connections, some work to get tests running
2019-09-15 17:44:26 +02:00
Samuel Štancl
1bfe4a7ea5
Apply fixes from StyleCI ( #126 )
2019-09-11 17:37:02 +02:00
Samuel Štancl
dabaff1338
Remove Tenant facade, move facades to Facades
2019-09-08 17:24:03 +02:00
Samuel Štancl
de54b5708c
canCreate database
2019-09-08 16:52:10 +02:00
Samuel Štancl
74da4ddfde
DB manager create & delete database functions
2019-09-08 15:47:58 +02:00
Samuel Štancl
f04ca349bd
Tenant contract, Tenancy bootstrappers, drop predis
2019-09-06 18:51:34 +02:00
Samuel Štancl
f4421af6c5
Fix custom columns, add tests ( #122 )
...
* Fix custom columns & add test
* Apply fixes from StyleCI
2019-09-04 16:53:01 +02:00
Samuel Štancl
0a57f9d3df
[1.8.0] Allow conflicting routes ( #114 )
...
* PreventAccessFromTenantDomains middleware
* Apply fixes from StyleCI
* Install command
* Switch order of middleware
* Apply middleware to $middleware instead of web, fix tests
* Apply fixes from StyleCI
* Fix tests
* Fix tests
* wip
* wip
2019-08-23 22:24:31 +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
c6a0e40439
Fix #99 (always skipped tests)
2019-08-23 17:26:56 +02:00
Samuel Štancl
8d8c177dac
[1.8.0] Add Queue support & Horizon integration ( #104 )
2019-08-19 14:37:57 +02:00
Samuel Štancl
b268e4bc85
Add test
2019-08-19 11:01:45 +02:00
Samuel Štancl
314b2d3003
Fix bug with JSON encoding
2019-08-19 10:55:48 +02:00
Samuel Štancl
8456280ac4
Test: Remove defaulting to 'default' DB connection
2019-08-18 23:30:40 +02:00
Samuel Štancl
b12b9c3a54
[1.8.0] Tenant redirect ( #103 )
2019-08-18 12:48:10 +02:00
Samuel Štancl
6cee5d36ad
wip
2019-08-17 21:57:13 +02:00
Samuel Štancl
4c9bd6ed19
Merge branch '1.x' of github.com:stancl/tenancy into 1.x
2019-08-17 21:56:38 +02:00
Samuel Štancl
5edf582269
Make DB storage driver prefix sqlite DBs with database_path()
2019-08-17 21:56:30 +02:00
stancl
f10f2508af
Apply fixes from StyleCI
2019-08-17 19:26:14 +00:00
Samuel Štancl
f87c2b69ec
Default to default DB
2019-08-17 21:25:53 +02:00
Samuel Štancl
47fb158b59
Use MySQL by default; create migrations/tenant in tenancy:install
2019-08-17 16:33:22 +02:00
Samuel Štancl
be077ae73c
Add the option to specify connection in DatabaseManager
2019-08-17 15:25:39 +02:00
stancl
6028e70b98
Apply fixes from StyleCI
2019-08-16 16:54:34 +00:00
Samuel Štancl
6095696355
Fix invoke test
2019-08-16 18:54:25 +02:00
Samuel Štancl
6944a46d4c
remove dd
2019-08-16 18:41:49 +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
9df78eb9c2
[1.7.0] Add DB storage driver ( #82 )
2019-08-16 14:36:49 +02:00
Samuel Štancl
674f4b3f9a
[1.7.0] Install command ( #95 )
2019-08-15 19:16:25 +02:00
Samuel Štancl
9ff77d2128
merge
2019-08-14 22:19:29 +02:00
Samuel Štancl
9c269b087e
Add one more test for prevents
2019-08-14 22:18:18 +02:00
stancl
155ef0da5a
Apply fixes from StyleCI
2019-08-14 20:17:04 +00:00
Samuel Štancl
4aa35322da
Add event prevents, Tenant facade
2019-08-14 22:16:51 +02:00
Samuel Štancl
c1df467601
[1.7.0] Add Events system ( #93 )
...
* Add TenantManagerEvents
* Apply fixes from StyleCI
* Fix typos, add tests
* end() events
2019-08-14 17:15:47 +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
d77d05e620
Use env vars instead of a python script for ./test
2019-08-10 10:59:23 +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
Samuel Štancl
13048002ef
remove loadDotEnv()
2019-08-04 20:42:50 +02: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
0ff607d1d8
styleci
2019-08-04 17:43:25 +02:00
Samuel Štancl
60bfbce97b
Merge branch '1.x' of github.com:stancl/tenancy into 1.x
2019-08-04 17:42:08 +02:00
Samuel Štancl
89990799f2
add phpunit.xml variations
2019-08-04 17:40:44 +02:00
Samuel Štancl
7c598ae2fe
wip
2019-08-03 21:25:00 +02:00
Samuel Štancl
eceacd9422
Apply fixes from StyleCI ( #80 )
2019-08-02 20:01:10 +02:00
Samuel Štancl
2757e8f76c
Fix tests
2019-07-30 22:04:10 +02:00
Samuel Štancl
f34e1e97ac
[1.6.0] [WIP] Fix cache persistence ( #79 )
...
* Add cache persistence test
* Change cache driver to redis
2019-07-30 21:27:01 +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