John Molakvoæ
2d98cd1daf
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 year ago
Côme Chilliet
1cb0c2ac52
Fix LostController test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Christoph Wurst
c5922e67d3
Run session token renewals in a database transaction
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>
1 year ago
szaimen
1d17a0843a
set theming app to alwaysEnabled
Signed-off-by: szaimen <szaimen@e.mail.de>
1 year ago
John Molakvoæ
d77e832223
Fix tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 year ago
John Molakvoæ (skjnldsv)
db831359d3
Allow to pick custom colour
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 year ago
Joas Schilling
799f660df0
Make CI green again
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Joas Schilling
e674087ebf
Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Roeland Jago Douma
60ee874485
Remove long depreated AppFramework/Db/Mapper
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 year ago
Christopher Ng
7044191eb6
Use brand color for background only and keep accessible color as color primary
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 year ago
Andy Xheli
ae6a7c88a0
Update ContactsStoreTest.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
1 year ago
Côme Chilliet
4123eeeaa3
Fix ContactsManagerTest test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
5347fb02dc
Remove some constants and functions which have been long deprecated
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Carl Schwan
92a5a8f075
Cleanup tags and Share component
- 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>
2 years ago
Robin Appelman
1de0b10751
add test for trying to fopen a file which no longer exists on disk
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 year ago
Christopher Ng
295d03869e
Fix various theming bugs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 year ago
Carl Schwan
de23ff38ff
Move avatar clearing in the background
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 year ago
Stanimir Bozhilov
46c10c77e1
Fix the JSON content type regex to match all MIME types
Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com>
1 year ago
Arthur Schiwon
a133a8a9d7
remove getDefaultInstallationBundle
- because all apps are shipped now it was returning an empty result
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 year ago
Arthur Schiwon
a7af25e1d9
remove InstallCoreBundle repair step
- core bundle was empty and thus removed
- all former apps installed this way are shipped
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 year ago
Arthur Schiwon
759eaee5ed
remove Core Bundle
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 year ago
Stanimir Bozhilov
f7d51a39cf
Add unit tests for application/scim+json content type
Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com>
1 year ago
Côme Chilliet
31117fa7c7
Fix tests for nested v4 in v6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
c083f77e4e
Harden tests for local IP detection in URLs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
4efd0be525
Inform ServerTest that TagMapper now uses QBMapper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Robin Appelman
d8961ed10f
fix using FSEEK_END with SeekableHttpStream to get file size
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 year ago
Vincent Petry
1998ac7b06
Increase timeout for apps management
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
Vincent Petry
da01494a37
Add accessibility entry in user menu
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
Carl Schwan
bc9a488046
Update avatars on update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 year ago
Anna Larch
e3a52ce13e
Fix iMIP tests
Signed-off-by: Anna Larch <anna@nextcloud.com>
1 year ago
Carl Schwan
43d1aa38df
More cleaning up of the login component
- Move css in scopped vue components
- Port to NcNoteCard all the warning messages
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 year ago
Côme Chilliet
98c525a91a
Fix trying to use MockBuilder instead of Mock
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
0b37d89893
Fix Calendar tests mocking a non-existant method.
There is no ITimeFactory::getTimestamp method, only getTime
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Carl Schwan
67551f379f
Filter out old files when trying to get recent files
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>
1 year ago
szaimen
b31c92e6f5
fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
1 year ago
Robin Appelman
bd91c56539
get quota for user only when needed
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>
1 year ago
Daniel Calviño Sánchez
92925233ec
Maximize browser window before running the tests
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>
1 year ago
Daniel Calviño Sánchez
76b0947022
Wait for the new user form to be visible
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>
1 year ago
Julius Härtl
6dac33ee56
Adjust theming acceptance tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 year ago
Joas Schilling
67ecd72972
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Robin Appelman
1626a56dda
adjusts tests for CloudIdManager
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 year ago
szaimen
0c90474296
add a better icon for personal settings
Signed-off-by: szaimen <szaimen@e.mail.de>
1 year ago
szaimen
17ee17cdbf
fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 year ago
Daniel Calviño Sánchez
ac2d885899
Adjust acceptance tests to changes in app menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 year ago
Côme Chilliet
6f80fe6ada
Remove deprecated at matcher from tests/lib
Only 15 warnings left in there
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
791e021455
Remove deprecated at matcher in Updater/VersionCheckTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
e5731b3c30
Fix BackgroundRepairTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
5d313da709
Fix RepairTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
a83a8f0dde
Migrate Migrator::executeSql to OCP\EventDispatcher\Event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Vincent Petry
ede9ac2a75
Adjust acceptance test selectors
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago