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

Commit graph

  • 6dc61f8abf try reverting TenantModelTest change Samuel Štancl 2024-03-12 12:45:24 +01:00
  • d6b5a6ab6c remove HasPending from the base Tenant model Samuel Štancl 2024-03-03 06:49:37 +01:00
  • e8c3c75d7c Simplify TenantWithDatabase interface, move tenantConfig() logic Samuel Štancl 2024-03-01 10:48:33 +01:00
  • 8a269f8dd8 Fix code style (php-cs-fixer) PHP CS Fixer 2024-03-01 07:42:38 +00:00
  • af3b693dd1 Simplify Tenant contract (remove run method), move run logic to Tenancy, add generics Samuel Štancl 2024-03-01 08:42:11 +01:00
  • 32a063b834
    Laravel 11 support + Docker improvements (#29) Samuel Štancl 2024-02-18 00:18:31 +01:00
  • d2ab2dacf2
    Merge pull request #32 from tenancy-for-laravel/merge-3x-feb2024 Samuel Štancl 2024-02-11 00:23:32 +01:00
  • bcf8256ef6 Merge branch 'merge-3x-feb2024' of github.com:tenancy-for-laravel/v4 into merge-3x-feb2024 Samuel Štancl 2024-02-11 00:08:15 +01:00
  • 4b52fed4a0 fix more files broken in automerge Samuel Štancl 2024-02-11 00:07:38 +01:00
  • 640305284b Fix code style (php-cs-fixer) PHP CS Fixer 2024-02-10 23:04:12 +00:00
  • 56a6f25dac fix phpstan errors Samuel Štancl 2024-02-10 23:55:56 +01:00
  • 2eda22772c import Exception Samuel Štancl 2024-02-10 23:51:04 +01:00
  • a7368264c2 remove duplicate method from automerge Samuel Štancl 2024-02-10 23:40:04 +01:00
  • 99706f95ef fix ci.yml Samuel Štancl 2024-02-10 23:37:46 +01:00
  • 7c29764d81 Merge remote-tracking branch 'origin/3.x' Samuel Štancl 2024-02-10 23:34:47 +01:00
  • fe4ee6336f Merge remote-tracking branch 'origin/merge-3.x' Samuel Štancl 2024-02-10 23:02:12 +01:00
  • 05e2167e9b
    Merge pull request #31 from tenancy-for-laravel/merge-public-repo-master Samuel Štancl 2024-02-10 22:01:32 +01:00
  • a430b1de29 Merge remote-tracking branch 'origin/master' into merge-public-repo-master Samuel Štancl 2024-02-10 21:55:54 +01:00
  • 222bbe4c02
    Final filesystem-related changes (#25) lukinovec 2024-02-10 19:13:02 +01:00
  • 6784685054
    Resource syncing rework (#30) Samuel Štancl 2024-02-10 19:08:37 +01:00
  • aa1437fb5e
    Resolve misc to-dos (#26) lukinovec 2024-02-10 18:38:05 +01:00
  • 80b1183fbf
    Make clone action prefix already prefixed routes correctly (#28) lukinovec 2024-02-10 18:19:20 +01:00
  • 7d7fca874a
    Update config.php Angelos Michalopoulos 2024-01-30 17:49:48 +02:00
  • d198baf55c
    Allow suffix for prefixed Redis connections Angelos Michalopoulos 2024-01-30 17:44:52 +02:00
  • 11507d289c revert fail-fast Samuel Štancl 2024-01-28 01:38:42 +01:00
  • f8a86a426d set default redis client to predis in tests Samuel Štancl 2024-01-28 00:06:06 +01:00
  • d210b77f61 drop and recreate id column separately in autoincrement_ids_are_supported Samuel Štancl 2024-01-27 23:58:38 +01:00
  • cdc6e31a52 Set default cache driver to redis in tests Samuel Štancl 2024-01-27 23:51:05 +01:00
  • b98db79dde try setting charset and collation on the default mysql connection Samuel Štancl 2024-01-27 23:26:18 +01:00
  • d60bde6872 fix ci file Samuel Štancl 2024-01-27 23:19:40 +01:00
  • 287fe01668 trigger ci Samuel Štancl 2024-01-27 23:18:39 +01:00
  • cd97bb6eb3 wip Samuel Štancl 2024-01-27 23:17:10 +01:00
  • 8db27a358e Forget tenant parameter when a tenant is resolved from cache in PathTenantResolver (fix #1174) v3.7.4 Samuel Štancl 2024-01-27 22:55:59 +01:00
  • 78c751c5a5 Laravel 11 support Samuel Štancl 2024-01-27 22:38:50 +01:00
  • 5fe8825f13
    Make universal routes work for controller middleware (#1151) v3.7.3 chillbram 2024-01-25 22:34:47 +01:00
  • 78ccfc709a
    add a fallback Samuel Štancl 2024-01-25 22:31:08 +01:00
  • c312156c18
    Give universal flag highest priority (#27) lukinovec 2024-01-25 15:27:17 +01:00
  • 105c866aef Delete todo comment ($modelsExcludedFromDiscovery added) lukinovec 2024-01-25 14:37:11 +01:00
  • 692860eb6f Make methods non-static in DealsWithModels lukinovec 2024-01-25 14:36:11 +01:00
  • 2cd2dd4b5f Fix code style (php-cs-fixer) PHP CS Fixer 2024-01-25 13:14:19 +00:00
  • 193efce9c0
    Update src/Database/Concerns/BelongsToTenant.php lukinovec 2024-01-25 14:14:00 +01:00
  • d268a06f5d tests: assert that tenants:run runs only for the specified tenants Samuel Štancl 2024-01-18 14:30:40 +01:00
  • 070828a81e add missing ::class Samuel Štancl 2024-01-11 21:24:28 +01:00
  • cf3d06c8ec
    Add permission-controlled SqlSrv database manager (#17) lukinovec 2024-01-08 04:07:43 +01:00
  • 9e4f33e5c5
    Identify tenants by the "Origin" header (#21) lukinovec 2024-01-08 00:29:01 +01:00
  • 6398c027b2 fix check isSubdomain bangnokia 2024-01-05 01:52:36 +07:00
  • df9324b92f
    Stop bypassing tenancy initializition when domain is central in domain ID MW (#24) lukinovec 2024-01-03 23:35:49 +01:00
  • 00a00a2aff
    Pass BroadcastManager to override closures (#23) Samuel Štancl 2023-12-20 12:23:37 +01:00
  • d9b63cdf59
    Stop setting $prefixRouteNames to true in path ID MW (#22) lukinovec 2023-12-19 17:44:06 +01:00
  • ea5a7463b8
    Allow mapping nested tenant properties to mail config (#20) lukinovec 2023-12-18 12:42:03 +01:00
  • ca400b51d2 Fix global/central channel terminology lukinovec 2023-12-13 19:11:18 +01:00
  • 6c60a834d5
    update larastan include Samuel Štancl 2023-12-12 11:06:43 +01:00
  • 1acdd1bdb6
    remove --xdebug from phpstan job Samuel Štancl 2023-12-12 11:03:53 +01:00
  • a5800452ac update larastan dependency Samuel Štancl 2023-12-12 10:53:23 +01:00
  • 10babdd1f1
    Merge branch 'master' into unware-feature lukinovec 2023-12-08 15:42:06 +01:00
  • e4df597d81
    Make providing identification middleware statically to controllers work (#18) lukinovec 2023-12-01 09:38:43 +01:00
  • 4953c69fd8
    Update path identification and Fortify integration-related logic (#13) lukinovec 2023-11-26 21:08:41 +01:00
  • 96615f02ea Fix code style (php-cs-fixer) PHP CS Fixer 2023-11-22 17:08:29 +00:00
  • 5a1beb1f3b Make Postgres tenant DB password default to central lukinovec 2023-11-22 18:07:58 +01:00
  • 0b248f937d
    Add step option to migrate-fresh command (#1164) Massimo Simonini 2023-11-21 02:25:32 +01:00
  • c043661318
    update todo Samuel Štancl 2023-11-21 02:11:33 +01:00
  • c6e6964e24
    add job name and use if: always() Samuel Štancl 2023-11-21 02:10:35 +01:00
  • ce1585ed71
    change continue-on-error to fail-fast Samuel Štancl 2023-11-21 02:07:33 +01:00
  • d182df4458
    set continue-on-error to true Samuel Štancl 2023-11-21 02:03:00 +01:00
  • 9512886306
    Create validate.yml Samuel Štancl 2023-11-21 01:59:36 +01:00
  • 52261ef814
    Merge branch 'archtechx:3.x' into 3.x Leandro Gehlen 2023-11-17 02:15:27 -08:00
  • c49e9b7e39 Fix connection config template array_merge parameter order Sergio Parejo 2023-11-15 15:13:19 +01:00
  • 8b0bdd42ed Make getCustomColumns() static in SingleDomainTenant lukinovec 2023-11-09 09:35:06 +01:00
  • 0858702b49 Add step option to migrate-fresh command Massimo 2023-11-08 13:30:16 +01:00
  • e25e7b7961
    Single-domain tenants (#16) lukinovec 2023-11-08 11:38:26 +01:00
  • c34952f328
    Add broadcasting channel prefixing bootstrapper (#12) lukinovec 2023-11-06 22:09:01 +01:00
  • 1c952023e1
    Execute the bootstrappers in reverse order when reverting to central context Marius 2023-11-05 11:41:13 +02:00
  • b503dbf33d
    Fix rollback command (#14) lukinovec 2023-10-16 01:50:59 +02:00
  • ab240fb675
    Correct variable name (#15) lukinovec 2023-10-12 22:45:52 +02:00
  • ba15a4bfb9
    fix: don't create database if its exists mohammad mahdi khakdaman 2023-10-07 19:48:32 +03:30
  • c587c47b12 Make universal routes work for controller middleware chillbram 2023-10-02 19:12:58 +02:00
  • 85c7465aca remove unnecessary import v3.7.2 Samuel Štancl 2023-09-02 03:20:42 +02:00
  • caf2267a08 reimplement TenantAssetsController::validatePath() (fixes #1143) Samuel Štancl 2023-09-02 03:19:37 +02:00
  • 8d38f42cd0
    Correct asset helpers, make asset helpers work with path identification (#6) lukinovec 2023-08-31 15:44:26 +02:00
  • f7d9f02fd4
    Improve route cloning action (#8) lukinovec 2023-08-28 13:17:17 +02:00
  • 4d4639450e
    Use randomly generated tenant key instead of 'acme' in failing test (#10) lukinovec 2023-08-25 17:01:47 +02:00
  • 4af70d302f add extra $path validation to TenantAssetsController v3.7.1 Samuel Štancl 2023-08-24 18:21:23 +02:00
  • 2d500f9780
    Fix #1112 - throw an exception if DATABASE_URL is set (#9) Samuel Štancl 2023-08-18 20:21:00 +02:00
  • 395192442d
    Add use (#1103) tamiroh 2023-08-18 14:40:21 +09:00
  • 9d6356aea4
    Close tenant connections after jobs (#1128) lukinovec 2023-08-18 07:38:07 +02:00
  • af3812e788
    Fix filesystem bootstrapper (#7) lukinovec 2023-08-16 09:03:25 +02:00
  • 948754cadc
    Clone routes action improvements (#4) lukinovec 2023-08-07 18:32:13 +02:00
  • 90dc8d50be Add RLSModel lukinovec 2023-08-07 10:54:23 +02:00
  • b04b063fe6 Delete extra RlsModel class lukinovec 2023-08-07 10:46:58 +02:00
  • 0ca52f9be3 Fix code style (php-cs-fixer) PHP CS Fixer 2023-08-07 08:45:26 +00:00
  • 34e8fb7fa9 Delete 'rls' test group lukinovec 2023-08-07 10:44:58 +02:00
  • ad0a2e5f6f Use "RLS" instead of "Rls" lukinovec 2023-08-07 10:44:48 +02:00
  • e3b59ae2b5
    Improve file structure (#5) lukinovec 2023-08-03 17:51:53 +02:00
  • 1d0ca27bc8
    Central routes without Route::domain(), configurable tenant/central routes by default for domain/subdomain identification, allow accessing central routes in early identification for path & request data middleware (#3) Abrar Ahmad 2023-08-03 03:23:26 +05:00
  • 4ed5aa0add Make schema configurable in CreatePostgresUserForTenant lukinovec 2023-07-28 13:31:06 +02:00
  • e070d13745
    update support link Samuel Štancl 2023-07-27 05:15:28 +02:00
  • 2a5683122e Add and test excluding models from discovery lukinovec 2023-07-20 13:43:10 +02:00
  • a664860d63 Add todo (exclude specific models) lukinovec 2023-07-18 08:02:05 +02:00
  • 9055034451 Delete unused property lukinovec 2023-07-04 15:53:27 +02:00
  • 15cdd6b2c1 Protect RLS policy creation statement from SQL injection lukinovec 2023-06-28 10:36:59 +02:00