Commit graph

6504 commits

Author SHA1 Message Date
Joas Schilling
65e81601d6
fix(CI): Adjust expected result
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-07 07:39:19 +01:00
Joas Schilling
71e17f3a23
Remove failing test that works with mocks only anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-03 15:15:36 +01:00
Christopher Ng
6c6bce514d Port files sharing selector
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-25 02:33:01 +00:00
Joas Schilling
a49d8a0bd8 Disable unreliable acceptance tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-19 10:43:45 +00:00
Christopher Ng
6f3a0e2e91 Focus trap contacts menu with NcHeaderMenu port
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-18 15:06:57 -08:00
Christoph Wurst
197a2ea1f9 Fix login loop if login CSRF fails and user is not logged in
If CSRF fails but the user is logged in that they probably logged in in
another tab. This is fine. We can just redirect.
If CSRF fails and the user is also not logged in then something is
fishy. E.g. because Nextcloud contantly regenrates the session and the
CSRF token and the user is stuck in an endless login loop.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 11:04:59 +00:00
Simon L
28b3fbd803 increase preview_max_memory and make it easier to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-22 09:46:20 +00:00
John Molakvoæ
1888458476
Fix testing
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-21 15:16:46 +01:00
John Molakvoæ
c007a3a670
Fix default primary for user theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-21 15:13:56 +01:00
Vincent Petry
1aa4a0ec04
Merge pull request #35798 from nextcloud/backport/35780/stable25
[stable25] Fix missing cast of double controller parameters
2022-12-19 12:07:11 +01:00
Vincent Petry
cc9b3fc884
Merge pull request #35668 from nextcloud/backport/35649/stable25
[stable25] Update the unencrypted file size when closing streams
2022-12-16 16:33:21 +01:00
Christoph Wurst
e8619feb18 fix(app framework): Fix missing cast of double controller parameters
``settype`` allows 'double' as alias of 'float'.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-16 15:28:09 +00:00
Artur Neumann
c8fa04fe62 check if params given to API are really an array
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2022-12-16 10:56:04 +00:00
Christopher Ng
bf0af98e09 Lighten default color slightly for increased contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 1c753c2b15)
2022-12-13 23:01:55 +00:00
Joas Schilling
86d0206626 Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 21:46:23 +00:00
Julius Härtl
7107a3affe Also update the unencrypted size of files when creating them with empty content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-08 09:18:00 +00:00
Carl Schwan
1d33d37bf2 Fix unit tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit 01e2a26749)
2022-12-05 16:10:55 +00:00
Simon L
5137af7293 Revert "[stable25] Fix theming tests"
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-28 11:26:18 +01:00
Christopher Ng
143e603d4e [stable25] Fix theming tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-25 00:52:49 +00:00
Christopher Ng
d596900410 Add label to sharing search field
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-24 01:01:21 +00:00
Joas Schilling
30e72fe180 Increase the fair-use push limit to 1.000 users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-21 10:07:25 +00:00
Joas Schilling
3b427a09f0 Run integration tests on 3rdparty bump
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-11-14 08:52:51 +00:00
Christoph Wurst
f2cc09fef1 Fix PublicKeyTokenProviderTest import and mock
* IDBConnection import missing
* Atomic doesn't need a mock

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-11 09:34:59 +00:00
Vincent Petry
4127f33f4e
Merge pull request #34946 from nextcloud/backport/34804/stable25
[stable25] Skip general login with email for non-valid addresses and LDAP
2022-11-04 17:13:06 +01:00
Christoph Wurst
b8ad0752fa 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>
2022-11-03 15:25:34 +00:00
Julius Härtl
9151960af0
Skip general login with email for non-valid addresses and LDAP
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-03 15:38:39 +01:00
Julius Härtl
677451427e Emit typed event when preview is requested
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-27 13:51:28 +00:00
Côme Chilliet
5fa94ae9af Fix LostController test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-27 09:21:41 +00:00
Julius Härtl
2117736e34 Check share attributes on preview endpoints
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-26 13:20:46 +00:00
szaimen
f5e5d47fd9 set theming app to alwaysEnabled
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-18 08:21:56 +00:00
John Molakvoæ
3b076350d1
Fix tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 16:19:41 +02:00
John Molakvoæ (skjnldsv)
b3832bcd05
Allow to pick custom colour
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-13 17:59:57 +02:00
Simon L
0c6b5cde95
Merge pull request #34432 from nextcloud/backport/34298/stable25
[stable25] Use color preset of shipped background as primary color
2022-10-05 13:18:41 +02:00
Andy Xheli
47e950dbee Update ContactsStoreTest.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-10-05 08:42:09 +00:00
Christopher Ng
d1dc38dc1f Use brand color for background only and keep accessible color as color primary
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-05 08:03:16 +00:00
Robin Appelman
c26e17104c add test for trying to fopen a file which no longer exists on disk
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-10-03 15:28:29 +00:00
Christopher Ng
9c073fd760 Fix various theming bugs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-28 18:01:41 +00:00
Arthur Schiwon
1115199ae3
remove getDefaultInstallationBundle
- because all apps are shipped now it was returning an empty result

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 17:36:09 +02:00
Arthur Schiwon
86b787d21e
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>
2022-09-22 17:36:05 +02:00
Arthur Schiwon
359a37fd10
remove Core Bundle
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 17:36:00 +02:00
blizzz
079a8c0e0f
Merge pull request #34192 from nextcloud/move-background-clearing-stable25
[stable25] Move avatar clearing in the background
2022-09-22 17:33:43 +02:00
Côme Chilliet
3c47caf08b
Fix tests for nested v4 in v6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-22 16:39:42 +02:00
Côme Chilliet
95dcc610fc
Harden tests for local IP detection in URLs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-22 16:38:57 +02:00
Carl Schwan
a5a8f4e9ef Move avatar clearing in the background
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit e21e53670c60b74ca2c49c01bf510ccdc5115b0d)
2022-09-22 15:42:13 +02:00
Vincent Petry
d39f047af2
Merge pull request #34072 from nextcloud/enh/noid/default-enabled-2
set defaultEnabled in shipped.json
2022-09-15 22:03:12 +02:00
Robin Appelman
d8961ed10f
fix using FSEEK_END with SeekableHttpStream to get file size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 17:23:16 +02:00
Vincent Petry
1998ac7b06
Increase timeout for apps management
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-15 17:11:14 +02:00
Vincent Petry
da01494a37
Add accessibility entry in user menu
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 15:05:35 +02:00
Carl Schwan
bc9a488046
Update avatars on update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 14:23:41 +02:00
Carl Schwan
eac54c4660
Merge pull request #33788 from nextcloud/improve-recent
Improve getting recent files performance
2022-09-08 16:19:41 +02:00