aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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-302-7/+7
|\ \ \ | |_|/ |/| | | | | nextcloud/fix/fix-since-version-number-for-app-loading
| * | Fix version number in phpdoc for app loading refactorCôme Chilliet2023-03-272-7/+7
| | | | | | | | | | | | 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>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-302-20/+20
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Add label for logo linkChristopher Ng2023-03-294-18/+41
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Merge pull request #36667 from nextcloud/fix/ocm-validation-errorsKate2023-03-291-2/+5
|\ \ \ | |/ / |/| | Fix OCM validation errors
| * | Fix OCM validation errorsjld31032023-02-101-2/+5
| | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@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 #36665 from nextcloud/fix/36539Julien Veyssier2023-03-221-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Always set displayname and display-name for user data
| * | | | | | Always set displayname and display-name for user datajld31032023-02-101-0/+2
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.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 #37305 from ↵Julius Härtl2023-03-211-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/security/log-failing-strict-cookie-check fix(security): Log failing strict cookie check
| * | | | | | | fix(security): Log failing strict cookie checkChristoph Wurst2023-03-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error is silent otherwise and makes it very hard to debug on a production system. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | | | 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>
* | | | | | | | | Merge pull request #37306 from nextcloud/bugfix/37277/caldav-syncArthur Schiwon2023-03-211-7/+11
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | fix(session): Fix DAVx5 sync problems by partial reverting session changes
| * | | | | | | | fix(session): Fix DAVx5 sync problems by partial reverting session changesJoas Schilling2023-03-201-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temporary disabled the short cut again to solve issues with CalDAV/CardDAV clients like DAVx5 that use cookies and need a session. See https://github.com/nextcloud/server/issues/37277#issuecomment-1476366147 and the other comments for further information. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | | | Small cleanups for AppManagerCôme Chilliet2023-03-203-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | | Move loadApps to the AppManagerCôme Chilliet2023-03-203-32/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | | Move isType to AppManagerCôme Chilliet2023-03-203-28/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-203-129/+158
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | Merge pull request #36928 from ↵Joas Schilling2023-03-166-17/+109
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-085-6/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-166-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | Reduce listJoas Schilling2023-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>