Arthur Schiwon
333ab4de68
Merge pull request #40995 from nextcloud/cache-jail-optimizations
...
optimize cache jail creation
2023-11-03 17:03:09 +01:00
Simon L
86e9fcab21
Merge pull request #41263 from nextcloud/enh/noid/fix-semaphore-guarding
2023-11-03 16:46:45 +01:00
Marcel Klehr
181f819e41
enh(TextProcessing): Add IProvider2
...
- allow providers to obtain current task's userId
- allow providers to expose average task runtime
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-03 16:22:54 +01:00
Joas Schilling
6f39d82031
fix(install): Make installing more verbose
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:44:46 +01:00
Simon L
b681cf735a
address review
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 15:27:17 +01:00
Christoph Wurst
50de7553b5
Merge pull request #41211 from nextcloud/fix/text-to-image
...
fix(TextToImage): Consistently use the right method to get the preferred providers
2023-11-03 13:11:07 +01:00
Christoph Wurst
78842348b2
feat(dependencyinjection): Allow optional (nullable) services
...
Allows working with classes that might or might not be available.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-03 11:53:43 +01:00
Simon L
531f5d1e4f
fix semaphore guarding
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 11:47:12 +01:00
Joas Schilling
ffc1bb774b
feat(openapi): Add OpenAPI attribute to allow multiple scopes and overwriting tags
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 09:25:11 +01:00
Joas Schilling
c0c2362a3d
Merge pull request #41218 from nextcloud/techdebt/noid/add-autocomplete-filter-event
...
feat(events): Add typed event for filtering autocompletion sugges…
2023-11-02 14:33:19 +01:00
Marcel Klehr
ee76cc512c
fix(TextToImage): Always set completionExpectedAt in run/schedule methods
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-02 12:07:10 +01:00
Christoph Wurst
b2c0cd9e26
Merge pull request #40859 from nextcloud/fix/session/log-why-session-renewal-failed
...
fix(session): Log why session renewal failed
2023-11-02 11:09:00 +01:00
Joas Schilling
2b8114d59d
feat(events): Add typed event for filtering autocompletion suggestions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-02 11:08:53 +01:00
Christoph Wurst
d779092564
Merge pull request #38425 from nextcloud/feat/ocp/strict-igroup
...
feat(ocp): Add types and strict typing to \OCP\Group\IGroup
2023-11-02 11:07:12 +01:00
Git'Fellow
d1169af129
Use \Throwable instead
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +01:00
Git'Fellow
624986a6d5
Catch Imaginary processing errors
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +01:00
Git'Fellow
3bedfdf6ff
Replace if/else with return match
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 10:33:42 +01:00
Christoph Wurst
adc9f64f8d
Merge pull request #40852 from nextcloud/feat/contactsmenu/user-status
...
feat(contactsmenu): Show user status
2023-11-01 09:40:41 +01:00
Nextcloud bot
0398d74ebd
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-01 00:28:44 +00:00
Christoph Wurst
ac168cf9ff
feat(contactsmenu): Show user status
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-31 11:52:46 -07:00
Marcel Klehr
9a494407ee
fix(TextToImage): Consistently use the right method to get the preferred providers
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-31 10:27:29 +01:00
Nextcloud bot
16bfe0cc65
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-31 00:26:17 +00:00
Julius Härtl
51eb44dbfe
Merge pull request #40898 from Murena-SAS/dev/custom-apps-assets
2023-10-30 16:18:30 +01:00
Nextcloud bot
01bb3efe23
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-27 00:27:40 +00:00
Christopher Ng
407b67989d
enh: Register profile nav entry
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Joas Schilling
2b7f78fc2e
Merge pull request #40326 from nextcloud/enh/text-to-image-api
...
Implement TextToImage OCP API
2023-10-26 15:53:30 +02:00
Marcel Klehr
cef069e8f2
fix(TextToImage): Update autoloaders
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 13:31:01 +02:00
Simon L
4c8232f04c
Merge pull request #41120 from nextcloud/imaginaryInvalidStream
2023-10-26 11:59:37 +02:00
Marcel Klehr
1823a8ebf3
Update lib/public/TextToImage/IProvider.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:49:02 +02:00
Marcel Klehr
9658d9c126
Update lib/public/TextToImage/IManager.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:44:24 +02:00
Marcel Klehr
b9985bfd66
fix(TextToImage): Add missing task status update
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:41:21 +02:00
Marcel Klehr
14d1c18665
en(TextToImage): Add getId method to IProvider
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:26:47 +02:00
Marcel Klehr
47e13cd55b
en(TextToImage): Use specific exception class instead of generic RuntimeException
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:16:15 +02:00
Nextcloud bot
33c1aafc2e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-26 00:26:32 +00:00
Git'Fellow
974e86e618
Don't pass invalid streams to Imaginary
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Update Imaginary.php
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Update Imaginary.php
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-10-25 21:58:46 +02:00
Nextcloud bot
bc7f0c3095
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-25 00:43:31 +00:00
Robin Appelman
efe68d012c
Merge pull request #39044 from nextcloud/more-empty-mount-checking
...
Fix root mounts not being setup in some cases
2023-10-24 16:54:05 +02:00
Marcel Klehr
be0a0166e8
fix(TextProcessing): fix psalm typing
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-24 15:34:51 +02:00
Marcel Klehr
3dcedb7900
enh(TextProcessing): Allow providers and task types to declare a dynamic ID instead of using className
...
this allows AppAPI to register anonymous classes as TextProcessing providers and task types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-24 14:41:24 +02:00
Joas Schilling
7a55ea7823
Merge pull request #41061 from nextcloud/bugfix/noid/dont-use-indirect-dependency
...
fix(3rdparty): Don't use indirect dependency "Safe/" for functions
2023-10-24 12:12:36 +02:00
Nextcloud bot
d772537d90
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-24 00:25:42 +00:00
Jonas
7441ce2b11
enh(IMountManager): Add method to get MountPoint from CachedMountInfo
...
Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:50:24 +02:00
Côme Chilliet
5245d2000a
Merge pull request #41017 from nextcloud/fix/move-token-iprovider-to-ocp
...
Move IToken and IProvider::getToken to OCP
2023-10-23 18:01:52 +02:00
Akhil
1d767ebff5
Check if the node has a null ID before deleting in preview watcher
...
Signed-off-by: Akhil <akhil@e.email>
2023-10-23 20:32:15 +05:30
Côme Chilliet
d8b42c6131
Allow passing null to PublicKeyToken::setScope, fixes tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:52:07 +02:00
Joas Schilling
3a265cee30
fix(3rdparty): Don't use indirect dependency "Safe/" for functions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 15:25:14 +02:00
Côme Chilliet
33a24134a7
Improve docblock annotations for tokens and their exceptions
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:20:04 +02:00
Côme Chilliet
58a57a714e
Use more precise typing for setScope method parameter
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:19:38 +02:00
Marcel Klehr
8339b5b128
fix: Minor copypasta
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 15:00:40 +02:00
Marcel Klehr
0c1bd845a7
fix: appease linters and psalm
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:23:28 +02:00
Marcel Klehr
4b8a58cc49
fix: appease linters and psalm
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:16:37 +02:00
Joas Schilling
fd9f7a7188
fix(profile): Directly migrate to OCP constants
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +02:00
Joas Schilling
2353d3cd5c
feat(profile): Add public interface for profile manager so apps can check config
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +02:00
Marcel Klehr
5f815bdcc6
fix(TextToImage\Db\Task): Inject ITimeFactory
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:50:03 +02:00
Côme Chilliet
7a6c4ecc25
Update autoloaders
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:47:48 +02:00
Marcel Klehr
ded77292d5
Update lib/private/TextToImage/Db/TaskMapper.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:48 +02:00
Marcel Klehr
f9d209cf15
Update lib/private/TextToImage/Db/TaskMapper.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:33 +02:00
Marcel Klehr
5d36c4c1d1
Update lib/private/TextToImage/Manager.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:35 +02:00
Marcel Klehr
91448888d1
Update lib/private/TextToImage/RemoveOldTasksBackgroundJob.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:09 +02:00
Marcel Klehr
1f090a3ad7
Update lib/public/TextToImage/Task.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:32 +02:00
Marcel Klehr
4624748937
Update lib/public/TextToImage/Task.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:03 +02:00
Côme Chilliet
1bdf952fde
Make sure that OC interfaces returns OC interfaces for backward compatibility
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:08:23 +02:00
Côme Chilliet
b82e25ea7a
Move Exceptions used in OCP to OCP
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 10:26:25 +02:00
Côme Chilliet
356f0291a2
Align PublicKeyToken with interface changes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 09:41:32 +02:00
Marcel Klehr
497559b246
fix(RemoveOldTasksBackgroundJob): Update after change to support multiple images in TextToImage
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:49:46 +02:00
Marcel Klehr
fa2fa47e6b
fix(TextToImage/Manager): Appease psalm
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:38:40 +02:00
Marcel Klehr
71a06b6bf8
fix(Folder): Allow filename to be '0'
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:22:30 +02:00
Marcel Klehr
b1018597bc
fix(Text2Image): Fix appdata folder creation
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:21:00 +02:00
Marcel Klehr
4055a90004
fix(Text2Image): Fix $completionExpectedAt default value
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:20:29 +02:00
Marcel Klehr
9787f9dba0
enh(Text2Image): Add AI settings section to text2image
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 11:10:24 +02:00
Nextcloud bot
b76ecf3781
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:28:37 +00:00
John Molakvoæ
3214324b72
fix(l10n): invalid translation of a number
...
fix https://github.com/nextcloud/server/issues/35252
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-10-21 11:48:46 +02:00
Côme Chilliet
f94fb33062
Move IToken and IProvider::getToken to OCP
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-20 17:51:33 +02:00
Robin Appelman
8418fcfedf
add some support for rename on case insensitive local filesystems
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-20 15:03:11 +02:00
Marcel Klehr
cee5aa84f0
fix(Text2Image): Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 14:56:24 +02:00
Marcel Klehr
9ee72633cf
enh(Text2Image): Expose expected completion time
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:54:36 +02:00
Marcel Klehr
4c58edc1b7
fix(Text2Image): Fix psalm error
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:53:32 +02:00
Marcel Klehr
bc85acf7d0
fix(Text2Image): Fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:38:20 +02:00
Marcel Klehr
37c4ccc751
fix(Text2Image): Fix Task#lastUpdated initialization to use DateTime instead of time()
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:15:40 +02:00
Marcel Klehr
b7fd5185b6
enh(TextToImage): Allow generating multiple images with one task
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:13:15 +02:00
Marcel Klehr
8968573d9f
enh(TextToImage): Add getExpectedRuntime to IProvider and run tasks during request lifetime if possible
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 12:17:17 +02:00
Ferdinand Thiessen
363d9ebb13
feat(NavigationManager): Always sort the default app first
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +02:00
Ferdinand Thiessen
08cff0777a
feat(IAppManager): Allow to set the (user) default apps and get all global default apps
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +02:00
Robin Appelman
9bc44de95d
reuse sharing disabled state when listing folder content
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:40:52 +02:00
Robin Appelman
460344336e
optimize cache jail creation
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:27:00 +02:00
Côme Chilliet
a3cc3b188d
Small code style fix in SetupCheckManager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet
2e4d1549a4
Change SetupResult API to named constructors
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet
be11ffd86a
Add debug logging when running setup checks to help with debugging slow results
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet
efa2dfa641
Add OCP interface for SetupCheckManager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet
5503c4c8e2
Add missing licences and copyright in SetupCheck
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet
67e7a2635f
Fix PHPDoc in OCP for new SetupResult class
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet
1202171b32
Fix docblock and types for new public API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Carl Schwan
c71e47f5c3
Progress
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +02:00
Carl Schwan
eb1d612d96
Add api to register setup checks
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +02:00
Akhil
5e20c3e7b9
Add custom apps translation scripts and image path for consistency
...
Signed-off-by: Akhil <akhil@e.email>
2023-10-19 14:39:29 +05:30
Marcel Klehr
3d11ab7af8
fix(TextToImage): Add autoloader changes and registerAlias
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-19 10:54:18 +02:00
John Molakvoæ
a572a547f9
Merge pull request #40969 from nextcloud/ishare-type
2023-10-19 09:29:26 +02:00
Varun Patil
c008464a2a
Fix return type of IShare::getExpirationDate
...
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-18 23:23:41 -07:00
Nextcloud bot
1c014f82c2
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-19 00:28:10 +00:00
Joas Schilling
4f76c131a4
fix(federation): Fix type and docs on ICloudFederationNotification interface
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 17:16:22 +02:00
Marcel Klehr
ab856a5c78
fix(TextToImage): Fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:09:04 +02:00
Marcel Klehr
9b7f63946f
fix(TextToImage): Fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:44:21 +02:00
Marcel Klehr
5ddf3c3366
Update lib/public/TextToImage/Exception/TextToImageException.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
47372380b4
Update lib/public/TextToImage/Exception/TaskNotFoundException.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
1d07dcc346
Update lib/private/TextToImage/Db/Task.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
e8faaebb0f
enh(TextToImage): Allow anonymous access to IManager#getUserTasksByApp
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
c59861a9fa
enh(TextToImage): Implement removal of stale images and change Task#last_updated to DATETIME
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
207c95838f
fix(TextToImage): Fix coding style
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
3e6a8b31c4
fix(TextToImage): Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
e5efbc88d8
enh(TextToImage): Address review comments
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
41847c951a
Update lib/private/TextToImage/TaskBackgroundJob.php
...
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
53678a8534
Update lib/public/TextToImage/Events/TaskSuccessfulEvent.php
...
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
e199d1aae1
Update lib/public/TextToImage/IManager.php
...
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
dc8cba6026
cs:Fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
666f7b33c9
Small fixes
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
2d44c7c1ed
Small fixes
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
c8cab9d2fd
Implement TextToImage OCP API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Joas Schilling
9bdf98f699
Merge pull request #40959 from nextcloud/bugfix/noid/fix-types-in-querybuilder
...
fix(dbal): Fix types in query builder methods for parameters
2023-10-18 11:41:29 +02:00
John Molakvoæ
80893480c1
Merge pull request #40478 from nextcloud/node-from-entry
2023-10-18 10:44:21 +02:00
Joas Schilling
15a7aa51c5
fix(dbal): Fix types in query builder methods for parameters
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 07:09:08 +02:00
Ferdinand Thiessen
1f8c21a581
Merge pull request #40808 from c39cfbb3/patch-3
...
fix(L10N): Support "Accept-Language: zh-Hans-CN" and alike
2023-10-18 03:43:26 +02:00
Ferdinand Thiessen
154a9989a7
Merge pull request #39852 from nextcloud/pragmaHeader
...
Stop sending deprecated Pragma header
2023-10-18 03:30:21 +02:00
Nextcloud bot
e1d33096d3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-18 00:52:29 +00:00
c39cfbb3
1bf15da863
Update lib/private/L10N/Factory.php
...
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +02:00
c39cfbb3
f7cd3d17b8
L10N/Factory: Support "Accept-Language: zh-Hans-CN" and alike
...
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +02:00
John Molakvoæ
4b55594f55
feat(files): migrate template picker
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:17:35 +02:00
Nextcloud bot
cd6b10f89b
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-17 00:27:38 +00:00
Côme Chilliet
8212feefb9
Merge pull request #40367 from nextcloud/fix/user_ldap-update-groups-on-login
...
Fire group membership events from LDAP at login
2023-10-16 10:01:55 +02:00
Joas Schilling
356c2219bc
Merge pull request #40865 from nextcloud/bugfix/noid/fix-version-comment
...
Fix version number in ITimeFactory after it was delayed
2023-10-16 08:01:09 +02:00
Joas Schilling
a724fd4e9c
Merge pull request #40900 from nextcloud/bugfix/noid/fix-parameter-types-in-docs
...
fix(docs): Fix parameter types in docs
2023-10-16 08:00:44 +02:00
Nextcloud bot
562f19a49e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-15 00:27:31 +00:00
Christoph Wurst
cdc2f38a51
Merge pull request #40868 from nextcloud/feat/in-memory-cache-factory
...
feat: Add factory method for in-memory caches
2023-10-13 13:52:14 +02:00
Joas Schilling
a8ae09c544
fix(docs): Fix parameter types in docs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 11:02:42 +02:00
Joas Schilling
21e7a82e64
feat(OCM): Dispatch an event so apps can register resources
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:46:28 +02:00
Joas Schilling
fc445a2eaa
feat(OCM): Add a way for apps to create a new IOCMResource
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:38:19 +02:00
Joas Schilling
b246d51cbc
fix(OCM): Make the OCM provider stateful so apps can add resources
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:42 +02:00
Joas Schilling
4dbe0677ad
fix(OCM): Make the public API only rely on OCP
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:39 +02:00
Christoph Wurst
03c7ee4e41
Merge pull request #40879 from nextcloud/fix/session/log-lost-crypto-session
...
fix(session): Log when crypto session data is lost
2023-10-12 10:37:15 +02:00
Côme Chilliet
500374a8e7
Fix registerEventListener signature
...
It seems now psalm correctly supports this.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Nextcloud bot
6379c852c3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-12 00:25:29 +00:00
Christoph Wurst
ca33d6b01c
fix(session): Log when crypto session data is lost
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 19:59:18 +02:00
Christoph Wurst
ff672b11e2
feat: Add factory method for in-memory caches
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 13:37:22 +02:00
Joas Schilling
0a4fbaddc7
Fix version number in ITimeFactory after it was delayed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-11 12:14:41 +02:00
Christoph Wurst
fac05bce07
chore: Drop unused \OC\Memcache\Factory::createLowLatency
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 09:40:27 +02:00
Christoph Wurst
4f183bb604
fix(session): Log why session renewal failed
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 08:36:13 +02:00
Nextcloud bot
bf1dbd33a7
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-11 00:28:10 +00:00
Côme Chilliet
43971f6a5c
Merge pull request #39756 from nextcloud/enh/add-disabled-users-endpoint
...
Add endpoint for getting disabled user list
2023-10-10 13:33:49 +02:00
Christoph Wurst
8c2b9b3036
Merge pull request #40785 from nextcloud/fix/user/log-logout-conditions
...
fix: Log critical session renewal and logout paths
2023-10-10 11:26:25 +02:00
Joas Schilling
ab15cffa56
Merge pull request #33105 from nextcloud/feature/noid/talk-federation-auth
...
Talk federation authentication
2023-10-09 17:06:29 +02:00
Joas Schilling
7998afe8b3
Talk federation authentication
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-09 15:44:56 +02:00
Christoph Wurst
f398d0b5a3
fix: Log critical session renewal and logout paths
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-09 13:21:10 +02:00
Alexander Piskun
4e8ec0bc36
Merge pull request #40737 from nextcloud/cors-app_api
...
added CORS skip if the session was created by AppAPI
2023-10-09 13:40:29 +03:00
Côme Chilliet
a1255539b8
Add endpoint for getting disabled user list
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Daniel Hansson
06efe9f211
Merge pull request #40731 from nextcloud/imaginary-performance
...
Generate all preview sizes for Imaginary
2023-10-09 11:54:03 +02:00
Alexander Piskun
6ef3875e74
Merge branch 'master' into cors-app_api
2023-10-09 11:24:04 +03:00
Joas Schilling
f84a93f435
Merge pull request #40472 from nextcloud/fix/aborted_pgsql_transaction_on_error
...
fix(twofactor): avoid DB error on Twofactor (en/dis)abled event
2023-10-09 09:04:24 +02:00
Daniel Hansson
6e171bbaf5
Merge branch 'master' into imaginary-performance
2023-10-09 07:29:58 +02:00
Joas Schilling
570159e610
fix(DB): Update comment to state why we still use the max 4k limit
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +02:00
Joas Schilling
ccb01b19a0
fix(sqlite): Remove some old SQLite cheats
...
- Doctrine correctly forces integer for autoincrement by now
- Doctrine correctly maintains integer types by now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +02:00
Joas Schilling
f8ee6c4769
fix(oracle): Move away from internal and deprecated SchemaDiff API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +02:00
Joas Schilling
919207873e
fix(dbal): Move migrator away from deprecated calls
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +02:00
Joas Schilling
160298c556
fix(mysql): Remove custom MySQL workaround from 2015
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling
b202b139dd
fix(postgres): Remove old Postgres 9.4 workaround
...
Postgres 10 is the minimum in the meantime
and doctrine/dbal fixed this in 2.6.0 already
ref https://github.com/doctrine/dbal/pull/2614
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling
ad839dbb0a
fix(sqlite): Remove no longer required autoincrement fix
...
- I installed current master and exported the schema as SQL
- Then I went to this branch, removed the content of the run() method (so made it no-op)
- I installed again and exported the schema as SQL
- The files are exactly the same, so whatever we tried to fix was fixed since 2015 in doctrine dbal
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling
c4ed7f9d21
fix(dbal): Doctrine\DBAL\Connection::PARAM_* types are deprecated
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +02:00
Alexander Piskun
0b8a3b578d
fixed Drone test
...
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-06 13:46:37 +03:00
Benjamin Gaussorgues
4361019f2f
fix(twofactor): avoid error in pgsql for duplicate entry
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-10-06 11:23:23 +02:00
Christoph Wurst
83a30dfbdf
fix(user): Log affected user of app token login name mismatch
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-06 08:51:50 +02:00
Arthur Schiwon
6200c914a3
Merge pull request #40745 from nextcloud/fix/noid/ocm-provider-rewrite-rules
...
fix ocm-provider rewrite rules
2023-10-05 10:24:02 +02:00
Daniel Hansson
d8e8e73c02
Merge branch 'master' into imaginary-performance
2023-10-04 11:00:47 +02:00
John Molakvoæ
4756807f2e
Merge pull request #40439 from Koc/feature/clickable-logo
2023-10-04 08:49:25 +02:00
Nextcloud bot
cf6e9a19c4
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 00:26:58 +00:00
Konstantin Myakshin
41370350f2
Make logo in header clickable in the shared file view
...
Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
2023-10-04 00:36:10 +03:00
Faraz Samapoor
a304ba5b5a
Refactors lib/private/Collaboration.
...
Mainly using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-10-03 09:17:10 +03:30
Nextcloud bot
4d227c195f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 00:26:05 +00:00
Maxence Lange
39c39a0f60
fix ocm-provider rewrite rules
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-02 14:38:10 -01:00
Christoph Wurst
0cb489d6ca
Merge pull request #40656 from nextcloud/feat/backgroundjob/schedule-job-after
...
feat(backgroundjob): Schedule job after <timestamp>
2023-10-02 11:30:21 +02:00
Daniel Hansson
2792c9e4ce
Merge branch 'master' into imaginary-performance
2023-10-02 10:55:09 +02:00
Daniel Hansson
da2aad598e
also remove function
...
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-10-02 10:54:36 +02:00
Alexander Piskun
f16c9f42c6
added CORS skip if session was created by AppAPI
...
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-02 11:08:21 +03:00
Daniel
676bee16eb
Merge pull request #40734 from nextcloud/debt/noid/align-param-name
2023-10-01 12:16:33 +02:00
Côme Chilliet
1daa881b03
Allow PHP 8.3 in version check
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Daniel Kesselberg
19ec0ee81b
chore: rename serializedClosure to argument to align with parent class
...
To make psalm happy ;)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-30 22:46:32 +02:00
Daniel Hansson
b2d105e7ec
Generate all preview sizes for Imaginary
...
A follow up on https://github.com/nextcloud/server/pull/40670
Based on discussions here: https://github.com/nextcloud/server/issues/38911#issuecomment-1741819188
This fixes the case were not all previews are generated, for example in the activity view: https://github.com/nextcloud/server/issues/38911#issuecomment-1738886106
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-09-30 20:08:35 +02:00
Nextcloud bot
d215d80916
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 00:25:53 +00:00
Joas Schilling
6c0b862e75
fix(systemreport): Mask onlyoffice secret as sensitive
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-29 16:36:19 +02:00
Christoph Wurst
04ecc2a6a9
feat(backgroundjob): Schedule job after <timestamp>
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 10:29:40 +02:00
F. E Noel Nfebe
db6a53b0a1
Merge pull request #39224 from shdehnavi/null_coalescing_conversion_lib_private
...
Convert isset ternary to null coalescing operator
2023-09-29 02:20:12 +01:00
Nextcloud bot
703f20b5bc
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 00:25:29 +00:00
Hamid Dehnavi
ea06cf2f39
Convert isset ternary to null coalescing operator
...
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 17:44:19 +03:30
Côme Chilliet
c9ed1e981b
Merge pull request #40617 from nextcloud/enh/allow-user-to-set-apporder
...
Read apporder from configuration value
2023-09-28 10:55:52 +02:00
Côme Chilliet
99e287b49a
Merge pull request #39011 from fsamapoor/refactor_lib_private_security_part1
...
[1/3] Refactors lib/private/Security
2023-09-28 10:38:38 +02:00
Côme Chilliet
8049702413
Fix behavior when defaultapp is empty
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-28 09:22:54 +02:00
Nextcloud bot
c2e4a7be92
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-28 00:27:56 +00:00
Christoph Wurst
6b90ab1953
refactor: Use DBAL's executeQuery instead of query (deprecated)
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-27 10:43:42 +02:00
Faraz Samapoor
f313ca92e7
Refactors lib/private/Security.
...
Mainly using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-27 09:03:15 +03:30
Nextcloud bot
912b18b1fc
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-27 00:26:53 +00:00
Côme Chilliet
740b38be2b
Merge pull request #39108 from fsamapoor/refactor_lib_private_lock
...
Refactors lib/private/Lock
2023-09-26 16:58:37 +02:00
Côme Chilliet
a4a3d94f05
Default to first application if no default app is set
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:40:14 +02:00
Côme Chilliet
6083d32a80
Revert "Support admin default order for applications"
...
This reverts commit a3a42591e2
.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:22:57 +02:00
Côme Chilliet
3a56ecc8cb
Merge pull request #40565 from nextcloud/fix/remove-writelog
...
Remove deprecated methods Util::writeLog and DIContainer::log
2023-09-26 12:09:21 +02:00
Faraz Samapoor
40d9349a2d
Refactors lib/private/Lock.
...
To improve code readability.
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-26 10:48:17 +03:30
Joas Schilling
23a2e3424b
Merge pull request #40620 from nextcloud/feat/noid/ocp-for-phonenumber-util
...
feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
2023-09-26 08:59:43 +02:00
Joas Schilling
3b4c306860
fix(phonenumber): Improve docs by adding input details
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 17:32:47 +02:00
Côme Chilliet
dc347b39c1
Merge pull request #40501 from nextcloud/fix/fix-int-size-in-files-scanner
...
Store size in int|float for 32bit support
2023-09-25 16:32:32 +02:00
Joas Schilling
0956b493b6
fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usage
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:54:21 +02:00
Côme Chilliet
a3a42591e2
Support admin default order for applications
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:43:04 +02:00
Joas Schilling
5092278b0f
feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:33:09 +02:00
Côme Chilliet
ac19ba9c66
Read apporder from configuration value
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:02:23 +02:00
Côme Chilliet
bbfa9d1440
Merge pull request #40505 from nextcloud/chore/noid/remove-opis-closure
...
chore(3rdparty): remove opis/closure
2023-09-25 11:03:10 +02:00
Côme Chilliet
f68d4f7300
Remove deprecated methods Util::writeLog and DIContainer::log
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 10:37:12 +02:00
Nextcloud bot
4ed4ffa4c9
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-25 00:29:47 +00:00
Nextcloud bot
d1f3d84ed1
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-23 00:27:56 +00:00
Daniel Kesselberg
97a024f035
chore(3rdparty): remove opis/closure
...
- We are using laravel/serializable-closure for a while now.
- The package was there for compatibility reasons but does not play nice with PHP 8.1.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-22 17:16:20 +02:00
Robin Appelman
7fecdf6129
Merge pull request #39113 from fsamapoor/refactor_lib_private_collaboration_part1
...
[1/2] Refactors lib/private/Collaboration
2023-09-22 11:18:29 +02:00
Robin Appelman
6b767e060a
Merge pull request #39013 from fsamapoor/refactor_lib_private_security_part3
...
[3/3] Refactors lib/private/Security
2023-09-22 11:13:44 +02:00
Robin Appelman
b6927d0fa3
Merge pull request #39075 from fsamapoor/refactor_lib_private_profile
...
Refactors lib/private/Profile.
2023-09-22 11:10:42 +02:00
Nextcloud bot
c63ef4a2d5
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-22 00:32:00 +00:00
Joas Schilling
3b6a9cd236
Merge pull request #40288 from nextcloud/feat/appframework/rate-limiter
...
feat(appframework): Expose programmatic rate limiter
2023-09-21 18:49:44 +02:00
Robin Appelman
b11ca34bbd
Merge pull request #40499 from nextcloud/known-mtime-wrapper
...
add wrapper for external storage to ensure we don't get an mtime that is lower than we know it is
2023-09-21 18:33:15 +02:00
Robin Appelman
ef87ff1848
Merge pull request #39216 from shdehnavi/replace_substr_calls_in_lib_private
...
Refactor "substr" calls in lib/private to improve code readability
2023-09-21 16:34:27 +02:00
Côme Chilliet
ff9de2efb6
Merge pull request #40508 from nextcloud/fix/migrate-apps-away-from-ilogger
...
Migrate applications away from deprecated ILogger
2023-09-21 15:12:31 +02:00
Côme Chilliet
0a9371f99f
Migrate applications away from deprecated ILogger
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-21 11:57:21 +02:00
Faraz Samapoor
14ad1e9219
Adds type hint to the method parameter.
...
Co-authored-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:28:02 +03:30
Faraz Samapoor
6427863443
Refactors lib/private/Collaboration.
...
Mainly using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:28:02 +03:30
Faraz Samapoor
1c023e6666
Update lib/private/Security/Certificate.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-21 11:20:12 +03:30
Faraz Samapoor
f9596edb00
Updates the typed properties.
...
Based on: https://github.com/nextcloud/server/pull/39013#discussion_r1242340826
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:20:12 +03:30
Faraz Samapoor
4f46656d39
Refactors lib/private/Security.
...
Mainly using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:20:12 +03:30
Christoph Wurst
a66fe6e0b1
Merge pull request #38989 from fsamapoor/refactor_lib_private_avatar
...
Refactors lib/private/Avatar.
2023-09-21 09:34:07 +02:00
Kate
716c5e0966
Merge pull request #40511 from nextcloud/fix/dashboard-widgets-api
...
Fix dashboard widgets api
2023-09-20 21:22:33 +02:00
Christoph Wurst
e477bb7eaf
feat(appframework): Expose programmatic rate limiter
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-20 20:25:27 +02:00
Arthur Schiwon
4954c9f4ba
Merge pull request #39574 from nextcloud/fix/noid/ocm-controller
...
OCM Services
2023-09-20 20:16:10 +02:00
jld3103
80e3064817
Fix Dashboard IManager getWidgets return annotation
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +02:00
Robin Appelman
eab8dd3ca0
use multipart copy for s3
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:28:48 +02:00
Maxence Lange
b5dcd048ae
small fixes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Maxence Lange
8b9e7e235d
ocm controller
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Nextcloud bot
fecae94229
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-20 00:27:30 +00:00
Joas Schilling
2bd0f07e5a
Merge pull request #40488 from nextcloud/bugfix/noid/message-expiration-breaks-pagination
...
fix(comments): Use provided offset in best effort when loading comments
2023-09-19 15:30:57 +02:00
Robin Appelman
5bf34979fe
add wrapper to ensure we don't get an mtime that is lower than we know it is
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 13:58:15 +02:00
Côme Chilliet
5090848b25
Store size in int|float for 32bit support
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-19 13:43:01 +02:00
Anna Larch
56419d94f8
enh(db): provide database providers via API
...
To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the
associated constants
fixes https://github.com/nextcloud/server/issues/30877
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-19 11:56:44 +02:00
Robin Appelman
5e347553bc
add method to create a node from cache entry + mountpoint
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 11:43:29 +02:00
Joas Schilling
4d2217073a
fix(comments): Use provided offset in best effort when loading comments
...
When we didn't find the "$lastKnownComment" the whole condition was ignored.
Now we still use the ID as an offset.
This is required as a fall-back for expired messages in Talk
and deleted comments in other apps.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-18 20:09:32 +02:00
Christoph Wurst
7e23ea2026
Merge pull request #39039 from fsamapoor/refactor_lib_private_log
...
Refactors lib/private/Log
2023-09-18 10:54:20 +02:00
Julien Veyssier
b2e10841b5
Merge pull request #40421 from nextcloud/fix/openapi/core/reference-api
...
core: Fix OpenAPI for reference API
2023-09-17 10:19:57 +02:00
Simon L
7bba5ec71e
Merge pull request #40203 from lhsazevedo/fix/mimetype-40064
2023-09-16 21:17:24 +02:00
jld3103
79b8b5c0f2
core: Fix OpenAPI for reference API
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-14 15:49:13 +02:00
Julius Härtl
7f958e81d3
fix: Pass parent to NonExistingFile instances
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-13 10:28:28 +02:00
Robin Appelman
1eb3293e53
setup filesystem wrappers before we mark the root as setup
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-12 16:50:29 +02:00
Robin Appelman
5685d68bd3
add more checks to ensure mounts aren't empty
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-12 16:50:24 +02:00
Daniel Kesselberg
f8f985602b
test: add tests for dns pin middleware
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-12 14:04:23 +02:00
Côme Chilliet
4f1e5bc8fd
Merge pull request #32912 from nextcloud/group-backend-batch-method
...
Add batch methods in user backends
2023-09-11 11:11:00 +02:00
Arthur Schiwon
603a659a37
fix(autoloader): no apcu no side effects
...
apcu lead to side effects especially with app management and (soft)
inter-dependencies, and lead also to 500 server errors. While we could
add management to clear apcu cache in many cases (may stil leave edge
cases) the performance benefit is marginally as also class maps are
already cached in opcache. Hence, the simple and effective way to go is
to not use apcu for autoloading.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-08 16:55:39 +02:00
Julius Härtl
bd65f1ea28
feat: Add dedicated method to load init scripts
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: John Molakvoæ <skjnldsv@protonmail.com>
Update lib/public/Util.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-07 21:42:06 +02:00
Côme Chilliet
d18bb7e9bb
Build query once instead of in-loop
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-07 17:07:47 +02:00
Côme Chilliet
a41d51b1e9
Merge pull request #40285 from nextcloud/backport/40233/master
...
Detect aborted connection in OC\Files\View and stop writing data to t…
2023-09-07 15:56:54 +02:00
Côme Chilliet
8549ea4025
Merge pull request #40216 from nextcloud/print-log-message-when-version-could-not-be-got-from-updater-server
...
Print log message when version could not be got from updater server
2023-09-07 09:33:06 +02:00
Benjamin Gaussorgues
003d0dec93
Detect aborted connection in OC\Files\View and stop writing data to the output buffer
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-09-07 09:32:32 +02:00
Andy Scherzinger
80a4b369f8
Merge pull request #40295 from nextcloud/appecosystem-renaming
...
Rename AppEcosystemV2 to AppAPI
2023-09-07 07:15:56 +02:00
Nextcloud bot
c08a8036e5
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-07 00:29:00 +00:00
Julius Härtl
5cb2713ea4
Merge pull request #38808 from nextcloud/bugfix/noid/store-unencrypted-homefolder
2023-09-06 19:58:15 +02:00
Alexander Piskun
01a11641f4
new name of AppEcosystem is AppAPI
...
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-09-06 16:53:53 +03:00
Joas Schilling
eb3e715ebd
fix(ratelimit): Only use memory cache backend for redis
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-06 15:13:23 +02:00
Christoph Wurst
312dd8ac6d
feat(ocp): Add types and strict typing to \OCP\Group\IGroup
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-06 11:58:09 +02:00
Julius Härtl
13b9dd2267
fix: Only read unencrypted_size when file is actually encrypted
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-06 07:25:28 +02:00
Julius Härtl
88a96e4db7
fix: Only store unencrypted_size if path should be encrypted
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-06 07:25:28 +02:00
Daniel Calviño Sánchez
9a179c391e
Print log message when version could not be got from updater server
...
This could help to diagnose why the updater server could not be reached,
as well as other subtler issues like requests taking too long if the
updater server was tried to be connected to as a "side effect" (for
example, when the "updatenotification" app boots).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-09-06 05:43:21 +02:00
Hamid Dehnavi
0808e19540
Update lib/private/DateTimeFormatter.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-05 21:09:16 +03:30
Côme Chilliet
35069ad86a
Fix psalm spotted type errors
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 16:56:48 +02:00
Côme Chilliet
2c8b415c55
Move new methods to a new interface in OCP
...
This avoids breaking compatibility for group backends not based on
ABackend abstract class.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 16:56:48 +02:00
Côme Chilliet
a5fa1e7715
Fix psalm errors about groupExists return type
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 16:56:48 +02:00
Carl Schwan
3270b7f12e
Add batch methods in user backends
...
This allows for faster group search with significantly less DB traffic
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-09-05 16:56:47 +02:00
Hamid Dehnavi
9b92c1abe4
Update lib/private/DateTimeFormatter.php
...
Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-05 16:18:46 +03:30
Côme Chilliet
f331d86ca8
Merge pull request #35539 from nextcloud/cleanup/carl/application-contactsmanager
...
Cleanup psalm issues in DB/ContactsManager and Console
2023-09-05 10:15:08 +02:00
Côme Chilliet
5c78adb20d
Fix Exception catching in OC\DB\Adapter
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 09:20:26 +02:00
Carl Schwan
e966cfbc4b
Cleanup plsam issues in DB/ContactsManager and Console
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-09-05 09:20:26 +02:00
Robin Appelman
5ac0e9b63b
reuse isValidPath from Filesystem
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:50 +02:00
Robin Appelman
baf8d2e1d0
make LazyFolder::get not load the real folder if we know the path
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:49 +02:00
Robin Appelman
9055fef5ef
add IFileInfo::getParentId
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:49 +02:00
Robin Appelman
e718cbc661
make Node::getParent lazy
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:48 +02:00
Robin Appelman
0232eec2cf
allow passing more info to lazy folder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:47 +02:00
Daniel
b92f5cdd3d
Merge pull request #40234 from nextcloud/enh/noid/skip-processing-for-empty-response
2023-09-04 16:41:17 +02:00
Daniel Kesselberg
03f1f1ed2e
enh: skip processing for empty response
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-04 15:28:02 +02:00
Robin Appelman
64f62f7cfd
Merge pull request #39863 from nextcloud/sharing-mask-wrapper
...
move share permission logic to storage wrapper
2023-09-04 14:05:14 +02:00
Lucas Azevedo
c587f684bd
Wrap mimetype insert and getLastInsertId in a transaction
...
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-04 08:02:35 -03:00
Simon L
489a57e9a3
Merge pull request #39707 from nextcloud/bugfix/39706/local-ext-storage-unavailable-mode
2023-09-04 12:05:36 +02:00
John Molakvoæ
db19b25abd
Merge pull request #40195 from nextcloud/fix/defaultpermissions-rootfolder
2023-09-04 10:43:58 +02:00
Nextcloud bot
d9c5f174b2
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-03 00:25:32 +00:00
Joas Schilling
391bbbc14d
Merge pull request #40075 from nextcloud/bugfix/noid/fix-parameter-name-change
...
fix(API): Fix parameter name to match interface
2023-09-02 17:38:17 +02:00
John Molakvoæ
db5dbd1d56
Merge pull request #26716 from nextcloud/fix/sharing-do-no-get-after-create
2023-09-02 11:06:17 +02:00
John Molakvoæ (skjnldsv)
f828dce597
Fix sharing creation insert and get
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-02 10:25:24 +02:00
JanisPlayer
80abec668b
feat: Imaginary WebP support
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-02 09:30:37 +02:00
Andrew Summers
2258058fd6
Refactor `OC\Server::getAvatarManager
...
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2023-09-01 16:43:04 -05:00
Lucas Azevedo
5de021cb9a
fix(mimetype): Remove unnecessary transaction when storing a mime type
...
Fixes #40064 .
This could be fixed by adding a rollback and starting a new transaction
before the SELECT query, but in this case that would have the same
effect as not using one.
See https://dev.mysql.com/doc/refman/8.0/en/innodb-autocommit-commit-rollback.html
and https://www.postgresql.org/docs/7.1/sql-begin.html#R1-SQL-BEGIN-1
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-01 14:20:21 -03:00
John Molakvoæ
52590a762f
feat(files): add uploader
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-01 14:35:40 +02:00
John Molakvoæ
750a9f2c4a
fix: prevent sharing permissions on user root folder
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-01 13:53:41 +02:00
Robin Appelman
4711c775b8
Merge pull request #36068 from nextcloud/gf-encryption-fix
...
extend fix-key-location to handle cases from broken cross-storage moves
2023-09-01 13:01:04 +02:00
Joas Schilling
2abb503e60
fix(API): Fix parameter name to match interface
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-01 11:17:06 +02:00
Nextcloud bot
cf2e3bc0ee
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-01 00:29:36 +00:00
Thomas Citharel
3f28fc58aa
fix(s3): fix handling verify_bucket_exists parameter
...
If 'verify_bucket_exists' is set to false in the config.php s3 configuration, it's supposed to avoid
verifying that the bucket exists. However empty(falsy) will always return true, so this condition
would not work.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-08-31 21:36:03 +02:00
Robin Appelman
e4f85226c5
extend fix-key-location to handle cases from broken cross-storage moves
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-31 19:46:47 +02:00
Benjamin Gaussorgues
e9d6652705
Merge pull request #39897 from nextcloud/feat/share-by-mail/remove-ilogger
...
sharebymail: remove ILogger and upgrade to PHP 8 syntax
2023-08-31 15:20:27 +02:00
Nextcloud bot
931ab2e7e3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-31 00:34:40 +00:00
Benjamin Gaussorgues
303dadfaa9
sharebymail: remove ILogger and upgrade to PHP 8 syntax
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-08-30 18:36:29 +02:00
Daniel
ec089cf3b2
Merge pull request #40108 from nextcloud/bug/noid/config-dns-pinning
2023-08-30 14:55:23 +02:00
Nextcloud bot
9d1547f59d
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-30 00:31:33 +00:00
Daniel Kesselberg
eab46bdfe6
feat: add switch to disable dns pinning
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-29 18:03:54 +02:00
Vincent Petry
8d1a3daa3f
Allow ext storage Local to go unavailable
...
Whenever an external storage of type Local points at a non-existing
directory, process this as a StorageNotAvailable instead of returning
404.
This makes desktop clients ignore the folder instead of deleting it when
it becomes unavailable.
The code change was limited to external storages to avoid issues during
setup and with the default home storage.
Signed-off-by: Vincent Petry <pvince81@yahoo.fr>
2023-08-29 11:04:31 +02:00
Joas Schilling
6f520f2304
Merge pull request #40026 from lhsazevedo/auth-token-commands
...
feat: Add auth token list and delete commands
2023-08-29 08:57:07 +02:00
Joas Schilling
943f4c246f
Merge pull request #40079 from nextcloud/techdebt/noid/user-IThrottler-interface-for-DI
...
techdebt(DI): Use public IThrottler interface which exists since 25
2023-08-28 20:46:09 +02:00
Joas Schilling
fec5ede099
Merge pull request #40077 from nextcloud/bugfix/noid/purge-displayname-cache-on-delete
...
fix(cache): Remove displayname cache entry on delete
2023-08-28 17:25:30 +02:00
Lucas Azevedo
79bc6ba06c
Merge branch 'master' into auth-token-commands
2023-08-28 12:25:01 -03:00
Andy Scherzinger
fc3eef9d2f
Merge pull request #39083 from nextcloud/fix/check-vobject-existence
...
fix(CalDAV): Check if the vObject exists before attempting any operations
2023-08-28 16:33:31 +02:00
Joas Schilling
25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-28 15:50:45 +02:00
Côme Chilliet
ac3d7e3a7e
Merge pull request #39699 from nextcloud/enh/hide-shares-from-disabled-users
...
Hide shares by disabled users
2023-08-28 15:33:45 +02:00
Anna
5805ccde1d
Merge pull request #38298 from nextcloud/enh/occ-sync-account-data
...
feat: Add occ user:user:sync-account-data for updating oc_accounts information from user backends
2023-08-28 15:11:55 +02:00
Git'Fellow
066f6ef16c
Stop sending deprecated Pragma header
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-28 15:11:22 +02:00
Joas Schilling
daac5c9a95
fix(cache): Remove displayname cache entry on delete
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-28 14:59:54 +02:00
Anna Larch
14725d792f
fix(CalDAV): Check if the vObject exists before attempting any operations
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-28 14:19:54 +02:00
Côme Chilliet
24ad2e2dc4
Use nullsafe call syntax instead of additionnal check
...
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-08-28 09:40:12 +02:00
Côme Chilliet
8c9aa9a919
Set files_sharing:hide_disabled_user_shares to 'yes' to hide shares from disabled users
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-28 09:40:12 +02:00
Lucas Azevedo
2a36acfc2b
Fix typo
...
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 11:20:34 -03:00
Lucas Azevedo
c93b1634d3
Fixes from static analysis
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 10:41:46 -03:00
Anna Larch
66c1aa4a3c
fix(utility): De- deprecate getDateTime as now() only returns immutable objects
...
This will mean lots of code like
```$dateTime = (new DateTime())->setTimestamp(ITimeFactory::now()->getTimestamp()```
if a regular DateTime object is needed
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-25 08:55:44 +02:00
Lucas Azevedo
fe9b9c1955
Add last-used-before option
...
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 02:07:57 -03:00
Lucas Azevedo
a49a220fca
Update autoloaders
...
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 11:59:55 -03:00
Joas Schilling
5a1fcdb272
fix(dbal): Migrate to Doctrine\DBAL\ParameterTypes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 09:08:08 +02:00
Nextcloud bot
bc411a2cf3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-23 00:28:15 +00:00
John Molakvoæ
b11532ce56
Merge pull request #39958 from nextcloud/dav-permissions-perf
2023-08-22 19:14:53 +02:00
Joas Schilling
381c35080d
fix(middleware): Fix header injection for bruteforce middleware
...
Calling setHeaders(getHeaders()) breaks the CSP nonce for unknown reasons
So shifting back to old standard practise for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-22 16:00:39 +02:00
Richard Steinmetz
6982597b6a
feat(dashboard): implement widget item api v2
...
This API enables the dashboard to render all widgets from the API data
alone without having apps to provide their own bundles. This saves a lot
of traffic and execution time as a lot less javascript has to be parsed
on the frontend.
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-22 08:36:53 +02:00
Joas Schilling
124588d4a6
fix: Make bypass function public API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:40:24 +02:00
Joas Schilling
b2fd283a30
feat(OCC): Add a command to get the bruteforce state of an IP
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:05 +02:00
Joas Schilling
fd9b2d488e
feat: Expose if the own IP is allowed to bypass bruteforce protection
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:04 +02:00
Joas Schilling
2f06f2355d
feat: Add a header which signals that the request was throttled
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:04 +02:00
Joas Schilling
abc98d343c
feat(security): Add a "testing mode" for bruteforce protection that doesn't sleep
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:03 +02:00
Joas Schilling
a95800c647
feat(security): Add a bruteforce protection backend base on memcache
...
Similar to the ratelimit backend
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:03 +02:00
Joas Schilling
f3a3ece9cc
Merge pull request #39888 from nextcloud/less-container-queries
...
Reduce the number of container queries
2023-08-18 18:01:47 +02:00
Robin Appelman
b6c3507aa0
only determine quota_include_external_storage once for quota wrapper
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 14:25:28 +02:00
Robin Appelman
e98e8f10c9
improve performance of calculating dav permissions
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 14:09:03 +02:00
Joas Schilling
be41dc4fa7
Merge pull request #39867 from nextcloud/login-less
...
Add a separate event for login page rendering
2023-08-18 13:54:15 +02:00
Robin Appelman
80b001f82e
better caching in storage stats calculations
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
Robin Appelman
9ea03a9534
reuse dependencies from wrapped cache
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
max-nextcloud
4b7aa65192
Merge pull request #39770 from nextcloud/fix/always-use-displayname-from-correct-backend
...
fix: always use display name from correct backend
2023-08-17 23:10:38 +02:00
Joas Schilling
a98748e519
Merge pull request #39910 from nextcloud/bugfix/noid/fix-memcache-class-handling
...
fix(memcache): Fix comparison of Memcache configs to classes
2023-08-17 22:53:55 +02:00
John Molakvoæ
28725c46a8
feat: redirect to the mime icon if no preview available
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
Julius Härtl
45595a8417
Merge pull request #39481 from nextcloud/fix/transfer-ownersip
2023-08-17 13:23:04 +02:00
Ferdinand Thiessen
1406eecf6c
Merge pull request #39906 from nextcloud/fix/prevent-warnings-if-attr-unset
...
Prevent PHP warning when CacheEntry extension keys are not set
2023-08-17 11:31:53 +02:00
Robin Appelman
1df33256be
add core fileclient script before others
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 11:18:26 +02:00
Robin Appelman
37e3115cb4
don't always add core/common and core/main during "sorting"
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +02:00