Commit Graph

39 Commits (master)

Author SHA1 Message Date
Daniel Kesselberg 2a0cb8d37d
refactor(federation): omit app argument for error messages 6 months ago
skjnldsv 5c359e424f feat(federatedfilesharing): auto-accept shares from trusted servers 12 months ago
skjnldsv f753d2f773 fix(federation): comply to `sharing.federation.allowSelfSignedCertificates` 12 months ago
Pablo Zimdahl 3c3667fe18 fix(federation): always set server status to OK after successful runs 1 year ago
Andy Scherzinger 5b7dcc1427
chore: Add SPDX header 2 years ago
Arthur Schiwon faf6a65e07
fix(federation): give some time to prepare both servers 2 years ago
Hamid Dehnavi d64bbc8bd3 Convert isset ternary to null coalescing operator 2 years ago
Côme Chilliet d34662f1a3
Migrate federation application to LoggerInterface 3 years ago
luz paz 9d26671f05 Fix typos in apps/ subdirectory 3 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Christoph Wurst 9ce3ea3368
Update license headers 5 years ago
Christoph Wurst 1e0eaa25d0
Drop all dead packages 5 years ago
Joas Schilling 96253c7c1b
Add missing parent::__construct() calls to Jobs 5 years ago
Roeland Jago Douma 6166e1a157
Use proper OCP\BackgroundJobs\Job 5 years ago
Roeland Jago Douma 1f2ff18439
Make sure the function signatures of the backgroundjob match 5 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Bjoern Schiessle 0e0cfa0fa1
improve error reporting and move format parameter to the options 8 years ago
Morris Jobke d3d045dd5c
Remove unused import statements 8 years ago
Roeland Jago Douma 2c2e1c4c7a
Catch the errors related to untrusted self signed certificates for federation 8 years ago
Roeland Jago Douma d24b6866b1
Actually set the status so we don't cause another exception 8 years ago
Roeland Jago Douma 79554a29e0
Do not log Exception if a connection error occured 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Roeland Jago Douma bc54e6ff7c
Use ITimeFactory 9 years ago
Bjoern Schiessle 9c9cb1a6db
cleanup constructors 9 years ago
Bjoern Schiessle 06b9e58081
expire requestSharedSecret job after 30 days 9 years ago
Lukas Reschke d321e9792e
Add |null to PHPDoc 9 years ago
Roeland Jago Douma bec4b468c3
No need to log guzzle exception 9 years ago
Morris Jobke 1729e4471f
Update comments to Nextcloud 9 years ago
Roeland Jago Douma 53bca14a27
Do proper DI 9 years ago
Bjoern Schiessle e2d7bffcda
fix constructor 9 years ago
Bjoern Schiessle 930c507d89
use discovered end-point for trusted servers 9 years ago
Joas Schilling 0215b004da
Update with robin 10 years ago
Joas Schilling 813f0a0f40
Fix apps/ 10 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Joas Schilling 0c727f1755
Move federation code to PSR-4 10 years ago
Joas Schilling b7f7fc7241 Do not create a new job when it failed to connect atm 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 9d1d08bf9b forbidden (403) is a valid return status, don't log the whole exception in this case 10 years ago
Björn Schießle 2d469e39af catch all exceptions 10 years ago
Thomas Müller 682821c71e Happy new year! 10 years ago
Robin Appelman ef9a231f6c Add error logging to federated sharing handshake 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 6f7aa3392f make sure that both server don't try to exchange the shared secret in parallel 10 years ago
Björn Schießle 2754afc074 add option to auto add servers to the list of trusted servers once a federated share was created and accepted successfully 10 years ago
Björn Schießle 698100d279 exchange shared secret 10 years ago