Joas Schilling
799bcbf03a
fix(recording): Don't create confusing system message about recording if actor ended the call
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 11:49:15 +02:00
Joas Schilling
ce4f0496da
fix(CS): Fix coding style
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-14 12:07:54 +02:00
Joas Schilling
d5fccbb762
fix(activity): Don't replace the activity icon for now as that is color inverted
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-14 12:06:51 +02:00
Vitor Mattos
85a41dd9ea
Return with avatar URL capability
...
Revert https://github.com/nextcloud/spreed/pull/8805
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-14 12:06:51 +02:00
Joas Schilling
c1970caef4
chore(CS): Unify construct() calls
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 14:28:41 +02:00
Joas Schilling
f3ff4a8820
automated: Apply CS fix
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 13:17:49 +02:00
Joas Schilling
d5b7e2a5a1
Merge pull request #8805 from nextcloud/bugfix/8760/remove-avatar-capability
...
Remove avatar capability
2023-02-23 12:58:03 +01:00
Daniel Calviño Sánchez
eca3161d24
Add failed status to recordings
...
Although recordings should not fail in some cases they could (for
example, if the configuration is wrong, the disk is full...). A new
recording status, "failed", has been added to notify that situation to
the Nextcloud server from the recording server.
Typically call participants will not be able to do anything about the
failure, so the clients can just show a notification to the moderators
and hint about asking the system administrators.
In any case, even if the recording status is "failed" further recordings
can be started, which will behave as if the recording was started from
the "none" status.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-22 13:09:26 +01:00
Daniel Calviño Sánchez
87b20311b0
Include participant in start/stop requests to the recording server
...
The participant will be in turn forwarded again to the Nextcloud server
once notified that the recording started or stopped so it retains the
proper participant (for example, in system messages) rather than using
the recording server.
The actor is optional when stopping the recording, as the recording
could be implicitly stopped when the last participant leaves the call.
Nevertheless, this causes the system message to be assigned to a guest
(as the request comes from the recording server), which is unexpected,
so this may need to be adjusted.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-22 13:09:26 +01:00
Joas Schilling
59a81d634f
Revert avatar usage
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-21 10:06:41 +01:00
Joas Schilling
34b1cb830f
Merge pull request #8602 from nextcloud/feature/stop-recording-after-end-call
...
Stop recording after end call
2023-01-26 23:43:01 +01:00
Vitor Mattos
3a8a6024a1
Stop recording after end call
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-25 12:24:35 -03:00
Joas Schilling
cf72ae74df
Introduce a "former one-to-one" conversation type
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-25 16:17:58 +01:00
Joas Schilling
26751b47ce
Some minor fixes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-07 15:02:53 +01:00
Vitor Mattos
485769c275
Change logic of test to every time return the room avatar
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-07 15:02:51 +01:00
Vitor Mattos
9973979265
Fix url generation
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-07 15:02:48 +01:00
Vitor Mattos
b34192e937
Return room URL in activities and references
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-07 15:01:54 +01:00
Vitor Mattos
c10f72cdeb
Move setActiveSince to RoomService
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-10-03 11:10:33 +02:00
Joas Schilling
ac1cd08412
Move resetActiveSince to service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-02 11:36:59 +02:00
Joas Schilling
a22a546401
Adjust coding style
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-01 10:53:38 +02:00
Joas Schilling
659c2ba7ff
Use user displayname cache in activities
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-19 12:06:20 +02:00
Joas Schilling
545d3ab5cb
Use \OCP\Server::get() instead of private API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-11 08:46:37 +02:00
Vitor Mattos
c07251f0c6
Use PHP7.4 property typehinting where possible
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-06 12:43:03 -03:00
Joas Schilling
b57196179f
Only calculate the room name once instead of loading all participants
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-28 12:07:40 +01:00
Joas Schilling
35d2272dbd
Handle generate the end_call_for_all activity intentionally
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 07:33:50 +01:00
Vitor Mattos
5ac20349c6
Replace deprecated method
...
deprecated 20.0.0 use \Psr\Container\ContainerInterface::get
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-06 09:50:58 -03:00
Joas Schilling
7647eae7e7
A missed call is only when there was only 1 user
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-19 10:36:17 +01:00
Joas Schilling
da20f4bbfe
Always print a message for now
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-16 09:17:15 +01:00
Joas Schilling
56d4660295
Log dedicated call summary when ending for everyone
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-03 13:10:34 +01:00
Joas Schilling
9e8d94d58f
Replace old type constants with new ones
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-18 16:17:11 +02:00
Vitor Mattos
4ffd4820b6
Merge remote-tracking branch 'origin/master' into reduce-psalm-infos
2021-10-07 11:03:41 -03:00
Vitor Mattos
a2e57ab980
Changes after run --alter
...
psalm --alter --issues=MissingClosureReturnType,MismatchingDocblockReturnType,MissingReturnType,InvalidReturnType,MissingParamType
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-07 10:26:56 -03:00
Joas Schilling
37463d05f9
Don't allow to get pushes for Talk activity
...
* Chat mentions have custom notifications
* Calls have custom notifications and vanish when you participated
* Invites to new conversations have custom notifications
There are no other activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-30 11:11:21 +02:00
Joas Schilling
9e855fc015
Add "missed call" notifications
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 10:44:57 +02:00
Joas Schilling
9e55a41e08
Count guests from attendees instead of the fixed value which bumps up on reconnects
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-12 10:46:35 +01:00
Joas Schilling
bf5f69cded
Provide information for incoming call screens
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-11 19:00:17 +01:00
Joas Schilling
459858a695
Introduce constants for the actor types
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-26 09:46:43 +01:00
Joas Schilling
a11b907435
Remove last participant modifying functions from Room object
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 10:38:51 +01:00
Joas Schilling
6c20e595e5
Move Room::getParticipantUserIds() to participant service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 10:38:09 +01:00
Joas Schilling
b76b92fb93
Fix creating conversations and adding participants
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 10:38:09 +01:00
Joas Schilling
b6829acbaa
Move to Psr\Log\LoggerInterface
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-03 13:38:45 +02:00
Joas Schilling
5eb3dbaf7b
Make activities link to the conversation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-14 09:39:38 +02:00
Joas Schilling
84d42604e6
Run cs:fix
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-12 15:04:42 +02:00
Joas Schilling
1865ede4c3
Also end teh call state when a user leaves
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-13 17:13:46 +01:00
Joas Schilling
81db771748
Add constants for event names and use pattern
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-04 08:36:59 +01:00
Joas Schilling
0e1d2b39b9
Typed events for Talk
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-04 08:36:59 +01:00
Ivan Sein
0fe1bd6c94
Merge pull request #2155 from nextcloud/bye-spreed-hello-talk
...
Bye Spreed, hello Talk!
2019-09-11 14:57:03 +02:00
Joas Schilling
cf0a10aad5
Show the call summary after the last "left the call" message
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-09 17:31:19 +02:00
Joas Schilling
e40518fdc2
Also create call summary for calls with only guests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-09 17:29:35 +02:00
Joas Schilling
d4fc586f1a
Bye Spreed, hello Talk!
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-05 14:29:09 +02:00