Commit graph

83 commits

Author SHA1 Message Date
Dominik Klein
ae02d50c03 Maintenance: Make UserAgent total request timeout configurable via environment variable. 2026-05-21 21:52:39 +02:00
Mantas Masalskis
aeab3788fe Fixes #6056 - Allow wildcards in no_proxy configuration 2026-04-28 14:21:34 +03:00
Rene Reimann
f42b8056c3 Fixes #5991 - Microsoft Graph OAuth callback fails due to timeouts 2026-04-17 11:47:34 +02:00
Mantas Masalskis
9538dbbcd2 Maintenance: Improves Webhook and External Data Source resilience against malicious endpoint addresses 2026-04-07 09:37:48 +02:00
Mantas Masalskis
a1b9ef2bbb Maintenance: Update copyright information. 2026-01-02 15:41:09 +02:00
Dusan Vuckovic
4648cd6a73 Maintenance: Stabilize calendar spec. 2025-11-27 12:30:29 +00:00
renovatebot
40d4e157a6 Maintenance: Update dependency net-http to v0.7.0 2025-11-06 12:09:21 +01:00
Martin Gruner
3a3e0fbdde Fixes #5793 - Do not add successful health check requests to AI HTTPLog 2025-09-30 13:22:26 +02:00
Mantas Masalskis
ddf764d686 Improve rate limit handling of M365 Graph Email Channel 2025-07-31 16:03:37 +03:00
Martin Gruner
4838989fd3 Maintenance: Improve handling of webhook redirects 2025-04-02 08:53:05 +02:00
Mantas Masalskis
7ae96bfde0 Maintenance: Remove obsolote UserAgent.request and UserAgent.ftp methods 2025-01-24 14:07:45 +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
Martin Edenhofer
02ce9b9193 Fixes #5304 - UserAgent lib does not return a response.body for Net::HTTPClientError and Net::HTTPNotFound. 2024-08-15 09:16:51 +02:00
Dominik Klein
e054d6ca79 Maintenance: Update copyright information. 2024-01-02 11:55:19 +01:00
Dominik Klein
22a903948c Fixes #4766 - Add new Object Manager Attribute: External Data Source (JSON).
Co-authored-by: Dusan Vuckovic <dv@zammad.com>
Co-authored-by: Martin Gruner <mg@zammad.com>
Co-authored-by: Vladimir Sheremet <vs@zammad.com>
Co-authored-by: Mantas Masalskis <mm@zammad.com>
Co-authored-by: Dominik Klein <dk@zammad.com>
Co-authored-by: Rolf Schmidt <rolf.schmidt@zammad.com>
Co-authored-by: Florian Liebe <fl@zammad.com>
Co-authored-by: Tobias Schäfer <ts@zammad.com>
2023-10-25 13:50:57 +02:00
Martin Gruner
0aba3cd083 Fixes #4813 - Webhooks are missing the content-type information 2023-09-14 12:15:46 +02:00
Martin Gruner
d984dffd7c Maintenance: Change default SSL verification behaviour of UserAgent. 2023-09-06 10:08:49 +02:00
Martin Gruner
4b58a80330 Fixes #3011 - Implement option to allow custom SSL CAs to be uploaded.
Co-authored-by: Martin Gruner <mg@zammad.com>
Co-authored-by: Mantas Masalskis <mm@zammad.com>
Co-authored-by: Dominik Klein <dk@zammad.com>
Co-authored-by: Florian Liebe <fl@zammad.com>
2023-09-05 14:41:13 +02:00
Florian Liebe
9dfc232536 Maintenance: Update copyright information. 2023-01-02 16:19:55 +01:00
Tobias Schäfer
a263bcd246 Fixes #3671 - Webhook log cuts payload 2022-09-26 09:33:11 +02:00
Florian Liebe
b94fdd542a Maintenance: Use new proxy container in user agent testing. 2022-08-26 15:09:22 +02: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
Dominik Klein
d0d00bf62c Fixes #3631, fixes #3645 - Freshdesk import subdomain selection fails. 2021-07-06 17:43:56 +00:00
André Glüpker
18f14d1720 Fixes #3573 - Accept 2xx as response for requests in UserAgent 2021-06-07 07:29:04 +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
041bf51b52 Maintenance: Rubocop enforces %r{} regular expression style 2021-05-12 14:37:44 +03:00
Bola Ahmed Buari
e716a555d9 Fixes #3362: Cannot configure proxy. 2021-03-03 09:54:59 +00:00
Thorsten Eckel
b72a15a017 Maintenance: Updated rubocop(-* gems) to latest version (1.3.0). 2020-11-12 12:42:44 +01:00
Thorsten Eckel
5b4c7ab886 Enhancement: Added functionality to send X-Hub-Signature header with outgoing UserAgent requests to enable recipient to verify the integrity of the request body. 2020-10-29 18:40:36 +01:00
Thorsten Eckel
33b682400d Enhancement: Add :verify_ssl boolean options to UserAgent request methods. 2020-10-29 18:40:36 +01:00
Thorsten Eckel
ffe5948699 Enhancement: Added header support for UserAgent requests. 2020-10-29 18:40:36 +01:00
Thorsten Eckel
623b17be6b Maintenance: Updated rubocop(-* gems) to latest version (0.92.0). 2020-09-30 11:07:01 +02:00
Thorsten Eckel
b37e80df9a Updated rubocop(-* gems) to latest version (0.87.0). 2020-07-07 08:30:20 +02:00
Thorsten Eckel
a976b9fb43 Maintenance: Updated rubocop(-* gems) to latest version (0.80.0). 2020-02-18 20:51:31 +01:00
Mantas
0a5c3f4f8a Follow up - a883bbadb3 - UserAgent sends SearchIndexBackend DELETE request options as parameters. Fixed by unifying UserAgent interface to support parameters as other request methods do. 2019-11-05 15:40:58 +01:00
Thorsten Eckel
429b95e65d Maintenance: Make ES connection establishment more stable by:
- performing a retry when Net::OpenTimeout exceptions occur
- cache the result of ES version check
2019-09-16 11:15:12 +02:00
Thorsten Eckel
e8a57517f4 Updated rubocop - applied custom Layout/AlignHash style. 2018-12-19 18:33:22 +01:00
Thorsten Eckel
9af50f2a4e Updated rubocop to latest version (0.59.2) and applied required changes. 2018-10-09 08:17:41 +02:00
Thorsten Eckel
c3105bb804 Add response body to result of client errors because there might be information provided by the server. 2018-06-22 14:27:32 +02:00
Ryan Lue
04055f7095 Replace unless with if ! (project-wide) 2018-05-04 22:05:10 +08:00
Thorsten Eckel
5f3c793f37 Refactoring: Fixed autoloading issues and workarounds by doing dependency requirement the "Rails Way".
- Removed unneeded `require`s
- Replaced needed `require`s with `require_dependency`
- Replaced `load` with Concers
- Kept gem and core `require`s

Read more about ``nrequire_dependency here: http://guides.rubyonrails.org/autoloading_and_reloading_constants.html#require-dependency

Read more about Concerns here: http://api.rubyonrails.org/v5.1/classes/ActiveSupport/Concern.html
2018-04-26 10:58:16 +02:00
Thorsten Eckel
705487154c Applied changes for Rubocop 0.51. 2017-11-23 09:09:44 +01:00
Thorsten Eckel
757f0ac9bd Applied RuboCop Style/BlockDelimiters to improve readability. 2017-10-01 14:25:52 +02:00
Martin Edenhofer
1ae062f144 Fixed issue #1292 - Don't use proxy on localhost addresses. 2017-07-27 12:05:54 +02:00
Martin Edenhofer
a1a56f49c0 Implemented issue #439 - proxy support. 2017-01-16 01:24:56 +01:00
Martin Edenhofer
c71b0d36d4 Updated copyright. 2016-10-19 05:11:36 +02:00
Martin Edenhofer
30fe8aef36 Applied rubocop. 2016-06-30 22:04:48 +02:00
Martin Edenhofer
e42e373de4 Added http log support. 2016-04-18 02:02:31 +02:00