mirror of https://github.com/M66B/FairEmail.git
Updated changelog
This commit is contained in:
parent
93835d886b
commit
1a9748191b
|
@ -6,6 +6,14 @@ For support you can use [the contact form](https://contact.faircode.eu/?product=
|
|||
|
||||
### [Acantholipan](https://en.wikipedia.org/wiki/Acantholipan)
|
||||
|
||||
### Next version
|
||||
|
||||
* Added "AI" summarization of received messages (*)
|
||||
* Small improvements and minor bug fixes
|
||||
* Updated [translations](https://crowdin.com/project/open-source-email)
|
||||
|
||||
<sup>(*) ChatGPT or Gemini needs to be configured in the integrations-settings tab page for this</sub>
|
||||
|
||||
### 1.2177 - 2024-04-27
|
||||
|
||||
* Added [Have I Been Pwned?](https://haveibeenpwned.com/) **<ins>password</ins>** check (*)
|
||||
|
|
|
@ -6,6 +6,14 @@ For support you can use [the contact form](https://contact.faircode.eu/?product=
|
|||
|
||||
### [Acantholipan](https://en.wikipedia.org/wiki/Acantholipan)
|
||||
|
||||
### Next version
|
||||
|
||||
* Added "AI" summarization of received messages (*)
|
||||
* Small improvements and minor bug fixes
|
||||
* Updated [translations](https://crowdin.com/project/open-source-email)
|
||||
|
||||
<sup>(*) ChatGPT or Gemini needs to be configured in the integrations-settings tab page for this</sub>
|
||||
|
||||
### 1.2177 - 2024-04-27
|
||||
|
||||
* Added [Have I Been Pwned?](https://haveibeenpwned.com/) **<ins>password</ins>** check (*)
|
||||
|
|
|
@ -101,12 +101,17 @@ public class FragmentDialogSummarize extends FragmentDialogBase {
|
|||
long id = args.getLong("id");
|
||||
|
||||
File file = EntityMessage.getFile(context, id);
|
||||
if (!file.exists())
|
||||
return null;
|
||||
|
||||
Document d = JsoupEx.parse(file);
|
||||
d = HtmlHelper.sanitizeView(context, d, false);
|
||||
HtmlHelper.removeSignatures(d);
|
||||
d.select("blockquote").remove();
|
||||
HtmlHelper.truncate(d, HtmlHelper.MAX_TRANSLATABLE_TEXT_SIZE);
|
||||
String text = d.text();
|
||||
if (TextUtils.isEmpty(text))
|
||||
return null;
|
||||
|
||||
if (OpenAI.isAvailable(context)) {
|
||||
String model = prefs.getString("openai_model", "gpt-3.5-turbo");
|
||||
|
|
|
@ -6,6 +6,14 @@ For support you can use the contact form.
|
|||
|
||||
Acantholipan
|
||||
|
||||
Next version
|
||||
|
||||
* Added "AI" summarization of received messages (*)
|
||||
* Small improvements and minor bug fixes
|
||||
* Updated translations
|
||||
|
||||
<sup>(*) ChatGPT or Gemini needs to be configured in the integrations-settings tab page for this</sub>
|
||||
|
||||
1.2177 - 2024-04-27
|
||||
|
||||
* Added Have I Been Pwned?
|
||||
|
|
Loading…
Reference in New Issue