Commit Graph
2399 Commits
Author SHA1 Message Date
Jan Kahmen 045a0b9c0a fix(mail): escape mail data placed in attributes of a compiled part
the generic attribute writer used for these two spots does not escape what it
writes, so a value taken from the message ends the attribute and starts a new
one. both are inside a part that is compiled, which is where an injected
handler runs.

* the organizer link took inEvent.organizer.email verbatim. a value such as
  mailto:x@y" onpointerover="... produced a live handler on the anchor, and an
  entity encoded scheme such as javascript: reached the href, where the
  browser decodes it. the href is now built as mailto: plus the parsed address
  and escaped as an attribute value.

* the attachment name paragraph of the image and the link viewer took
  filenameForDisplay verbatim. a quote inside an RFC 2231 encoded filename
  ended the title attribute. the writer escapes & < > there but not the quote,
  so the accessor drops the quote instead of escaping it, which keeps a plain
  filename such as A&B.pdf unchanged in the tooltip.

the img title of the image viewer is left alone: attributes of that element are
escaped by the framework already.
2026-08-17 23:48:41 +02:00
Jan Kahmen 0d66d7503d fix(mail): stop interpreting iMIP card text fields as markup
the whole server built html of an iMIP card is rendered through sg-compile
(Message.service.js sets part.compile for UIxMailPartICalViewer), and the user
comment and the description are emitted with escapeHTML="NO". event data from
the invitation is therefore both an angular template and raw html.

47133fdf3 closed the description against interpolation with ng-non-bindable.
this closes both paths for every remaining field:

* ng-non-bindable on the user comment, the location, the organizer common name
  and the raw body shown when the calendar cannot be parsed
* the user comment and the description are read through accessors that escape
  them, so the url detection and insertBR produce the only markup left in the
  output

the marker sits on the leaf containers, not on md-card-content, so the buttons,
the delegation autocomplete and the attendee chips keep being compiled. url
detection still turns a bare url in a comment or a description into a link.
2026-08-17 23:03:41 +02:00
Hivert Quentin 47133fdf3b fix(mail): escape angularJS directive for description 2026-08-10 19:34:25 +02:00
Hivert Quentin 29d0bbc9eb fix(mail): render properly the subject v2 2026-05-03 16:57:25 +02:00
Hivert Quentin 1fdb4d3026 i18n(pt): Add Greek (partial) 2026-03-02 15:01:52 +01:00
Hivert Quentin e2b8494a9c fix(trad): typo in a transation key 2025-10-16 17:03:30 +02:00
Hivert Quentin 5d616600df feat(mail): Add a setting to show the attachments above the mail body 2025-09-19 15:30:45 +02:00
Hivert Quentin a077512e34 fix(ui): add css class for login page 2025-09-19 09:50:15 +02:00
Hivert Quentin f5f8f112cd chore(language): Add Thai language 2025-07-03 16:59:56 +02:00
Hivert Quentin 08bc6aff3f chore(language): Add Korean language 2025-07-03 09:35:50 +02:00
Hivert Quentin 8a907737de fix(view): don't hide the option mailcomposer in small screen 2025-06-16 11:14:08 +02:00
ChrisandGitHub 4ec3d2091a fix(typo): Fix typo 'attachements' (#367)
* fix: Fix typo 'attachements'
* fix: Use original translation key for typo fix
2025-04-29 14:50:29 +02:00
Hivert Quentin 7328623e11 fix(addressBook): fix #2f9c2cf show email if no display name for contact in list 2025-03-18 10:02:14 +01:00
Hivert Quentin a1f2670485 revert: feat add url for creating account on login page 2025-03-13 15:47:16 +01:00
Hivert Quentin c3234882eb feat(openID): second part with a lot of fixes and cleaning 2025-03-13 15:25:56 +01:00
Hivert Quentin 5cba10ccff fix(totp): correctly send a string and leading zero 2025-03-07 09:03:41 +01:00
André RodierandQHivert b48704e7ff Update SOGoRootPage.wox
Ensure the TOTP input field only accept number, so it is quicker to type on mobile devices.
Disable history of the TOTP input, which is not necessary.

See https://bugs.sogo.nu//view.php?id=5524
2025-03-04 14:10:03 +01:00
y9048aandQHivert 02dd5c3501 feat(mail) Introduce option SOGoVacationAllowZeroDays to allow a sieve vacation days value of 0 2025-02-11 17:17:58 +01:00
Hivert Quentin 42c227beca feat(calendar): Can now create Jitsi link when making event 2025-01-27 14:27:09 +01:00
smizrahi 178b1a3a0e feat(core): Check password strength on login (SQL Source). Closes #6025. 2024-12-02 11:08:39 +01:00
smizrahi 2f9c2cf4da fix(contacts): Fix empty chip in contact group when c_cn is not populated 2024-11-26 09:32:21 +01:00
smizrahi f65ab9b43a feat(mail): Add move to icon on the mail view. Closes #6028. 2024-11-25 15:32:34 +01:00
smizrahi 2258d5cd60 feat(mail): Add sort by recipient instead of from in sent folder. Change subject_or_to in sent folder for search instead of subject_or_from. Closes #6030. 2024-11-25 12:01:46 +01:00
smizrahi 6f86506b28 feat(mail): Deletion of mail older than x. Closes #6023. 2024-11-20 16:50:15 +01:00
smizrahi f2ba6870d5 feat(core): Add new SOGoURLCreateAccount option to add a create account link below login form 2024-10-22 16:03:50 +02:00
smizrahi 2a1744998c fix(calendar): Fix regression on repeat task 2024-09-09 14:10:33 +02:00
smizrahi 0cbd082c1d fix(mail): Fix highlighsearch html rendering on subject 2024-09-04 18:03:36 +02:00
smizrahi eb63e6d047 i18n(calendar): Change Email Attendees to Email Attendees (internal users 2024-07-22 10:12:14 +02:00
smizrahi ed951667ec feat(mail): Improve mail search (advanced search) 2024-07-02 11:12:54 +02:00
smizrahi f621d97289 feat(mail): Improve mail search (advanced search) 2024-07-01 12:56:31 +02:00
smizrahi eee160e5bf fix(calendar): Fix issue on template introduced in commit #275617650 2024-06-19 09:37:22 +02:00
smizrahi 2637434436 feat(calendar): Add option to disable email appointmoint notifications when using caldav 2024-06-12 12:00:41 +02:00
smizrahi 591d283425 feat(mail): Add location in email ics representation template 2024-06-10 16:35:49 +02:00
WoodySlumandGitHub 2dd45dfb93 Merge pull request #337 from helsinki-systems/prevent-double-event-creation
fix(calendar(js)): prevent duplicate event creation in case of an event conflict (@leonklingele)
2024-06-04 11:14:26 +02:00
WoodySlumandGitHub cbb0e85a19 Merge pull request #358 from smortex/fix-disabled-calendar-view-buttons
fix(calendar): Fix disabled change view buttons (@smortex)
2024-06-03 22:45:12 +02:00
smizrahi 2756176503 fix(calendar): Fix empty recurence list when creating event from mail 2024-06-03 22:41:42 +02:00
Romain Tartière 910effd664 fix(calendar): fix disabled change view buttons
When viewing a calendar, 4 buttons allow to switch between the day,
week, month and multicolumnday views.  Each of these view show the
button to swith to the day view as disabled, regradless of which view is
in use.

Adjust markup to disable the button of the current view instead of the
one used to switch to the day view.
2024-05-30 11:40:56 -10:00
smizrahi 6ac8525bfe feat(mail): Add 'View raw message' mail contextual option. This option open message in a popup without HTML mail CSS content modification. 2024-05-22 10:15:58 +02:00
smizrahi 9eb8039698 feat(mail): Improve mail search (advanced search) 2024-05-21 09:25:20 +02:00
Hivert Quentin 9b5a8cb6fc style(vacation): Modify the tooltip of the mail panel when vacation is enabled 2024-04-29 15:08:57 +02:00
smizrahi e92fb8f52d feat(core): Update to ckeditor 5. Fixes #5920. 2024-02-27 14:29:59 +01:00
Hivert Quentin adc2d74e54 feat(accounts): Can now add smtp server to auxilliary accounts 2024-02-08 17:07:25 +01:00
Hivert Quentin f0010afef4 feat(accounts): Can now add smtp server to auxilliary accounts 2024-02-01 16:55:41 +01:00
smizrahi 63248772c1 feat(core): Add message of the day. Fix theming issue. 2024-01-31 15:05:42 +01:00
smizrahi eee50697b0 feat(core): Add message of the day 2024-01-22 14:34:22 +01:00
smizrahi 9e3e3b2291 fix(mail): Fix inline pdf attachement issue when Hide inline attachment option is set. Now the option hides only inline images 2024-01-17 17:57:33 +01:00
smizrahi a6fc83c35b fix(mail): Fix inline pdf attachement issue when Hide inline attachment option is set. Now the option hides only inline images. 2024-01-17 10:06:19 +01:00
smizrahi acd4a1f4aa fix(calendar): Prevent clicking on delete event button when network is slow 2023-12-22 13:08:38 +00:00
smizrahi 17eca6f96a feature(contact): Show 100 first results for global address book 2023-12-18 08:34:53 +01:00
WoodySlumandGitHub da24c0d0a7 Merge pull request #348 from marvin-j97/patch-1
style(login): Replace envelop icon with key on login page
2023-11-28 16:44:03 +01:00