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

34 commits

Author SHA1 Message Date
Samuel Štancl
ed308b1650 getBaseConnection 2019-09-21 11:39:17 +02:00
Samuel Štancl
eb6cba8f1a Create MySQL/PostgreSQL DBs while using sqlite as the central DB driver 2019-09-21 11:11:36 +02:00
Samuel Štancl
509d00f9f3 Add docblocks 2019-09-20 20:14:58 +02:00
Samuel Štancl
8565cc7acc Get multiple envs (redis/db) to run correctly 2019-09-17 19:39:57 +02:00
Samuel Štancl
524530c8d5 TenantDatabaseManagerTest fully passes now 2019-09-17 18:57:19 +02:00
Samuel Štancl
7e645a3312 Fix event tests 2019-09-16 18:38:23 +02:00
Samuel Štancl
a9c37d1535 wip 2019-09-16 18:09:09 +02:00
Samuel Štancl
c65b6839ff Tenant-specific connections, some work to get tests running 2019-09-15 17:44:26 +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
4872197fb6 TenantManager storage 2019-09-08 17:18:31 +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
stancl
787063ed73 Apply fixes from StyleCI 2019-08-20 10:15:06 +00:00
Samuel Štancl
4c676b41e9 Custom exceptions, fix #91 2019-08-20 12:14:56 +02:00
Samuel Štancl
5edf582269 Make DB storage driver prefix sqlite DBs with database_path() 2019-08-17 21:56:30 +02:00
stancl
fd66537e7f Apply fixes from StyleCI 2019-08-17 13:25:48 +00:00
Samuel Štancl
be077ae73c Add the option to specify connection in DatabaseManager 2019-08-17 15:25:39 +02:00
Samuel Štancl
7bcad47186 Updated comment 2019-08-17 10:03:41 +02:00
stancl
84890cdd1e Apply fixes from StyleCI 2019-08-16 16:21:59 +00:00
stancl
155ef0da5a Apply fixes from StyleCI 2019-08-14 20:17:04 +00:00
Samuel Štancl
4aa35322da Add event prevents, Tenant facade 2019-08-14 22:16:51 +02:00
Samuel Štancl
eceacd9422
Apply fixes from StyleCI (#80) 2019-08-02 20:01:10 +02:00
Samuel Štancl
b2e2460c34
Add PostgreSQL DB driver (#52) 2019-07-12 23:09:29 +02:00
Samuel Štancl
e7b5a77a6b
Data separation tests (#58)
* Add purge()

* Add DataSeparationTest
2019-07-01 12:28:22 +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
e1def355f9 Add command tests 2019-02-09 11:53:48 +01:00
Samuel Štancl
15766a0037
Fix #21 (#22) 2019-02-08 20:16:40 +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
6bb18a2b95
Fix Travis, add docs for generating HTTPS certificates (#19) 2019-02-07 15:26:42 +01:00
Samuel Štancl
aabe48b54a Make DBs use utfmb4_unicode_ci 2019-01-23 22:44:26 +01:00
Samuel Štancl
deb3ad77f5 Initial commit 2019-01-17 22:24:12 +01:00