Robin Appelman
d8961ed10f
fix using FSEEK_END with SeekableHttpStream to get file size
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 ano atrás
Vincent Petry
1998ac7b06
Increase timeout for apps management
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 ano atrás
Vincent Petry
da01494a37
Add accessibility entry in user menu
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 ano atrás
Carl Schwan
bc9a488046
Update avatars on update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 ano atrás
Anna Larch
e3a52ce13e
Fix iMIP tests
Signed-off-by: Anna Larch <anna@nextcloud.com>
1 ano atrás
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 ano atrás
Côme Chilliet
98c525a91a
Fix trying to use MockBuilder instead of Mock
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 ano atrás
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 ano atrás
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 ano atrás
szaimen
b31c92e6f5
fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
1 ano atrás
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 ano atrás
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 ano atrás
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 ano atrás
Julius Härtl
6dac33ee56
Adjust theming acceptance tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 ano atrás
Joas Schilling
67ecd72972
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 ano atrás
Robin Appelman
1626a56dda
adjusts tests for CloudIdManager
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 ano atrás
szaimen
0c90474296
add a better icon for personal settings
Signed-off-by: szaimen <szaimen@e.mail.de>
1 ano atrás
szaimen
17ee17cdbf
fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 ano atrás
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 ano atrás
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 ano atrás
Côme Chilliet
791e021455
Remove deprecated at matcher in Updater/VersionCheckTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 ano atrás
Côme Chilliet
e5731b3c30
Fix BackgroundRepairTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 ano atrás
Côme Chilliet
5d313da709
Fix RepairTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 ano atrás
Côme Chilliet
a83a8f0dde
Migrate Migrator::executeSql to OCP\EventDispatcher\Event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 ano atrás
Vincent Petry
ede9ac2a75
Adjust acceptance test selectors
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 ano atrás
Julius Härtl
83b1415906
Only pass parent if paths match
As the user folder might be initialized by the root from two levels
down the hierarchy, passing this as a parent only works if the path matches
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 ano atrás
Julius Härtl
b2d6435737
Avoid extra query for the parent node if we can pass it along
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 ano atrás
Julius Härtl
64a7489958
Fix SessionMiddlewareTest and cover new case with reopening
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 ano atrás
Carl Schwan
9b8ca9ad1f
Move findBinaryFinder and isFunctionEnabled away from OC_Helper
findBinaryFinder is now a service that is still private but with some
minor optimization (remove the hasKey check).
isFunctionEnabled is now in OCP\Util
Both function are still keep but all internal usage in nextcloud/server
were migrated to the new usage, so that we can remove it in 26
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 ano atrás
Anna Larch
4ca4b02793
Support iMIP invitations from Mail
Signed-off-by: Anna Larch <anna@nextcloud.com>
2 anos atrás
Joas Schilling
227c766f16
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 ano atrás
Robin Appelman
1850d0ae96
cleanup scannertest a bit
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 ano atrás
Robin Appelman
1374cbee3e
store unencrypted size in the unencrypted_size column
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 anos atrás
Robin Appelman
887952b4f4
add tests for cached mount provider migration
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 ano atrás
Robin Appelman
5e375d9092
Revert "store unencrypted size in the unencrypted_size column"
This reverts commit 8238582e59
.
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 anos atrás
Robin Appelman
6e0123a1d0
Revert "add case statement to sql function builder"
This reverts commit 2a68819a67
.
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 anos atrás
Carl Schwan
49334e4d9c
Fix many tests and warnings
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 ano atrás
Carl Schwan
48d9c4d2b0
Port existing server code to new interface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 anos atrás
Simon Leiner
09362eaeaa
Support specifying IPv6 proxies in CIDR notation
Previously, it was not possible to use CIDR notation for IPv6 proxies
in the trusted_proxies parameter of config.php [1]. This patch adds
support for that.
[1]: https://docs.nextcloud.com/server/24/admin_manual/configuration_server/reverse_proxy_configuration.html#defining-trusted-proxies
Signed-off-by: Simon Leiner <simon@leiner.me>
1 ano atrás
Côme Chilliet
539162ba8b
Remove at matchers from tests in:
* apps/oauth2
* tests/Test/Repair/Owncloud
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 ano atrás
Julien Veyssier
acc68e9f93
fix share manager tests
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
1 ano atrás
Côme Chilliet
cb271b759e
Fix dynamic property creations in test files
This fixes warnings in PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 ano atrás
Carl Schwan
a24ed79f85
Fix integration tests
The html tags changed in the notification apps, adapt selector to the
new state
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 ano atrás
Carl Schwan
458c2fa297
Remove OCP\App and OCP\BackgroundJob
Both deprecated since NC 23
IAppManager is the replacement for OCP\App unfortunately it can't be
dependency injected in classes used by the installed otherwise the
database connection is initialised too early
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 anos atrás
Arthur Schiwon
6941c91531
add unit test for ExceptionSerializer
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 ano atrás
Vincent Petry
03b1791cca
Fix share attribute related tests + code style
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 anos atrás
Vincent Petry
a95c19e14b
Add share attributes + prevent download permission
Makes it possible to store download permission
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 anos atrás
Carl Schwan
702445ba3b
Handle one time password better
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 ano atrás
Carl Schwan
253118298d
Redesign guest pages for better accessibility
- Use white box and put content on it
- Improve focus indicator
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 ano atrás
Daniel Calviño Sánchez
525cf58735
Adjust acceptance tests to changes in sharing tab
The name of the user shared with is now marked with a "span" rather than
with "h5".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 ano atrás