1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 19:54:04 +00:00
Commit graph

1036 commits

Author SHA1 Message Date
Samuel Štancl
2b02198dda Move to archtechx/tenancy:latest 2022-08-30 16:23:50 +02:00
Abrar Ahmad
3542b3f028
update spatie/ignition to support L9 (#930) 2022-08-30 15:21:19 +02:00
Abrar Ahmad
5aa8231c81
Merge branch 'master' into resource-syncing 2022-08-30 13:05:28 +05:00
Abrar Ahmad
aaffc1d6b0 Update ResourceSyncingTest.php 2022-08-30 12:35:22 +05:00
Abrar Ahmad
d22224c945 merge default values with sync attributes and tests 2022-08-30 12:29:52 +05:00
PHP CS Fixer
3605252d85 Fix code style (php-cs-fixer) 2022-08-30 03:46:17 +00:00
Samuel Štancl
8af354c20e get phpstan errors down from 252 to 189 2022-08-30 05:44:23 +02:00
Abrar Ahmad
fb8b9c1614
add phpstan (#926) 2022-08-29 20:55:33 +02:00
Abrar Ahmad
80496fb0f0 Fix little grammer 2022-08-29 13:23:02 +05:00
Abrar Ahmad
d798e3504a update comments 2022-08-29 13:22:14 +05:00
Abrar Ahmad
62c9516ec1 Update ResourceSyncingTest.php 2022-08-29 13:16:00 +05:00
Abrar Ahmad
b437f64e30 rename method to getAttributesForCreation 2022-08-29 12:42:58 +05:00
Abrar Ahmad
eef51f40b9 classes at the end 2022-08-29 12:34:24 +05:00
Abrar Ahmad
55d858b601 assert that creation attributes returns null 2022-08-29 12:16:34 +05:00
3368c4cb16
add a todo 2022-08-28 04:00:43 +02:00
PHP CS Fixer
eade69c3f4 Fix code style (php-cs-fixer) 2022-08-27 20:29:46 +00:00
Samuel Štancl
d2e1ce0a1e refactor TenantDatabaseManagers 2022-08-27 22:29:08 +02:00
PHP CS Fixer
824292e6df Fix code style (php-cs-fixer) 2022-08-27 01:17:45 +00:00
Samuel Štancl
40bf28c7d0 general refactor, move more classes under Database namespace 2022-08-27 03:17:16 +02:00
Samuel Štancl
2d7e9dfd89 Add 'composer coverage' 2022-08-26 22:29:40 +02:00
Samuel Štancl
5f41647a6b revert Tenancy changes, fix failing tests 2022-08-26 21:49:09 +02:00
Samuel Štancl
02faf2407f Laravel 9 only 2022-08-26 21:39:05 +02:00
PHP CS Fixer
06cc7bf686 Fix code style (php-cs-fixer) 2022-08-26 19:35:44 +00:00
Samuel Štancl
55d0a9ab87 misc improvements - stronger types, exception refactor 2022-08-26 21:35:17 +02:00
Abrar Ahmad
ddc7cf49c3
switch php version based on ARG (#924) 2022-08-26 16:42:57 +02:00
Erik Gaal
ca2eefa30a
[WIP] Use a lighter Docker image, use it in CI (#793)
* Use action services and setup-php in workflow

* Fix codecov

* exclude master from CI

* Add space after 'up' in 'docker-compose up-d' (#900)

* Fix ArgumentCountError on the TenantAssetsController (#894)

* Fix ArgumentCount exception on the TenantAssetsController when no `$path` is provided

* CS

* CS

* Handle null case explicitly

* code style

Co-authored-by: Bram Wubs <bram@sibi.nl>
Co-authored-by: Samuel Štancl <samuel@archte.ch>

* Improve Dockerfile and use it in CI

* Update Dockerfile

* mssql CI health check

* cache key

* Update ci.yml

* Update ci.yml

* Update composer.json

* register dumcommand when L8

* Update ci.yml

* Update composer.json

* Update composer.json

* Update composer.json

* wip

* removed extensions config and php version from matrix

* introduce php-cs-fixer issue for testing

* Fix code style (php-cs-fixer)

* install composer in Docker and remove setup-php step

* added pcov for coverage

* on master branch

* composer test command

* tests above services

* Update ci.yml

* Revert "register dumcommand when L8"

This reverts commit f165fc58ba.

* removed composer cache dependencies

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: Bram Wubs <megawubs@users.noreply.github.com>
Co-authored-by: Bram Wubs <bram@sibi.nl>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
Co-authored-by: Abrar Ahmad <abrar.dev99@gmail.com>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2022-08-25 19:52:46 +02:00
Samuel Štancl
931c76d697
Pull 3.x changes into master (#922)
* exclude master from CI

* Add space after 'up' in 'docker-compose up-d' (#900)

* Fix ArgumentCountError on the TenantAssetsController (#894)

* Fix ArgumentCount exception on the TenantAssetsController when no `$path` is provided

* CS

* CS

* Handle null case explicitly

* code style

Co-authored-by: Bram Wubs <bram@sibi.nl>
Co-authored-by: Samuel Štancl <samuel@archte.ch>

* Add support for nested tenant config override (#920)

* feat: add support for nested tenant config override

* test: ensure nested tenant values are mapped

* Update TenantConfigTest.php

Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: Bram Wubs <megawubs@users.noreply.github.com>
Co-authored-by: Bram Wubs <bram@sibi.nl>
Co-authored-by: George Bishop <email.georgebishop@gmail.com>
Co-authored-by: Abrar Ahmad <abrar.dev99@gmail.com>
2022-08-22 17:59:43 +02:00
Samuel Štancl
fce95aa862 Merge branch 'master' of github.com:archtechx/tenancy 2022-08-21 18:12:27 +02:00
Abrar Ahmad
6ffa3d2b55 wip 2022-08-16 15:59:52 +05:00
Abrar Ahmad
f02aa1a6f2 wip 2022-08-16 15:50:22 +05:00
Abrar Ahmad
3e514461ca wip 2022-08-16 15:27:34 +05:00
Abrar Ahmad
e756b54b31 Update ResourceSyncingTest.php 2022-08-10 13:42:48 +05:00
Abrar Ahmad
3bba3bd3de Update ResourceSyncingTest.php 2022-08-10 13:41:14 +05:00
Abrar Ahmad
ea21291b3e update comment 2022-08-10 13:13:54 +05:00
Abrar Ahmad
5ba92859e4 Update ResourceSyncingTest.php 2022-08-10 13:09:13 +05:00
Abrar Ahmad
69a44335f7 Update ResourceSyncingTest.php 2022-08-10 13:06:37 +05:00
Abrar Ahmad
724ed5a502 Revert "improve comments, move method to SyncMaster interface"
This reverts commit 5ddd50deb9.
2022-08-10 13:03:17 +05:00
Abrar Ahmad
5ddd50deb9 improve comments, move method to SyncMaster interface 2022-08-10 12:56:16 +05:00
Abrar Ahmad
818026eaaa
Update tests/ResourceSyncingTest.php
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2022-08-10 12:05:56 +05:00
Abrar Ahmad
3951680a98 comments 2022-08-09 10:19:53 +05:00
Abrar Ahmad
3814bf2183 cs 2022-08-08 17:57:02 +05:00
Abrar Ahmad
134eb55848 Update ci.yml 2022-08-08 17:42:40 +05:00
Abrar Ahmad
2409746449 Update ResourceSyncingTest.php 2022-08-08 17:21:30 +05:00
Abrar Ahmad
b64d344bb6 Update ci.yml 2022-08-08 17:09:14 +05:00
Abrar Ahmad
c109d27a9f Update ResourceSyncingTest.php 2022-08-08 17:06:17 +05:00
Abrar Ahmad
b90fb6ec77 configure attributes for creating resource 2022-08-08 16:55:27 +05:00
PHP CS Fixer
db4a795c3e Fix code style (php-cs-fixer) 2022-08-04 18:30:06 +00:00
Abrar Ahmad
a45aa8e274
Improve tenants:run command (#912)
* improve `tenants:run` command

* Update Run.php
2022-08-04 20:29:39 +02:00
Samuel Štancl
e4a47f3e6e Set default $tenant value 2022-08-02 15:21:02 +02:00
Samuel Štancl
3ea38bba4d Merge branch 'master' of github.com:tenancy-for-laravel/v4 2022-08-02 15:01:09 +02:00