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

534 commits

Author SHA1 Message Date
Samuel Štancl
f05a4bca41 Add tests, fix bugs 2019-02-08 15:28:32 +01:00
Samuel Štancl
124e747aa0 tenancy.cache.prefix_base -> tag_base 2019-02-07 22:07:02 +01:00
Samuel Štancl
fceddb8c4d Add more tests 2019-02-07 21:44:47 +01:00
Samuel Štancl
c53a05cff4
Make database creation queueable (#17)
* SOLIDify database creation

* Return the result of fclose in SQLiteDBCreator

* Make database creation queueable

* Add DatabaseCreationTest

* Make comment more descriptive [ci skip]

* Add composer script to copy .env.example to .env

* Minor tweaks

* Fix env section

* Fix DB_PASSWORD for Travis
2019-02-07 18:12:24 +01:00
Samuel Štancl
136862369d Move HttpKernel to /tests/ 2019-02-07 15:39:39 +01:00
Samuel Štancl
6bb18a2b95
Fix Travis, add docs for generating HTTPS certificates (#19) 2019-02-07 15:26:42 +01:00
Samuel Štancl
1547c134f1 Make TenantRouteServiceProvider check if the route file exists before requiring it 2019-02-02 00:03:29 +01:00
Samuel Štancl
999507fe42 Begin work on tests 2019-02-01 22:47:10 +01:00
Samuel Štancl
e919c6e25b Minor refactor 2019-01-28 18:34:26 +01:00
Samuel Štancl
a9e3f4052c Remove redundant method in the RouteSP 2019-01-26 13:08:39 +01:00
Samuel Štancl
394f792ec9 Map tenant routes using the SP - fix #10 2019-01-26 12:59:19 +01:00
Samuel Štancl
aabe48b54a Make DBs use utfmb4_unicode_ci 2019-01-23 22:44:26 +01:00
Samuel Štancl
3cb5efc654 Add comment 2019-01-23 21:15:41 +01:00
Samuel Štancl
4ef285061a Return null if key is not found in TenantManager->tenant 2019-01-23 21:00:11 +01:00
Samuel Štancl
89c073a859 Bugfix 2019-01-23 20:56:54 +01:00
Samuel Štancl
99a47c3da4 Add important comment 2019-01-22 21:41:07 +01:00
Samuel Štancl
2d12a6f05f Bugfix
put() stored the value for the current tenant even if the specified $uuid was of a different tenant
2019-01-22 21:33:41 +01:00
Samuel Štancl
14f415914f Add more storage features 2019-01-21 18:19:01 +01:00
Samuel Štancl
1fe599966b Fix #1 (code quality) 2019-01-20 21:02:32 +01:00
Samuel Štancl
19de80582d Don't auto migrate new tenants' databases 2019-01-20 20:02:13 +01:00
Samuel Štancl
ac34d0e5b8 Better error handling (fix #5) 2019-01-20 19:47:56 +01:00
Samuel Štancl
48baf88bf3 Merge branch 'master' of https://github.com/stancl/tenancy 2019-01-20 17:33:35 +01:00
Samuel Štancl
89d97a89ab Load the middleware from the SP, fix #3 2019-01-20 17:33:10 +01:00
Samuel Štancl
68cd063ce7
Remove dd() 2019-01-20 15:07:13 +01:00
Samuel Štancl
3a6ceed992 Fix #7 - tenant assets 2019-01-20 14:52:14 +01:00
Samuel Štancl
25bc3f81b3 Remove asset() 2019-01-19 23:26:26 +01:00
Samuel Štancl
b786643094 Fix variable 2019-01-19 23:19:05 +01:00
Samuel Štancl
6473806d0d oldstoragepaths -> oldStoragePaths 2019-01-19 23:12:09 +01:00
Samuel Štancl
8f384ade12 Fix storage_path() and asset() 2019-01-19 23:11:15 +01:00
Samuel Štancl
a9750ee6d8 Fix exempt routes, explain them in README 2019-01-19 16:29:55 +01:00
Samuel Štancl
7b95a9a4cd Add exempt domains 2019-01-19 14:49:42 +01:00
Samuel Štancl
eaeeeb5046
Change the default config 2019-01-19 12:13:50 +01:00
Samuel Štancl
cbabb9136d
Add support for getTenantById fields arg being str 2019-01-19 11:50:15 +01:00
Samuel Štancl
deb3ad77f5 Initial commit 2019-01-17 22:24:12 +01:00