aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* test: add explicitly enabled task type unit testJana Peper2024-12-181-1/+36
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* test: add disabled task type unit testJana Peper2024-12-181-7/+24
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* Merge pull request #49833 from nextcloud/chore/noid/coverageDaniel2024-12-171-0/+1
|\ | | | | chore: ignore vendor-bin for coverage
| * chore: ignore vendor-bin for coverageDaniel Kesselberg2024-12-161-0/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | fix(lexicon): renaming and minor fixesfeature/noid/config-lexiconMaxence Lange2024-12-131-4/+0
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | feat(config): implementation of lexiconMaxence Lange2024-12-137-2/+314
|/ | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(tests): Adapt ManagerTest to change in Exception class usedfix/remove-share-hint-exception-wrappingCôme Chilliet2024-12-121-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #48612 from nextcloud/fix/activity-log-for-favorites-in-davJulius Knorr2024-12-121-2/+3
|\ | | | | add activity logging for favorites in dav
| * refactor(tags): move favorite event dispatching to tags.phpgrnd-alt2024-12-031-2/+3
| | | | | | | | Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
* | Merge pull request #40394 from nextcloud/updater-change-mimetype-objectstoreJohn Molakvoæ2024-12-111-0/+35
|\ \
| * | fix: fix mimetype not being updated when changing file extention on object storeupdater-change-mimetype-objectstoreRobin Appelman2024-12-051-0/+35
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | feat(systemtags): allow setting color with occskjnldsv2024-12-061-3/+5
| | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | feat(systemtags): add color support backendskjnldsv2024-12-061-20/+28
|/ / | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | test(View): Copy preserves contentLouis Chemineau2024-12-031-0/+8
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix(files): Correctly copy the cache information on copy operationsLouis Chemineau2024-12-031-0/+1
|/ | | | | | Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder. Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #49515 from ↵Joas Schilling2024-11-281-3/+38
|\ | | | | | | | | nextcloud/bugfix/noid/boolean-false-in-multipart-form-data fix(controller): Fix false booleans in multipart/form-data
| * fix(controller): Fix false booleans in multipart/form-dataJoas Schilling2024-11-281-3/+38
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #49493 from ↵John Molakvoæ2024-11-281-5/+14
|\ \ | | | | | | | | | nextcloud/artonge/feat/pwd_confirmation_allow_set_period
| * | test:(PasswordConfirmationMiddleware): Fix constructor callLouis Chemineau2024-11-281-5/+14
| |/ | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* / fix(migration): Decrypt ownCloud secrets v2Christoph Wurst2024-11-281-0/+13
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #49073 from nextcloud/feat/files_sharing/co-ownerKate2024-11-252-4/+183
|\
| * fix(Share20\Manager): Ensure node is still accessible when checking shareprovokateurin2024-11-251-4/+29
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
| * feat(Share20\Manager): Return all shares on IShareOwnerlessMountprovokateurin2024-11-251-0/+69
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
| * fix(Share20\DefaultShareProvider): Return link shares in getSharesByPath()provokateurin2024-11-251-0/+85
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #49433 from ↵Louis2024-11-251-9/+0
|\ \ | |/ |/| | | | | nextcloud/artonge/feat/maintenance_warn_encrypt_all feat: Warn about maintenance in EncryptAll command
| * feat: Warn about maintenance in EncryptAll commandartonge/feat/maintenance_warn_encrypt_allLouis Chemineau2024-11-251-9/+0
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix: Wrap partial cache entry in CacheEntryartonge/fix/getting_cache_entryLouis Chemineau2024-11-211-3/+4
|/ | | | | | | | Because it is returned here: https://github.com/nextcloud/server/blob/7b7d07c5750583ab3a7b29112af475f5c8891143/lib/private/Files/Cache/Cache.php#L136-L137 And some implementation got stricter: https://github.com/nextcloud/groupfolders/blob/df95bf6ba807da5171de91108879b6d8aa9f3611/lib/Mount/RootEntryCache.php#L23-L28 Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(Mailer): add "null" SMTP transport modeThomas Lehmann2024-11-191-0/+20
| | | | | | | | | | | | | | | | == 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>
* feat(Mailer): implement cachingThomas Lehmann2024-11-191-0/+6
| | | | | | | | | | | | | 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-181-165/+165
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(user-prefs): switching to NCU/Maxence Lange2024-11-181-4/+4
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(user-prefs): iterator instead of array on searchMaxence Lange2024-11-181-10/+10
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(user-prefs): adding sensitive and indexed as flagsMaxence Lange2024-11-181-59/+62
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(user-prefs): IUserPreferencesMaxence Lange2024-11-182-3/+1836
| | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #48675 from georglauterbach/masterCôme Chilliet2024-11-141-2/+3
|\ | | | | DNS: do not query CNAME if A succeeded already
| * fix: do not query CNAME if A succeeded alreadygeorglauterbach2024-11-061-2/+3
| | | | | | | | Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
* | fix(profile): make sure the app cannot be disabled as it was in coreskjnldsv2024-11-142-2/+12
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | chore(profile): move profile app from core to appsskjnldsv2024-11-141-78/+0
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | feat: add iMip Request HandlingSebastianKrupinski2024-11-071-10/+336
| | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | test: add some minimal testing for metadata storagemetadata-storage-idRobin Appelman2024-11-071-0/+98
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(richobjectstrings): Add missing placeholder validationJoas Schilling2024-11-061-1/+46
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #49039 from nextcloud/jtr/fix-ipv6-zone-ids-link-localJohn Molakvoæ2024-11-062-0/+3
|\ \
| * | fix(tests): Add IpAddressClassifier v6 zone ID testjtr/fix-ipv6-zone-ids-link-localJosh2024-11-041-0/+1
| | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
| * | fix(tests): Add RemoteAddress v6 zone ID testJosh2024-11-041-0/+2
| | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | Merge pull request #48721 from nextcloud/feat/allow-getter-setter-decl-forsJohn Molakvoæ2024-11-061-0/+76
|\ \ \
| * | | feat(DeclarativeSettings): Allow to implement value getter and setter ↵Ferdinand Thiessen2024-10-151-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | fix: Clear pending two factor tokens also from configurationDaniel Calviño Sánchez2024-11-051-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise as the tokens were removed from the database but not from the configuration the next time that the tokens were cleared the previous tokens were still got from the configuration, and trying to remove them again from the database ended in a DoesNotExistException being thrown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Merge pull request #47425 from ↵Côme Chilliet2024-11-041-3/+187
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | nextcloud/fix/avoid-invalid-share-on-transfer-ownership fix: promote re-shares when deleting the parent share
| * | | fix: Use getRelativePath method to check if node is inside folderfix/avoid-invalid-share-on-transfer-ownershipCôme Chilliet2024-10-141-10/+14
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>