aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* user_status: Add OpenAPI specjld31032023-07-044-29/+87
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Remove unreachable UserStatus#clearStatus routejld31032023-05-081-10/+0
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* feat(user_status): Allow to manually revert an automated statusJoas Schilling2023-04-181-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix user_status heartbeat responsejld31032023-01-251-7/+7
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Make user status heartbeat API publicly accessiblejld31032022-07-211-1/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Also reset the status on clearAtJoas Schilling2022-05-271-2/+2
| | | | | | | | | 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>
* Fetch status in heartbeat controller only onceCarl Schwan2022-04-071-10/+10
| | | | | | Store the user status inside the event instead of fetching it again Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix multiple bugs with user statusCarl Schwan2021-11-232-3/+5
| | | | | | | | * 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>
* Add an API to set and rollback the user statusCarl Schwan2021-10-181-1/+4
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Save a request everytime we send the heartbeatJoas Schilling2021-06-161-11/+29
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-044-27/+31
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* UserStatus: no message means clear status message. This fixes #23332Simon Spannagel2020-11-021-2/+2
| | | | Signed-off-by: Simon Spannagel <simonspa@kth.se>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Reset the user status when clearing the custom messageJoas Schilling2020-09-301-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Always use IUserStatus constsGeorg Ehrke2020-09-072-4/+5
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* HeartbeatController: PHPDoc fixesGeorg Ehrke2020-09-071-0/+2
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Introduce consts for statusesGeorg Ehrke2020-09-072-3/+4
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Add user-status appGeorg Ehrke2020-07-314-0/+455
Signed-off-by: Georg Ehrke <developer@georgehrke.com>