Joas Schilling
ab8205fd35
fix(l10n): Fix plural issue with different locale and language
...
We need to use the language code here instead of the locale,
because Symfony does not distinguish between the two and would
otherwise e.g. with locale "Czech" and language "German" try to
pick a non-existing plural rule, because Czech has 4 plural forms
and German only 2.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-21 07:14:56 +02:00
Côme Chilliet
7aa97dcc23
Throw if creation date is read before inserting into database
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 12:14:57 +02:00
Carl Schwan
77355a8a79
Improve typing in ICommentsManager
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:26 +02:00
Carl Schwan
9725d00329
Cleanup comments code
...
- Fix various psalm issues
- Add as much typing as possible while preserving stable API
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:20 +02:00
Robin Appelman
de85610385
use source cache when listing folder during recursive copy
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-19 16:40:15 +02:00
Nextcloud bot
79aca5520e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-18 00:17:49 +00:00
Nextcloud bot
bd3f3afcf7
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-17 00:17:53 +00:00
Robin Appelman
d820ab2ca8
Merge pull request #38843 from nextcloud/message-log-event-type
...
fix type in BeforeMessageLoggedEvent
2023-06-16 17:57:24 +02:00
Nextcloud bot
f815190afa
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-16 00:18:00 +00:00
Robin Appelman
53443e836f
fix type in BeforeMessageLoggedEvent
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-15 17:29:11 +02:00
Nextcloud bot
b961171b60
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-15 00:18:00 +00:00
Robin Appelman
e6959bd5ec
Merge pull request #38490 from nextcloud/log-dispatch-event
...
emit an event when a message is logged
2023-06-14 13:17:42 +02:00
Nextcloud bot
c12a64fa52
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-14 00:17:56 +00:00
Robin Appelman
d9fa7b1e28
emit an event when a message is logged
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-13 18:45:48 +02:00
Kate
38d64f45be
Merge pull request #38745 from nextcloud/feature/ocs-xml-stdclass
...
Allow stdClass in XML responses
2023-06-13 13:30:55 +02:00
jld3103
7f4651637a
Allow stdClass in XML responses
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-13 11:44:47 +02:00
Dominik Fuchß
e3f6a13e14
Fix deprecated method call
...
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
Dominik Fuchß
a4a57409db
Changes after code review.
...
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
Dominik Fuchß
c3ba871f36
Add config variable for curl timeout
...
Add the config variable for curl calls ("remote_curl_timeout"). E.g., needed for nextcloud federation.
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
Nextcloud bot
ee45b13327
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-13 00:18:06 +00:00
Simon L
63bf207ca7
Merge pull request #38642 from nextcloud/chore/appframework/drop-emptycontentsecuritypolicy-allowinlinescript
...
chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript
2023-06-12 14:20:11 +02:00
Simon L
83faba5e61
Merge pull request #38591 from nextcloud/fix/caching/avoid-haskey-get
...
fix(caching): Avoid checking existence before fetching
2023-06-12 13:53:37 +02:00
Simon L
e390a3569e
Merge pull request #38735 from nextcloud/enh/noid/update-disabled-updater-wording
...
allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
2023-06-12 12:58:59 +02:00
Christoph Wurst
08a3f37695
chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 10:03:59 +02:00
Simon L
1001adc390
Merge pull request #38725 from nextcloud/dropMetaRobots
...
Drop meta robots header
2023-06-12 09:47:24 +02:00
Christoph Wurst
b8c61b3515
fix(caching): Avoid checking existence before fetching
...
The cache might expire between checking for key existence and fetching
the value. In this rare case the code continues with a null value when
it doesn't expect one.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 09:44:48 +02:00
Nextcloud bot
a85831a597
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-12 00:17:56 +00:00
Nextcloud bot
2259eedf76
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-11 00:34:31 +00:00
Simon L
918859cafd
allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-10 10:05:36 +02:00
Robin Appelman
3ef5090084
Merge pull request #38226 from nextcloud/file-object-utils
...
add utility command for object store objects
2023-06-09 20:53:29 +02:00
Robin Appelman
ea88ec1350
add utility command for object store objects
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-09 18:08:18 +02:00
Git'Fellow
5b5895a130
Drop meta robots tag
...
Revert mistake
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-09 18:06:37 +02:00
Julien Veyssier
3621a6b4ec
avoid requests to opengraph image if no host detected
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-09 10:37:58 +02:00
Nextcloud bot
df2727ae44
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-08 00:18:55 +00:00
Ferdinand Thiessen
e532419b15
fix(apache): Serve mjs (module javascript) as static files
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-07 15:19:44 +02:00
Julien Veyssier
18c742a901
encrypt oauth2 client secrets
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-07 11:36:08 +02:00
Julien Veyssier
633e9513e2
shorten oauth2 client names before resizing the column
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-06 15:27:46 +02:00
Julien Veyssier
b2a75fcbfb
drop the oauth2_clients trusted column, delete unsupported clients and their access tokens
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-06 15:27:46 +02:00
Christoph Wurst
872c181c74
chore: Drop dead private methods in /lib
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-06 11:01:58 +02:00
Julius Härtl
3846ec2899
Merge pull request #38322 from nextcloud/bugfix/noid/throw-early-app-container
2023-06-06 08:41:08 +02:00
Nextcloud bot
8b2ec1ec55
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-06 00:17:40 +00:00
Simon L
702196dd86
Merge pull request #38478 from nextcloud/backport/38440/master
...
[master] fix: Catch Deadlock properly as execute throws Doctrine exceptions not our wrapped ones
2023-06-05 23:22:40 +02:00
Arthur Schiwon
ffa30ce89b
Merge pull request #38524 from nextcloud/chore/app/clear-unused-cache-key
...
chore(app): Do not clear unused cache key
2023-06-05 17:48:44 +02:00
Faraz Samapoor
bf38c0a3d1
Refactors "strpos" calls in lib/public to improve code readability.
...
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
2023-06-05 11:14:52 +02:00
Nextcloud bot
7fd9b62fe3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-05 00:17:29 +00:00
Daniel Kesselberg
a2afc7b6a9
refactor: migrate OC_EventSource to dependency injection
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-03 21:42:51 +02:00
Nextcloud bot
d8f3387735
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-03 00:17:50 +00:00
Daniel Kesselberg
3d3c49774f
chore: remove check for suhosin.executor.func.blacklist
...
Suhosin is/was a PHP extension.
The last release was 2015-05-21.
Suhosin does not support PHP 8.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-02 15:47:26 +02:00
Christoph Wurst
09c5f997c6
Merge pull request #38593 from nextcloud/chore/ocp/drop-util-linktopublic
...
chore(ocp)!: Drop \OCP\Util::linkToPublic
2023-06-02 10:23:37 +02:00
Joas Schilling
fa4f476f01
Merge pull request #38545 from nextcloud/bugfix/noid/symfony/event-dispatcher-upgrade-preparation
...
fix(dispatcher): Migrate to OCP event dispatcher before symfony/event…
2023-06-02 09:50:58 +02:00