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

734 commits

Author SHA1 Message Date
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
64383b4c56 Refactor DB config & Tenant DB managers 2020-05-12 03:32:28 +02:00
Samuel Štancl
3c4d2189dc DatabasePreparationTest 2020-05-12 03:14:08 +02:00
Samuel Štancl
b7c8f1fba7 Shared users - complete 2020-05-12 01:54:02 +02:00
Samuel Štancl
daae67c0f7 Synced resources - proof of concept 2020-05-11 07:32:20 +02:00
Samuel Štancl
86a98b2bc8 Queue tests 2020-05-11 05:22:55 +02:00
Samuel Štancl
00bb0d06b3 Use real queues in JobPipelineTest 2020-05-11 04:33:55 +02:00
Samuel Štancl
6f4b9f486c Bootstrapper tests 2020-05-11 03:37:47 +02:00
Samuel Štancl
73fc525126 Automatic mode 2020-05-10 23:47:11 +02:00
Samuel Štancl
2492345280 Add methods to Tenant contract 2020-05-10 20:20:44 +02:00
Samuel Štancl
494d274798 Finish path identification - configurability & exception handling 2020-05-10 20:16:08 +02:00
Samuel Štancl
cb2bd018aa Improve HTTP tests with custom assertion method 2020-05-10 19:53:34 +02:00
Samuel Štancl
f328fc9c08 Combined subdomain/domain identification 2020-05-10 19:30:01 +02:00
Samuel Štancl
8ea4940f34 Identification middleware & tests 2020-05-10 05:47:27 +02:00
Samuel Štancl
a17727b437 Fix test exception_is_thrown_when_tenant_cannot_be_identified_by_path 2020-05-09 04:53:33 +02:00
Samuel Štancl
aff52458f9 Remove controller tests for path identification 2020-05-09 04:25:30 +02:00
Samuel Štancl
5e6d82be57 path identification wip 2020-05-09 03:56:41 +02:00
Samuel Štancl
7ad93adde5 Remove is_primary from domain migrations 2020-05-09 02:49:27 +02:00
Samuel Štancl
a602cec940 Fix event listener tests, improve domain logic 2020-05-09 02:49:08 +02:00
Samuel Štancl
0bbc66f451 (failing) event listener tests 2020-05-08 18:59:40 +02:00
Samuel Štancl
e1a4054743 Domain model & resolver test 2020-05-08 18:16:18 +02:00
Samuel Štancl
08ed5084d5 JobPipeline now works fully 2020-05-08 16:57:14 +02:00
Samuel Štancl
7a2e6bb13e JobPipeline tests 2020-05-08 05:12:46 +02:00
Samuel Štancl
bd9aad229b vague first draft of v3. TenantModelTest is passing 2020-05-08 04:37:43 +02:00
Mads Møller
726a0462eb
add gitattr (#392) 2020-05-04 19:14:12 +02:00
Samuel Štancl
c2c90ff755
[3.x] Use static properties instead of config for features (#391)
* Use static properites instead of config for features

* update tests
2020-05-03 18:12: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
Samuel Štancl
60665517a0
[v3] Rename tenant redirect macro (#389)
* [v3] Rename tenant redirect macro

* update tests
2020-05-03 17:59:59 +02:00
Samuel Štancl
5972364075
[3.x] Rename facades (#387)
* Remove Facade suffix from facades, fix #386

* Apply fixes from StyleCI

* Fix facade test
2020-05-03 17:59:35 +02:00
Samuel Štancl
d900929264 Merge branch '2.x' 2020-04-30 20:49:22 +02:00
Samuel Štancl
c239225bc6 Use CI on master branch too 2020-04-30 20:49:14 +02:00
Samuel Štancl
4ff82a950d
Switch up DB deletion configs 2020-04-29 22:32:44 +02:00
Samuel Štancl
b51c7a399c
Emphasize bank transfer 2020-04-27 20:46:55 +02:00
Samuel Štancl
9ebb819c8b
Add @stancl GH Sponsors profile 2020-04-27 18:42:26 +02:00
Josh
d990281309
Fix for Initialized being called as function error (#373)
Co-authored-by: Josh Young <josh@vertogroup.com.au>
2020-04-27 16:04:35 +02:00
Samuel Štancl
03e21621a0 Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2020-04-25 01:30:40 +02:00
Samuel Štancl
8e1cfa5ae0 Make central route 404 in PreventAccess mw customizable 2020-04-25 01:30:27 +02:00
Samuel Štancl
7c88e883cf
Update config.php 2020-04-24 20:21:42 +02:00
Samuel Štancl
94e647c952
Return $tags when route is empty 2020-04-24 04:10:25 +02:00
Samuel Štancl
924b5abba6
@dillingham credits for logo [ci skip] 2020-04-23 21:10:30 +02:00
Samuel Štancl
e363456497
Fix #367, make seeder respect --force (#368) 2020-04-23 20:20:54 +02:00
Samuel Štancl
82146b196a Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2020-04-23 20:15:16 +02:00
Samuel Štancl
5947f14484 Add tenancy()->initialized() check 2020-04-23 20:15:08 +02:00
Samuel Štancl
a60a385760
Remove Travis badge 2020-04-23 19:18:04 +02:00
Samuel Štancl
eea252fc5c Merge branch '2.x' of github.com:stancl/tenancy into 2.x 2020-04-23 19:09:36 +02:00
Samuel Štancl
56903d20bf Use Telescope tags on universal routes too - fix #346 2020-04-23 19:08:54 +02:00
Samuel Štancl
e258711cc9
Make config more understandable (#348)
* Make config more understandable

* Apply fixes from StyleCI

* Add two comments to migration_parameters
2020-04-23 19:06:36 +02:00
Samuel Štancl
5044339da6 Get rid of Travis 2020-04-23 19:03:33 +02:00
Samuel Štancl
70a748bb18 -T flags for test scripts 2020-04-23 19:00:20 +02:00