summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #31752 from nextcloud/fix/remove-still-more-iloggerCôme Chilliet2022-05-0218-186/+109
|\ | | | | Move away from deprecated ILogger
| * composer run cs:fixCôme Chilliet2022-04-261-1/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Remove unused class SearchResultSorterCôme Chilliet2022-04-261-77/+0
| | | | | | | | | | | | Was used in ajax/share.php which does not exists anymore Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Remove ILogger usages in lib/private/Files/StorageCôme Chilliet2022-04-263-19/+25
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Migrate more classes of lib/private to LoggerInterfaceCôme Chilliet2022-04-2611-67/+59
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Fix identationCôme Chilliet2022-04-261-4/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Move away from deprecated ILoggerCôme Chilliet2022-04-263-19/+20
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #31703 from nextcloud/techdebt/noid/emojihelper-interfaceJoas Schilling2022-04-293-26/+12
|\ \ | | | | | | Emojihelper interface
| * | Increase check if support reactionsVitor Mattos2022-04-281-1/+1
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | Extract the EmojiService from user status and add an OCP interfaceJoas Schilling2022-04-283-25/+11
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #31758 from nextcloud/fix/utf8-detection-fixblizzz2022-04-291-11/+1
|\ \ \ | | | | | | | | Use sabre function directly rather than duplicating it
| * | | Trying without the useCôme Chilliet2022-04-261-2/+1
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Use sabre function directly rather than duplicating itCôme Chilliet2022-04-261-11/+2
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Make the order of reactions reliableJoas Schilling2022-04-281-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #32202 from nextcloud/fix/layout-theme-arrayJohn Molakvoæ2022-04-281-0/+1
|\ \ \ \
| * | | | Fix `Undefined array key "enabledThemes"` on layout.user.phpJohn Molakvoæ2022-04-281-0/+1
| | |/ / | |/| | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* / | | l10n: Correct a typoValdnet2022-04-281-1/+1
|/ / / | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | Merge pull request #32034 from ↵Carl Schwan2022-04-271-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/satisfy-binary-operation-order Make the binary operation order explicit
| * | | Make the binary operation order explicitJoas Schilling2022-04-211-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | l10n: Fix codeValdnet2022-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | Issue: #32171. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | | Merge pull request #31492 from nextcloud/fix/check-secret-configuredJohn Molakvoæ2022-04-261-0/+9
|\ \ \ \ | |_|_|/ |/| | |
| * | | Only check if secret is set if the nextcloud is installedCarl Schwan2022-03-091-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Also check for instanceid and passwordhashCarl Schwan2022-03-091-5/+7
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Require the secret config to be configuredCarl Schwan2022-03-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If it's not configured the instance will look like it is working but various features will silently break (end to end encryption, setting alternate email and probably more). One issue is that changing the secret from empty to something will break various other stuff (app token). I don't think there is a good way to solve this issue other than breaking early instead of having to handle a painful migration later on. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Fix translations with trailing colonsJoas Schilling2022-04-261-1/+7
| |_|/ |/| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix default fallback theme on setup ang guests pagesJohn Molakvoæ2022-04-261-1/+2
| | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | Merge pull request #32084 from nextcloud/root-setup-groupfoldersVincent Petry2022-04-251-1/+3
|\ \ \ | | | | | | | | only need to setup root for groupfolders
| * | | Only need to setup root for groupfoldersRobin Appelman2022-04-221-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #32069 from nextcloud/cleanup/allconfig-sqlCarl Schwan2022-04-251-69/+64
|\ \ \ \ | | | | | | | | | | Cleanup AllConfig
| * | | | Cleanup AllConfigCarl Schwan2022-04-221-69/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Port to QueryBuilder - More typing when possible - Import classes with 'use' Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | Merge pull request #32033 from nextcloud/fix/metadata-scan-app-dataVincent Petry2022-04-251-1/+22
|\ \ \ \ \ | | | | | | | | | | | | Fix scanning app data with metadata
| * | | | | Fix scanning app data with metadataCarl Schwan2022-04-221-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were listening to change in the appdata folder but an appdata scan didn't setup the file system, so the view was unavailable. **Test plan:** 1. rm -rf data/appdata_...../preview data/<user>/Media 2. occ files:scan-app-data 3. occ files:scan <user> No errors and the files and metadata are correctly removed from the database too. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | Merge pull request #32074 from nextcloud/mysql-search-ignore-index-2Robin Appelman2022-04-252-1/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | tell mysql to ignore the sort index for search queries
| * | | | | | tell mysql to ignore the sort index for search queriesRobin Appelman2022-04-222-1/+12
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #32082 from nextcloud/directory-content-lazy-ownerVincent Petry2022-04-252-8/+157
|\ \ \ \ \ \ | | | | | | | | | | | | | | use a lazy user for the file owner when listing a directory
| * | | | | | Use a lazy user for the file owner when listing a directoryRobin Appelman2022-04-222-8/+157
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only getUID and getDisplayName are called on the file owner objects anyway and we can get this information often without DB request Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #32079 from nextcloud/directory-listing-optimize-add-submountVincent Petry2022-04-251-4/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | optimize adding submount info to directory content
| * | | | | | optimize adding submount info to directory contentRobin Appelman2022-04-221-4/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | no need to loop when we can do a hashtable lookup Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #32112 from nextcloud/bugfix/noid/add-missing-indexVincent Petry2022-04-251-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add missing index for oc_mounts queries
| * | | | | | Fix older migrations to the version patternJoas Schilling2022-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | Get not only time-sensitive next job from list but anyKirill Popov2022-04-241-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before the change webcron used to select **only** time-sensitive tasks. Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
* | | | | | Merge pull request #32076 from nextcloud/cache-storage-info-failed-shareCarl Schwan2022-04-221-2/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | use and cache root storage info if a share can't be resolved
| * | | | | | use and cache root storage info if a share can't be resolvedRobin Appelman2022-04-221-2/+14
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as is a broken share will never be cached Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #32040 from nextcloud/full-setup-only-newJulius Härtl2022-04-222-3/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | only register mounts that are new from providers that are new during a full setup
| * | | | | | only register mounts that are new from providers that are new during a full ↵Robin Appelman2022-04-212-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setup this fixes cases where during the (partial) setup of a shared mount a full setup is triggered Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | cache display names in local memory before external memcacheRobin Appelman2022-04-221-6/+14
| |/ / / / / |/| | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #31751 from nextcloud/theming-providersJohn Molakvoæ2022-04-222-12/+14
|\ \ \ \ \ \
| * | | | | | Add default theming disabled fallbackJohn Molakvoæ2022-04-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | | | | Write body theme selector straight in the templateJohn Molakvoæ2022-04-211-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | | | | Start theming providersJoas Schilling2022-04-212-12/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>