Carl Schwan
f38e060090
Fix many issues with the tests
- Return type were not correct
- willReturn and with confusion
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
4 years ago
Carl Schwan
6114176b71
Cleanup CardDav SyncService
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
4 years ago
Carl Schwan
a9cfa72d1c
Summer cleanup of the federation app
- Use IEventDispatcher instead of deprecated symfony dispatcher
- Use LoggerInterface where possible
- Use php 7.4 properties
- Add type hinting where possible
- Move federation hooks to a seperate listener
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
4 years ago
Gary Kim
b78f3a57d1
Migrate HintException to OCP
Signed-off-by: Gary Kim <gary@garykim.dev>
5 years ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
Roeland Jago Douma
5cd1880daa
Fix a few RedundantCast
Reported by psalm
For #25641
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Joas Schilling
8027dcbc6f
Don't leave cursors open when tests fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
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>
6 years ago
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Joas Schilling
4ca4b270e7
Close all the cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Bjoern Schiessle
50044fb792
improve federation error messages
9 years ago
Joas Schilling
0215b004da
Update with robin
10 years ago
Joas Schilling
813f0a0f40
Fix apps/
10 years ago
Robin Appelman
8f84c99e3f
Fix undefined properties
10 years ago
Morris Jobke
9107fd6cd6
fix federation strings
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Joas Schilling
0c727f1755
Move federation code to PSR-4
10 years ago
Bjoern Schiessle
7189c72c33
remove remote address book if the admin removes the server from the trusted servers list
10 years ago
Bjoern Schiessle
eccd7cf654
reuse the url_hash instead of calculating a new hash for the address book
10 years ago
Bjoern Schiessle
835e70dbe2
throw exception if we don't find a token for a given server
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Thomas Müller
1a20af253b
Adding tests and adjust PHPDoc
10 years ago
Thomas Müller
90d9834c8c
Decouple federation and dav app
10 years ago
Thomas Müller
cdc536c423
Allow trusted servers to authenticate
10 years ago
Björn Schießle
9546b21d7e
always store server url without a trailing slash
10 years ago
Björn Schießle
a63a1043b6
unit tests
10 years ago
Thomas Müller
f6446a64b6
fixing OCI and others
10 years ago
Björn Schießle
8f55b1a27d
add status to server list
10 years ago
Björn Schießle
698100d279
exchange shared secret
10 years ago
Björn Schießle
ed039ee5eb
added app "federation", allows you to connect ownClouds and exchange user lists
10 years ago