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
Git'Fellow
a1681b0756
chore(db): Apply query prepared statements
...
Fix: psalm
fix: bad file
fix: bug
chore: add batch
chore: add batch
chore: add batch
fix: psalm
2024-10-17 20:30:47 +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
Joas Schilling
73c0f596f7
fix(copyright): Fix copyright doc blocks
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 11:53:47 +07:00
Anna Larch
f19645adab
enh(userstatus): add OOO automation and remove calendar automation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-28 10:28:06 +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
Anna Larch
f14a4f8fd7
feat(user status): automate user status for events
...
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>
2023-11-09 16:20:19 +07:00
Christoph Wurst
fbdf733be0
fix(userstatus): Track message timestamp too
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 09:55:19 +07:00
Carl Schwan
f8453df98e
Properly escape underscore in db query
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-13 18:50:36 +07:00
Carl Schwan
8c95e46744
Do the filtering on the DB instead
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-13 16:19:11 +07:00
Joas Schilling
9a9db2802b
Reset user status based on message ID only
...
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>
2022-07-22 11:02:37 +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
Joas Schilling
5fcbb1ca62
Create the backup user status in 1 query instead of 3
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:33 +07:00
Joas Schilling
658547d274
Don't include unindexed is_backup in the query, it's ensured by the user_id leading underscore already
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:33 +07:00
Joas Schilling
deec4f31db
Allow to revert the user status of multiple users in 3 queries instead of 3*n
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:33 +07:00
Joas Schilling
194338cca3
Delete the user status without loading it first
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:32 +07:00
Christoph Wurst
6ef63d27a8
Make the UserStatusMapper a generic instance of QBMapper
...
This removes our manual overrides and helps static analysis.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-29 15:40:06 +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
blizzz
56b68ce4e0
Merge pull request #27375 from nextcloud/bugfix/noid/dont-update-offline-status
...
Don't update statuses to offline again and again
2021-06-07 12:12:33 +07:00
Joas Schilling
55c44580c2
Don't update statuses to offline again and again
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-07 09:32:00 +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
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
5be49491d3
Do not display Offline statuses in the Dashboard widget
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 11:30:15 +07:00
Georg Ehrke
7fedd33825
Better cleanup routine for statuses
...
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
bd6a6cf3bf
Add Status Dashboard
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-20 15:43:34 +07:00
Georg Ehrke
0e0e0d19e8
Provide a PHP Api for UserStatus
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-05 13:48:46 +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