Commit graph

69 commits

Author SHA1 Message Date
Florian Liebe
85700c3357 Feature: Improvements for easy setup for Microsoft channels in SaaS context.
Co-authored-by: Dominik Klein <dk@zammad.com>
2026-05-13 21:32:52 +02:00
Dominik Klein
1c2874da83 Maintenance: Improve client secret handling in microsoft base. 2026-05-07 09:15:54 +02:00
Dominik Klein
9f6b01084e Maintenance: Add optional PKCE support to Microsoft OAuth flow. 2026-05-06 21:31:38 +02:00
Dominik Klein
a869faf6fc Maintenance: Improve current code style for generating state value inside the external credential layer. 2026-05-06 13:33:42 +02:00
Mantas Masalskis
aaa4700468 Maintenance: Renames 422 HTTP response code from unprocessable_entity to unprocessable_content due to RFC update 2026-04-22 18:23:21 +03:00
Florian Liebe
1ed01166e8 Maintenance: Harden external credentials flow. 2026-04-07 09:37:48 +02:00
Mantas Masalskis
a1b9ef2bbb Maintenance: Update copyright information. 2026-01-02 15:41:09 +02:00
Martin Gruner
4e00e007a7 Fixes #5581 - Remove Twitter support 2025-08-04 14:41:12 +02:00
Dusan Vuckovic
057dde69f6 Fixes #5567 - M365 Graph: Sent email stored in authenticated user's 'Sent' items instead of shared mailbox. 2025-05-06 09:56:27 +01:00
Florian Liebe
0b05e3fa2f Fixes #4644 - Client secret change in MS365 Channel not working.
Co-authored-by: Dominik Klein <dk@zammad.com>
2025-01-13 10:28:27 +01:00
Dominik Klein
67bd6ea64a
Fixes #5379 - New M365 Channel using GraphAPI instead of IMAP/SMTP
Co-authored-by: Benjamin Scharf <bs@zammad.com>
Co-authored-by: Dominik Klein <dk@zammad.com>
Co-authored-by: Dusan Vuckovic <dv@zammad.com>
Co-authored-by: Florian Liebe <fl@zammad.com>
Co-authored-by: Mantas Masalskis <mm@zammad.com>
Co-authored-by: Martin Gruner <mg@zammad.com>
Co-authored-by: Tobias Schäfer <ts@zammad.com>
2025-01-09 15:55:18 +01:00
Mantas Masalskis
10f627cb69 Maintenance: Update copyright information 2025-01-01 17:39:43 +02:00
Timo Triebensky
34ac691701 Fixes #3839 - Microsoft 365 & Google channel ignore Proxy configuration for token refresh / verify. 2024-08-21 13:50:37 +02:00
Dusan Vuckovic
e96a92150b Fixes #4961 - Exchange token refresh still applied even on inactive Exchange integration.
Co-authored-by: Florian Liebe <fl@zammad.com>
2024-05-29 13:15:46 +02:00
renovatebot
b08d6c91a6 Maintenance: Update dependency rubocop to v1.63.0
This commit simplifies iterating over Arrays by leveraging advanced Ruby enumarators methods. Namely #map and #each_with_object.
It also cleans up some date range queries by using #where(date: Range) which is transformed into SQL BETWEEEN operator.
2024-04-09 16:09:18 +02:00
Dominik Klein
e054d6ca79 Maintenance: Update copyright information. 2024-01-02 11:55:19 +01:00
Mantas Masalskis
c6244f4d12 Maintenance: Add SSL verification for mail channels.
Co-authored-by: Mantas Masalskis <mm@zammad.com>
Co-authored-by: Rolf Schmidt <rolf.schmidt@zammad.com>
Co-authored-by: Dusan Vuckovic <dv@zammad.com>
2023-09-08 16:10:40 +02:00
Florian Liebe
a89341f69d Fixes #4607 - Reauthenticating an existing Microsoft365 channel with the wrong email account changes the used email address. 2023-05-22 14:07:45 +02:00
Rolf Schmidt
3b4ffc764e Fixes #4601 - Microsoft 365 reauthenticate changes the "leave emails on server" to "no" by default. 2023-05-05 15:39:28 +02:00
Mantas Masalskis
e1cf198a70 Maintenance: Renamed confusing fields in EmailAddresses table
The EmailAddress model is used to store email addresses used by the system.
It was using realname: field as a name while the rest of the system uses name: for, well, naming objects.
This commit renames email_addresses.realname to email_addresses.name for the sake of consistency.
2023-04-11 17:13:06 +02:00
Dominik Klein
7437cf7633 Fixes #4454 - Exchange Oauth token update job is always marked as failed job when it's not configured. 2023-01-11 16:23:28 +01:00
Florian Liebe
9dfc232536 Maintenance: Update copyright information. 2023-01-02 16:19:55 +01:00
Florian Liebe
cde39986f6 Fixes #3971 - Exchange integration requires OAuth instead of basic authentication.
Co-authored-by: Rolf Schmidt <rolf.schmidt@zammad.com>
Co-authored-by: Florian Liebe <fl@zammad.com>
2022-12-16 10:24:58 +01:00
Martin Gruner
6c3217373b Maintenance: Improved translatable error messages. 2022-10-06 14:46:55 +02:00
Rolf Schmidt
4fcf8cbe09 Fixes #3963 - Unable to add Microsoft 365 Account when admin consent for enterprise applications is enabled. 2022-09-22 17:28:22 +02:00
Martin Gruner
64ce6d7b9f
Maintenance: Improve translatable source strings. 2022-05-04 11:24:18 +02:00
Martin Gruner
a44d8f0756 Maintenance: Improved source string wording. 2022-04-21 16:03:41 +02:00
Rolf Schmidt
0b6010c390 Maintenance: Replace zammad specific cache approach by rails low level caching. 2022-04-04 08:43:27 +02:00
Rolf Schmidt
2a754ee5b3 Follow up b930827b77 - Fixes #3240 - Fixed key for microsoft migration. 2022-03-28 15:14:52 +02:00
Rolf Schmidt
cc9977460e Fixes #3964 - Selecting custom ports for mail channel ends in 'host not reachable'. 2022-03-03 10:04:12 +01:00
Rolf Schmidt
bf945b4ea1 Follow up 0b449839ea - Fixes #3956 - Migration of the MS365 account fails by upper and lower case differences in email address. 2022-02-10 16:24:35 +00:00
Rolf Schmidt
0b449839ea Fixes #3956 - Migration of the MS365 account fails by upper and lower case differences in email address. 2022-02-10 12:38:31 +01:00
Martin Gruner
db0eb45fe1 Maintenance: Improved translatable source strings. 2022-01-19 14:59:52 +01:00
Martin Gruner
4186b0faaf Maintenance: Update translatable source strings. 2022-01-18 13:52:57 +01:00
Martin Gruner
6714b5f1a4 Maintenance: Bump rubocop-rails from 2.12.4 to 2.13.0
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.12.4 to 2.13.0.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.12.4...v2.13.0)
2022-01-03 10:47:32 +01:00
Martin Gruner
24c3bdfd87 Maintenance: Update copyright header. 2022-01-01 14:38:12 +01:00
Martin Gruner
64a87b1c67 Fixes #2709, fixes #2666, fixes #2665, fixes #556, fixes #3275 - Refactoring: Implement new translation toolchain based on gettext.
- Translations are no longer fetched from the cloud.
- Instead, they are extracted from the codebase and stored in i18n/zammad.pot.
- Translations will be managed via a public Weblate instance soon.
- The translated .po files are fed to the database as before.
- It is now possible to change "translation" strings for en-us locally via the admin GUI.
- It is no longer possible to submit local changes.
2021-11-15 16:58:19 +01:00
Martin Gruner
a389b8f07c Maintenance: Replace rand() where possible 2021-09-20 12:47:05 +02:00
Rolf Schmidt
884b5c6455 Fixes #3669 - Do not send domain and migrate domain out of Google and Microsoft 365 channels. 2021-08-10 14:42:56 +02:00
Thorsten Eckel
b8b57781b7 Maintenance: Activated rubocop Layout/LeadingCommentSpace. 2021-07-19 15:43:33 +02:00
Martin Gruner
0f61a7e6ca Maintenance: Updated all non-pinned gems.
Special thanks to @thorsteneckel for fixing the VCR/Twitter problems!
2021-07-01 11:23:52 +00:00
Martin Gruner
5df98684da Maintenance: Update copyright information and add a new rubocop cop to watch over it. 2021-06-01 12:20:20 +00:00
Mantas Masalskis
c69b691699 Followup #3515 - Allow single tenant only application in microsoft 2021-05-19 07:59:10 +00:00
Boris Manojlovic
85d6e19892 Fixes #3515 - Allow single tenant only application in microsoft 2021-05-17 15:18:01 +00:00
Mantas Masalskis
6ab04260ea Fixes #3256, closes #3080: Updated scopes to Facebook API versions > 6 (removes deprecated Facebook user wall functionality). 2021-03-16 16:53:40 +01:00
Rolf Schmidt
a86b288f4c Fixes #3411 - Microsoft 365: The refresh token has expired due to inactivity. The token was issued on 2020-11-17T13:30:55.3656422Z and was inactive for 90.00:00:00. 2021-02-25 17:46:39 +00:00
Thorsten Eckel
b930827b77 Fixes #3240 - Allow reauthentication of Google / Microsoft365 accounts. 2020-11-25 14:15:08 +01:00
Thorsten Eckel
e972d0be89 Follow up - db3f553140 - Fixes #3215 - Renamed Office365 to Microsoft365. 2020-10-28 10:49:06 +01:00
Rolf Schmidt
ab6b68942c Follow up - db3f553140 - Office365 and Google channel:
- Enhancement: Refresh Google and Office365 page every 30 seconds to display possible errors.
- Refactoring: Removed unused method `ExternalCredentials::Office365.user_aliases`.
- Fixes: Technical incompatibility between Google and Office365 causes Google view to break.
- Fixes: Broken duplicate Email detection.
2020-10-07 15:21:21 +02:00
Rolf Schmidt
db3f553140 Fixes #3215 - Outlook/Office365/Exchange Online MFA for IMAP & SMTP. 2020-10-02 14:46:19 +02:00