aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(BackgroundJobs): Adjust intervals and time sensitivitiesbackport/48600/stable30provokateurin2024-11-251-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(userstatus): run user status automation job for start and end eventsAnna Larch2024-08-142-2/+11
| | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* refactor(user_status): Replace security annotations with respective attributesprovokateurin2024-07-274-20/+14
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(userstatus): Fix user status automation in real-life scenarioJoas Schilling2024-06-251-5/+29
| | | | | | | | | | | Order of applying: - Out-of-office - Availability - Call - Meeting - User status Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-311-0/+1
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-3031-600/+61
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(status): Update status time when reverting to it manuallyJoas Schilling2024-04-171-3/+6
| | | | | | This prevents the DAV meeting status from overwriting it again Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor(user_status): Switch to attribute based routingprovokateurin2024-02-214-0/+14
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(userstatus): add back 0 timestamp for status without messageAnna Larch2024-02-121-1/+7
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: Fix missing template parameter for IEventListenerCôme Chilliet2024-01-303-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(userstatus): CALL status should overwrite MEETING statusAnna Larch2024-01-241-9/+24
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(userstatus): catch unique constraint violationAnna Larch2024-01-161-2/+17
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #42527 from nextcloud/feat/user_status/online-status-typeKate2024-01-103-2/+9
|\
| * feat(user_status): Add online status type for OpenAPIprovokateurin2024-01-103-2/+9
| | | | | | | | 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-193-31/+14
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(ooo): add new ooo status with new emojiAnna Larch2023-12-182-1/+16
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(copyright): Fix copyright doc blocksJoas Schilling2023-11-303-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* enh(userstatus): add OOO automation and remove calendar automationAnna Larch2023-11-286-70/+92
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2317-56/+52
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(userstatus): Only track message timestamp for valuesChristoph Wurst2023-11-162-2/+8
| | | | | | | Do not track status messages that are empty, e.g. DND outside of availability. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(userstatus): Do not override message timestamp for default messagesChristoph Wurst2023-11-131-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(user status): automate user status for eventsAnna Larch2023-11-094-45/+119
| | | | | | | and automatically set a user status to free or busy depending on their calendar transparency, event status and availability settings Signed-off-by: Anna Larch <anna@nextcloud.com>
* feat(contactsmenu): Sort by user statusChristoph Wurst2023-11-081-0/+2
| | | | | | If user_status is not enabled, fall back to sorting by contact name. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(contactsmenu): Show user statusChristoph Wurst2023-10-311-0/+65
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(userstatus): Track message timestamp tooChristoph Wurst2023-09-295-2/+82
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add single status code descriptions for OpenAPIjld31032023-09-273-1/+7
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(userstatus): Sync migration version number with app versionChristoph Wurst2023-09-261-5/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Migrate applications away from deprecated ILoggerCôme Chilliet2023-09-211-28/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(dashboard): implement widget item api v2Richard Steinmetz2023-08-221-12/+15
| | | | | | | | | This API enables the dashboard to render all widgets from the API data alone without having apps to provide their own bundles. This saves a lot of traffic and execution time as a lot less javascript has to be parsed on the frontend. Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* user_status: Add OpenAPI specjld31032023-07-047-33/+154
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* feat(ocp): More specific type for ICapabilities::getCapabilitiesChristoph Wurst2023-07-031-3/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unreachable UserStatus#clearStatus routejld31032023-05-081-10/+0
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* feat(status): Add a capability for the restoreJoas Schilling2023-04-181-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(user_status): Allow to manually revert an automated statusJoas Schilling2023-04-182-3/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix user_status heartbeat responsejld31032023-01-251-7/+7
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Update the user status dashboard widget and fix the icon colorJoas Schilling2023-01-021-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Properly escape underscore in db queryCarl Schwan2022-10-131-1/+1
| | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Do the filtering on the DB insteadCarl Schwan2022-10-132-6/+10
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Filter out backup user status (those beginning with _ as userId)tobiasKaminsky2022-10-131-1/+2
|
* set round item icons for user status widgetRobin Appelman2022-09-151-6/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* implement IButtonWidget and IIconWidget in user_statusJulien Veyssier2022-09-151-3/+21
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* implement IAPIWidget in user_statusJulien Veyssier2022-09-151-28/+58
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Fix typos in apps/ subdirectoryluz paz2022-09-051-1/+1
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Reset user status based on message ID onlyJoas Schilling2022-07-223-10/+7
| | | | | | | | Since some statuses (call) can occure with different status (away and dnd) we need to reset only based on the message id. But as it can not be set by the user this is still save and okay. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make user status heartbeat API publicly accessiblejld31032022-07-211-1/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Fix predefined messageJoas Schilling2022-07-011-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also reset the status on clearAtJoas Schilling2022-05-274-12/+9
| | | | | | | | | 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>
* Fix missing status with predefined status in drop-downJoas Schilling2022-05-272-2/+4
| | | | | | | When a predefined status message was used, the status was not "processed" so it was missing the translated message and the icon in the dropdown and the menu afterwards Signed-off-by: Joas Schilling <coding@schilljs.com>
* Extract the EmojiService from user status and add an OCP interfaceJoas Schilling2022-04-283-128/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>