John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 lat temu
Arthur Schiwon
1eb86e46fd
inform the user when flow config data exceeds thresholds
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 lat temu
Morris Jobke
234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 lat temu
Arthur Schiwon
b59efb61bd
Flow File entity implements IContextPortation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 lat temu
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 lat temu
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 lat temu
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 lat temu
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 lat temu
Christoph Wurst
2ee65f177e
Use the shorter phpunit syntax for mocked return values
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 lat temu
Julius Härtl
e4829236cf
Add app config to disable user flows
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 lat temu
Roeland Jago Douma
25d4f3230d
Use the new Events in Flow
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 lat temu
Arthur Schiwon
2d34274c8a
adjust unit test
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 lat temu
Roeland Jago Douma
3a7cf40aaa
Mode to modern phpunit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 lat temu
Roeland Jago Douma
c007ca624f
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 lat temu
Arthur Schiwon
2efe8aad38
relax dependency on GenericEvent, instead stay compatible with old events
* also fixes tagging events
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 lat temu
Arthur Schiwon
f889ea8373
fix manager tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 lat temu
Julius Härtl
9eb7a31864
Fix test mocking
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 lat temu
Arthur Schiwon
ed58343e60
split events DB field into entity and events, adjust biz logic
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 lat temu
Arthur Schiwon
827dd896fa
extend DB table, manager, controller with support for entity events
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 lat temu
Arthur Schiwon
fe2a78609a
add missing dep
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 lat temu
Arthur Schiwon
4aba1f1cff
scope aware workflow controller and manager
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 lat temu
Arthur Schiwon
804d4fe69f
introducing Entity interfaces and a File one as first implementation
also adds admin settings that pass entities as initial state
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 lat temu
Joas Schilling
f81d4eb060
Make the Outlook and Thunderbird addons identifyable
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 lat temu
Joas Schilling
bf2be08c9f
Fix risky tests without assertions
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 lat temu
Morris Jobke
43e498844e
Use ::class in test mocks
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 lat temu
Joas Schilling
4d6ec43402
Do not reset the list after adding cached entries
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 lat temu
Joas Schilling
6aa5d674d6
Translate the errors
8 lat temu
Joas Schilling
e0b5949a9f
Add request time
8 lat temu
Joas Schilling
2cfd67e13b
Add remote address
8 lat temu
Joas Schilling
8a753342ee
Add file mime type
8 lat temu