1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 06:24:04 +00:00

Commit graph

  • 6bcd327b75 Apply fixes from StyleCI stancl 2021-04-22 09:04:14 +00:00
  • 3ee1e36653
    Set key type to string when uuids are used Samuel Štancl 2021-04-22 11:04:06 +02:00
  • a88c95b089 Revert auto formatted declare of strict_types Jasper Koers 2021-04-20 12:08:26 +02:00
  • e5c0304030 assetSame with string because of keyType of string Jasper Koers 2021-04-20 12:06:17 +02:00
  • 01c5ed3fa9 Set keyType to String for Tenant Jaspur 2021-04-20 10:44:19 +02:00
  • 605e6d0bb5 Adds ability for origin to contain ports Jon Erickson 2021-04-19 12:44:38 -06:00
  • 0d14911538 Apply fixes from StyleCI v3.4.3 stancl 2021-04-16 17:57:51 +00:00
  • c21beabd3e
    Fix issue 632: cached lookup (#633) Ralfs 2021-04-16 20:57:41 +03:00
  • 597eebd693 StyleCi Fix Ralfs 2021-04-14 08:42:44 +03:00
  • c436b06cba
    clean up code Samuel Štancl 2021-04-13 23:00:26 +02:00
  • 2aec8417e9
    rename method to resolved() Samuel Štancl 2021-04-13 22:58:48 +02:00
  • 643a64b5c8 Removed select() for better flexibility, added new method setCurrentDomain(), refactored the usage of tenantIdentified(). Ralfs 2021-04-13 22:18:53 +03:00
  • 07f5064db4
    Moves config to service provider hackerESQ 2021-04-13 12:23:37 -05:00
  • b4145374fe
    Move config to service provider hackerESQ 2021-04-13 12:22:21 -05:00
  • 6cc2a1d155
    Move routes config option hackerESQ 2021-04-13 12:21:15 -05:00
  • dd005724a3
    Uses proper config key hackerESQ 2021-04-13 11:54:04 -05:00
  • 1b30a80682
    Only registers tenant route if enabled in config hackerESQ 2021-04-13 11:46:38 -05:00
  • c35561d893
    Add option to enable/disable tenant asset route hackerESQ 2021-04-13 11:44:33 -05:00
  • e4a3211b34 Fixed tenant()->domains showing incorrect data. Renamed tenantIdentifiedFromCache() method and removed duplicate code, when setting current domain. Ralfs 2021-04-12 23:53:15 +03:00
  • 1d3bb6dc27 Redundant variable '$domain', because $tenant is not null, only, when current domain is found and relationship is loaded (with only one domain). Ralfs 2021-04-12 15:39:21 +03:00
  • 3145d8330d StlyeCi Fix - removed PHP 8 nullsafe operator for compatibility with older PHP versions, replaced with inline if Ralfs 2021-04-12 12:50:09 +03:00
  • 9c9b2da618 Instead of querying Domain model, find Tenant and eager load it's domain via Tenant model. Fixed cached lookup issue - when caching Tenant, also include the current Domain, so it can be later accessed via $tenant->domains->first() (even, when using multiple domains per tenant). Added tenantIdentifiedFromCache method in CachedTenantResolver.php, which can be used to set custom properties in resolvers after Tenant is loaded from cache. Ralfs 2021-04-12 12:22:34 +03:00
  • b4182f8194 Add request origin resolver test Jon Erickson 2021-03-22 16:18:17 -07:00
  • be44d1baf4 Added request origin resolver middleware to service provider stub Jon Erickson 2021-03-22 15:44:11 -07:00
  • 8852a48373 Add request origin tenant resolver Jon Erickson 2021-03-22 15:31:33 -07:00
  • e596eaaaa6
    Update 2019_09_15_000010_create_tenants_table.php Abraham Brookes 2021-03-22 11:30:05 +10:00
  • 27e9fb4a69
    Fix arguments being initialized twice for tenants:seed command (#611) v3.4.2 Michael Lundbøl 2021-03-10 12:08:51 +01:00
  • c50dcbc1df
    Fix arguments being initialized twice for tenants:seed command Michael Lundbøl 2021-03-10 00:11:30 +01:00
  • 7bba5b13d7 Last I hope Teo Miscia 2021-02-06 17:35:50 +01:00
  • 474194e2dc Following StyleCI improvements Teo Miscia 2021-02-06 17:34:53 +01:00
  • a23b125c75 Improved readability Teo Miscia 2021-02-06 17:31:59 +01:00
  • d4cfe40d51 Check DB existsance as config Teo Miscia 2021-02-06 16:58:33 +01:00
  • 192594ca28
    fix badge url Samuel Štancl 2021-01-16 21:30:48 +01:00
  • 2389751796
    Laravel 8 badge Samuel Štancl 2021-01-16 21:30:11 +01:00
  • 1a48725aef
    Add static variable for MiddlewareUniversalName. (#581) v3.4.1 mlajx 2021-01-15 19:31:31 -03:00
  • 65aecb9139 change the variable name and undo the code style mlajx 2021-01-15 18:53:20 -03:00
  • 7653fefefd Added middlewareUniversalName static variable to extends and customize the UniversalRoutes class mlajx 2021-01-15 18:08:56 -03:00
  • 04193cc2fd
    Add phpdoc parameter to Tenant magic method for better IDE support (#565) Aleksandr Medvedev 2020-12-19 17:39:16 +05:00
  • 4da911b7ca Add phpdoc parameter to Tenant magic method for better IDE support Aleksandr Medvedev 2020-12-19 13:27:46 +05:00
  • 27fd2e7951 Apply fixes from StyleCI stancl 2020-12-14 12:12:13 +00:00
  • 1fbe9cf3e2
    Fix #562 Samuel Štancl 2020-12-14 13:12:03 +01:00
  • faedc849c9
    Update bug-report.md Samuel Štancl 2020-12-11 08:29:36 +01:00
  • 160f887fe4
    Update FilesystemTenancyBootstrapper.php Mike 2020-12-07 01:29:49 -05:00
  • 6915f67199
    Update config.php Mike 2020-12-07 01:26:32 -05:00
  • e645a28e7c [FIX] Storage base was labeled as a suffix when infact it was a prefix Michael Morris 2020-12-07 01:21:54 -05:00
  • 9e9899349f Simplify docker build, use stable PHP 8 image Samuel Štancl 2020-12-01 18:20:25 +01:00
  • 65c30aaa1f Create PreventAccessFromTenants.php Robert Dennis 2020-12-01 06:46:36 +00:00
  • 30a1f9102d
    PHP 8 support (#542) v3.4.0 Samuel Štancl 2020-11-30 17:30:42 +01:00
  • 50f634ab2f Update spatie/valuestore constraint to be stable Samuel Štancl 2020-11-30 17:24:35 +01:00
  • e63fb998b6 [WIP] Try using dev-master for valuestore Samuel Štancl 2020-11-30 16:43:59 +01:00
  • ef2189dc41 fix composer package name Samuel Štancl 2020-11-30 16:38:19 +01:00
  • 5c26a31cf3 single include Samuel Štancl 2020-11-30 16:31:54 +01:00
  • 3c305c2a45 Default PHP target Samuel Štancl 2020-11-30 16:29:58 +01:00
  • 5f043507b4 Try using matrix include Samuel Štancl 2020-11-30 16:28:23 +01:00
  • d9b65bf36f Try using a custom data structure in the workflow Samuel Štancl 2020-11-30 16:19:02 +01:00
  • 1f02310da9 PHP 8 support, test workflow syntax Samuel Štancl 2020-11-30 16:14:08 +01:00
  • ce0dee4343 Improve PHPUnit assertions peter279k 2020-11-29 02:13:52 +08:00
  • 1634514069
    ensure tenant will rollback bepsvpt 2020-11-23 17:41:18 +08:00
  • 5ef225762f add --only-selected option for tenants:migrate command IWT 2020-11-19 20:15:59 +07:00
  • 126afcd0dd
    Terminating pipelines (#527) v3.3.0 Samuel Štancl 2020-11-15 16:26:26 +01:00
  • e4c672d9d9 Terminating pipeline tests Samuel Štancl 2020-11-15 16:19:53 +01:00
  • 8f12dd8829
    Update TenantCouldNotBeIdentifiedById.php Samuel Štancl 2020-11-14 16:45:52 +01:00
  • 19c5820efd Apply fixes from StyleCI stancl 2020-11-13 21:00:16 +00:00
  • dc60276e6d Inject the Application contract instead of the concrete class Samuel Štancl 2020-11-13 22:00:02 +01:00
  • 8f34a733d8
    Add tenancy()->central() helper (#526) Samuel Štancl 2020-11-13 08:15:24 +01:00
  • b7241049fe
    Fix return typehint Samuel Štancl 2020-11-13 08:15:14 +01:00
  • f20bb55022 Return false from CreateDatabase job Samuel Štancl 2020-11-12 21:41:09 +01:00
  • dd1b7fc86d
    Fix tenants:list when not using multi-domain tenancy (#504) Pete Cooper 2020-11-12 16:23:58 +00:00
  • f59e96e489 Merge branch 'central-helper' of github.com:stancl/tenancy into central-helper Samuel Štancl 2020-11-12 17:22:42 +01:00
  • 7b6e86d9dc Add docblock Samuel Štancl 2020-11-12 17:22:35 +01:00
  • 6be23e7a63 Apply fixes from StyleCI stancl 2020-11-12 16:18:29 +00:00
  • 51ba97dbcc Add tenancy()->central() helper Samuel Štancl 2020-11-12 17:07:57 +01:00
  • 1c93360077
    Fix Typo in TenantCouldNotBeIdentifiedById (#525) Cristian Tudorache 2020-11-12 16:14:20 +02:00
  • d2e0b18963 Fix Typo in TenantCouldNotBeIdentifiedById Cristian Tudorache 2020-11-12 16:03:05 +02:00
  • e0af2e9945
    Fix issue 521: Array input for --tenants (#522) Dylan Harbour 2020-11-12 15:08:37 +02:00
  • 916c6ec2af Fix Typo in TenantCouldNotBeIdentifiedById Cristian Tudorache 2020-11-12 10:53:47 +02:00
  • 9f4dcbc40f Styleci Dylan Harbour 2020-11-04 15:35:37 +02:00
  • 9e2cb75351 Fix issue 521: Array input for --tenants Dylan Harbour 2020-11-04 15:33:12 +02:00
  • f273ed4f1e
    Composer 2 (#517) Samuel Štancl 2020-10-29 11:59:28 +01:00
  • ea87f1b85c
    Composer 2 Samuel Štancl 2020-10-29 11:54:09 +01:00
  • 2cbf8dbd4e
    Remove Patreon and kofi Samuel Štancl 2020-10-25 16:33:49 +01:00
  • 0c3fe6165d
    Changed description wording Michael Lundbøl 2020-10-24 21:21:52 +02:00
  • b33366e0c0
    Improve the tests for central helper michael lundbøl 2020-10-24 16:53:37 +02:00
  • 49e3273aa5
    add description michael lundbøl 2020-10-24 16:38:47 +02:00
  • 4ad4e3421d
    Rename method to central michael lundbøl 2020-10-24 16:14:45 +02:00
  • e5700e7f72
    Add runGlobal helper michael lundbøl 2020-10-24 05:29:41 +02:00
  • 3b6a24f08e
    update to an if/else Pete Cooper 2020-10-02 10:13:20 +01:00
  • ddf0a40b53
    formatting Pete Cooper 2020-10-01 17:37:05 +01:00
  • 9978fefa77
    Fix tenants:list when not using multi-domain tenancy Pete Cooper 2020-10-01 17:33:57 +01:00
  • 9a412bf86e Fix Database Sessions Cristian Tudorache 2020-09-25 10:50:17 +03:00
  • 411d486282
    Fix: The database name is displayed when the TenantDatabaseAlreadyExistsException exception is thrown. (#499) GENL 2020-09-23 18:47:35 +01:00
  • 28e67a2e69 Fix the code style Henrich 2020-09-22 22:30:21 +01:00
  • 424b69cb2b Fix: The database name is displayed when the TenantDatabaseAlreadyExistsException exception is thrown. Henrich 2020-09-22 22:22:12 +01:00
  • 894965d1a7
    Extend GlobalCache facade from the original facade (#495) domkrm 2020-09-18 23:18:21 +02:00
  • 59ad8a4a2e Extend GlobalCache facade from the original facade domkrm 2020-09-18 23:07:52 +02:00
  • 218a34c40e
    Only bind UUID generator if one is specified in config (#493) v3.2.1 domkrm 2020-09-16 15:06:24 +02:00
  • d99d79ac21 Only bind UUID generator if one is specified in config domkrm 2020-09-15 22:09:15 +02:00
  • 5fe79fea33
    Fix initialize() method (#488) v3.2.0 Samuel Štancl 2020-09-08 21:19:39 +02:00
  • 30e2eba6cc
    Remove useless line Samuel Štancl 2020-09-08 21:19:09 +02:00
  • 36aabb7883
    First try at Laravel 8 (#491) Andre Sayej 2020-09-08 22:11:56 +03:00