Commit Graph

52 Commits

Author SHA1 Message Date
Horilla
2fee7c18bb [IMP] Remove inter module dependency (#274)
This commit introduces significant changes to the architecture of the Horilla HRMS system by decoupling interdependent modules. The following modifications were made:

1. **Module Independence**: Each module has been refactored to eliminate reliance on other modules, promoting a more modular and maintainable codebase.
2. **Refactored Imports and Dependencies**: Adjusted import statements and dependency injections to support independent module operation.
3. **Compatibility and Functionality**: Ensured that all modules are compatible with existing systems and maintain their intended functionality both independently and when integrated with other modules.

These changes enhance the modularity, maintainability, and scalability of the Horilla HRMS, allowing developers to work on individual modules without affecting the entire system. Future development and deployment will be more efficient and less prone to issues arising from tightly coupled code.

**NOTE**
For existing Horilla users, if you face any issues during the migrations, please run the following command and try again the migrations.

- `python3 manage.py makemigrations`
- `python3 manage.py migrate base`
- `python3 manage.py migrate`





* [IMP] ASSET: Asset module dependency removal from other Horilla apps

* [IMP] ATTENDANCE: Attendance module dependency removal from other Horilla apps

* [IMP] BASE: Base module dependency removal from other Horilla apps

* [IMP] EMPLOYEE: Employee module dependency removal from other Horilla apps

* [IMP] HELPDESK: Helpdesk module dependency removal from other Horilla apps

* [IMP] HORILLA AUDIT: Horilla Audit module dependency removal from other Horilla apps

* [IMP] HORILLA CRUMBS: Horilla Crumbs module dependency removal from other Horilla apps

* [IMP] HORILLA AUTOMATIONS: Horilla Automations module dependency removal from other Horilla apps

* [IMP] HORILLA VIEWS: Horilla Views module dependency removal from other Horilla apps

* [IMP] LEAVE: Leave module dependency removal from other Horilla apps

* [IMP] OFFBOARDING: Offboarding module dependency removal from other Horilla apps

* [IMP] ONBOARDING: Onboarding module dependency removal from other Horilla apps

* [IMP] PMS: PMS module dependency removal from other Horilla apps

* [IMP] PAYROLL: Payroll module dependency removal from other Horilla apps

* [IMP] RECRUITMENT: Recruitment module dependency removal from other Horilla apps

* [IMP] HORILLA: Dependency removal updates

* [IMP] TEMPLATES: Dependency removal updates

* [IMP] STATIC: Dependency removal updates

* [IMP] HORILLA DOCUMENTS: Horilla Documents module dependency removal from other Horilla apps

* [ADD] HORILLA: methods.py

* [UPDT] HORILLA: Settings.py

* [FIX] EMPLOYEE: About tab issue

* Update horilla_settings.py

* Remove dummy db init password
2024-08-05 14:22:44 +05:30
Horilla
12f362b07f [FIX] LEAVE: Fixed leave request update form forcasted leave issue 2024-07-23 11:10:00 +05:30
Horilla
bc937c0066 [FIX] LEAVE: Fixed error while creating leave for previous month 2024-06-24 17:54:36 +05:30
Horilla
ce5dcbe2a8 [UPDT] BASE: Updated base app by changing ThreadLocalMiddleware location to horilla project folder 2024-06-20 11:45:55 +05:30
Horilla
db9de587f7 [FIX] LEAVE : Empty page issues, Compensatory form issues, comment section fixes with employee without work information 2024-05-18 14:52:09 +05:30
Horilla
d138446ec5 [UPDT] LEAVE: Compensatory leave form employee field updated with subordinates and added permissions 2024-05-10 10:27:22 +05:30
Horilla
d98c5480ee [UPDT] LEAVE: Leave compensatory request section 2024-05-08 15:57:41 +05:30
Ashwanth Balakrishnan
58be33a8d7 Added Pre-Commit Hooks (#175)
* Added pre commit hook

* Run pre commit hook on all files

---------

Co-authored-by: Horilla <131998600+horilla-opensource@users.noreply.github.com>
2024-05-07 12:23:36 +05:30
Horilla
47e82b2241 [UPDT] LEAVE: Updated leave request form by changin div id of fields 2024-04-15 16:22:49 +05:30
Horilla
43a1567223 [UPDT] LEAVE: Updated leave request create & update form by adding htmx for leave type field to update options by selected employe 2024-04-08 15:18:36 +05:30
Horilla
c9b1df5cba [ADD] LEAVE: Leave request restriction for some particular days based on different conditions 2024-04-03 10:26:31 +05:30
Horilla
d2b01afd3f [UPDT] LEAVE: Updated leave request single view html by adding extra style classes 2024-04-02 10:06:29 +05:30
Horilla
7b0558f003 Abstract Model Changes (#131)
* [UPDT] BASE: Updated disciplinary action type model by adding abstract class

* [UPDT] BASE: Updated abstract model class save method by fethcing request from thread local

* [UPDT] LEAVE: Updated models in leave module by adding abstract class

* [UPDT] LEAVE: Updated leave request model by adding abstract class

* [UPDT] DASHBOARD: Floating quick action button rather than static template inside dashboard

* [UPDT] Test database

* [UPDT] ASSET: Updated models in asset app by adding abstract class HorillaModels

* [UPDT] ASSET: Updated asset category form by adding exclude fields in class Meta

* [FIX] ATTENDANCE: Attendance overtime permission wrong permission

* [UPDT] Test Database
2024-03-25 10:08:53 +00:00
Horilla
a2cf3f3738 [FIX] LEAVE: Fixed forcasted leave in update form 2024-03-18 16:43:26 +05:30
Horilla
398fd3fdf2 [FIX] LEAVE: Fixed forcasted leave issue 2024-03-18 15:35:31 +05:30
Ashwanth Balakrishnan
42c5b34353 Formatting and Cleaning code base (#110) 2024-03-10 14:07:46 +00:00
Horilla
05da33e6fe [UPDT] LEAVE: Leave request creation method updates 2024-02-23 12:06:56 +05:30
Horilla
bac7a40d1e [UPDT] LEAVE: Leave type creation and updation added with helptext and design changes 2024-02-17 15:19:35 +05:30
Horilla
0d45e44d26 [ADD] LEAVE: Horilla multi widge on the leave assign 2024-02-15 12:12:55 +05:30
Horilla
9612bd9ad4 [UPDT] GENERAL: Default values preloaded to forms 2024-02-14 14:58:09 +05:30
Horilla
9aac19206b [UPDT] LEAVE: Pre-planned leaves for employees 2024-02-03 13:58:16 +05:30
Horilla
ff2804e72c [UPDT] LEAVE: Comment section to activity sidebar 2024-01-30 19:09:18 +05:30
Horilla
927d6807b0 [UPDT] LEAVE: Leave request, admin leave request and holiday html updates using htmx attributes 2024-01-29 15:16:39 +05:30
Horilla
eb5258b053 [ADD] LEAVE: Comment section for leave allocation request and its group view 2024-01-16 14:21:53 +05:30
Horilla
3e3183cfcf [ADD] LEAVE: Comment for leave request views 2024-01-15 10:15:58 +05:30
Horilla
510d38a4da [FIX] GENERAL: Unactive employees being displayed everywhere 2024-01-04 16:52:12 +05:30
Horilla
c652ec0171 [IMP] Multi Company in Horilla 2023-12-01 15:36:51 +05:30
Horilla
f0d97f1589 [UPDT] LEAVE: More fields to leave filters 2023-11-27 22:01:47 +05:30
Horilla
afa9ff002a [UPDT] LEAVE: Added horilla_widget filter to assign leave form 2023-11-24 16:59:15 +05:30
Horilla
ae4d9fd751 [FIX] LEAVE: Form validations when user creates a request 2023-11-23 12:21:13 +05:30
Horilla
e098cf03b2 [UPDT] LEAVE: Sending mail to reporting managers while request creation and related activities 2023-11-23 00:22:19 +05:30
Horilla
4f908ef696 [FIX] LEAVE: Current date not loading in filtered leave requests 2023-11-21 17:12:00 +05:30
Horilla
d6ac9aa46c [ADD] LEAVE: company_id - Company dependent fields to leave models 2023-11-20 14:22:43 +05:30
Horilla
ae1751ecca [UPDT] LEAVE: Start date break down and end date break down mismatch validation added 2023-11-16 14:45:58 +05:30
Horilla
7b6b4b49e9 [ADD] LEAVE: Bulk delete and selection feature for My Leave Request 2023-11-16 09:07:14 +05:30
Horilla
519c762ad7 [FIX] LEAVE: 'Require Approval' disabled Leave Type 2023-11-15 11:34:43 +05:30
Horilla
2b071a7446 [UPDT] LEAVE: Leave export function update 2023-11-13 12:34:15 +05:30
Horilla
a55c3c7422 [ADD] LEAVE: Group By in Leave 2023-11-08 16:58:23 +05:30
Horilla
0d9af98cd3 [UPDT] LEAVE: Leave allocation filter 2023-11-03 10:27:03 +05:30
Horilla
91ecbbf777 [ADD] LEAVE: Leave allocation request 2023-11-02 12:25:48 +05:30
Horilla
c8358e5629 [UPDT] LEAVE: User leave creation from My Leave Request page view 2023-10-18 11:04:27 +05:30
Horilla
0e3005769c [UPDT] LEAVE: Update leave module template paths 2023-10-17 10:04:23 +05:30
Horilla
9de1ab1eb4 [ADD] LEAVE: Add import, export and bulk delete option in assigned leave and holidays 2023-10-13 14:42:38 +05:30
Horilla
0af7c858c7 [ADD] LEAVE: Common form on leave request section 2023-10-09 16:13:10 +05:30
Horilla
b6f2fd5127 [FIX] LEAVE: Remove leave type leave calculation method, leave type creation/updation form 2023-10-09 11:58:52 +05:30
Horilla
7ef0590768 [UPDT] Foreign key constraints 2023-09-25 15:52:50 +05:30
Horilla
63da64282d [FIX]leave reset carryforward 2023-08-14 14:47:15 +05:30
Horilla
b745ab1897 [UPDT]translations updations 2023-08-07 13:02:24 +05:30
Horilla
fcf6912b2f [FIX]leave bug fixes 2023-07-11 12:14:08 +05:30
Horilla
55b47ae97b [FIX]leave module bug fix 2023-07-07 11:06:16 +05:30