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

803 commits

Author SHA1 Message Date
Samuel Štancl
987c54f04e Fix #29 add Tenancy facade 2019-02-15 21:00:11 +01:00
Samuel Štancl
a2d68b1261 Fix #31 CacheManager didn't merge tags properly; write tests for CacheManager 2019-02-13 17:13:01 +01:00
Samuel Štancl
d4d4119754 Fix small bug in CacheManager 2019-02-13 16:46:35 +01:00
Samuel Štancl
d2ec7f171d Fix #25 better error handling 2019-02-13 16:26:00 +01:00
Samuel Štancl
fa5334f83e
Add a use statement 2019-02-13 13:23:09 +01:00
Samuel Štancl
62e3781542 Fix #30 remove namespace statement from helpers.php 2019-02-13 13:12:12 +01:00
Samuel Štancl
7fc89271f3 Fix #28 associative arrays being converted into objects 2019-02-11 19:34:52 +01:00
Samuel Štancl
83d272007d
Add array support to the storage. (#27)
* Add array support to the storage.
(Existing tests have been modified, but only in a way that makes them more correct than they were, making this a backwards compatible feature.)
2019-02-10 21:45:36 +01:00
Samuel Štancl
ef1e93bf96 Remove migrations_directory from config 2019-02-09 12:15:18 +01:00
Samuel Štancl
e1def355f9 Add command tests 2019-02-09 11:53:48 +01:00
Samuel Štancl
33fcb8a936 Cleanup commands 2019-02-09 00:40:52 +01:00
Samuel Štancl
8d382024a3 Add more TenantManager tests 2019-02-09 00:17:51 +01:00
Samuel Štancl
9ec4fd931a First TenantAssetTest 2019-02-08 23:25:50 +01:00
Samuel Štancl
22fc843ce3 Fix a lot of bugs, fix #23 2019-02-08 22:44:46 +01:00
Samuel Štancl
39d9c9d51e Merge branch 'master' of https://github.com/stancl/tenancy 2019-02-08 20:27:56 +01:00
Samuel Štancl
335bdc1c06 Remove unused file [ci skip] 2019-02-08 20:27:41 +01:00
Samuel Štancl
15766a0037
Fix #21 (#22) 2019-02-08 20:16:40 +01:00
Samuel Štancl
3f650d887d Add more tests, fix bugs 2019-02-08 17:54:53 +01:00
Samuel Štancl
d14aa0b642 Add psysh as a dev dependency 2019-02-08 16:10:59 +01:00
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