Commit graph

12685 commits

Author SHA1 Message Date
John Molakvoæ
4aafba68b4
Merge pull request #35689 from pulsejet/patch-heicrotate
preview: fix HEIC orientation
2022-12-11 11:18:34 +01:00
Joas Schilling
269df904a3
Improve email search results
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 22:40:47 +01:00
Joas Schilling
256fbe9d77
Validate if the user part of a "cloud id" can even be a valid user id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 22:40:46 +01:00
Joas Schilling
2f7a1fca5f
Merge pull request #34477 from nextcloud/bugfix/noid/sharee-recommendations-show-group-id
Show group name instead of group id as recommendation
2022-12-09 22:39:28 +01:00
Joas Schilling
cf34aa557b
Update sensitive config list of Talk
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 16:41:59 +01:00
Varun Patil
7004c1e9f8 preview: fix HEIC orientation
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2022-12-08 23:14:13 -08:00
Julia Kirschenheuter
11d7cd0974
Merge pull request #35071 from nextcloud/fix/384-missing_alt_text_for_logo_on_multiple_pages
Add alt to the logo, adapt css for logo
2022-12-08 10:36:34 +01:00
julia.kirschenheuter
bba5ab0532 Add alt to the logo, adapt css for logo
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-08 09:28:25 +01:00
Julius Härtl
4bcaeb6c2c
Drop 3rdparty root since it is unused and adjust tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 23:55:32 +01:00
Julius Härtl
f0a0bfaaee
Move to str_starts_with
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:06 +01:00
Julius Härtl
306d7829b5
Cache available languages locally
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:06 +01:00
Julius Härtl
3e5838198c
Use single resource locator instance
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:05 +01:00
Julius Härtl
b2af916872
Take some shortcut when setting up the application class
When getting the application class we can ask the app container directly
and skip the server container as it won't find a match and fallback to
the app container anyways

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:05 +01:00
Julius Härtl
3899de12b7
Skip querying the app container for server namespace
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:05 +01:00
Julius Härtl
d7ecbe32d2
Avoid container dance for appName
Sicne the appName is always passed for the DIContainer we can avoid
using the container query logic and instead store and use a property

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:04 +01:00
Julius Härtl
87e638b1f8
Merge pull request #35649 from nextcloud/bugfix/object-storage-master-key-enc
Update the unencrypted file size when closing streams
2022-12-07 22:03:13 +01:00
Carl Schwan
7ac2d310a7
Merge pull request #35176 from bjornfor/add-asciidoc-mime-type
Add text/asciidoc mimetype
2022-12-07 21:22:08 +01:00
Julius Härtl
59ae6e9dd6
Also update the unencrypted size of files when creating them with empty content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 19:12:06 +01:00
Julius Härtl
77edd36583
Update the unencrypted file size when closing streams
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 16:26:31 +01:00
Julien Veyssier
4a3f3beb0b
use bruteforce protection on all methods wrapped by PublicShareMiddleware
if an invalid token is provided or when share password is wrong

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2022-12-07 13:24:50 +01:00
Simon L
2e0d262864
Merge pull request #35576 from nextcloud/handle-possible-null-value-in-new-simple-file
Handle possible null value for file in OC\Files\SimpleFS\NewSimpleFile
2022-12-06 19:52:55 +01:00
Côme Chilliet
1821712615
Merge pull request #35596 from nextcloud/fix/move-to-ocp-timedjob
Use TimedJob from OCP instead of OC
2022-12-06 12:14:43 +01:00
Christoph Wurst
94cebfea7c
chore(logging): Fix branding of errorlog log messages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-05 19:28:05 +01:00
Côme Chilliet
a0f6a6545b
Use TimedJob from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 10:13:34 +01:00
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
Thomas Citharel
a5b6119ec4
Handle possible null value for file in OC\Files\SimpleFS\NewSimpleFile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-12-03 17:25:32 +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