Joas Schilling
8027dcbc6f
Don't leave cursors open when tests fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 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>
4 years ago
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 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>
4 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 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>
4 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Joas Schilling
4ca4b270e7
Close all the cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Bjoern Schiessle
50044fb792
improve federation error messages
8 years ago
Joas Schilling
0215b004da
Update with robin
8 years ago
Joas Schilling
813f0a0f40
Fix apps/
8 years ago
Robin Appelman
8f84c99e3f
Fix undefined properties
8 years ago
Morris Jobke
9107fd6cd6
fix federation strings
8 years ago
Lukas Reschke
aba539703c
Update license headers
8 years ago
Joas Schilling
0c727f1755
Move federation code to PSR-4
8 years ago
Bjoern Schiessle
7189c72c33
remove remote address book if the admin removes the server from the trusted servers list
8 years ago
Bjoern Schiessle
eccd7cf654
reuse the url_hash instead of calculating a new hash for the address book
8 years ago
Bjoern Schiessle
835e70dbe2
throw exception if we don't find a token for a given server
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Thomas Müller
1a20af253b
Adding tests and adjust PHPDoc
8 years ago
Thomas Müller
90d9834c8c
Decouple federation and dav app
8 years ago
Thomas Müller
cdc536c423
Allow trusted servers to authenticate
8 years ago
Björn Schießle
9546b21d7e
always store server url without a trailing slash
8 years ago
Björn Schießle
a63a1043b6
unit tests
8 years ago
Thomas Müller
f6446a64b6
fixing OCI and others
8 years ago
Björn Schießle
8f55b1a27d
add status to server list
8 years ago
Björn Schießle
698100d279
exchange shared secret
8 years ago
Björn Schießle
ed039ee5eb
added app "federation", allows you to connect ownClouds and exchange user lists
8 years ago