Commit graph

11556 commits

Author SHA1 Message Date
Christopher Ng
107c940f78 Fix get avatar authorization
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-08 23:37:50 +00:00
Vincent Petry
8120f5e33a Trim mount point before matching in encryption code
Often times the mount point has a leading slash.
This fix sanitizes it to make sure matching works.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-06-02 12:15:26 +00:00
Arthur Schiwon
4358cf7c7a allow use of rememberme cookies for IApacheAuth backends
- e.g. enables it for SAML backend

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-05-31 21:59:23 +00:00
Git'Fellow
3d5541bb5a Move Gd failed operations to debug level
Instead of error
2022-05-27 09:41:46 +00:00
Joas Schilling
ec9cdf2a43 Fix user agent trimming on installation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-16 13:11:40 +00:00
blizzz
876d93ccf1
Merge pull request #32324 from nextcloud/fix/noid/preview-duplicate-folder-creation-stable22
[stable22] Fix preview generator trying to recreate an existing folder
2022-05-16 12:48:30 +02:00
blizzz
758e3752c7
Merge pull request #32125 from nextcloud/backport/32074/stable22
[stable22] tell mysql to ignore the sort index for search queries
2022-05-16 12:47:17 +02:00
blizzz
16fd38439e
Merge pull request #31980 from nextcloud/backport/31826/stable22
[stable22] Log why the login token can't be used for credentials
2022-05-16 12:45:37 +02:00
Richard Steinmetz
d33f1ee168
Fix preview generator trying to recreate an existing folder
Backport of #32315

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-05-10 13:47:50 +02:00
Joas Schilling
83718ad18a Fix translations with trailing colons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-26 11:51:50 +00:00
Kirill Popov
651b7b2141 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:36 +00:00
Robin Appelman
0edce619c8 tell mysql to ignore the sort index for search queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-25 11:56:48 +00:00
blizzz
d455b2d21b
Merge pull request #31974 from nextcloud/backport/31878/stable22
[stable22] Fix incorrect if conditions in View
2022-04-14 22:01:27 +02:00
Christoph Wurst
2cb40d869f Log why the login token can't be used for credentials
And always pass the exception object to the logger.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-04-14 18:44:14 +00:00
blizzz
75a4579cd7
Merge pull request #31819 from nextcloud/backport/31574/stable22
[stable22] use the nextcloud certificate bundle for s3
2022-04-14 14:38:17 +02:00
blizzz
01874d9a9d
Merge pull request #31747 from nextcloud/backport/31592/stable22
[stable22] Add direct arg to login flow
2022-04-14 14:31:49 +02:00
blizzz
a96a2ec55c
Merge pull request #31677 from nextcloud/backport/31658/stable22
[stable22] Limit the length of app password names
2022-04-14 14:15:08 +02:00
Côme Chilliet
8b1e16c4df Fix incorrect if conditions in View
($something->getPermissions() && Constants::PERMISSION_READ) does not
  make sense as PERMISSION_READ contant is 1 this will always evaluate to
  true.
getPersmissions is returning an int which is a bitwise combination as
  documented in the interface, so it should be used with bit operators.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-14 11:48:26 +00:00
Vincent Petry
b321a431aa 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 13:02:29 +02:00
blizzz
bf2b6bb370
Merge pull request #31881 from nextcloud/backport/31877/stable22
[stable22] Do not decorate the CLI output if it's explicitly turned off
2022-04-14 13:01:19 +02:00
blizzz
379d0ca22b
Merge pull request #31837 from nextcloud/backport/31734/stable22
[stable22] dont re-query fileinfo when getting dav quota
2022-04-14 12:59:15 +02:00
blizzz
84cf872bb9
Merge pull request #31834 from nextcloud/backport/31816/stable22
[stable22] Deduplicate storage ids in list before reusing
2022-04-14 12:57:51 +02:00
blizzz
53f1f64d8e
Merge pull request #31830 from nextcloud/backport/31380/stable22
[stable22] Ignore errors when searching for bundled preview
2022-04-14 12:56:40 +02:00
Vincent Petry
a5a8bf7568
Merge pull request #31941 from nextcloud/backport/31907/stable22
[stable22] confirm user is internal to globalscale
2022-04-14 11:02:41 +02:00
Maxence Lange
7ce8459056 confirm user is internal to globalscale
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-04-12 12:22:08 +00:00
Robin Appelman
c11de1965f fix shared mount roots not being returned from getSharesInFolder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-11 08:54:08 +00:00
Christoph Wurst
9534931462 Do not decorate the CLI output if it's explicitly turned off
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-04-07 15:23:17 +00:00
Robin Appelman
8d369acf7c dont re-query fileinfo when getting dav quota
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-04 19:09:49 +00:00
Joas Schilling
4eff6b1c81 Deduplicate storage ids in list before reusing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-04 17:17:38 +00:00
Côme Chilliet
eaff81c831 Ignore errors when searching for bundled preview
When an odt file is xml and not zip, it would throw a ValueError.
It will now just ignore this file and return null for the preview.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-04 15:02:19 +00:00
Robin Appelman
5725e38328 don't try to get custom certs for s3 primary storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-04 10:14:09 +00:00
Robin Appelman
a13ae6b64f return default bundle when there is an error getting the bundle
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-04 10:14:08 +00:00
Robin Appelman
63dd72fda0 use the nextcloud certificate bundle for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-04 10:14:04 +00:00
Joas Schilling
ea0be37e69
Limit the length of app password names
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 21:44:33 +01:00
Robin Appelman
8e1e6ad7da handle setupFS with null user
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-21 13:55:08 +00:00
Robin Appelman
11cfc20ace dont mark fs as setup when no user is active
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-21 13:55:08 +00:00
Robin Appelman
cb3dc01163 fix fs cache test user setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-21 13:55:08 +00:00
Robin Appelman
1cfb740d68 pass user object during fs init
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-21 13:55:08 +00:00
Robin Appelman
3c413025b7 only setup part of the filesystem for appdata requests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-21 13:55:08 +00:00
blizzz
143b691a08
Merge pull request #30966 from nextcloud/backport/30235/stable22
[stable22] Add primary key for ratelimit table
2022-03-10 16:21:04 +01:00
blizzz
da4cd47753
Merge pull request #31122 from nextcloud/backport/30945/stable22
[stable22] Background job time windows
2022-03-10 14:53:53 +01:00
blizzz
06600f6036
Merge pull request #29565 from nextcloud/backport/25332/stable22
[stable22] Fix removing remote shares when the remote server is unreachable
2022-03-10 14:38:40 +01:00
Joas Schilling
4fe5cef95a
Make the DB query simpler (as we just deleted all other entries)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 14:21:13 +01:00
Robin Appelman
b2eac88482 use persistent connections when connecting to redis
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 12:48:09 +00:00
blizzz
55a61baaa1
Merge pull request #31400 from nextcloud/backport/31390/stable22
[stable22] Censor more configs
2022-03-02 17:39:44 +01:00
Joas Schilling
1831c5cb6b Also use hashed/indexed column on delete
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-02 11:26:26 +00:00
Joas Schilling
8c875e7694 Censor more configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-02 10:29:51 +00:00
Joas Schilling
714a5b7ae2
Use the new option to signaling insensitivity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-22 11:56:18 +01:00
Joas Schilling
c43730238f
Allow apps to specify if their background job can be delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-22 11:56:17 +01:00
Joas Schilling
26990666cb
Merge pull request #31298 from nextcloud/backport/31217/stable22
[stable22] Also cache non-existing to reuse it
2022-02-22 11:48:55 +01:00