Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/tests
AgeCommit message (Collapse)Author
2022-11-09Merge pull request #7540 from nextcloud/fix/hide-pgp-encryption-textChristoph Wurst
Fix envelope and message previews showing PGP ciphertext
2022-11-08Fix tests in shortRelativeDatetime.spec.jsjulia.kirschenheuter
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-11-07Fix envelope and message previews showing PGP ciphertextChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-03Catch expired session and reload the pageChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: greta <gretadoci@gmail.com>
2022-10-18Fix signature above quoteDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-10-12GH-7414: Fix schema definition for QuotePluginDaniel Kesselberg
To wrap a <blockQuote> element in our <quote> element it must inherit from $container. https://ckeditor.com/docs/ckeditor5/latest/framework/guides/deep-dive/schema.html Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-20Merge pull request #7297 from nextcloud/enh/7143/warning-large-editor-bodyChristoph Wurst
GH-7143: Show warning for large signatures
2022-09-20GH-7143: Show warning for large signaturesDaniel Kesselberg
A large signature can affect the editor performance. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-20GH-7141: Add ckeditor plugin for mailDaniel Kesselberg
**Add mail plugin** Move conversion for paragraph to `<p style="margin:0;"></p>` to plugin **Drop schema listener for `<blockQuote>`** Older versions of ckeditor did not support nested blockquotes[^1]. The schema listener is a workaround to keep nested blockquotes[^2]. CKEditor 28 added support for nested blockquotes back[^3][^4]. [^1]: https://github.com/ckeditor/ckeditor5/issues/419#issuecomment-518792442 [^2]: https://github.com/ckeditor/ckeditor5/issues/419#issuecomment-519013086 [^3]: https://github.com/ckeditor/ckeditor5/pull/9382 [^4]: https://github.com/ckeditor/ckeditor5/pull/9472 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-13Fix date formatting for sieve autoresponderRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-09-08Implement iMIP invitation response buttonsRichard Steinmetz
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-09-06Escape double quotes and backslashesRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-09-02Implement automatic out-of-office repliesRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-09-02Tests for onEditorInput / editorExecute / signatureDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-08-17Show mailbox counter if sub mailbox has unread messagesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-08-15Shorten the relative time of envelopesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-08-11Improve PI designgreta
Signed-off-by: greta <gretadoci@gmail.com>
2022-07-08Migrate js license headers to SPDX licenseChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-07-07Split auto config and account creationChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-06-08Add a unit test to verify the composer keeps the reply IDChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-06-03Migrate from Mocha to jestChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-06-01Add appendOrReplaceEnvelopeId for addEnvelope to replace existing messages ↵Daniel Kesselberg
for the same thread root id When the background sync pushes a new message for a thread that's already shown in the message list we replace the message to not show a thread twice in the envelope list. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-01Add getEnvelopesByThreadRootId to select messages from store by thread root idDaniel Kesselberg
Difference to getEnvelopeThread is that store.envelopes is used instead of the threads list inside a given envelope. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-04-06Pipe all composer data through the Vuex storeChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-11Fix missing account aliases for new accountsjulia.kirschenheuter
Add initial value for aliases for account. Extend state for the aliases inside of accounts. Update tests for "addAccount"-mutation. Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-01-18Fix syncing priority inboxRichard Steinmetz
Fix #4925 New and changed envelopes will now show up properly after syncing the priority inbox. Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-12-10Bump html-to-text from 5.1.1 to 8.1.0dependabot[bot]
Bumps [html-to-text](https://github.com/html-to-text/node-html-to-text) from 5.1.1 to 8.1.0. - [Release notes](https://github.com/html-to-text/node-html-to-text/releases) - [Changelog](https://github.com/html-to-text/node-html-to-text/blob/master/CHANGELOG.md) - [Commits](https://github.com/html-to-text/node-html-to-text/compare/5.1.1...8.1.0) --- updated-dependencies: - dependency-name: html-to-text dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-10-12Prevent irrelevant envelopes entering the unified mailboxesChristoph Wurst
Unified mailboxes are a combination of individual mailboxes. For the first unified page we have to fetch each individual page, then combine them and take the 20 most recent messages. When fetching the individual pages we already added all envelopes to the unified mailboxes through the addEnvelope mutation. That means you already had 40 messages in the unified mailbox before they were combined and only the latest messages were picked. If you have two accounts with somewhat similarly old messages this bug doesn't always show. However, if you have one inbox with many recent messages and another inbox with only significantly older messages then this bug showed in a way that also the newest messages of the older inbox were part of the 40 first messges. Now after the fix you see the 20 new messages from the newer inbox, then 20 more of the same inbox and only when the message timestamps of the second inbox align with the first inbox you will start to see messges from the second inbox. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-11Change format of paragraph from 2x newlines to 1x newline.Daniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-05-28Tagging UIGretaD
Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-21add option to place signature above quoted textSilvio Zimmer
Signed-off-by: Silvio Zimmer <silvio.zimmer@die-kinderwelt.com>
2021-04-09Normalize envelope tags in vuex storeRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-03-18Loads a new message when deleting oneCyrille Bollu
Signed-off-by: Cyrille Bollu <cyr.debian@bollu.be>
2021-03-08Delete envelopes from vuex stateRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-03-05Fix thread view not being reactiveRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-03-01Add bottom reply modeChristoph Wurst
Adds a simple switch to let the user add their reply text on the bottom instead of on top of the quoted message. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-22Downgrade html-to-text and fix actions specsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-18Fix Webpack issue with CKEditor's dynamic translation importsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-06Fix envelope timestamp overlapChristoph Wurst
The code assume that timestamps would be unique. Of course that is not always the case. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-08Make it possible to view messages of the same thread directlyChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-01Detect and persist the personal namespaceChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-31Build proper folder hierarchyHolger Dehnhardt
Signed-off-by: Holger Dehnhardt <holger@dehnhardt.org>
2020-08-27Fix leftover usage of mailbox.id when mailbox.name is requiredChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24Rework the routingChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-10Add delete action for foldersGretaD
Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-03Migrate to eslint-config-nextcloudJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-17Clean up mix up of ID, UID and UUIDChristoph Wurst
* ID is supposed to be the database ID * UID is the IMAP UID * UUID is the globally unique identifier used in the front-end Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14Fix deleting a message from the priority inboxChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-12Fix mailvelope integration by switching to the API versionChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-08Add individually sync'ed new messages to the unified mailboxChristoph Wurst
In the background we invoke the synchronization of all individual inboxes. With a recent change in the Vuex logic we didn't push the new message to the unified inbox as well. So you could see a notitification about new messages but when you switched to the Mail tab it wasn't there. You first had to switch to the individual mailbox and then back to get the latest entries. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>