Commit graph

43 commits

Author SHA1 Message Date
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
310cefb4ad Maintenance: Improve loading mechanism for aws-sdk-s3 gem.
Thanks to Andreas Schneider <asn@cryptomilk.org> for the idea.
2026-04-02 13:31:22 +02:00
Dusan Vuckovic
bb63140ebd Fixes #5949 - CSRF token verification failed. 2026-02-17 11:54:08 +00: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
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
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
Mantas Masalskis
10f627cb69 Maintenance: Update copyright information 2025-01-01 17:39:43 +02: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
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
Dusan Vuckovic
821d444360 Feature: Mobile - Redesign the Error page. 2023-02-20 10:55:34 +01:00
Florian Liebe
9dfc232536 Maintenance: Update copyright information. 2023-01-02 16:19:55 +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
Mantas Masalskis
d1bde7455b Maintenance: Refactored attachment handling 2022-07-05 07:21:09 +00: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
Mantas
4a71dc4eeb Fixes #3997 - KB: granular permissions misconfiguration is allowed by UI 2022-03-10 09:06:44 +00:00
Martin Gruner
24c3bdfd87 Maintenance: Update copyright header. 2022-01-01 14:38:12 +01:00
Mantas Masalskis
a6e387cf9b Fixes #2429 - Note is not being updated because of the lack of lastname 2021-12-03 14:09:11 +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
Ryan Lue
c23e174ee0 Refactoring: Migrate user permission handling to Pundit policies. 2021-07-23 13:07:16 +00:00
Martin Gruner
3fae5a027f Maintenance: Load asset processing gems only at build time. 2021-07-13 08:11:20 +00:00
Thorsten Eckel
c9774c8b45 Maintenance: Ensure Content-Type 'text/html' for error pages. 2021-06-07 13:35:50 +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
Thorsten Eckel
876c0b18fd Fixes issue #2983 - HTTP 401 responses causing issues with Basic Authentication. 2021-02-04 09:28:41 +01:00
Thorsten Eckel
b72a15a017 Maintenance: Updated rubocop(-* gems) to latest version (1.3.0). 2020-11-12 12:42:44 +01:00
Thorsten Eckel
623b17be6b Maintenance: Updated rubocop(-* gems) to latest version (0.92.0). 2020-09-30 11:07:01 +02:00
Ryan Lue
becbdb1baa Refactoring: Replaced home-rolled authorization logic in Controllers with Pundit. 2020-03-19 10:39:51 +01:00
Thorsten Eckel
bb7950255e Follow up - bca16dee16 - Enhancement: Provide unique error code for technical errors to make it easy to find them in the logs.
- Show all error messages if `current_user` has `admin` permission(s) right away.
- Pass messages of `ActionController::RoutingError`, `ActiveRecord::RecordNotFound`, `Exceptions::UnprocessableEntity` and `Exceptions::NotAuthorized` exceptions to user.
- Fix regression: 'Not authorized' errors lack of cause.
- Remove diverged behavior for different environments.
2020-03-10 19:18:03 +01:00
Rolf Schmidt
bca16dee16 Enhancement: Provide unique error code for technical errors to make it easy to find them in the logs. 2020-03-04 10:00:55 +01:00
Ryan Lue
365e8db792 Knowledge Base Prep: Rescue DeleteRestrictionError with 422 Unprocessable Entity 2019-03-01 05:26:53 +01:00
Martin Edenhofer
213f2d153f Fixed issue #2128 - Route for /auth/failure is missing to show login failure messages form oauth provider (if request was technical ok - only login was not possible by oauth provider). 2018-07-17 10:35:51 +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
24696c00ee Initial Check_MK integration. 2017-08-22 01:13:19 +02:00
Thorsten Eckel
c9b2255e4f Initial version of LDAP user sync support. 2017-04-19 12:09:54 +02:00
Thorsten Eckel
5eb49443dd Refactoring: Splitted ApplicationController functionality into separat modules and concerns. 2017-03-09 15:31:26 +01:00
Renamed from app/controllers/concerns/error_handling.rb (Browse further)