Commit Graph

125 Commits

Author SHA1 Message Date
4720ffdad5 Minor refactoring + move hardcoded template names and handling based mustache variables into a const collection for ease of modification/access 2023-05-02 17:44:23 +02:00
a800fb07d4 Optimized check if a loggin session exists 2023-05-01 22:39:52 +02:00
7f384214f5 Added Include Guards 2023-05-01 22:39:14 +02:00
a7e1fbb5f5 Regular Task Execution:
Added to spec
Added to config
Base implementation of 2 test modules
2023-05-01 22:33:19 +02:00
640a992ae1 Database Manager refactoring/optimization
Some minor general refactoring
2023-04-30 20:57:00 +02:00
0dc262ef69 Password registration/reset confirmation at entry 2023-04-30 18:12:31 +02:00
5b877355c4 database request to delete a reset key 2023-04-27 00:41:56 +02:00
cc71e26b27 database request to create a password reset key 2023-04-27 00:37:32 +02:00
14e0bdf347 database request to check if a reset key is expired 2023-04-27 00:36:48 +02:00
9773ab126c database request to get an email based on the reset key 2023-04-27 00:35:42 +02:00
80c674d104 database request to check if an email has a reset key assigned to it 2023-04-27 00:35:00 +02:00
ad0fb5a10e database request to delete all expired reset keys 2023-04-27 00:34:07 +02:00
9483baa68c database request to update the passwordhash and salt of a freelancer 2023-04-27 00:33:07 +02:00
b93641042b password reset fulfillment handler 2023-04-27 00:31:06 +02:00
6dcc89b479 password reset route handler 2023-04-27 00:30:20 +02:00
7f277994a9 pasword reset request route handler 2023-04-27 00:29:50 +02:00
3fb538a30d function to send a password reset email 2023-04-27 00:28:24 +02:00
3cf5594b47 hash functions 2023-04-27 00:27:50 +02:00
bf545b1253 Add domain to the config 2023-04-27 00:26:10 +02:00
0e0fd05786 Body generator collection for emails 2023-04-27 00:23:46 +02:00
5c47528afd Freelancer Password Reset #WIP 2023-04-25 00:50:31 +02:00
0eddcefe13 Add ssl certificate crt and key to config 2023-04-24 23:24:54 +02:00
49e3faf722 database request to retrieve a freelancers id 2023-04-22 23:20:34 +02:00
83a22321ca database request to update the login validation key of a freelancer 2023-04-22 23:19:02 +02:00
c422b65e03 database request to check if a freelancer is logged on 2023-04-22 23:17:56 +02:00
4eb6923bce generate a random login key to be used for session validation 2023-04-22 23:17:05 +02:00
fbef9f0596 function to create a cookie that replaces login cookies 2023-04-22 23:16:31 +02:00
c21de31cb1 Functions to generate secure cookies 2023-04-22 23:15:05 +02:00
c97f28200d Check if a freelancer is logged in based on cookie data 2023-04-22 23:14:16 +02:00
2491eec781 Signup route handler 2023-04-22 23:12:45 +02:00
870d50baeb Logout Route Handler 2023-04-22 23:12:24 +02:00
f7e03bdc0f Login route handlers 2023-04-22 23:11:56 +02:00
28b1375f01 Minor optimization and typofix
and add ctx to be rendered
2023-04-22 23:08:57 +02:00
1cd0ee05d2 Move freelancer listing to utilities 2023-04-22 23:06:30 +02:00
fd9e02c3a0 Move alias handling to utilities 2023-04-22 23:05:21 +02:00
11ecf6452e Minor Optimization/Refactoring 2023-04-22 23:01:44 +02:00
d461c6561e base SSL implementation todo::move cert into config 2023-04-22 22:56:01 +02:00
68609693c4 Database handler check if a given hash is valid 2023-04-19 02:17:20 +02:00
c0b2d150f9 Database handler get the freelancers salt 2023-04-19 02:16:53 +02:00
c4a5256489 Database handler check if email exists in freelancer table 2023-04-19 02:16:18 +02:00
fcff2f5906 Database handler to create new freelancer 2023-04-19 02:15:26 +02:00
bd8d815248 handler login fulfilment 2023-04-19 02:14:35 +02:00
3fea9978dd handler signup fulfilment 2023-04-19 02:13:54 +02:00
00ab9bed90 Handlers signup 2023-04-19 02:13:07 +02:00
9e0eb83eba minor changes 2023-04-19 02:11:59 +02:00
ddeea4bc17 Implements salt creation using mt19937 2023-04-19 02:07:01 +02:00
a0be80825f Implement hashing using OpenSSL 2023-04-19 02:06:19 +02:00
27f338c166 Temporary login page until proper login system is done
Basic cookie implementation
2023-04-17 03:17:17 +02:00
ab6a5bc706 Minor bugfix since getline adds an extra char to the string
move hardcoded databaseURI into the config
2023-04-12 23:51:11 +02:00
1965b06868 Configuration file readout
specification of the format in the spec
2023-04-12 00:26:47 +02:00