Samuel Štancl
d4472469f0
[2.x] Add CreateTenant command ( #153 )
...
* Add CreateTenant command, fix TenantList output
* Create command test
2019-10-04 20:22:23 +02:00
Samuel Štancl
40f8fa346e
rebrand
2019-10-02 21:04:30 +02:00
Samuel Štancl
102ade4d8c
optional for tenant()
2019-09-30 19:43:59 +02:00
Samuel Štancl
e88801a4d1
Fix TenantStorageTest
2019-09-30 19:02:00 +02:00
stancl
bde1035609
Apply fixes from StyleCI
2019-09-30 16:42:01 +00:00
Samuel Štancl
ae6cf5c1ab
DB manager now doesn't depend on DB storage driver
2019-09-30 18:41:51 +02:00
Samuel Štancl
c965ca5c93
[2.x] Restructure drivers config ( #151 )
...
* Restructure drivers config
* Apply fixes from StyleCI
2019-09-30 18:38:32 +02:00
Samuel Štancl
6cb7f27e6c
Replace webpatser/laravel-uuid with ramsey/uuid ( #150 )
2019-09-30 18:13:52 +02:00
Samuel Štancl
6a9128474f
Merge branch '2.x' of github.com:stancl/tenancy into 2.x
2019-09-30 17:13:56 +02:00
Samuel Štancl
202a01f944
hook() method
2019-09-30 17:13:47 +02:00
Samuel Štancl
60a67bf901
Move UUID generator to a new namespace
2019-09-30 17:12:34 +02:00
Samuel Štancl
eabac3d09f
Replace Foundation\Application dependencies with Cache\Repository wherever possible ( #149 )
2019-09-30 17:10:39 +02:00
Samuel Štancl
d0b1729258
[2.x] Migrate fresh ( #148 )
...
* Remove comment
* migrate-fresh first draft
* Final
* DB name -> DB connection
* Add array_filter for consistency with Laravel
* Add test for migrate-fresh
* Apply fixes from StyleCI
2019-09-30 17:01:01 +02:00
Samuel Štancl
0515b0b5b5
Merge branch '2.x' of github.com:stancl/tenancy into 2.x
2019-09-30 16:54:10 +02:00
Samuel Štancl
56a2bdf5af
[2.x] Tenant config ( #145 )
...
* TenantConfig first draft
* Apply fixes from StyleCI
* Add unsetTenantConfig
* Fix DB storage driver bug, add regression test (tenant_data_can_be_set_during_creation)
* Add tests & config keys
* Apply fixes from StyleCI
2019-09-30 16:52:46 +02:00
Anton Komarev
d70e561106
Fix variables code style consistency ( #136 )
2019-09-29 13:02:51 +02:00
Samuel Štancl
50cf677034
Remove comment
2019-09-29 12:01:40 +02:00
stancl
cdf174c6c6
Apply fixes from StyleCI
2019-09-29 09:59:28 +00:00
Samuel Štancl
33f5f0e316
Remove timestamps
2019-09-29 11:59:17 +02:00
Samuel Štancl
dcc9bda758
Default tag callback for Telescope
2019-09-29 11:50:32 +02:00
Samuel Štancl
553b162930
Clean endTenancy() calls at the end of commands
2019-09-27 22:57:10 +02:00
Samuel Štancl
6b103cd2cb
Model timestamps
2019-09-27 22:53:38 +02:00
Samuel Štancl
4b5554dcac
Fix issues with bootstrappers' state
2019-09-27 22:35:59 +02:00
Samuel Štancl
753ff517c4
Post-end() state reset
2019-09-27 21:24:40 +02:00
Samuel Štancl
aeafa24971
Remove global config() call
2019-09-27 21:22:59 +02:00
Samuel Štancl
07e5ad76d0
path -> storage
2019-09-27 21:16:43 +02:00
Samuel Štancl
97d88af798
Disable RedisTenancyBootstrapper by default
2019-09-27 21:08:46 +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
Anton Komarev
cacf239801
Replace drop with dropIfExists in migrations ( #143 )
2019-09-26 19:02:44 +02:00
Anton Komarev
ee06ff296e
[2.x] Make Domain's model domain key as a primary ( #141 )
...
* Make Domain's model domain key as a primary
* Remove comments
2019-09-26 18:04:39 +02:00
Anton Komarev
3f4018f93c
[2.x] Add missing field in InitializeTenancy middleware ( #135 )
...
* Add missing field
* Make field protected
* Specify exact exception type
* Changed Closure on callable
2019-09-26 17:01:38 +02:00
Anton Komarev
d00cf97e0e
Reorder Service Provider methods in execution sequence ( #139 )
2019-09-26 14:35:41 +02:00
Anton Komarev
0081726bda
Add exceptions missing parent constructor call ( #137 )
2019-09-26 14:35:02 +02:00
Anton Komarev
fc39512b3b
Use ::class instead of strings in config ( #133 )
2019-09-26 14:33:29 +02:00
Anton Komarev
5b154d1834
Fix default tenant route ( #132 )
2019-09-26 06:25:07 +02:00
Chris Brown
a166de2ef6
Rename migration stubs so they show next to each other ( #127 )
2019-09-25 08:07:01 +02:00
Samuel Štancl
ca8baf9a6d
Add donate button
2019-09-24 17:44:56 +02:00
Samuel Štancl
bd1c829520
TenantCouldNotBeIdentified ProvidesSolution
2019-09-23 11:54:38 +02:00
Samuel Štancl
10c5f8d98d
Fix Queue tenancy
2019-09-22 20:30:30 +02:00
Samuel Štancl
23cf9e5366
Merge branch '2.x' of github.com:stancl/tenancy into 2.x
2019-09-22 19:45:38 +02:00
Samuel Štancl
9d73de2840
global_cache() helper
2019-09-22 19:45:30 +02:00
Samuel Štancl
a31a76cb37
Create CONTRIBUTING.md
2019-09-22 19:25:30 +02:00
Samuel Štancl
4a17992957
Home route -> home url
2019-09-22 17:24:02 +02:00
Samuel Štancl
92618e09a5
Merge branch '2.x' of github.com:stancl/tenancy into 2.x
2019-09-22 17:17:46 +02:00
Samuel Štancl
e21f5ad76f
Fix PreventAccess middleware
2019-09-22 17:17:38 +02:00
stancl
efcb2dd425
Apply fixes from StyleCI
2019-09-21 21:53:33 +00:00
Samuel Štancl
7229691977
Add comments
2019-09-21 23:53:23 +02:00
Samuel Štancl
88fbd9779d
Add default value
2019-09-21 20:44:58 +02:00
stancl
fdcea15b6a
Apply fixes from StyleCI
2019-09-21 17:58:40 +00:00
Samuel Štancl
4bd2d43e9b
Fix data_cache test
2019-09-21 19:58:29 +02:00