Joas Schilling
22ad2fe918
Fix missing status with predefined status in drop-down
...
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>
2022-05-31 09:21:43 +02:00
Carl Schwan
57514e44a9
Psalm fixing
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-27 17:20:48 +01:00
Jonas Meurer
af00399893
Respect user enumeration settings in user status lists
...
So far, the functions to find user statuses listed didn't respect user
enumeration settings (`shareapi_allow_share_dialog_user_enumeration`
and `shareapi_restrict_user_enumeration_to_group` core app settings).
Fix this privacy issue by returning an empty list in case
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.
In the long run, we might want to return users from common groups if
`shareapi_restrict_user_enumeration_to_group` is set. It's complicated
to implement this in a way that scales, though. See the discussion at
https://github.com/nextcloud/server/pull/27879#pullrequestreview-753655308
for details.
Also, don't register the user_status dashboard widget at all if
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.
Fixes : #27122
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-10-25 10:00:20 +02: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 +02: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 +02: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 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Christoph Wurst
c1d4f8161b
Migrate internal classes to the OCP db col types
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-12 14:09:13 +01:00
Joas Schilling
7a1750af44
Make is_user_defined nullable so we can store false on oracle
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-11 14:04:09 +01: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 +01:00
Joas Schilling
ee7eb6f2b3
Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-13 15:32:34 +02: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 +02:00
Roeland Jago Douma
5451dcbec5
Merge pull request #23112 from nextcloud/bugfix/noid/increase-timeout-of-statuses
...
Increase the timeout of statuses
2020-10-01 11:43:36 +02:00
Joas Schilling
0c7c358d13
Increase the timeout of statuses
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-01 08:54:35 +02: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 +02:00
Julius Härtl
54abcbc2aa
Only load user status script when needed
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 20:00:21 +02:00
Georg Ehrke
d7ccc616e4
Always use IUserStatus consts
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 11:30:18 +02:00
Georg Ehrke
2146950a71
Add MigrationStep to add better Indizes
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 11:30:18 +02: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 +02:00
Georg Ehrke
7fedd33825
Better cleanup routine for statuses
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 09:22:38 +02:00
Georg Ehrke
10df7198fe
HeartbeatController: PHPDoc fixes
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 09:22:38 +02:00
Georg Ehrke
a352a7c7f3
Introduce consts for statuses
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 09:22:34 +02:00
Georg Ehrke
bd6a6cf3bf
Add Status Dashboard
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-20 15:43:34 +02:00
Georg Ehrke
0e0e0d19e8
Provide a PHP Api for UserStatus
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-05 13:48:46 +02:00
Georg Ehrke
0fad921840
Add user-status app
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-31 16:45:27 +02:00