aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | fix(userconfig): Don't fail the precondition if the value is not set at allbugfix/47658/dont-fail-precondition-if-unsetJoas Schilling2024-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | feat(Mailer): add "null" SMTP transport modeThomas Lehmann2024-11-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | == Goal Allow disabling mail delivery altogether. == Usecase If mails ought to be send by other means than rendering messages from templates and sending them via SMTP-like protocols. Example: listening to specific Nextcloud events and pass parameters to a centralized (i.e. REST-based) API that sends e-mails. Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
* | | | | chore(Mailer): remove no-op local variable initilizationThomas Lehmann2024-11-191-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IDE hinted the value is immediately overwritten. Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
* | | | | feat(Mailer): implement cachingThomas Lehmann2024-11-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently $this->instance is never set, so the code is no-op. This brings back caching of the instance. Caching broke with be7db1573dc8c6e7309ec9db124a7a74b8b41199 Swift to \Swift_Mailer as abstraction Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
* | | | | feat(user-prefs): renaming to IUserConfigenh/noid/user-preferencesMaxence Lange2024-11-183-207/+219
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | feat(user-prefs): switching to NCU/Maxence Lange2024-11-183-9/+9
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | feat(user-prefs): iterator instead of array on searchMaxence Lange2024-11-183-74/+47
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | fix(user-prefs): adding sensitive and indexed as flagsMaxence Lange2024-11-182-135/+306
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | feat(user-prefs): IUserPreferencesMaxence Lange2024-11-183-189/+1724
| |/ / / |/| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | fix(apps-store): Remove apps from force-enabled state when uninstalledfix/app-store-remove-force-enableFerdinand Thiessen2024-11-181-15/+19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | If an app is force-enabled and then uninstalled the force-enabled state was kept. This is now removed, so when the app should be re-installed the compatibility should be reevaluated. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | feat(Dispatcher): Add debug log for controller methods returning raw data ↵feat/dispatcher/log-raw-response-dataprovokateurin2024-11-151-0/+4
| | | | | | | | | | | | | | | | | | not wrapped in Response Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #49260 from ↵Julien Veyssier2024-11-141-1/+5
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/noid/textprocessing-schedule-taskprocessing-provider [textprocessing] Fix: Accept scheduling a task if there are equivalent taskprocessing providers only
| * | | fix(textprocessing): accept scheduling a task if there are equivalent ↵fix/noid/textprocessing-schedule-taskprocessing-providerJulien Veyssier2024-11-131-1/+5
| |/ / | | | | | | | | | | | | | | | taskprocessing providers only Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | Merge pull request #48675 from georglauterbach/masterCôme Chilliet2024-11-141-2/+5
|\ \ \ | | | | | | | | DNS: do not query CNAME if A succeeded already
| * | | fix: remove superflous linegeorglauterbach2024-11-091-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
| * | | fix: do not query CNAME if A succeeded alreadygeorglauterbach2024-11-061-1/+5
| | | | | | | | | | | | | | | | Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
* | | | fix(profile): add legacy root for old `core.ProfilePage.index`skjnldsv2024-11-141-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | | chore(profile): move profile app from core to appsskjnldsv2024-11-145-3/+5
| |/ / |/| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | feat(search): reduce search providers via core app config ↵artonge/local/IONOS/feat/config_unified_search_providers_allowedMisha M.-Kupriyanov2024-11-131-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unified_search.providers_allowed reduce search providers by setting core config value to unified_search.providers_allowed = [ 'files', 'setting' ] ./occ config:app:set --value '["files","settings"]' --type array core unified_search.providers_allowed Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
* | | fix(Middleware): log deprecation when annotation was actually usedfix/noid/deprecation-correct-caseArthur Schiwon2024-11-121-1/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #48736 from nextcloud/joblist-build-error-logAndy Scherzinger2024-11-111-0/+1
|\ \ \ | | | | | | | | fix: log a warning when we can't build a background job
| * | | fix: log a warning when we can't build a background jobjoblist-build-error-logRobin Appelman2024-10-161-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | fix(ros): Copy better typing information from Notifications appbugfix/noid/copy-better-typing-from-notifications-appJoas Schilling2024-11-111-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #49035 from nextcloud/jtr/fix-streamer-zip64John Molakvoæ2024-11-091-1/+1
|\ \ \ \
| * | | | fix(streamer): zip64 should work on 32-bit env nowjtr/fix-streamer-zip64Josh2024-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Since DeepDiver1975/PHPZipStreamer#11 was merged Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | | | Merge pull request #49087 from AIlkiv/getting-default-timezone-for-local-timeJohn Molakvoæ2024-11-091-1/+1
|\ \ \ \ \
| * | | | | fix: Getting default timezone for local timeAndrii2024-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Andrii Ilkiv <a.ilkiv.ye@gmail.com>
* | | | | | Merge pull request #49146 from nextcloud/fix/undefined-responseJohn Molakvoæ2024-11-081-4/+5
|\ \ \ \ \ \
| * | | | | | chore: use `$this->logger` and prevent Server::getfix/undefined-responseskjnldsv2024-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
| * | | | | | Fix Undefined variable: response notice in case of non-404 errorVictor Dubiniuk2024-11-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | | | | | fix(util): Correctly create Reflection of method for PHP 8.3+Joas Schilling2024-11-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | fix(logger): Fix closure detection when filtering sensitive parametersJoas Schilling2024-11-081-1/+4
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | feat: add iMip Request HandlingSebastianKrupinski2024-11-071-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | | | | | test: add some minimal testing for metadata storagemetadata-storage-idRobin Appelman2024-11-073-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | fix: smuggle storage id to metadata insert queriesRobin Appelman2024-11-073-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #49116 from nextcloud/bugfix/noid/validate-parameter-keysJoas Schilling2024-11-071-18/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix(richobjectstrings): Add missing placeholder validation
| * | | | | | fix(richobjectstrings): Improve array typeJoas Schilling2024-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | | | fix(richobjectstrings): Add missing placeholder validationJoas Schilling2024-11-061-18/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | Merge pull request #49114 from nextcloud/fix/qbmapper/find-entities-return-typeJoas Schilling2024-11-071-3/+3
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | fix(QBMapper): Fix findEntities() return type to be list<T>
| * | | | | | fix(QBMapper): Fix findEntities() return type to be list<T>fix/qbmapper/find-entities-return-typeprovokateurin2024-11-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | | | feat(appconfig): Only log lazy-appconfig when an app can do something about ittechdebt/noid/more-useful-debug-logsJoas Schilling2024-11-061-16/+18
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #49039 from nextcloud/jtr/fix-ipv6-zone-ids-link-localJohn Molakvoæ2024-11-063-4/+6
|\ \ \ \ \ \
| * | | | | | fix(net): Add IPv6 zone handling to IpAddressClassifierJosh2024-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
| * | | | | | fix(security): Handle IPv6 zone IDs used in link-local addressesJosh2024-10-311-1/+2
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
| * | | | | | fix(security): Handle IPv6 zone IDs used in link-local addressesJosh2024-10-311-2/+3
| | |/ / / / | |/| | | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | | | | Merge pull request #49015 from nextcloud/fix/openapi/array-syntaxJohn Molakvoæ2024-11-0612-26/+31
|\ \ \ \ \ \
| * | | | | | fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-0512-26/+31
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | | Merge pull request #48721 from nextcloud/feat/allow-getter-setter-decl-forsJohn Molakvoæ2024-11-061-10/+43
|\ \ \ \ \ \
| * | | | | | feat(DeclarativeSettings): Allow to implement value getter and setter ↵Ferdinand Thiessen2024-10-151-10/+43
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directly in Form Instead of implementing the form class, a setter event listener and a getter event listener, this allows to simply write a basic class that provides `getSchema`, `setValue` and `getValue` functions. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | | fix: Handle exception when clearing previously removed two factor tokensclear-pending-two-factor-tokens-also-from-configurationDaniel Calviño Sánchez2024-11-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a token was already removed from the database but not from the configuration clearing the tokens will try to remove it again from the database, which caused a DoesNotExistException to be thrown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>