1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 22:14:03 +00:00
Commit graph

1194 commits

Author SHA1 Message Date
lukinovec
d84878bd45 Refactor assertion 2023-04-17 14:51:52 +02:00
lukinovec
859b2c534a Add assertion 2023-04-17 14:49:23 +02:00
lukinovec
52d9643535 Update cache prefixing and tests 2023-04-17 14:34:54 +02:00
lukinovec
13b85a2d3b Set cache.default in beforeEach 2023-04-17 12:36:59 +02:00
lukinovec
0c1912b9c5 Small testing improvements 2023-04-14 12:33:08 +02:00
lukinovec
3481e24c7d Delete afterEach 2023-04-13 13:45:29 +02:00
lukinovec
dd57d9bbdc Simplify cache tests 2023-04-13 13:44:00 +02:00
lukinovec
9e15110ad9 Update cache tests so that both prefixing and tagging is covered 2023-04-13 13:36:58 +02:00
lukinovec
651302943f Correct $addTags reset in a test 2023-04-13 13:10:41 +02:00
lukinovec
740d4e78d8 Update prefix generator logic + tests 2023-04-13 12:46:33 +02:00
lukinovec
8ac4d87e94 Use a single original prefix 2023-04-13 07:47:18 +02:00
PHP CS Fixer
c9ba00c1fc Fix code style (php-cs-fixer) 2023-04-13 05:07:38 +00:00
lukinovec
4ab692bb05 Rename bootstrapper 2023-04-13 07:07:11 +02:00
lukinovec
35b0dea270 Use $this->app instead of app() 2023-04-12 09:40:00 +02:00
lukinovec
9d9e2b32ce Add defaultPrefix property 2023-04-12 09:10:23 +02:00
lukinovec
e894c782ab Add info in comment 2023-04-12 08:33:45 +02:00
lukinovec
39e62c7dcf Make original prefixes customizable 2023-04-12 08:23:31 +02:00
lukinovec
940fb1744b Move logic from separate method to __call 2023-04-12 07:21:33 +02:00
lukinovec
2d0ee2c7cd Improve CacheManager 2023-04-12 07:17:29 +02:00
lukinovec
70051e70b3 Rename bootstrapper 2023-04-11 15:01:08 +02:00
PHP CS Fixer
52dabed878 Fix code style (php-cs-fixer) 2023-04-11 12:29:44 +00:00
lukinovec
7ebfc375d6 Disable cache tagging by default, add CacheTagBootstrapper 2023-04-11 14:28:28 +02:00
lukinovec
5849afa4c8 Use $this->config instead of config() 2023-04-07 12:03:55 +02:00
lukinovec
66669934f9 Reset static properties in afterEach 2023-03-31 14:11:45 +02:00
lukinovec
840cd831d6 Delete CacheTenancyBootstrapper 2023-03-31 14:10:56 +02:00
lukinovec
7bbd5350c7 Update tests 2023-03-31 09:20:10 +02:00
lukinovec
1f1c7cc2bc Fix original prefix logic 2023-03-31 09:19:46 +02:00
lukinovec
8ea3cc9739 Use default prefix generator inline, delete the 'default' key logic 2023-03-31 07:51:20 +02:00
lukinovec
c45f900b78 Delete tmpfs from docker-compose.yml (there were no benefits) 2023-03-30 14:37:32 +02:00
e9aa5be546
Update ci.yml 2023-03-20 21:50:17 +01:00
lukinovec
a1dc8e93b8 Merge branch 'master' of github.com:archtechx/tenancy into cache-prefix 2023-03-20 12:19:15 +01:00
Samuel Štancl
dfd39722a7
bump stancl/jobpipeline to v2.0.0-rc1 2023-03-16 22:20:47 +01:00
PHP CS Fixer
9388459d7d Fix code style (php-cs-fixer) 2023-03-14 16:30:41 +00:00
lukinovec
7b91e3fdec Test cache prefixing customization 2023-03-14 17:24:57 +01:00
lukinovec
8348389fb3 Add customizing cache store prefixes 2023-03-14 17:22:56 +01:00
lukinovec
660b772fe3 Use tmpfs in docker-compose 2023-03-14 17:19:45 +01:00
lukinovec
5a20a0e2a7 Update Laravel 2023-03-14 17:19:31 +01:00
lukinovec
719b1be245
Fix URL root override example (#1079) 2023-03-01 10:40:56 +01:00
lukinovec
b715571927 Prefix all cache stores specified in $tenantCacheStores 2023-02-24 09:17:24 +01:00
lukinovec
4638392788 Use 10.x-dev 2023-02-23 14:33:29 +01:00
lukinovec
a7e4956ee5 Specify 10.1.1 as the minimal Laravel version in ci.yml 2023-02-23 14:22:51 +01:00
lukinovec
cf799d3529 Complete L9 support removal 2023-02-23 14:21:36 +01:00
lukinovec
a152d31ac4 Use new Laravel release, remove L9 support 2023-02-23 14:17:30 +01:00
lukinovec
9e8af40715 Test that non-default stores get prefixed too 2023-02-21 18:48:57 +01:00
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
20f9b7fc42 merge 2023-02-21 18:31:50 +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