Shivam Chaudhary
|
fc0854cf5c
|
Add missing headers
|
2 years ago |
Shivam Chaudhary
|
ce29bd9b4f
|
Add missing declaration of parameter of function
|
2 years ago |
fdai7207
|
6ad040483c
|
refactoring: removed unnecessary lines and changed variables to constants in the storeEmployeeData() given that the function doesnt modify them.
|
2 years ago |
fdai7207
|
b5a764b566
|
implemented the storeEmployeeData() function in the getnewEmployeeCredentials() function in order for the new employee to enter his personal data.
|
2 years ago |
fdai7207
|
c659f9b9aa
|
implement unit tests for the function storeEmployeeData() and fixed a bug in the unit tests of the function chooseOption.
|
2 years ago |
fdai7057
|
6f595fb2dd
|
Implementation of unit test for calculateStringLength().
|
2 years ago |
fdai7057
|
0a3e444766
|
refactoring: renamed function calLen() to calculateStringLength and inner variables in order to increase readability. Now it is easier to understand.
|
2 years ago |
fdai7057
|
68e5650300
|
Implementation of function calLen().
|
2 years ago |
fdai7057
|
73813b54cb
|
refactoring: Changed name of function charIsUp to characterIsUpperCase() and inner variable in order to increase readability.
|
2 years ago |
fdai7057
|
75eb70c8b3
|
Implementation of function charIsUp()
|
2 years ago |
fdai7057
|
5068387141
|
Modification of the function customerChoiceForMenuItem(). Change void to int. This function now has a return value. Each return value has a meaning. The meaning of the return value lies in the user's choice for a menu item.
|
2 years ago |
fdai7057
|
f55f596853
|
Integrated the customer menu in our programm. The user gains access to the customer menu if the login was successful. From there the user can choose between different menu entries. In the build-script, the file customerMenu.c is added to the files which get compiled.
|
2 years ago |
fdai7057
|
afa674f8d2
|
refactoring: Where possible, remove the use of printf() and use puts() instead in customerMenu.c. One advantage is that it prints the new line character automatically.
|
2 years ago |
fdai7057
|
ae13e9fbd1
|
prepare merge from feature/customer-menu into development
|
2 years ago |
fdai7057
|
1d3092544f
|
Add new cases inside the switch of the function errorMessage(). Remove the call to the function exit() inside errorMessage(). It is now done by the function that calls it. Now the different return values of this function make sense.
|
2 years ago |
fdai7207
|
c06136470d
|
refactoring: improved code readability by removing redundant lines, renaming variables and adding comments for documentation.
|
2 years ago |
fdai7207
|
cd4fb8fb7d
|
implement the verifyPassword() function in the getNewEmployeeCredentials() so that the validity of the password can be checked twice.
|
2 years ago |
fdai7207
|
69a25cfa6a
|
implemented unit tests for the new function verifyPassword() and changed the .txt files name while adding a new .txt file for personal emoyees data.
|
2 years ago |
fdai7207
|
0ec4eadc97
|
refactoring: made code more readable by changing some variable name in the isValidPassword() function and added some documentation.
|
2 years ago |
fdai7207
|
39fce8d436
|
implement the isValidPassword() function in the getNewEmployeeCredentials() function in order to check the validity of the entered password.
|
2 years ago |
fdai7207
|
17327b8e43
|
implement unit tests for the function isValidPassword().
|
2 years ago |
fdai7207
|
7f0db86eb1
|
refactoring : removed redundant code from the unit tests of the isValidEmployee() function.
|
2 years ago |
fdai7207
|
25b42cd0c0
|
refactoring: changed some variabales names in createEmployeeAccount.c for better readability.
|
2 years ago |
fdai7207
|
fed4a0a3ad
|
implement the isValidEmployeeID() in the getNewEmployeeCredentials to check Id's validity
|
2 years ago |
fdai7207
|
5e72e1f652
|
optimised the isValidEmployeeID() function and its unit tests
|
2 years ago |
fdai7057
|
1d49c20634
|
Call to errorMessage() with error code -12 in collectCustomerProperties if the user enters too many digits for the account balance.
|
2 years ago |
fdai7057
|
58704be59a
|
Modification of the function collectCustomerProperties. It now contains a call to balanceToDouble(). The reason is: The function scanf() is eliminated. Instead, the input is completely handled by getchar(). Each character is stored consecutively. Thus it can be the parameter for balanceToDouble().
|
2 years ago |
fdai7057
|
fe311209d7
|
refactoring: rename stod to balanceToDouble and its internal variable. The purpose of this function is to convert the user input for the account balance into a double and the new names states this purpose better.
|
2 years ago |
fdai7057
|
ac04c8d244
|
Implementation of function stod() and rename file stringManipulation.{c,h} to helperFunctions.{c,h} because the functions implemented there address different problems and not only string-specific problems.
|
2 years ago |
fdai6618
|
a0989dfed0
|
implement initiateMoneyTransfer methode
|
2 years ago |
Shivam Chaudhary
|
2459c3f1ec
|
Correct the path of file CustomerData.txt
|
2 years ago |
fdai6618
|
5fe8d5d2fd
|
refactoring sendMoney methode
|
2 years ago |
fdai7057
|
be8ceb2652
|
Modified error handling. The error for invalid input for forename and surname when creating a new customer account is caught.
|
2 years ago |
fdai7057
|
a2730ad965
|
refactoring: Rename one variable and replace decimal values with their character signs in order to increase comprehensibility and readability.
|
2 years ago |
fdai7057
|
af62069f27
|
Implementation of function isLetterOfAlphabet().
|
2 years ago |
fdai7057
|
02010b31d1
|
The error handling is now controlled by the function errorMessage. It is declared in error.h and defined in error.c. It is called in different cases. Each error has its own error code. The advantage is that the error message is specific.
|
2 years ago |
fdai6618
|
2d6de9f15b
|
deleted a comment on methode sendmoney
|
2 years ago |
fdai6618
|
f76fd87ce8
|
modified SendMoney method
|
2 years ago |
fdai6618
|
b98932b197
|
implement sendMoney methode
|
2 years ago |
fdai6618
|
1be9e8cae8
|
add refactoring for methode getAvailableBalnce
|
2 years ago |
fdai6618
|
0aa4b90f7a
|
implement methode getReceiverAccountNumber
|
2 years ago |
fdai6618
|
30aa84b943
|
test getAmount methode
|
2 years ago |
fdai6618
|
e3b774be63
|
add methode getAmount
|
2 years ago |
fdai6618
|
b29a397fb3
|
implement methode getAvailableAccountBalance
|
2 years ago |
fdai7057
|
0a0a197b6f
|
Prepare merge from feature/error-handling into development, rename folders.
|
2 years ago |
fdai7207
|
b7d38fac5e
|
refactoring: clean up duplicated code for the createEmployeeAccount.c unit tests.
|
2 years ago |
fdai7207
|
e570fb9f66
|
refactoring: changed some variables names and added some comments for documentation and enhanced the getnewEmployeeCredentials function.
|
2 years ago |
fdai7207
|
7cf0febf28
|
implement the getNewEmployeeCredentials() function in order for the user to sign up as an employee
|
2 years ago |
fdai7207
|
affa82bc3d
|
implement unit tests for the function createNewEmployee()
|
2 years ago |
fdai7207
|
906ee12708
|
implement unit tests for the function isValidEmployeeID()
|
2 years ago |