nextcloud/lib/private
Carl Schwan eef973e85b Minor optimizations for saving user personal information
* Remove double hook: the OC_User::changeUser triggers an
OC\AccountManager::userUpdated and the app is already listening to this
signal in its Application definition

* Make createCard not check if an card exists if we already checked
  previously. We also don't try to get the card if the user is disabled
  as we don't use the card in this case

We this change we go from 100 DB requests to 80 DB requests when saving
an user email address.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit c6fd482edf33214a9ad4787e4cac278f871fa7c8)
2022-05-12 21:02:52 +02:00
..
Accounts Minor optimizations for saving user personal information 2022-05-12 21:02:52 +02:00
Activity Update php licenses 2021-06-04 22:02:41 +02:00
App Also allow pre-releases and nightlies when installing from git 2022-03-10 16:10:25 +01:00
AppFramework Trying without the use 2022-04-26 11:10:00 +02:00
Archive Expose ZIP stat information 2022-04-11 17:49:08 +02:00
Authentication Log why the login token can't be used for credentials 2022-04-04 16:23:05 +02:00
Avatar catch storage not available when deleting avatar 2022-02-25 15:14:32 +01:00
BackgroundJob Get not only time-sensitive next job from list but any 2022-04-24 21:55:53 +03:00
Broadcast/Events Update php licenses 2021-06-04 22:02:41 +02:00
Cache Move away from deprecated ILogger 2022-04-26 16:50:47 +02:00
Calendar Move calendar resource/room backend registration to IBootstrap 2022-02-07 12:51:42 +01:00
Collaboration Add setting to ignore email during search 2022-05-03 17:50:29 +02:00
Command Update php licenses 2021-06-04 22:02:41 +02:00
Comments Fix JSON error when comment has no reactions 2022-05-09 09:53:49 +02:00
Console Do not decorate the CLI output if it's explicitly turned off 2022-04-07 14:38:10 +02:00
Contacts/ContactsMenu Fix passing null to strlen 2022-03-24 09:56:44 +00:00
Dashboard Fix identation 2022-04-26 16:50:48 +02:00
DB tell mysql to ignore the sort index for search queries 2022-04-22 13:42:33 +02:00
Diagnostics Add a built-in profiler inside Nextcloud 2022-04-04 10:28:26 +02:00
DirectEditing fix translation source in directEditing templates 2021-12-16 16:30:50 +01:00
Encryption Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +01:00
EventDispatcher Fix codestyle 2022-03-24 16:21:27 +01:00
Federation Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +01:00
Files Make it possible to get the appdata folder using the public API 2022-05-11 23:28:37 +02:00
FullTextSearch Fix ArrayAccess and JsonSerializable return types 2021-11-23 09:28:56 +01:00
GlobalScale Update php licenses 2021-06-04 22:02:41 +02:00
Group Do not ignore return value of deleteGroup from backend 2022-04-04 16:40:07 +02:00
Hooks Update php licenses 2021-06-04 22:02:41 +02:00
Http Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +01:00
IntegrityCheck Fix Iterator return types 2021-11-23 09:28:57 +01:00
KnownUser Update php licenses 2021-06-04 22:02:41 +02:00
L10N Fix translations with trailing colons 2022-04-26 11:06:00 +02:00
LDAP Update php licenses 2021-06-04 22:02:41 +02:00
legacy Merge pull request #32008 from nextcloud/fix/getSize-bool 2022-05-12 21:00:27 +02:00
Lock Cleanup lock related code 2022-05-12 15:09:58 +02:00
Lockdown use searchoperation for storage filter instead of db expression 2021-06-14 16:11:25 +02:00
Log Allow to get custom loggers for syslog, errorlog and systemdlog too 2022-01-19 16:15:14 +01:00
Mail Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +01:00
Memcache Add hit information to profiler 2022-05-05 14:12:44 +02:00
Metadata Merge pull request #32033 from nextcloud/fix/metadata-scan-app-data 2022-04-25 15:50:31 +02:00
Migration Fix codestyle 2022-03-24 16:21:27 +01:00
Notification Fix a few psalm issues and moved back to psalm/phar 4.18 2022-01-12 20:03:06 +01:00
OCS Update php licenses 2021-06-04 22:02:41 +02:00
Preview Merge pull request #32315 from nextcloud/fix/noid/preview-duplicate-folder-creation 2022-05-10 10:11:24 +02:00
Profile Add profile default setting for admin 2022-03-18 02:55:12 +00:00
Profiler Add a built-in profiler inside Nextcloud 2022-04-04 10:28:26 +02:00
Remote Update php licenses 2021-06-04 22:02:41 +02:00
Repair Merge pull request #31737 from nextcloud/fix/oc_oauth2_migration 2022-03-31 13:43:09 +02:00
RichObjectStrings Update php licenses 2021-06-04 22:02:41 +02:00
Route Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +01:00
Search Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +01:00
Security Validate requested length is random string generator 2022-05-12 13:58:18 +02:00
Session Fix ArrayAccess and JsonSerializable return types 2021-11-23 09:28:56 +01:00
Settings Fix some issues with the API documentation 2022-02-17 11:09:06 +01:00
Setup Check style update 2022-01-13 00:19:07 +01:00
Share Remove unused class SearchResultSorter 2022-04-26 16:52:53 +02:00
Share20 Merge pull request #32185 from nextcloud/fix/default-share-provider-oracle 2022-05-12 20:58:05 +02:00
Support Migrate more classes of lib/private to LoggerInterface 2022-04-26 16:52:52 +02:00
SystemTag Update php licenses 2021-06-04 22:02:41 +02:00
Tagging Update php licenses 2021-06-04 22:02:41 +02:00
Talk Add a Talk API for OCP 2022-02-04 08:53:18 +01:00
Template Remove old legacy SvgController and IconsCacher 2022-05-10 23:24:07 +02:00
Updater Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +01:00
User Do not dispatch postSetPassword when setPassword fails 2022-05-05 17:21:23 +02:00
UserStatus Allow to revert the user status of multiple users in 3 queries instead of 3*n 2022-02-15 16:06:33 +01:00
AllConfig.php Cleanup AllConfig 2022-04-22 16:03:29 +02:00
AppConfig.php censor app config values for all integration apps 2022-03-04 13:06:37 +01:00
AppScriptDependency.php Sort app scripts topologically by its dependencies 2021-12-29 16:40:05 +01:00
AppScriptSort.php Sort app scripts topologically by its dependencies 2021-12-29 16:40:05 +01:00
CapabilitiesManager.php Don't inject Bruteforce capability info in the webui 2022-04-07 17:33:29 +02:00
Color.php Update php licenses 2021-06-04 22:02:41 +02:00
Config.php Don't write to config file if config_is_read_only is set 2021-12-13 13:14:17 +01:00
ContactsManager.php Convert strict_search to wildcard property and add psalm docs 2021-12-08 19:24:16 +01:00
DatabaseException.php Update php licenses 2021-06-04 22:02:41 +02:00
DatabaseSetupException.php Migrate HintException to OCP 2021-06-30 15:28:02 -04:00
DateTimeFormatter.php Update php licenses 2021-06-04 22:02:41 +02:00
DateTimeZone.php Move away from deprecated ILogger 2022-04-26 16:50:47 +02:00
EmojiHelper.php Include more emoji chars to test and fixes after include it 2022-04-29 14:00:57 -03:00
ForbiddenException.php Update php licenses 2021-06-04 22:02:41 +02:00
HintException.php Migrate HintException to OCP 2021-06-30 15:28:02 -04:00
InitialStateService.php Update php licenses 2021-06-04 22:02:41 +02:00
Installer.php Migrate more classes of lib/private to LoggerInterface 2022-04-26 16:52:52 +02:00
LargeFileHelper.php Update php licenses 2021-06-04 22:02:41 +02:00
Log.php don't error if we can't load the ExceptionSerializer for early exceptions 2022-03-14 17:12:53 +01:00
MemoryInfo.php Update php licenses 2021-06-04 22:02:41 +02:00
NaturalSort.php Migrate more classes of lib/private to LoggerInterface 2022-04-26 16:52:52 +02:00
NaturalSort_DefaultCollator.php Update php licenses 2021-06-04 22:02:41 +02:00
NavigationManager.php Let apps toggle an unread counter on app icons 2021-06-16 17:12:56 +02:00
NeedsUpdateException.php Update php licenses 2021-06-04 22:02:41 +02:00
NotSquareException.php Update php licenses 2021-06-04 22:02:41 +02:00
PreviewManager.php Send images to imaginary docker to generate previews 2022-03-17 08:24:07 +01:00
PreviewNotAvailableException.php Update php licenses 2021-06-04 22:02:41 +02:00
RedisFactory.php Add event logging for db and redis connection 2022-02-28 11:24:41 +01:00
Repair.php Merge pull request #31609 from nextcloud/fix/migrate-away-from-ilogger 2022-03-29 09:39:38 +02:00
RepairException.php Update php licenses 2021-06-04 22:02:41 +02:00
Search.php Update php licenses 2021-06-04 22:02:41 +02:00
Server.php Merge pull request #32077 from nextcloud/cleanup/lock 2022-05-12 20:57:38 +02:00
ServerContainer.php Update php licenses 2021-06-04 22:02:41 +02:00
ServerNotAvailableException.php Update php licenses 2021-06-04 22:02:41 +02:00
ServiceUnavailableException.php Update php licenses 2021-06-04 22:02:41 +02:00
Setup.php Remove default token which is deprecated since Nextcloud 13 2021-12-01 18:41:31 +01:00
Streamer.php Add X-Accel-Buffering header to downloads 2022-01-17 08:17:12 +00:00
StreamImage.php Send images to imaginary docker to generate previews 2022-03-17 08:24:07 +01:00
SubAdmin.php Update php licenses 2021-06-04 22:02:41 +02:00
SystemConfig.php Censor more configs 2022-03-01 21:08:16 +01:00
TagManager.php Update php licenses 2021-06-04 22:02:41 +02:00
Tags.php Update php licenses 2021-06-04 22:02:41 +02:00
TemplateLayout.php Fix Undefined array key "enabledThemes" on layout.user.php 2022-04-28 08:55:46 +02:00
TempManager.php Update php licenses 2021-06-04 22:02:41 +02:00
Updater.php Do not print verbose info about app updates if there are none 2021-11-18 09:11:22 +01:00
URLGenerator.php Check style update 2022-01-13 00:19:07 +01:00