nextcloud/lib/public
Ferdinand Thiessen d5efd17942
fix(IMimeTypeDetector): use correct return type
In PHP array keys that are integers are always kept as integer,
meaning the type of the key of `$a = ["1" => "one"]` will be integer not
string.
While are hacks to circumvent this (case std object with string keys to
an assoc. array) those hacks are performance wise awefull and also not
needed as in PHP you can always access that element with `$a[1]` or
`$a["1"]`.

So TL;DR;: do not lie about return types.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-18 15:34:28 +01:00
..
Accounts feat: add profile pronouns 2024-09-17 22:20:36 +02:00
Activity fix(icons): Document icon requirements for notifications and activities 2024-09-25 16:47:23 +02:00
App fix: Only keep allowed characters in appid, and flag the method as escaping 2025-02-13 14:21:36 +01:00
AppFramework fix: Migrate all uses of OCP\Template to OCP\Template\ITemplateManager 2025-03-06 15:49:25 +01:00
Authentication fix: Migrate all uses of OCP\Template to OCP\Template\ITemplateManager 2025-03-06 15:49:25 +01:00
BackgroundJob feat(TimedJob): Add debug log about time sensitive jobs with long intervals 2024-10-08 11:26:53 +02:00
Broadcast/Events chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Cache chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Calendar feat(dav): add webhook compatibility for calendar object events 2025-03-07 08:09:53 -08:00
Capabilities chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Collaboration chore: Add proper deprecation dates where missing 2024-09-20 00:46:03 +02:00
Command chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Comments fix(comments): Document supported types and provide psalm typing 2024-10-17 14:27:42 +02:00
Common/Exception chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Config chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Console feat: Add reserved options in a new OCP class so that applications know about them 2024-07-04 16:19:36 +02:00
Contacts style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Dashboard fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
DataCollector chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DB fix: Prevent breaking change in IQueryBuilder 2024-10-17 18:31:44 +02:00
Diagnostics chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DirectEditing chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Encryption chore: Use more gender neutral language 2024-10-14 13:59:24 +02:00
EventDispatcher fix: Make webhook event serialization opt-in with a new interface 2024-06-11 14:10:29 +02:00
Exceptions chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Federation fix(federation): Fix missing protocol on CloudID remote 2024-06-27 11:26:08 +02:00
Files fix(IMimeTypeDetector): use correct return type 2025-03-18 15:34:28 +01:00
Files_FullTextSearch/Model chore: Add SPDX header 2024-05-24 13:11:22 +02:00
FilesMetadata chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
FullTextSearch chore: Use more gender neutral language 2024-10-14 13:59:24 +02:00
GlobalScale chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Group fix(psalm): Fix @throws annotations 2024-09-17 17:18:30 +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
L10N fix(rtl): Make clear that the direction is based on language 2024-09-23 17:00:07 +02:00
LDAP fix(psalm): Fix some newly detected issues 2024-10-21 12:37:59 +02:00
Lock chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Lockdown chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Log chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Mail chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Migration fix: Adjust parameter type usage and add SQLite support 2024-10-17 18:31:44 +02:00
Navigation/Events feat(Navigation): emit dedicated event for loading additional entries 2024-12-18 12:50:11 +01:00
Notification fix(icons): Document icon requirements for notifications and activities 2024-09-25 16:47:23 +02:00
OCM fix(signed-request): removing unstable from public 2024-12-04 09:30:55 -01:00
OCS chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Preview chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Profile fix(core): profile design and pronouns support 2024-09-18 00:15:19 +02:00
Profiler chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Remote chore: fix some comments 2024-07-29 14:43:27 +08:00
RichObjectStrings fix(richtextvalidator): Add missing blurhash 2024-11-18 10:40:49 +01:00
Route chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Search fix(psalm): Fix @throws annotations 2024-09-17 17:18:30 +02:00
Security chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer 2024-10-19 07:57:35 +02:00
Session/Exceptions chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Settings feat(DeclarativeSettings): Allow to implement value getter and setter directly in Form 2024-10-15 20:33:45 +02:00
SetupCheck feat: Make CheckServerResponseTrait public and provide as OCP\SetupCheck\CheckServerResponseTrait 2024-09-16 14:58:21 +02:00
Share feat(sharing): Add shareapi_allow_custom_tokens config 2025-01-15 15:50:43 -08:00
SpeechToText feat(speech-to-text): SpeechToTextManager::transcribeFile calls TaskProcessingManager::runTask 2024-08-30 10:07:01 +02:00
Support chore: Add proper deprecation dates where missing 2024-09-20 00:46:03 +02:00
SystemTag fix(systemtags): prevent tag edition if restricted 2025-03-06 11:57:22 +01:00
Talk chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TaskProcessing docs: fix version number 2024-12-20 10:22:30 +01:00
Teams fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
Template fix: Use a dedicated Exception class for when a template is not found 2025-03-06 15:49:25 +01:00
TextProcessing chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
TextToImage chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Translation chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
User fix: Add missing interface from previous commit and update autoloaders 2025-01-14 13:16:51 +01:00
UserMigration chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
UserStatus chore: Add SPDX header 2024-05-24 13:11:22 +02:00
WorkflowEngine chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AutoloadNotAllowedException.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
BeforeSabrePubliclyLoadedEvent.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Color.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Constants.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Defaults.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Files.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
GroupInterface.php fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
HintException.php refactor: Replace __CLASS__ with ::class references 2024-09-15 21:40:55 +02:00
IAddressBook.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
IAddressBookEnabled.php fix(cardav): only show useres from enabled addressBooks in contacts menu 2025-03-17 11:56:34 +01:00
IAppConfig.php feat(config): implementation of lexicon 2024-12-13 11:08:20 -01:00
IAvatar.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IAvatarManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IBinaryFinder.php fix: use nc's binary finding logic for smb 2024-10-04 15:56:31 +02:00
ICache.php fix: set default TTL for APCu cache as per docs 2024-08-07 19:41:41 +02:00
ICacheFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ICertificate.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ICertificateManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IConfig.php chore(IConfig): getUsersForUserValue is returning a list 2024-09-02 12:27:06 +02:00
IContainer.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IDateTimeFormatter.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
IDateTimeZone.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IDBConnection.php feat(db): add truncateTable method 2025-03-02 10:36:13 -08:00
IEmojiHelper.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IEventSource.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IEventSourceFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IGroup.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IGroupManager.php feat(users): Add support for admin delegation for users and groups management 2024-07-22 17:17:35 +02:00
IImage.php fix(OCP): Fix Image interface 2024-09-02 14:57:17 +02:00
IInitialStateService.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IL10N.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
ILogger.php chore: Remove deprecated ILogger logging functions 2024-09-19 00:37:06 +02:00
Image.php fix(OCP): Fix Image interface 2024-09-02 14:57:17 +02:00
IMemcache.php feat: add negative compare-and-delete to imemcache 2024-08-20 19:34:28 +02:00
IMemcacheTTL.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
INavigationManager.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
IPhoneNumberUtil.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IPreview.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IRequest.php fix: Change UserAgent to *cloud 2025-02-19 18:51:08 +01:00
IRequestId.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IServerContainer.php chore: Remove deprecated ILogger logging functions 2024-09-19 00:37:06 +02:00
ISession.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IStreamImage.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ITagManager.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
ITags.php fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
ITempManager.php refactor(TempManager): Simplify and unify implementations and remove legacy behavior 2025-03-03 11:11:12 +01:00
IURLGenerator.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
IUser.php feat(users): Use -1 for unknown firstLogin instead of setting it to current date 2025-01-07 16:30:22 +01:00
IUserBackend.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IUserManager.php feat(updatenotification): Add a limit to user count from LDAP so save performances 2025-01-14 12:26:24 +01:00
IUserSession.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PreConditionNotMetException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SabrePluginEvent.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
SabrePluginException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Server.php chore: Adjust OCP\Server::get annotation to work with phpstan 2025-02-19 16:50:16 +01:00
ServerVersion.php fix: Properly read updater channel before returning version channel as a fallback 2025-01-24 14:49:58 +01:00
Share.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Share_Backend.php chore: Remove deprecated Share_Helper::generateTarget $exclude parameter 2024-09-20 00:51:00 +02:00
Share_Backend_Collection.php chore: fix some comments 2024-07-29 14:43:27 +08:00
Share_Backend_File_Dependent.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Template.php fix: Deprecate OC_Template, add proper template manager instead 2025-03-06 15:49:25 +01:00
UserInterface.php fix: rebased the branch with master and resolved conflicts 2024-07-08 15:42:55 +05:30
Util.php fix: Fix signatures and types in template related classes 2025-03-06 15:49:25 +01:00