Age | Commit message (Collapse) | Author |
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Handle empty thread root id
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Expressions are now "query function" objects instead of strings.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Adapt composer body frontend to new migration.
Change migration editor_body to text.
Fix composerData.editorBody for Composer.
Handle input event on editor plain text and editor rich text in the same way.
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! fix editorBody if it is null
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! migration was addad
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Handle input event on editor plain text and editor rich text in the same way
Remove appendSignature = true from editorRich(Plain)InputTextReady, because it is not necessary
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! Handle input event on editor plain text and editor rich text in the same way Remove appendSignature = true from editorRich(Plain)InputTextReady, because it is not necessary
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
fixup! Handle input event on editor plain text and editor rich text in the same way Remove appendSignature = true from editorRich(Plain)InputTextReady, because it is not necessary
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
fixup!
Change migration editor_body to text
Fix composerData.editorBody for Composer
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! set editorBody back
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! migration
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! version info.xml
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! Better signature detection: always store the HTML version for the CKeditor body.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
fixup! Better signature detection: always store the HTML version for the CKeditor body.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Better signature detection: always store the HTML version for the CKeditor body.
Adapt composer body frontend to new migration.
Change migration editor_body to text.
Fix composerData.editorBody for Composer.
Handle input event on editor plain text and editor rich text in the same way.
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! fix editorBody if it is null
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! migration was addad
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Handle input event on editor plain text and editor rich text in the same way
Remove appendSignature = true from editorRich(Plain)InputTextReady, because it is not necessary
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! Handle input event on editor plain text and editor rich text in the same way Remove appendSignature = true from editorRich(Plain)InputTextReady, because it is not necessary
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
fixup! Handle input event on editor plain text and editor rich text in the same way Remove appendSignature = true from editorRich(Plain)InputTextReady, because it is not necessary
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
fixup!
Change migration editor_body to text
Fix composerData.editorBody for Composer
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! set editorBody back
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! migration
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! version info.xml
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
fixup! Better signature detection: always store the HTML version for the CKeditor body.
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
The message and the recipients are inserted in one transaction but the
recipients are read another time outside a transaction. Read-write split
database clusters might not be in full sync mode and then reading the
recipients gives partial or no results.
The insert will assign the primary key value to the recipient entities.
Therefore we can skip reading the data.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Fix attachment loss during outbox message update
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Local messages had no `type` and AttachmentService::handleAttachments
silently ignored them. Afterwards OutboxService::updateMessage saw an
empty array of attachments and deleted the previous attachment(s).
Now local attachments have a type, the outbox update no longer discards
them and if we see an attachment without a type the process fails hard.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
array_filter keeps the index of array elements prior to the filtering.
So if you have a message with one *to* and one *cc* values, the *to*
will have index 0 and *cc* has 1. json_encode will later consider the
former as a simple PHP array and map it to a json array. Since the *cc*
value has a non-0 index for its first element, it would convert the
value to a json object and use the 1 index as key.
By running the values through array_value we can re-index all recipient
arrays before they run through json_encode.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Cut long preview text into database column size
|
|
nextcloud/fix/db-message-mapper-get-id-for-uid-close-cursor
Close cursor in \OCA\Mail\Db\MessageMapper::getIdForUid
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
If the database driver doesn't automagically cast the field to an int,
Nextcloud's entity mapper will take care of this.
Otherwise the field might be represented as string. This leads to an
wrong change detection when provisioned accounts are updated. The
assumption was that if the entity has no changes, we save the update.
Due to the type mispatch, there was still one updated field.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
They are expected as four properties but were normalized into one array.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Closes #6047
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
|
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
|
|
This reverts commit d305f6bbe4484343beefacd6d620432d795c150f.
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Set BCC for email recipients query
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Signed-off-by: greta <gretadoci@gmail.com>
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Add Psalm-generated param types
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Values and comparisons are strings by default.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|