blizzz
2cd11e23cd
Merge pull request #33792 from nextcloud/backport/stable23-wait-for-the-new-user-form-to-be-visible-in-acceptance-tests
...
[stable23] Wait for the new user form to be visible in acceptance tests
2022-09-27 08:29:38 +02:00
Carl Schwan
4d4a6727fc
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>
2022-09-08 14:44:00 +00:00
Daniel Calviño Sánchez
ee68e4cf44
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>
2022-09-01 14:08:55 +02:00
Thomas Citharel
54b0b53295
Fix logging data context to file
...
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>
2022-08-30 18:58:20 +02:00
blizzz
d7c442deaa
Merge pull request #33443 from nextcloud/backport/33407/stable23
...
[stable23] Handle one time and large passwords
2022-08-04 11:16:46 +02:00
Carl Schwan
bc29ff5567
Handle one time and large passwords
...
For passwords bigger than 250 characters, use a bigger key since the
performance impact is minor (around one second to encrypt the password).
For passwords bigger than 470 characters, give up earlier and throw
exeception recommanding admin to either enable the previously enabled
configuration or use smaller passwords.
This adds an option to disable storing passwords in the database. This
might be desirable when using single use token as passwords or very
large passwords.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-03 13:50:29 +02:00
Côme Chilliet
91a244e77e
Use Symfony IpUtils to check for local IP ranges
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-26 09:45:33 +00:00
Thomas Citharel
1c0342af58
Fix reading blob data as resource
...
PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).
Previously we just converted this resource using settype, which produced
things like "Resource id #14 " instead of the actual resource data.
Now we read the stream correctly if the returned data is a resource
See context at #22472
Fixes #22439
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25 16:03:19 +00:00
Carl Schwan
3750160d9f
Allow to disable password policy enforcement for selected groups
...
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>
2022-07-05 17:05:09 +02:00
blizzz
14af5f3c26
Merge pull request #33004 from nextcloud/backport/32719/stable23
...
[stable23] Fix email shares not being shown to other users
2022-07-05 12:55:19 +02:00
Louis Chemineau
768b41ee45
Rename setting name to reduce its length
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-28 08:40:44 +00:00
Richard Steinmetz
6397113284
Fix email shares not being shown to other users
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-06-24 12:02:34 +02:00
Louis
6644b17527
Merge pull request #32322 from nextcloud/backport/stable22/share_search_tweaks
...
[stable23] Add share search tweaks
2022-06-23 17:35:14 +02:00
blizzz
e7e782b831
Merge pull request #32871 from nextcloud/backport/32813/stable23
...
[stable23] Run php tests when 3rdparty changed
2022-06-21 18:53:18 +02:00
Arthur Schiwon
813a14a226
make placeholder a const for reuse
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-17 14:52:31 +02:00
Arthur Schiwon
263eca767d
fix overwriting original vars when logging
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-17 14:52:31 +02:00
Arthur Schiwon
33b442e9a5
add serializer test
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-17 14:52:31 +02:00
Daniel Kesselberg
70a127a3d1
Run php tests when 3rdparty changed
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-14 10:41:22 +00:00
Vincent Petry
ce7b7226da
Merge pull request #32658 from nextcloud/backport/32655/stable23
...
[stable23] Handle non existing settings again
2022-06-10 15:32:21 +02:00
Christopher Ng
4e04f4e883
Test all scopes
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-08 23:34:48 +00:00
Christopher Ng
e6e5e08d78
Fix get avatar authorization
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-08 23:34:46 +00:00
Louis Chemineau
e297e1ce18
Add settings to ignore second display name in search
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-07 11:37:25 +00:00
Vincent Petry
c2c65c26fd
Add unit tests for encryption's isSystemWideMountPoint
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-06-02 12:10:12 +00:00
Joas Schilling
c49b255b01
Fix unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-31 10:26:10 +02:00
Joas Schilling
33c21e1b74
Merge pull request #32422 from nextcloud/backport/32375/stable23
...
[stable23] Show user account on grant loginflow step
2022-05-16 15:58:02 +02:00
Joas Schilling
e432abdb1b
Extend tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-16 10:17:15 +00:00
Joas Schilling
82ada01ad6
Fix user agent trimming on installation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-16 10:16:17 +00:00
Joas Schilling
f28e534413
Add a unit test for translation with trailing colon
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-26 11:45:56 +00:00
Kirill Popov
e864d4212e
Get not only time-sensitive next job from list but any
...
Before the change webcron used to select
**only** time-sensitive tasks.
Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
2022-04-25 13:22:58 +00:00
blizzz
97d5000437
Merge pull request #31748 from nextcloud/backport/31592/stable23
...
[stable23] Add direct arg to login flow
2022-04-14 22:10:32 +02:00
Joas Schilling
07249728d4
Merge pull request #31678 from nextcloud/backport/31658/stable23
...
[stable23] Limit the length of app password names
2022-04-14 22:10:15 +02:00
Vincent Petry
eed25090d9
Add direct arg to login flow
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-Authored-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 14:31:41 +02:00
blizzz
ea3a9ba86e
Merge pull request #31453 from nextcloud/s3-primary-ci-23
...
[stable23] Run tests with primary object storage in CI + large upload fixes
2022-04-14 13:17:16 +02:00
Maxence Lange
7e31403dfa
confirm user is internal to globalscale
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-04-12 12:17:20 +00:00
Christopher Ng
d8c04464aa
Add profile default setting for admin
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 108abd77ed )
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-25 03:53:54 +00:00
Christopher Ng
8bef2ec925
Add global profile toggle config
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 1fc0b4320c )
2022-03-25 03:53:54 +00:00
Joas Schilling
3096179190
Fix unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 21:46:35 +01:00
Joas Schilling
7efa2fa3a0
Limit the length of app password names
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 21:46:35 +01:00
Robin Appelman
90c27a7d30
skip localstorage dependend user test when not using local user storage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-10 17:17:21 +00:00
Vincent Petry
64f376e4b9
Merge pull request #31098 from nextcloud/backport/30942/stable23
...
[stable23] only setup part of the filesystem for appdata requests
2022-03-01 16:00:45 +01:00
Joas Schilling
c8db7d35bf
Allow apps to specify if their background job can be delayed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-22 10:59:19 +00:00
Robin Appelman
417ead0a6b
fix fs cache test user setup
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-16 10:46:48 +00:00
Vincent Petry
287d058a57
Merge pull request #30949 from nextcloud/bugfix/noid/allow-to-disable-v1-authtokens
...
[stable23] Allow to disable AuthToken v1
2022-02-16 11:24:33 +01:00
Joas Schilling
a429f02a62
Fix unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-31 20:36:06 +01:00
John Molakvoæ
3ee9bcc4f7
Merge pull request #30814 from nextcloud/backport/30508/stable23
2022-01-27 20:06:29 +01:00
Carl Schwan
d69531ac8e
Fix psalm not running
...
The issue was that we were using psalm/phar instead of vimeo/psalm. This
caused issue with the custom psalm plugin in buildd/psalm.
This is using the opportunity to also update the psalm version from 3.8
to 3.17 and the php-cs-fixer too.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-27 17:20:00 +01:00
Carl Schwan
fab0e6dbe7
Fix tests with email templates
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-20 10:37:59 +01:00
Julius Härtl
1938c41ace
Merge pull request #30659 from nextcloud/backport/29622/stable23
2022-01-14 10:41:46 +01:00
John Molakvoæ
05a13d3dc6
Implement multibucket shift for ObjectStore
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 08:31:38 +01:00
Carl Schwan
2b2d23ce21
Fix idn emails not working in shares
...
And add check before sending email that email address is valid
Fix #30595
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 17:10:43 +01:00