stancl
b176481cdf
Apply fixes from StyleCI
2020-06-02 16:57:30 +00:00
Samuel Štancl
d8563ba7e9
Create listener for manual mode multi-db
2020-06-02 18:57:18 +02:00
Samuel Štancl
b2c240a9f0
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
2020-06-01 09:51:26 +02:00
Samuel Štancl
da23662d7b
Clenup for resource syncing
2020-06-01 09:51:22 +02:00
Samuel Štancl
7d40b3390c
Run CI for 3.x branch too
2020-05-31 12:20:44 +02:00
Samuel Štancl
1fae7a76f2
Update links to 3.x
2020-05-31 12:05:50 +02:00
stancl
21a2b3f01d
Apply fixes from StyleCI
2020-05-30 15:15:07 +00:00
Samuel Štancl
6dad6ce49a
Allow array values for Tenant Config
...
Closes #412
2020-05-30 17:14:56 +02:00
stancl
a0192a941e
Apply fixes from StyleCI
2020-05-30 15:01:29 +00:00
Samuel Štancl
6788deca56
Drop keys for bootstrappers
2020-05-30 17:01:18 +02:00
Samuel Štancl
579779b88b
Move DatabaseManager
2020-05-30 15:38:29 +02:00
Samuel Štancl
16a598bb17
Merge branch 'master' of github.com:stancl/tenancy
2020-05-29 09:35:54 +02:00
Samuel Štancl
43d75cdd38
Fix tenants:list
2020-05-29 09:33:49 +02:00
stancl
d94ff22170
Apply fixes from StyleCI
2020-05-26 11:25:35 +00:00
Samuel Štancl
ed200ab733
Universal routes
2020-05-26 13:25:24 +02:00
Samuel Štancl
7fcfeb187c
?? [] in SP due to config caching
2020-05-25 10:08:10 +02:00
Samuel Štancl
0290d26d06
routes/tenancy -> routes/tenant
2020-05-24 21:22:27 +02:00
Samuel Štancl
d6dc97d869
Merge branch 'master' of github.com:stancl/tenancy
2020-05-24 21:17:23 +02:00
Samuel Štancl
a433edf186
Fix route publishing
2020-05-24 21:17:15 +02:00
stancl
3cce4f200c
Apply fixes from StyleCI
2020-05-24 19:11:01 +00:00
Samuel Štancl
5eeba43796
Move tenant routes file
2020-05-24 21:10:50 +02:00
Samuel Štancl
5a19f1769e
Merge branch 'master' of github.com:stancl/tenancy
2020-05-24 20:53:49 +02:00
Samuel Štancl
78c64f0425
Rolling back & deleting DB events
2020-05-24 20:52:50 +02:00
stancl
1a85bca7ee
Apply fixes from StyleCI
2020-05-24 18:40:24 +00:00
Samuel Štancl
2839f45196
Refactor models & config
2020-05-24 20:40:10 +02:00
Samuel Štancl
f0ff8248e7
Clean up global state in tests
2020-05-22 20:08:50 +02:00
Samuel Štancl
4256b9eba6
Merge branch 'master' of github.com:stancl/tenancy
2020-05-22 18:21:23 +02:00
Samuel Štancl
dce06b7430
Fix some tests
2020-05-22 18:21:19 +02:00
ohnotnow
158e052deb
Updated some docker stuff ( #409 )
...
Changed the dockerfile to use the official Docker php image and installed
the pcov extension instead of xdebug for code coverage.
Also updated the docker-compose file to make the main 'test' service not start up
before all the DB containers are running ok.
2020-05-22 18:09:07 +02:00
stancl
f639909eb7
Apply fixes from StyleCI
2020-05-22 10:34:35 +00:00
Samuel Štancl
800e8d5a56
Enable caching in initialization mw
2020-05-22 12:34:25 +02:00
Samuel Štancl
d7c04d304d
Merge branch 'master' of github.com:stancl/tenancy
2020-05-22 11:10:05 +02:00
Samuel Štancl
175add0148
Reindent ci.yml
2020-05-22 11:09:39 +02:00
stancl
6955512a6b
Apply fixes from StyleCI
2020-05-22 09:01:31 +00:00
Samuel Štancl
1798ca9c85
Merge branch 'master' of github.com:stancl/tenancy
2020-05-22 11:01:06 +02:00
Samuel Štancl
0049a48383
Laravel 6 support
2020-05-22 10:56:02 +02:00
Samuel Štancl
d23dbf18ce
Code style
2020-05-21 19:29:23 +02:00
Samuel Štancl
2c1cc41b97
Telescope tags
2020-05-21 18:05:02 +02:00
Samuel Štancl
33d6fd82da
-ing event behavior
2020-05-21 17:55:48 +02:00
Samuel Štancl
c40dba4e02
Fix typo
2020-05-21 17:00:57 +02:00
Samuel Štancl
4f8d892481
Remove obsolete files, restructure
2020-05-21 15:54:35 +02:00
Samuel Štancl
fbe43fbb04
Restructure config
2020-05-21 15:05:05 +02:00
Samuel Štancl
15a7e52208
Get rid of tenant DB manager connection config
2020-05-21 14:47:29 +02:00
Samuel Štancl
2fedd5ce88
Tenant-specific maintenance mode
2020-05-20 21:50:10 +02:00
Samuel Štancl
ac58f6992b
Use getTenantKey() instead of ->id references
2020-05-20 20:41:47 +02:00
Samuel Štancl
d7536ce0af
CachedTenantResolver
2020-05-20 20:34:16 +02:00
Samuel Štancl
e6e4548a22
Use % for CREATE % GRANT queries
2020-05-20 14:33:24 +02:00
Samuel Štancl
1329356b4b
Refactor stub provider, add middleware priority logic
2020-05-19 16:36:15 +02:00
Samuel Štancl
3e337e1ae0
Fire event after setting tenant propery
2020-05-17 18:09:56 +02:00
Samuel Štancl
dd44a3406d
Fire the newly created Tenancy events
2020-05-17 17:53:38 +02:00