1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 07:54:03 +00:00
Commit graph

20 commits

Author SHA1 Message Date
Samuel Štancl
ab04ef025b
[2.2.0] Universal routes (#210)
* Universal routes

* Fix bugs

* Add universal MW group
2019-10-30 15:50:00 +01: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
Anton Komarev
d70e561106 Fix variables code style consistency (#136) 2019-09-29 13:02:51 +02:00
Anton Komarev
3d1ceadf34 [2.x] Remove request helper from TenantManager (#144)
* Remove request from tenant manager

* Rollback
2019-09-27 06:53:08 +02:00
Anton Komarev
3f4018f93c [2.x] Add missing field in InitializeTenancy middleware (#135)
* Add missing field

* Make field protected

* Specify exact exception type

* Changed Closure on callable
2019-09-26 17:01:38 +02:00
Samuel Štancl
4a17992957 Home route -> home url 2019-09-22 17:24:02 +02:00
Samuel Štancl
92618e09a5 Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2019-09-22 17:17:46 +02:00
Samuel Štancl
e21f5ad76f Fix PreventAccess middleware 2019-09-22 17:17:38 +02:00
stancl
efcb2dd425 Apply fixes from StyleCI 2019-09-21 21:53:33 +00:00
Samuel Štancl
7229691977 Add comments 2019-09-21 23:53:23 +02:00
Samuel Štancl
c9903cd43c Clean up 2019-09-19 20:32:09 +02:00
stancl
8a548f9459 Apply fixes from StyleCI 2019-08-23 20:24:39 +00:00
Samuel Štancl
0a57f9d3df
[1.8.0] Allow conflicting routes (#114)
* PreventAccessFromTenantDomains middleware

* Apply fixes from StyleCI

* Install command

* Switch order of middleware

* Apply middleware to $middleware instead of web, fix tests

* Apply fixes from StyleCI

* Fix tests

* Fix tests

* wip

* wip
2019-08-23 22:24:31 +02:00
Samuel Štancl
2fd3662eb7
[1.8.0] Use strict types (#115)
* Use strict types

* Apply fixes from StyleCI

* Fix str_repeat

* Fix false json decode
2019-08-23 18:18:26 +02:00
Samuel Štancl
490c776bc8
Use ?? instead of ?: 2019-08-10 14:43:37 +02:00
Samuel Štancl
ddc0e6fb1e
Remove support for onFail without arguments to improve performance 2019-03-04 22:19:38 +01:00
Samuel Štancl
a9750ee6d8 Fix exempt routes, explain them in README 2019-01-19 16:29:55 +01:00
Samuel Štancl
7b95a9a4cd Add exempt domains 2019-01-19 14:49:42 +01:00
Samuel Štancl
deb3ad77f5 Initial commit 2019-01-17 22:24:12 +01:00