mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
Bye Spreed, hello Talk!
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
7168522ece
commit
d4fc586f1a
172 changed files with 585 additions and 585 deletions
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
|
@ -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`)
|
||||
|
||||
|
|
|
|||
2
.github/contributing.md
vendored
2
.github/contributing.md
vendored
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
4
.github/issue_template.md
vendored
4
.github/issue_template.md
vendored
|
|
@ -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`)
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
$app = new \OCA\Spreed\AppInfo\Application();
|
||||
$app = new \OCA\Talk\AppInfo\Application();
|
||||
// For the navigation $l->t('Talk')
|
||||
$app->register();
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Activity;
|
||||
namespace OCA\Talk\Activity;
|
||||
|
||||
|
||||
use OCP\Activity\ISetting;
|
||||
|
|
|
|||
|
|
@ -20,33 +20,33 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\AppInfo;
|
||||
namespace OCA\Talk\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;
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Chat\Command;
|
||||
namespace OCA\Talk\Chat\Command;
|
||||
|
||||
|
||||
class ShellExecutor {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Chat;
|
||||
namespace OCA\Talk\Chat;
|
||||
|
||||
|
||||
use OC\Comments\Comment;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -21,14 +21,14 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Chat;
|
||||
namespace OCA\Talk\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;
|
||||
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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -20,19 +20,19 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Chat\SystemMessage;
|
||||
namespace OCA\Talk\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;
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed;
|
||||
namespace OCA\Talk;
|
||||
|
||||
use OCP\AppFramework\Utility\ITimeFactory;
|
||||
use OCP\IConfig;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -21,16 +21,16 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Controller;
|
||||
namespace OCA\Talk\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;
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -24,20 +24,20 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Controller;
|
||||
namespace OCA\Talk\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;
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -22,16 +22,16 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Controller;
|
||||
namespace OCA\Talk\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;
|
||||
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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
*/
|
||||
|
||||
|
||||
namespace OCA\Spreed\Exceptions;
|
||||
namespace OCA\Talk\Exceptions;
|
||||
|
||||
class InvalidPasswordException extends \Exception {
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
*/
|
||||
|
||||
|
||||
namespace OCA\Spreed\Exceptions;
|
||||
namespace OCA\Talk\Exceptions;
|
||||
|
||||
class ParticipantNotFoundException extends \OutOfBoundsException {
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
*/
|
||||
|
||||
|
||||
namespace OCA\Spreed\Exceptions;
|
||||
namespace OCA\Talk\Exceptions;
|
||||
|
||||
class RoomNotFoundException extends \OutOfBoundsException {
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
*/
|
||||
|
||||
|
||||
namespace OCA\Spreed\Exceptions;
|
||||
namespace OCA\Talk\Exceptions;
|
||||
|
||||
class UnauthorizedException extends \Exception {
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Files;
|
||||
namespace OCA\Talk\Files;
|
||||
|
||||
use OCP\Util;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed;
|
||||
namespace OCA\Talk;
|
||||
|
||||
use OCP\Collaboration\AutoComplete\AutoCompleteEvent;
|
||||
use OCP\Collaboration\AutoComplete\IManager;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Middleware\Exceptions;
|
||||
namespace OCA\Talk\Middleware\Exceptions;
|
||||
|
||||
use OCP\AppFramework\Http;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Middleware\Exceptions;
|
||||
namespace OCA\Talk\Middleware\Exceptions;
|
||||
|
||||
use OCP\AppFramework\Http;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Middleware\Exceptions;
|
||||
namespace OCA\Talk\Middleware\Exceptions;
|
||||
|
||||
use OCP\AppFramework\Http;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Spreed\Middleware\Exceptions;
|
||||
namespace OCA\Talk\Middleware\Exceptions;
|
||||
|
||||
use OCP\AppFramework\Http;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue