1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 16:24:04 +00:00
Commit graph

534 commits

Author SHA1 Message Date
Samuel Štancl
a433edf186 Fix route publishing 2020-05-24 21:17:15 +02: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
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
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
stancl
6955512a6b Apply fixes from StyleCI 2020-05-22 09:01:31 +00: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
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
Samuel Štancl
b87c0bc9d2 Add more events 2020-05-17 17:42:09 +02:00
Samuel Štancl
0508429e0f Fix asset publishing 2020-05-17 15:14:05 +02:00
Samuel Štancl
4d6003eec0 Tenant|Model typehint 2020-05-16 12:01:58 +02:00
Samuel Štancl
3547b8ce4c PreventAccessFromCentralDomains middleware 2020-05-16 11:57:29 +02:00
Samuel Štancl
7a7200fd25 Minor fixes for using the package in an app 2020-05-16 11:56:32 +02:00
Samuel Štancl
1833622170 Extract JobPipelines to a separate package 2020-05-15 18:26:08 +02:00
Samuel Štancl
05d6383b99 Session scoping & tenant() cleanup 2020-05-15 11:07:42 +02:00
Samuel Štancl
c8f9a82745 Cleanup after implementing impersonation 2020-05-15 07:39:19 +02:00
Samuel Štancl
10a5b80d44 User impersonation 2020-05-15 07:30:57 +02:00
Samuel Štancl
d92277a236 HasScopedValidationRules trait 2020-05-14 05:13:33 +02:00
Samuel Štancl
f4898bec2b Rename parent model -> getRelationshipToPrimaryModel 2020-05-14 04:20:06 +02:00
Samuel Štancl
42160aa93c BelongsToParentModel 2020-05-14 04:11:44 +02:00
Samuel Štancl
28019f4528 Single DB tenancy 2020-05-14 03:57:13 +02:00
Samuel Štancl
5e99fca070 Custom tenant collections 2020-05-14 02:29:14 +02:00
Samuel Štancl
1a8d150f2c Change bootstrappers namespace 2020-05-13 18:19:59 +02:00
Samuel Štancl
b772590479 Private repo composer.json 2020-05-13 07:12:25 +02:00
Samuel Štancl
de53b81c0e Change default tenant model, write more tests, cleanup 2020-05-13 06:23:41 +02:00
Samuel Štancl
c32f229dd5 Refactor more old code and get tests to pass 2020-05-13 04:51:37 +02:00
Samuel Štancl
8915297c30
Merge branch 'master' into shared-users 2020-05-13 00:33:27 +02:00
Samuel Štancl
a756b9b3bc Implement changes from review on GH 2020-05-13 00:31:30 +02:00
Samuel Štancl
89936187ce Rewrite old tests 2020-05-12 23:22:40 +02:00
Samuel Štancl
64383b4c56 Refactor DB config & Tenant DB managers 2020-05-12 03:32:28 +02:00
Samuel Štancl
3c4d2189dc DatabasePreparationTest 2020-05-12 03:14:08 +02:00
Samuel Štancl
b7c8f1fba7 Shared users - complete 2020-05-12 01:54:02 +02:00
Samuel Štancl
daae67c0f7 Synced resources - proof of concept 2020-05-11 07:32:20 +02:00