stancl
003751d293
Apply fixes from StyleCI
2020-08-04 16:12:36 +00:00
Jørgen Solli
b77bf9f179
Allows tenants to be initalized with their IDs ( #473 )
...
* Allows tenants to be initalized with their IDs
* Code style, note
Co-authored-by: Samuel Stancl <samuel.stancl@gmail.com>
2020-08-04 18:12:28 +02:00
stancl
99dec30512
Apply fixes from StyleCI
2020-08-03 12:41:03 +00:00
Samuel Stancl
54435e9cab
risky: true
2020-08-03 14:40:54 +02:00
amirakbulut
df34a9eab9
Modified GeneratesIds.php ( #472 )
...
* Modified GeneratesIds.php
When overwriting `getTenantKeyName()` to use another column, an exception occurs when creating new tenants. (Field 'id' doesn't have a default value).
This fixes the issue.
* Fix style
Co-authored-by: Samuel Stancl <samuel.stancl@gmail.com>
2020-08-03 14:29:11 +02:00
Samuel Štancl
a002f59420
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-08-01 15:07:17 +02:00
Samuel Štancl
d20056b804
Fix subdomain middleware
2020-08-01 15:07:10 +02:00
Lupacescu Eduard
520fa96d8f
Qualify where column ( #467 )
2020-07-27 15:02:12 +02:00
MinaseTaki
f2a3cf028c
Update Tenant.php ( #463 )
2020-07-21 13:04:22 +02:00
Samuel Štancl
94abd732ae
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-07-20 14:30:47 +02:00
Samuel Štancl
9eb4bfbdc8
End tenancy before initializing again
2020-07-20 14:30:43 +02:00
Timothy
683bb5a88d
Use the Tenant models' getTenantKeyName() value ( #461 )
...
Don't assume the Tenant can be found with the `id` attribute. The Tenant model allows for setting a different Tenant key name through `getTenantKeyName()`, so lets use it to find the Tenant.
2020-07-15 00:01:28 +02:00
Samuel Stancl
aee2a2e567
Set root in config() too
2020-07-14 19:51:11 +02:00
Samuel Stancl
df4d7288d7
Create config.yml
2020-07-12 15:04:14 +02:00
Samuel Stancl
b573f92e07
Update SUPPORT.md
2020-07-12 15:03:52 +02:00
Samuel Stancl
57e5430879
Update SUPPORT.md
2020-07-12 15:03:41 +02:00
Samuel Stancl
c12cca712e
Update issue templates
2020-07-12 15:02:57 +02:00
Samuel Stancl
fa6fee06ee
Update SUPPORT.md
2020-07-12 15:01:25 +02:00
Samuel Štancl
a5e02168d0
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-07-10 21:01:59 +02:00
Samuel Štancl
8734f74ddb
Fix Tenant typehint in jobs
2020-07-10 21:01:56 +02:00
stancl
dc32fee8f4
Apply fixes from StyleCI
2020-07-09 11:29:15 +00:00
Samuel Štancl
4b9b2648d5
Annotations for Domain contract
2020-07-09 13:29:04 +02:00
Samuel Štancl
dd90efdffe
Fix annotation
2020-07-09 13:18:54 +02:00
stancl
dbc77a110e
Apply fixes from StyleCI
2020-07-06 12:45:10 +00:00
Samuel Štancl
02557ecca1
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-07-06 14:44:56 +02:00
Samuel Štancl
f483d0b8cf
Extract VirtualColumn package
2020-07-06 14:44:49 +02:00
MinaseTaki
62dca0dc52
IDE Error Fix ( #452 )
...
* IDE Error Fix
* IDE Error Fix
2020-07-06 14:29:37 +02:00
Samuel Štancl
b362c16f89
TTL argument
2020-06-29 12:21:02 +02:00
Samuel Štancl
405a137ca1
Better solution for tenant DB exception
2020-06-29 12:18:03 +02:00
Samuel Štancl
41aead5da2
Revert "Get rid of TenantDatabaseDoesNotExist exception"
...
This reverts commit fe52a3c4ea .
2020-06-29 12:14:58 +02:00
stancl
9ed46bbc35
Apply fixes from StyleCI
2020-06-29 07:59:36 +00:00
Samuel Štancl
0c575f2463
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-06-29 09:59:23 +02:00
Samuel Štancl
fe52a3c4ea
Get rid of TenantDatabaseDoesNotExist exception
2020-06-29 09:58:37 +02:00
stancl
c8ed904d16
Apply fixes from StyleCI
2020-06-28 16:25:43 +00:00
Samuel Štancl
1e18dc3a74
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-06-28 18:24:54 +02:00
Samuel Štancl
8bf673098b
Fix guzzle issue
2020-06-28 18:24:41 +02:00
stancl
fcbfe8fb26
Apply fixes from StyleCI
2020-06-28 12:31:26 +00:00
Samuel Štancl
34d3189d61
Queue bootstrapper use tenancy() state
2020-06-28 14:30:34 +02:00
Samuel Štancl
057ddcbbae
Better exception from DomainTenantResolver
2020-06-28 13:53:33 +02:00
Samuel Štancl
7bdbc082cc
Set static property on domain resolver
2020-06-28 12:21:05 +02:00
Samuel Štancl
31af121bac
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-06-28 11:58:15 +02:00
Samuel Štancl
27fb563cde
if domains not array
2020-06-28 11:57:55 +02:00
stancl
4cad3bf8fc
Apply fixes from StyleCI
2020-06-28 09:46:19 +00:00
Samuel Štancl
49be62bbba
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-06-28 11:45:22 +02:00
Samuel Štancl
02e049b59e
Convert domains to lowercase, persist current domain model on resolver
2020-06-28 11:45:08 +02:00
Samuel Stancl
ba52bfa710
Formatting
2020-06-23 13:49:46 +02:00
Samer Halawani
dad7b87c9f
Fix typo ( #441 )
2020-06-18 14:29:01 +02:00
Samuel Štancl
cd1381eae9
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-06-14 14:19:27 +02:00
Samuel Štancl
ebec926410
Telescope v3 tags
2020-06-14 14:18:49 +02:00
Brian Dillingham
c72d43d762
Update README.md ( #436 )
2020-06-13 23:02:39 +02:00