From a4cbbd26270eddc7cb37f7a02bae3e18a1d0297c Mon Sep 17 00:00:00 2001 From: Horilla Date: Thu, 30 Oct 2025 15:09:36 +0530 Subject: [PATCH] Dev/v2.0 (#966) * [FIX] BASE: Fixed the permissions in the settings page and updated the payroll permission * [FIX] DOCKER: Issue with creating migration file for auth user model * [FIX] EMPLOYEE : Document request view toggle issue fixes * [FIX] ATTENDANCE: Fixed union of distinct querysets in attendance request * [FIX] PAYROLL: Fixed reimbursement form excluded field issue * [UPDT] WHATSAPP: Updated flow json version * [UPDT] WHATSAPP: Updated meta_token from charfield to text field * [UPDT] WHATSAPP: Updated whatsapp credential view url to CBV template view * [FIX] WHATSAPP: Fixed issues in sending messages and added exception message if request failed * [UPDT] RECRUITMENT: Formatted recruitment view page * [UPDT] RECRUITMENT: Updated linkedin to check for integration enabled * [FIX] SETTINGS: Fixed outlook issue on settings page * [FIX] SETTINGS: Fixed outlook error in settings page * [RMV] GENERAL: Remove unwanted console log messages * [UPDT] HORILLA_THEME: Updated permission for ldap and Gmeet in settings page * [RMV] GENERAL: Remove unwanted console log messages * [UPDT] BASE: Index page updation * [UPDT] WHATSAPP: Add whatsapp app to the installed_apps list * [FIX] BASE: Fixed the permission issue in the general settings section * [FIX] WHATSAPP: Fixed decorator issue and test message exception issue * [RMV] GENERAL: Remove unwanted print statements * [FIX] SETTINGS: Fixed typo in permission for Outlook * [IMP] Remove formatting of migrations file from the pre-commit hooks * [RMV] BASE: Unwanted variable from the chart * [FIX] Fix the regex issue with exclusion of migrations files in the pre-commit config --- .pre-commit-config.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e1992017..bfcf9c483 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,16 +4,18 @@ repos: hooks: - id: check-yaml - id: end-of-file-fixer + exclude: ^.*/migrations/.*$ - id: trailing-whitespace + exclude: ^.*/migrations/.*$ - repo: https://github.com/psf/black-pre-commit-mirror rev: 24.4.2 hooks: - id: black language_version: python3.10 - exclude: '**/migrations/**' + exclude: ^.*/migrations/.*$ - repo: https://github.com/pycqa/isort rev: 5.13.2 hooks: - id: isort args: ["--profile", "black", "--filter-files"] - exclude: '**/migrations/**' + exclude: ^.*/migrations/.*$