diff options
172 files changed, 601 insertions, 601 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 58883ab5e..1908c081f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -42,9 +42,9 @@ c) ... </details> -## Spreed app +## Talk app -**Spreed app version:** (see apps admin page: `/index.php/settings/apps`) +**Talk app version:** (see apps admin page: `/index.php/settings/apps`) **Custom TURN server configured:** yes/no (see additional admin settings: `/index.php/settings/admin/additional`) diff --git a/.github/contributing.md b/.github/contributing.md index eca50d626..70cab62c9 100644 --- a/.github/contributing.md +++ b/.github/contributing.md @@ -20,7 +20,7 @@ Please submit translations via [Transifex](https://www.transifex.com/nextcloud/n ## Contributing to Source Code -Thanks for wanting to contribute source code to the Spreed app. That's great! 🎉 +Thanks for wanting to contribute source code to the Talk app. That's great! 🎉 Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other. diff --git a/.github/issue_template.md b/.github/issue_template.md index f8af2b26f..99d9bfe51 100644 --- a/.github/issue_template.md +++ b/.github/issue_template.md @@ -33,9 +33,9 @@ c) ... </details> -## Spreed app +## Talk app -**Spreed app version:** (see apps admin page: `/index.php/settings/apps`) +**Talk app version:** (see apps admin page: `/index.php/settings/apps`) **Custom TURN server configured:** yes/no (see additional admin settings: `/index.php/settings/admin/additional`) diff --git a/appinfo/app.php b/appinfo/app.php index 4413cb5e3..ab3f8b83c 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -19,6 +19,6 @@ * */ -$app = new \OCA\Spreed\AppInfo\Application(); +$app = new \OCA\Talk\AppInfo\Application(); // For the navigation $l->t('Talk') $app->register(); diff --git a/appinfo/info.xml b/appinfo/info.xml index f7e7e207f..4a147be92 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -24,7 +24,7 @@ And in the works for the [coming versions](https://github.com/nextcloud/spreed/m <author>Jan-Christoph Borchardt</author> <author>Joas Schilling</author> - <namespace>Spreed</namespace> + <namespace>Talk</namespace> <types> <prevent_group_restriction /> @@ -47,64 +47,64 @@ And in the works for the [coming versions](https://github.com/nextcloud/spreed/m </dependencies> <background-jobs> - <job>OCA\Spreed\BackgroundJob\ExpireSignalingMessage</job> - <job>OCA\Spreed\BackgroundJob\RemoveEmptyRooms</job> + <job>OCA\Talk\BackgroundJob\ExpireSignalingMessage</job> + <job>OCA\Talk\BackgroundJob\RemoveEmptyRooms</job> </background-jobs> <repair-steps> <post-migration> - <step>OCA\Spreed\Migration\CreateHelpCommand</step> - <step>OCA\Spreed\Migration\ClearResourceAccessCache</step> + <step>OCA\Talk\Migration\CreateHelpCommand</step> + <step>OCA\Talk\Migration\ClearResourceAccessCache</step> </post-migration> <install> - <step>OCA\Spreed\Migration\CreateHelpCommand</step> + <step>OCA\Talk\Migration\CreateHelpCommand</step> </install> </repair-steps> <commands> - <command>OCA\Spreed\Command\Command\Add</command> - <command>OCA\Spreed\Command\Command\AddSamples</command> - <command>OCA\Spreed\Command\Command\Delete</command> - <command>OCA\Spreed\Command\Command\ListCommand</command> - <command>OCA\Spreed\Command\Command\Update</command> - <command>OCA\Spreed\Command\Stun\Add</command> - <command>OCA\Spreed\Command\Stun\Delete</command> - <command>OCA\Spreed\Command\Stun\ListCommand</command> - <command>OCA\Spreed\Command\Turn\Add</command> - <command>OCA\Spreed\Command\Turn\Delete</command> - <command>OCA\Spreed\Command\Turn\ListCommand</command> - <command>OCA\Spreed\Command\Signaling\Add</command> - <command>OCA\Spreed\Command\Signaling\Delete</command> - <command>OCA\Spreed\Command\Signaling\ListCommand</command> + <command>OCA\Talk\Command\Command\Add</command> + <command>OCA\Talk\Command\Command\AddSamples</command> + <command>OCA\Talk\Command\Command\Delete</command> + <command>OCA\Talk\Command\Command\ListCommand</command> + <command>OCA\Talk\Command\Command\Update</command> + <command>OCA\Talk\Command\Stun\Add</command> + <command>OCA\Talk\Command\Stun\Delete</command> + <command>OCA\Talk\Command\Stun\ListCommand</command> + <command>OCA\Talk\Command\Turn\Add</command> + <command>OCA\Talk\Command\Turn\Delete</command> + <command>OCA\Talk\Command\Turn\ListCommand</command> + <command>OCA\Talk\Command\Signaling\Add</command> + <command>OCA\Talk\Command\Signaling\Delete</command> + <command>OCA\Talk\Command\Signaling\ListCommand</command> </commands> <settings> - <admin>OCA\Spreed\Settings\Admin\AllowedGroups</admin> - <admin>OCA\Spreed\Settings\Admin\Commands</admin> - <admin>OCA\Spreed\Settings\Admin\SignalingServer</admin> - <admin>OCA\Spreed\Settings\Admin\StunServer</admin> - <admin>OCA\Spreed\Settings\Admin\TurnServer</admin> - <admin-section>OCA\Spreed\Settings\Admin\Section</admin-section> + <admin>OCA\Talk\Settings\Admin\AllowedGroups</admin> + <admin>OCA\Talk\Settings\Admin\Commands</admin> + <admin>OCA\Talk\Settings\Admin\SignalingServer</admin> + <admin>OCA\Talk\Settings\Admin\StunServer</admin> + <admin>OCA\Talk\Settings\Admin\TurnServer</admin> + <admin-section>OCA\Talk\Settings\Admin\Section</admin-section> </settings> <activity> <settings> - <setting>OCA\Spreed\Activity\Setting</setting> + <setting>OCA\Talk\Activity\Setting</setting> </settings> <providers> - <provider>OCA\Spreed\Activity\Provider\Invitation</provider> - <provider>OCA\Spreed\Activity\Provider\Call</provider> + <provider>OCA\Talk\Activity\Provider\Invitation</provider> + <provider>OCA\Talk\Activity\Provider\Call</provider> </providers> </activity> <contactsmenu> - <provider>OCA\Spreed\ContactsMenu\Providers\CallProvider</provider> + <provider>OCA\Talk\ContactsMenu\Providers\CallProvider</provider> </contactsmenu> <collaboration> <plugins> - <plugin type="collaborator-search" share-type="SHARE_TYPE_ROOM">OCA\Spreed\Collaboration\Collaborators\RoomPlugin</plugin> + <plugin type="collaborator-search" share-type="SHARE_TYPE_ROOM">OCA\Talk\Collaboration\Collaborators\RoomPlugin</plugin> </plugins> </collaboration> </info> diff --git a/lib/Activity/Listener.php b/lib/Activity/Listener.php index 32deaef52..a6e94794b 100644 --- a/lib/Activity/Listener.php +++ b/lib/Activity/Listener.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Activity; +namespace OCA\Talk\Activity; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Room; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Room; use OCP\Activity\IManager; use OCP\AppFramework\Utility\ITimeFactory; use OCP\ILogger; diff --git a/lib/Activity/Provider/Base.php b/lib/Activity/Provider/Base.php index 0b4da5a7b..857cc9a54 100644 --- a/lib/Activity/Provider/Base.php +++ b/lib/Activity/Provider/Base.php @@ -20,11 +20,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Activity\Provider; +namespace OCA\Talk\Activity\Provider; -use OCA\Spreed\Config; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Config; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\Activity\IEvent; use OCP\Activity\IManager; use OCP\Activity\IProvider; diff --git a/lib/Activity/Provider/Call.php b/lib/Activity/Provider/Call.php index f70253824..b67f694d4 100644 --- a/lib/Activity/Provider/Call.php +++ b/lib/Activity/Provider/Call.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Activity\Provider; +namespace OCA\Talk\Activity\Provider; use OCP\Activity\IEvent; use OCP\IL10N; diff --git a/lib/Activity/Provider/Invitation.php b/lib/Activity/Provider/Invitation.php index 56b22e964..251f21ef6 100644 --- a/lib/Activity/Provider/Invitation.php +++ b/lib/Activity/Provider/Invitation.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Activity\Provider; +namespace OCA\Talk\Activity\Provider; -use OCA\Spreed\Exceptions\RoomNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; use OCP\Activity\IEvent; class Invitation extends Base { diff --git a/lib/Activity/Setting.php b/lib/Activity/Setting.php index 6a4b14601..df20ba047 100644 --- a/lib/Activity/Setting.php +++ b/lib/Activity/Setting.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Activity; +namespace OCA\Talk\Activity; use OCP\Activity\ISetting; diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 36e3b6555..1242b6aa4 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -20,33 +20,33 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\AppInfo; - -use OCA\Spreed\Activity\Listener as ActivityListener; -use OCA\Spreed\Capabilities; -use OCA\Spreed\Chat\Changelog\Listener as ChangelogListener; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\Command\Listener as CommandListener; -use OCA\Spreed\Chat\Parser\Listener as ParserListener; -use OCA\Spreed\Chat\SystemMessage\Listener as SystemMessageListener; -use OCA\Spreed\Collaboration\Resources\ConversationProvider; -use OCA\Spreed\Collaboration\Resources\Listener as ResourceListener; -use OCA\Spreed\Config; -use OCA\Spreed\Files\Listener as FilesListener; -use OCA\Spreed\Files\TemplateLoader as FilesTemplateLoader; -use OCA\Spreed\Listener; -use OCA\Spreed\Manager; -use OCA\Spreed\Middleware\CanUseTalkMiddleware; -use OCA\Spreed\Middleware\InjectionMiddleware; -use OCA\Spreed\Notification\Listener as NotificationListener; -use OCA\Spreed\Notification\Notifier; -use OCA\Spreed\PublicShareAuth\Listener as PublicShareAuthListener; -use OCA\Spreed\PublicShareAuth\TemplateLoader as PublicShareAuthTemplateLoader; -use OCA\Spreed\Room; -use OCA\Spreed\Settings\Personal; -use OCA\Spreed\Share\RoomShareProvider; -use OCA\Spreed\Signaling\Listener as SignalingListener; -use OCA\Spreed\TalkSession; +namespace OCA\Talk\AppInfo; + +use OCA\Talk\Activity\Listener as ActivityListener; +use OCA\Talk\Capabilities; +use OCA\Talk\Chat\Changelog\Listener as ChangelogListener; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\Command\Listener as CommandListener; +use OCA\Talk\Chat\Parser\Listener as ParserListener; +use OCA\Talk\Chat\SystemMessage\Listener as SystemMessageListener; +use OCA\Talk\Collaboration\Resources\ConversationProvider; +use OCA\Talk\Collaboration\Resources\Listener as ResourceListener; +use OCA\Talk\Config; +use OCA\Talk\Files\Listener as FilesListener; +use OCA\Talk\Files\TemplateLoader as FilesTemplateLoader; +use OCA\Talk\Listener; +use OCA\Talk\Manager; +use OCA\Talk\Middleware\CanUseTalkMiddleware; +use OCA\Talk\Middleware\InjectionMiddleware; +use OCA\Talk\Notification\Listener as NotificationListener; +use OCA\Talk\Notification\Notifier; +use OCA\Talk\PublicShareAuth\Listener as PublicShareAuthListener; +use OCA\Talk\PublicShareAuth\TemplateLoader as PublicShareAuthTemplateLoader; +use OCA\Talk\Room; +use OCA\Talk\Settings\Personal; +use OCA\Talk\Share\RoomShareProvider; +use OCA\Talk\Signaling\Listener as SignalingListener; +use OCA\Talk\TalkSession; use OCP\AppFramework\App; use OCP\AppFramework\Utility\IControllerMethodReflector; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/BackgroundJob/ExpireSignalingMessage.php b/lib/BackgroundJob/ExpireSignalingMessage.php index 198849a1c..f5661d690 100644 --- a/lib/BackgroundJob/ExpireSignalingMessage.php +++ b/lib/BackgroundJob/ExpireSignalingMessage.php @@ -20,15 +20,15 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\BackgroundJob; +namespace OCA\Talk\BackgroundJob; use OC\BackgroundJob\TimedJob; -use OCA\Spreed\Signaling\Messages; +use OCA\Talk\Signaling\Messages; /** * Class ExpireSignalingMessage * - * @package OCA\Spreed\BackgroundJob + * @package OCA\Talk\BackgroundJob */ class ExpireSignalingMessage extends TimedJob { diff --git a/lib/BackgroundJob/RemoveEmptyRooms.php b/lib/BackgroundJob/RemoveEmptyRooms.php index d63eb17c6..592a59a8e 100644 --- a/lib/BackgroundJob/RemoveEmptyRooms.php +++ b/lib/BackgroundJob/RemoveEmptyRooms.php @@ -20,17 +20,17 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\BackgroundJob; +namespace OCA\Talk\BackgroundJob; use OC\BackgroundJob\TimedJob; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\ILogger; /** * Class RemoveEmptyRooms * - * @package OCA\Spreed\BackgroundJob + * @package OCA\Talk\BackgroundJob */ class RemoveEmptyRooms extends TimedJob { diff --git a/lib/Capabilities.php b/lib/Capabilities.php index 3f3cb4818..dd1327d99 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -22,9 +22,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed; +namespace OCA\Talk; -use OCA\Spreed\Chat\ChatManager; +use OCA\Talk\Chat\ChatManager; use OCP\Capabilities\IPublicCapability; use OCP\IConfig; use OCP\IUser; diff --git a/lib/Chat/AutoComplete/SearchPlugin.php b/lib/Chat/AutoComplete/SearchPlugin.php index 8658dbd99..eae62560c 100644 --- a/lib/Chat/AutoComplete/SearchPlugin.php +++ b/lib/Chat/AutoComplete/SearchPlugin.php @@ -20,13 +20,13 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\AutoComplete; +namespace OCA\Talk\Chat\AutoComplete; -use OCA\Spreed\Files\Util; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; +use OCA\Talk\Files\Util; +use OCA\Talk\GuestManager; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; use OCP\Collaboration\Collaborators\ISearchPlugin; use OCP\Collaboration\Collaborators\ISearchResult; use OCP\Collaboration\Collaborators\SearchResultType; diff --git a/lib/Chat/AutoComplete/Sorter.php b/lib/Chat/AutoComplete/Sorter.php index 02eb88eff..2d35d5f49 100644 --- a/lib/Chat/AutoComplete/Sorter.php +++ b/lib/Chat/AutoComplete/Sorter.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\AutoComplete; +namespace OCA\Talk\Chat\AutoComplete; -use OCA\Spreed\Chat\CommentsManager; +use OCA\Talk\Chat\CommentsManager; use OCP\Collaboration\AutoComplete\ISorter; class Sorter implements ISorter { diff --git a/lib/Chat/Changelog/Listener.php b/lib/Chat/Changelog/Listener.php index 962ebcb1c..4e578206d 100644 --- a/lib/Chat/Changelog/Listener.php +++ b/lib/Chat/Changelog/Listener.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Changelog; +namespace OCA\Talk\Chat\Changelog; -use OCA\Spreed\Controller\RoomController; +use OCA\Talk\Controller\RoomController; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; diff --git a/lib/Chat/Changelog/Manager.php b/lib/Chat/Changelog/Manager.php index 63ee24a33..47c2e3015 100644 --- a/lib/Chat/Changelog/Manager.php +++ b/lib/Chat/Changelog/Manager.php @@ -20,11 +20,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Changelog; +namespace OCA\Talk\Chat\Changelog; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Manager as RoomManager; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Manager as RoomManager; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IConfig; use OCP\IL10N; diff --git a/lib/Chat/ChatManager.php b/lib/Chat/ChatManager.php index 9f830c904..cec0ef126 100644 --- a/lib/Chat/ChatManager.php +++ b/lib/Chat/ChatManager.php @@ -21,10 +21,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat; +namespace OCA\Talk\Chat; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; diff --git a/lib/Chat/Command/Executor.php b/lib/Chat/Command/Executor.php index a04b4c268..e07b29fe9 100644 --- a/lib/Chat/Command/Executor.php +++ b/lib/Chat/Command/Executor.php @@ -20,13 +20,13 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Command; +namespace OCA\Talk\Chat\Command; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Room; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Model\Command; +use OCA\Talk\Room; +use OCA\Talk\Service\CommandService; use OCP\AppFramework\Db\DoesNotExistException; use OCP\Comments\IComment; use OCP\IL10N; diff --git a/lib/Chat/Command/Listener.php b/lib/Chat/Command/Listener.php index 6afd0628c..39501abd7 100644 --- a/lib/Chat/Command/Listener.php +++ b/lib/Chat/Command/Listener.php @@ -20,16 +20,16 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Command; +namespace OCA\Talk\Chat\Command; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Chat\Parser\Command as CommandParser; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Chat\Parser\Command as CommandParser; +use OCA\Talk\Model\Command; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Service\CommandService; use OCP\AppFramework\Db\DoesNotExistException; use OCP\Comments\IComment; use OCP\IUser; diff --git a/lib/Chat/Command/ShellExecutor.php b/lib/Chat/Command/ShellExecutor.php index 358ddcc72..6c99aa89a 100644 --- a/lib/Chat/Command/ShellExecutor.php +++ b/lib/Chat/Command/ShellExecutor.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Command; +namespace OCA\Talk\Chat\Command; class ShellExecutor { diff --git a/lib/Chat/CommentsManager.php b/lib/Chat/CommentsManager.php index 7ccfdc785..ee6df07f2 100644 --- a/lib/Chat/CommentsManager.php +++ b/lib/Chat/CommentsManager.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat; +namespace OCA\Talk\Chat; use OC\Comments\Comment; diff --git a/lib/Chat/MessageParser.php b/lib/Chat/MessageParser.php index 8d73a5471..8afcb2b3e 100644 --- a/lib/Chat/MessageParser.php +++ b/lib/Chat/MessageParser.php @@ -21,13 +21,13 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat; +namespace OCA\Talk\Chat; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\IComment; use OCP\IL10N; use OCP\IUser; diff --git a/lib/Chat/Notifier.php b/lib/Chat/Notifier.php index 8b744bee0..415d5400e 100644 --- a/lib/Chat/Notifier.php +++ b/lib/Chat/Notifier.php @@ -21,14 +21,14 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat; - -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Files\Util; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +namespace OCA\Talk\Chat; + +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Files\Util; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\IComment; use OCP\Notification\IManager as INotificationManager; use OCP\Notification\INotification; @@ -38,7 +38,7 @@ use OCP\IUserManager; * Helper class for notifications related to user mentions in chat messages. * * This class uses the NotificationManager to create and remove the - * notifications as needed; OCA\Spreed\Notification\Notifier is the one that + * notifications as needed; OCA\Talk\Notification\Notifier is the one that * prepares the notifications for display. */ class Notifier { diff --git a/lib/Chat/Parser/Changelog.php b/lib/Chat/Parser/Changelog.php index ed00cf5fa..12e515adc 100644 --- a/lib/Chat/Parser/Changelog.php +++ b/lib/Chat/Parser/Changelog.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Parser; +namespace OCA\Talk\Chat\Parser; -use OCA\Spreed\Model\Message; +use OCA\Talk\Model\Message; class Changelog { diff --git a/lib/Chat/Parser/Command.php b/lib/Chat/Parser/Command.php index 1b3951c75..f680469aa 100644 --- a/lib/Chat/Parser/Command.php +++ b/lib/Chat/Parser/Command.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Parser; +namespace OCA\Talk\Chat\Parser; -use OCA\Spreed\Model\Message; +use OCA\Talk\Model\Message; class Command { /** @@ -36,13 +36,13 @@ class Command { throw new \OutOfBoundsException('Invalid message'); } - if ($data['visibility'] === \OCA\Spreed\Model\Command::RESPONSE_NONE) { + if ($data['visibility'] === \OCA\Talk\Model\Command::RESPONSE_NONE) { $message->setVisibility(false); return; } $participant = $message->getParticipant(); - if ($data['visibility'] !== \OCA\Spreed\Model\Command::RESPONSE_ALL && + if ($data['visibility'] !== \OCA\Talk\Model\Command::RESPONSE_ALL && $data['user'] !== $participant->getUser()) { $message->setVisibility(false); return; diff --git a/lib/Chat/Parser/Listener.php b/lib/Chat/Parser/Listener.php index 61928a392..88b608750 100644 --- a/lib/Chat/Parser/Listener.php +++ b/lib/Chat/Parser/Listener.php @@ -20,11 +20,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Parser; +namespace OCA\Talk\Chat\Parser; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Chat\Parser\Command as CommandParser; -use OCA\Spreed\Model\Message; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Chat\Parser\Command as CommandParser; +use OCA\Talk\Model\Message; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php index 21536b107..59326bbb7 100644 --- a/lib/Chat/Parser/SystemMessage.php +++ b/lib/Chat/Parser/SystemMessage.php @@ -20,16 +20,16 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Parser; +namespace OCA\Talk\Chat\Parser; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\Share\RoomShareProvider; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\Share\RoomShareProvider; use OCP\Comments\IComment; use OCP\Files\IRootFolder; use OCP\Files\Node; diff --git a/lib/Chat/Parser/UserMention.php b/lib/Chat/Parser/UserMention.php index 25216030f..a4a1d5901 100644 --- a/lib/Chat/Parser/UserMention.php +++ b/lib/Chat/Parser/UserMention.php @@ -21,12 +21,12 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\Parser; +namespace OCA\Talk\Chat\Parser; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Room; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Model\Message; +use OCA\Talk\Room; use OCP\Comments\ICommentsManager; use OCP\IL10N; use OCP\IUser; diff --git a/lib/Chat/SystemMessage/Listener.php b/lib/Chat/SystemMessage/Listener.php index c18cb016f..2ef7eb197 100644 --- a/lib/Chat/SystemMessage/Listener.php +++ b/lib/Chat/SystemMessage/Listener.php @@ -20,19 +20,19 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Chat\SystemMessage; - - -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Chat\Parser\SystemMessage; -use OCA\Spreed\Manager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\Share\RoomShareProvider; -use OCA\Spreed\TalkSession; -use OCA\Spreed\Webinary; +namespace OCA\Talk\Chat\SystemMessage; + + +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Chat\Parser\SystemMessage; +use OCA\Talk\Manager; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\Share\RoomShareProvider; +use OCA\Talk\TalkSession; +use OCA\Talk\Webinary; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Comments\IComment; use OCP\IUser; diff --git a/lib/Collaboration/Collaborators/RoomPlugin.php b/lib/Collaboration/Collaborators/RoomPlugin.php index b1ead73d7..716477fe8 100644 --- a/lib/Collaboration/Collaborators/RoomPlugin.php +++ b/lib/Collaboration/Collaborators/RoomPlugin.php @@ -21,10 +21,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Collaboration\Collaborators; +namespace OCA\Talk\Collaboration\Collaborators; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\Collaboration\Collaborators\ISearchPlugin; use OCP\Collaboration\Collaborators\ISearchResult; use OCP\Collaboration\Collaborators\SearchResultType; diff --git a/lib/Collaboration/Resources/ConversationProvider.php b/lib/Collaboration/Resources/ConversationProvider.php index 6621a13b6..758e139b9 100644 --- a/lib/Collaboration/Resources/ConversationProvider.php +++ b/lib/Collaboration/Resources/ConversationProvider.php @@ -20,13 +20,13 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Collaboration\Resources; +namespace OCA\Talk\Collaboration\Resources; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Collaboration\Resources\IProvider; use OCP\Collaboration\Resources\IResource; use OCP\Collaboration\Resources\ResourceException; diff --git a/lib/Collaboration/Resources/Listener.php b/lib/Collaboration/Resources/Listener.php index da49a3318..c35bd8849 100644 --- a/lib/Collaboration/Resources/Listener.php +++ b/lib/Collaboration/Resources/Listener.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Collaboration\Resources; +namespace OCA\Talk\Collaboration\Resources; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Collaboration\Resources\IManager; use OCP\Collaboration\Resources\ResourceException; use OCP\IUser; diff --git a/lib/Command/Command/Add.php b/lib/Command/Command/Add.php index b251b4151..beb17fa6b 100644 --- a/lib/Command/Command/Add.php +++ b/lib/Command/Command/Add.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Command; +namespace OCA\Talk\Command\Command; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Service\CommandService; use OC\Core\Command\Base; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; diff --git a/lib/Command/Command/AddSamples.php b/lib/Command/Command/AddSamples.php index 9b30b6ce4..dde16db57 100644 --- a/lib/Command/Command/AddSamples.php +++ b/lib/Command/Command/AddSamples.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Command; +namespace OCA\Talk\Command\Command; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Model\Command; +use OCA\Talk\Service\CommandService; use OC\Core\Command\Base; use OCP\App\AppPathNotFoundException; use OCP\App\IAppManager; diff --git a/lib/Command/Command/Delete.php b/lib/Command/Command/Delete.php index 3bcfd741e..ecf549d65 100644 --- a/lib/Command/Command/Delete.php +++ b/lib/Command/Command/Delete.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Command; +namespace OCA\Talk\Command\Command; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Service\CommandService; use OC\Core\Command\Base; use OCP\AppFramework\Db\DoesNotExistException; use Symfony\Component\Console\Input\InputArgument; diff --git a/lib/Command/Command/ListCommand.php b/lib/Command/Command/ListCommand.php index 785cdc575..af45de3ac 100644 --- a/lib/Command/Command/ListCommand.php +++ b/lib/Command/Command/ListCommand.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Command; +namespace OCA\Talk\Command\Command; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Service\CommandService; use OC\Core\Command\Base; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; diff --git a/lib/Command/Command/TRenderCommand.php b/lib/Command/Command/TRenderCommand.php index b4f37efbb..b70c34ec3 100644 --- a/lib/Command/Command/TRenderCommand.php +++ b/lib/Command/Command/TRenderCommand.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Command; +namespace OCA\Talk\Command\Command; -use OCA\Spreed\Model\Command; +use OCA\Talk\Model\Command; use OC\Core\Command\Base; use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Input\InputInterface; diff --git a/lib/Command/Command/Update.php b/lib/Command/Command/Update.php index c1f06f1c3..f0f807319 100644 --- a/lib/Command/Command/Update.php +++ b/lib/Command/Command/Update.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Command; +namespace OCA\Talk\Command\Command; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Service\CommandService; use OC\Core\Command\Base; use OCP\AppFramework\Db\DoesNotExistException; use Symfony\Component\Console\Input\InputArgument; diff --git a/lib/Command/Signaling/Add.php b/lib/Command/Signaling/Add.php index a527d35a5..2b421d030 100644 --- a/lib/Command/Signaling/Add.php +++ b/lib/Command/Signaling/Add.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Signaling; +namespace OCA\Talk\Command\Signaling; use OCP\IConfig; use OC\Core\Command\Base; diff --git a/lib/Command/Signaling/Delete.php b/lib/Command/Signaling/Delete.php index d66f0abb7..4404c5df9 100644 --- a/lib/Command/Signaling/Delete.php +++ b/lib/Command/Signaling/Delete.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Signaling; +namespace OCA\Talk\Command\Signaling; use OCP\IConfig; use OC\Core\Command\Base; diff --git a/lib/Command/Signaling/ListCommand.php b/lib/Command/Signaling/ListCommand.php index 384aadb3a..4ea7bd599 100644 --- a/lib/Command/Signaling/ListCommand.php +++ b/lib/Command/Signaling/ListCommand.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Signaling; +namespace OCA\Talk\Command\Signaling; use OCP\IConfig; use OC\Core\Command\Base; diff --git a/lib/Command/Stun/Add.php b/lib/Command/Stun/Add.php index 780cc6b8f..c12439fff 100644 --- a/lib/Command/Stun/Add.php +++ b/lib/Command/Stun/Add.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Stun; +namespace OCA\Talk\Command\Stun; use OCP\IConfig; use OC\Core\Command\Base; diff --git a/lib/Command/Stun/Delete.php b/lib/Command/Stun/Delete.php index db1a4151b..46f7aaf0a 100644 --- a/lib/Command/Stun/Delete.php +++ b/lib/Command/Stun/Delete.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Stun; +namespace OCA\Talk\Command\Stun; use OCP\IConfig; use OC\Core\Command\Base; diff --git a/lib/Command/Stun/ListCommand.php b/lib/Command/Stun/ListCommand.php index 1b6e7a907..ecd4e5b81 100644 --- a/lib/Command/Stun/ListCommand.php +++ b/lib/Command/Stun/ListCommand.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Stun; +namespace OCA\Talk\Command\Stun; use OCP\IConfig; use OC\Core\Command\Base; diff --git a/lib/Command/Turn/Add.php b/lib/Command/Turn/Add.php index 1d1e1ff25..fb993f900 100644 --- a/lib/Command/Turn/Add.php +++ b/lib/Command/Turn/Add.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Turn; +namespace OCA\Talk\Command\Turn; use OCP\IConfig; use OC\Core\Command\Base; diff --git a/lib/Command/Turn/Delete.php b/lib/Command/Turn/Delete.php index 4201d446d..cb6d5bec4 100644 --- a/lib/Command/Turn/Delete.php +++ b/lib/Command/Turn/Delete.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Turn; +namespace OCA\Talk\Command\Turn; use OCP\IConfig; use OC\Core\Command\Base; diff --git a/lib/Command/Turn/ListCommand.php b/lib/Command/Turn/ListCommand.php index 4df13ed00..fd26595d5 100644 --- a/lib/Command/Turn/ListCommand.php +++ b/lib/Command/Turn/ListCommand.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Command\Turn; +namespace OCA\Talk\Command\Turn; use OCP\IConfig; use OC\Core\Command\Base; diff --git a/lib/Config.php b/lib/Config.php index d8f2885b5..24db5b042 100644 --- a/lib/Config.php +++ b/lib/Config.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed; +namespace OCA\Talk; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IConfig; diff --git a/lib/ContactsMenu/Providers/CallProvider.php b/lib/ContactsMenu/Providers/CallProvider.php index 83f282105..7e46f6c33 100644 --- a/lib/ContactsMenu/Providers/CallProvider.php +++ b/lib/ContactsMenu/Providers/CallProvider.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\ContactsMenu\Providers; +namespace OCA\Talk\ContactsMenu\Providers; use OCP\Contacts\ContactsMenu\IActionFactory; use OCP\Contacts\ContactsMenu\IEntry; diff --git a/lib/Controller/AEnvironmentAwareController.php b/lib/Controller/AEnvironmentAwareController.php index 6a2cda446..1a12f8a4e 100644 --- a/lib/Controller/AEnvironmentAwareController.php +++ b/lib/Controller/AEnvironmentAwareController.php @@ -24,10 +24,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; +namespace OCA\Talk\Controller; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\AppFramework\OCSController; abstract class AEnvironmentAwareController extends OCSController { diff --git a/lib/Controller/CallController.php b/lib/Controller/CallController.php index 1c4ee3e13..2d9a1ec32 100644 --- a/lib/Controller/CallController.php +++ b/lib/Controller/CallController.php @@ -24,9 +24,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; +namespace OCA\Talk\Controller; -use OCA\Spreed\Participant; +use OCA\Talk\Participant; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/Controller/ChatController.php b/lib/Controller/ChatController.php index 5ddde8396..a7a659546 100644 --- a/lib/Controller/ChatController.php +++ b/lib/Controller/ChatController.php @@ -21,16 +21,16 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; - -use OCA\Spreed\Chat\AutoComplete\SearchPlugin; -use OCA\Spreed\Chat\AutoComplete\Sorter; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; +namespace OCA\Talk\Controller; + +use OCA\Talk\Chat\AutoComplete\SearchPlugin; +use OCA\Talk\Chat\AutoComplete\Sorter; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\GuestManager; +use OCA\Talk\Model\Message; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/Controller/CommandController.php b/lib/Controller/CommandController.php index cc1e0e193..68809359b 100644 --- a/lib/Controller/CommandController.php +++ b/lib/Controller/CommandController.php @@ -21,10 +21,10 @@ * */ -namespace OCA\Spreed\Controller; +namespace OCA\Talk\Controller; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Model\Command; +use OCA\Talk\Service\CommandService; use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; diff --git a/lib/Controller/FilesController.php b/lib/Controller/FilesController.php index be16d07dc..48cf3f316 100644 --- a/lib/Controller/FilesController.php +++ b/lib/Controller/FilesController.php @@ -21,12 +21,12 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; +namespace OCA\Talk\Controller; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Files\Util; -use OCA\Spreed\Manager; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Files\Util; +use OCA\Talk\Manager; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\OCS\OCSNotFoundException; use OCP\AppFramework\OCSController; diff --git a/lib/Controller/GuestController.php b/lib/Controller/GuestController.php index cc3b83a66..53f033e61 100644 --- a/lib/Controller/GuestController.php +++ b/lib/Controller/GuestController.php @@ -21,13 +21,13 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; +namespace OCA\Talk\Controller; use Doctrine\DBAL\DBALException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Manager; -use OCA\Spreed\TalkSession; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Manager; +use OCA\Talk\TalkSession; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\OCSController; diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 8f65a6932..7689b49fb 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -22,16 +22,16 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; +namespace OCA\Talk\Controller; use OC\HintException; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Config; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Config; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; use OCP\AppFramework\Http\ContentSecurityPolicy; diff --git a/lib/Controller/PublicShareAuthController.php b/lib/Controller/PublicShareAuthController.php index 07f0e614d..62edaf010 100644 --- a/lib/Controller/PublicShareAuthController.php +++ b/lib/Controller/PublicShareAuthController.php @@ -21,10 +21,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; +namespace OCA\Talk\Controller; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; +use OCA\Talk\Manager; +use OCA\Talk\Participant; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\OCSController; diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 45f85b50f..7a1af4a4e 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -24,20 +24,20 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; - -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Exceptions\InvalidPasswordException; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Exceptions\UnauthorizedException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; -use OCA\Spreed\Webinary; +namespace OCA\Talk\Controller; + +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Exceptions\InvalidPasswordException; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Exceptions\UnauthorizedException; +use OCA\Talk\GuestManager; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; +use OCA\Talk\Webinary; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/lib/Controller/SignalingController.php b/lib/Controller/SignalingController.php index 60b3f4437..f7b7f26e1 100644 --- a/lib/Controller/SignalingController.php +++ b/lib/Controller/SignalingController.php @@ -22,16 +22,16 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; - -use OCA\Spreed\Config; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\Signaling\Messages; -use OCA\Spreed\TalkSession; +namespace OCA\Talk\Controller; + +use OCA\Talk\Config; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\Signaling\Messages; +use OCA\Talk\TalkSession; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\OCSController; @@ -250,9 +250,9 @@ class SignalingController extends OCSController { /** * Check if the current request is coming from an allowed backend. * - * The backends are sending the custom header "Spreed-Signaling-Random" + * The backends are sending the custom header "Talk-Signaling-Random" * containing at least 32 bytes random data, and the header - * "Spreed-Signaling-Checksum", which is the SHA256-HMAC of the random data + * "Talk-Signaling-Checksum", which is the SHA256-HMAC of the random data * and the body of the request, calculated with the shared secret from the * configuration. * diff --git a/lib/Controller/WebinaryController.php b/lib/Controller/WebinaryController.php index 176e30529..f09ddb027 100644 --- a/lib/Controller/WebinaryController.php +++ b/lib/Controller/WebinaryController.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Controller; +namespace OCA\Talk\Controller; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; diff --git a/lib/Exceptions/InvalidPasswordException.php b/lib/Exceptions/InvalidPasswordException.php index 594e45a00..8ef68d89f 100644 --- a/lib/Exceptions/InvalidPasswordException.php +++ b/lib/Exceptions/InvalidPasswordException.php @@ -21,7 +21,7 @@ declare(strict_types=1); */ -namespace OCA\Spreed\Exceptions; +namespace OCA\Talk\Exceptions; class InvalidPasswordException extends \Exception { diff --git a/lib/Exceptions/ParticipantNotFoundException.php b/lib/Exceptions/ParticipantNotFoundException.php index 536f18481..52a5eb3c1 100644 --- a/lib/Exceptions/ParticipantNotFoundException.php +++ b/lib/Exceptions/ParticipantNotFoundException.php @@ -21,7 +21,7 @@ declare(strict_types=1); */ -namespace OCA\Spreed\Exceptions; +namespace OCA\Talk\Exceptions; class ParticipantNotFoundException extends \OutOfBoundsException { diff --git a/lib/Exceptions/RoomNotFoundException.php b/lib/Exceptions/RoomNotFoundException.php index 299c928fb..fd584a186 100644 --- a/lib/Exceptions/RoomNotFoundException.php +++ b/lib/Exceptions/RoomNotFoundException.php @@ -21,7 +21,7 @@ declare(strict_types=1); */ -namespace OCA\Spreed\Exceptions; +namespace OCA\Talk\Exceptions; class RoomNotFoundException extends \OutOfBoundsException { diff --git a/lib/Exceptions/UnauthorizedException.php b/lib/Exceptions/UnauthorizedException.php index cc0b9a19f..e1123592d 100644 --- a/lib/Exceptions/UnauthorizedException.php +++ b/lib/Exceptions/UnauthorizedException.php @@ -21,7 +21,7 @@ declare(strict_types=1); */ -namespace OCA\Spreed\Exceptions; +namespace OCA\Talk\Exceptions; class UnauthorizedException extends \Exception { diff --git a/lib/Files/Listener.php b/lib/Files/Listener.php index caad44a87..332bed37f 100644 --- a/lib/Files/Listener.php +++ b/lib/Files/Listener.php @@ -21,11 +21,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Files; +namespace OCA\Talk\Files; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\UnauthorizedException; -use OCA\Spreed\Room; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\UnauthorizedException; +use OCA\Talk\Room; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; diff --git a/lib/Files/TemplateLoader.php b/lib/Files/TemplateLoader.php index 65025e336..a8f41d037 100644 --- a/lib/Files/TemplateLoader.php +++ b/lib/Files/TemplateLoader.php @@ -21,7 +21,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Files; +namespace OCA\Talk\Files; use OCP\Util; use Symfony\Component\EventDispatcher\EventDispatcherInterface; diff --git a/lib/Files/Util.php b/lib/Files/Util.php index 331f6d946..5658a1e7b 100644 --- a/lib/Files/Util.php +++ b/lib/Files/Util.php @@ -21,7 +21,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Files; +namespace OCA\Talk\Files; use OCA\GroupFolders\Mount\GroupFolderStorage; use OCP\Files\FileInfo; diff --git a/lib/GuestManager.php b/lib/GuestManager.php index f1f98e0b1..d01e8dd1a 100644 --- a/lib/GuestManager.php +++ b/lib/GuestManager.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed; +namespace OCA\Talk; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\ParticipantNotFoundException; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\Defaults; use OCP\IDBConnection; diff --git a/lib/Listener.php b/lib/Listener.php index 4a5149b02..9189155d2 100644 --- a/lib/Listener.php +++ b/lib/Listener.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed; +namespace OCA\Talk; use OCP\Collaboration\AutoComplete\AutoCompleteEvent; use OCP\Collaboration\AutoComplete\IManager; diff --git a/lib/Listener/CSPListener.php b/lib/Listener/CSPListener.php index 7ad2e060b..a3ce99946 100644 --- a/lib/Listener/CSPListener.php +++ b/lib/Listener/CSPListener.php @@ -22,9 +22,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Listener; +namespace OCA\Talk\Listener; -use OCA\Spreed\Config; +use OCA\Talk\Config; use OCP\AppFramework\Http\ContentSecurityPolicy; use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; diff --git a/lib/Listener/FeaturePolicyListener.php b/lib/Listener/FeaturePolicyListener.php index 50e7c4f45..f80d6f1be 100644 --- a/lib/Listener/FeaturePolicyListener.php +++ b/lib/Listener/FeaturePolicyListener.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Listener; +namespace OCA\Talk\Listener; use OCP\AppFramework\Http\FeaturePolicy; use OCP\EventDispatcher\Event; diff --git a/lib/Manager.php b/lib/Manager.php index 44b3e5061..5437922e3 100644 --- a/lib/Manager.php +++ b/lib/Manager.php @@ -20,13 +20,13 @@ declare(strict_types=1); * */ -namespace OCA\Spreed; +namespace OCA\Talk; -use OCA\Spreed\Chat\Changelog; -use OCA\Spreed\Chat\CommentsManager; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; +use OCA\Talk\Chat\Changelog; +use OCA\Talk\Chat\CommentsManager; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; use OCP\AppFramework\Utility\ITimeFactory; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IConfig; diff --git a/lib/Middleware/CanUseTalkMiddleware.php b/lib/Middleware/CanUseTalkMiddleware.php index 2131980b0..f70b77c92 100644 --- a/lib/Middleware/CanUseTalkMiddleware.php +++ b/lib/Middleware/CanUseTalkMiddleware.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Middleware; +namespace OCA\Talk\Middleware; -use OCA\Spreed\Middleware\Exceptions\CanNotUseTalkException; +use OCA\Talk\Middleware\Exceptions\CanNotUseTalkException; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; use OCP\AppFramework\Http\Response; diff --git a/lib/Middleware/Exceptions/CanNotUseTalkException.php b/lib/Middleware/Exceptions/CanNotUseTalkException.php index a24b5ec4f..9d9266c98 100644 --- a/lib/Middleware/Exceptions/CanNotUseTalkException.php +++ b/lib/Middleware/Exceptions/CanNotUseTalkException.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Middleware\Exceptions; +namespace OCA\Talk\Middleware\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/Middleware/Exceptions/LobbyException.php b/lib/Middleware/Exceptions/LobbyException.php index 12ed483ce..990efbe93 100644 --- a/lib/Middleware/Exceptions/LobbyException.php +++ b/lib/Middleware/Exceptions/LobbyException.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Middleware\Exceptions; +namespace OCA\Talk\Middleware\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/Middleware/Exceptions/NotAModeratorException.php b/lib/Middleware/Exceptions/NotAModeratorException.php index 1e7b8fd44..8abda311d 100644 --- a/lib/Middleware/Exceptions/NotAModeratorException.php +++ b/lib/Middleware/Exceptions/NotAModeratorException.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Middleware\Exceptions; +namespace OCA\Talk\Middleware\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/Middleware/Exceptions/ReadOnlyException.php b/lib/Middleware/Exceptions/ReadOnlyException.php index 83ea3df9f..ac4f082bb 100644 --- a/lib/Middleware/Exceptions/ReadOnlyException.php +++ b/lib/Middleware/Exceptions/ReadOnlyException.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Middleware\Exceptions; +namespace OCA\Talk\Middleware\Exceptions; use OCP\AppFramework\Http; diff --git a/lib/Middleware/InjectionMiddleware.php b/lib/Middleware/InjectionMiddleware.php index 86be24691..0ede2fa4d 100644 --- a/lib/Middleware/InjectionMiddleware.php +++ b/lib/Middleware/InjectionMiddleware.php @@ -20,20 +20,20 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Middleware; +namespace OCA\Talk\Middleware; use OC\AppFramework\Utility\ControllerMethodReflector; -use OCA\Spreed\Controller\AEnvironmentAwareController; -use OCA\Spreed\Controller\EnvironmentAwareTrait; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Middleware\Exceptions\LobbyException; -use OCA\Spreed\Middleware\Exceptions\NotAModeratorException; -use OCA\Spreed\Middleware\Exceptions\ReadOnlyException; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; -use OCA\Spreed\Webinary; +use OCA\Talk\Controller\AEnvironmentAwareController; +use OCA\Talk\Controller\EnvironmentAwareTrait; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Middleware\Exceptions\LobbyException; +use OCA\Talk\Middleware\Exceptions\NotAModeratorException; +use OCA\Talk\Middleware\Exceptions\ReadOnlyException; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; +use OCA\Talk\Webinary; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; use OCP\AppFramework\Http\Response; diff --git a/lib/Migration/ClearResourceAccessCache.php b/lib/Migration/ClearResourceAccessCache.php index 9a2d45ad9..792c5a53c 100644 --- a/lib/Migration/ClearResourceAccessCache.php +++ b/lib/Migration/ClearResourceAccessCache.php @@ -22,9 +22,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; -use OCA\Spreed\Collaboration\Resources\ConversationProvider; +use OCA\Talk\Collaboration\Resources\ConversationProvider; use OCP\Collaboration\Resources\IManager; use OCP\IConfig; use OCP\Migration\IOutput; diff --git a/lib/Migration/CreateHelpCommand.php b/lib/Migration/CreateHelpCommand.php index 8ea732ce7..8f20ce606 100644 --- a/lib/Migration/CreateHelpCommand.php +++ b/lib/Migration/CreateHelpCommand.php @@ -21,10 +21,10 @@ * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Model\Command; +use OCA\Talk\Service\CommandService; use OCP\AppFramework\Db\DoesNotExistException; use OCP\Migration\IOutput; use OCP\Migration\IRepairStep; diff --git a/lib/Migration/Version2000Date20170707093535.php b/lib/Migration/Version2000Date20170707093535.php index 072b944ac..b235c5e23 100644 --- a/lib/Migration/Version2000Date20170707093535.php +++ b/lib/Migration/Version2000Date20170707093535.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version2000Date20171026140256.php b/lib/Migration/Version2000Date20171026140256.php index f2d881a7c..3bb642da3 100644 --- a/lib/Migration/Version2000Date20171026140256.php +++ b/lib/Migration/Version2000Date20171026140256.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IConfig; diff --git a/lib/Migration/Version2000Date20171026140257.php b/lib/Migration/Version2000Date20171026140257.php index 425462de7..fb22b242f 100644 --- a/lib/Migration/Version2000Date20171026140257.php +++ b/lib/Migration/Version2000Date20171026140257.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IConfig; diff --git a/lib/Migration/Version2001Date20170707115443.php b/lib/Migration/Version2001Date20170707115443.php index 781cc77ba..c0875a32a 100644 --- a/lib/Migration/Version2001Date20170707115443.php +++ b/lib/Migration/Version2001Date20170707115443.php @@ -21,12 +21,12 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Platforms\PostgreSqlPlatform; use Doctrine\DBAL\Types\Type; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\DB\ISchemaWrapper; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IConfig; diff --git a/lib/Migration/Version2001Date20170913104501.php b/lib/Migration/Version2001Date20170913104501.php index 1f6725b02..226bcd163 100644 --- a/lib/Migration/Version2001Date20170913104501.php +++ b/lib/Migration/Version2001Date20170913104501.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version2001Date20170921145301.php b/lib/Migration/Version2001Date20170921145301.php index 6fe92e6fd..718be15cb 100644 --- a/lib/Migration/Version2001Date20170921145301.php +++ b/lib/Migration/Version2001Date20170921145301.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version2001Date20170929092606.php b/lib/Migration/Version2001Date20170929092606.php index 1dfb6e39b..048743909 100644 --- a/lib/Migration/Version2001Date20170929092606.php +++ b/lib/Migration/Version2001Date20170929092606.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use OCP\IConfig; use OCP\Migration\SimpleMigrationStep; diff --git a/lib/Migration/Version2001Date20171009132424.php b/lib/Migration/Version2001Date20171009132424.php index 523874a0d..a4b5b4ade 100644 --- a/lib/Migration/Version2001Date20171009132424.php +++ b/lib/Migration/Version2001Date20171009132424.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version2001Date20171026134605.php b/lib/Migration/Version2001Date20171026134605.php index b587c992f..e4a7cfda0 100644 --- a/lib/Migration/Version2001Date20171026134605.php +++ b/lib/Migration/Version2001Date20171026134605.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Exception\InvalidFieldNameException; use Doctrine\DBAL\Exception\TableNotFoundException; diff --git a/lib/Migration/Version2001Date20171026141336.php b/lib/Migration/Version2001Date20171026141336.php index b07671f9b..edb9f2b3c 100644 --- a/lib/Migration/Version2001Date20171026141336.php +++ b/lib/Migration/Version2001Date20171026141336.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use OCP\DB\ISchemaWrapper; use OCP\Migration\SimpleMigrationStep; diff --git a/lib/Migration/Version2001Date20171031102049.php b/lib/Migration/Version2001Date20171031102049.php index 95ed84987..1d06d1c2b 100644 --- a/lib/Migration/Version2001Date20171031102049.php +++ b/lib/Migration/Version2001Date20171031102049.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version2001Date20180103144447.php b/lib/Migration/Version2001Date20180103144447.php index d7527fe79..77ad48d39 100644 --- a/lib/Migration/Version2001Date20180103144447.php +++ b/lib/Migration/Version2001Date20180103144447.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Platforms\PostgreSqlPlatform; use Doctrine\DBAL\Types\Type; diff --git a/lib/Migration/Version2001Date20180103150836.php b/lib/Migration/Version2001Date20180103150836.php index 7062d73ba..b579af9b1 100644 --- a/lib/Migration/Version2001Date20180103150836.php +++ b/lib/Migration/Version2001Date20180103150836.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use OCP\DB\ISchemaWrapper; use OCP\Migration\SimpleMigrationStep; diff --git a/lib/Migration/Version3002Date20180319104030.php b/lib/Migration/Version3002Date20180319104030.php index 1523fe7db..ab446d193 100644 --- a/lib/Migration/Version3002Date20180319104030.php +++ b/lib/Migration/Version3002Date20180319104030.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version3003Date20180707222130.php b/lib/Migration/Version3003Date20180707222130.php index 0a35b8015..c850720a9 100644 --- a/lib/Migration/Version3003Date20180707222130.php +++ b/lib/Migration/Version3003Date20180707222130.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version3003Date20180718112436.php b/lib/Migration/Version3003Date20180718112436.php index 11c64ecc4..c4694fab7 100644 --- a/lib/Migration/Version3003Date20180718112436.php +++ b/lib/Migration/Version3003Date20180718112436.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version3003Date20180718133519.php b/lib/Migration/Version3003Date20180718133519.php index 6d3599973..6ce1c2e38 100644 --- a/lib/Migration/Version3003Date20180718133519.php +++ b/lib/Migration/Version3003Date20180718133519.php @@ -19,7 +19,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version3003Date20180720162342.php b/lib/Migration/Version3003Date20180720162342.php index 2d0378410..a1b893c73 100644 --- a/lib/Migration/Version3003Date20180720162342.php +++ b/lib/Migration/Version3003Date20180720162342.php @@ -21,7 +21,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version3003Date20180722152733.php b/lib/Migration/Version3003Date20180722152733.php index be071bd43..dafd3c592 100644 --- a/lib/Migration/Version3003Date20180722152733.php +++ b/lib/Migration/Version3003Date20180722152733.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version3003Date20180722152849.php b/lib/Migration/Version3003Date20180722152849.php index dfadd72d9..faf8acfbc 100644 --- a/lib/Migration/Version3003Date20180722152849.php +++ b/lib/Migration/Version3003Date20180722152849.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version3003Date20180730080327.php b/lib/Migration/Version3003Date20180730080327.php index c49b7c404..ab1c73afa 100644 --- a/lib/Migration/Version3003Date20180730080327.php +++ b/lib/Migration/Version3003Date20180730080327.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; diff --git a/lib/Migration/Version4099Date20181001123058.php b/lib/Migration/Version4099Date20181001123058.php index bfb3f3db5..90108afd7 100644 --- a/lib/Migration/Version4099Date20181001123058.php +++ b/lib/Migration/Version4099Date20181001123058.php @@ -19,11 +19,11 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Closure; use Doctrine\DBAL\Types\Type; -use OCA\Spreed\Participant; +use OCA\Talk\Participant; use OCP\DB\ISchemaWrapper; use OCP\Migration\SimpleMigrationStep; use OCP\Migration\IOutput; diff --git a/lib/Migration/Version5099Date20190121102337.php b/lib/Migration/Version5099Date20190121102337.php index edae86006..dcf88c82e 100644 --- a/lib/Migration/Version5099Date20190121102337.php +++ b/lib/Migration/Version5099Date20190121102337.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Closure; use Doctrine\DBAL\Types\Type; diff --git a/lib/Migration/Version5099Date20190319134820.php b/lib/Migration/Version5099Date20190319134820.php index 94428dcf5..cd7819ec9 100644 --- a/lib/Migration/Version5099Date20190319134820.php +++ b/lib/Migration/Version5099Date20190319134820.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Closure; use Doctrine\DBAL\Types\Type; diff --git a/lib/Migration/Version6099Date20190627172429.php b/lib/Migration/Version6099Date20190627172429.php index 6e8328d43..f505c69ff 100644 --- a/lib/Migration/Version6099Date20190627172429.php +++ b/lib/Migration/Version6099Date20190627172429.php @@ -21,7 +21,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Closure; use Doctrine\DBAL\Types\Type; diff --git a/lib/Migration/Version7000Date20190717141457.php b/lib/Migration/Version7000Date20190717141457.php index 26be39bb0..9645bdbdf 100644 --- a/lib/Migration/Version7000Date20190717141457.php +++ b/lib/Migration/Version7000Date20190717141457.php @@ -19,7 +19,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Closure; use Doctrine\DBAL\Types\Type; diff --git a/lib/Migration/Version7000Date20190724121136.php b/lib/Migration/Version7000Date20190724121136.php index 22163d96d..74a268fa6 100644 --- a/lib/Migration/Version7000Date20190724121136.php +++ b/lib/Migration/Version7000Date20190724121136.php @@ -21,7 +21,7 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Schema\SchemaException; use Doctrine\DBAL\Types\Type; diff --git a/lib/Migration/Version7000Date20190724121137.php b/lib/Migration/Version7000Date20190724121137.php index 304cfea35..f0dde5173 100644 --- a/lib/Migration/Version7000Date20190724121137.php +++ b/lib/Migration/Version7000Date20190724121137.php @@ -20,7 +20,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Migration; +namespace OCA\Talk\Migration; use Doctrine\DBAL\Schema\SchemaException; use OCP\DB\ISchemaWrapper; diff --git a/lib/Model/Command.php b/lib/Model/Command.php index c6a949b11..8734ea812 100644 --- a/lib/Model/Command.php +++ b/lib/Model/Command.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Model; +namespace OCA\Talk\Model; use OCP\AppFramework\Db\Entity; diff --git a/lib/Model/CommandMapper.php b/lib/Model/CommandMapper.php index e3b842417..b10755259 100644 --- a/lib/Model/CommandMapper.php +++ b/lib/Model/CommandMapper.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Model; +namespace OCA\Talk\Model; use OCP\AppFramework\Db\QBMapper; use OCP\IDBConnection; diff --git a/lib/Model/Message.php b/lib/Model/Message.php index a7e1f3ea5..6643df106 100644 --- a/lib/Model/Message.php +++ b/lib/Model/Message.php @@ -20,11 +20,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Model; +namespace OCA\Talk\Model; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\IComment; use OCP\IL10N; use OCP\IUser; diff --git a/lib/Notification/Listener.php b/lib/Notification/Listener.php index f98b3f8c8..bb55d5ccf 100644 --- a/lib/Notification/Listener.php +++ b/lib/Notification/Listener.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Notification; +namespace OCA\Talk\Notification; -use OCA\Spreed\Room; +use OCA\Talk\Room; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Notification\IManager; use OCP\ILogger; diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index db44a2256..1083e05e4 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -20,17 +20,17 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Notification; +namespace OCA\Talk\Notification; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Config; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Config; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\ICommentsManager; use OCP\Comments\NotFoundException; use OCP\IL10N; diff --git a/lib/Participant.php b/lib/Participant.php index 8b8b431ca..bd8ee8c66 100644 --- a/lib/Participant.php +++ b/lib/Participant.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed; +namespace OCA\Talk; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IDBConnection; diff --git a/lib/PublicShareAuth/Listener.php b/lib/PublicShareAuth/Listener.php index 94999497a..1c4db6587 100644 --- a/lib/PublicShareAuth/Listener.php +++ b/lib/PublicShareAuth/Listener.php @@ -21,11 +21,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\PublicShareAuth; +namespace OCA\Talk\PublicShareAuth; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Participant; +use OCA\Talk\Room; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; diff --git a/lib/PublicShareAuth/TemplateLoader.php b/lib/PublicShareAuth/TemplateLoader.php index 5e1ba7f38..78d278fe6 100644 --- a/lib/PublicShareAuth/TemplateLoader.php +++ b/lib/PublicShareAuth/TemplateLoader.php @@ -21,7 +21,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\PublicShareAuth; +namespace OCA\Talk\PublicShareAuth; use OCP\Share\IShare; use OCP\Util; diff --git a/lib/Room.php b/lib/Room.php index b6022ca4f..b77e06b73 100644 --- a/lib/Room.php +++ b/lib/Room.php @@ -24,11 +24,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed; +namespace OCA\Talk; -use OCA\Spreed\Exceptions\InvalidPasswordException; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\UnauthorizedException; +use OCA\Talk\Exceptions\InvalidPasswordException; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\UnauthorizedException; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Comments\IComment; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/Service/CommandService.php b/lib/Service/CommandService.php index 78fdb2b74..2f40b3f9c 100644 --- a/lib/Service/CommandService.php +++ b/lib/Service/CommandService.php @@ -20,12 +20,12 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Service; +namespace OCA\Talk\Service; -use OCA\Spreed\Chat\Command\ShellExecutor; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Model\CommandMapper; +use OCA\Talk\Chat\Command\ShellExecutor; +use OCA\Talk\Model\Command; +use OCA\Talk\Model\CommandMapper; use OCP\AppFramework\Db\DoesNotExistException; class CommandService { diff --git a/lib/Settings/Admin/AllowedGroups.php b/lib/Settings/Admin/AllowedGroups.php index 348cef43f..dcbbbeb1d 100644 --- a/lib/Settings/Admin/AllowedGroups.php +++ b/lib/Settings/Admin/AllowedGroups.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Settings\Admin; +namespace OCA\Talk\Settings\Admin; -use OCA\Spreed\Config; +use OCA\Talk\Config; use OCP\AppFramework\Http\TemplateResponse; use OCP\IInitialStateService; use OCP\Settings\ISettings; diff --git a/lib/Settings/Admin/Commands.php b/lib/Settings/Admin/Commands.php index c5259ba5f..857a08d72 100644 --- a/lib/Settings/Admin/Commands.php +++ b/lib/Settings/Admin/Commands.php @@ -20,12 +20,12 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Settings\Admin; +namespace OCA\Talk\Settings\Admin; -use OCA\Spreed\Config; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Config; +use OCA\Talk\Model\Command; +use OCA\Talk\Service\CommandService; use OCP\AppFramework\Http\TemplateResponse; use OCP\IInitialStateService; use OCP\Settings\ISettings; diff --git a/lib/Settings/Admin/Section.php b/lib/Settings/Admin/Section.php index a5fd22ef4..2d2de7ecb 100644 --- a/lib/Settings/Admin/Section.php +++ b/lib/Settings/Admin/Section.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Settings\Admin; +namespace OCA\Talk\Settings\Admin; use OCP\IL10N; diff --git a/lib/Settings/Admin/SignalingServer.php b/lib/Settings/Admin/SignalingServer.php index 9b6d9d1ed..35bc9867f 100644 --- a/lib/Settings/Admin/SignalingServer.php +++ b/lib/Settings/Admin/SignalingServer.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Settings\Admin; +namespace OCA\Talk\Settings\Admin; -use OCA\Spreed\Config; +use OCA\Talk\Config; use OCP\AppFramework\Http\TemplateResponse; use OCP\IInitialStateService; use OCP\Settings\ISettings; diff --git a/lib/Settings/Admin/StunServer.php b/lib/Settings/Admin/StunServer.php index 5c073bce5..f6f80b5e6 100644 --- a/lib/Settings/Admin/StunServer.php +++ b/lib/Settings/Admin/StunServer.php @@ -23,10 +23,10 @@ declare(strict_types=1); */ -namespace OCA\Spreed\Settings\Admin; +namespace OCA\Talk\Settings\Admin; -use OCA\Spreed\Config; +use OCA\Talk\Config; use OCP\AppFramework\Http\TemplateResponse; use OCP\IInitialStateService; use OCP\Settings\ISettings; diff --git a/lib/Settings/Admin/TurnServer.php b/lib/Settings/Admin/TurnServer.php index 334484b2b..1690df749 100644 --- a/lib/Settings/Admin/TurnServer.php +++ b/lib/Settings/Admin/TurnServer.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Settings\Admin; +namespace OCA\Talk\Settings\Admin; -use OCA\Spreed\Config; +use OCA\Talk\Config; use OCP\AppFramework\Http\TemplateResponse; use OCP\IInitialStateService; use OCP\Settings\ISettings; diff --git a/lib/Settings/Personal.php b/lib/Settings/Personal.php index e9d9e001f..d37fad4e4 100644 --- a/lib/Settings/Personal.php +++ b/lib/Settings/Personal.php @@ -22,7 +22,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Settings; +namespace OCA\Talk\Settings; use OCP\AppFramework\Http\TemplateResponse; diff --git a/lib/Share/Helper/DeletedShareAPIController.php b/lib/Share/Helper/DeletedShareAPIController.php index 3ec0ec025..f09e276de 100644 --- a/lib/Share/Helper/DeletedShareAPIController.php +++ b/lib/Share/Helper/DeletedShareAPIController.php @@ -21,11 +21,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Share\Helper; +namespace OCA\Talk\Share\Helper; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\IUser; use OCP\IUserManager; use OCP\Share\IShare; diff --git a/lib/Share/Helper/ShareAPIController.php b/lib/Share/Helper/ShareAPIController.php index 04ecfdc4d..d45a98b4f 100644 --- a/lib/Share/Helper/ShareAPIController.php +++ b/lib/Share/Helper/ShareAPIController.php @@ -21,12 +21,12 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Share\Helper; +namespace OCA\Talk\Share\Helper; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\AppFramework\OCS\OCSNotFoundException; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IL10N; diff --git a/lib/Share/RoomShareProvider.php b/lib/Share/RoomShareProvider.php index 919bcc764..70506059b 100644 --- a/lib/Share/RoomShareProvider.php +++ b/lib/Share/RoomShareProvider.php @@ -25,12 +25,12 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Share; +namespace OCA\Talk\Share; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\AppFramework\Utility\ITimeFactory; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\Files\Folder; @@ -1045,7 +1045,7 @@ class RoomShareProvider implements IShareProvider { * received shares. * * Not part of IShareProvider API, but needed by the hooks in - * OCA\Spreed\AppInfo\Application + * OCA\Talk\AppInfo\Application * * @param string $roomToken * @param string|null $user diff --git a/lib/Signaling/BackendNotifier.php b/lib/Signaling/BackendNotifier.php index 24fb78dda..642fc19d2 100644 --- a/lib/Signaling/BackendNotifier.php +++ b/lib/Signaling/BackendNotifier.php @@ -22,11 +22,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Signaling; +namespace OCA\Talk\Signaling; -use OCA\Spreed\Config; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Config; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Http\Client\IClientService; use OCP\ILogger; use OCP\Security\ISecureRandom; diff --git a/lib/Signaling/Listener.php b/lib/Signaling/Listener.php index 636644b95..2f173b35b 100644 --- a/lib/Signaling/Listener.php +++ b/lib/Signaling/Listener.php @@ -20,13 +20,13 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Signaling; +namespace OCA\Talk\Signaling; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Config; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Config; +use OCA\Talk\GuestManager; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\IUser; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; diff --git a/lib/Signaling/Messages.php b/lib/Signaling/Messages.php index 54570fd19..a1d8d144e 100644 --- a/lib/Signaling/Messages.php +++ b/lib/Signaling/Messages.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Signaling; +namespace OCA\Talk\Signaling; -use OCA\Spreed\Room; +use OCA\Talk\Room; use OCP\AppFramework\Utility\ITimeFactory; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IDBConnection; diff --git a/lib/TalkSession.php b/lib/TalkSession.php index 97c8107a3..351c14a34 100644 --- a/lib/TalkSession.php +++ b/lib/TalkSession.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed; +namespace OCA\Talk; use OCP\ISession; diff --git a/lib/Webinary.php b/lib/Webinary.php index 869140db4..7b15053f1 100644 --- a/lib/Webinary.php +++ b/lib/Webinary.php @@ -20,7 +20,7 @@ declare(strict_types=1); * */ -namespace OCA\Spreed; +namespace OCA\Talk; class Webinary { diff --git a/tests/integration/spreedcheats/appinfo/info.xml b/tests/integration/spreedcheats/appinfo/info.xml index b52b85837..cf266281c 100644 --- a/tests/integration/spreedcheats/appinfo/info.xml +++ b/tests/integration/spreedcheats/appinfo/info.xml @@ -1,7 +1,7 @@ <?xml version="1.0"?> <info> <id>spreedcheats</id> - <name>Spreed cheats app for Intergration tests</name> + <name>Talk cheats app for Intergration tests</name> <namespace>SpreedCheats</namespace> <description/> diff --git a/tests/php/Activity/Provider/BaseTest.php b/tests/php/Activity/Provider/BaseTest.php index a79e8c355..35a9c3bca 100644 --- a/tests/php/Activity/Provider/BaseTest.php +++ b/tests/php/Activity/Provider/BaseTest.php @@ -19,13 +19,13 @@ * */ -namespace OCA\Spreed\Tests\php\Activity\Provider; +namespace OCA\Talk\Tests\php\Activity\Provider; -use OCA\Spreed\Activity\Provider\Base; -use OCA\Spreed\Config; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Activity\Provider\Base; +use OCA\Talk\Config; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\Activity\IEvent; use OCP\Activity\IManager; use OCP\IL10N; @@ -39,7 +39,7 @@ use Test\TestCase; /** * Class BaseTest * - * @package OCA\Spreed\Tests\php\Activity + * @package OCA\Talk\Tests\php\Activity */ class BaseTest extends TestCase { diff --git a/tests/php/Activity/Provider/InvitationTest.php b/tests/php/Activity/Provider/InvitationTest.php index ab71c9a5e..15055f390 100644 --- a/tests/php/Activity/Provider/InvitationTest.php +++ b/tests/php/Activity/Provider/InvitationTest.php @@ -19,14 +19,14 @@ * */ -namespace OCA\Spreed\Tests\php\Activity\Provider; +namespace OCA\Talk\Tests\php\Activity\Provider; -use OCA\Spreed\Activity\Provider\Invitation; -use OCA\Spreed\Config; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Activity\Provider\Invitation; +use OCA\Talk\Config; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\Activity\IEvent; use OCP\Activity\IManager; use OCP\IL10N; @@ -40,7 +40,7 @@ use Test\TestCase; /** * Class InvitationTest * - * @package OCA\Spreed\Tests\php\Activity + * @package OCA\Talk\Tests\php\Activity */ class InvitationTest extends TestCase { diff --git a/tests/php/Activity/SettingTest.php b/tests/php/Activity/SettingTest.php index b1c67a5bc..2f0760e22 100644 --- a/tests/php/Activity/SettingTest.php +++ b/tests/php/Activity/SettingTest.php @@ -19,9 +19,9 @@ * */ -namespace OCA\Spreed\Tests\php\Activity; +namespace OCA\Talk\Tests\php\Activity; -use OCA\Spreed\Activity\Setting; +use OCA\Talk\Activity\Setting; use OCP\Activity\ISetting; use Test\TestCase; diff --git a/tests/php/CapabilitiesTest.php b/tests/php/CapabilitiesTest.php index f5e759df7..8ddd71e09 100644 --- a/tests/php/CapabilitiesTest.php +++ b/tests/php/CapabilitiesTest.php @@ -22,10 +22,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\Unit; +namespace OCA\Talk\Tests\Unit; -use OCA\Spreed\Capabilities; -use OCA\Spreed\Config; +use OCA\Talk\Capabilities; +use OCA\Talk\Config; use OCP\Capabilities\IPublicCapability; use OCP\IConfig; use OCP\IUser; diff --git a/tests/php/Chat/AutoComplete/SearchPluginTest.php b/tests/php/Chat/AutoComplete/SearchPluginTest.php index 60ce03b5e..bae101153 100644 --- a/tests/php/Chat/AutoComplete/SearchPluginTest.php +++ b/tests/php/Chat/AutoComplete/SearchPluginTest.php @@ -19,14 +19,14 @@ * */ -namespace OCA\Spreed\Tests\php\Chat\AutoComplete; - -use OCA\Spreed\Chat\AutoComplete\SearchPlugin; -use OCA\Spreed\Files\Util; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; +namespace OCA\Talk\Tests\php\Chat\AutoComplete; + +use OCA\Talk\Chat\AutoComplete\SearchPlugin; +use OCA\Talk\Files\Util; +use OCA\Talk\GuestManager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; use OCP\Collaboration\Collaborators\ISearchResult; use OCP\IL10N; use OCP\IUser; diff --git a/tests/php/Chat/AutoComplete/SorterTest.php b/tests/php/Chat/AutoComplete/SorterTest.php index a1eeaaff8..a04c325be 100644 --- a/tests/php/Chat/AutoComplete/SorterTest.php +++ b/tests/php/Chat/AutoComplete/SorterTest.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Chat; +namespace OCA\Talk\Tests\php\Chat; -use OCA\Spreed\Chat\AutoComplete\Sorter; -use OCA\Spreed\Chat\CommentsManager; +use OCA\Talk\Chat\AutoComplete\Sorter; +use OCA\Talk\Chat\CommentsManager; use PHPUnit\Framework\MockObject\MockObject; class SorterTest extends \Test\TestCase { diff --git a/tests/php/Chat/ChatManagerTest.php b/tests/php/Chat/ChatManagerTest.php index f49f3aa7c..e9f56f164 100644 --- a/tests/php/Chat/ChatManagerTest.php +++ b/tests/php/Chat/ChatManagerTest.php @@ -21,13 +21,13 @@ * */ -namespace OCA\Spreed\Tests\php\Chat; +namespace OCA\Talk\Tests\php\Chat; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\CommentsManager; -use OCA\Spreed\Chat\Notifier; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\CommentsManager; +use OCA\Talk\Chat\Notifier; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; diff --git a/tests/php/Chat/Command/ExecutorTest.php b/tests/php/Chat/Command/ExecutorTest.php index cb81d7fae..f21f1cf02 100644 --- a/tests/php/Chat/Command/ExecutorTest.php +++ b/tests/php/Chat/Command/ExecutorTest.php @@ -21,13 +21,13 @@ * */ -namespace OCA\Spreed\Tests\php\Chat\Command; +namespace OCA\Talk\Tests\php\Chat\Command; -use OCA\Spreed\Chat\Command\Executor; -use OCA\Spreed\Chat\Command\ShellExecutor; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Room; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Chat\Command\Executor; +use OCA\Talk\Chat\Command\ShellExecutor; +use OCA\Talk\Model\Command; +use OCA\Talk\Room; +use OCA\Talk\Service\CommandService; use OCP\Comments\IComment; use OCP\IL10N; use OCP\ILogger; diff --git a/tests/php/Chat/Command/ShellExecutorTest.php b/tests/php/Chat/Command/ShellExecutorTest.php index 3d8b429d7..74c8978ce 100644 --- a/tests/php/Chat/Command/ShellExecutorTest.php +++ b/tests/php/Chat/Command/ShellExecutorTest.php @@ -21,13 +21,13 @@ * */ -namespace OCA\Spreed\Tests\php\Chat\Command; +namespace OCA\Talk\Tests\php\Chat\Command; -use OCA\Spreed\Chat\Command\Executor; -use OCA\Spreed\Chat\Command\ShellExecutor; -use OCA\Spreed\Model\Command; -use OCA\Spreed\Room; -use OCA\Spreed\Service\CommandService; +use OCA\Talk\Chat\Command\Executor; +use OCA\Talk\Chat\Command\ShellExecutor; +use OCA\Talk\Model\Command; +use OCA\Talk\Room; +use OCA\Talk\Service\CommandService; use OCP\Comments\IComment; use OCP\IL10N; use OCP\ILogger; diff --git a/tests/php/Chat/NotifierTest.php b/tests/php/Chat/NotifierTest.php index 0037a76cc..b88244c59 100644 --- a/tests/php/Chat/NotifierTest.php +++ b/tests/php/Chat/NotifierTest.php @@ -21,14 +21,14 @@ * */ -namespace OCA\Spreed\Tests\php\Chat; - -use OCA\Spreed\Chat\Notifier; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Files\Util; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +namespace OCA\Talk\Tests\php\Chat; + +use OCA\Talk\Chat\Notifier; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Files\Util; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\IComment; use OCP\Notification\IManager as INotificationManager; use OCP\Notification\INotification; @@ -42,13 +42,13 @@ class NotifierTest extends \Test\TestCase { /** @var \OCP\IUserManager|\PHPUnit_Framework_MockObject_MockObject */ protected $userManager; - /** @var \OCA\Spreed\Manager|\PHPUnit_Framework_MockObject_MockObject */ + /** @var \OCA\Talk\Manager|\PHPUnit_Framework_MockObject_MockObject */ protected $manager; - /** @var \OCA\Spreed\Files\Util|\PHPUnit_Framework_MockObject_MockObject */ + /** @var \OCA\Talk\Files\Util|\PHPUnit_Framework_MockObject_MockObject */ protected $util; - /** @var \OCA\Spreed\Chat\Notifier */ + /** @var \OCA\Talk\Chat\Notifier */ protected $notifier; public function setUp() { diff --git a/tests/php/Chat/Parser/SystemMessageTest.php b/tests/php/Chat/Parser/SystemMessageTest.php index 32ecfcc9f..198c29e9c 100644 --- a/tests/php/Chat/Parser/SystemMessageTest.php +++ b/tests/php/Chat/Parser/SystemMessageTest.php @@ -19,15 +19,15 @@ * */ -namespace OCA\Spreed\Tests\php\Chat\Parser; - -use OCA\Spreed\Chat\Parser\SystemMessage; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\Share\RoomShareProvider; +namespace OCA\Talk\Tests\php\Chat\Parser; + +use OCA\Talk\Chat\Parser\SystemMessage; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\Share\RoomShareProvider; use OCP\Comments\IComment; use OCP\Files\Folder; use OCP\Files\InvalidPathException; diff --git a/tests/php/Chat/Parser/UserMentionTest.php b/tests/php/Chat/Parser/UserMentionTest.php index 85eebdc44..7cdb2cbec 100644 --- a/tests/php/Chat/Parser/UserMentionTest.php +++ b/tests/php/Chat/Parser/UserMentionTest.php @@ -21,14 +21,14 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Chat\Parser; - -use OCA\Spreed\Chat\Parser\UserMention; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +namespace OCA\Talk\Tests\php\Chat\Parser; + +use OCA\Talk\Chat\Parser\UserMention; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; use OCP\IL10N; diff --git a/tests/php/Collaboration/Collaborators/RoomPluginTest.php b/tests/php/Collaboration/Collaborators/RoomPluginTest.php index c2ce961b8..f4e033942 100644 --- a/tests/php/Collaboration/Collaborators/RoomPluginTest.php +++ b/tests/php/Collaboration/Collaborators/RoomPluginTest.php @@ -22,11 +22,11 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Collaboration\Collaborators; +namespace OCA\Talk\Tests\php\Collaboration\Collaborators; -use OCA\Spreed\Collaboration\Collaborators\RoomPlugin; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; +use OCA\Talk\Collaboration\Collaborators\RoomPlugin; +use OCA\Talk\Manager; +use OCA\Talk\Room; use OCP\Collaboration\Collaborators\ISearchResult; use OCP\Collaboration\Collaborators\SearchResultType; use OCP\IUser; diff --git a/tests/php/Collaboration/Resources/ConversationProviderTest.php b/tests/php/Collaboration/Resources/ConversationProviderTest.php index 0f0bcb90d..b8423eb58 100644 --- a/tests/php/Collaboration/Resources/ConversationProviderTest.php +++ b/tests/php/Collaboration/Resources/ConversationProviderTest.php @@ -20,15 +20,15 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Collaboration\Resources; - -use OCA\Spreed\Collaboration\Collaborators\RoomPlugin; -use OCA\Spreed\Collaboration\Resources\ConversationProvider; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +namespace OCA\Talk\Tests\php\Collaboration\Resources; + +use OCA\Talk\Collaboration\Collaborators\RoomPlugin; +use OCA\Talk\Collaboration\Resources\ConversationProvider; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Collaboration\Collaborators\ISearchResult; use OCP\Collaboration\Resources\IResource; use OCP\Collaboration\Resources\ResourceException; diff --git a/tests/php/Command/Signaling/AddTest.php b/tests/php/Command/Signaling/AddTest.php index 53f97665e..75c60ad46 100644 --- a/tests/php/Command/Signaling/AddTest.php +++ b/tests/php/Command/Signaling/AddTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Signaling; +namespace OCA\Talk\Tests\php\Command\Signaling; -use OCA\Spreed\Command\Signaling\Add; +use OCA\Talk\Command\Signaling\Add; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Signaling/DeleteTest.php b/tests/php/Command/Signaling/DeleteTest.php index 7aa0feb4e..06efcf047 100644 --- a/tests/php/Command/Signaling/DeleteTest.php +++ b/tests/php/Command/Signaling/DeleteTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Signaling; +namespace OCA\Talk\Tests\php\Command\Signaling; -use OCA\Spreed\Command\Signaling\Delete; +use OCA\Talk\Command\Signaling\Delete; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Signaling/ListCommandTest.php b/tests/php/Command/Signaling/ListCommandTest.php index 938f37ec9..bb426d9bb 100644 --- a/tests/php/Command/Signaling/ListCommandTest.php +++ b/tests/php/Command/Signaling/ListCommandTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Signaling; +namespace OCA\Talk\Tests\php\Command\Signaling; -use OCA\Spreed\Command\Signaling\ListCommand; +use OCA\Talk\Command\Signaling\ListCommand; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Stun/AddTest.php b/tests/php/Command/Stun/AddTest.php index 0a1e7fa99..b36023f7f 100644 --- a/tests/php/Command/Stun/AddTest.php +++ b/tests/php/Command/Stun/AddTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Stun; +namespace OCA\Talk\Tests\php\Command\Stun; -use OCA\Spreed\Command\Stun\Add; +use OCA\Talk\Command\Stun\Add; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Stun/DeleteTest.php b/tests/php/Command/Stun/DeleteTest.php index a1c716234..b3c0744c9 100644 --- a/tests/php/Command/Stun/DeleteTest.php +++ b/tests/php/Command/Stun/DeleteTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Stun; +namespace OCA\Talk\Tests\php\Command\Stun; -use OCA\Spreed\Command\Stun\Delete; +use OCA\Talk\Command\Stun\Delete; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Stun/ListCommandTest.php b/tests/php/Command/Stun/ListCommandTest.php index 36586cde0..4f9538efe 100644 --- a/tests/php/Command/Stun/ListCommandTest.php +++ b/tests/php/Command/Stun/ListCommandTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Stun; +namespace OCA\Talk\Tests\php\Command\Stun; -use OCA\Spreed\Command\Stun\ListCommand; +use OCA\Talk\Command\Stun\ListCommand; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Turn/AddTest.php b/tests/php/Command/Turn/AddTest.php index 65821a18e..7bc51f75c 100644 --- a/tests/php/Command/Turn/AddTest.php +++ b/tests/php/Command/Turn/AddTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Turn; +namespace OCA\Talk\Tests\php\Command\Turn; -use OCA\Spreed\Command\Turn\Add; +use OCA\Talk\Command\Turn\Add; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Turn/DeleteTest.php b/tests/php/Command/Turn/DeleteTest.php index d7c8af0ae..ff2fb3be1 100644 --- a/tests/php/Command/Turn/DeleteTest.php +++ b/tests/php/Command/Turn/DeleteTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Turn; +namespace OCA\Talk\Tests\php\Command\Turn; -use OCA\Spreed\Command\Turn\Delete; +use OCA\Talk\Command\Turn\Delete; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/Command/Turn/ListCommandTest.php b/tests/php/Command/Turn/ListCommandTest.php index 719d424f8..7ae9dfd88 100644 --- a/tests/php/Command/Turn/ListCommandTest.php +++ b/tests/php/Command/Turn/ListCommandTest.php @@ -20,9 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php\Command\Turn; +namespace OCA\Talk\Tests\php\Command\Turn; -use OCA\Spreed\Command\Turn\ListCommand; +use OCA\Talk\Command\Turn\ListCommand; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/tests/php/ConfigTest.php b/tests/php/ConfigTest.php index 4855b9d9b..4cbef0b96 100644 --- a/tests/php/ConfigTest.php +++ b/tests/php/ConfigTest.php @@ -18,9 +18,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php; +namespace OCA\Talk\Tests\php; -use OCA\Spreed\Config; +use OCA\Talk\Config; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IConfig; use OCP\IGroupManager; diff --git a/tests/php/Controller/ChatControllerTest.php b/tests/php/Controller/ChatControllerTest.php index 6364617c4..c3f77e56a 100644 --- a/tests/php/Controller/ChatControllerTest.php +++ b/tests/php/Controller/ChatControllerTest.php @@ -21,20 +21,20 @@ * */ -namespace OCA\Spreed\Tests\php\Controller; - -use OCA\Spreed\Chat\AutoComplete\SearchPlugin; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Controller\ChatController; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Manager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; +namespace OCA\Talk\Tests\php\Controller; + +use OCA\Talk\Chat\AutoComplete\SearchPlugin; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Controller\ChatController; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Manager; +use OCA\Talk\Model\Message; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/tests/php/Controller/RoomControllerTest.php b/tests/php/Controller/RoomControllerTest.php index dff4c1d27..839311d50 100644 --- a/tests/php/Controller/RoomControllerTest.php +++ b/tests/php/Controller/RoomControllerTest.php @@ -21,18 +21,18 @@ * */ -namespace OCA\Spreed\Tests\php\Controller; +namespace OCA\Talk\Tests\php\Controller; -use OCA\Spreed\Chat\ChatManager; -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Controller\RoomController; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\TalkSession; +use OCA\Talk\Chat\ChatManager; +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Controller\RoomController; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\TalkSession; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/tests/php/Controller/SignalingControllerTest.php b/tests/php/Controller/SignalingControllerTest.php index 49d67f8cf..55bdbac9f 100644 --- a/tests/php/Controller/SignalingControllerTest.php +++ b/tests/php/Controller/SignalingControllerTest.php @@ -20,18 +20,18 @@ * */ -namespace OCA\Spreed\Tests\php\Controller; - -use OCA\Spreed\Chat\CommentsManager; -use OCA\Spreed\Config; -use OCA\Spreed\Controller\SignalingController; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\Signaling\Messages; -use OCA\Spreed\TalkSession; +namespace OCA\Talk\Tests\php\Controller; + +use OCA\Talk\Chat\CommentsManager; +use OCA\Talk\Config; +use OCA\Talk\Controller\SignalingController; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\Signaling\Messages; +use OCA\Talk\TalkSession; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IDBConnection; use OCP\IGroupManager; diff --git a/tests/php/Files/UtilTest.php b/tests/php/Files/UtilTest.php index 942a6dc49..7ec493463 100644 --- a/tests/php/Files/UtilTest.php +++ b/tests/php/Files/UtilTest.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Files; +namespace OCA\Talk\Tests\php\Files; use OCA\GroupFolders\Mount\GroupFolderStorage; -use OCA\Spreed\Files\Util; +use OCA\Talk\Files\Util; use OCP\Files\FileInfo; use OCP\Files\Folder; use OCP\Files\Node; diff --git a/tests/php/Notification/NotifierTest.php b/tests/php/Notification/NotifierTest.php index 586ef5348..5ff05ff57 100644 --- a/tests/php/Notification/NotifierTest.php +++ b/tests/php/Notification/NotifierTest.php @@ -19,18 +19,18 @@ * */ -namespace OCA\Spreed\Tests\php\Notifications; - -use OCA\Spreed\Chat\MessageParser; -use OCA\Spreed\Config; -use OCA\Spreed\Exceptions\ParticipantNotFoundException; -use OCA\Spreed\Exceptions\RoomNotFoundException; -use OCA\Spreed\GuestManager; -use OCA\Spreed\Manager; -use OCA\Spreed\Model\Message; -use OCA\Spreed\Notification\Notifier; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; +namespace OCA\Talk\Tests\php\Notifications; + +use OCA\Talk\Chat\MessageParser; +use OCA\Talk\Config; +use OCA\Talk\Exceptions\ParticipantNotFoundException; +use OCA\Talk\Exceptions\RoomNotFoundException; +use OCA\Talk\GuestManager; +use OCA\Talk\Manager; +use OCA\Talk\Model\Message; +use OCA\Talk\Notification\Notifier; +use OCA\Talk\Participant; +use OCA\Talk\Room; use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; use OCP\IL10N; diff --git a/tests/php/PasswordVerificationTest.php b/tests/php/PasswordVerificationTest.php index 8cd2a6d9a..f88290197 100644 --- a/tests/php/PasswordVerificationTest.php +++ b/tests/php/PasswordVerificationTest.php @@ -18,11 +18,11 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -namespace OCA\Spreed\Tests\php; +namespace OCA\Talk\Tests\php; -use OCA\Spreed\Manager; -use OCA\Spreed\Room; -use OCA\Spreed\Webinary; +use OCA\Talk\Manager; +use OCA\Talk\Room; +use OCA\Talk\Webinary; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IDBConnection; use OCP\Security\IHasher; diff --git a/tests/php/Settings/Admin/SectionTest.php b/tests/php/Settings/Admin/SectionTest.php index f583f907b..b184c7d4d 100644 --- a/tests/php/Settings/Admin/SectionTest.php +++ b/tests/php/Settings/Admin/SectionTest.php @@ -20,9 +20,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Settings\Admin; +namespace OCA\Talk\Tests\php\Settings\Admin; -use OCA\Spreed\Settings\Admin\Section; +use OCA\Talk\Settings\Admin\Section; use OCP\IL10N; use OCP\IURLGenerator; use PHPUnit\Framework\MockObject\MockObject; diff --git a/tests/php/Settings/Admin/StunServerTest.php b/tests/php/Settings/Admin/StunServerTest.php index 12a0c83ea..5b8d66d9f 100644 --- a/tests/php/Settings/Admin/StunServerTest.php +++ b/tests/php/Settings/Admin/StunServerTest.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Settings\Admin; +namespace OCA\Talk\Tests\php\Settings\Admin; -use OCA\Spreed\Config; -use OCA\Spreed\Settings\Admin\StunServer; +use OCA\Talk\Config; +use OCA\Talk\Settings\Admin\StunServer; use OCP\IInitialStateService; use PHPUnit\Framework\MockObject\MockObject; diff --git a/tests/php/Settings/Admin/TurnServerTest.php b/tests/php/Settings/Admin/TurnServerTest.php index 6a3feda07..0a6b2c2b6 100644 --- a/tests/php/Settings/Admin/TurnServerTest.php +++ b/tests/php/Settings/Admin/TurnServerTest.php @@ -20,10 +20,10 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php\Settings\Admin; +namespace OCA\Talk\Tests\php\Settings\Admin; -use OCA\Spreed\Config; -use OCA\Spreed\Settings\Admin\TurnServer; +use OCA\Talk\Config; +use OCA\Talk\Settings\Admin\TurnServer; use OCP\IInitialStateService; use PHPUnit\Framework\MockObject\MockObject; diff --git a/tests/php/Signaling/BackendNotifierTest.php b/tests/php/Signaling/BackendNotifierTest.php index 8d9bc386b..7b95f03cb 100644 --- a/tests/php/Signaling/BackendNotifierTest.php +++ b/tests/php/Signaling/BackendNotifierTest.php @@ -20,17 +20,17 @@ * */ -namespace OCA\Spreed\Tests\php\Signaling; - -use OCA\Spreed\AppInfo\Application; -use OCA\Spreed\Chat\CommentsManager; -use OCA\Spreed\Config; -use OCA\Spreed\Manager; -use OCA\Spreed\Participant; -use OCA\Spreed\Room; -use OCA\Spreed\Signaling\BackendNotifier; -use OCA\Spreed\TalkSession; -use OCA\Spreed\Webinary; +namespace OCA\Talk\Tests\php\Signaling; + +use OCA\Talk\AppInfo\Application; +use OCA\Talk\Chat\CommentsManager; +use OCA\Talk\Config; +use OCA\Talk\Manager; +use OCA\Talk\Participant; +use OCA\Talk\Room; +use OCA\Talk\Signaling\BackendNotifier; +use OCA\Talk\TalkSession; +use OCA\Talk\Webinary; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Http\Client\IClientService; use OCP\IGroupManager; diff --git a/tests/php/TalkSessionTest.php b/tests/php/TalkSessionTest.php index a742c9855..388411757 100644 --- a/tests/php/TalkSessionTest.php +++ b/tests/php/TalkSessionTest.php @@ -22,9 +22,9 @@ declare(strict_types=1); * */ -namespace OCA\Spreed\Tests\php; +namespace OCA\Talk\Tests\php; -use OCA\Spreed\TalkSession; +use OCA\Talk\TalkSession; use OCP\ISession; use PHPUnit\Framework\MockObject\MockObject; use Test\TestCase; diff --git a/tests/php/phpunit.xml b/tests/php/phpunit.xml index d307fcec0..82c757c6f 100644 --- a/tests/php/phpunit.xml +++ b/tests/php/phpunit.xml @@ -6,7 +6,7 @@ timeoutForMediumTests="900" timeoutForLargeTests="900" > - <testsuite name='Spreed App Tests'> + <testsuite name='Talk App Tests'> <directory suffix='Test.php'>.</directory> </testsuite> <!-- filters for code coverage --> |