Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<name>DAV Connector</name>
<summary>Connect Nextcloud to a DAV service</summary>
<description><![CDATA[DAV Connector allows you connect any compatible DAV service to Nextcloud]]></description>
<version>0.1.0-dev</version>
<version>1.0.0</version>
<licence>AGPL-3.0-or-later</licence>
<author mail="krupinski01@gmail.com">Sebastian Krupinski</author>
<namespace>DAVC</namespace>
Expand Down
46 changes: 1 addition & 45 deletions lib/Service/ConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ public function __construct(
/**
* Retrieves collection of system configuration parameters
*
* @since Release 1.0.0
*
* @param string $uid nextcloud user id
* @param array $keys collection of configuration parameter keys
*
Expand Down Expand Up @@ -113,8 +111,6 @@ public function retrieveUser(string $uid, ?array $keys = null): array {
/**
* Deposit collection of system configuration parameters
*
* @since Release 1.0.0
*
* @param string $uid nextcloud user id
* @param array $parameters collection of key/value pairs, of parameters
*
Expand All @@ -132,8 +128,6 @@ public function depositUser($uid, array $parameters): void {
/**
* Destroy collection of system configuration parameters
*
* @since Release 1.0.0
*
* @param string $uid nextcloud user id
* @param array $keys collection of configuration parameter keys
*
Expand All @@ -155,8 +149,6 @@ public function destroyUser(string $uid, ?array $keys = null): void {
/**
* Retrieves single system configuration parameter
*
* @since Release 1.0.0
*
* @param string $uid nextcloud user id
* @param string $key configuration parameter key
*
Expand Down Expand Up @@ -184,8 +176,6 @@ public function retrieveUserValue(string $uid, string $key): string {
/**
* Deposit single system configuration parameter
*
* @since Release 1.0.0
*
* @param string $uid nextcloud user id
* @param string $key configuration parameter key
* @param string $value configuration parameter value
Expand All @@ -208,8 +198,6 @@ public function depositUserValue(string $uid, string $key, string $value): void
/**
* Destroy single user configuration parameter
*
* @since Release 1.0.0
*
* @param string $uid nextcloud user id
* @param string $key configuration parameter keys
*
Expand All @@ -225,8 +213,6 @@ public function destroyUserValue(string $uid, string $key): void {
/**
* Retrieves collection of system configuration parameters
*
* @since Release 1.0.0
*
* @param array $keys collection of configuration parameter keys
*
* @return array of key/value pairs, of configuration parameter
Expand All @@ -249,8 +235,6 @@ public function retrieveSystem(?array $keys = null): array {
/**
* Deposit collection of system configuration parameters
*
* @since Release 1.0.0
*
* @param array $parameters collection of key/value pairs, of parameters
*
* @return void
Expand All @@ -271,8 +255,6 @@ public function depositSystem(array $parameters): void {
/**
* Destroy collection of system configuration parameters
*
* @since Release 1.0.0
*
* @param array $keys collection of configuration parameter keys
*
* @return void
Expand All @@ -293,8 +275,6 @@ public function destroySystem(?array $keys = null): void {
/**
* Retrieves single system configuration parameter
*
* @since Release 1.0.0
*
* @param string $key configuration parameter key
*
* @return string configuration parameter value
Expand All @@ -320,8 +300,6 @@ public function retrieveSystemValue(string $key): string {
/**
* Deposit single system configuration parameter
*
* @since Release 1.0.0
*
* @param string $key configuration parameter key
* @param string $value configuration parameter value
*
Expand All @@ -342,9 +320,7 @@ public function depositSystemValue(string $key, string $value): void {

/**
* Destroy single system configuration parameter
*
* @since Release 1.0.0
*
*
* @return void
*/
public function destroySystemValue(string $key): void {
Expand All @@ -359,8 +335,6 @@ public function destroySystemValue(string $key): void {
*
* Interval, in seconds, between background harmonization runs.
*
* @since Release 1.0.0
*
* @return int harmonization interval in seconds (default 900)
*/
public function getHarmonizationInterval(): int {
Expand All @@ -379,8 +353,6 @@ public function getHarmonizationInterval(): int {
/**
* Sets harmonization interval
*
* @since Release 1.0.0
*
* @param int $interval harmonization interval in seconds
*
* @return void
Expand All @@ -395,8 +367,6 @@ public function setHarmonizationInterval(int $interval): void {
/**
* Gets administrator transport security policy: force certificate verification
*
* @since Release 1.0.0
*
* @return bool true if certificate verification is enforced for all connections
*/
public function getForceCertificateVerification(): bool {
Expand All @@ -407,8 +377,6 @@ public function getForceCertificateVerification(): bool {
/**
* Sets administrator transport security policy: force certificate verification
*
* @since Release 1.0.0
*
* @param bool $enabled
*
* @return void
Expand All @@ -422,8 +390,6 @@ public function setForceCertificateVerification(bool $enabled): void {
/**
* Gets administrator transport security policy: forbid insecure (http) connections
*
* @since Release 1.0.0
*
* @return bool true if insecure (http) connections are forbidden
*/
public function getForbidInsecureHttp(): bool {
Expand All @@ -434,8 +400,6 @@ public function getForbidInsecureHttp(): bool {
/**
* Sets administrator transport security policy: forbid insecure (http) connections
*
* @since Release 1.0.0
*
* @param bool $enabled
*
* @return void
Expand All @@ -449,8 +413,6 @@ public function setForbidInsecureHttp(bool $enabled): void {
/**
* retrieve contacts app status
*
* @since Release 1.0.0
*
* @return bool
*/
public function isContactsAppAvailable(): bool {
Expand All @@ -469,8 +431,6 @@ public function isContactsAppAvailable(): bool {
/**
* retrieve calendar app status
*
* @since Release 1.0.0
*
* @return bool
*/
public function isCalendarAppAvailable(): bool {
Expand All @@ -489,8 +449,6 @@ public function isCalendarAppAvailable(): bool {
/**
* encrypt string
*
* @since Release 1.0.0
*
* @return string
*/
public function encrypt(string $value): string {
Expand All @@ -501,8 +459,6 @@ public function encrypt(string $value): string {
/**
* decrypt string
*
* @since Release 1.0.0
*
* @return string
*/
public function decrypt(string $value): string {
Expand Down
14 changes: 0 additions & 14 deletions lib/Service/CoreService.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ public function __construct(
/**
* locates connection point using users login details
*
* @since Release 1.0.0
*
* @param string $uid user id
* @param string $account_bauth_id account username
* @param string $account_bauth_secret account secret
Expand Down Expand Up @@ -104,8 +102,6 @@ public function locateAccount(array $configuration): ?array {
/**
* connects to account, verifies details, then create service
*
* @since Release 1.0.0
*
* @param string $uid user id
* @param array $configuration service connection data
* @param array $options
Expand Down Expand Up @@ -229,8 +225,6 @@ public function connectAccount(string $uid, array $configuration, array $options
/**
* Removes all users settings, etc for specific user
*
* @since Release 1.0.0
*
* @param string $uid user id
* @param int $sid service id
*
Expand Down Expand Up @@ -266,8 +260,6 @@ public function disconnectAccount(string $uid, int $sid): void {
/**
* retrieves remote collections for all modules
*
* @since Release 1.0.0
*
* @param string $uid user id
* @param int $sid service id
*
Expand Down Expand Up @@ -334,8 +326,6 @@ public function remoteCollectionsFetch(string $uid, int $sid): array {
/**
* retrieves local collections for all modules
*
* @since Release 1.0.0
*
* @param string $uid user id
* @param int $sid service id
*
Expand Down Expand Up @@ -367,8 +357,6 @@ public function localCollectionsFetch(string $uid, int $sid): array {
/**
* Deposit collection correlations for all modules
*
* @since Release 1.0.0
*
* @param string $uid user id
* @param int $sid service id
* @param array $cc contacts collection(s) correlations
Expand Down Expand Up @@ -496,8 +484,6 @@ public function localCollectionsDeposit(string $uid, int $sid, array $cc, array
/**
* publish user notification
*
* @since Release 1.0.0
*
* @param string $uid nextcloud user id
* @param string $subject notification type
* @param array $params notification parameters to pass
Expand Down
4 changes: 0 additions & 4 deletions lib/Service/HarmonizationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ public function __construct(
/**
* perform harmonization for all or specific services of a user
*
* @since Release 1.0.0
*
* @param string $uid user id
* @param int $sid service id
*
Expand All @@ -52,8 +50,6 @@ public function performHarmonization(string $uid, ?int $sid = null): void {

/**
* perform harmonization for all modules of a specific service
*
* @since Release 1.0.0
*/
public function performHarmonizationForService(ServiceEntity $service): void {

Expand Down
8 changes: 0 additions & 8 deletions lib/Service/Local/LocalFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
class LocalFactory {
/**
* instance of the local contact service
*
* @since Release 1.0.0
*/
public function contactsService(): LocalContactsService {
$service = new LocalContactsService();
Expand All @@ -27,8 +25,6 @@ public function contactsService(): LocalContactsService {

/**
* instance of the local event service
*
* @since Release 1.0.0
*/
public function eventsService(): LocalEventsService {
$service = new LocalEventsService();
Expand All @@ -39,8 +35,6 @@ public function eventsService(): LocalEventsService {
/**
* instance of the local contact store
*
* @since Release 1.0.0
*
* @return ContactStore
*/
public function contactsStore(): ContactStore {
Expand All @@ -50,8 +44,6 @@ public function contactsStore(): ContactStore {
/**
* instance of the local event store
*
* @since Release 1.0.0
*
* @return EventStore
*/
public function eventsStore(): EventStore {
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Remote/RemoteContactsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ public function collectionList(string $granularity = 'basic'): array {

/**
* retrieve properties for specific collection
*
* @since Release 1.0.0
*/
public function collectionFetch(string $identifier): ?Collection {
$data = $this->dataStore->propFind($identifier, 0, $this->collectionPropertiesDefault);
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Remote/RemoteEventsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ public function collectionList(string $granularity = 'basic'): array {

/**
* retrieve properties for specific collection
*
* @since Release 1.0.0
*/
public function collectionFetch(string $identifier): ?Collection {
$data = $this->dataStore->propFind($identifier, 0, $this->collectionPropertiesDefault);
Expand Down
8 changes: 0 additions & 8 deletions lib/Service/Remote/RemoteFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public function __construct(

/**
* Initialize remote data store client
*
* @since Release 1.0.0
*/
public function freshClient(ServiceEntity $service): RemoteClient {
$client = new RemoteClient($this->clientService);
Expand Down Expand Up @@ -80,8 +78,6 @@ private function logger(ServiceEntity $service): LoggerInterface {

/**
* Appropriate Core Service for Connection
*
* @since Release 1.0.0
*/
public function coreService(RemoteClient $client): RemoteCoreService {
$service = new RemoteCoreService();
Expand All @@ -92,8 +88,6 @@ public function coreService(RemoteClient $client): RemoteCoreService {

/**
* Appropriate Contacts Service for Connection
*
* @since Release 1.0.0
*/
public function contactsService(RemoteClient $client): RemoteContactsService {
$service = new RemoteContactsService();
Expand All @@ -104,8 +98,6 @@ public function contactsService(RemoteClient $client): RemoteContactsService {

/**
* Appropriate Events Service for Connection
*
* @since Release 1.0.0
*/
public function eventsService(RemoteClient $client): RemoteEventsService {
$service = new RemoteEventsService();
Expand Down
Loading
Loading