diff options
author | Joas Schilling <coding@schilljs.com> | 2019-09-05 15:29:09 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-09-05 15:29:09 +0300 |
commit | d4fc586f1a796b8cb19cff543b668470556e44b2 (patch) | |
tree | ca88292e6d2b903e045f5d5758b61f975d103bb9 /lib | |
parent | 7168522ece988505d0ed40a89f9ae238b8bf4ff6 (diff) |
Bye Spreed, hello Talk!
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
130 files changed, 378 insertions, 378 deletions
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 { |