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

50 commits

Author SHA1 Message Date
Samuel Štancl
3ec4314e91
[2.2.0] Optional storage path suffixing (#197)
* Optional storage path suffixing

* Default value true
2019-10-27 21:49:28 +01:00
Samuel Štancl
869ac32983
[2.2.0] [WIP] Add functionality (#206)
* TenantDatabaseDoesNotExistException

* Apply fixes from StyleCI

* User post-creation callbacks

* Rename method

* postCreationActions

* pass $tenant as parameter

* pass $tenant to async actions

* WIP findBy()

* findBy\* ForwardsCalls

* Apply fixes from StyleCI

* findBy DB storage driver

* Redis  SD TODO message

* Apply fixes from StyleCI

* Fix chained jobs

* WIP event system

* import str

* instanceof closure check

* findBy instead of find

* Tenant -> Tenants

* dots

* Use DB hooks instead of a SC key

* Don't allow  callables for queue chain

* CanDeleteKeys interface

* Apply fixes from StyleCI

* CanFindByAnyKey interface

* Apply fixes from StyleCI

* Ditch models for custom repositories

* Resolve circular dependency

* Apply fixes from StyleCI

* Fix tests

* Apply fixes from StyleCI

* FutureTest

* Prefix tenant events with 'tenant.'

* Event listener arguments test
2019-10-27 21:10:41 +01:00
Samuel Štancl
cfcb2574c2
[2.1.0] Central queue connections (#181)
* Central queues

* Better dependency injection

* tenancy=false => central=true; move config to env setup

* Apply fixes from StyleCI
2019-10-17 21:00:52 +02:00
Chris Brown
14843b4291 Refactor Config\Repository dependencies to use Contract (#157)
Fixes #156
2019-10-08 21:34:49 +02:00
Samuel Štancl
abd0b8f04e
[2.x] Queued post-creation automigration (#154)
* Queued post-creation automigration

* Add shouldQueueMigration()

* Automigration test, config key, QueueTenancyBootstrapper support for QueueFake

* Apply fixes from StyleCI

* Fix if statement
2019-10-04 21:34:17 +02:00
Samuel Štancl
eabac3d09f
Replace Foundation\Application dependencies with Cache\Repository wherever possible (#149) 2019-09-30 17:10:39 +02:00
Samuel Štancl
4b5554dcac Fix issues with bootstrappers' state 2019-09-27 22:35:59 +02:00
Samuel Štancl
753ff517c4 Post-end() state reset 2019-09-27 21:24:40 +02:00
Samuel Štancl
aeafa24971 Remove global config() call 2019-09-27 21:22:59 +02:00
Samuel Štancl
07e5ad76d0 path -> storage 2019-09-27 21:16:43 +02:00
Samuel Štancl
10c5f8d98d Fix Queue tenancy 2019-09-22 20:30:30 +02:00
Samuel Štancl
3c076b8a46 Make originalPaths public 2019-09-21 19:39:50 +02:00
Samuel Štancl
665d222872 Fix redirect macro test 2019-09-21 19:29:06 +02:00
Samuel Štancl
75f00a58dd Fix asset tests 2019-09-21 18:13:29 +02:00
Samuel Štancl
b9054864aa Fix forced root 2019-09-21 17:22:33 +02:00
Samuel Štancl
a34bcfbe3e Intelligent asset() 2019-09-21 16:43:03 +02:00
Samuel Štancl
6134c8113b asset() tenancy 2019-09-21 16:06:08 +02:00
Samuel Štancl
c475e7a43d Fix transactions 2019-09-21 13:54:02 +02:00
Samuel Štancl
f0dd99f099 Facade tests 2019-09-19 20:41:00 +02:00
Samuel Štancl
c9903cd43c Clean up 2019-09-19 20:32:09 +02:00
Samuel Štancl
8565cc7acc Get multiple envs (redis/db) to run correctly 2019-09-17 19:39:57 +02:00
Samuel Štancl
a9c37d1535 wip 2019-09-16 18:09:09 +02:00
Samuel Štancl
93d2a281eb merge 2019-09-16 17:02:00 +02:00
Samuel Štancl
cd9899d993 Merge branch 'master' of github.com:stancl/tenancy 2019-09-16 17:01:45 +02:00
Samuel Štancl
8356557521 Fix file name 2019-09-16 17:01:38 +02:00
stancl
7e5fd7a720 Apply fixes from StyleCI 2019-09-16 15:01:27 +00:00
Samuel Štancl
298b790e39 fix typo again 2019-09-16 17:01:16 +02:00
stancl
d480ea63da Apply fixes from StyleCI 2019-09-16 14:58:05 +00:00
Samuel Štancl
6d10d56ad3 Fix import 2019-09-16 15:10:02 +02:00
Samuel Štancl
db2366b889 typo 2019-09-16 15:01:26 +02:00
stancl
9bc06f2dee Apply fixes from StyleCI 2019-09-16 13:00:49 +00:00
Samuel Štancl
0fe6fbab82 typo 2019-09-16 15:00:36 +02:00
stancl
7282532788 Apply fixes from StyleCI 2019-09-15 20:59:58 +00:00
Samuel Štancl
efa463cf25 typo 2019-09-15 22:59:49 +02:00
Samuel Štancl
ddaabc73e9 Merge branch 'master' of github.com:stancl/tenancy 2019-09-15 22:52:36 +02:00
Samuel Štancl
79f912384b uuid -> id (references in code) 2019-09-15 22:52:31 +02:00
stancl
fff958e0d2 Apply fixes from StyleCI 2019-09-15 19:53:16 +00:00
Samuel Štancl
a7bb709bd4 Fix first test 2019-09-15 21:53:03 +02:00
Samuel Štancl
0fd1d82c68 TenantModel putMany 2019-09-15 11:01:24 +02:00
Samuel Štancl
7a0154bf8e Get tests to run 2019-09-11 21:11:40 +02:00
Samuel Štancl
1bfe4a7ea5
Apply fixes from StyleCI (#126) 2019-09-11 17:37:02 +02:00
Samuel Štancl
9dd90746aa WIP DatabaseManager 2019-09-08 15:31:45 +02:00
Samuel Štancl
b0d119753d Remove some todos 2019-09-08 14:40:49 +02:00
stancl
27425a4360 Apply fixes from StyleCI 2019-09-07 15:23:53 +00:00
Samuel Štancl
8dc1ef61b8 QueueTenancyBootstrapper 2019-09-07 17:23:44 +02:00
stancl
73124cd801 Apply fixes from StyleCI 2019-09-06 16:52:16 +00:00
Samuel Štancl
5d2b1e3a72 Merge 2019-09-06 18:52:04 +02:00
Samuel Štancl
f04ca349bd Tenant contract, Tenancy bootstrappers, drop predis 2019-09-06 18:51:34 +02:00
stancl
362aaf4764 Apply fixes from StyleCI 2019-09-05 17:27:32 +00:00
Samuel Štancl
f471a1a7e4 TenancyBootstrappers WIP 2019-09-05 19:25:47 +02:00