aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* fix(user_status): Catch non-existing user status when setting custom user statusprovokateurin2024-12-181-0/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(user_status): Allow null userId in UserStatusControllerprovokateurin2024-12-181-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(user_status): Use constraint for findAll() offsetprovokateurin2024-12-181-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-054-9/+9
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-213-33/+15
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-0/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* refactor(user_status): Replace security annotations with respective attributesprovokateurin2024-07-274-20/+14
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-304-83/+8
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* refactor(user_status): Switch to attribute based routingprovokateurin2024-02-214-0/+14
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #42527 from nextcloud/feat/user_status/online-status-typeKate2024-01-102-1/+6
|\
| * feat(user_status): Add online status type for OpenAPIprovokateurin2024-01-102-1/+6
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(user_status): Allow setting custom message with icon onlyprovokateurin2023-12-301-1/+1
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(userstatus): set user status to 'In a meeting' if calendar is busyAnna Larch2023-12-191-0/+3
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-234-14/+12
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Add single status code descriptions for OpenAPIjld31032023-09-273-1/+7
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Migrate applications away from deprecated ILoggerCôme Chilliet2023-09-211-28/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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>