summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix logging data context to fileThomas Citharel2022-05-022-11/+52
| | | | | | | | | | | | | It was only logged when an exception was provided or when using logData (which is not being much used). We make sure the interpolated parameters are not logged. Only tested with file write logger, but shouldn't work differently. Crash reporters always had the context. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #31752 from nextcloud/fix/remove-still-more-iloggerCôme Chilliet2022-05-021-42/+0
|\ | | | | Move away from deprecated ILogger
| * Remove test for removed class SearchResultSorterCôme Chilliet2022-04-281-42/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Extract the EmojiService from user status and add an OCP interfaceJoas Schilling2022-04-282-1/+99
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a unit test for translation with trailing colonJoas Schilling2022-04-261-0/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #32069 from nextcloud/cleanup/allconfig-sqlCarl Schwan2022-04-251-9/+0
|\ | | | | Cleanup AllConfig
| * Cleanup AllConfigCarl Schwan2022-04-221-9/+0
| | | | | | | | | | | | | | | | - Port to QueryBuilder - More typing when possible - Import classes with 'use' Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | 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>
* Fix testJoas Schilling2022-04-201-3/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a metadata service to store file metadataCarl Schwan2022-04-133-7/+99
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31932 from nextcloud/feat/ignore_second_dnVincent Petry2022-04-131-18/+129
|\ | | | | Add settings to ignore second display name in search
| * Add settings to ignore second display name in searchLouis Chemineau2022-04-121-18/+129
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Merge pull request #31907 from nextcloud/enh/noid/tag-remote-as-globalscaleMaxence Lange2022-04-121-0/+12
|\ \ | |/ |/| confirm user is internal to globalscale
| * confirm user is internal to globalscaleMaxence Lange2022-04-121-0/+12
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-111-1/+3
|/ | | | | | | | | | | | | | | | | | shares of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves. - Creates a migration step for the files_sharing app to add the 'password_expiration_time' attribute to the oc_shares table. - Makes share temporary passwords' expiration time configurable via a system value. - Adds a system config value to allow permanent share passwords -Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue See https://github.com/nextcloud/server/issues/31005 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* allow reusing known folder info when getting directory contentsRobin Appelman2022-04-061-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #31194 from ↵Vincent Petry2022-04-061-0/+34
|\ | | | | | | | | nextcloud/feat/allow-to-exclude-groups-from-password-enforcement Allow to disable password policy enforcement for selected groups
| * Allow to disable password policy enforcement for selected groupsCarl Schwan2022-04-051-0/+34
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-authored-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | dont needlessly resolve path when getting internalPath/storage from NodeRobin Appelman2022-04-043-48/+32
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #30823 from nextcloud/work/profilerCarl Schwan2022-04-042-7/+13
|\ \ | | | | | | | | | | | | | | | Built-in profiler This adds the required API for collecting information about requests. This information can then be displayed with the new 'profiler' app.
| * | Add a built-in profiler inside NextcloudCarl Schwan2022-04-042-7/+13
| | | | | | | | | | | | | | | | | | The webui is provided by a seperate application named profiler Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #31679 from ↵Côme Chilliet2022-03-311-0/+40
|\ \ \ | |/ / |/| | | | | | | | nextcloud/bugfix/noid/ensure-string-columns-to-be-maximum-of-4000 Ensure string column limit of 4.000 characters
| * | Ensure string column limit of 4.000 charactersJoas Schilling2022-03-251-0/+40
| | | | | | | | | | | | | | | | | | https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/datatype-limits.html#GUID-963C79C9-9303-49FE-8F2D-C8AAF04D3095 Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #31609 from nextcloud/fix/migrate-away-from-iloggerCôme Chilliet2022-03-2939-140/+131
|\ \ \ | | | | | | | | Migrate from ILogger to LoggerInterface in lib/private
| * | | Fix more ILogger related problems from testsCôme Chilliet2022-03-242-7/+5
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Fix codestyleCôme Chilliet2022-03-241-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Migrate from ILogger to LoggerInterface where needed in the testsCôme Chilliet2022-03-2438-134/+128
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Avoid select with no FROM clause for Oracle in testsCôme Chilliet2022-03-241-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Add octetLength and charLength to function builder, and testsCôme Chilliet2022-03-241-0/+46
| |/ / |/| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Allow reactions also with other combined emojisJoas Schilling2022-03-241-7/+7
|/ / | | | | | | | | | | | | | | Honerful copying the EmojiService from UserStatus for now I think this should be put into a decent place and then reused, but I couldn't find somethin short term before beta1 Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Automatically cut the token name on the first levelJoas Schilling2022-03-231-0/+31
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix unit testsJoas Schilling2022-03-232-73/+58
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Test disabled for now due to multiple reasonsJoas Schilling2022-03-221-0/+1
| | | | | | | | | | | | see https://github.com/nextcloud/server/pull/31580#issuecomment-1069182234 for details Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-idJoas Schilling2022-03-2212-280/+270
|\ \ | |/ |/| Extract request id handling to dedicated class so it can be injected without DB dependency
| * Fix testsJoas Schilling2022-02-238-113/+97
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Adjust and add unit testsJoas Schilling2022-02-234-167/+173
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add profile default setting for adminChristopher Ng2022-03-181-0/+6
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Add global profile toggle configChristopher Ng2022-03-181-5/+5
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Add method to set all account properties from jsonChristopher Ng2022-03-171-0/+25
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Discard duplicate collection name from account serializationChristopher Ng2022-03-171-1/+15
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #31513 from nextcloud/techdebt/noid/enforce-primary-keysJoas Schilling2022-03-151-1/+43
|\ \ | | | | | | Enforce primary keys as they are required to be performant in MySQL c…
| * | Add a test for primary keysJoas Schilling2022-03-101-1/+43
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Overwrite the channelJoas Schilling2022-03-101-9/+15
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow to set a strict-dynamic CSP through the APIJulius Härtl2022-03-092-0/+19
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | type fixesRobin Appelman2022-03-041-4/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | simplify setup of circular SetupManager<->ManagerRobin Appelman2022-03-041-6/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | move logic to decide what to setup to setupmanagerRobin Appelman2022-03-041-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | adjust tests to new fs setupRobin Appelman2022-03-0418-86/+179
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31266 from nextcloud/root-setup-mountproviderRobin Appelman2022-03-042-0/+153
|\ \ | | | | | | move root mount setup to mountproviders
| * | skip localstorage dependend user test when not using local user storageRobin Appelman2022-02-251-0/+12
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>