1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 11:34:02 +00:00
Commit graph

573 commits

Author SHA1 Message Date
Samuel Štancl
dfffcebec2
Merge branch '2.x' into saas 2019-10-26 22:54:27 +02:00
Samuel Štancl
b4caaaed51 Add comments to config 2019-10-26 22:01:01 +02:00
Samuel Štancl
bdab188a61 Don't allow callables for queue chain 2019-10-26 21:49:53 +02:00
JapSeyz
77df467567 Fixes an issue where tests wouldn't have tenants in the tearDown method (#198)
* Fixes an issue where tests wouldn't have tenants in the tearDown method

* Styling
2019-10-26 21:18:03 +02:00
Samuel Štancl
bb4dc196b0
[2.2.0] Make tenancy initialization in global MW stack optional (#203)
* Make tenancy initialization in global MW stack optional

* update config key
2019-10-26 21:17:28 +02:00
Samuel Štancl
96679240de Use DB hooks instead of a SC key 2019-10-26 21:14:02 +02:00
Samuel Štancl
93d9355391 dots 2019-10-25 21:15:38 +02:00
Samuel Štancl
7fe9b36e4b Tenant -> Tenants 2019-10-25 19:49:23 +02:00
Samuel Štancl
2cf138a728 findBy instead of find 2019-10-25 19:38:36 +02:00
Samuel Štancl
f6f6b51dc3 instanceof closure check 2019-10-25 19:16:28 +02:00
Samuel Štancl
81deb1c553 import str 2019-10-25 19:04:00 +02:00
Samuel Štancl
ae873a3b4b Merge branch 'saas' of github.com:stancl/tenancy into saas 2019-10-25 19:01:59 +02:00
Samuel Štancl
84a6c4770c WIP event system 2019-10-25 19:01:51 +02:00
Samuel Štancl
9671e1e29d Fix chained jobs 2019-10-25 18:19:00 +02:00
stancl
df98c8126e Apply fixes from StyleCI 2019-10-24 17:22:46 +00:00
Samuel Štancl
4196d918d6 Merge branch 'saas' of github.com:stancl/tenancy into saas 2019-10-24 19:22:34 +02:00
Samuel Štancl
b282c67032 Redis SD TODO message 2019-10-24 19:22:22 +02:00
Samuel Štancl
8d73381eae findBy DB storage driver 2019-10-24 19:22:00 +02:00
stancl
c0d73db385 Apply fixes from StyleCI 2019-10-24 16:59:38 +00:00
Samuel Štancl
a80275c1ac findBy\* ForwardsCalls 2019-10-24 18:59:21 +02:00
Samuel Štancl
696863b1d4 WIP findBy() 2019-10-24 18:57:30 +02:00
Samuel Štancl
0e39bec265 Merge branch '2.x' into saas 2019-10-24 18:46:07 +02:00
Samuel Štancl
d4beae32ca Add docblocks to helpers 2019-10-23 08:14:30 +02:00
Samuel Štancl
15e8285ab6 pass $tenant to async actions 2019-10-21 22:05:15 +02:00
Samuel Štancl
a17e5bcc41 pass $tenant as parameter 2019-10-21 20:53:09 +02:00
Samuel Štancl
3575e0dcdf postCreationActions 2019-10-21 20:51:31 +02:00
Samuel Štancl
394d976863 Rename method 2019-10-21 20:48:10 +02:00
Samuel Štancl
85b1d73cf3 Merge branch 'saas' of github.com:stancl/tenancy into saas 2019-10-21 20:46:54 +02:00
Samuel Štancl
f7a8dbcbb9 User post-creation callbacks 2019-10-21 20:46:48 +02:00
stancl
72f7fafd92 Apply fixes from StyleCI 2019-10-21 18:33:10 +00:00
Samuel Štancl
d4d6c747d2 TenantDatabaseDoesNotExistException 2019-10-21 20:32:58 +02:00
Samuel Štancl
d899dcfcce
Add link to landing page to the image 2019-10-21 18:11:02 +02:00
Samuel Štancl
bd744cbb71
Center badges 2019-10-21 15:00:51 +02:00
Samuel Štancl
d86e30ea8b
Merge pull request #177 from caneco/2.x
Add brand new logo to the project
2019-10-21 14:47:46 +02:00
Caneco
3367983694 fix: housectapus colors 2019-10-21 07:25:13 +01:00
Samuel Štancl
6fdc041f88
Don't purge centrail connections - fix issue caused by writing a regression test (#192) 2019-10-20 09:45:03 +02:00
Samuel Štancl
f489aba819
Respect custom columns during tenant creation (#191) 2019-10-20 00:27:52 +02:00
Samuel Štancl
479df83027
[2.x] Don't purge central connections (#189)
* Make sure central connections aren't ever purged

* Extract setDefaultConnection()

* Regression test w/ markTestIncomplete()

* Apply fixes from StyleCI
2019-10-19 23:52:13 +02:00
Samuel Štancl
c8a0a58df6
Create routes/tenant.php only if the file does not exist (#188)
* Create routes/tenant.php only if the file does not exist

* Move tenant routes to a stub file
2019-10-19 22:03:03 +02:00
Samuel Štancl
cfcb2574c2
[2.1.0] Central queue connections (#181)
* Central queues

* Better dependency injection

* tenancy=false => central=true; move config to env setup

* Apply fixes from StyleCI
2019-10-17 21:00:52 +02:00
Chris Brown
d5b01219fd [2.x] Allow automatic seeding after automatic migrations (#160) 2019-10-17 19:25:30 +02:00
Samuel Štancl
3dbbbe8b24
Update bug-report.md 2019-10-17 19:00:24 +02:00
Jona Goldman
58fbdd5281 Use config charset and collation for MySQL (#180)
* Use config charset and collation for MySQL

* respect code styling
2019-10-17 14:00:33 +02:00
Samuel Štancl
3e78410d8a
[2.1.0] Fix queue race conditions (#178)
* Add TenantDoesNotExist exception, fix queued migrator serialization

* wip

* Apply fixes from StyleCI

* Use only one config for  queueing

* Apply fixes from StyleCI

* rename test

* rename test
2019-10-17 13:55:10 +02:00
Caneco
3ebde39ca1 feat: changed the base colors of the Housectapus to it feats the landing page 2019-10-16 19:26:08 +01:00
Caneco
961a65b53a improvement: add brand new logo to the project 2019-10-16 07:48:16 +01:00
Samuel Štancl
e98db460ec merge 2019-10-15 20:24:39 +02:00
Samuel Štancl
cbd3850a8f
[2.1.0] Initialize tenancy before executing controller constructors (#169)
* Update message about migrations in Install

* wip

* Apply fixes from StyleCI

* string instead of array

* Fix globalUrl binding

* Simplify if condition in TenantRouteServiceProvider

* Apply fixes from StyleCI

* Improve PreventAccessFromTenantDomains - look into middleware subgroups

* Fix typo

* gatherMiddleware() instead of middleware()

* Fix tests

* Apply fixes from StyleCI

* Update install command

* Apply fixes from StyleCI

* Add the PreventAccess MW to tenant routes by default
2019-10-15 20:23:56 +02:00
Chris Brown
7143bce5f9 Update PreventAccessFromTenantDomains.php (#171)
* Update PreventAccessFromTenantDomains.php

* Update PreventAccessFromTenantDomains.php

* Update PreventAccessFromTenantDomains.php
2019-10-14 15:51:26 +02:00
Samuel Štancl
97d47e33d0
Move facade/ignition-contracts to require-dev 2019-10-13 17:29:41 +02:00