Carl Schwan
837fe3586d
feat(db): Restaure support for non-nullable boolean column
We disabled them because they are not supported on Oracle DB and it is
still the case for OCI < 23. But instead of disabling the support
completely for every database types, mark non-nullable boolean column as
actually nullable when using Oracle.
This allow to use some slighly lighter schema on normal databases who
support natively booleans wheen we don't need to store 3 states
true|false|null.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
5 months ago
Marcel Klehr
fe54914ef9
fix(TaskProcessing): Cache task types by
user language
fixes https://github.com/nextcloud/assistant/issues/357
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
5 months ago
Maxence Lange
70dd0de0ff
fix(userconfig): using api bit functions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
5 months ago
Côme Chilliet
ae4d38eb63
fix: Allow hyphen in appid
It’s rare but exists for some apps not in the appstore.
Also added unit tests for cleanAppId and fixed small issues with it.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months ago
Louis Chemineau
e6aa83cddd
fix(TagsTest): Declare `rootFolder` property
It was not caught by the CI on master, but is blocking in the backports.
Signed-off-by: Louis Chemineau <louis@chmn.me>
5 months ago
Louis Chemineau
634e8d2587
fix: Dispatch favorite event with an actual path
The `$path` argument was added in https://github.com/nextcloud/server/pull/48612 , but was never actually used by the callers. The path was therefore missing in the favorite/unfavorite events, which lead to a broken activity information.
I also added a fallback to handle `addToFavorites` and `removeFromFavorites`, which are part of a public API, and are calling `tagAs` and `untag` without `$path`.
Fix https://github.com/nextcloud/activity/issues/2134
Signed-off-by: Louis Chemineau <louis@chmn.me>
5 months ago
Côme Chilliet
bc5e29f9f2
fix(tests): Fix type issues and other problems with encryption tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
6 months ago
Robin Appelman
0c1d5e8c54
fix: ensure all object store configuration have distict bucket names
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 months ago
Julien Veyssier
1775c94e4a
feat(taskprocessing): add tests for getAvailableTaskTypeIds
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
6 months ago
invario
97a0dde160
feat(previews): previews and tests for large remote videos w/o full download
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
6 months ago
provokateurin
e391e50446
test(BinaryFinder): Make sure the test is portable between systems
Signed-off-by: provokateurin <kate@provokateurin.de>
6 months ago
Ferdinand Thiessen
3b8c50e2c7
fix: remove executable flag from source files
(exceptions for real scripts, but source files never should be executable)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
6 months ago
JinHakChoi
8f07c7f9ee
chore(tests): Update integrity check assets order for MIME type aliases
Signed-off-by: JinHakChoi <ws423257@gmail.com>
6 months ago
JinHakChoi
ea39540def
chore(tests): Update Test integrity check assets for MIME type aliases
Signed-off-by: JinHakChoi <ws423257@gmail.com>
6 months ago
JinHakChoi
69b4566406
chore(tests): Update integrity check assets for MIME type aliases
Updates the test assets.
This is a necessary step to reflect the recently added audio and video MIME type aliases
and ensure the integrity checks pass for the core assets.
This commit is a follow-up to the MIME type alias addition.
Signed-off-by: JinHakChoi <ws423257@gmail.com>
6 months ago
JinHakChoi
5c760e25a8
chore(tests): Update integrity check assets for MIME type aliases
Updates the test assets.
This is a necessary step to reflect the recently added audio and video MIME type aliases
and ensure the integrity checks pass for the core assets.
This commit is a follow-up to the MIME type alias addition.
Signed-off-by: JinHakChoi <ws423257@gmail.com>
6 months ago
Marcel Klehr
2bb2fa50ee
feat(SystemTag): Add typed events for tag mapper events
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
6 months ago
Carl Schwan
9b2fff5931
refactor(querybuilder): Port away from qb::execute() in tests/
Replace by either executeStatement or executeQuery
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
6 months ago
Carl Schwan
c4e6fbdae7
fix(query-builder): Don't catch UniqueConstraintViolationException
UniqueConstraintViolationException is no longer throw directly but
instead is now wrapped inside a \OCP\DB\Exception. So check the
exception reason.
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
6 months ago
Carl Schwan
c21b8169ff
refactor(querybuilder): Port away from qb::execute() in lib/
Replace by either executeStatement or executeQuery
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
6 months ago
SebastianKrupinski
ff4fdf1af8
feat: meeting proposals
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
8 months ago
SebastianKrupinski
7e92b157e3
fix: aliases and capitalization of emails
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
10 months ago
Robin Appelman
02f4a82088
fix: make bucket mapper work with new multi-object-store config
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 months ago
Joas Schilling
3df6d90a4c
Revert "perf(base): Stop setting up the FS for every basic auth request"
6 months ago
provokateurin
e38dfef0dc
chore: Remove unused \OC\Cache\CappedMemoryCache
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
9 months ago
provokateurin
eba11750eb
chore: Remove unused \OC\Cache\File
Signed-off-by: provokateurin <kate@provokateurin.de>
9 months ago
provokateurin
5057d5fcc5
fix(core): Stop abusing the cache for avatar upload
Signed-off-by: provokateurin <kate@provokateurin.de>
8 months ago
Joas Schilling
102c778228
fix(comments): Fix missing return type on new method
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 months ago
provokateurin
4b2a93cf0a
chore(Preview): Remove avconv support
Signed-off-by: provokateurin <kate@provokateurin.de>
6 months ago
Daniel Kesselberg
af38184b6f
fix: Make DummyJobList.getJobsIterator return an interable instance
iterator_to_array on PHP 8.1 does not accept an array and fails hard with a type error
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
8 months ago
Carl Schwan
5835599fa1
chore(rector): Apply current rector config
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
6 months ago
Joas Schilling
51f596e0c2
test: Fix double space
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 months ago
Joas Schilling
4082a45d6d
test: Adjust the hashes and signatures
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 months ago
Josh
7996a3eb3a
chore: remove mbstring.func_overload from htaccessWithValidModifiedContent
Signed-off-by: Josh <josh.t.richards@gmail.com>
8 months ago
Josh
6d55224d46
chore: remove mbstring.func_overload from setUploadLimit .user.ini
Signed-off-by: Josh <josh.t.richards@gmail.com>
8 months ago
Josh
8ac796cd86
chore: remove `mbstring.func_overload` from setUploadLimit .htaccess
Signed-off-by: Josh <josh.t.richards@gmail.com>
8 months ago
Côme Chilliet
07b046f762
fix(tests): Fix fopen in mock returning null which is not a valid return
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
6 months ago
Joas Schilling
894fda1a4d
ci: Update testing certificates that expired after 10 years
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 months ago
Robin Appelman
afe77e32f2
test: test moving cache items from cache jail with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 months ago
Julien Veyssier
4a35837741
feat(auth): adjust PublicKeyTokenProviderTest
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
6 months ago
Carl Schwan
fa5548a1f3
perf(comments): Add a way to get comments for multiple objects at the same time
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
6 months ago
Côme Chilliet
f5111c0961
chore(tests): Do not mock DependencyAnalyzer in AppManagerTest
Not ideal to have coupled tests like that but it’s the easiest path
forward to make sure the tests still covers the same usecase and avoid
code duplication.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
6 months ago
Côme Chilliet
12edd2b23a
fix: Deduplicate code by using DependencyAnalyzer in the AppManager
Was a bit more complicated than expected because of a dependency loop,
the L10N factory uses the app manager, thus the AppManager cannot depend
on I10N directly or indirectly in its constructor.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
7 months ago
Côme Chilliet
b7c15949ce
chore: Get rid of AppLocator helper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
7 months ago
Côme Chilliet
3cea218750
chore(tests): Use valid application names for tests
Dash is not allowed in appid, underscore is.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
7 months ago
Côme Chilliet
3e01a429e7
chore: Replace last calls to OC_App::enable by IAppManager
Also added a few missing deprecations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
7 months ago
Côme Chilliet
25c2279966
chore: Set installShippedApps as non-static in Installer
Make code closer to the one of installApp, to be able to compare them
and later merge them (in the shadows).
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
8 months ago
Côme Chilliet
f551b9192e
chore: Adapt InstallerTest to Installer new construct parameters
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
8 months ago
Côme Chilliet
f5fac6476f
chore: Remove references to obsolete field ocsid in apps info.xml
It’s not even allowed by our xsd schema.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
8 months ago
Côme Chilliet
6aa675c6bb
fix: Cleanup OC_App uses in Updater class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
8 months ago