Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OHRM5X-1140: GDPR purge - Develop purge API #1144

Merged
merged 24 commits into from
Feb 28, 2022

Conversation

devishke-orange
Copy link
Contributor

No description provided.

@devishke-orange devishke-orange marked this pull request as ready for review February 28, 2022 06:25
{
private ?PurgeEmployeeService $purgeEmployeeService = null;

public function getPurgeEmployeeService(): PurgeEmployeeService
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doc comment

@@ -75,7 +75,7 @@
<directory>symfony/plugins/orangehrmMaintenancePlugin/test/Dao</directory>
<directory>symfony/plugins/orangehrmMaintenancePlugin/test/PurgeStrategy</directory>
<directory>symfony/plugins/orangehrmMaintenancePlugin/test/Dto</directory>
<!-- <directory>symfony/plugins/orangehrmMaintenancePlugin/test/Api</directory>-->
<directory>symfony/plugins/orangehrmMaintenancePlugin/test/Api</directory>
<!-- <directory>symfony/plugins/orangehrmMaintenancePlugin/test/Entity</directory>-->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line

@RajithaKumara RajithaKumara merged commit f90a02a into orangehrm:5.0 Feb 28, 2022
Super-Chama pushed a commit to Super-Chama/orangehrm that referenced this pull request Apr 26, 2022
* OHRM5X-983: Develop time - project & project activity details report screens (orangehrm#1084)

* OHRM5X-978: Connect time - employee timesheet screen with APIs (orangehrm#1087)

* OHRM5X-979: Create database snapshot & restore while test automation (orangehrm#1034)

* OHRM5X-979: Implement backup restore database at a given point

* OHRM5X-979: Create initial savepoint at the prepare

* OHRM5X-1006: Develop time - project report API (orangehrm#1086)

* OHRM5X-1010:  Develop time - employee project report API (orangehrm#1088)

* OHRM5X-1035: Restrict inaccessible projects for project admin (orangehrm#1092)

* OHRM5X-1044: Improve time - timesheet comment API (orangehrm#1094)

* OHRM5X-1057: Restrict edit timesheet screen access by user role (orangehrm#1096)

* OHRM5X-1035: Fix save project screen blocking for admin user

* OHRM5X-1037: Fix user role manager isProjectAdmin with deleted projects

* OHRM5X-1057: Restrict edit timesheet screen by user role

* OHRM5X-1034: Extended accessible employees for project admin

* OHRM5X-1106: Connect time - project report with API (orangehrm#1097)

* OHRM5X-1107: Connect time - employee report with API (orangehrm#1099)

* OHRM5X-1075: initiate attendance plugin directory structure and entities (orangehrm#1100)

* OHRM5X-561: Develop attendance - punch in/out & config screens (orangehrm#1098)

* OHRM5X-561: Develop attendance - punch in/out screens

* OHRM5X-562: Develop attendance - config screen

Co-authored-by: Dilum Harshana <dilum@orangehrmlive.com>

* OHRM5X-1008: Develop time - project activity detailed report (orangehrm#1095)

* OHRM5X-320: Prevent deletion of used project, activities (orangehrm#1093)

* OHRM5X-1048: Prevent deletion of used project, activities

* OHRM5X-1050: Project copy activities already exist validation added

* OHRM5X-1064: Employee timesheet past employee search issue fixed

* OHRM5X-1044: Timesheet comment not updating issue fixed

* OHRM5X-1074: Stop browser auto fill timesheet cells

* OHRM5X-1065: Timesheet screen date range display issue fix

Co-authored-by: Sandeepa Ranathunga <sandeepa@orangehrmlive.com>

* OHRM5X-1034: Separate project admin list from employee API (orangehrm#1101)

* OHRM5X-1108: Revert project activity API restriction added in OHRM5X-1035

* OHRM5X-1034: Separate project admin list API from employee API

* OHRM5X-1036: Fix no record found issue in projects screen

* OHRM5X-1034: Fix project admin filter field unauthorized issue for project admin users

* OHRM5X-1079: Develop attendance - configuration API (orangehrm#1104)

* OHRM5X-1013: Custom cypress commands added (orangehrm#1056)

* OHRM5X-1013: Removed old test files

* OHRM5X-1013: Cypress fixtures updated, faker added

* OHRM5X-1013: Custom cypress commands added

* OHRM5X-1013: Updated spec added

* OHRM5X-1013: OS Code header added

* OHRM5X-1013: Lint fixes, Delete API added

* OHRM5X-1013: API Login session failure fix

* OHRM5X-1013: Faker package removed, dummy fixture renamed

* OHRM5X-1112: DB Reset/Snapshot tasks added

* OHRM5X-979: Fix permission issue when pepare functional testing

* OHRM5X-979: Add support for deletion savepoints in functional testing

* OHRM5X-979: Format the code

* OHRM5X-1112: DB clear snapshot task added

Co-authored-by: Rajitha Kumara <rajitha@orangehrm.us.com>

* OHRM5X-1071: Fix no record found issue in edit timesheet screen (orangehrm#1102)

* OHRM5X-1067: Fix timesheet pending action list sorting issue

* OHRM5X-1071: Fix edit timesheet no record found issue

* OHRM5X-1082: Develop attendance - employee latest record API (orangehrm#1110)

* OHRM5X-1095: Develop attendance - employee records screen (orangehrm#1111)

* OHRM5X-1095: Attendance - Employee attendance records UI

* OHRM5X-1095: Attendance - Employee attendance mock APIs

* OHRM5X-1120: Fix PHP unit test failing issue

* OHRM5X-1096: Develop attendance - my attendance records screen (orangehrm#1113)

* OHRM5X-1084: Develop attendance - punch in & punch out overlap validation API (orangehrm#1112)

* OHRM5X-320: Fix time - timesheet screen issues (orangehrm#1114)

* OHRM5X-561: Punch in/out screens defect fixes

* OHRM5X-1048: Time activities cannot delete toast message fixed

* OHRM5X-1072: Timesheet comment allow empty comments

* OHRM5X-1069: Timesheet reset not loading saved comment fix

* OHRM5X-1072: comment required validation removed

Co-authored-by: G.Vageeshan <vageeshan@orangehrm.com>

* OHRM5X-1097: Initiate i18n language strings endpoint (orangehrm#1115)

* OHRM5X-559: Develop attendance - summary report API (orangehrm#1119)

* OHRM5X-1099: Develop attendance - edit my attendance screens (orangehrm#1118)

* OHRM5X-1086: Develop attendance - my/employee punch in/out APIs (orangehrm#1116)

* OHRM5X-1086: Develop attendance - my (punch in) post operation

* OHRM5X-1087: Develop attendance - my (punch out) put operation

* OHRM5X-1083: Develop attendance - employee (punch in) post operation

* OHRM5X-1085: Develop attendance - employee (punch out) put operation

* OHRM5X-1111: Fix time - report related defects (orangehrm#1120)

* OHRM5X-1111: Activities with no time logged are not displayed in project reports

* OHRM5X-1056: Users can edit approved timesheets by visiting them via the URL

* OHRM5X-559: Attendance Summary report filter issues

* OHRM5X-1126: Develop attendance - current UTC datetime (orangehrm#1125)

* OHRM5X-1135: Develop attendance - punch in/out overlap validation API for edit screen (orangehrm#1127)

* OHRM5X-1080: Connect attendance - punch in/out screen with APIs (orangehrm#1126)

* OHRM5X-1091: Develop attendance - records get-one/update operations (orangehrm#1128)

* OHRM5X-979: Enable cypress experimentalInteractiveRunEvents config (orangehrm#1131)

* OHRM5X-1122: Develop attendance - summary report (orangehrm#1130)

* OHRM5X-1094: Develop attendance - my record delete operation (orangehrm#1136)

* OHRM5X-1090: Develop attendance - my record getAll operation (orangehrm#1139)

* OHRM5X-1093: Develop attendance - employee record delete operation (orangehrm#1140)

* OHRM5X-564: Connect attendance - edit my attendance screen with APIs (orangehrm#1135)

* OHRM5X-1134: Initiate maintenance -  purge employees with strategies (orangehrm#1129)

* OHRM5X-1110: Fix time - project/ employee report screen issues (orangehrm#1143)

* OHRM5X-1136, OHRM5X-1118, OHRM5X-1110, OHRM5X-1114

* OHRM5X-1089: Develop attendance - employee summary API (orangehrm#1142)

* OHRM5X-1133: Initiate maintenance - access employee records (orangehrm#1141)

* OHRM5X-1089: Add attendance - employee summary API tests (orangehrm#1146)

* OHRM5X-1140: Develop maintenance - purge employees API (orangehrm#1144)

* OHRM5X-1132: Develop migration script for language strings and translations (orangehrm#1134)

* OHRM5X-1132: Develop migration script for language strings and translations

* OHRM5X-1152: Develop a tool to extract strings and translations from 4.x

* OHRM5X-1098: Connect attendance - employee attendance screens with APIs (orangehrm#1148)

* OHRM5X-1098: Attendance - Connect employee attendance screens with API

* OHRM5X-1116: Timesheet pending action button color change

* OHRM5X-1098: New rule added to validate timezone offset

Co-authored-by: Sandeepa Ranathunga <sandeepa@orangehrmlive.com>

* OHRM5X-1115: Fix  time - customer screen related issues (orangehrm#1147)

* OHRM5X-1115: User able to delete customers which have time logged against them

* OHRM5X-1117: When a customer is deleted the projects affiliated with the selected customer are not getting deleted

* OHRM5X-1127: Develop attendance - timezones API (orangehrm#1149)

* OHRM5X-1159: Modify attendance - entity & APIs to support with timezone names (orangehrm#1154)

* OHRM5X-1160: Add attendance - timezone name upgrader script (orangehrm#1156)

* OHRM5X-1154: Fix attendance - summary report filter issue (orangehrm#1158)

* OHRM5X-1177: Change timezone autocomplete to dropdown (orangehrm#1160)

* OHRM5X-1177: Change timezone autocomplete to dropdown

* OHRM5X-1158: Fix "Invalid Parameter" is displayed in the Time field when the user clicks In/Out with an empty date field

* OHRM5X-1165: Fix user unable to punch in/out from UTC offsets with zero decimal points

* OHRM5X-1138: Fix incorrect toast message is displayed when the user punches out

* OHRM5X-1171: Fix time value changes after the user has manually entered a time

* OHRM5X-1168: Fix user unable to select a different timezone when adding new records

* OHRM5X-1169: Fix add/edit records screen timezone field should be marked as a required field

* OHRM5X-1166: Fix admin user unable to add/edit records when supervisor add/edit attendance option is disabled

* OHRM5X-1176: Fix broken "Unauthorized" error message is displayed when the user tries to punch out

* OHRM5X-1147: Develop maintenance - purge employees screen (orangehrm#1155)

* OHRM5X-1145: Develop maintenance - access employee records (orangehrm#1164)

* OHRM5X-1121: Improve selection of selected menu item (orangehrm#1166)

* OHRM5X-1121: Improve selection of selected menu item

* OHRM5X-923: Fix not highlighting menu items when going to inner screens

* OHRM5X-1170: Fix unable to select future years in employee attendance screen date filter

* OHRM5X-1121: Fix reinstall dev-tool script issue

* OHRM5X-1176: Fix broken unauthorized issue when loading latest punch in data

* OHRM5X-1160: Fix attendance - timezone name upgrader script

* OHRM5X-1175: Fix broken attendance - my record editing

* OHRM5X-1169: Make attendance - edit record timezone field as required

* OHRM5X-1177: Improve timezone API unit testing

* OHRM5X-1146: Restrict maintenance - access/purge employee screens with password (orangehrm#1171)

* OHRM5X-1184: Add performance module entities (orangehrm#1184)

* OHRM5X-1184: Add performance module entities

* OHRM5X-1203: Remove maintenance module middle name placeholder

* OHRM5X-1204: Truncate name fields of full name based on character length

* OHRM5X-1173: Move action buttons to the top right corner on mobile

Co-authored-by: Devishke <devishke@orangehrmlive.com>
Co-authored-by: Sharuka <sharuka@orangehrmlive.com>

* OHRM5X-1211:  Improve maintenance - access employee file download (orangehrm#1194)

* OHRM5X-1207: Fix displayed null & empty values in the JSON file

* OHRM5X-1208: Fix supervisor is displayed as both the supervisor and the subordinate in the JSON file

* OHRM5X-1209: Fix user created and modified date not displayed in the JSON file

* OHRM5X-1210: Fix Past Employee suffix in the exported file name

* OHRM5X-1211: Fix employee salary details strategy

* OHRM5X-1212: Fix 500 error occurs when a user tries to download details of an employee with special characters in the employee name

* OHRM5X-1180: Hide purged employee data  from leave/ admin/ pim (orangehrm#1189)

* OHRM5X-1214: Add maintenance - verify password required validation

* OHRM5X-1219: Hide purged employee data from leave reports

* OHRM5X-1220: Hide purged employee data from leave list

* OHRM5X-1221: Hide purged employee data  from admin workshifts

* OHRM5X-1222: Hide purged employee data  from PIM reports

* OHRM5X-664: Improve file extension validation (orangehrm#1198)

* OHRM5X-1225: Preserve purged employees timesheet actions (orangehrm#1195)

* OHRM5X-1230: Fix maintenance - access employee failure with subunits (orangehrm#1200)

* OHRM5X-1216: Add DB migrations from 4.10 to 5.0 version (orangehrm#1207)

* OHRM5X-1216: Initiate upgrader data group helper

* OHRM5X-1216: Add DB migrations from 5.0-beta to 5.0 version

* OHRM5X-1216: Run migrations in installer

* OHRM5X-1216: Add DB migrations from 4.10 to 5.0-beta version

* OHRM5X-1174: Improve attendance/time related issues (orangehrm#1203)

* OHRM5X-1181: Timezone column should have a double column width

* OHRM5X-1185: Issues related to the timezone format displayed in the attendance screens

* OHRM5X-1174: Total duration is not getting displayed in employee records detailed

* OHRM5X-1186: Punched in timezone of the user is not displayed in the last punch in time when user goes to the punch out screen

* OHRM5X-1172: Admin users unable to edit/delete their own attendance records

* OHRM5X-1229: "Required" validation is not getting displayed and page keeps loading when user click save without selecting a customer

* OHRM5X-1226: Punch in/out date, time, GMT are not displaying in the same font size

* OHRM5X-1100: Supervisor is able to view his own employee report through the API

* OHRM5X-666: Improve session handling at the login (orangehrm#1202)

* OHRM5X-666: Add session migrate to generate new session after login

* OHRM5X-664: Improve extension validation to check even if filename length is not defined

* OHRM5X-1232: Fix job title name unique check

* OHRM5X-1216: Initiate installer routing (orangehrm#1209)

* OHRM5X-1181: Change attendance timezone fields to double column width (orangehrm#1208)

* OHRM5X-1244: Fix broken attendance - my records permission issue

* OHRM5X-1181: Timezone column should have a double column width

* OHRM5X-1262: Initiate upgrader FE directory structure (orangehrm#1211)

* OHRM5X-786: Initiate upgrader API controllers

* OHRM5X-1262: Initiate upgrader FE directory structure

* OHRM5X-1243: Improve email/phone input validation for APIs (orangehrm#1210)

* OHRM5X-1123: Initiate front-end i18n support (orangehrm#1122)

* OHRM5X-1131: Initiate translator for back-end translations (orangehrm#1145)

* OHRM5X-285: Develop admin - localization config screen (orangehrm#1151)

* OHRM5X-285: Develop localization API

* OHRM5X-285: Develop localization screen

Co-authored-by: Pathum Harshana <pathum@orangehrm.us.com >

* OHRM5X-1151: Define i18n - admin module language strings (orangehrm#1153)

* OHRM5X-1124: Define i18n - pim module language strings (orangehrm#1157)

* OHRM5X-1151: Define i18n - general language strings (orangehrm#1167)

* OHRM5X-1162: Define i18n - leave language strings (orangehrm#1165)

* OHRM5X-1179: Add global config value to enable/disable i18n translation (orangehrm#1180)

* OHRM5X-1179: Add global config value to enable/disable i18n translation

* OHRM5X-1179: Refactor vue template directory

* OHRM5X-1163: Define i18n - time module language strings (orangehrm#1179)

* OHRM5X-1164: Define i18n - attendance module language strings (orangehrm#1181)

* OHRM5X-1213: Define i18n - maintenance purge screen language strings (orangehrm#1183)

* OHRM5X-1205: Define i18n - maintenance access record screen language strings (orangehrm#1187)

* OHRM-285: Improve admin - localization config screen (orangehrm#1199)

* OHRM5X-1202: Add missing language strings in admin/pim/leave/time (orangehrm#1188)

* OHRM5X-1234: Fix i18n language string reactive issue (orangehrm#1214)

* OHRM5X-1202: Add missing language strings in admin/pim/leave/time (orangehrm#1205)

* OHRM5X-1234: Add installer support for i18n

* OHRM5X-1234: Add missing mock lang string for rules unit test

* OHRM5X-1262: Develop upgrader - layout & welcome screen (orangehrm#1213)

* OHRM5X-175: Develop forgot password screens (orangehrm#1201)

* OHRM5X-1261: Add DB migrations from 4.3.3 to 4.10 version (orangehrm#1212)

* OHRM5X-786: Develop upgrader - validate database configuration API (orangehrm#1219)

* OHRM5X-1272: Fix i18n translation test tool (orangehrm#1225)

* OHRM5X-1233: Add missing language strings in oxd components(orangehrm#1220)

* OHRM5X-1235: Improve internal server error handling (orangehrm#1216)

* OHRM5X-664: Add strtolower for file extension check

* OHRM5X-1235: Add unique validation for username

* OHRM5X-1238: Validate PIM import CSV content

* OHRM5X-1243: Improve backend phone number validation

* OHRM5X-668: Improve BE password validation (orangehrm#1224)

* OHRM5X-1252: Execute upgrader migration scripts (orangehrm#1223)

* OHRM5X-1252: Execute upgrader migration scripts

* OHRM5X-1249: Develop get current version details API

* OHRM5X-1254: Write config file & add logger support for installer

* OHRM5X-1245: Develop upgrader - system check API (orangehrm#1227)

* OHRM5X-786: Develop upgrader - database connection check API

* OHRM5X-1245: Develop upgrader - system check API

* OHRM5X-785: Initiate upgrader screens (orangehrm#1221)

* OHRM5X-1279: Rename symfony directory to src (orangehrm#1230)

* OHRM5X-1279: git mv symfony src

* OHRM5X-1279: Build installer client

* OHRM5X-1250: Connect upgrader - database config/ system check screens to APIs (orangehrm#1234)

* OHRM5X-1262: Develop upgrader - layout (orangehrm#1218)

* OHRM5X-1254: Add upgrader - current screen select support (orangehrm#1229)

* OHRM5X-1260: Add DB migrations from 4.0 to 4.3.3 version (orangehrm#1222)

* OHRM5X-1245: Refactor upgrader - system check API (orangehrm#1235)

* OHRM5X-1272: Add i18n translation language packs (orangehrm#1232)

* OHRM5X-1271: Add unique validation for PIM other email field (orangehrm#1236)

* OHRM5X-1268: Ignore length validation in project/customer name validation API

* OHRM5X-1250: Develop upgrader - execute upgrading (orangehrm#1240)

* OHRM5X-1249: Add current version API post operation

* OHRM5X-1252: Fix migration database connection issues

* OHRM5X-1264: Prevent showing invalid parameter toast (orangehrm#1241)

* OHRM5X-1273: Translate leave/time/pim report headers (orangehrm#1231)

* OHRM5X-1267: Fix broken paygrade permission issue (orangehrm#1245)

* OHRM5X-1267: Prevent installer logger write permission failure

* OHRM5X-1267: Allow to access installer/index.php

* OHRM5X-1267: Fix broken paygrade permission issue

* OHRM5X-1278:  Update reset password email template (orangehrm#1244)

* OHRM5X-1278: Update reset password email template format

* OHRM5X-1280: Receiving the reset password email when a valid disabled employee username is entered

* OHRM5X-1281: Improve forgot password screen to work with invalid email configuration

* OHRM5X-1265: Invalidate menu cache when enabling/disabling modules (orangehrm#1243)

* OHRM5X-1271: Improve validation when other email and work email are equal

* OHRM5X-1277: Fix digit checking rule in PIM memberships

* OHRM5X-1251: Send upgrader - registration data (orangehrm#1242)

* OHRM5X-1284: Develop installer related APIs (orangehrm#1238)

* OHRM5X-1284: Move license file to project root

* OHRM5X-1284: Develop installer related APIs

* OHRM5X-1284: Update GPLv2.0 LICENSE

* OHRM5X-1284: Add reinstall & reset installation dev tools

* OHRM5X-1284: Add basic cli installer

* OHRM5X-1284: Clean installer directory

* OHRM5X-1296: Prevent error toast message showing when applying/assigning leave & saving timesheet (orangehrm#1247)

* OHRM5X-1296: Prevent timesheet submission showing error toast

* OHRM5X-1297: Prevent error toast message showing when user applies leave for multiple days by selecting partial days option

* OHRM5X-1295: Develop installer - database config screen (orangehrm#1251)

* OHRM5X-1287: Handle already existing project for a specific customer (orangehrm#1250)

* OHRM5X-1251, OHRM5X-1257: Send registration data when upgrader started/success

* OHRM5X-1287: Time projects already existing project names can not be added to other customers

* OHRM5X-1270: Restrict Add button for supervisors in employee list screen (orangehrm#1237)

* OHRM5X-1263: Fix when adding users from admin user management the status is getting saved as disabled

* OHRM5X-1270: Restrict Add button for supervisors in employee list screen

* OHRM5X-1300: Develop installer - admin user creation screen (orangehrm#1252)

* OHRM5X-1267: Fix upgrader related issues  (orangehrm#1248)

* OHRM5X-1267: "Unexpected error occurred" message is displaying when user serach for employee entitlements without selecting the leave type

* OHRM5X-1267: Current leave period start and end date are not getting displayed by default in filtration fields. 

* OHRM5X-1267: "Invalid parameter" message is displayed when user tries to edit a project name

* OHRM5X-1267: In leave list comments the purged employee is shown as Purge Purge

* OHRM5X-1267: Admin -> Corporate branding is available by default and when user clicks on it it's giving a 404 error 

* OHRM5X-1267: Maintainance -> Purge Records-> Candidate records-> when user click on it its giving a 404 error 

*OHRM5X-1267: Custom fields drop down details are not getting displayed (Text field details are getting displayed as expected)

* OHRM5X-1267: Fix upgrader 4.1/4.1.1 migrations failures (orangehrm#1254)

* OHRM5X-1267: Fix upgrader 4.1/4.1.1 migrations failures

* OHRM5X-1267: Fix corporate branding duplicate entry for primary key

* OHRM5X-1291: Add basic PHP version check

* OHRM5X-1304: Bump max PHP to 8.1 & max mariadb version to 10.7

* OHRM5X-1294: Fix getting error at login screen when sending registration data

Co-authored-by: Rajitha Kumara <rajitha@orangehrm.us.com>
Co-authored-by: G.Vageeshan <vageeshan@orangehrm.com>
Co-authored-by: Sandeepa Ranathunga <sandeepa@orangehrmlive.com>
Co-authored-by: Dilum Harshana <dilum@orangehrmlive.com>
Co-authored-by: devishke-orange <devishke@orangehrmlive.com>
Co-authored-by: Ajiharan007 <99163926+Ajiharan007@users.noreply.github.com>
Co-authored-by: SharukaNP <sharuka@orangehrmlive.com>
Co-authored-by: Ajiharan007 <baskaran@orangehrmlive.com>
Co-authored-by: Pathum Harshana <pathum@orangehrm.us.com >
@devishke-orange devishke-orange deleted the OHRM5X-1140 branch May 1, 2022 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants