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
2e0414cc62
update .gitignore [ci skip]
2019-02-08 15:29:38 +01:00
Samuel Štancl
f05a4bca41
Add tests, fix bugs
2019-02-08 15:28:32 +01:00
Samuel Štancl
3857c4a27d
Add TestCase@initTenancy
2019-02-07 22:28:41 +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
18ce4577bf
Change check mark color to green [ci skip]
2019-02-07 18:36:54 +01:00
Samuel Štancl
ff42c146c3
Uncomment lines in .env.example [ci skip]
2019-02-07 18:18:42 +01:00
Samuel Štancl
5f5a63c029
Add a link to the codecov badge
2019-02-07 18:15:37 +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
f95416042c
env variable name consistency
2019-02-07 15:36:34 +01:00
Samuel Štancl
6bb18a2b95
Fix Travis, add docs for generating HTTPS certificates ( #19 )
2019-02-07 15:26:42 +01:00
Samuel Štancl
0adbfee86e
Merge pull request #14 from stancl/add-testing
...
Add testing
2019-02-02 00:15:57 +01:00
Samuel Štancl
d1b2775eee
Change codecov alt [ci skip]
2019-02-02 00:15:00 +01:00
Samuel Štancl
79e3be78ff
Add Codecov token
2019-02-02 00:12:08 +01:00
Samuel Štancl
e251a2b884
Remove HelloWorldTest
2019-02-02 00:10:16 +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
6b57d20c9b
Add Codecov support
2019-02-01 23:59:08 +01:00
Samuel Štancl
5caec784bf
Remove unnecessary --dev flag
2019-02-01 23:28:42 +01:00
Samuel Štancl
80da9e1cf5
Remove --prefer-source flag
2019-02-01 23:19:05 +01:00
Samuel Štancl
6c5d9aa441
Add install section to .travis.yml
2019-02-01 23:15:01 +01:00
Samuel Štancl
999507fe42
Begin work on tests
2019-02-01 22:47:10 +01:00
Samuel Štancl
349832c64b
Fix heading size
2019-01-28 19:27:01 +01:00
Samuel Štancl
e919c6e25b
Minor refactor
2019-01-28 18:34:26 +01:00
Samuel Štancl
7ce9613a68
Add beta/experimental badge
2019-01-28 12:16:29 +01:00
Samuel Štancl
a9e3f4052c
Remove redundant method in the RouteSP
2019-01-26 13:08:39 +01:00
Samuel Štancl
b238b10166
Update README after fixing #10
2019-01-26 13:01:38 +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
a11355904d
Merge branch 'master' of https://github.com/stancl/tenancy
2019-01-22 21:37:18 +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
3cb9f8fdb5
Expand "Storing custom data" docs
2019-01-21 20:11:28 +01:00
Samuel Štancl
e8f2e62645
Add more documentation for get() and put()
2019-01-21 18:27:02 +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
7ac9a4ab2c
Fix code block formatting
2019-01-20 17:35:02 +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
a6544d6056
Rename Filesystem section to avoid a name conflicts
2019-01-20 15:10:50 +01:00
Samuel Štancl
68cd063ce7
Remove dd()
2019-01-20 15:07:13 +01:00
Samuel Štancl
1fe851a5fa
usage -> use
2019-01-20 15:05:04 +01:00
Samuel Štancl
a8523871db
Add documentation for tenant_asset()
2019-01-20 15:03:11 +01:00