Commit graph

77659 commits

Author SHA1 Message Date
Git'Fellow
a1681b0756 chore(db): Apply query prepared statements
Fix: psalm

fix: bad file

fix: bug

chore: add batch

chore: add batch

chore: add batch

fix: psalm
2024-10-17 20:30:47 +02:00
Ferdinand Thiessen
0e54c2bd43
fix: Adjust Entity types
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:44 +02:00
Ferdinand Thiessen
db94e10af0
fix: Prevent breaking change in IQueryBuilder
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:44 +02:00
Ferdinand Thiessen
e314d52118
fix: Adjust parameter type usage and add SQLite support
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:44 +02:00
Ferdinand Thiessen
ee02e3246d
feat(AppFramework): Add full support for date / time / datetime columns
This adds support for all Doctrine supported types, for the column types only the immutable variants needed to be added.
But especially those types are the important ones, as our **Entity** class works by detecting changes through setters.
Meaning if it is mutable, changes like `$entity->date->modfiy()` can not be detected, so the immutable types make more sense here.

Similar the parameter types needed to be added.

`Enity` and `QBMapper` needed to be adjusted so they support (auto map) those types, required when insert or update an entity.

Also added more tests, especially to make sure the mapper really serializes the values correctly.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:42 +02:00
Joas Schilling
b61a8cfeba
fix(comments): Document supported types and provide psalm typing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-17 14:27:42 +02:00
Joas Schilling
9d6c0afad6
feat(comments): Support mentioning emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-17 14:27:42 +02:00
Joas Schilling
40fd76f69e
Merge pull request #48724 from nextcloud/dbQueriesExecStmt
chore(db): Apply query prepared statements
2024-10-17 11:29:46 +02:00
Git'Fellow
c254855222 chore(db): Correctly apply query types
fix: psalm

fix: error

fix: add batch

fix: fatal error

fix: add batch

chore: add batch

chore: add batch

fix: psalm

fix: typo

fix: psalm

fix: return bool

fix: revert Manager
2024-10-17 09:21:07 +02:00
provokateurin
0528eaa71b
build(autoloader): Remove noisy changes when regenerating
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-17 09:20:36 +02:00
Kate
4100f583f0
Merge pull request #48743 from nextcloud/fix/45717/hide-last-modified-for-shipped-apps 2024-10-17 08:59:02 +02:00
Joas Schilling
681ee75ab9
Merge pull request #48734 from nextcloud/fix/45884/accept-notification
fix: get rid of denied notification when accept
2024-10-17 08:39:21 +02:00
yemkareems
de9f5c4ec6
Merge pull request #48373 from nextcloud/fix/788/add-password-confirmation-required-to-user-storage-create
fix: add PasswordConfirmationRequired to create user storages endpoint
2024-10-17 11:10:19 +05:30
yemkareems
1e13776a87
Merge branch 'master' into fix/788/add-password-confirmation-required-to-user-storage-create 2024-10-17 09:57:12 +05:30
Nextcloud bot
d4dffc1566
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-17 00:21:11 +00:00
Pytal
94692cd57b
Merge pull request #46124 from nextcloud/fix/ownership-transfer-source-user-files
fix: Fix "Unknown path" error when source user `files` folder has not been initialized
2024-10-16 16:06:23 -07:00
Christopher Ng
7ba52eae35 refactor: Inject IRootFolder
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-16 15:28:12 -07:00
Christopher Ng
53f0b3789e fix: Fix "Unknown path" error when source user files folder has not been initialized
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-16 15:26:33 -07:00
Marcel Müller
74d179edf3 fix(appstore): Hide last modified information for shipped apps
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-10-16 23:51:56 +02:00
Ferdinand Thiessen
923ce7b937
Merge pull request #48735 from nextcloud/fix/eslint-warning
refactor(code-style): Adjust JS code to our code style
2024-10-16 22:55:56 +02:00
nextcloud-command
0032461692
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-16 22:18:44 +02:00
Ferdinand Thiessen
e8c1e2c611
fix(code-style): Adjust JS code to our code style
This resolves 68 ESLint warnings about invalid code style.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 22:11:59 +02:00
Maksim Sukharev
73b34bba7b fix: add notification icon for transfer ownership
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-16 17:31:57 +02:00
Maksim Sukharev
6e7c35d77e fix: do not duplicate existing entity
- this reverts 1e8048abee

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-16 17:31:57 +02:00
Maksim Sukharev
5be76411fa fix: dismiss notification only after transfer bg job created
- do not create 'denied' notification if bg job exists

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-16 17:31:57 +02:00
Ferdinand Thiessen
3e387d427e
fix: Add frontend code for password confirmation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 16:49:18 +02:00
yemkareems
b86dc076b5
fix: add PasswordConfirmationRequired to update and delete method
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-16 16:49:13 +02:00
yemkareems
d3f1b76ebb
fix: add PasswordConfirmationRequired to create user storages endpoint
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-16 16:49:06 +02:00
Ferdinand Thiessen
5be832344e
Merge pull request #48425 from nextcloud/fix/files-rename
fix(files): Ensure renaming state is correctly reset
2024-10-16 13:12:00 +02:00
Ferdinand Thiessen
9692da4a4b
Merge pull request #48696 from nextcloud/fix/share-notifications
fix(files_sharing): Add proper user facing messages on success
2024-10-16 12:49:38 +02:00
nextcloud-command
8e599600fb
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-16 12:12:05 +02:00
Ferdinand Thiessen
0ccced8664
fix(files_sharing): Add proper user facing messages on success
1. Use proper translated strings
2. Fix invalid use of translation message on API result
3. Log all errors

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 12:09:53 +02:00
Nextcloud bot
94e1241c58
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-16 00:20:20 +00:00
Ferdinand Thiessen
5b007b7b32
Merge pull request #48332 from nextcloud/chore/migrate-encryption-away-from-hooks
refactor(encryption): Migrate from hooks to events
2024-10-15 19:17:19 +02:00
Ferdinand Thiessen
b4ec7ca559
chore: Unify user related events to always provide a getUid method
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 18:33:11 +02:00
Ferdinand Thiessen
f3aa004b1c
refactor(encryption): Migrate away from Hooks to typed events
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 18:33:06 +02:00
nextcloud-command
4da970455a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-15 16:30:25 +00:00
Ferdinand Thiessen
ef5a9cf00d
fix(files): Ensure renaming state is correctly reset
Problem: Is a node is renamed and the new name is out of the current
visible list of nodes the component will be recycled, this means
the props will change, so when the `onRename` functions is about to reset
the state the `this.source` will point to a different node.

To fix this, but also to separate business logic from visual representation,
the logic is moved into the renaming store and the component is only
responsible for rendering.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 18:20:16 +02:00
Christoph Wurst
cd3dc1719b
Merge pull request #48684 from nextcloud/bug/noid/codeowners-caldav-carddav
chore: request review from groupware when changing the card- and cald…
2024-10-15 15:54:16 +02:00
Ferdinand Thiessen
a5d8f4c8b6
Merge pull request #48702 from nextcloud/chore/update-sass-loader
chore: migrate from deprecated SASS API and SASS JS API
2024-10-15 15:11:41 +02:00
Côme Chilliet
dc92218d6d
Merge pull request #48371 from nextcloud/fix/rector-use-statements
Auto import Nextcloud classes in rector runs
2024-10-15 11:45:10 +02:00
Côme Chilliet
be80943686
chore: Update baseline after rector refactoring
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:47:38 +02:00
Côme Chilliet
1580c8612b
chore(apps): Apply new rector configuration to autouse classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:40:25 +02:00
Côme Chilliet
4ff9b3e0ce
feat(rector): Skip classes with a name too common from auto use statement
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:38:21 +02:00
Kate
cbcbe8a83c
Merge pull request #48682 from nextcloud/fix/appconfig/sensitive-keys-external-jwt-private-key 2024-10-15 10:38:16 +02:00
Côme Chilliet
28153443a5
chore(rector): Add rule to import Nextcloud classes in all files
We skip all files outside of OC/OCA/OCP from "use" auto-import because
 it’s not always desirable to import classes when they have generic
 names, so it should be the developer choice.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:38:05 +02:00
John Molakvoæ
832695d565
Merge pull request #48206 from nextcloud/feat/systemtags-public 2024-10-15 09:15:16 +02:00
Nextcloud bot
07f822c916
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-15 00:20:12 +00:00
Ferdinand Thiessen
b964e05312
Merge pull request #48673 from nextcloud/fix/null-label
fix(share): Return empty string if no label is set
2024-10-14 19:10:12 +02:00
Grigorii K. Shartsev
39ebc6ebc2 chore(assets): recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-14 18:54:32 +02:00