Christoph Wurst
112b8bcbfb
fix(config): Make sure user keys are strings
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-19 17:32:57 +00:00
Julius Härtl
0b1fcf0a5c
fix: Fetch custom app store url without internet connection
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-04 20:18:32 +00:00
John Molakvoæ
7b9fed1cb5
Merge pull request #43789 from nextcloud/backport/39607/stable27
2024-02-29 11:36:12 +01:00
Benjamin Gaussorgues
1b30da153c
feat(share): save date and time for expiration
...
Because of timezones, not saving time can lead to unexpected behaviour
when sharing an item sooner than timezone offset
Example: sharing a file before 9am when in UTC+9
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-26 09:10:26 +00:00
FedericoHeichou
e61f0b82c7
Add "-i" to MailTest's pipe
...
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
[skip ci]
2024-02-23 15:17:11 +00:00
Robin Appelman
14678e6bca
add test for updating etag with unchanged mtime in child folder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:28:05 +00:00
Robin Appelman
0b0efed67a
add test for updating etag with unchanged mtime
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:28:05 +00:00
Arthur Schiwon
6490e50bb9
test(unit): fix RequestTest
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-29 09:59:35 +00:00
Git'Fellow
27af03c92d
fix(session): Avoid two useless authtoken DB queries for every anonymous request
...
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-17 09:27:17 +00:00
Joas Schilling
0148dab1e7
fix(appstore): Only send subscription keys to valid appstores
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-16 10:16:38 +01:00
Julius Härtl
9112904206
perf: Use more performant way to obtain and check the email as a login name with token login
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 11:56:45 +01:00
Robin Appelman
4b74d315b6
adjust redis compareSetTTL to use a lua script
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-02 15:40:34 +01:00
Robin Appelman
0e98f1eb8d
restore shared lock ttl when releasing
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-02 15:40:32 +01:00
Alexander Piskun
12257ac765
AppAPI: allowed to bypass Two-Factor
...
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
fix php-cs
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-12-29 14:46:58 +02:00
Joas Schilling
6b895462ac
fix(security): Handle idn_to_utf8 returning false
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 06:39:34 +01:00
Joas Schilling
5d12f12319
fix: Fix linkToOCSRouteAbsolute() without index.php and subfolder
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-20 16:15:39 +00:00
Robin Appelman
43ef6da11e
optimize UserMountCache::registerStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-16 16:40:57 +01:00
Benjamin Gaussorgues
1af4301997
Merge pull request #41363 from nextcloud/optmize-storage-wrappers-27
...
[27] optimize builtin storage wrappers
2023-11-16 14:21:56 +01:00
Joas Schilling
335369f3f4
Reverse X-Forwarded-For list to read the correct proxy remote address
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 07:48:09 +01:00
Robin Appelman
81d625d44d
optimize isShared and isMounted
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-09 15:42:41 +01:00
Robin Appelman
155fd0b86a
apply known mtime wrapper for external storages
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-10 09:34:20 +02:00
Robin Appelman
36eef0be67
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-10-10 09:34:20 +02:00
Robin Appelman
ee8c1a5c60
only determine quota_include_external_storage once for quota wrapper
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:25:23 +02:00
Robin Appelman
fc21ecbd2a
cleanup di for share permissions wrapper
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 14:13:57 +02:00
Daniel Kesselberg
4338d0747d
feat: add switch to disable dns pinning
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-30 13:07:55 +00:00
Côme Chilliet
eb61f94807
Fix tests, add test for the new feature
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-28 13:50:26 +00:00
Joas Schilling
759fc11f39
fix: Make bypass function public API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:08 +02:00
Joas Schilling
b55359b23c
feat: Expose if the own IP is allowed to bypass bruteforce protection
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:07 +02:00
Joas Schilling
befa2f6d51
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-23 06:44:05 +02:00
Ferdinand Thiessen
258a85d5c7
tests: Add test for CacheEntry getters
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-17 09:48:53 +00:00
Marcel Klehr
41918cc8b2
Fix TextProcessing test for 32bit
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-09 10:43:59 +02:00
Daniel Kesselberg
4bae251baf
fix: missing argument for TextProcessing Manager
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-09 10:40:51 +02:00
Marcel Klehr
cf2c42ae36
Massive refactoring: Turn LanguageModel OCP API into TextProcessing API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ffe27ce14c )
2023-08-09 10:05:05 +02:00
Marcel Klehr
6b2687eb11
LLM OCP API: Change Tests to use EventDispatcher mock
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit bf2dcd67f3 )
2023-08-09 10:02:20 +02:00
Marcel Klehr
70e65ff7a3
LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d56286b8ac )
2023-08-09 10:02:00 +02:00
Marcel Klehr
09a8541d74
Add test for task cleanup
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit c568c4a464 )
2023-08-09 10:01:23 +02:00
Marcel Klehr
d21f7bf1fb
Fix tests
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 20cb9935ca )
2023-08-09 10:01:20 +02:00
Marcel Klehr
a4627508e8
Add preliminary tests
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ebc7631544 )
2023-08-09 10:01:18 +02:00
Joas Schilling
32bfd43d29
feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-07 15:38:09 +02:00
Marcel Klehr
070533efa9
JobTest: Remove outdated tests
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:44:39 +00:00
Marcel Klehr
2b23be897b
cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:44:39 +00:00
Marcel Klehr
ed84fce879
Add test for ParallelAwareJob
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:44:39 +00:00
Andy Scherzinger
5fbb3bb7f0
Merge pull request #39522 from nextcloud/backport/39264/stable27
...
[stable27] Add instance category while checking new updates
2023-07-27 12:04:52 +02:00
Ferdinand Thiessen
ad2727aef8
fix: Correctly add module content type to script tags when scripts with versions are used
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-23 00:38:53 +02:00
Benjamin Gaussorgues
46b462285d
Add instance category while checking new updates
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-07-21 10:02:58 +00:00
Arthur Schiwon
d3f50f28e1
Merge pull request #38953 from nextcloud/backport/38917/stable27
...
[stable27] fix(l10n): Fix plural issue with different locale and language
2023-07-10 18:29:58 +02:00
Arthur Schiwon
dd2dfc89fd
Merge pull request #38976 from nextcloud/backport/38625/stable27
...
[stable27] fix: expect interface, not a specific implementation
2023-07-04 22:07:29 +02:00
Joas Schilling
81f9d9a690
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-27 14:13:00 +02:00
Simon L
9c2bd71ad4
try to fix tests
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 08:32:52 +00:00
Arthur Schiwon
f724760f67
chore: ugly type juggling
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-23 23:04:44 +00:00