1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-03-23 10:54:04 +00:00

Commit graph

  • ff68bd93ef Use tenant key on console commands instead of id sort72 2021-12-23 12:33:48 -05:00
  • 2726f07bca
    fixed typo (#766) Frederic Habich 2021-12-22 13:24:07 +01:00
  • 4865074b42
    fixed typo Frederic Habich 2021-12-22 13:20:47 +01:00
  • 5bb2e4ef5a Replaced tenant connection name with getTemplateConnectionName David Rushton 2021-12-14 22:01:14 +00:00
  • 9883219544 wip Samuel Štancl 2021-12-13 13:09:16 +01:00
  • 7875fbd575 Rename commands signatures j.stein 2021-12-02 23:39:42 +01:00
  • db9113007a Add up and down tenant maintenance commands j.stein 2021-12-02 23:35:30 +01:00
  • ec979655d2 Add bring up from maintenance function j.stein 2021-12-02 22:16:53 +01:00
  • f12c826df5
    Use GitHub forms for issues template. (#755) Abrar Ahmad 2021-11-18 01:45:44 +05:00
  • 3b6698f02a Update bug-report.yml Abrar Ahmad 2021-11-17 17:47:57 +05:00
  • 86bb153f95 Delete bug-report.md Abrar Ahmad 2021-11-17 16:50:48 +05:00
  • 56fa90521b wip Abrar Ahmad 2021-11-17 16:42:25 +05:00
  • d3a8d31cbe Create bug-report_new.md Abrar Ahmad 2021-11-17 15:36:37 +05:00
  • b58b068434
    Add missing import for Domain model (#745) v3.4.5 Jasper Zonneveld 2021-11-03 10:21:51 +01:00
  • 3c0d13cd8d
    Add missing import for Domain model Jasper Zonneveld 2021-11-02 20:37:11 +01:00
  • 77248089af Set Internal DB Connection Name Bogdan Kharchenko 2021-10-15 17:19:49 -04:00
  • 3f1b8d2a6e
    Prevent missing and duplicate field José Manuel Casani Guerra 2021-09-28 23:39:38 -05:00
  • c310e1df40
    Update variable & syntax Samuel Štancl 2021-09-14 22:14:51 +02:00
  • 5ed5aea6d6 Fixed Link command for Laravel v6, added StorageLink Events, more StorageLink tests, added RemoveStorageSymlinks Job, added Storage Jobs to TenancyServiceProvider stub, renamed misleading config example. Martin Vlček 2021-09-13 19:22:06 +02:00
  • d7d6007c7f
    Fixed array to string conversion Stefan Ninic 2021-09-14 11:40:53 +02:00
  • 717b834c51
    Trigger CI build Samuel Štancl 2021-09-09 13:57:32 +02:00
  • a10490e6e4 added support for microsoft sql server database nick 2021-09-06 10:46:57 +10:00
  • ecb963b1f4
    Remove default table override Peter Lightbody 2021-08-19 10:41:06 +01:00
  • adf3daa022 This adds support for tenancy aware Storage::url() method Martin Vlcek 2021-07-19 22:38:33 +00:00
  • ce60eb72a9 Add --force parameter to tenants:seed Artisan call chillbram 2021-07-15 13:58:53 +02:00
  • 20e1fa1959
    Fixed typo (#684) Ralfs Garkaklis 2021-07-08 14:32:17 +03:00
  • 08eeb9cf8a
    Fixed typo Ralfs Garkaklis 2021-07-08 14:24:53 +03:00
  • aa7291ba05 Check cache store support for tags Mohamed Gamil 2021-07-08 12:34:06 +02:00
  • 577af9ac9c
    Create AccessFromCentralDomains.php webactor724 2021-06-30 16:16:15 +04:30
  • fb44f3288d
    Syncing resources fails when table structures differ Elísio Leonardo 2021-06-26 15:36:43 +02:00
  • 0d423ecddd
    Syncing resources fails when table structures differ Elísio Leonardo 2021-06-26 15:34:32 +02:00
  • 8fb3eb0abd feat(UniversalRoutes): Stop overwriting the (maybe) customized onFail method and just call it in case of an exception Bemigho 2021-06-22 08:39:49 +02:00
  • 1a5300ab4f
    Fix array_unique causing problems in TenancyServiceProvider stub (#672) Roelof Roos 2021-06-15 20:43:53 +02:00
  • 382400624c Fix array_unique causing problems in TenancyServiceProvider stub Roelof Roos 2021-06-15 11:19:52 +02:00
  • 254b1b3f84 Fix issue 515: Cannot create a new tenant with a different different db host Babis Papakonstantinou 2021-05-15 15:02:51 +03:00
  • d71fec7d27 Add support for soft delete events Oleksii Savchuk 2021-04-25 13:50:16 +03:00
  • 54a33f93a8 Apply fixes from StyleCI v3.4.4 stancl 2021-04-22 09:09:22 +00:00
  • 740d670665
    Adds ability to disable tenant asset routes (#636) hackerESQ 2021-04-22 04:09:16 -05:00
  • 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