Commit graph

123 commits

Author SHA1 Message Date
Mantas Masalskis
1615e3c995 Maintenance: Improve configuration details returned by the server.
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: Marcel Bialas <mb@zammad.com>
Co-authored-by: Martin Gruner <mg@zammad.com>
2026-03-04 08:07:54 +01:00
Dusan Vuckovic
bb63140ebd Fixes #5949 - CSRF token verification failed. 2026-02-17 11:54:08 +00:00
renovatebot
bc5051ccd5 Maintenance: Update dependency rubocop to v1.84.0 2026-01-28 09:46:02 +01:00
Mantas Masalskis
a1b9ef2bbb Maintenance: Update copyright information. 2026-01-02 15:41:09 +02:00
Marcel Bialas
f3f14c26a9 Fixes #5824 - Show human-readable ApplicationModel errors for agent users
Co-authored-by: Mantas Masalskis <mm@zammad.com>
2025-10-28 17:10:34 +01:00
Rolf Schmidt
a46e20498d Fixes #5687 - ticket search parameter with_total_count only works with full=true.
Co-authored-by: Mantas Masalskis <mm@zammad.com>
2025-07-02 09:33:30 +02:00
Mantas Masalskis
6608e4f2c3 Maintenance: Ensure background jobs are enqueued after changes are committed to the database 2025-06-18 18:12:15 +03:00
Martin Gruner
47e5136bea Maintenance: Improve cache-control header configuration 2025-06-17 07:50:39 +02:00
renovatebot
f7dde8ff82 Maintenance: Update dependency rubocop to v1.76.0 2025-06-10 10:53:01 +03:00
Dusan Vuckovic
920aea7e3a Fixes #5619 - Deleting a webhook which is still referenced in trigger: untranslated error message and UX issue. 2025-05-14 17:55:17 +01:00
Dusan Vuckovic
740f061d49 Fixes #5586 - Invalid object selector conditions with faulty error highlighting.
Co-authored-by: Rolf Schmidt <rolf.schmidt@zammad.com>
Co-authored-by: Dusan Vuckovic <dv@zammad.com>
2025-05-14 10:25:37 +01:00
Rolf Schmidt
10d9bc4517 Fixes #5541 - The use of X-On-Behalf-Of in a REST call leads to a 500 error message.
Co-authored-by: Mantas Masalskis <mm@zammad.com>
2025-04-04 13:12:06 +02:00
Martin Edenhofer
777f463d7f Applyed workaround for #5541 - The use of X-On-Behalf-Of in a REST call leads to a 500 error message 2025-04-02 04:03:34 +02:00
Florian Liebe
a8a3e1ec99 Fixes #5171 - Zammad sets an invalid Content-Type header for files with spaces in the filename.
Co-authored-by: Tobias Schäfer <ts@zammad.com>
2025-03-06 14:23:30 +01:00
Tobias Schäfer
773f912a3b Fixes #4858 - Calendar non functional with activated 2fa authentication
Co-authored-by: Florian Liebe <fl@zammad.com>
2025-03-04 12:27:46 +01:00
Dusan Vuckovic
f554b7e928 Maintenance: Improve 2FA endpoints.
Co-authored-by: Mantas Masalskis <mm@zammad.com>
Co-authored-by: Dusan Vuckovic <dv@zammad.com>
2025-02-14 09:36:02 +01:00
Martin Gruner
5b7711a89e Fixes #5438 - Occasionally puma hangs up after updating to Zammad 6.4 2025-01-13 15:27:02 +01:00
Mantas Masalskis
10f627cb69 Maintenance: Update copyright information 2025-01-01 17:39:43 +02:00
Rolf Schmidt
0c93022abf Fixes #5384 - Improve heavy used admin objects with pagination and search in admin interface.
Co-authored-by: Mantas Masalskis <mm@zammad.com>
Co-authored-by: Dominik Klein <dk@zammad.com>
Co-authored-by: Dusan Vuckovic <dv@zammad.com>
2024-11-28 14:09:42 +01:00
Florian Liebe
24105d0e24 Fixes #5308 - Ticket creation with Send Email turns into Net::SMTPSyntaxError if customer has no email address.
Co-authored-by: Dominik Klein <dk@zammad.com>
Co-authored-by: Dusan Vuckovic <dv@zammad.com>
Co-authored-by: Florian Liebe <fl@zammad.com>
2024-10-08 09:08:51 +02:00
Tobias Schäfer
522a702072 Fixes #4945 - Prevent user creation via Third Party Authentication
Co-authored-by: Dusan Vuckovic <dv@zammad.com>
Co-authored-by: Tobias Schäfer <ts@zammad.com>
2024-08-22 14:40:29 +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
Tobias Schäfer
a5429e9926 Fixes #4857 - Function test when saving the S3 backend in the admin interface is missing.
Fixes #4873 - S3: Lack of error and status messages.

Co-authored-by: Dominik Klein <dk@zammad.com> 
Co-authored-by: Florian Liebe <fl@zammad.com>
Co-authored-by: Tobias Schäfer <ts@zammad.com>
2023-11-08 10:38:22 +01:00
Rolf Schmidt
112af8f972 Fixes #4805 - "Switch to user" is not working if "maintenance_mode" is enabled and target user has no admin permissions.
Co-authored-by: Florian Liebe <fl@zammad.com>
2023-10-18 13:34:54 +02:00
Mantas Masalskis
8d39f68f59 Maintenance: Update to Rails 7.0 2023-10-10 10:00:03 +02:00
Martin Gruner
72d429ea5f Maintenance: Drop usage of unsupported 'plugin_types' CSP header. 2023-07-20 12:25:04 +00:00
Florian Liebe
54f06204fd Fixes #4595 - 2FA: Authenticator App
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: Rolf Schmidt <rolf.schmidt@zammad.com>
Co-authored-by: Tobias Schäfer <ts@zammad.com>
Co-authored-by: Vladimir Sheremet <vs@zammad.com>
2023-05-19 16:29:47 +02:00
Martin Gruner
9aa28c6ba5 Maintenance: Switch to Rails default HTTP cache handling.
Zammad used to have some custom HTTP cache handling code, which turned out to be obsolete and thus removed for better maintainability.
- `Pragma` is deprecated and not recommended to be used any more
- `Expires` is not really needed, if `Cache-Control` sets a `max-age`
- `Cache-control`: `no-store` includes `no-cache`. Other directives like `max-age` and `must-revalidate` are irrelevant in this case.

The Rails default response header of `max-age=0, private, must-revalidate` should be perfect to enforce requests to always be sent to the server, rather than served from the cache.

See also 
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Pragma
2023-05-03 12:03:57 +02:00
Martin Gruner
fc2491aabf Maintenance: Renamed confusing fields in the tokens table.
The Token model is used to store access tokens and had field names which may have caused confusion for developers using them. Therefore, the field previously called name: now has the correct identifier token: (as it stores the actual token value), and the field previously called label: is now called name: for better consistency with other models.
2023-04-11 12:50:56 +02:00
Martin Gruner
ac64d768aa Maintenance: Removed deprecated backwards compatibility methods.
This removes several legacy compatibility layers that have been deprecated for Zammad 6.0:
- `ApplicationController::Authenticates.permission_check` unused method removed
- `ApplicationController::Authenticates.authentication_check_only` removed unused parameter `auth_params`
- `ApplicationController::Authenticates.authentication_check_prerequesits ` removed unused parameter `auth_params`
- `HasObjectManagerAttributesValidation` unused concern removed
- `Ticket::Escalation.rebuild_all` unused method removed
- `Store.add` unused method removed
- Deprecated redirect rake Tasks `searchindex:*` removed
- Deprecated legacy wrapper `Cache` removed
2023-04-11 10:36:34 +02:00
Mantas
3b29835d4a Fixes #3119 - Clarify authentication_check and authorize! before_actions 2023-03-21 20:14:54 +00:00
Martin Gruner
a69fc3a451 Maintenance: Force usage of 'reorder' instead of 'order'. 2023-03-06 15:05:13 +01:00
Florian Liebe
657e3b4d2d Feature: Mobile - Login finalization: Third-party authentications.
Co-authored-by: Florian Liebe <fl@zammad.com>
Co-authored-by: Dominik Klein <dk@zammad.com>
Co-authored-by: Dusan Vuckovic <dv@zammad.com>
2023-02-20 13:03:39 +01:00
Dusan Vuckovic
821d444360 Feature: Mobile - Redesign the Error page. 2023-02-20 10:55:34 +01:00
Dominik Klein
f73b9083af Fixes #4415 - Nulloption from screen is currently not used in the core workflow backend. 2023-01-16 13:21:24 +01:00
Florian Liebe
9dfc232536 Maintenance: Update copyright information. 2023-01-02 16:19:55 +01:00
Martin Gruner
e027e6341d Maintenance: Small refactoring of services layer. 2022-11-04 12:01:45 +01:00
Mantas Masalskis
8c3ac55156 Maintenance: Pundit policies always returns false 2022-10-25 20:34:48 +02:00
Martin Gruner
999e0b4b06 Maintenance: Make it possible to translate Rails error messages. 2022-10-25 15:35:13 +02:00
renovatebot
2c02b6ea53 Maintenance: Update dependency rubocop-rails to v2.16.1 2022-09-27 16:24:19 +02:00
Florian Liebe
ed3bee6e68 Feature: Mobile - Add a service layer to easily share code between application controllers and GraphQL queries/mutations/subscriptions. 2022-08-24 14:39:16 +02:00
Mantas Masalskis
d1bde7455b Maintenance: Refactored attachment handling 2022-07-05 07:21:09 +00:00
Martin Gruner
218e854a4c Maintenance: Bump rubocop from 1.31.0 to 1.31.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.31.0 to 1.31.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.31.0...v1.31.1)
2022-06-30 07:38:32 +02:00
Martin Gruner
0046c509f7 Maintenance: Bump rubocop from 1.30.1 to 1.31.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.30.1 to 1.31.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.30.1...v1.31.0)
2022-06-29 13:18:52 +02:00
Martin Gruner
d992e697a5 Maintenance: Bump rubocop-rails from 2.14.2 to 2.15.0
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.14.2 to 2.15.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.14.2...v2.15.0)
2022-06-14 10:23:56 +02:00
Martin Gruner
34b2bbaf36 Maintenance: Improve handling of front end tests. 2022-06-08 08:16:28 +02:00
Rolf Schmidt
fd444996c4 Fixes #3141 - Multiple LDAP server configurations. 2022-05-30 09:49:39 +02:00
Martin Gruner
3042cfcff7 Feature: Mobile - Added Selenium testing helper for the new mobile app. 2022-05-06 08:59:07 +00:00
Martin Gruner
85cbfc6851
Maintenance: Improved translatable source strings. 2022-04-25 15:37:05 +02:00