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

59 commits

Author SHA1 Message Date
Samuel Štancl
76dae7b025 Revert "use the laravel version from the ci matrix for the phpstan job as well"
This reverts commit 5f3079d2ff.
2023-02-21 18:42:31 +01:00
Samuel Štancl
5f3079d2ff use the laravel version from the ci matrix for the phpstan job as well 2023-02-21 18:38:20 +01:00
4acf7e26b5
10.x-dev (fix conflict resolution) 2023-02-21 18:35:46 +01:00
Samuel Štancl
d655d3acf7 remove L9 support 2023-02-21 18:31:16 +01:00
Samuel Štancl
b883d52a6a Merge branch 'master' into cache-prefix 2023-02-21 18:30:18 +01:00
Samuel Štancl
8b7862d8ad
add --xdebug option to phpstan 2023-02-21 18:28:57 +01:00
Samuel Štancl
a48e447389 use dev-master before our changes are released in L10 2023-02-21 17:49:15 +01:00
Samuel Štancl
e531f96c4b
specify full laravel versions to support using dev-master in PRs 2023-02-21 17:47:25 +01:00
lukinovec
e61a26d604
Add L10 support to 4.x (merge 3.x to master) (#1071)
* 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

* fix: typo mistake (#954)

* [3.x] Add Vite helper for tenancy (#956)

* Add Vite helper for tenancy

* Move Vite bundler to an Optional Feature

* Rename to foundation vite

* Add ViteBundlerTest

* Add missing end of file

* Update tests

* remove unnecessary end() call

Co-authored-by: Samuel Štancl <samuel@archte.ch>

* rewrite ViteBundlerTest to phpunit syntax

* skip vite test in Laravel < 9

* convert ViteBundler to PHP 7 syntax

* remove import of nonexistent class in older Laravel versions

* remove import of Foundation\Vite in tests

* try to exclude Vite.php from coverage report

* remove typehint

* update channel name

* Cache crash fix (#1048)

* Don't prevent accessing missing Tenant attributes. (#1045)

* [3.x] L10 compatibility (#1065)

* Bump dependencies for Laravel 10

* Update GitHub Actions for Laravel 10

* ci: do not test L10 using PHP 7.3

* drop < L9 support

* use `dispatch_sync` instead of `dispatch_now`

* migrate phpunit configuration

* Update ci.yml

* drop laravel < 9 support

* misc L10 fixes, new docker image

* specify odbc version

* wip

* properly list php versions as strings

* minor changes

* Add `getValue($queryGrammar)` to raw query

* Clean up `isVersion8` code

* rewrite hasFailed assertion

* phpunit schema update

* Upgrade `doctrine/dbal`

---------

Co-authored-by: Samuel Štancl <samuel@archte.ch>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
Co-authored-by: lukinovec <lukinovec@gmail.com>

* Update ci.yml

* Fix code style (php-cs-fixer)

* Update dependencies

* Change invade version

* Delete ViteBundlerTest

* Fix PHPStan error

* Delete PHPStan error ignore

* Fix CONTRIBUTING.md

* Delete ViteBundler remains

* Bring back ViteBundler

* Convert ViteBundlerTest to Pest

* Update ci.yml

---------

Co-authored-by: Samuel Štancl <samuel.stancl@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: George Bishop <email.georgebishop@gmail.com>
Co-authored-by: Anbuselvan Rocky <15264938+anburocky3@users.noreply.github.com>
Co-authored-by: Wilsen Hernández <13445515+wilsenhc@users.noreply.github.com>
Co-authored-by: Joel Stein <joel@mediatrix.digital>
Co-authored-by: Guilherme Saade <saade@outlook.com.br>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2023-02-20 23:47:10 +01:00
Samuel Štancl
66c7d6a066 fix PhpParser exception 2023-02-01 06:05:26 +01:00
Samuel Štancl
21d55ef472 add setup-php to phpstan job 2023-01-06 02:44:37 +01:00
Abrar Ahmad
99dd862b20
[4.x] [WIP] Add phpstan to CI (#928)
* add phpstan

* resolve phpstan issue from CI

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2022-11-08 13:47:24 +01:00
Jori Stein
e4f5b92485
[4.x] Update commands CLI outputs (#968)
* Using laravel components

* Ensure commands returns success

* update tests

* clean

* bump EndBug version

* Update ci.yml

* Update ci.yml

* Update ci.yml

* revert CI changes

* Update ci.yml

* Update ci.yml

* Update ci.yml

* revert CI changes to it's original state

* fix typos, improve code

* improve Install & TenantList commands

* php-cs-fixer

* type GitHub properly

Co-authored-by: Abrar Ahmad <abrar.dev99@gmail.com>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2022-10-18 19:11:57 +02:00
Samuel Štancl
2b02198dda Move to archtechx/tenancy:latest 2022-08-30 16:23:50 +02:00
Samuel Štancl
02faf2407f Laravel 9 only 2022-08-26 21:39:05 +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
Abrar Ahmad
69de181b7d
removed PHP_CS_FIXER_IGNORE_ENV (#904) 2022-07-22 19:22:33 +02:00
Abrar Ahmad
97ab483173
Completing PR #881 (#902)
* install PHP CS Fixer

* Fix styling

* remove StyleCI config

* use config from archtechx/template

* Fix styling

* added `php-cs-fixer`

* Update .php-cs-fixer.php

* added GitHub token

* Update ci.yml

* Update ci.yml

* Update ci.yml

* php-cs-fixer workflow same as template

Co-authored-by: Erik Gaal <me@erikgaal.nl>
Co-authored-by: erikgaal <erikgaal@users.noreply.github.com>
2022-07-20 15:28:45 +02:00
Samuel Štancl
d0de09aa53
remove old versions from CI 2022-06-01 15:36:46 +02:00
Samuel Štancl
fa2a61fcd7
Use PHP 7.3 instead of 7.2 2022-03-17 12:30:14 +01:00
Samuel Štancl
eb1a2ebe32
Use 7.2 instead of 7.4 2022-03-17 12:24:57 +01:00
Erik Gaal
79e3d53b06
[3.x] Compatibility with Laravel 9 (#802)
* Test on Laravel 9

* Don't extend final Kernel class

* Make FilesystemTenancyBootstrapper compatible with Flysystem v3

Co-authored-by: George <jiri.zizka@funfirst.cz>

* Update tenant maintenance mode te be in line with Laravel

* Exclude PHP 7.4 <> L9 combination from testing

* add root_override-related assertions

* getPrefix -> getPathPrefix

* handle / inconsistency in s3 prefix

* Refactor Storage facade changes

Co-authored-by: George <jiri.zizka@funfirst.cz>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2022-03-08 01:50:25 +01:00
Samuel Štancl
5b9b384526 Remove codecov 2022-02-19 16:33:59 +01:00
Abrar Ahmad
f12c826df5
Use GitHub forms for issues template. (#755)
* Create bug-report_new.md

* wip

* Delete bug-report.md

* Update bug-report.yml
2021-11-17 21:45:44 +01:00
Samuel Štancl
faedc849c9
Update bug-report.md 2020-12-11 08:29:36 +01:00
Samuel Štancl
9e9899349f Simplify docker build, use stable PHP 8 image 2020-12-01 18:20:25 +01:00
Samuel Štancl
30a1f9102d
PHP 8 support (#542)
* PHP 8 support, test workflow syntax

* Try using a custom data structure in the workflow

* Try using matrix include

* Default PHP target

* single include

* fix composer package name

* [WIP] Try using dev-master for valuestore

* Update spatie/valuestore constraint to be stable
2020-11-30 17:30:42 +01:00
Samuel Štancl
2cbf8dbd4e
Remove Patreon and kofi 2020-10-25 16:33:49 +01:00
Andre Sayej
36aabb7883
First try at Laravel 8 (#491) 2020-09-08 21:11:56 +02:00
Samuel Štancl
14370baaa7
Link to /issues 2020-08-31 21:34:56 +02:00
Samuel Štancl
14078b6720
Make documentation issues a link to tenancy-docs 2020-08-31 21:34:37 +02:00
Samuel Štancl
75ea844741
Delete documentation-issue.md 2020-08-31 21:34:01 +02:00
Samuel Stancl
df4d7288d7
Create config.yml 2020-07-12 15:04:14 +02:00
Samuel Stancl
c12cca712e Update issue templates 2020-07-12 15:02:57 +02:00
Samuel Štancl
4acbb01b74
Update FUNDING.yml 2020-06-13 11:09:22 +02:00
Samuel Štancl
7d40b3390c
Run CI for 3.x branch too 2020-05-31 12:20:44 +02:00
Samuel Štancl
6788deca56 Drop keys for bootstrappers 2020-05-30 17:01:18 +02:00
Samuel Štancl
175add0148 Reindent ci.yml 2020-05-22 11:09:39 +02:00
Samuel Štancl
0049a48383 Laravel 6 support 2020-05-22 10:56:02 +02:00
Samuel Štancl
99d460f76e Disable 6.x in CI 2020-05-14 02:34:51 +02:00
Samuel Štancl
c239225bc6 Use CI on master branch too 2020-04-30 20:49:14 +02:00
Samuel Štancl
9ebb819c8b
Add @stancl GH Sponsors profile 2020-04-27 18:42:26 +02:00
Samuel Štancl
a00b575501
Fix matrix variable 2020-04-23 18:54:17 +02:00
Samuel Štancl
1ce39d44dd
Try docker-compose exec -T 2020-04-23 18:41:17 +02:00
Samuel Štancl
76c22666c3
Non-interactive docker-compose 2020-04-23 18:36:11 +02:00
Samuel Štancl
7eb3395807
Add docker-compose up -d 2020-04-22 23:36:06 +02:00
Samuel Štancl
c8b2113eb4
Update ci.yml 2020-04-22 23:34:54 +02:00
Samuel Štancl
5cc3578162
Update branch names 2020-04-22 23:33:57 +02:00
Samuel Štancl
721d0669c5
Set up GitHub Actions 2020-04-22 23:33:00 +02:00
Samuel Štancl
a915dadba3
Update FUNDING.yml 2020-04-14 03:33:23 +02:00