nextcloud/lib/private
Ferdinand Thiessen 2e4d3e4e75
fix(share): Return empty string if no label is set
* Resolves: https://github.com/nextcloud/server/issues/48629

While the database supports NULL, the typing has always said it only returns *string*.
So to not break any apps that might trust the typings we should return `''` if the database is set to `NULL`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-14 15:15:51 +02:00
..
Accounts feat: add profile pronouns 2024-09-17 22:20:36 +02:00
Activity chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
App chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
AppFramework chore: Add proper deprecation dates where missing 2024-09-20 00:46:03 +02:00
Archive chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Authentication fix: Make user removal more resilient 2024-09-26 20:48:37 +02:00
Avatar chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
BackgroundJob chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Blurhash/Listener style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Broadcast/Events chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Cache chore: Add proper deprecation dates where missing 2024-09-20 00:46:03 +02:00
Calendar style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Collaboration chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Command chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Comments chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Console fix(command): Make method compatible with upstream class (requires 3rdparty bump) 2024-10-07 12:11:25 +02:00
Contacts/ContactsMenu chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Dashboard fix(dashboard): Document expected icon behaviour 2024-07-11 13:14:03 +00:00
DB fix(QueryBuilder): Account for aliases in output columns 2024-10-02 11:55:27 +02:00
Diagnostics feat(log): Allow to combine log.conditions to only log (app&user) 2024-07-30 13:18:09 +02:00
DirectEditing chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Encryption chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
EventDispatcher chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Federation fix(federation): Do not overwrite certificate bundle 2024-09-20 00:13:00 +02:00
Files feat(http-client): expose default request timeout constant to be used instead of magic number 30 2024-10-11 10:57:02 +02:00
FilesMetadata chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
FullTextSearch style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
GlobalScale chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Group chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Hooks chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Http feat(http-client): expose default request timeout constant to be used instead of magic number 30 2024-10-11 10:57:02 +02:00
IntegrityCheck fix: skip the integrity check for nextcloud-init-sync.lock 2024-09-22 17:48:43 +02:00
KnownUser chore: Add SPDX header 2024-05-24 13:11:22 +02:00
L10N feat(l10n): Respect forceLanguage query parameter in more places 2024-10-08 15:40:40 +02:00
LDAP style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
legacy fix(Auth): ignore missing token when trying to set password-unconfirmable 2024-10-01 12:24:20 +02:00
Lock chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Lockdown refactor(Storage): Make all parameter types strong types 2024-10-07 15:00:05 +02:00
Log fix(logger): Remove more parameters of other methods 2024-10-07 21:04:49 +02:00
Mail chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Memcache chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Migration chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Net chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Notification feat(prioritynotifications): Allow some apps to mark notifications as priority 2024-09-23 09:02:48 +02:00
OCM fix(federation): Do not overwrite certificate bundle 2024-09-20 00:13:00 +02:00
OCS chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Preview fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-10-08 11:26:53 +02:00
Profile fix(core): profile design and pronouns support 2024-09-18 00:15:19 +02:00
Profiler fix(profiler): clear command does not work 2024-09-20 18:14:33 +02:00
Remote chore: fix some comments 2024-07-29 14:43:27 +08:00
Repair fix: Make user removal more resilient 2024-09-26 20:48:37 +02:00
RichObjectStrings chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Route chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Search chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Security fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-10-08 11:26:53 +02:00
Session fix(setup): ignore long session login during installation 2024-08-27 12:29:42 -01:00
Settings chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Setup chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
SetupCheck chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Share feat(share): make sharelink token length configurable 2024-09-28 08:06:24 +02:00
Share20 fix(share): Return empty string if no label is set 2024-10-14 15:15:51 +02:00
SpeechToText fix(SpeechToTextManager): Throw TaskProcessing Task failed 2024-08-30 10:07:01 +02:00
Support chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SystemTag chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Tagging feat(db): switch from settype to casts 2024-09-15 19:26:58 +02:00
Talk style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
TaskProcessing fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-10-08 11:26:53 +02:00
Teams chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Template chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
TextProcessing fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-10-08 11:26:53 +02:00
TextToImage fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-10-08 11:26:53 +02:00
Translation chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Updater chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
User fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-10-08 11:26:53 +02:00
UserStatus chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AllConfig.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
AppConfig.php fix(config): Mark more app configs sensitive 2024-10-07 10:58:03 +02:00
AppScriptDependency.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AppScriptSort.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
BinaryFinder.php feat: make search path for BinaryFinder customizable. 2024-09-20 17:00:06 +02:00
CapabilitiesManager.php perf(capabilities): Log capabilities providers that are slow 2024-06-21 11:41:22 +02:00
Color.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Config.php fix(config): Suppress error at install time 2024-09-27 17:28:14 -04:00
ContactsManager.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
DatabaseException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DatabaseSetupException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DateTimeFormatter.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
DateTimeZone.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
EmojiHelper.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
EventSource.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
EventSourceFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ForbiddenException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
HintException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Image.php fix(OCP): Fix Image interface 2024-09-02 14:57:17 +02:00
InitialStateService.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Installer.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
LargeFileHelper.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Log.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
MemoryInfo.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
NaturalSort.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
NaturalSort_DefaultCollator.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NavigationManager.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
NeedsUpdateException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NotSquareException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PhoneNumberUtil.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PreviewManager.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
PreviewNotAvailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
RedisFactory.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Repair.php fix: Make user removal more resilient 2024-09-26 20:48:37 +02:00
RepairException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Server.php fix(theming): Use AppConfig for setting background image 2024-09-28 22:44:03 +02:00
ServerContainer.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ServerNotAvailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ServiceUnavailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Setup.php fix: Make user removal more resilient 2024-09-26 20:48:37 +02:00
Streamer.php fix: Allow Streamer to specify type in constructor instead of magin UA handling 2024-09-28 13:18:29 +02:00
StreamImage.php fix(OCP): Fix Image interface 2024-09-02 14:57:17 +02:00
SubAdmin.php fix: Subadmin can access self 2024-10-08 16:24:40 -07:00
SystemConfig.php fix: mark systemconfig value as not being tainted because they are implicitly trusted 2024-08-28 10:27:14 +02:00
TagManager.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Tags.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
TemplateLayout.php fix(rtl): Make clear that the direction is based on language 2024-09-23 17:00:07 +02:00
TempManager.php refactor: migrate dirname to __DIR__ constants 2024-09-15 20:55:23 +02:00
Updater.php chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
URLGenerator.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00