Skip to content

Commit

Permalink
Removal of EAS specific functionality and references
Browse files Browse the repository at this point in the history
  • Loading branch information
ksainc committed Dec 25, 2023
1 parent 296a722 commit fd1c518
Show file tree
Hide file tree
Showing 24 changed files with 68 additions and 6,355 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# integration_jmap
Nextcloud Exchange JMAP Integration
# integration_jmapc
Nextcloud JMAP Integration
12 changes: 6 additions & 6 deletions lib/Commands/Connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,22 @@ public function __construct(IUserManager $userManager, CoreService $CoreService)
protected function configure() {
$this
->setName('jmapc:connect')
->setDescription('Connects a user to EWS Server')
->setDescription('Connects a user to JMAP Server')
->addArgument('user',
InputArgument::REQUIRED,
'User whom to connect to the EWS Server')
'User whom to connect to the JMAP Server')
->addArgument('provider',
InputArgument::REQUIRED,
'FQDN or IP address of the EWS Server')
'FQDN or IP address of the JMAP Server')
->addArgument('accountid',
InputArgument::REQUIRED,
'The username of the account to connect to on the EWS Server')
'The username of the account to connect to on the JMAP Server')
->addArgument('accountsecret',
InputArgument::REQUIRED,
'The password of the account to connect to on the EWS Server')
'The password of the account to connect to on the JMAP Server')
->addArgument('validate',
InputArgument::OPTIONAL,
'Should we validate the credentials with EWS Server. (default true)');
'Should we validate the credentials with JMAP Server. (default true)');
}

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Commands/Disconnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(IUserManager $userManager, CoreService $CoreService)
protected function configure() {
$this
->setName('jmapc:disconnect')
->setDescription('Disconnects a user from an EWS Server')
->setDescription('Disconnects a user from an JMAP Server')
->addArgument('user',
InputArgument::REQUIRED,
'User whom to disconnect');
Expand All @@ -65,7 +65,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int

$this->CoreService->disconnectAccount($uid);

$output->writeln("<info>User $uid disconnected from EWS Server</info>");
$output->writeln("<info>User $uid disconnected from JMAP Server</info>");

return 0;

Expand Down
2 changes: 1 addition & 1 deletion lib/Notification/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function getID(): string {
* @since 17.0.0
*/
public function getName(): string {
return $this->factory->get('integration_jmapc')->t('EWS Connector');
return $this->factory->get('integration_jmapc')->t('JMAP Connector');
}

/**
Expand Down
Loading

0 comments on commit fd1c518

Please sign in to comment.