Commit graph

12658 commits

Author SHA1 Message Date
J0WI
110ea0df46 Allow empty mimeType
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:51:33 +01:00
J0WI
1dd3afefcd Add type hints
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:51:32 +01:00
J0WI
53994f600d Fix redundant condition
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:47:43 +01:00
J0WI
40166ddc0a Remove obsolete GD function overwrites
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:47:43 +01:00
Simon L
c19e7a9b68
Merge pull request #35345 from nextcloud/feat/add_event_for_failed_logins
feat: add event for failed logins
2022-12-03 20:00:36 +01:00
Simon L
82e2a9033f
Merge pull request #34232 from nextcloud/fix/noid/refresh-filesize-on-conflict
compare cached filesize on download
2022-12-03 19:53:46 +01:00
Simon L
0662417157
Merge pull request #35566 from pulsejet/patch-imaginary
preview: respect quality in Imaginary
2022-12-03 19:06:24 +01:00
Varun Patil
b91d6c22cf preview: respect quality in Imaginary
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2022-12-03 07:13:49 -08:00
Maxence Lange
cc639a8877 compare cached filesize on download
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-12-01 15:42:15 -01:00
Andy Xheli
e69c7c4d26
Fix Executing a query: SQLSTATE[42000]
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Fix https://github.com/nextcloud/server/issues/32007#issuecomment-1329405245

Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-11-29 11:24:56 -06:00
Anna Larch
7c4ceb444c Add group display name cache
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-28 11:52:55 +00:00
Simon L
4dfdc1ccda fix update for 32-bit
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-25 22:10:25 +01:00
Roeland Jago Douma
77df92cabf
feat: add event for failed logins
Apps might also like to know about failed logins.
This adds that event.
The private interface changes are backwards compatible so all should be fine.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2022-11-24 21:24:21 +01:00
Christopher Ng
945cab59fb Fix PHP lint CI failure
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-24 01:09:19 +00:00
Vincent Petry
cd9f538be9
Merge pull request #35368 from nextcloud/add-repair-job-secret-config
Add repair job that will ensure that secret and passwordsalt are set
2022-11-23 20:57:30 +01:00
Carl Schwan
5e725da79d Add repair job that will ensure that secret and passwordsalt are set
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-23 16:51:01 +01:00
Louis Chemineau
66ba90ceff Update cache when file size === 0
The conditions were false when $result === 0.
$results here contains the number of written bits.
The correct way of checking for operation success is to check if $result === false

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-23 12:43:57 +01:00
Carl Schwan
8dcd992ad4
Merge pull request #34940 from nextcloud/feat/add-mastodon
Add mastodon and reorganize profile info section
2022-11-22 17:47:04 +01:00
Côme Chilliet
603feb98f2
Merge pull request #35234 from nextcloud/fix/bump-doctrine/dbal-to-3.3-in-master
Bump doctrine/dbal to 3.3 in master
2022-11-22 15:48:58 +01:00
John Molakvoæ
ba9059b497
Merge pull request #35325 from nextcloud/fix/navigation-order
Fix navigation order
2022-11-22 15:04:09 +01:00
Joas Schilling
86e7159d82
Merge pull request #35206 from nextcloud/bugfix/noid/fix-forwarding-the-object-id
Fix forwarding the object id when searching comments
2022-11-22 14:56:48 +01:00
John Molakvoæ
5f58660de5
Fix navigation order
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-22 12:11:35 +01:00
Julius Härtl
5bf96eecc6
Merge pull request #35226 from nextcloud/redis/lazy 2022-11-22 11:54:29 +01:00
Julius Härtl
023b80e617
Only setup redis connection if needed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-22 09:26:24 +01:00
Julius Härtl
de3099b4d6
Remove potential mismatching dav session data during login
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-22 08:47:01 +01:00
Carl Schwan
d1209d8302 Rename mastodon to fediverse
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 08:40:12 +01:00
Carl Schwan
86d9626901 Add mastodon personal info field
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 16:28:56 +01:00
Vincent Petry
0b09531dc6
Don't use quota cache through user management
When querying the free space through user management APIs, don't use the
cached quota value. The latter is only there to accelerate PROPFINDs.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-21 16:24:22 +01:00
Côme Chilliet
8a16e7e8a1
Fix more psalm issues in OC\DB
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-21 11:30:20 +01:00
Côme Chilliet
378630f8a0
Fix psalm issues following doctrine/dbal bump
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-21 10:56:15 +01:00
Joas Schilling
fab277647e
Merge pull request #35251 from nextcloud/bugfix/noid/increase-fairuse-limit
Increase the fair-use push limit to 1.000 users
2022-11-21 10:49:01 +01:00
Joas Schilling
d1f2e5e967
Increase the fair-use push limit to 1.000 users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-18 15:39:23 +01:00
Vincent Petry
09e55c717b
Merge pull request #35218 from nextcloud/storage-setup-providers
delay updating setup providers untill we register the mounts
2022-11-18 15:24:14 +01:00
Robin Appelman
841a6a084e
delay updating setup providers untill we register the mounts
otherwise the fallback to a full setup for a missing cached mount provider will lead to a race condition

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-17 15:21:57 +01:00
John Molakvoæ
f021172eab
Merge pull request #35203 from nextcloud/jpeg-80
Default Jpeg quality to 80
2022-11-17 08:41:34 +01:00
John Molakvoæ
d27a39271e
getAppValue expects string
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-11-17 08:03:05 +01:00
Joas Schilling
3f4fed3550
Fix forwarding the object id when searching comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-16 12:08:34 +01:00
Git'Fellow
c7e2787300
Default Jpeg quality to 80
See https://sirv.com/help/articles/jpeg-quality-comparison/
Almost 50% of file size (compared to 90) and no visual differences.

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-11-16 10:59:50 +01:00
John Molakvoæ
e6b7fa6cae
Fix logo invert
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-16 09:46:20 +01:00
Côme Chilliet
4893d5e746
Merge pull request #35156 from nextcloud/fix/fix-tests-for-8.2
Fix dynamic properties and other problems in tests for PHP 8.2
2022-11-15 13:04:51 +01:00
Pytal
ccb30e7825
Merge pull request #35091 from nextcloud/enh/a11y-single-char-search
Allow single character search by default
2022-11-14 19:59:38 -08:00
Côme Chilliet
c79a6b3f62
Fix errors from PHP 8.2 testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 17:08:21 +01:00
Joas Schilling
6ea4ef9521
Revert "Appropriate length check in Notification.php" 2022-11-14 11:14:13 +01:00
Simon L
f1b940bc78
Merge pull request #34645 from nextcloud/bugfix/support-to-postgres15
🐘 Support postgres15
2022-11-14 10:02:38 +01:00
Simon L
98543b160c
Merge pull request #35096 from nextcloud/bugfix/noid/mark-more-values-as-sensitive
Mark more config values as sensitive
2022-11-14 09:45:19 +01:00
Simon L
c2f3010ee7
Merge pull request #34829 from nextcloud/Valdnet-patch-3
l10n: Improve styling
2022-11-12 02:14:01 +01:00
Vitor Mattos
eb7b682dc0 Bugfix to support postgres15
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Simon L <szaimen@e.mail.de>
Co-Authored-By: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-11-11 22:36:08 +01:00
Simon L
9d45845d2a
Merge pull request #34994 from Glandos/fileinfo_perf
[Performance] Test valid path only if file info has to be retrieved
2022-11-11 17:11:21 +01:00
Simon L
10aa3827f7
Merge pull request #35015 from natoponen/patch-1
Appropriate length check in Notification.php
2022-11-11 17:08:21 +01:00
Richard Steinmetz
98e55ea4f0
Fix distorted previews when using imaginary
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-11 14:21:05 +01:00