Samuel Štancl
73a4a3018c
Improve queue tenancy
2021-12-31 18:10:03 +01:00
stancl
c8ed904d16
Apply fixes from StyleCI
2020-06-28 16:25:43 +00:00
Samuel Štancl
8bf673098b
Fix guzzle issue
2020-06-28 18:24:41 +02:00
Samuel Štancl
579779b88b
Move DatabaseManager
2020-05-30 15:38:29 +02:00
Samuel Štancl
2839f45196
Refactor models & config
2020-05-24 20:40:10 +02:00
stancl
6955512a6b
Apply fixes from StyleCI
2020-05-22 09:01:31 +00:00
Samuel Štancl
fbe43fbb04
Restructure config
2020-05-21 15:05:05 +02:00
Samuel Štancl
15a7e52208
Get rid of tenant DB manager connection config
2020-05-21 14:47:29 +02:00
Samuel Štancl
e6e4548a22
Use % for CREATE % GRANT queries
2020-05-20 14:33:24 +02:00
Samuel Štancl
1833622170
Extract JobPipelines to a separate package
2020-05-15 18:26:08 +02:00
Samuel Štancl
1a8d150f2c
Change bootstrappers namespace
2020-05-13 18:19:59 +02:00
Samuel Štancl
de53b81c0e
Change default tenant model, write more tests, cleanup
2020-05-13 06:23:41 +02:00
Samuel Štancl
c32f229dd5
Refactor more old code and get tests to pass
2020-05-13 04:51:37 +02:00
Samuel Štancl
6962ec29b9
Get rid of v3 test namespace
2020-05-12 23:23:16 +02:00
Samuel Štancl
89936187ce
Rewrite old tests
2020-05-12 23:22:40 +02:00
Samuel Štancl
3bb2759fe2
[3.x] DB users ( #382 )
...
* Initial draft
* Apply fixes from StyleCI
* Use CI on master branch too
* Pass correct argument to queued DB creators/deleters
* Apply fixes from StyleCI
* Remove new interface from MySQLDBManager
* Make phpunit run
* Apply fixes from StyleCI
* Fix static property
* Default databaseName
* Use database transactions for creating users & granting permissions
* Apply fixes from StyleCI
* Get old tests to pass
* Apply fixes from StyleCI
* Add tests for PermissionControlledMySQLDatabaseManager
* Apply fixes from StyleCI
* Write test for extra config, fix bug with extra config
* Apply fixes from StyleCI
2020-05-03 18:12:27 +02:00
Noor Adiana
d0023c482a
Add support for postgres schema ( #237 )
...
* Add support for postgres schema
* wip
* Apply fixes from StyleCI
* revert to db as default for pgsql
* Move separate_by to database
* Fixing testing
* Fixing style
* Reverted change
* Store string instead of Connection instance
* Remove use statement
* Add use statement for DB facade
* mysql -> pgsql
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2020-03-10 20:15:07 +01: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
f0dd99f099
Facade tests
2019-09-19 20:41:00 +02:00
Samuel Štancl
8565cc7acc
Get multiple envs (redis/db) to run correctly
2019-09-17 19:39:57 +02:00
Samuel Štancl
9c9858e97e
Merge branch 'master' of github.com:stancl/tenancy
2019-09-17 18:57:31 +02:00
Samuel Štancl
524530c8d5
TenantDatabaseManagerTest fully passes now
2019-09-17 18:57:19 +02:00
stancl
8f9120e723
Apply fixes from StyleCI
2019-09-17 15:59:51 +00:00
Samuel Štancl
5e9b421aa6
Fix Tenant DB manager tests
2019-09-17 17:59:40 +02:00
Samuel Štancl
1bfe4a7ea5
Apply fixes from StyleCI ( #126 )
2019-09-11 17:37:02 +02:00
Samuel Štancl
de54b5708c
canCreate database
2019-09-08 16:52:10 +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
84890cdd1e
Apply fixes from StyleCI
2019-08-16 16:21:59 +00: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
dc30354699
Dockerize phpunit ( #66 )
2019-07-12 21:44:26 +02:00
Samuel Štancl
edea513edf
Test jobs' handle() ( #40 )
...
* Test jobs' handle()
* Switch (fix) method names
2019-04-23 17:56:54 +02:00
Samuel Štancl
0bb18bb11a
Merge db creation & deletion tests
2019-02-10 23:25:00 +01:00
Samuel Štancl
15766a0037
Fix #21 ( #22 )
2019-02-08 20:16:40 +01:00