Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d46271b65f |
@@ -30,5 +30,11 @@
|
||||
<address-book-plugins>
|
||||
<plugin>OCA\ContactsInteraction\AddressBookProvider</plugin>
|
||||
</address-book-plugins>
|
||||
<plugins>
|
||||
<plugin>OCA\ContactsInteraction\DAV\Plugin</plugin>
|
||||
</plugins>
|
||||
</sabre>
|
||||
<settings>
|
||||
<personal>OCA\ContactsInteraction\Settings\Personal</personal>
|
||||
</settings>
|
||||
</info>
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @copyright Copyright (c) 2023 Thomas Citharel <nextcloud@tcit.fr>
|
||||
*
|
||||
* @author Thomas Citharel <nextcloud@tcit.fr>
|
||||
*
|
||||
* @license GNU AGPL version 3 or any later version
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
return [
|
||||
'ocs' => [
|
||||
['name' => 'config#disable', 'url' => '/config/user/disable', 'verb' => 'POST'],
|
||||
],
|
||||
];
|
||||
@@ -12,9 +12,12 @@ return array(
|
||||
'OCA\\ContactsInteraction\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
|
||||
'OCA\\ContactsInteraction\\BackgroundJob\\CleanupJob' => $baseDir . '/../lib/BackgroundJob/CleanupJob.php',
|
||||
'OCA\\ContactsInteraction\\Card' => $baseDir . '/../lib/Card.php',
|
||||
'OCA\\ContactsInteraction\\DAV\\Plugin' => $baseDir . '/../lib/DAV/Plugin.php',
|
||||
'OCA\\ContactsInteraction\\Db\\CardSearchDao' => $baseDir . '/../lib/Db/CardSearchDao.php',
|
||||
'OCA\\ContactsInteraction\\Db\\RecentContact' => $baseDir . '/../lib/Db/RecentContact.php',
|
||||
'OCA\\ContactsInteraction\\Db\\RecentContactMapper' => $baseDir . '/../lib/Db/RecentContactMapper.php',
|
||||
'OCA\\ContactsInteraction\\Listeners\\ContactInteractionListener' => $baseDir . '/../lib/Listeners/ContactInteractionListener.php',
|
||||
'OCA\\ContactsInteraction\\Listeners\\UserPreferenceListener' => $baseDir . '/../lib/Listeners/UserPreferenceListener.php',
|
||||
'OCA\\ContactsInteraction\\Migration\\Version010000Date20200304152605' => $baseDir . '/../lib/Migration/Version010000Date20200304152605.php',
|
||||
'OCA\\ContactsInteraction\\Settings\\Personal' => $baseDir . '/../lib/Settings/Personal.php',
|
||||
);
|
||||
|
||||
@@ -27,11 +27,14 @@ class ComposerStaticInitContactsInteraction
|
||||
'OCA\\ContactsInteraction\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
|
||||
'OCA\\ContactsInteraction\\BackgroundJob\\CleanupJob' => __DIR__ . '/..' . '/../lib/BackgroundJob/CleanupJob.php',
|
||||
'OCA\\ContactsInteraction\\Card' => __DIR__ . '/..' . '/../lib/Card.php',
|
||||
'OCA\\ContactsInteraction\\DAV\\Plugin' => __DIR__ . '/..' . '/../lib/DAV/Plugin.php',
|
||||
'OCA\\ContactsInteraction\\Db\\CardSearchDao' => __DIR__ . '/..' . '/../lib/Db/CardSearchDao.php',
|
||||
'OCA\\ContactsInteraction\\Db\\RecentContact' => __DIR__ . '/..' . '/../lib/Db/RecentContact.php',
|
||||
'OCA\\ContactsInteraction\\Db\\RecentContactMapper' => __DIR__ . '/..' . '/../lib/Db/RecentContactMapper.php',
|
||||
'OCA\\ContactsInteraction\\Listeners\\ContactInteractionListener' => __DIR__ . '/..' . '/../lib/Listeners/ContactInteractionListener.php',
|
||||
'OCA\\ContactsInteraction\\Listeners\\UserPreferenceListener' => __DIR__ . '/..' . '/../lib/Listeners/UserPreferenceListener.php',
|
||||
'OCA\\ContactsInteraction\\Migration\\Version010000Date20200304152605' => __DIR__ . '/..' . '/../lib/Migration/Version010000Date20200304152605.php',
|
||||
'OCA\\ContactsInteraction\\Settings\\Personal' => __DIR__ . '/..' . '/../lib/Settings/Personal.php',
|
||||
);
|
||||
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
|
||||
@@ -12,6 +12,7 @@ use OCA\ContactsInteraction\AppInfo\Application;
|
||||
use OCA\ContactsInteraction\Db\RecentContactMapper;
|
||||
use OCA\DAV\CardDAV\Integration\ExternalAddressBook;
|
||||
use OCA\DAV\CardDAV\Integration\IAddressBookProvider;
|
||||
use OCP\IConfig;
|
||||
use OCP\IL10N;
|
||||
|
||||
class AddressBookProvider implements IAddressBookProvider {
|
||||
@@ -19,8 +20,8 @@ class AddressBookProvider implements IAddressBookProvider {
|
||||
public function __construct(
|
||||
private RecentContactMapper $mapper,
|
||||
private IL10N $l10n,
|
||||
) {
|
||||
}
|
||||
private IConfig $config
|
||||
) { }
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
@@ -33,6 +34,9 @@ class AddressBookProvider implements IAddressBookProvider {
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function fetchAllForAddressBookHome(string $principalUri): array {
|
||||
if ($this->disabledForPrincipal($principalUri)) {
|
||||
return [];
|
||||
}
|
||||
return [
|
||||
new AddressBook($this->mapper, $this->l10n, $principalUri)
|
||||
];
|
||||
@@ -42,17 +46,29 @@ class AddressBookProvider implements IAddressBookProvider {
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function hasAddressBookInAddressBookHome(string $principalUri, string $uri): bool {
|
||||
return $uri === AddressBook::URI;
|
||||
return $uri === AddressBook::URI && !$this->disabledForPrincipal($principalUri);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getAddressBookInAddressBookHome(string $principalUri, string $uri): ?ExternalAddressBook {
|
||||
if ($uri === AddressBook::URI) {
|
||||
if ($uri === AddressBook::URI && !$this->disabledForPrincipal($principalUri)) {
|
||||
return new AddressBook($this->mapper, $this->l10n, $principalUri);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
private function disabledForPrincipal(string $principalUri): bool {
|
||||
$userId = $this->principalToUserId($principalUri);
|
||||
return $userId !== null && $this->config->getUserValue($userId, Application::APP_ID, 'disableContactsInteractionAddressBook', 'no') === 'yes';
|
||||
}
|
||||
|
||||
private function principalToUserId(string $userPrincipal):?string {
|
||||
if (str_starts_with($userPrincipal, 'principals/users/')) {
|
||||
return substr($userPrincipal, 17);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,10 +9,13 @@ declare(strict_types=1);
|
||||
namespace OCA\ContactsInteraction\AppInfo;
|
||||
|
||||
use OCA\ContactsInteraction\Listeners\ContactInteractionListener;
|
||||
use OCA\ContactsInteraction\Listeners\UserPreferenceListener;
|
||||
use OCP\AppFramework\App;
|
||||
use OCP\AppFramework\Bootstrap\IBootContext;
|
||||
use OCP\AppFramework\Bootstrap\IBootstrap;
|
||||
use OCP\AppFramework\Bootstrap\IRegistrationContext;
|
||||
use OCP\Config\BeforePreferenceDeletedEvent;
|
||||
use OCP\Config\BeforePreferenceSetEvent;
|
||||
use OCP\Contacts\Events\ContactInteractedWithEvent;
|
||||
|
||||
class Application extends App implements IBootstrap {
|
||||
@@ -24,6 +27,9 @@ class Application extends App implements IBootstrap {
|
||||
|
||||
public function register(IRegistrationContext $context): void {
|
||||
$context->registerEventListener(ContactInteractedWithEvent::class, ContactInteractionListener::class);
|
||||
|
||||
$context->registerEventListener(BeforePreferenceDeletedEvent::class, UserPreferenceListener::class);
|
||||
$context->registerEventListener(BeforePreferenceSetEvent::class, UserPreferenceListener::class);
|
||||
}
|
||||
|
||||
public function boot(IBootContext $context): void {
|
||||
|
||||
@@ -0,0 +1,110 @@
|
||||
<?php
|
||||
/**
|
||||
* @copyright 2023, Thomas Citharel <nextcloud@tcit.fr>
|
||||
*
|
||||
* @author Thomas Citharel <nextcloud@tcit.fr>
|
||||
*
|
||||
* @license GNU AGPL version 3 or any later version
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
namespace OCA\ContactsInteraction\DAV;
|
||||
|
||||
use OCA\ContactsInteraction\AddressBook;
|
||||
use OCA\ContactsInteraction\AppInfo\Application;
|
||||
use OCA\ContactsInteraction\Db\RecentContactMapper;
|
||||
use OCP\IConfig;
|
||||
use Sabre\DAV\Server;
|
||||
use Sabre\DAV\ServerPlugin;
|
||||
use Sabre\HTTP\RequestInterface;
|
||||
use Sabre\HTTP\ResponseInterface;
|
||||
|
||||
/**
|
||||
* Allows users to disable the feature by deleting the addressbook
|
||||
*
|
||||
* @package OCA\DAV\CalDAV\BirthdayCalendar
|
||||
*/
|
||||
class Plugin extends ServerPlugin {
|
||||
|
||||
protected Server $server;
|
||||
|
||||
public function __construct(protected IConfig $config, protected RecentContactMapper $recentContactMapper) {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method should return a list of server-features.
|
||||
*
|
||||
* This is for example 'versioning' and is added to the DAV: header
|
||||
* in an OPTIONS response.
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public function getFeatures() {
|
||||
return ['nc-disable-recently-contacted'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a plugin name.
|
||||
*
|
||||
* Using this name other plugins will be able to access other plugins
|
||||
* using Sabre\DAV\Server::getPlugin
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPluginName() {
|
||||
return 'nc-disable-recently-contacted';
|
||||
}
|
||||
|
||||
/**
|
||||
* This initializes the plugin.
|
||||
*
|
||||
* This function is called by Sabre\DAV\Server, after
|
||||
* addPlugin is called.
|
||||
*
|
||||
* This method should set up the required event subscriptions.
|
||||
*
|
||||
* @param Server $server
|
||||
*/
|
||||
public function initialize(Server $server) {
|
||||
$this->server = $server;
|
||||
|
||||
$this->server->on('method:DELETE', [$this, 'httpDelete']);
|
||||
}
|
||||
|
||||
/**
|
||||
* We intercept this to handle POST requests on contacts homes.
|
||||
*
|
||||
* @param RequestInterface $request
|
||||
* @param ResponseInterface $response
|
||||
*
|
||||
* @return bool|void
|
||||
*/
|
||||
public function httpDelete(RequestInterface $request, ResponseInterface $response) {
|
||||
$node = $this->server->tree->getNodeForPath($this->server->getRequestUri());
|
||||
if (!($node instanceof AddressBook)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$principalUri = $node->getOwner();
|
||||
$userId = substr($principalUri, 17);
|
||||
|
||||
$this->config->setUserValue($userId, Application::APP_ID, 'disableContactsInteractionAddressBook', 'yes');
|
||||
$this->recentContactMapper->cleanForUser($userId);
|
||||
|
||||
$this->server->httpResponse->setStatus(204);
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -112,4 +112,14 @@ class RecentContactMapper extends QBMapper {
|
||||
|
||||
$delete->executeStatement();
|
||||
}
|
||||
|
||||
public function cleanForUser(string $userId): void {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
|
||||
$delete = $qb
|
||||
->delete($this->getTableName())
|
||||
->where($qb->expr()->eq('actor_uid', $qb->createNamedParameter($userId)));
|
||||
|
||||
$delete->executeStatement();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace OCA\ContactsInteraction\Listeners;
|
||||
|
||||
use OCA\ContactsInteraction\AppInfo\Application;
|
||||
use OCA\ContactsInteraction\Db\CardSearchDao;
|
||||
use OCA\ContactsInteraction\Db\RecentContact;
|
||||
use OCA\ContactsInteraction\Db\RecentContactMapper;
|
||||
@@ -16,6 +17,7 @@ use OCP\AppFramework\Utility\ITimeFactory;
|
||||
use OCP\Contacts\Events\ContactInteractedWithEvent;
|
||||
use OCP\EventDispatcher\Event;
|
||||
use OCP\EventDispatcher\IEventListener;
|
||||
use OCP\IConfig;
|
||||
use OCP\IDBConnection;
|
||||
use OCP\IL10N;
|
||||
use OCP\IUserManager;
|
||||
@@ -35,6 +37,7 @@ class ContactInteractionListener implements IEventListener {
|
||||
private IDBConnection $dbConnection,
|
||||
private ITimeFactory $timeFactory,
|
||||
private IL10N $l10n,
|
||||
private IConfig $config,
|
||||
private LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
@@ -54,6 +57,11 @@ class ContactInteractionListener implements IEventListener {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->config->getUserValue($event->getActor()->getUID(), Application::APP_ID, 'disableContactsInteractionAddressBook', 'no') === 'yes') {
|
||||
$this->logger->debug("Ignoring contact interaction as it's disabled for this user");
|
||||
return;
|
||||
}
|
||||
|
||||
$this->atomic(function () use ($event) {
|
||||
$uid = $event->getUid();
|
||||
$email = $event->getEmail();
|
||||
@@ -75,9 +83,9 @@ class ContactInteractionListener implements IEventListener {
|
||||
$federatedCloudId
|
||||
);
|
||||
if (!empty($existingRecentlyContacted)) {
|
||||
$now = $this->timeFactory->getTime();
|
||||
$now = $this->timeFactory->now();
|
||||
foreach ($existingRecentlyContacted as $c) {
|
||||
$c->setLastContact($now);
|
||||
$c->setLastContact($now->getTimestamp());
|
||||
$this->mapper->update($c);
|
||||
}
|
||||
|
||||
@@ -95,7 +103,7 @@ class ContactInteractionListener implements IEventListener {
|
||||
if ($federatedCloudId !== null) {
|
||||
$contact->setFederatedCloudId($federatedCloudId);
|
||||
}
|
||||
$contact->setLastContact($this->timeFactory->getTime());
|
||||
$contact->setLastContact($this->timeFactory->now()->getTimestamp());
|
||||
$contact->setCard($this->generateCard($contact));
|
||||
|
||||
$this->mapper->insert($contact);
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
namespace OCA\ContactsInteraction\Listeners;
|
||||
|
||||
use OCA\ContactsInteraction\AppInfo\Application;
|
||||
use OCA\ContactsInteraction\Db\RecentContactMapper;
|
||||
use OCP\BackgroundJob\IJobList;
|
||||
use OCP\Config\BeforePreferenceDeletedEvent;
|
||||
use OCP\Config\BeforePreferenceSetEvent;
|
||||
use OCP\EventDispatcher\Event;
|
||||
use OCP\EventDispatcher\IEventListener;
|
||||
|
||||
/** @template-implements IEventListener<BeforePreferenceSetEvent|BeforePreferenceDeletedEvent> */
|
||||
class UserPreferenceListener implements IEventListener {
|
||||
|
||||
public function __construct(protected IJobList $jobList, private RecentContactMapper $recentContactMapper) { }
|
||||
|
||||
public function handle(Event $event): void {
|
||||
if (!$event instanceof BeforePreferenceSetEvent && !$event instanceof BeforePreferenceDeletedEvent) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($event->getAppId() !== Application::APP_ID || $event->getConfigKey() !== 'disableContactsInteractionAddressBook') {
|
||||
return;
|
||||
}
|
||||
|
||||
$enabled = $event->getConfigValue() === 'yes';
|
||||
$event->setValid($enabled);
|
||||
if (!$enabled) {
|
||||
$this->recentContactMapper->cleanForUser($event->getUserId());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @copyright Copyright (c) 2023 Thomas Citharel <nextcloud@tcit.fr>
|
||||
*
|
||||
* @author Thomas Citharel <nextcloud@tcit.fr>
|
||||
*
|
||||
* @license GNU AGPL version 3 or any later version
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
namespace OCA\ContactsInteraction\Settings;
|
||||
|
||||
use OCA\ContactsInteraction\AppInfo\Application;
|
||||
use OCP\AppFramework\Http\TemplateResponse;
|
||||
use OCP\AppFramework\Services\IInitialState;
|
||||
use OCP\IConfig;
|
||||
use OCP\Settings\ISettings;
|
||||
use OCP\Util;
|
||||
|
||||
class Personal implements ISettings {
|
||||
public function __construct(private IInitialState $initialState, private IConfig $config, private ?string $userId) { }
|
||||
|
||||
public function getForm(): TemplateResponse {
|
||||
$this->initialState->provideInitialState('generateContactsInteraction', $this->config->getUserValue($this->userId, Application::APP_ID, 'disableContactsInteractionAddressBook', 'no') === 'no');
|
||||
Util::addScript(Application::APP_ID, 'settings-personal');
|
||||
return new TemplateResponse(Application::APP_ID, 'personal');
|
||||
}
|
||||
|
||||
public function getSection(): string {
|
||||
return 'contacts';
|
||||
}
|
||||
|
||||
/**
|
||||
* @psalm-return 40
|
||||
*/
|
||||
public function getPriority(): int {
|
||||
return 40;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* @copyright Copyright (c) 2023 Thomas Citharel <nextcloud@tcit.fr>
|
||||
*
|
||||
* @author Thomas Citharel <nextcloud@tcit.fr>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import Vue from 'vue'
|
||||
import { translate } from '@nextcloud/l10n'
|
||||
import PersonalSettings from './views/PersonalSettings.vue'
|
||||
|
||||
Vue.prototype.t = translate
|
||||
|
||||
export default new Vue({
|
||||
el: '#settings-personal-contacts-interaction',
|
||||
name: 'Settings',
|
||||
render: (h) => h(PersonalSettings),
|
||||
})
|
||||
@@ -0,0 +1,51 @@
|
||||
<template>
|
||||
<NcSettingsSection :title="t('contactsinteraction', 'Contacts interaction')"
|
||||
:description="t('contactsinteraction', 'Expose contacts you have been interacting with in the Contacts app')">
|
||||
<NcCheckboxRadioSwitch id="generateContactsInteraction"
|
||||
:checked.sync="generateContactsInteraction"
|
||||
type="switch">
|
||||
{{ t('contactsinteraction', 'Generate an addressbook for contacts you recently interacted with') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
</NcSettingsSection>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { NcSettingsSection, NcCheckboxRadioSwitch } from '@nextcloud/vue'
|
||||
import axios from '@nextcloud/axios'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
|
||||
export default {
|
||||
name: 'PersonalSettings',
|
||||
components: {
|
||||
NcCheckboxRadioSwitch,
|
||||
NcSettingsSection,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
generateContactsInteraction: loadState('contactsinteraction', 'generateContactsInteraction'),
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
generateContactsInteraction(value) {
|
||||
if (!value) {
|
||||
axios({
|
||||
url: generateOcsUrl('apps/provisioning_api/api/v1/config/users/{appId}/{configKey}', {
|
||||
appId: 'contactsinteraction',
|
||||
configKey: 'disableContactsInteractionAddressBook',
|
||||
}),
|
||||
data: {
|
||||
configValue: 'yes',
|
||||
},
|
||||
method: 'POST',
|
||||
})
|
||||
} else {
|
||||
axios.delete(generateOcsUrl('apps/provisioning_api/api/v1/config/users/{appId}/{configKey}', {
|
||||
appId: 'contactsinteraction',
|
||||
configKey: 'disableContactsInteractionAddressBook',
|
||||
}))
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1 @@
|
||||
<div id="settings-personal-contacts-interaction"></div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32" version="1.1" viewBox="0 0 32 32">
|
||||
<path style="block-progression:tb;color:#000000;text-transform:none;text-indent:0" d="m8.24 4.42c-2.2265 0-4.1153 1.6283-4.1153 3.7296 0.0158 0.66417 0.0752 1.4832 0.47155 3.2152v0.0429l0.0429 0.0429c0.12723 0.36445 0.31239 0.57294 0.55728 0.85739 0.24489 0.28444 0.53685 0.61924 0.81448 0.90025 0.0327 0.0331 0.0536 0.0535 0.0857 0.0858 0.0551 0.23961 0.12176 0.49747 0.17147 0.72878 0.13227 0.61541 0.11871 1.0512 0.0857 1.2003-0.95674 0.33594-2.147 0.73601-3.2151 1.2003-0.59962 0.26069-1.1422 0.49348-1.5861 0.77165-0.44388 0.27818-0.88534 0.48834-1.0288 1.1146-0.002 0.0285-0.002 0.0572 0 0.0858-0.1402 1.2874-0.35229 3.1806-0.51441 4.4584-0.035 0.26898 0.10676 0.55252 0.34294 0.68591 1.9392 1.0475 4.9181 1.4691 7.8876 1.4576 2.9695-0.0116 5.9247-0.45797 7.8019-1.4576 0.23617-0.13338 0.37794-0.41693 0.34294-0.68591-0.0518-0.39943-0.11534-1.3001-0.17147-2.1863-0.0561-0.88623-0.10486-1.758-0.17147-2.2721-0.0232-0.12744-0.0835-0.2479-0.17147-0.34295-0.59633-0.71211-1.4873-1.1474-2.5292-1.5862-0.95121-0.40054-2.0664-0.81649-3.1722-1.2861-0.0619-0.13788-0.12337-0.53903 0-1.1575 0.0331-0.16606 0.085-0.34392 0.12861-0.51443 0.10392-0.1164 0.18492-0.21152 0.30007-0.34296 0.2456-0.28032 0.50949-0.57438 0.72875-0.85738 0.21926-0.28301 0.39864-0.52579 0.51441-0.85739l0.0429-0.0429c0.44807-1.8085 0.44831-2.5631 0.47155-3.2152v-0.0429c0-2.1013-1.8888-3.7296-4.1153-3.7296zm11.772-3.4224c-3.2461 0-5.9999 2.3739-5.9999 5.4374 0.023 0.9683 0.10964 2.1624 0.68749 4.6874v0.0625l0.0625 0.0625c0.1855 0.53134 0.45545 0.83529 0.81249 1.25 0.35704 0.4147 0.7827 0.90279 1.1875 1.3125 0.0476 0.0482 0.0781 0.0781 0.12499 0.12502 0.0803 0.34932 0.17752 0.72527 0.25 1.0625 0.19284 0.8972 0.17306 1.5326 0.12501 1.75-1.3949 0.48977-3.1303 1.073-4.6874 1.75-0.87422 0.38005-1.6653 0.71943-2.3125 1.125-0.64717 0.40555-1.2908 0.71195-1.5 1.625-0.003 0.0416-0.003 0.0834 0 0.12502-0.20442 1.8769-0.51363 4.637-0.74999 6.4999-0.051 0.39215 0.15566 0.80553 0.49999 0.99999 2.8273 1.5272 7.1704 2.1419 11.5 2.125 4.3294-0.0168 8.6379-0.66766 11.375-2.125 0.34433-0.19446 0.55102-0.60784 0.49999-0.99999-0.0755-0.58232-0.16816-1.8954-0.25-3.1875-0.0818-1.292-0.15288-2.563-0.24998-3.3125-0.0339-0.18578-0.12172-0.36141-0.25-0.49999-0.86942-1.0382-2.1684-1.6728-3.6875-2.3125-1.3868-0.58395-3.0127-1.1904-4.6249-1.875-0.0902-0.20102-0.17988-0.78586 0-1.6875 0.0483-0.2421 0.12394-0.50141 0.1875-0.74999 0.15152-0.1697 0.26961-0.30838 0.4375-0.5 0.35807-0.40868 0.74281-0.83739 1.0625-1.25 0.31967-0.41259 0.58121-0.76654 0.74999-1.25l0.0625-0.0625c0.65328-2.6366 0.65362-3.7367 0.6875-4.6874v-0.0625c0-3.0635-2.7538-5.4374-5.9999-5.4374z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
@@ -52,6 +52,7 @@
|
||||
<personal>OCA\Settings\Settings\Personal\Security\WebAuthn</personal>
|
||||
<personal-section>OCA\Settings\Sections\Personal\Availability</personal-section>
|
||||
<personal-section>OCA\Settings\Sections\Personal\Calendar</personal-section>
|
||||
<personal-section>OCA\Settings\Sections\Personal\Contacts</personal-section>
|
||||
<personal-section>OCA\Settings\Sections\Personal\PersonalInfo</personal-section>
|
||||
<personal-section>OCA\Settings\Sections\Personal\Security</personal-section>
|
||||
<personal-section>OCA\Settings\Sections\Personal\SyncClients</personal-section>
|
||||
|
||||
@@ -58,6 +58,7 @@ return array(
|
||||
'OCA\\Settings\\Sections\\Admin\\Sharing' => $baseDir . '/../lib/Sections/Admin/Sharing.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\Availability' => $baseDir . '/../lib/Sections/Personal/Availability.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\Calendar' => $baseDir . '/../lib/Sections/Personal/Calendar.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\Contacts' => $baseDir . '/../lib/Sections/Personal/Contacts.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\PersonalInfo' => $baseDir . '/../lib/Sections/Personal/PersonalInfo.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\Security' => $baseDir . '/../lib/Sections/Personal/Security.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\SyncClients' => $baseDir . '/../lib/Sections/Personal/SyncClients.php',
|
||||
|
||||
@@ -73,6 +73,7 @@ class ComposerStaticInitSettings
|
||||
'OCA\\Settings\\Sections\\Admin\\Sharing' => __DIR__ . '/..' . '/../lib/Sections/Admin/Sharing.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\Availability' => __DIR__ . '/..' . '/../lib/Sections/Personal/Availability.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\Calendar' => __DIR__ . '/..' . '/../lib/Sections/Personal/Calendar.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\Contacts' => __DIR__ . '/..' . '/../lib/Sections/Personal/Contacts.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\PersonalInfo' => __DIR__ . '/..' . '/../lib/Sections/Personal/PersonalInfo.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\Security' => __DIR__ . '/..' . '/../lib/Sections/Personal/Security.php',
|
||||
'OCA\\Settings\\Sections\\Personal\\SyncClients' => __DIR__ . '/..' . '/../lib/Sections/Personal/SyncClients.php',
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @author Thomas Citharel <nextcloud@tcit.fr>
|
||||
*
|
||||
* This code is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License, version 3,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Settings\Sections\Personal;
|
||||
|
||||
use OCP\IL10N;
|
||||
use OCP\IURLGenerator;
|
||||
use OCP\Settings\IIconSection;
|
||||
|
||||
class Contacts implements IIconSection {
|
||||
|
||||
private IL10N $l;
|
||||
private IURLGenerator $urlGenerator;
|
||||
|
||||
public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
|
||||
$this->l = $l;
|
||||
$this->urlGenerator = $urlGenerator;
|
||||
}
|
||||
|
||||
public function getIcon(): string {
|
||||
return $this->urlGenerator->imagePath('dav', 'contacts.svg');
|
||||
}
|
||||
|
||||
public function getID(): string {
|
||||
return 'contacts';
|
||||
}
|
||||
|
||||
public function getName(): string {
|
||||
return $this->l->t('Contacts');
|
||||
}
|
||||
|
||||
public function getPriority(): int {
|
||||
return 50;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,487 @@
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
SPDX-License-Identifier: MIT
|
||||
SPDX-License-Identifier: ISC
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
SPDX-License-Identifier: BSD-2-Clause
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0)
|
||||
SPDX-FileCopyrightText: xiaokai <kexiaokai@gmail.com>
|
||||
SPDX-FileCopyrightText: uuid developers
|
||||
SPDX-FileCopyrightText: rhysd <lin90162@yahoo.co.jp>
|
||||
SPDX-FileCopyrightText: inline-style-parser developers
|
||||
SPDX-FileCopyrightText: inherits developers
|
||||
SPDX-FileCopyrightText: escape-html developers
|
||||
SPDX-FileCopyrightText: debounce developers
|
||||
SPDX-FileCopyrightText: assert developers
|
||||
SPDX-FileCopyrightText: Victor Felder <victor@draft.li> (https://draft.li)
|
||||
SPDX-FileCopyrightText: Tobias Koppers @sokra
|
||||
SPDX-FileCopyrightText: Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
|
||||
SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
|
||||
SPDX-FileCopyrightText: Stefan Thomas <justmoon@members.fsf.org> (http://www.justmoon.net)
|
||||
SPDX-FileCopyrightText: Sindre Sorhus
|
||||
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
||||
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
|
||||
SPDX-FileCopyrightText: Philipp Kewisch
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
|
||||
SPDX-FileCopyrightText: OpenJS Foundation and other contributors
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-FileCopyrightText: Matt Zabriskie
|
||||
SPDX-FileCopyrightText: Mark <mark@remarkablemark.org>
|
||||
SPDX-FileCopyrightText: Mapbox
|
||||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
|
||||
SPDX-FileCopyrightText: Jordan Harband
|
||||
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
|
||||
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
|
||||
SPDX-FileCopyrightText: GitHub Inc.
|
||||
SPDX-FileCopyrightText: Feross Aboukhadijeh
|
||||
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
|
||||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris)
|
||||
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
|
||||
SPDX-FileCopyrightText: Denis Pushkarev
|
||||
SPDX-FileCopyrightText: Christoph Wurst
|
||||
SPDX-FileCopyrightText: Borys Serebrov
|
||||
SPDX-FileCopyrightText: Antoni Andre <antoniandre.web@gmail.com>
|
||||
SPDX-FileCopyrightText: Andris Reinman
|
||||
SPDX-FileCopyrightText: Andrea Giammarchi
|
||||
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- unist-util-is
|
||||
- version: 3.0.0
|
||||
- license: MIT
|
||||
- unist-util-visit-parents
|
||||
- version: 2.1.2
|
||||
- license: MIT
|
||||
- unist-util-visit
|
||||
- version: 1.4.1
|
||||
- license: MIT
|
||||
- @mapbox/hast-util-table-cell-style
|
||||
- version: 0.2.1
|
||||
- license: BSD-2-Clause
|
||||
- @nextcloud/auth
|
||||
- version: 2.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- semver
|
||||
- version: 7.6.2
|
||||
- license: ISC
|
||||
- @nextcloud/event-bus
|
||||
- version: 3.3.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/router
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.0
|
||||
- license: MIT
|
||||
- @nextcloud/browser-storage
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/logger
|
||||
- version: 2.7.0
|
||||
- license: GPL-3.0-or-later
|
||||
- core-js
|
||||
- version: 3.33.0
|
||||
- license: MIT
|
||||
- debounce
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- @nextcloud/vue
|
||||
- version: 8.11.2
|
||||
- license: AGPL-3.0-or-later
|
||||
- @ungap/structured-clone
|
||||
- version: 1.2.0
|
||||
- license: ISC
|
||||
- assert
|
||||
- version: 2.1.0
|
||||
- license: MIT
|
||||
- available-typed-arrays
|
||||
- version: 1.0.7
|
||||
- license: MIT
|
||||
- axios
|
||||
- version: 1.6.8
|
||||
- license: MIT
|
||||
- bail
|
||||
- version: 2.0.2
|
||||
- license: MIT
|
||||
- base64-js
|
||||
- version: 1.5.1
|
||||
- license: MIT
|
||||
- buffer
|
||||
- version: 6.0.3
|
||||
- license: MIT
|
||||
- call-bind
|
||||
- version: 1.0.7
|
||||
- license: MIT
|
||||
- ccount
|
||||
- version: 2.0.1
|
||||
- license: MIT
|
||||
- charenc
|
||||
- version: 0.0.2
|
||||
- license: BSD-3-Clause
|
||||
- comma-separated-tokens
|
||||
- version: 2.0.3
|
||||
- license: MIT
|
||||
- console-browserify
|
||||
- version: 1.2.0
|
||||
- license: MIT
|
||||
- crypt
|
||||
- version: 0.0.2
|
||||
- license: BSD-3-Clause
|
||||
- css-loader
|
||||
- version: 6.10.0
|
||||
- license: MIT
|
||||
- decode-named-character-reference
|
||||
- version: 1.0.2
|
||||
- license: MIT
|
||||
- define-data-property
|
||||
- version: 1.1.4
|
||||
- license: MIT
|
||||
- define-properties
|
||||
- version: 1.2.1
|
||||
- license: MIT
|
||||
- devlop
|
||||
- version: 1.1.0
|
||||
- license: MIT
|
||||
- dompurify
|
||||
- version: 3.1.4
|
||||
- license: (MPL-2.0 OR Apache-2.0)
|
||||
- emoji-mart-vue-fast
|
||||
- version: 15.0.1
|
||||
- license: BSD-3-Clause
|
||||
- es-define-property
|
||||
- version: 1.0.0
|
||||
- license: MIT
|
||||
- es-errors
|
||||
- version: 1.3.0
|
||||
- license: MIT
|
||||
- escape-html
|
||||
- version: 1.0.3
|
||||
- license: MIT
|
||||
- extend
|
||||
- version: 3.0.2
|
||||
- license: MIT
|
||||
- for-each
|
||||
- version: 0.3.3
|
||||
- license: MIT
|
||||
- function-bind
|
||||
- version: 1.1.2
|
||||
- license: MIT
|
||||
- get-intrinsic
|
||||
- version: 1.2.4
|
||||
- license: MIT
|
||||
- gopd
|
||||
- version: 1.0.1
|
||||
- license: MIT
|
||||
- has-property-descriptors
|
||||
- version: 1.0.2
|
||||
- license: MIT
|
||||
- has-proto
|
||||
- version: 1.0.3
|
||||
- license: MIT
|
||||
- has-symbols
|
||||
- version: 1.0.3
|
||||
- license: MIT
|
||||
- has-tostringtag
|
||||
- version: 1.0.2
|
||||
- license: MIT
|
||||
- hasown
|
||||
- version: 2.0.1
|
||||
- license: MIT
|
||||
- hast-to-hyperscript
|
||||
- version: 10.0.3
|
||||
- license: MIT
|
||||
- hast-util-is-element
|
||||
- version: 3.0.0
|
||||
- license: MIT
|
||||
- hast-util-whitespace
|
||||
- version: 2.0.1
|
||||
- license: MIT
|
||||
- ical.js
|
||||
- version: 1.5.0
|
||||
- license: MPL-2.0
|
||||
- ieee754
|
||||
- version: 1.2.1
|
||||
- license: BSD-3-Clause
|
||||
- inherits
|
||||
- version: 2.0.4
|
||||
- license: ISC
|
||||
- inline-style-parser
|
||||
- version: 0.1.1
|
||||
- license: MIT
|
||||
- is-absolute-url
|
||||
- version: 4.0.1
|
||||
- license: MIT
|
||||
- is-arguments
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- is-buffer
|
||||
- version: 1.1.6
|
||||
- license: MIT
|
||||
- is-callable
|
||||
- version: 1.2.7
|
||||
- license: MIT
|
||||
- is-generator-function
|
||||
- version: 1.0.10
|
||||
- license: MIT
|
||||
- is-nan
|
||||
- version: 1.3.2
|
||||
- license: MIT
|
||||
- is-typed-array
|
||||
- version: 1.1.13
|
||||
- license: MIT
|
||||
- jquery
|
||||
- version: 3.7.1
|
||||
- license: MIT
|
||||
- lodash.get
|
||||
- version: 4.4.2
|
||||
- license: MIT
|
||||
- longest-streak
|
||||
- version: 3.1.0
|
||||
- license: MIT
|
||||
- markdown-table
|
||||
- version: 3.0.3
|
||||
- license: MIT
|
||||
- md5
|
||||
- version: 2.3.0
|
||||
- license: BSD-3-Clause
|
||||
- escape-string-regexp
|
||||
- version: 5.0.0
|
||||
- license: MIT
|
||||
- mdast-util-find-and-replace
|
||||
- version: 3.0.1
|
||||
- license: MIT
|
||||
- mdast-util-from-markdown
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- mdast-util-gfm-autolink-literal
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- mdast-util-gfm-footnote
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- mdast-util-gfm-strikethrough
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- mdast-util-gfm-table
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- mdast-util-gfm-task-list-item
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- mdast-util-gfm
|
||||
- version: 3.0.0
|
||||
- license: MIT
|
||||
- mdast-util-newline-to-break
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- mdast-util-phrasing
|
||||
- version: 4.1.0
|
||||
- license: MIT
|
||||
- mdast-util-to-hast
|
||||
- version: 13.1.0
|
||||
- license: MIT
|
||||
- mdast-util-to-markdown
|
||||
- version: 2.1.0
|
||||
- license: MIT
|
||||
- mdast-util-to-string
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
- micromark-core-commonmark
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-extension-gfm-autolink-literal
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-extension-gfm-footnote
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-extension-gfm-strikethrough
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-extension-gfm-table
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-extension-gfm-tagfilter
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-extension-gfm-task-list-item
|
||||
- version: 2.0.1
|
||||
- license: MIT
|
||||
- micromark-extension-gfm
|
||||
- version: 3.0.0
|
||||
- license: MIT
|
||||
- micromark-factory-destination
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-factory-label
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-factory-space
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-factory-title
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-factory-whitespace
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-character
|
||||
- version: 2.1.0
|
||||
- license: MIT
|
||||
- micromark-util-chunked
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-classify-character
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-combine-extensions
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-decode-numeric-character-reference
|
||||
- version: 2.0.1
|
||||
- license: MIT
|
||||
- micromark-util-decode-string
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-encode
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-html-tag-name
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-normalize-identifier
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-resolve-all
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-sanitize-uri
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark-util-subtokenize
|
||||
- version: 2.0.0
|
||||
- license: MIT
|
||||
- micromark
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
- node-gettext
|
||||
- version: 3.0.0
|
||||
- license: MIT
|
||||
- object-is
|
||||
- version: 1.1.5
|
||||
- license: MIT
|
||||
- object-keys
|
||||
- version: 1.1.1
|
||||
- license: MIT
|
||||
- object.assign
|
||||
- version: 4.1.5
|
||||
- license: MIT
|
||||
- possible-typed-array-names
|
||||
- version: 1.0.0
|
||||
- license: MIT
|
||||
- process
|
||||
- version: 0.11.10
|
||||
- license: MIT
|
||||
- property-information
|
||||
- version: 6.4.1
|
||||
- license: MIT
|
||||
- rehype-external-links
|
||||
- version: 3.0.0
|
||||
- license: MIT
|
||||
- rehype-react
|
||||
- version: 7.2.0
|
||||
- license: MIT
|
||||
- remark-breaks
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
- remark-gfm
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
- remark-parse
|
||||
- version: 11.0.0
|
||||
- license: MIT
|
||||
- remark-rehype
|
||||
- version: 11.1.0
|
||||
- license: MIT
|
||||
- set-function-length
|
||||
- version: 1.2.1
|
||||
- license: MIT
|
||||
- space-separated-tokens
|
||||
- version: 2.0.2
|
||||
- license: MIT
|
||||
- splitpanes
|
||||
- version: 2.4.1
|
||||
- license: MIT
|
||||
- striptags
|
||||
- version: 3.2.0
|
||||
- license: MIT
|
||||
- style-loader
|
||||
- version: 3.3.4
|
||||
- license: MIT
|
||||
- style-to-object
|
||||
- version: 0.4.4
|
||||
- license: MIT
|
||||
- trim-lines
|
||||
- version: 3.0.1
|
||||
- license: MIT
|
||||
- trough
|
||||
- version: 2.2.0
|
||||
- license: MIT
|
||||
- is-plain-obj
|
||||
- version: 4.1.0
|
||||
- license: MIT
|
||||
- unified
|
||||
- version: 11.0.4
|
||||
- license: MIT
|
||||
- unist-builder
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
- unist-util-is
|
||||
- version: 6.0.0
|
||||
- license: MIT
|
||||
- unist-util-position
|
||||
- version: 5.0.0
|
||||
- license: MIT
|
||||
- unist-util-stringify-position
|
||||
- version: 4.0.0
|
||||
- license: MIT
|
||||
- unist-util-visit-parents
|
||||
- version: 6.0.1
|
||||
- license: MIT
|
||||
- unist-util-visit
|
||||
- version: 5.0.0
|
||||
- license: MIT
|
||||
- util
|
||||
- version: 0.12.5
|
||||
- license: MIT
|
||||
- uuid
|
||||
- version: 9.0.1
|
||||
- license: MIT
|
||||
- vfile-message
|
||||
- version: 4.0.2
|
||||
- license: MIT
|
||||
- vfile
|
||||
- version: 6.0.1
|
||||
- license: MIT
|
||||
- vue-color
|
||||
- version: 2.8.1
|
||||
- license: MIT
|
||||
- web-namespaces
|
||||
- version: 2.0.1
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.91.0
|
||||
- license: MIT
|
||||
- which-typed-array
|
||||
- version: 1.1.14
|
||||
- license: MIT
|
||||
- zwitch
|
||||
- version: 2.0.4
|
||||
- license: MIT
|
||||
- nextcloud
|
||||
- version: 1.0.0
|
||||
- license: AGPL-3.0-or-later
|
||||
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
contactsinteraction-settings-personal.js.license
|
||||
@@ -10,6 +10,9 @@ module.exports = {
|
||||
'comments-tab': path.join(__dirname, 'apps/comments/src', 'comments-tab.js'),
|
||||
init: path.join(__dirname, 'apps/comments/src', 'init.ts'),
|
||||
},
|
||||
contactsinteraction: {
|
||||
'settings-personal': path.join(__dirname, 'apps/contactsinteraction/src', 'Settings.js'),
|
||||
},
|
||||
core: {
|
||||
'ajax-cron': path.join(__dirname, 'core/src', 'ajax-cron.ts'),
|
||||
files_client: path.join(__dirname, 'core/src', 'files/client.js'),
|
||||
|
||||
Reference in New Issue
Block a user