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

898 commits

Author SHA1 Message Date
Samuel Štancl
03e21621a0 Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2020-04-25 01:30:40 +02:00
Samuel Štancl
8e1cfa5ae0 Make central route 404 in PreventAccess mw customizable 2020-04-25 01:30:27 +02:00
Samuel Štancl
7c88e883cf
Update config.php 2020-04-24 20:21:42 +02:00
Samuel Štancl
94e647c952
Return $tags when route is empty 2020-04-24 04:10:25 +02:00
Samuel Štancl
924b5abba6
@dillingham credits for logo [ci skip] 2020-04-23 21:10:30 +02:00
Samuel Štancl
e363456497
Fix #367, make seeder respect --force (#368) 2020-04-23 20:20:54 +02:00
Samuel Štancl
82146b196a Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2020-04-23 20:15:16 +02:00
Samuel Štancl
5947f14484 Add tenancy()->initialized() check 2020-04-23 20:15:08 +02:00
Samuel Štancl
a60a385760
Remove Travis badge 2020-04-23 19:18:04 +02:00
Samuel Štancl
eea252fc5c Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2020-04-23 19:09:36 +02:00
Samuel Štancl
56903d20bf Use Telescope tags on universal routes too - fix #346 2020-04-23 19:08:54 +02:00
Samuel Štancl
e258711cc9
Make config more understandable (#348)
* Make config more understandable

* Apply fixes from StyleCI

* Add two comments to migration_parameters
2020-04-23 19:06:36 +02:00
Samuel Štancl
5044339da6 Get rid of Travis 2020-04-23 19:03:33 +02:00
Samuel Štancl
70a748bb18 -T flags for test scripts 2020-04-23 19:00:20 +02:00
Samuel Štancl
a00b575501
Fix matrix variable 2020-04-23 18:54:17 +02:00
Samuel Štancl
1ce39d44dd
Try docker-compose exec -T 2020-04-23 18:41:17 +02:00
Samuel Štancl
76c22666c3
Non-interactive docker-compose 2020-04-23 18:36:11 +02:00
Samuel Štancl
83197be6f2 Double weidth 2020-04-23 18:13:34 +02:00
Samuel Štancl
138e2c8712 Fix image 2020-04-23 18:07:09 +02:00
Samuel Štancl
a688c27455 Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2020-04-23 13:05:18 +02:00
Samuel Štancl
2c09d1f716 New logo 2020-04-23 13:05:09 +02:00
Samuel Štancl
7eb3395807
Add docker-compose up -d 2020-04-22 23:36:06 +02:00
Samuel Štancl
c8b2113eb4
Update ci.yml 2020-04-22 23:34:54 +02:00
Samuel Štancl
5cc3578162
Update branch names 2020-04-22 23:33:57 +02:00
Samuel Štancl
721d0669c5
Set up GitHub Actions 2020-04-22 23:33:00 +02:00
Samuel Štancl
cb6661210f
Make sure an int exit code is always returned 2020-04-22 22:31:51 +02:00
Samuel Štancl
4a537672d8
Add TransferWise & edit mail links 2020-04-17 00:14:11 +02:00
Samuel Štancl
983a5ecf6c
Add patreon link 2020-04-16 22:26:52 +02:00
Samuel Štancl
a915dadba3
Update FUNDING.yml 2020-04-14 03:33:23 +02:00
Samuel Štancl
bfbcd92608
Add patreon 2020-04-14 03:32:33 +02:00
Samuel Štancl
5eb740b866
Update FUNDING.yml 2020-04-14 03:05:43 +02:00
Samuel Štancl
99b34f602c
Update SUPPORT.md 2020-04-13 12:41:02 +02:00
Jona Goldman
a99e8ac341
Fix getTenantIdByDomain() return type (#350) 2020-04-11 01:57:27 +02:00
Samuel Štancl
e44b3a1776
Update FUNDING.yml 2020-04-08 14:25:50 +02:00
Samuel Štancl
9cf5b8d870
Create FUNDING.yml 2020-04-08 14:25:08 +02:00
Samuel Štancl
b441d789b6 Pass $request and $next to onFail closures 2020-04-06 15:15:52 +02:00
Samuel Štancl
4f5ef6fc56 Return the result of onFail closures in middleware 2020-04-06 11:14:05 +02:00
Samuel Štancl
5dc80473d3
[2.3.1] Fix exit codes in TenantAwareCommand (#336)
* Fix exit codes in TenantAwareCommand

* Cast result to int

* Assert exit code 0
2020-03-30 21:09:58 +02:00
Samuel Štancl
4b46c65b2f
Support ramsey/uuid v3 & v4 2020-03-27 17:47:43 +01:00
Samuel Štancl
245d998d59 Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2020-03-24 15:14:27 +01:00
Samuel Štancl
61785128a8 Don't override CLI params in tenants:seed (fixes #329) 2020-03-24 15:14:20 +01:00
stancl
a649f9f00e Apply fixes from StyleCI 2020-03-24 14:02:38 +00:00
Samuel Štancl
df99e3e711 Check that the tenant database can be created only if it should be created 2020-03-24 15:02:23 +01:00
Devon Mather
cf339a5e82
Add return value to execute method (#333)
* Add command for test

* Write test to verify issue

* Make test pass
2020-03-21 02:05:17 +01:00
Samuel Štancl
30bab68b6a
Laravel 7 support (#304)
* Laravel 7 support

* Remove language from travis.yml

* Fix travis.yml

* Consistent indentation in travis.yml

* Use dev-master for phpcov

* Cleanup

* switch up envs

* verify both laravel versions are used

* 6 -> 7

* Fix travis yml

* Use stable phpcov

* Different installation for Laravel 7

* Indentation

* Fix dockerfile

* Fix indentation

* Fix tests

* Remove fail() calls
2020-03-17 18:47:24 +01:00
Samuel Štancl
526f0826a4
Use seeder params in tenants:seed instead of just the automatic seeder (#317)
* Use seeder params in tenants:seed instead of just the automatic seeder

* Left trim - from option names

* Use no seeder params for tests
2020-03-17 15:59:45 +01:00
Samuel Štancl
776af4643c Make null falsey for cache config because config is not merged recursively 2020-03-17 15:30:24 +01:00
Samuel Štancl
f6115d590a
[2.3.0] More identification middleware (#323)
* Added request data identification middleware (#207)

* Added request data identification middleware

* Fixed styling

* Changed to Illuminate request instead of helper

* Enabled header and querystring customisation

Co-authored-by: Jesper Jacobsen <joj@webshipper.com>

* Apply fixes from StyleCI

* Use constructor parameter instead of config

* Add tests

* Apply fixes from StyleCI

Co-authored-by: JapSeyz <JapSeyz@JapSeyz.com>
Co-authored-by: Jesper Jacobsen <joj@webshipper.com>
2020-03-17 00:02:57 +01:00
Samuel Štancl
13422fb090
Use phpredis 4.3.0 (#319) 2020-03-15 15:45:21 +01:00
Samuel Štancl
c7c6a7fec8
[2.3.0] Cached tenant lookup (#316)
* Begin work on cached lookup

* Apply fixes from StyleCI

* wip

* wip cache invalidation

* Apply fixes from StyleCI

* Finish cache invalidation

* Apply fixes from StyleCI

* Remove config from TestCase

* Enable cache in the single test file

* Separate data & domains logic

* Apply fixes from StyleCI

* wip

* Apply fixes from StyleCI
2020-03-14 19:52:35 +01:00