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

45 commits

Author SHA1 Message Date
Samuel Štancl
0fd1d82c68 TenantModel putMany 2019-09-15 11:01:24 +02:00
Samuel Štancl
15a7db9e71 Clean up TenantCannotBeCreatedException 2019-09-15 09:40:53 +02:00
stancl
7264ec05cb Apply fixes from StyleCI 2019-09-11 17:28:01 +00:00
Samuel Štancl
ca30e861dc Delete old Tenant & DB amnagers 2019-09-11 19:27:33 +02:00
Samuel Štancl
1bfe4a7ea5
Apply fixes from StyleCI (#126) 2019-09-11 17:37:02 +02:00
Samuel Štancl
d68148e4b4 wip 2019-09-08 14:26:56 +02:00
Samuel Štancl
72baa45126 Make TenantModel final 2019-09-04 16:57: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
f590e2ce2a
[1.8.0] Custom id scheme (#108)
* Add UniqueIdentifierGenerators

* Apply fixes from StyleCI
2019-08-21 20:29:53 +02:00
Samuel Štancl
4c676b41e9 Custom exceptions, fix #91 2019-08-20 12:14:56 +02:00
Samuel Štancl
d04f4bb2a1 decode -> encode 2019-08-19 11:21:44 +02:00
stancl
1818e590e0 Apply fixes from StyleCI 2019-08-19 08:56:13 +00:00
Samuel Štancl
314b2d3003 Fix bug with JSON encoding 2019-08-19 10:55:48 +02:00
Samuel Štancl
6095696355 Fix invoke test 2019-08-16 18:54:25 +02:00
Samuel Štancl
dc96931a76 merge 2019-08-16 18:32:06 +02:00
Samuel Štancl
89c7289b66 Switch order of conditions 2019-08-16 18:26:18 +02:00
stancl
84890cdd1e Apply fixes from StyleCI 2019-08-16 16:21:59 +00:00
Samuel Štancl
bbafc9d8e2 is_array check 2019-08-16 18:20:34 +02:00
Samuel Štancl
3c9ead6aac default value 2019-08-16 18:10:34 +02:00
Samuel Štancl
fd79e0aec3 Fix illegal offset 2019-08-16 18:04:54 +02:00
Samuel Štancl
1216addd1f Improve get() 2019-08-16 17:55:40 +02:00
Samuel Štancl
9df78eb9c2
[1.7.0] Add DB storage driver (#82) 2019-08-16 14:36:49 +02:00
Samuel Štancl
4aa35322da Add event prevents, Tenant facade 2019-08-14 22:16:51 +02:00
Samuel Štancl
d7358c588c
[1.7.0] Add the option to set values & db name during tenant creation (#86)
* Add the option to set values & db name during tenant creation

* Apply fixes from StyleCI

* Add tests

* Apply fixes from StyleCI

* Rewrite conditional for clarity
2019-08-13 19:16:00 +02:00
Samuel Štancl
eceacd9422
Apply fixes from StyleCI (#80) 2019-08-02 20:01:10 +02:00
Samuel Štancl
353f7afb82
Add tenancy()->end() (#68) 2019-07-13 11:38:07 +02:00
Samuel Štancl
a3ff6fbd93 fix #63 (wrong return type docblock) 2019-07-12 23:05:11 +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
35abb6191d
Fix Redis scan for 5.8 (#46)
* Fix Redis scan for 5.8

* Add comments [ci skip]
2019-04-24 16:53:43 +02:00
Samuel Štancl
9bc9b92d8d [breaking fix] Add array return types to StorageDriver interface 2019-04-23 17:09:32 +02:00
Samuel Štancl
d2ec7f171d Fix #25 better error handling 2019-02-13 16:26:00 +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
e1def355f9 Add command tests 2019-02-09 11:53:48 +01:00
Samuel Štancl
8d382024a3 Add more TenantManager tests 2019-02-09 00:17:51 +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
6bb18a2b95
Fix Travis, add docs for generating HTTPS certificates (#19) 2019-02-07 15:26:42 +01:00
Samuel Štancl
e919c6e25b Minor refactor 2019-01-28 18:34:26 +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
19de80582d Don't auto migrate new tenants' databases 2019-01-20 20:02:13 +01:00
Samuel Štancl
deb3ad77f5 Initial commit 2019-01-17 22:24:12 +01:00