Samuel Štancl
15e45fa551
Merge branch 'db-users-rewrite' of github.com:stancl/tenancy into db-users-rewrite
2020-05-03 04:00:59 +02:00
Samuel Štancl
439b5b1dc1
Get old tests to pass
2020-05-03 04:00:34 +02:00
stancl
a39d961cc3
Apply fixes from StyleCI
2020-04-30 20:22:29 +00:00
Samuel Štancl
65ebc043dc
Use database transactions for creating users & granting permissions
2020-04-30 22:22:18 +02:00
Samuel Štancl
cb6661210f
Make sure an int exit code is always returned
2020-04-22 22:31:51 +02:00
Samuel Štancl
5dc80473d3
[2.3.1] Fix exit codes in TenantAwareCommand ( #336 )
...
* Fix exit codes in TenantAwareCommand
* Cast result to int
* Assert exit code 0
2020-03-30 21:09:58 +02:00
Devon Mather
cf339a5e82
Add return value to execute method ( #333 )
...
* Add command for test
* Write test to verify issue
* Make test pass
2020-03-21 02:05:17 +01:00
curious-jim
06ee1ff0e2
Migration paths ( #268 )
...
* allow multiple paths for tenant migrations
* tests: allow multiple paths for tenant migrations
* Update tests/CommandsTest.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
* Update src/Traits/DealsWithMigrations.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
* Update tests/CommandsTest.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
* Update src/Traits/DealsWithMigrations.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
* Update tests/TestCase.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2020-02-16 12:10:50 +01:00
Samuel Štancl
f34986b29f
[2.2.0] Tenant aware commands ( #221 )
...
* wip
* Apply fixes from StyleCI
* Return value when a single tenant is passed
* array map -> foreach
* bug fixes
2019-11-10 12:32:26 +01:00
Samuel Štancl
2b00665247
[2.2.0] Allow --path to be specified for migration commands ( #211 )
...
* Allow --path to be specified for migration commands
* Fix tests
2019-11-07 21:44:45 +01:00
Samuel Štancl
c9903cd43c
Clean up
2019-09-19 20:32:09 +02:00
Samuel Štancl
048a38a308
Remove old classes
2019-09-11 20:35:25 +02:00
Samuel Štancl
1bfe4a7ea5
Apply fixes from StyleCI ( #126 )
2019-09-11 17:37:02 +02:00
stancl
362aaf4764
Apply fixes from StyleCI
2019-09-05 17:27:32 +00:00
Samuel Štancl
798df54d76
HasArrayAccess trait
2019-09-05 19:26:19 +02:00
Samuel Štancl
2fd3662eb7
[1.8.0] Use strict types ( #115 )
...
* Use strict types
* Apply fixes from StyleCI
* Fix str_repeat
* Fix false json decode
2019-08-23 18:18:26 +02:00
Samuel Štancl
824ecfce48
[1.8.0] Add Telescope tags with tenant ids ( #77 )
2019-08-19 21:11:55 +02:00
stancl
84890cdd1e
Apply fixes from StyleCI
2019-08-16 16:21:59 +00:00
Samuel Štancl
aca5567c10
Add empty array default
2019-08-14 22:55:18 +02:00
Samuel Štancl
4aa35322da
Add event prevents, Tenant facade
2019-08-14 22:16:51 +02:00
Samuel Štancl
1a88cad4d6
[1.7.0] Fix Events system ( #94 )
...
* Add TenantManagerEvents
* Apply fixes from StyleCI
* Fix typos, add tests
* end() events
* Travis should be failing
* Uncomment ending
2019-08-14 17:32:33 +02:00
Samuel Štancl
c1df467601
[1.7.0] Add Events system ( #93 )
...
* Add TenantManagerEvents
* Apply fixes from StyleCI
* Fix typos, add tests
* end() events
2019-08-14 17:15:47 +02:00
Samuel Štancl
eceacd9422
Apply fixes from StyleCI ( #80 )
2019-08-02 20:01:10 +02:00
Samuel Štancl
a3f37b7f77
Fix #71
2019-07-25 23:26:36 +02:00
Samuel Štancl
353f7afb82
Add tenancy()->end() ( #68 )
2019-07-13 11:38:07 +02:00
Samuel Štancl
dc30354699
Dockerize phpunit ( #66 )
2019-07-12 21:44:26 +02:00
Samuel Štancl
1b6759084f
Add Predis support ( #59 )
...
* wip
* Add Predis support
* Enable phpredis extension only for some builds
* Add note about phpredis
* Fix if command
* Revert travis changes & add a version check to predis tests
2019-07-03 14:48:55 +02:00
Samuel Štancl
97ec172fd4
Specify namespace on global functions ( fix #35 ) ( #36 )
...
* Specify namespace on global functions (fix #35 )
* merge
* Revert some \ additions
* small fixes
2019-04-24 17:33:41 +02: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
22fc843ce3
Fix a lot of bugs, fix #23
2019-02-08 22:44:46 +01:00
Samuel Štancl
3f650d887d
Add more tests, fix bugs
2019-02-08 17:54:53 +01:00
Samuel Štancl
6bb18a2b95
Fix Travis, add docs for generating HTTPS certificates ( #19 )
2019-02-07 15:26:42 +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
deb3ad77f5
Initial commit
2019-01-17 22:24:12 +01:00