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