provokateurin
5c360e0367
fix(user_status): Catch non-existing user status when setting custom user status
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-18 10:52:41 +07:00
provokateurin
654a7d22ff
fix(user_status): Allow null userId in UserStatusController
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-18 10:52:41 +07:00
provokateurin
35c4bfd64e
fix(user_status): Use constraint for findAll() offset
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-18 10:52:41 +07:00
provokateurin
77114fb327
fix(OpenAPI): Adjust array syntax to avoid ambiguities
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-05 09:58:11 +07:00
provokateurin
381077028a
refactor(apps): Use constructor property promotion when possible
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +07:00
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +07:00
provokateurin
8e655d46e9
refactor(user_status): Replace security annotations with respective attributes
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:35:52 +07:00
Andy Scherzinger
8d8891c5bc
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-30 15:49:33 +07:00
provokateurin
0117cd2694
refactor(user_status): Switch to attribute based routing
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-02-21 12:07:50 +07:00
Kate
50aeae6a85
Merge pull request #42527 from nextcloud/feat/user_status/online-status-type
2024-01-10 09:57:46 +07:00
provokateurin
cbc27d3ca7
feat(user_status): Add online status type for OpenAPI
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-10 09:03:29 +07:00
provokateurin
b8fecdb470
fix(user_status): Allow setting custom message with icon only
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2023-12-30 14:45:35 +07:00
Anna Larch
4c6eff975f
fix(userstatus): set user status to 'In a meeting' if calendar is busy
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-19 14:59:00 +07:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +07:00
jld3103
c2d45cb172
Add single status code descriptions for OpenAPI
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +07:00
Côme Chilliet
0a9371f99f
Migrate applications away from deprecated ILogger
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-21 11:57:21 +07:00
jld3103
6f9cf8817c
user_status: Add OpenAPI spec
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-04 15:47:22 +07:00
jld3103
e6e2b873a3
Remove unreachable UserStatus#clearStatus route
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-08 14:16:54 +07:00
Joas Schilling
64776ff042
feat(user_status): Allow to manually revert an automated status
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:57:44 +07:00
jld3103
1f49a56a98
Fix user_status heartbeat response
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-01-25 07:16:26 +07:00
jld3103
3e7a36b309
Make user status heartbeat API publicly accessible
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2022-07-21 13:07:34 +07:00
Joas Schilling
1429a9a8ef
Also reset the status on clearAt
...
When you set yourself to "DND - In a meeting" for one hour,
the expectation is that you are also "online"/normal again
when the meeting is over. So we extend the logic to also include
the status itself to be reverted.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-27 11:32:53 +07:00
Carl Schwan
1dbe7dafe2
Fetch status in heartbeat controller only once
...
Store the user status inside the event instead of fetching it again
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-07 15:16:34 +07:00
Carl Schwan
92fe694b7f
Fix multiple bugs with user status
...
* Fix editing the status while on a call, don't send a bogus request
* Clean backup user status when setting up a new status manually
* A bit more type hinting
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-23 12:21:42 +07:00
Carl Schwan
2cb48f484b
Add an API to set and rollback the user status
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-18 20:31:37 +07:00
Joas Schilling
38d2f978a6
Save a request everytime we send the heartbeat
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-16 11:32:32 +07:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +07:00
Simon Spannagel
ad58d13814
UserStatus: no message means clear status message. This fixes #23332
...
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-11-02 17:59:44 +07:00
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +07:00
Joas Schilling
32b577a5df
Reset the user status when clearing the custom message
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-30 14:12:02 +07:00
Georg Ehrke
d7ccc616e4
Always use IUserStatus consts
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 11:30:18 +07:00
Georg Ehrke
10df7198fe
HeartbeatController: PHPDoc fixes
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 09:22:38 +07:00
Georg Ehrke
a352a7c7f3
Introduce consts for statuses
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 09:22:34 +07:00
Georg Ehrke
0fad921840
Add user-status app
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-31 16:45:27 +07:00