summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add config and fix seleniumJohn Molakvoæ2022-10-191-0/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix LostController testCôme Chilliet2022-10-181-2/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #34379 from nextcloud/fix/transactional-session-token-renewalChristoph Wurst2022-10-181-2/+18
|\ | | | | Run session token renewals in a database transaction
| * Run session token renewals in a database transactionChristoph Wurst2022-10-181-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | The session token renewal does 1) Read the old token 2) Write a new token 3) Delete the old token If two processes succeed to read the old token there can be two new tokens because the queries were not run in a transaction. This is particularly problematic on clustered DBs where 1) would go to a read node and 2) and 3) go to a write node. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #34609 from nextcloud/enh/noid/always-enable-themingblizzz2022-10-182-2/+12
|\ \ | |/ |/| set theming app to alwaysEnabled
| * set theming app to alwaysEnabledszaimen2022-10-172-2/+12
| | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | Merge pull request #31499 from nextcloud/bugfix/empty-secretCarl Schwan2022-10-171-3/+15
|\ \ | | | | | | Add fallback routines for empty secret cases
| * | Fix unit testsCarl Schwan2022-03-101-3/+15
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix testsJohn Molakvoæ2022-10-141-0/+19
| |/ |/| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Merge pull request #34437 from nextcloud/feat/theming-default-system-valueSimon L2022-10-132-3/+3
|\ \ | | | | | | Use default system primary
| * | Allow to pick custom colourJohn Molakvoæ (skjnldsv)2022-10-132-3/+3
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Make CI green againJoas Schilling2022-10-132-43/+46
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Remove long depreated AppFramework/Db/MapperRoeland Jago Douma2022-10-102-506/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #32635 from andyxheli/patch-3blizzz2022-10-051-1/+5
|\ \ | | | | | | Fix User profile picture when performing the search
| * | Update ContactsStoreTest.phpAndy Xheli2022-10-031-1/+5
| | | | | | | | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
* | | Use brand color for background only and keep accessible color as color primaryChristopher Ng2022-10-052-2/+23
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Merge pull request #33566 from nextcloud/fopen-not-found-rescanblizzz2022-10-011-0/+19
|\ \ \ | | | | | | | | trigger a rescan when trying to fopen a file that exists in cache but not on disk
| * | | add test for trying to fopen a file which no longer exists on diskRobin Appelman2022-09-291-0/+19
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #34329 from nextcloud/fix/cleanup-long-time-deprecated-stuffCôme Chilliet2022-10-011-2/+2
|\ \ \ \ | | | | | | | | | | Remove some constants and functions which have been long deprecated
| * | | | Fix ContactsManagerTest testCôme Chilliet2022-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | Remove some constants and functions which have been long deprecatedCôme Chilliet2022-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Merge pull request #34038 from nextcloud/fix/migrate-TagMapper-to-QBMapperChristoph Wurst2022-09-301-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Migrate TagMapper to QBMapper instead of deprecated Mapper
| * | | | Inform ServerTest that TagMapper now uses QBMapperCôme Chilliet2022-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Cleanup tags and Share componentCarl Schwan2022-09-292-76/+98
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Port to LoggerInterface - Use IDBConnection and IQueryBuilder instead of raw SQL and OC_DB - Use IEventListener instead of hooks - Remove the now unused OC_DB and OC_DB_StatementWrapper legacy utils Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Fix various theming bugsChristopher Ng2022-09-282-14/+14
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | Move avatar clearing in the backgroundCarl Schwan2022-09-261-3/+7
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | remove getDefaultInstallationBundleArthur Schiwon2022-09-221-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | - because all apps are shipped now it was returning an empty result Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | remove InstallCoreBundle repair stepArthur Schiwon2022-09-221-142/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - core bundle was empty and thus removed - all former apps installed this way are shipped Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | remove Core BundleArthur Schiwon2022-09-222-41/+1
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Fix tests for nested v4 in v6Côme Chilliet2022-09-201-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Harden tests for local IP detection in URLsCôme Chilliet2022-09-202-0/+20
|/ / / | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #34072 from nextcloud/enh/noid/default-enabled-2Vincent Petry2022-09-151-1/+1
|\ \ \ | | | | | | | | set defaultEnabled in shipped.json
| * | | Increase timeout for apps managementVincent Petry2022-09-151-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | | fix using FSEEK_END with SeekableHttpStream to get file sizeRobin Appelman2022-09-153-0/+33
|/ / / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add accessibility entry in user menuVincent Petry2022-09-142-7/+35
| | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | Update avatars on updateCarl Schwan2022-09-094-7/+6
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #33788 from nextcloud/improve-recentCarl Schwan2022-09-081-4/+4
|\ \ \ | | | | | | | | Improve getting recent files performance
| * | | Filter out old files when trying to get recent filesCarl Schwan2022-09-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only do so when asking for less than 100 files and having an offset equal to 0. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Merge pull request #33906 from nextcloud/fix/fix-calendar-tests-getTimestampblizzz2022-09-081-34/+37
|\ \ \ \ | | | | | | | | | | Fix Calendar tests mocking a non-existant method.
| * | | | Fix iMIP testsAnna Larch2022-09-081-16/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
| * | | | Fix trying to use MockBuilder instead of MockCôme Chilliet2022-09-061-6/+12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | Fix Calendar tests mocking a non-existant method.Côme Chilliet2022-09-051-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no ITimeFactory::getTimestamp method, only getTime Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Merge pull request #33600 from nextcloud/lazy-quotablizzz2022-09-071-84/+0
|\ \ \ \ \ | | | | | | | | | | | | get quota for user only when needed
| * | | | | get quota for user only when neededRobin Appelman2022-09-011-84/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | always apply the wrapper but have the wrapper get the quota lazily only when an operation where quota is applied is performed Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | More cleaning up of the login componentCarl Schwan2022-09-061-2/+2
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move css in scopped vue components - Port to NcNoteCard all the warning messages Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | Merge pull request #33790 from nextcloud/Valdnet-patch-2Simon L2022-09-023-3/+3
|\ \ \ \ \ | | | | | | | | | | | | l10n: Spelling unification
| * | | | | fix testsszaimen2022-09-023-3/+3
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | | | Maximize browser window before running the testsDaniel Calviño Sánchez2022-09-012-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By the default the browser window is not maximized, but opened with a size of 1050x978px. In the Files app, when the navigation bar and the side bar are both open, with the previous design that width caused the file name to be very very narrow, but still clickable. However, with the updated design the file name is too narrow and no longer clickable, which breaks several acceptance tests that descend into subfolders. To solve that now the browser window is maximized before running the tests, which makes the window wide enough (1360px) to show the file name and make it clickable. This commit also removes a step to close the sidebar that was recently added to address the problem mentioned above in a previous pull request. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | | Wait for the new user form to be visibleDaniel Calviño Sánchez2022-09-011-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before it was checked if the new user form was visible, but it was not waited for it. It seems that it can happen that the new user form is in the DOM, and therefore found, but not visible yet when the tests run, which caused them to (randomly) fail. Due to that now it is explicitly waited until it is visible, rather than assuming that it is visible as soon as it appears in the DOM. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | | Adjust theming acceptance testsJulius Härtl2022-09-012-10/+10
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>