summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #37452 from nextcloud/fix/missing-interface-methodsJulien Veyssier2023-03-304-5/+4
|\ | | | | Add missing interface methods
| * Use implementations instead of interfaces for accessing private methodsjld31032023-03-304-5/+4
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | Merge pull request #37378 from nextcloud/enh/noid/fix-avatar-generationSimon L2023-03-301-0/+5
|\ \ | | | | | | fix the avatar generation on Alpine Linux
| * | another approach to fixing the avatar generationSimon L2023-03-291-0/+5
| | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | Merge pull request #37425 from ↵Julius Härtl2023-03-301-3/+3
|\ \ \ | |_|/ |/| | | | | nextcloud/fix/fix-since-version-number-for-app-loading
| * | Fix version number in phpdoc for app loading refactorCôme Chilliet2023-03-271-3/+3
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #37448 from ↵Arthur Schiwon2023-03-301-0/+6
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/12281/hide-deleted-shared-groupfolder-files hide shared files located in group folder's trash bin
| * | | hide shared files located in group folder's trash binArthur Schiwon2023-03-281-0/+6
| |/ / | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / / Add label for logo linkChristopher Ng2023-03-293-18/+32
|/ / | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #37198 from nextcloud/bugfix/noid/reference-image-logJoas Schilling2023-03-271-0/+3
|\ \ | | | | | | fix(references): Do not log errors on 404 responses of opengraph image fetching
| * | fix(references): Do not log errors on 404 responses of opengraph image fetchingJulius Härtl2023-03-131-0/+3
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #36810 from nextcloud/setup-user-onetime-before-mountsRobin Appelman2023-03-241-9/+7
|\ \ \ | |_|/ |/| | do onetime user setup before getting any mount from providers
| * | do onetime user setup before getting any mount from providersRobin Appelman2023-02-221-9/+7
| | | | | | | | | | | | | | | | | | this fixes a race condition where wrappers weren't properly applied if when a mount provider creates the storage instance one mountpoint creation instead of lazily Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #37234 from cob2p/bugfix/typoSimon L2023-03-231-1/+1
|\ \ \ | | | | | | | | Fix the typo in comments
| * | | Fix the typo in commentsCRA Yoshihito Nakatani2023-03-151-1/+1
| | | |
* | | | Merge pull request #36636 from nextcloud/fix/oc-image-getimagesizeSimon L2023-03-231-2/+2
|\ \ \ \ | | | | | | | | | | fix OC_Image: Prevent E_WARNING from getimagesize*
| * | | | fix OC_Image: Prevent E_WARNING from getimagesize*Marcel Klehr2023-03-161-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | | | Fix RedisClusterGit'Fellow2023-03-221-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | | Move from DEL to UNLINKGit'Fellow2023-03-221-3/+3
| | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | | Merge pull request #37334 from ↵Joas Schilling2023-03-221-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/mark-recording-servers-as-sensitive-due-to-secret fix(security): Mark recording_servers key appconfig as private as it …
| * | | | | fix(security): Mark recording_servers key appconfig as private as it ↵Joas Schilling2023-03-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contains a secret Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #36057 from nextcloud/feat/esm-js-scriptsJulius Härtl2023-03-222-40/+69
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | fix(OC/Template): Allow `.mjs` files within custom app pathsFerdinand Thiessen2023-02-221-29/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If apps are installed in non standard app paths, we need to check `$app_path/$script` instead of only doing so for translations. Without this it would fallback to `.js` extension even if a `.mjs` file exists. Also tried make the code more selfe explaining. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
| * | | | | feat(OC/Template): Add `type="module"` for ES6 scriptsFerdinand Thiessen2023-02-221-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
| * | | | | feat(template): Allow `JSResourceLocator` to find ES6 scriptsFerdinand Thiessen2023-02-221-17/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable module js (ES6) support on the `JSResourceLocator`. This changes `JSResourceLocator` to look for `.mjs` files first to allow applications to provide a fallback `.js` for older Nextcloud versions. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
| * | | | | fix(OC/Template): Remove usage of deprecated functions in `JSResourceLocator`Ferdinand Thiessen2023-02-221-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move from `\OC_App::getAppPath` to `IAppManager::getAppPath`. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | | | | | Merge pull request #34773 from ↵Côme Chilliet2023-03-211-1/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/artonge/feat/dispatch_entry_removed_event_for_all_entries Dispatch event for all removed entries
| * | | | | | Dispatch event for all remove entryLouis Chemineau2023-01-311-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | | Small cleanups for AppManagerCôme Chilliet2023-03-202-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | Move loadApps to the AppManagerCôme Chilliet2023-03-202-32/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | Move isType to AppManagerCôme Chilliet2023-03-202-28/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | Avoid calling Server::get more times than necessary in loadAppCôme Chilliet2023-03-201-29/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | Strong type private properties and methods in AppManagerCôme Chilliet2023-03-201-43/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | Switch away from Server::get for AppManager and logger in loadAppCôme Chilliet2023-03-201-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | Move loadApp function to the AppManagerCôme Chilliet2023-03-202-129/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | Merge pull request #36928 from ↵Joas Schilling2023-03-162-16/+54
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/bruteforce-protection-attribute feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute and allow multiple
| * | | | | | | Add a debug message when throttling without definingJoas Schilling2023-03-082-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | | | | feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute ↵Joas Schilling2023-03-081-5/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and allow multiple Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | | perf(autoloader): Drop legacy class autoloaderChristoph Wurst2023-03-161-2/+0
| |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation says apps should use PSR-4 to get their classes loaded. The legacy PSR-0 is still in place and has a negative impact on performance. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | | Merge pull request #35561 from nextcloud/create-user-transactionJulius Härtl2023-03-151-11/+18
|\ \ \ \ \ \ \
| * | | | | | | Create the database user in a transactionThomas Citharel2023-03-151-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In OC\User\Manager::createUserFromBackend the newly created user is read using getUserObject($uid, $backend) but that can cause causal read issues (wrote in DB primary, not yet in secondary). In OC\User\Database user backend the user cache is unset after the insert, so it can't be used by getRealUID() (which is called by getUserObject()). To avoid that we make sure the user cache is repopulated in a transaction. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | | | | Merge pull request #37227 from nextcloud/h1-dav-brute-force-protectionArthur Schiwon2023-03-151-10/+16
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | chore: use local variable for remote address
| * | | | | | | chore: use local variable for remote addressDaniel Kesselberg2023-03-101-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | | | | Merge pull request #36033 from ↵Côme Chilliet2023-03-152-1/+13
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | nextcloud/invalidateTokensWhenDeletingOAuthClientMaster [master] invalidate existing tokens when deleting an oauth client
| * | | | | | | public interface to invalidate tokens of userArtur Neumann2023-03-142-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* | | | | | | | Merge pull request #33061 from ibpl/master-IB#1121253Côme Chilliet2023-03-141-7/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Paths added to messages and message cleanup
| * \ \ \ \ \ \ \ Merge masterPawel Boguslawski2022-11-04139-1263/+2724
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Update Folder.phpPaweł Bogusławski2022-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
| * | | | | | | | | Update Folder.phpPaweł Bogusławski2022-07-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
| * | | | | | | | | Update lib/private/Files/Node/Folder.phpPaweł Bogusławski2022-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>